Squashed new RBAC
All checks were successful
Deploy on push / deploy (push) Successful in 7s

This commit is contained in:
2025-07-02 22:30:21 +03:00
parent 7585dae0ab
commit 82111ed0f6
100 changed files with 14785 additions and 5888 deletions

View File

@@ -1,38 +0,0 @@
import type { CodegenConfig } from '@graphql-codegen/cli'
const config: CodegenConfig = {
overwrite: true,
schema: [
'schema/type.graphql',
'schema/enum.graphql',
'schema/input.graphql',
'schema/mutation.graphql',
'schema/query.graphql',
'schema/admin.graphql'
],
documents: ['panel/**/*.{ts,tsx}'],
generates: {
'./panel/graphql/generated/': {
preset: 'client',
plugins: [],
presetConfig: {
gqlTagName: 'gql',
fragmentMasking: false
}
},
'./panel/graphql/generated/schema.ts': {
plugins: ['typescript', 'typescript-resolvers'],
config: {
contextType: '../types#GraphQLContext',
enumsAsTypes: true,
useIndexSignature: true,
scalars: {
DateTime: 'string',
JSON: '{ [key: string]: any }'
}
}
}
}
}
export default config