initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
// prettier-ignore
|
||||
export const CloudFolderResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().nullable(),
|
||||
parent: z.unknown().nullable(),
|
||||
children: z.array(z.unknown()),
|
||||
user: z.unknown(),
|
||||
files: z.array(z.unknown()),
|
||||
createdAt: z.date(),
|
||||
updatedAt: z.date()
|
||||
}).strict();
|
||||
|
||||
export type CloudFolderResultType = z.infer<typeof CloudFolderResultSchema>;
|
||||
Reference in New Issue
Block a user