chore: initial commit
This commit is contained in:
9
src/pages/system/role/constants.ts
Normal file
9
src/pages/system/role/constants.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { z } from 'zod'
|
||||
|
||||
export const QUERY_KEY = 'sys_role'
|
||||
|
||||
export const ActionSchema = z
|
||||
.enum(['add', 'edit', 'delete', 'assign-apis', 'assign-menus'])
|
||||
.nullable()
|
||||
|
||||
export type Action = z.infer<typeof ActionSchema>
|
||||
Reference in New Issue
Block a user