Revert "Unify workspace dropdowns; Update layouts (#458)"
This reverts commit 4bc8448a1d.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
import { z } from 'zod';
|
||||
|
||||
const PathsSchema = z.object({
|
||||
auth: z.object({
|
||||
@@ -19,8 +19,6 @@ const PathsSchema = z.object({
|
||||
accountBilling: z.string().min(1),
|
||||
accountMembers: z.string().min(1),
|
||||
accountBillingReturn: z.string().min(1),
|
||||
accountProfileSettings: z.string().min(1),
|
||||
createTeam: z.string().min(1),
|
||||
joinTeam: z.string().min(1),
|
||||
}),
|
||||
});
|
||||
@@ -44,10 +42,8 @@ const pathsConfig = PathsSchema.parse({
|
||||
accountBilling: `/home/[account]/billing`,
|
||||
accountMembers: `/home/[account]/members`,
|
||||
accountBillingReturn: `/home/[account]/billing/return`,
|
||||
accountProfileSettings: `/home/[account]/settings/profile`,
|
||||
createTeam: '/home/create-team',
|
||||
joinTeam: '/join',
|
||||
},
|
||||
} satisfies z.output<typeof PathsSchema>);
|
||||
} satisfies z.infer<typeof PathsSchema>);
|
||||
|
||||
export default pathsConfig;
|
||||
|
||||
Reference in New Issue
Block a user