Initial state for GitNexus analysis
This commit is contained in:
@@ -22,6 +22,14 @@ const PathsSchema = z.object({
|
||||
accountProfileSettings: z.string().min(1),
|
||||
createTeam: z.string().min(1),
|
||||
joinTeam: z.string().min(1),
|
||||
// CMS paths
|
||||
accountModules: z.string().min(1),
|
||||
accountCmsMembers: z.string().min(1),
|
||||
accountCourses: z.string().min(1),
|
||||
accountBookings: z.string().min(1),
|
||||
accountFinance: z.string().min(1),
|
||||
accountDocuments: z.string().min(1),
|
||||
accountNewsletter: z.string().min(1),
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -47,6 +55,14 @@ const pathsConfig = PathsSchema.parse({
|
||||
accountProfileSettings: `/home/[account]/settings/profile`,
|
||||
createTeam: '/home/create-team',
|
||||
joinTeam: '/join',
|
||||
// CMS paths
|
||||
accountModules: `/home/[account]/modules`,
|
||||
accountCmsMembers: `/home/[account]/members-cms`,
|
||||
accountCourses: `/home/[account]/courses`,
|
||||
accountBookings: `/home/[account]/bookings`,
|
||||
accountFinance: `/home/[account]/finance`,
|
||||
accountDocuments: `/home/[account]/documents`,
|
||||
accountNewsletter: `/home/[account]/newsletter`,
|
||||
},
|
||||
} satisfies z.output<typeof PathsSchema>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user