chore: move package over from speckle-server (#2)

* stuff copied over, but aint workin

* various fixes

* vscode settings

* trigger deploy

* trigger deploy
This commit is contained in:
Kristaps Fabians Geikins
2025-05-13 16:18:45 +03:00
committed by GitHub
parent 5c0410eaae
commit f2d7493c2a
148 changed files with 36591 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
import type { CodegenConfig } from '@graphql-codegen/cli'
const config: CodegenConfig = {
schema: 'http://127.0.0.1:3000/graphql',
documents: ['{lib,components,layouts,pages,middleware}/**/*.{vue,js,ts}'],
ignoreNoDocuments: true, // for better experience with the watcher
generates: {
'./lib/common/generated/gql/': {
preset: 'client',
config: {
useTypeImports: true,
fragmentMasking: false,
dedupeFragments: true,
scalars: {
JSONObject: '{}',
DateTime: 'string'
}
},
presetConfig: {
fragmentMasking: false,
dedupeFragments: true
},
plugins: []
}
}
}
export default config