* add basic profile page * apps/web: detect telegram/browser support browser (dev only) * apps/web: add dark mode * apps/web: support dark theme in tma * apps/web: add loading spinner remove dev info from page * apps\web\app\(auth)\page.tsx: remove useState * app/web: handle update profile name * move debounce functional to hook * add role checkbox
18 lines
491 B
JavaScript
18 lines
491 B
JavaScript
/** @type {import('@graphql-codegen/cli').CodegenConfig} */
|
|
module.exports = {
|
|
documents: ['./operations/*.graphql'],
|
|
generates: {
|
|
'./types/operations.generated.ts': {
|
|
config: {
|
|
avoidOptionals: false,
|
|
onlyOperationTypes: true,
|
|
useTypeImports: true,
|
|
maybeValue: 'T | null | undefined'
|
|
},
|
|
plugins: ['typescript', 'typescript-operations', 'typed-document-node'],
|
|
},
|
|
},
|
|
overwrite: true,
|
|
schema: require('./config.cjs').url,
|
|
};
|