Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
chore: add gql sclar types
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Jul 30, 2021
1 parent fde0c06 commit 09fb769
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
3 changes: 3 additions & 0 deletions codegen.yml
Expand Up @@ -18,10 +18,13 @@ generates:
ID: string
Cursor: string
URL: string
Lang: string
TranslatedString: '{ [lang in string]?: string } | null'
PluginID: string
PluginExtensionID: string
PropertySchemaID: string
PropertySchemaFieldID: string
DatasetSchemaFieldID: string
./src/gql/graphql.schema.json:
plugins:
- introspection
Expand Down
7 changes: 5 additions & 2 deletions src/gql/graphql-client-api.tsx
Expand Up @@ -13,14 +13,15 @@ export type Scalars = {
Float: number;
Any: any;
Cursor: string;
DatasetSchemaFieldID: string;
DateTime: Date;
FileSize: number;
Lang: any;
Lang: string;
PluginExtensionID: string;
PluginID: string;
PropertySchemaFieldID: string;
PropertySchemaID: string;
TranslatedString: any;
TranslatedString: { [lang in string]?: string } | null;
URL: string;
Upload: any;
};
Expand Down Expand Up @@ -82,6 +83,7 @@ export type AddLayerGroupInput = {
index?: Maybe<Scalars['Int']>;
linkedDatasetSchemaID?: Maybe<Scalars['ID']>;
name?: Maybe<Scalars['String']>;
representativeFieldId?: Maybe<Scalars['DatasetSchemaFieldID']>;
};

export type AddLayerGroupPayload = {
Expand Down Expand Up @@ -316,6 +318,7 @@ export type DatasetSchemaField = Node & {
};



export type DeleteMeInput = {
userId: Scalars['ID'];
};
Expand Down
22 changes: 22 additions & 0 deletions src/gql/graphql.schema.json
Expand Up @@ -501,6 +501,18 @@
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "representativeFieldId",
"description": null,
"type": {
"kind": "SCALAR",
"name": "DatasetSchemaFieldID",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"interfaces": null,
Expand Down Expand Up @@ -2628,6 +2640,16 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "DatasetSchemaFieldID",
"description": "",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "DateTime",
Expand Down

0 comments on commit 09fb769

Please sign in to comment.