chore: use prettier to format sdk files (#1801)

This commit is contained in:
Alexey
2023-07-05 14:19:05 +04:00
committed by GitHub
parent 9f885eac34
commit b3f6eb929b
3 changed files with 3349 additions and 567 deletions
@@ -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,
+3 -3
View File
@@ -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
File diff suppressed because it is too large Load Diff