mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore: use prettier to format sdk files (#1801)
This commit is contained in:
@@ -99,7 +99,7 @@ export class ContainerResource extends CachedMapResource<ObjectContainerParams,
|
||||
containers.set(
|
||||
{ projectId, connectionId, catalogId },
|
||||
{
|
||||
parentNode: navGetStructContainers.parentNode,
|
||||
parentNode: navGetStructContainers.parentNode ?? null,
|
||||
catalogList: navGetStructContainers.catalogList,
|
||||
schemaList: navGetStructContainers.schemaList,
|
||||
supportsCatalogChange: navGetStructContainers.supportsCatalogChange,
|
||||
|
||||
@@ -21,7 +21,7 @@ generates:
|
||||
- typescript-graphql-request
|
||||
config:
|
||||
skipTypename: true
|
||||
documentMode : 'string'
|
||||
documentMode: 'string'
|
||||
useTypeImports: true
|
||||
avoidOptionals:
|
||||
field: false
|
||||
@@ -36,8 +36,8 @@ generates:
|
||||
arguments: interface
|
||||
scalars:
|
||||
Object: any
|
||||
JSON: "{ [key: string]: any }"
|
||||
JSON: '{ [key: string]: any }'
|
||||
DateTime: any
|
||||
hooks:
|
||||
afterAllFileWrite:
|
||||
- eslint --fix
|
||||
- prettier ./src/sdk.ts -write
|
||||
|
||||
+3345
-563
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user