From 2bfa2ea4ab5184d1c63012837d424de6bcd76d88 Mon Sep 17 00:00:00 2001 From: Trevor Scheer Date: Sun, 5 Jun 2022 10:04:02 -0700 Subject: [PATCH] Update generated types --- .../src/graphqlTypes.ts | 77 +++++++++++-------- 1 file changed, 46 insertions(+), 31 deletions(-) diff --git a/packages/apollo-language-server/src/graphqlTypes.ts b/packages/apollo-language-server/src/graphqlTypes.ts index 59f5109ccb..b6e9a24477 100644 --- a/packages/apollo-language-server/src/graphqlTypes.ts +++ b/packages/apollo-language-server/src/graphqlTypes.ts @@ -448,7 +448,13 @@ export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTri export interface RemoveServiceAndCompose_service_removeImplementingServiceAndTriggerComposition_errors_locations { __typename: "SourceLocation"; + /** + * Column number. + */ column: number; + /** + * Line number. + */ line: number; } @@ -1736,12 +1742,18 @@ export enum ValidationErrorType { WARNING = "WARNING", } +/** + * Filter options to exclude by client reference ID, client name, and client version. + */ export interface ClientInfoFilter { name?: string | null; referenceID?: string | null; version?: string | null; } +/** + * This is stored with a schema when it is uploaded + */ export interface GitContextInput { branch?: string | null; commit?: string | null; @@ -1751,92 +1763,92 @@ export interface GitContextInput { } export interface HistoricQueryParameters { - excludedClients?: ClientInfoFilter[] | null; - excludedOperationNames?: OperationNameFilterInput[] | null; from?: any | null; - ignoredOperations?: string[] | null; - includedVariants?: string[] | null; + to?: any | null; queryCountThreshold?: number | null; queryCountThresholdPercentage?: number | null; - to?: any | null; + ignoredOperations?: string[] | null; + excludedClients?: ClientInfoFilter[] | null; + excludedOperationNames?: OperationNameFilterInput[] | null; + includedVariants?: string[] | null; } export interface IntrospectionDirectiveInput { - args: IntrospectionInputValueInput[]; + name: string; description?: string | null; - isRepeatable?: boolean | null; locations: IntrospectionDirectiveLocation[]; - name: string; + args: IntrospectionInputValueInput[]; + isRepeatable?: boolean | null; } /** * __EnumValue introspection type */ export interface IntrospectionEnumValueInput { - deprecationReason?: string | null; + name: string; description?: string | null; isDeprecated: boolean; - name: string; + deprecationReason?: string | null; } /** * __Field introspection type */ export interface IntrospectionFieldInput { - args: IntrospectionInputValueInput[]; - deprecationReason?: string | null; - description?: string | null; - isDeprecated: boolean; name: string; + description?: string | null; + args: IntrospectionInputValueInput[]; type: IntrospectionTypeInput; + isDeprecated: boolean; + deprecationReason?: string | null; } /** * __Value introspection type */ export interface IntrospectionInputValueInput { - defaultValue?: string | null; - deprecationReason?: string | null; - description?: string | null; - isDeprecated?: boolean | null; name: string; + description?: string | null; type: IntrospectionTypeInput; + defaultValue?: string | null; + isDeprecated?: boolean | null; + deprecationReason?: string | null; } /** * __Schema introspection type */ export interface IntrospectionSchemaInput { - description?: string | null; - directives: IntrospectionDirectiveInput[]; - mutationType?: IntrospectionTypeRefInput | null; + types?: IntrospectionTypeInput[] | null; queryType: IntrospectionTypeRefInput; + mutationType?: IntrospectionTypeRefInput | null; subscriptionType?: IntrospectionTypeRefInput | null; - types?: IntrospectionTypeInput[] | null; + directives: IntrospectionDirectiveInput[]; + description?: string | null; } /** * __Type introspection type */ export interface IntrospectionTypeInput { + kind: IntrospectionTypeKind; + name?: string | null; description?: string | null; - enumValues?: IntrospectionEnumValueInput[] | null; + specifiedByUrl?: string | null; fields?: IntrospectionFieldInput[] | null; - inputFields?: IntrospectionInputValueInput[] | null; interfaces?: IntrospectionTypeInput[] | null; - kind: IntrospectionTypeKind; - name?: string | null; - ofType?: IntrospectionTypeInput | null; possibleTypes?: IntrospectionTypeInput[] | null; - specifiedByUrl?: string | null; + enumValues?: IntrospectionEnumValueInput[] | null; + inputFields?: IntrospectionInputValueInput[] | null; + ofType?: IntrospectionTypeInput | null; } /** * Shallow __Type introspection type */ export interface IntrospectionTypeRefInput { - kind?: string | null; name: string; + kind?: string | null; } export interface OperationDocumentInput { @@ -1844,6 +1856,9 @@ export interface OperationDocumentInput { name?: string | null; } +/** + * Options to filter by operation name. + */ export interface OperationNameFilterInput { name: string; version?: string | null; @@ -1861,8 +1876,8 @@ export interface OperationNameFilterInput { * the hash does not need to be and will be computed server-side. */ export interface PartialSchemaInput { - hash?: string | null; sdl?: string | null; + hash?: string | null; } export interface RegisteredClientIdentityInput { @@ -1872,9 +1887,9 @@ export interface RegisteredClientIdentityInput { } export interface RegisteredOperationInput { + signature: string; document?: string | null; metadata?: RegisteredOperationMetadataInput | null; - signature: string; } export interface RegisteredOperationMetadataInput {