feat: update template

This commit is contained in:
2026-08-19 22:07:42 +08:00
parent 99d5392a68
commit 6c45b75786
97 changed files with 1460 additions and 477 deletions

View File

@@ -1,7 +1,12 @@
import { z } from 'zod'
import { createCrudProvider } from '@/components/crud-provider'
import { type FileRecord } from '@/schemas'
export const QUERY_KEY = 'sys_file'
export const ActionSchema = z.enum([]).nullable()
export type Action = z.infer<typeof ActionSchema>
export const { CrudProvider, useCrud } = createCrudProvider<FileRecord, Action>()