From 13b97440b2e753a4bbec4e17c2ce671f80f263fc Mon Sep 17 00:00:00 2001 From: Shane Myrick Date: Thu, 18 Jan 2024 10:12:47 -0800 Subject: [PATCH 1/2] Update deps --- .nvmrc | 1 + package.json | 18 +- src/studio/graphql.d.ts | 1657 ++++++++++++++++++++++++++++--- src/studio/graphql.js | 286 +++++- studio/generated/graphql.ts | 1847 ++++++++++++++++++++++++++++++++--- yarn.lock | 1059 ++++++++++++-------- 6 files changed, 4154 insertions(+), 714 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b009dfb --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/* diff --git a/package.json b/package.json index 95377dc..e3624c5 100644 --- a/package.json +++ b/package.json @@ -6,20 +6,20 @@ "license": "MIT", "type": "module", "dependencies": { - "@apollo/gateway": "^2.5.0", + "@apollo/gateway": "^2.6.3", "clipanion": "^3.2.0-rc.13", - "graphql": "^16.6.0", + "graphql": "^16.8.1", "graphql-request": "^4.3.0", "graphql-tag": "^2.12.6", - "make-fetch-happen": "^10.1.8" + "make-fetch-happen": "^10.2.1" }, "devDependencies": { - "@graphql-codegen/cli": "^2.13.12", - "@graphql-codegen/typescript": "^2.8.2", - "@graphql-codegen/typescript-graphql-request": "^4.5.8", - "@graphql-codegen/typescript-operations": "^2.5.7", - "eslint": "^8.27.0", - "typescript": "^4.9.3" + "@graphql-codegen/cli": "^2.16.1", + "@graphql-codegen/typescript": "^2.8.8", + "@graphql-codegen/typescript-graphql-request": "^4.5.9", + "@graphql-codegen/typescript-operations": "^2.5.13", + "eslint": "^8.56.0", + "typescript": "^5.3.3" }, "scripts": { "gql": "yarn graphql-codegen && yarn tsc -p studio/tsconfig.json", diff --git a/src/studio/graphql.d.ts b/src/studio/graphql.d.ts index e5ba9fd..a736833 100644 --- a/src/studio/graphql.d.ts +++ b/src/studio/graphql.d.ts @@ -27,6 +27,7 @@ export type Scalars = { FieldSet: any; GraphQLDocument: any; JSON: any; + JSONObject: any; Long: any; NaiveDateTime: any; Object: any; @@ -93,12 +94,19 @@ export type Account = { memberships?: Maybe>; /** Name of the organization, which can change over time and isn't unique. */ name: Scalars['String']; + /** + * Fetches an offline license for the account. + * (If you need this then please contact your Apollo account manager to discuss your requirements.) + */ + offlineLicense?: Maybe; /** * Fetches usage based pricing operations counts for the calling user. If a particular window is not specified, * totals for the user's current billing period are returned. (Will error if the user is not currently on a usage * based plan.) */ operationUsage: AccountOperationUsage; + /** List the private subgraphs associated with your Apollo account */ + privateSubgraphs: Array; /** @deprecated use Account.createdAt instead */ provisionedAt?: Maybe; /** Returns a different registry related stats pertaining to this account. */ @@ -182,6 +190,10 @@ export type AccountOperationUsageArgs = { forWindow?: InputMaybe; }; /** An organization in Apollo Studio. Can have multiple members and graphs. */ +export type AccountPrivateSubgraphsArgs = { + cloudProvider: CloudProvider; +}; +/** An organization in Apollo Studio. Can have multiple members and graphs. */ export type AccountRegistryStatsWindowArgs = { from: Scalars['Timestamp']; resolution?: InputMaybe; @@ -773,6 +785,75 @@ export type AccountGraphVariantEdge = { /** A variant from a graph attached to the account. */ node?: Maybe; }; +/** Columns of AccountGraphosCloudMetrics. */ +export declare enum AccountGraphosCloudMetricsColumn { + AgentVersion = "AGENT_VERSION", + ResponseSize = "RESPONSE_SIZE", + ResponseSizeThrottled = "RESPONSE_SIZE_THROTTLED", + RouterId = "ROUTER_ID", + RouterOperations = "ROUTER_OPERATIONS", + RouterOperationsThrottled = "ROUTER_OPERATIONS_THROTTLED", + SchemaTag = "SCHEMA_TAG", + ServiceId = "SERVICE_ID", + SubgraphFetches = "SUBGRAPH_FETCHES", + SubgraphFetchesThrottled = "SUBGRAPH_FETCHES_THROTTLED", + Timestamp = "TIMESTAMP" +} +export type AccountGraphosCloudMetricsDimensions = { + __typename?: 'AccountGraphosCloudMetricsDimensions'; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; + serviceId?: Maybe; +}; +/** Filter for data in AccountGraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type AccountGraphosCloudMetricsFilter = { + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; + /** Selects rows whose serviceId dimension equals the given value if not null. To query for the null value, use {in: {serviceId: [null]}} instead. */ + serviceId?: InputMaybe; +}; +/** Filter for data in AccountGraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type AccountGraphosCloudMetricsFilterIn = { + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; + /** Selects rows whose serviceId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + serviceId?: InputMaybe>>; +}; +export type AccountGraphosCloudMetricsMetrics = { + __typename?: 'AccountGraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; +export type AccountGraphosCloudMetricsOrderBySpec = { + column: AccountGraphosCloudMetricsColumn; + direction: Ordering; +}; +export type AccountGraphosCloudMetricsRecord = { + __typename?: 'AccountGraphosCloudMetricsRecord'; + /** Dimensions of AccountGraphosCloudMetrics that can be grouped by. */ + groupBy: AccountGraphosCloudMetricsDimensions; + /** Metrics of AccountGraphosCloudMetrics that can be aggregated over. */ + metrics: AccountGraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; export type AccountInvitation = { __typename?: 'AccountInvitation'; /** An accepted invitation cannot be used anymore */ @@ -822,6 +903,7 @@ export type AccountMutation = { createCloudOnboarding: CreateOnboardingResult; createGraph: GraphCreationResult; createStaticInvitation?: Maybe; + currentSubscription?: Maybe; /** Delete the account's avatar. Requires Account.canUpdateAvatar to be true. */ deleteAvatar?: Maybe; /** If the org is on an enterprise trial, set the end date to a new value. */ @@ -834,8 +916,10 @@ export type AccountMutation = { invite?: Maybe; /** Lock an account, which limits the functionality available with regard to its graphs. */ lock?: Maybe; - /** See Account type. Field is needed by extending subgraph. */ + /** See Account type. Field is needed by extending subgraph. */ name?: Maybe; + /** Mutations for interacting with an Apollo account's private subgraphs on GraphOS */ + privateSubgraph: PrivateSubgraphMutation; /** * Reactivate a canceled current subscription. * Currently only works for Recurly subscriptions on team plans. @@ -850,7 +934,7 @@ export type AccountMutation = { /** Send a new E-mail for an existing invitation */ resendInvitation?: Maybe; revokeStaticInvitation?: Maybe; - /** See Account type. Field is needed by extending subgraph. */ + /** See Account type. Field is needed by extending subgraph. */ seats?: Maybe; /** Apollo admins only: set the billing plan to an arbitrary plan effective immediately terminating any current paid plan. */ setPlan?: Maybe; @@ -1218,6 +1302,7 @@ export type AccountStatsWindow = { fieldExecutions: Array; fieldLatencies: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -1264,6 +1349,12 @@ export type AccountStatsWindowFieldUsageArgs = { orderBy?: InputMaybe>; }; /** A time window with a specified granularity over a given account. */ +export type AccountStatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; +/** A time window with a specified granularity over a given account. */ export type AccountStatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -1526,11 +1617,12 @@ export declare enum ActorType { } /** parentCommentId is only present for replies. schemaCoordinate & subgraph are only present for initial change comments. If all are absent, this is a general parent comment on the proposal. */ export type AddCommentInput = { - launchId: Scalars['String']; message: Scalars['String']; parentCommentId?: InputMaybe; + revisionId: Scalars['String']; schemaCoordinate?: InputMaybe; schemaScope?: InputMaybe; + usersToNotify?: InputMaybe>; }; export type AddCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | ReplyChangeProposalComment | ReplyGeneralProposalComment | ValidationError; export type AddOperationCollectionEntriesResult = AddOperationCollectionEntriesSuccess | PermissionError | ValidationError; @@ -1605,6 +1697,22 @@ export type ApiKeyProvision = { apiKey: ApiKey; created: Scalars['Boolean']; }; +/** A generic event for the `trackApolloKotlinUsage` mutation */ +export type ApolloKotlinUsageEventInput = { + /** When the event occurred */ + date: Scalars['Timestamp']; + /** Optional parameters attached to the event */ + payload?: InputMaybe; + /** Type of event */ + type: Scalars['ID']; +}; +/** A generic property for the `trackApolloKotlinUsage` mutation */ +export type ApolloKotlinUsagePropertyInput = { + /** Optional parameters attached to the property */ + payload?: InputMaybe; + /** Type of property */ + type: Scalars['ID']; +}; export declare enum AuditAction { BroadcastMessage = "BroadcastMessage", CreateMessage = "CreateMessage", @@ -1681,6 +1789,30 @@ export declare enum AvatarUploadErrorCode { SsoUsersCannotUploadSelfAvatar = "SSO_USERS_CANNOT_UPLOAD_SELF_AVATAR" } export type AvatarUploadResult = AvatarUploadError | MediaUploadInfo; +/** AWS-specific information for a Shard */ +export type AwsShard = { + __typename?: 'AwsShard'; + /** AWS Account ID where the Shard is hosted */ + accountId: Scalars['String']; + /** ARN of the ECS Cluster */ + ecsClusterArn: Scalars['String']; + /** DNS endpoint for the load balancer */ + endpoint: Scalars['String']; + /** ARN of the IAM role to perform provisioning operations on this shard */ + iamRoleArn: Scalars['String']; + /** ARN of the load balancer */ + loadbalancerArn: Scalars['String']; + /** ARN of the load balancer listener */ + loadbalancerListenerArn: Scalars['String']; + /** ID of the security group for the load balancer */ + loadbalancerSecurityGroupId: Scalars['String']; + /** ARN of the IAM permissions boundaries for IAM roles provisioned in this shard */ + permissionsBoundaryArn: Scalars['String']; + /** IDs of the subnets */ + subnetIds: Array; + /** ID of the VPC */ + vpcId: Scalars['String']; +}; export type BillableMetricStats = { __typename?: 'BillableMetricStats'; planThreshold?: Maybe; @@ -1770,6 +1902,8 @@ export type BillingMonth = { }; export type BillingMutation = { __typename?: 'BillingMutation'; + /** Temporary utility mutation to convert annual team plan orgs to monthly team plans */ + convertAnnualTeamOrgToMonthly?: Maybe; createSetupIntent?: Maybe; endPaidUsageBasedPlan?: Maybe; reloadPlans: Array; @@ -1779,6 +1913,9 @@ export type BillingMutation = { syncAccountWithProviders?: Maybe; updatePaymentMethod?: Maybe; }; +export type BillingMutationConvertAnnualTeamOrgToMonthlyArgs = { + internalAccountId: Scalars['ID']; +}; export type BillingMutationCreateSetupIntentArgs = { internalAccountId: Scalars['ID']; }; @@ -1865,6 +2002,11 @@ export type BillingPlanAddon = { id: Scalars['ID']; pricePerUnitInUsdCents: Scalars['Int']; }; +/** Billing plan addon input */ +export type BillingPlanAddonInput = { + code?: InputMaybe; + usdCentsPrice?: InputMaybe; +}; export type BillingPlanCapabilities = { __typename?: 'BillingPlanCapabilities'; clientVersions: Scalars['Boolean']; @@ -1891,10 +2033,44 @@ export type BillingPlanCapabilities = { export type BillingPlanCapability = { __typename?: 'BillingPlanCapability'; label: Scalars['String']; + plan: BillingPlan; value: Scalars['Boolean']; }; +/** Billing plan input */ +export type BillingPlanInput = { + addons: Array; + billingModel: BillingModel; + billingPeriod: BillingPeriod; + clientVersions?: InputMaybe; + clients?: InputMaybe; + contracts?: InputMaybe; + datadog?: InputMaybe; + description: Scalars['String']; + errors?: InputMaybe; + federation?: InputMaybe; + id: Scalars['ID']; + kind: BillingPlanKind; + launches?: InputMaybe; + maxAuditInDays?: InputMaybe; + maxRangeInDays?: InputMaybe; + maxRangeInDaysForChecks?: InputMaybe; + maxRequestsPerMonth?: InputMaybe; + metrics?: InputMaybe; + name: Scalars['String']; + notifications?: InputMaybe; + operationRegistry?: InputMaybe; + persistedQueries?: InputMaybe; + pricePerSeatInUsdCents?: InputMaybe; + pricePerUnitInUsdCents?: InputMaybe; + public: Scalars['Boolean']; + schemaValidation?: InputMaybe; + traces?: InputMaybe; + userRoles?: InputMaybe; + webhooks?: InputMaybe; +}; export declare enum BillingPlanKind { Community = "COMMUNITY", + Dedicated = "DEDICATED", EnterpriseInternal = "ENTERPRISE_INTERNAL", EnterprisePaid = "ENTERPRISE_PAID", EnterprisePilot = "ENTERPRISE_PILOT", @@ -1911,6 +2087,45 @@ export declare enum BillingPlanKind { } export type BillingPlanLimit = { __typename?: 'BillingPlanLimit'; + label: Scalars['String']; + plan: BillingPlan; + value: Scalars['Long']; +}; +export type BillingPlanMutation = { + __typename?: 'BillingPlanMutation'; + /** Archive this billing plan */ + archive?: Maybe; + /** Remove the specified capability from this plan */ + clearCapability?: Maybe; + /** Remove the specified limit from this plan */ + clearLimit?: Maybe; + id: Scalars['ID']; + /** Reset the specified capability on this plan to the global default value for the capability */ + resetCapability?: Maybe; + /** Reset the specified limit on this plan to the global default value for the limit */ + resetLimit?: Maybe; + /** Sets the specified capability on this plan to the provided value */ + setCapability?: Maybe; + /** Sets the specified limit on this plan to the provided value */ + setLimit?: Maybe; +}; +export type BillingPlanMutationClearCapabilityArgs = { + label: Scalars['String']; +}; +export type BillingPlanMutationClearLimitArgs = { + label: Scalars['String']; +}; +export type BillingPlanMutationResetCapabilityArgs = { + label: Scalars['String']; +}; +export type BillingPlanMutationResetLimitArgs = { + label: Scalars['String']; +}; +export type BillingPlanMutationSetCapabilityArgs = { + label: Scalars['String']; + value: Scalars['Boolean']; +}; +export type BillingPlanMutationSetLimitArgs = { label: Scalars['String']; value: Scalars['Long']; }; @@ -1926,15 +2141,23 @@ export type BillingSubscription = { __typename?: 'BillingSubscription'; activatedAt: Scalars['Timestamp']; addons: Array; + /** Retrieve all capabilities for this subscription */ + allCapabilities: Array; + /** Retrieve a list of all effective capability limits for this subscription */ + allLimits: Array; autoRenew: Scalars['Boolean']; canceledAt?: Maybe; /** Draft invoice for this subscription */ currentDraftInvoice?: Maybe; currentPeriodEndsAt: Scalars['Timestamp']; currentPeriodStartedAt: Scalars['Timestamp']; + /** Retrieve the limit applied to this subscription for a capability */ + effectiveLimit?: Maybe; expiresAt?: Maybe; /** Renewal grace time for updating seat count */ graceTimeForNextRenewal?: Maybe; + /** Check whether a capability is enabled for the subscription */ + hasCapability?: Maybe; maxSelfHostedRequestsPerMonth?: Maybe; maxServerlessRequestsPerMonth?: Maybe; plan: BillingPlan; @@ -1953,12 +2176,44 @@ export type BillingSubscription = { trialExpiresAt?: Maybe; uuid: Scalars['ID']; }; +export type BillingSubscriptionEffectiveLimitArgs = { + label: Scalars['String']; +}; +export type BillingSubscriptionHasCapabilityArgs = { + label: Scalars['String']; +}; export type BillingSubscriptionAddon = { __typename?: 'BillingSubscriptionAddon'; id: Scalars['ID']; pricePerUnitInUsdCents: Scalars['Int']; quantity: Scalars['Int']; }; +export type BillingSubscriptionMutation = { + __typename?: 'BillingSubscriptionMutation'; + /** Remove the specified capability override for this subscription */ + clearCapability?: Maybe; + /** Remove the specified limit override for this subscription */ + clearLimit?: Maybe; + /** Sets the capability override on this subscription to the provided value */ + setCapability?: Maybe; + /** Sets the limit override on this subscription to the provided value */ + setLimit?: Maybe; + uuid: Scalars['ID']; +}; +export type BillingSubscriptionMutationClearCapabilityArgs = { + label: Scalars['String']; +}; +export type BillingSubscriptionMutationClearLimitArgs = { + label: Scalars['String']; +}; +export type BillingSubscriptionMutationSetCapabilityArgs = { + label: Scalars['String']; + value: Scalars['Boolean']; +}; +export type BillingSubscriptionMutationSetLimitArgs = { + label: Scalars['String']; + value: Scalars['Long']; +}; export type BillingTier = { __typename?: 'BillingTier'; searchAccounts: Array; @@ -2064,17 +2319,11 @@ export type Build = { /** The result of the build. This value is null until the build completes. */ result?: Maybe; }; -export type BuildCheckError = { - /** The step at which the build failed. */ - failedStep?: Maybe; - /** A human-readable message describing the error. */ - message: Scalars['String']; -}; export type BuildCheckFailed = { buildInputs: BuildInputs; buildPipelineTrack: BuildPipelineTrack; /** A list of errors generated by this build. */ - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: BuildCheckTask; @@ -2162,7 +2411,8 @@ export declare enum BuildPipelineTrack { Fed_2_1 = "FED_2_1", Fed_2_3 = "FED_2_3", Fed_2_4 = "FED_2_4", - Fed_2_5 = "FED_2_5" + Fed_2_5 = "FED_2_5", + Fed_2_6 = "FED_2_6" } export declare enum BuildPipelineTrackBadge { Deprecated = "DEPRECATED", @@ -2352,15 +2602,17 @@ export type ChangeOnOperation = { }; export type ChangeProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export declare enum ChangeSeverity { @@ -2441,6 +2693,8 @@ export type CheckConfiguration = { * total request volume) */ operationCountThresholdPercentage: Scalars['Float']; + /** How submitted build input diffs are handled when they match (or don't) a Proposal */ + proposalChangeMismatchSeverity: ProposalChangeMismatchSeverity; /** * Only check operations from the last seconds. * The default is 7 days (604,800 seconds). @@ -2453,8 +2707,13 @@ export type CheckConfiguration = { }; /** Filter options available when listing checks. */ export type CheckFilterInput = { + /** A list of git commiters. For cli triggered checks, this is the author. */ authors?: InputMaybe>; branches?: InputMaybe>; + /** A list of actors triggering this check. For non cli triggered checks, this is the Studio User / author. */ + createdBy?: InputMaybe>; + ids?: InputMaybe>; + includeProposalChecks?: InputMaybe; status?: InputMaybe; subgraphs?: InputMaybe>; variants?: InputMaybe>; @@ -2481,7 +2740,7 @@ export type CheckPartialSchemaResult = { workflow?: Maybe; }; /** The possible results of a request to initiate schema checks (either a success object or one of multiple `Error` objects). */ -export type CheckRequestResult = CheckRequestSuccess | InvalidInputError | PermissionError | PlanError; +export type CheckRequestResult = CheckRequestSuccess | InvalidInputError | PermissionError | PlanError | RateLimitExceededError; /** Represents a successfully initiated execution of schema checks. This does not indicate the _result_ of the checks, only that they were initiated. */ export type CheckRequestSuccess = { __typename?: 'CheckRequestSuccess'; @@ -2531,14 +2790,14 @@ export type CheckStepInput = { taskID: Scalars['ID']; workflowID: Scalars['ID']; }; -export type CheckStepResult = CheckStepCompleted | CheckStepFailed; +export type CheckStepResult = CheckStepCompleted | CheckStepFailed | ValidationError; export declare enum CheckStepStatus { Failure = "FAILURE", Success = "SUCCESS" } export type CheckWorkflow = { __typename?: 'CheckWorkflow'; - /** The schema provided as the base to check against. */ + /** The supergraph schema provided as the base to check against. */ baseSchemaHash?: Maybe; /** The base subgraphs provided as the base to check against. */ baseSubgraphs?: Maybe>; @@ -2569,7 +2828,7 @@ export type CheckWorkflow = { isSandboxCheck: Scalars['Boolean']; /** The operations task associated with this workflow, or null if no such task was scheduled. */ operationsTask?: Maybe; - /** The proposed schema being checked by this check workflow. */ + /** The proposed supergraph schema being checked by this check workflow. */ proposedSchemaHash?: Maybe; /** The proposed subgraphs for this check workflow. */ proposedSubgraphs?: Maybe>; @@ -2581,6 +2840,8 @@ export type CheckWorkflow = { startedAt?: Maybe; /** Overall status of the workflow, based on the underlying task statuses. */ status: CheckWorkflowStatus; + /** The names of the subgraphs with changes that triggered the validation. */ + subgraphNames: Array; /** The set of check tasks associated with this workflow, e.g. composition, operations, etc. */ tasks: Array; /** Identity of the user who ran this check */ @@ -2665,11 +2926,17 @@ export type ClientInfoFilterOutput = { /** Cloud queries */ export type Cloud = { __typename?: 'Cloud'; + /** Return a given RouterConfigVersion */ + configVersion?: Maybe; + /** Return all RouterConfigVersions */ + configVersions: Array; order?: Maybe; /** The regions where a cloud router can be deployed */ regions: Array; - /** Return the Cloud Router associated with the provided id */ + /** Return the Cloud Router associated with the provided graphRef */ router?: Maybe; + /** Retrieve a Cloud Router by its internal ID */ + routerByInternalId?: Maybe; /** Retrieve all routers */ routers: Array; /** Return the Shard associated with the provided id */ @@ -2682,6 +2949,15 @@ export type Cloud = { versions: RouterVersionsResult; }; /** Cloud queries */ +export type CloudConfigVersionArgs = { + name: Scalars['String']; +}; +/** Cloud queries */ +export type CloudConfigVersionsArgs = { + first?: InputMaybe; + offset?: InputMaybe; +}; +/** Cloud queries */ export type CloudOrderArgs = { orderId: Scalars['String']; }; @@ -2694,6 +2970,10 @@ export type CloudRouterArgs = { id: Scalars['ID']; }; /** Cloud queries */ +export type CloudRouterByInternalIdArgs = { + internalId: Scalars['ID']; +}; +/** Cloud queries */ export type CloudRoutersArgs = { first?: InputMaybe; offset?: InputMaybe; @@ -2707,6 +2987,7 @@ export type CloudShardArgs = { export type CloudShardsArgs = { first?: InputMaybe; offset?: InputMaybe; + provider?: InputMaybe; }; /** Cloud queries */ export type CloudVersionArgs = { @@ -2729,6 +3010,8 @@ export type CloudInvalidInputError = { /** Cloud mutations */ export type CloudMutation = { __typename?: 'CloudMutation'; + /** Create a new RouterConfigVersion */ + createConfigVersion: RouterVersionConfigResult; /** Create a new Cloud Router */ createRouter: CreateRouterResult; /** Create a new Shard */ @@ -2740,6 +3023,8 @@ export type CloudMutation = { order?: Maybe; /** Fetch a Cloud Router for mutations */ router?: Maybe; + /** Update a RouterConfigVersion */ + updateConfigVersion: RouterVersionConfigResult; /** Update an existing Cloud Router */ updateRouter: UpdateRouterResult; /** Update an existing Shard */ @@ -2748,6 +3033,10 @@ export type CloudMutation = { updateVersion: UpdateRouterVersionResult; }; /** Cloud mutations */ +export type CloudMutationCreateConfigVersionArgs = { + input: RouterConfigVersionInput; +}; +/** Cloud mutations */ export type CloudMutationCreateRouterArgs = { id: Scalars['ID']; input: CreateRouterInput; @@ -2773,6 +3062,10 @@ export type CloudMutationRouterArgs = { id: Scalars['ID']; }; /** Cloud mutations */ +export type CloudMutationUpdateConfigVersionArgs = { + input: RouterConfigVersionInput; +}; +/** Cloud mutations */ export type CloudMutationUpdateRouterArgs = { id: Scalars['ID']; input: UpdateRouterInput; @@ -2810,13 +3103,18 @@ export type CloudOnboardingInput = { }; /** List of supported cloud providers */ export declare enum CloudProvider { + /** Amazon Web Services */ Aws = "AWS", + /** Fly.io */ Fly = "FLY" } /** Cloud Router tiers */ export declare enum CloudTier { + /** Dedicated tier */ Dedicated = "DEDICATED", + /** Enterprise Cloud tier */ Enterprise = "ENTERPRISE", + /** Serverless tier */ Serverless = "SERVERLESS" } /** Validation result */ @@ -2949,6 +3247,8 @@ export type CompositionAndUpsertResult = { errors: Array>; /** ID that points to the results of composition. */ graphCompositionID: Scalars['String']; + /** The Launch result part of this subgraph publish. */ + launch?: Maybe; /** Human-readable text describing the launch result of the subgraph publish. */ launchCliCopy?: Maybe; /** The URL of the Studio page for this update's associated launch, if available. */ @@ -2971,7 +3271,7 @@ export type CompositionBuildCheckFailed = BuildCheckFailed & BuildCheckResult & buildInputs: CompositionBuildInputs; buildPipelineTrack: BuildPipelineTrack; compositionPackageVersion?: Maybe; - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: CompositionCheckTask; @@ -2995,19 +3295,6 @@ export type CompositionBuildCheckResult = { passed: Scalars['Boolean']; workflowTask: CompositionCheckTask; }; -export type CompositionBuildError = BuildCheckError & { - __typename?: 'CompositionBuildError'; - /** - * A machine-readable error code. See https://www.apollographql.com/docs/federation/errors/ for a - * list of existing composition error codes. - */ - code?: Maybe; - /** The step at which composition failed. */ - failedStep?: Maybe; - /** Source locations related to the error. */ - locations?: Maybe>; - message: Scalars['String']; -}; export type CompositionBuildInput = { __typename?: 'CompositionBuildInput'; subgraphs: Array; @@ -3082,7 +3369,7 @@ export type CompositionPublishResult = CompositionResult & { graphCompositionID: Scalars['ID']; graphID: Scalars['ID']; /** Null if CompositionPublishResult was not on a Proposal Variant */ - proposalSummary?: Maybe; + proposalRevision?: Maybe; /** * Cloud router configuration associated with this build event. * It will be non-null for any cloud-router variant, and null for any not cloudy variant/graph @@ -3143,8 +3430,13 @@ export type CompositionValidationResult = CompositionResult & { errors: Array; /** The unique ID for this instance of composition. */ graphCompositionID: Scalars['ID']; - /** The implementing service that was responsible for triggering the validation */ + /** + * The implementing service that was responsible for triggering the validation + * @deprecated The proposed subgraph is now exposed under proposedSubgraphs, a list. If a single subgraph check was run the list will be one subgraph long. + */ proposedImplementingService: FederatedImplementingServicePartialSchema; + /** DO NOT USE, NOT YET IMPLEMENTED. The subgraphs with changes that were responsible for triggering the validation */ + proposedSubgraphs: Array; /** * Cloud router configuration associated with this build event. * It will be non-null for any cloud-router variant, and null for any not cloudy variant/graph @@ -3322,6 +3614,7 @@ export type CreateShardInput = { gcuCapacity?: InputMaybe; gcuUsage?: InputMaybe; provider: CloudProvider; + reason?: InputMaybe; routerCapacity?: InputMaybe; routerUsage?: InputMaybe; shardId: Scalars['String']; @@ -3483,6 +3776,20 @@ export type DownstreamCheckTask = CheckWorkflowTask & { targetURL?: Maybe; workflow: CheckWorkflow; }; +export declare enum DownstreamLaunchInitiation { + /** + * Initiate the creation of downstream launches associated with this subgraph publication asynchronously. + * The resulting API response may not provide specific details about triggered downstream launches. + */ + Async = "ASYNC", + /** + * Initiate the creation of downstream Launches associated with this subgraph publication synchronously. + * Use this option to ensure that any downstream launches will be started before the publish mutation returns. + * Note that this does not require launches to complete, but it does ensure that the downstream launch IDs are + * available to be queried from a `CompositionAndUpsertResult`. + */ + Sync = "SYNC" +} export type DraftInvoice = { __typename?: 'DraftInvoice'; billingPeriodEndsAt: Scalars['Timestamp']; @@ -3620,6 +3927,7 @@ export type EdgeServerInfosRecord = { export type EditCommentInput = { id: Scalars['String']; message: Scalars['String']; + usersToNotify?: InputMaybe>; }; export type EditCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | PermissionError | ReplyChangeProposalComment | ReplyGeneralProposalComment | ValidationError; export declare enum EmailCategory { @@ -3916,31 +4224,59 @@ export type FieldInsightsListFilterInput = { }; export type FieldInsightsListItem = { __typename?: 'FieldInsightsListItem'; - description?: Maybe; - errorCount: Scalars['Long']; - errorCountPerMin: Scalars['Long']; - errorPercentage: Scalars['Float']; - estimatedExecutionCount: Scalars['Long']; - executionCount: Scalars['Long']; + /** The count of errors seen for this field. This can be null depending on the sort order. */ + errorCount?: Maybe; + /** The count of errors seen for this field per minute. This can be null depending on the sort order. */ + errorCountPerMin?: Maybe; + /** The percentage of errors vs successful resolutions for this field. This can be null depending on the sort order. */ + errorPercentage?: Maybe; + /** The estimated number of field executions for this field, based on the field execution sample rate. This can be null depending on the sort order. */ + estimatedExecutionCount?: Maybe; + /** The number of field executions recorded for this field. This can be null depending on the sort order. */ + executionCount?: Maybe; fieldName: Scalars['String']; isDeprecated: Scalars['Boolean']; isUnused: Scalars['Boolean']; + /** The p50 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p50LatencyMs?: Maybe; + /** The p90 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p90LatencyMs?: Maybe; + /** The p95 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p95LatencyMs?: Maybe; + /** The p99 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p99LatencyMs?: Maybe; parentType: Scalars['String']; - referencingOperationCount: Scalars['Long']; - referencingOperationCountPerMin: Scalars['Float']; - totalLatencyHistogram: DurationHistogram; + /** The count of operations that reference the field. This can be null depending on the sort order. */ + referencingOperationCount?: Maybe; + /** The count of operations that reference the field per minute. This can be null depending on the sort order. */ + referencingOperationCountPerMin?: Maybe; }; export declare enum FieldInsightsListOrderByColumn { + ErrorCount = "ERROR_COUNT", + ErrorCountPerMin = "ERROR_COUNT_PER_MIN", + ErrorPercentage = "ERROR_PERCENTAGE", EstimatedExecutionCount = "ESTIMATED_EXECUTION_COUNT", ExecutionCount = "EXECUTION_COUNT", ParentTypeAndFieldName = "PARENT_TYPE_AND_FIELD_NAME", ReferencingOperationCount = "REFERENCING_OPERATION_COUNT", - ReferencingOperationCountPerMin = "REFERENCING_OPERATION_COUNT_PER_MIN" + ReferencingOperationCountPerMin = "REFERENCING_OPERATION_COUNT_PER_MIN", + ServiceTimeP50 = "SERVICE_TIME_P50", + ServiceTimeP90 = "SERVICE_TIME_P90", + ServiceTimeP95 = "SERVICE_TIME_P95", + ServiceTimeP99 = "SERVICE_TIME_P99" } export type FieldInsightsListOrderByInput = { column: FieldInsightsListOrderByColumn; direction: Ordering; }; +/** Information about pagination in a connection. */ +export type FieldInsightsListPageInfo = { + __typename?: 'FieldInsightsListPageInfo'; + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe; + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe; +}; /** Columns of FieldLatencies. */ export declare enum FieldLatenciesColumn { FieldHistogram = "FIELD_HISTOGRAM", @@ -4116,7 +4452,7 @@ export type FilterBuildCheckFailed = BuildCheckFailed & BuildCheckResult & Filte __typename?: 'FilterBuildCheckFailed'; buildInputs: FilterBuildInputs; buildPipelineTrack: BuildPipelineTrack; - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: FilterCheckTask; @@ -4137,15 +4473,6 @@ export type FilterBuildCheckResult = { passed: Scalars['Boolean']; workflowTask: FilterCheckTask; }; -export type FilterBuildError = BuildCheckError & { - __typename?: 'FilterBuildError'; - /** - * The step at which filtering failed. See https://www.apollographql.com/docs/studio/contracts/#contract-errors - * for a list of existing steps. - */ - failedStep?: Maybe; - message: Scalars['String']; -}; /** Inputs provided to the build for a contract variant, which filters types and fields from a source variant's schema. */ export type FilterBuildInput = { __typename?: 'FilterBuildInput'; @@ -4541,6 +4868,16 @@ export type FlyRouterMutation = { /** Force a rolling update */ forceRollingUpdate: FlyForceRollingUpdateResult; }; +/** Fly-specific information for a Shard */ +export type FlyShard = { + __typename?: 'FlyShard'; + /** DNS endpoint for the orchestrator */ + endpoint: Scalars['String']; + /** Endpoints of the Etcd cluster */ + etcdEndpoints: Array; + /** Fly organization ID */ + organizationId: Scalars['String']; +}; export type GqlBillingPlanFromGrpc = { __typename?: 'GQLBillingPlanFromGrpc'; dbPlan?: Maybe; @@ -4549,12 +4886,12 @@ export type GqlBillingPlanFromGrpc = { }; export type GeneralProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type GitContext = { @@ -4706,6 +5043,8 @@ export type GraphVariant = { derivedVariants?: Maybe>; /** A list of the entities across all subgraphs, exposed to consumers & up. This value is null for non-federated variants. */ entities?: Maybe; + /** The last instant that field execution information (resolver execution via field-level instrumentation) was reported for this variant */ + fieldExecutionsLastReportedAt?: Maybe; /** * Returns details about a field in the schema. Unless an error occurs, we will currently always return a non-null * response here, with the timestamps set to null if there is no usage of the field or if field doesn't exist in the @@ -4713,8 +5052,10 @@ export type GraphVariant = { * backwards-compatible way to make null mean that the field doesn't exist in the schema at all. */ fieldInsights?: Maybe; - /** Returns a paginated list of field insights list items */ + /** Returns a paginated list of field insights list items, including all fields from the active schema for this variant. */ fieldInsightsList: GraphVariantFieldInsightsListItemConnection; + /** The last instant that field usage information (usage of fields via referencing operations) was reported for this variant */ + fieldUsageLastReportedAt?: Maybe; /** The graph that this variant belongs to. */ graph: Service; /** Graph ID of the variant. Prefer using graph { id } when feasible. */ @@ -4754,19 +5095,21 @@ export type GraphVariant = { latestLaunch?: Maybe; /** The details of the variant's most recent publication. */ latestPublication?: Maybe; + /** Retrieve a launch for this variant by ID. */ launch?: Maybe; /** A list of launches ordered by date, asc or desc depending on orderBy. The maximum limit is 100. */ launchHistory?: Maybe>; /** Count of total launch history */ launchHistoryLength?: Maybe; links?: Maybe>; - lintResultById?: Maybe; /** The variant's name (e.g., `staging`). */ name: Scalars['String']; /** A list of the saved [operation collections](https://www.apollographql.com/docs/studio/explorer/operation-collections/) associated with this variant. */ operationCollections: Array; /** A list of the saved [operation collections](https://www.apollographql.com/docs/studio/explorer/operation-collections/) associated with this variant, paged. */ operationCollectionsConnection?: Maybe; + /** Returns a paginated list of operation insights list items. */ + operationInsightsList: GraphVariantOperationInsightsListItemConnection; /** The merged/computed/effective check configuration for the operations check task. */ operationsCheckConfiguration?: Maybe; /** Which permissions the current user has for interacting with this variant */ @@ -4775,6 +5118,8 @@ export type GraphVariant = { persistedQueryList?: Maybe; /** Generate a federated operation plan for a given operation */ plan?: Maybe; + /** Explorer setting for postflight script to run before the actual GraphQL operations is run. */ + postflightScript?: Maybe; /** Explorer setting for preflight script to run before the actual GraphQL operations is run. */ preflightScript?: Maybe; proposal?: Maybe; @@ -4848,15 +5193,22 @@ export type GraphVariantLaunchHistoryArgs = { orderBy?: LaunchHistoryOrder; }; /** A graph variant */ -export type GraphVariantLintResultByIdArgs = { - taskId: Scalars['ID']; +export type GraphVariantOperationCollectionsConnectionArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A graph variant */ -export type GraphVariantOperationCollectionsConnectionArgs = { +export type GraphVariantOperationInsightsListArgs = { after?: InputMaybe; before?: InputMaybe; + filter?: InputMaybe; first?: InputMaybe; + from: Scalars['Timestamp']; last?: InputMaybe; + orderBy?: InputMaybe; + to: Scalars['Timestamp']; }; /** A graph variant */ export type GraphVariantOperationsCheckConfigurationArgs = { @@ -4892,7 +5244,7 @@ export type GraphVariantFieldInsightsListItemConnection = { /** A list of field insights list items that belong to a graph variant. */ nodes?: Maybe>; /** Information to aid in pagination. */ - pageInfo: PageInfo; + pageInfo: FieldInsightsListPageInfo; /** The total number of field insights list items connected to the graph variant */ totalCount: Scalars['Int']; }; @@ -4935,6 +5287,8 @@ export type GraphVariantMutation = { /** Gets the router attached to a graph variant */ router?: Maybe; runLintCheck: CheckStepResult; + /** Mutation called by CheckCoordinator to find associated proposals to the schema diffs in a check workflow */ + runProposalsCheck: CheckStepResult; service: Service; setIsFavoriteOfCurrentUser: GraphVariant; /** @@ -4947,11 +5301,22 @@ export type GraphVariantMutation = { submitCheckSchemaAsync: CheckRequestResult; /** Submit a request for a Filter Schema Check and receive a result with a workflow ID that can be used to check status, or an error message that explains what went wrong. */ submitFilterCheckAsync: CheckRequestResult; + /** + * _Asynchronously_ kicks off composition and operation checks for all proposed subgraphs schema changes against its associated supergraph. + * + * Returns a `CheckRequestSuccess` object with a workflow ID that you can use + * to check status, or an error object if the checks workflow failed to start. + * + * Rate limited to 5k per min. + */ + submitMultiSubgraphCheckAsync: CheckRequestResult; /** * _Asynchronously_ kicks off composition and operation checks for a proposed subgraph schema change against its associated supergraph. * * Returns a `CheckRequestSuccess` object with a workflow ID that you can use * to check status, or an error object if the checks workflow failed to start. + * + * Rate limited to 5k per min. */ submitSubgraphCheckAsync: CheckRequestResult; unlinkPersistedQueryList: UnlinkPersistedQueryListResultOrError; @@ -4962,6 +5327,7 @@ export type GraphVariantMutation = { updateCheckConfigurationIncludedVariants: VariantCheckConfiguration; updateCheckConfigurationTimeRange: VariantCheckConfiguration; updateIsProtected?: Maybe; + updatePostflightScript?: Maybe; updatePreflightScript?: Maybe; updateRouter: UpdateRouterResult; updateSendCookies?: Maybe; @@ -5003,6 +5369,10 @@ export type GraphVariantMutationRunLintCheckArgs = { input: RunLintCheckInput; }; /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationRunProposalsCheckArgs = { + input: RunProposalsCheckInput; +}; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationSetIsFavoriteOfCurrentUserArgs = { favorite: Scalars['Boolean']; }; @@ -5015,6 +5385,10 @@ export type GraphVariantMutationSubmitFilterCheckAsyncArgs = { input: FilterCheckAsyncInput; }; /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationSubmitMultiSubgraphCheckAsyncArgs = { + input: MultiSubgraphCheckAsyncInput; +}; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationSubmitSubgraphCheckAsyncArgs = { input: SubgraphCheckAsyncInput; }; @@ -5054,6 +5428,10 @@ export type GraphVariantMutationUpdateIsProtectedArgs = { isProtected: Scalars['Boolean']; }; /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationUpdatePostflightScriptArgs = { + postflightScript?: InputMaybe; +}; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationUpdatePreflightScriptArgs = { preflightScript?: InputMaybe; }; @@ -5115,6 +5493,24 @@ export type GraphVariantOperationCollectionEdge = { /** An operation collection attached to a graph variant. */ node?: Maybe; }; +export type GraphVariantOperationInsightsListItemConnection = { + __typename?: 'GraphVariantOperationInsightsListItemConnection'; + /** A list of edges from the graph variant to its operation insights list items. */ + edges?: Maybe>; + /** A list of operation insights list items that belong to a graph variant. */ + nodes?: Maybe>; + /** Information to aid in pagination. */ + pageInfo: OperationInsightsListPageInfo; + /** The total number of operation insights list items connected to the graph variant. */ + totalCount: Scalars['Int']; +}; +export type GraphVariantOperationInsightsListItemEdge = { + __typename?: 'GraphVariantOperationInsightsListItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']; + /** A operation insights list items attached to the graph variant. */ + node?: Maybe; +}; /** Individual permissions for the current user when interacting with a particular Studio graph variant. */ export type GraphVariantPermissions = { __typename?: 'GraphVariantPermissions'; @@ -5145,6 +5541,81 @@ export type GraphVariantPermissions = { canUpdateVariantReadme: Scalars['Boolean']; variantId: Scalars['ID']; }; +/** Columns of GraphosCloudMetrics. */ +export declare enum GraphosCloudMetricsColumn { + AccountId = "ACCOUNT_ID", + AgentVersion = "AGENT_VERSION", + ResponseSize = "RESPONSE_SIZE", + ResponseSizeThrottled = "RESPONSE_SIZE_THROTTLED", + RouterId = "ROUTER_ID", + RouterOperations = "ROUTER_OPERATIONS", + RouterOperationsThrottled = "ROUTER_OPERATIONS_THROTTLED", + SchemaTag = "SCHEMA_TAG", + ServiceId = "SERVICE_ID", + SubgraphFetches = "SUBGRAPH_FETCHES", + SubgraphFetchesThrottled = "SUBGRAPH_FETCHES_THROTTLED", + Timestamp = "TIMESTAMP" +} +export type GraphosCloudMetricsDimensions = { + __typename?: 'GraphosCloudMetricsDimensions'; + accountId?: Maybe; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; + serviceId?: Maybe; +}; +/** Filter for data in GraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type GraphosCloudMetricsFilter = { + /** Selects rows whose accountId dimension equals the given value if not null. To query for the null value, use {in: {accountId: [null]}} instead. */ + accountId?: InputMaybe; + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; + /** Selects rows whose serviceId dimension equals the given value if not null. To query for the null value, use {in: {serviceId: [null]}} instead. */ + serviceId?: InputMaybe; +}; +/** Filter for data in GraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type GraphosCloudMetricsFilterIn = { + /** Selects rows whose accountId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + accountId?: InputMaybe>>; + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; + /** Selects rows whose serviceId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + serviceId?: InputMaybe>>; +}; +export type GraphosCloudMetricsMetrics = { + __typename?: 'GraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; +export type GraphosCloudMetricsOrderBySpec = { + column: GraphosCloudMetricsColumn; + direction: Ordering; +}; +export type GraphosCloudMetricsRecord = { + __typename?: 'GraphosCloudMetricsRecord'; + /** Dimensions of GraphosCloudMetrics that can be grouped by. */ + groupBy: GraphosCloudMetricsDimensions; + /** Metrics of GraphosCloudMetrics that can be aggregated over. */ + metrics: GraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; export declare enum HttpMethod { Connect = "CONNECT", Delete = "DELETE", @@ -5549,17 +6020,18 @@ export type Launch = { graphVariant: Scalars['String']; /** The unique identifier for this launch. */ id: Scalars['ID']; - isAvailable?: Maybe; /** Whether the launch completed. */ isCompleted?: Maybe; /** Whether the result of the launch has been published to the associated graph and variant. This is always false for a failed launch. */ isPublished?: Maybe; - isTarget?: Maybe; /** The most recent launch sequence step that has started but not necessarily completed. */ latestSequenceStep?: Maybe; /** Cloud Router order for this launch ID */ order: OrderOrError; - proposalSummary?: Maybe; + orders: Array; + /** The launch right before this one. Null if this is the first on this variant. */ + previousLaunch?: Maybe; + proposalRevision?: Maybe; /** A specific publication of a graph variant pertaining to this launch. */ publication?: Maybe; /** A list of results from the completed launch. The items included in this list vary depending on whether the launch succeeded, failed, or was superseded. */ @@ -5655,8 +6127,6 @@ export type LintCheckTask = CheckWorkflowTask & { graphID: Scalars['ID']; id: Scalars['ID']; result?: Maybe; - /** @deprecated Use LintCheckTask.result instead. */ - results?: Maybe; status: CheckWorkflowTaskStatus; targetURL?: Maybe; workflow: CheckWorkflow; @@ -5664,6 +6134,8 @@ export type LintCheckTask = CheckWorkflowTask & { /** A single rule violation. */ export type LintDiagnostic = { __typename?: 'LintDiagnostic'; + /** The category used for grouping similar rules. */ + category: LinterRuleCategory; /** The schema coordinate of this diagnostic. */ coordinate: Scalars['String']; /** The graph's configured level for the rule. */ @@ -5690,8 +6162,11 @@ export type LintResult = { stats: LintStats; }; export declare enum LintRule { + AllElementsRequireDescription = "ALL_ELEMENTS_REQUIRE_DESCRIPTION", ContactDirectiveMissing = "CONTACT_DIRECTIVE_MISSING", + DefinedTypesAreUnused = "DEFINED_TYPES_ARE_UNUSED", DeprecatedDirectiveMissingReason = "DEPRECATED_DIRECTIVE_MISSING_REASON", + DirectiveComposition = "DIRECTIVE_COMPOSITION", DirectiveNamesShouldBeCamelCase = "DIRECTIVE_NAMES_SHOULD_BE_CAMEL_CASE", DoesNotParse = "DOES_NOT_PARSE", EnumPrefix = "ENUM_PREFIX", @@ -5700,18 +6175,43 @@ export declare enum LintRule { EnumUsedAsOutputDespiteSuffix = "ENUM_USED_AS_OUTPUT_DESPITE_SUFFIX", EnumValuesShouldBeScreamingSnakeCase = "ENUM_VALUES_SHOULD_BE_SCREAMING_SNAKE_CASE", FieldNamesShouldBeCamelCase = "FIELD_NAMES_SHOULD_BE_CAMEL_CASE", + FromSubgraphDoesNotExist = "FROM_SUBGRAPH_DOES_NOT_EXIST", + InconsistentArgumentPresence = "INCONSISTENT_ARGUMENT_PRESENCE", + InconsistentButCompatibleArgumentType = "INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE", + InconsistentButCompatibleFieldType = "INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE", + InconsistentDefaultValuePresence = "INCONSISTENT_DEFAULT_VALUE_PRESENCE", + InconsistentDescription = "INCONSISTENT_DESCRIPTION", + InconsistentEntity = "INCONSISTENT_ENTITY", + InconsistentEnumValueForInputEnum = "INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM", + InconsistentEnumValueForOutputEnum = "INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM", + InconsistentExecutableDirectiveLocations = "INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS", + InconsistentExecutableDirectivePresence = "INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE", + InconsistentExecutableDirectiveRepeatable = "INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE", + InconsistentInputObjectField = "INCONSISTENT_INPUT_OBJECT_FIELD", + InconsistentInterfaceValueTypeField = "INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD", + InconsistentNonRepeatableDirectiveArguments = "INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS", + InconsistentObjectValueTypeField = "INCONSISTENT_OBJECT_VALUE_TYPE_FIELD", + InconsistentRuntimeTypesForShareableReturn = "INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN", + InconsistentTypeSystemDirectiveLocations = "INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_LOCATIONS", + InconsistentTypeSystemDirectiveRepeatable = "INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_REPEATABLE", + InconsistentUnionMember = "INCONSISTENT_UNION_MEMBER", InputArgumentNamesShouldBeCamelCase = "INPUT_ARGUMENT_NAMES_SHOULD_BE_CAMEL_CASE", InputTypeSuffix = "INPUT_TYPE_SUFFIX", InterfacePrefix = "INTERFACE_PREFIX", InterfaceSuffix = "INTERFACE_SUFFIX", + MergedNonRepeatableDirectiveArguments = "MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS", + NoExecutableDirectiveIntersection = "NO_EXECUTABLE_DIRECTIVE_INTERSECTION", ObjectPrefix = "OBJECT_PREFIX", ObjectSuffix = "OBJECT_SUFFIX", + OverriddenFieldCanBeRemoved = "OVERRIDDEN_FIELD_CAN_BE_REMOVED", + OverrideDirectiveCanBeRemoved = "OVERRIDE_DIRECTIVE_CAN_BE_REMOVED", QueryDocumentDeclaration = "QUERY_DOCUMENT_DECLARATION", RestyFieldNames = "RESTY_FIELD_NAMES", TagDirectiveUsesUnknownName = "TAG_DIRECTIVE_USES_UNKNOWN_NAME", TypeNamesShouldBePascalCase = "TYPE_NAMES_SHOULD_BE_PASCAL_CASE", TypePrefix = "TYPE_PREFIX", - TypeSuffix = "TYPE_SUFFIX" + TypeSuffix = "TYPE_SUFFIX", + UnusedEnumType = "UNUSED_ENUM_TYPE" } /** Stats generated from linting a schema against the graph's linter configuration. */ export type LintStats = { @@ -5729,10 +6229,21 @@ export type LinterIgnoredRuleChangesInput = { ruleViolationsToEnable: Array; ruleViolationsToIgnore: Array; }; +/** The category used for grouping similar rules. */ +export declare enum LinterRuleCategory { + /** These rules are generated during composition. */ + Composition = "COMPOSITION", + /** These rules enforce naming conventions. */ + Naming = "NAMING", + /** These rules define conventions for the entire schema and directive usage outside of composition. */ + Other = "OTHER" +} export type LinterRuleLevelConfiguration = { __typename?: 'LinterRuleLevelConfiguration'; /** Illustrative code showcasing the potential violation of this rule. */ badExampleCode?: Maybe; + /** The category used for grouping similar rules. */ + category: LinterRuleCategory; /** A human readable description of the rule. */ description: Scalars['String']; /** Illustrative code showcasing the fix for the potential violation of this rule. */ @@ -5759,9 +6270,13 @@ export type Location = { }; /** Level of the log entry */ export declare enum LogLevel { + /** Debug log entry */ Debug = "DEBUG", + /** Error log entry */ Error = "ERROR", + /** Informational log entry */ Info = "INFO", + /** Warning log entry */ Warn = "WARN" } /** Order log message */ @@ -5840,6 +6355,27 @@ export type MoveOperationCollectionEntrySuccess = { originCollection: OperationCollection; targetCollection: OperationCollection; }; +/** Input type to provide when running schema checks against multiple subgraph changes asynchronously for a federated supergraph. */ +export type MultiSubgraphCheckAsyncInput = { + /** Configuration options for the check execution. */ + config: HistoricQueryParametersInput; + /** The GitHub context to associate with the check. */ + gitContext: GitContextInput; + /** The graph ref of the Studio graph and variant to run checks against (such as `my-graph@current`). */ + graphRef?: InputMaybe; + /** The URL of the GraphQL endpoint that Apollo Sandbox introspected to obtain the proposed schema. Required if `isSandbox` is `true`. */ + introspectionEndpoint?: InputMaybe; + /** If `true`, the check was initiated automatically by a Proposal update. */ + isProposal?: InputMaybe; + /** If `true`, the check was initiated by Apollo Sandbox. */ + isSandbox: Scalars['Boolean']; + /** The source variant that this check should use the operations check configuration from */ + sourceVariant?: InputMaybe; + /** The changed subgraph schemas to check. */ + subgraphsToCheck: Array>; + /** The user that triggered this check. If null, defaults to authContext to determine user. */ + triggeredBy?: InputMaybe; +}; /** GraphQL mutations */ export type Mutation = { __typename?: 'Mutation'; @@ -5863,10 +6399,15 @@ export type Mutation = { joinAccount?: Maybe; me?: Maybe; newAccount?: Maybe; + /** Define a new billing plan */ + newBillingPlan?: Maybe; + /** Define a new boolean capability to be applied to billing plans and subscriptions */ newCapability?: Maybe; + /** Define a new numeric limit to be applied to billing plans and subscriptions */ newLimit?: Maybe; newService?: Maybe; operationCollection?: Maybe; + plan?: Maybe; proposal: ProposalMutationResult; proposalByVariantRef: ProposalMutationResult; publishSlackMessage: MessageMutationResult; @@ -5890,6 +6431,8 @@ export type Mutation = { submitPostDeletionFeedback?: Maybe; /** Mutation for basic engagement tracking in studio */ track?: Maybe; + /** Apollo Kotlin usage tracking. */ + trackApolloKotlinUsage?: Maybe; /** Router usage tracking. Reserved to https://router.apollo.dev/telemetry (https://github.com/apollographql/orbiter). */ trackRouterUsage?: Maybe; /** Rover session tracking. Reserved to https://rover.apollo.dev/telemetry (https://github.com/apollographql/orbiter). */ @@ -5953,6 +6496,10 @@ export type MutationNewAccountArgs = { planId?: InputMaybe; }; /** GraphQL mutations */ +export type MutationNewBillingPlanArgs = { + plan: BillingPlanInput; +}; +/** GraphQL mutations */ export type MutationNewCapabilityArgs = { capability: BillingCapabilityInput; }; @@ -5975,6 +6522,10 @@ export type MutationOperationCollectionArgs = { id: Scalars['ID']; }; /** GraphQL mutations */ +export type MutationPlanArgs = { + id: Scalars['ID']; +}; +/** GraphQL mutations */ export type MutationProposalArgs = { id: Scalars['ID']; }; @@ -6060,6 +6611,12 @@ export type MutationTrackArgs = { graphVariant?: Scalars['String']; }; /** GraphQL mutations */ +export type MutationTrackApolloKotlinUsageArgs = { + events: Array; + instanceId: Scalars['ID']; + properties: Array; +}; +/** GraphQL mutations */ export type MutationTrackRouterUsageArgs = { ci?: InputMaybe; os: Scalars['String']; @@ -6166,6 +6723,10 @@ export type NotFoundError = Error & { /** The error message. */ message: Scalars['String']; }; +export declare enum NotificationStatus { + All = "ALL", + None = "NONE" +} export type OdysseyAttempt = { __typename?: 'OdysseyAttempt'; completedAt?: Maybe; @@ -6443,7 +7004,9 @@ export type OperationCollectionEntryState = { createdBy?: Maybe; /** Headers for the entry's GraphQL operation. */ headers?: Maybe>; - /** The workflow automation script for this entry's GraphQL operation */ + /** The post operation workflow automation script for this entry's GraphQL operation */ + postflightOperationScript?: Maybe; + /** The pre operation workflow automation script for this entry's GraphQL operation */ script?: Maybe; /** Variables for the entry's GraphQL operation, as a JSON string. */ variables?: Maybe; @@ -6454,7 +7017,9 @@ export type OperationCollectionEntryStateInput = { body: Scalars['String']; /** The operation's headers. */ headers?: InputMaybe>; - /** The operation's workflow script */ + /** The operation's postflight workflow script */ + postflightOperationScript?: InputMaybe; + /** The operation's preflight workflow script */ script?: InputMaybe; /** The operation's variables. */ variables?: InputMaybe; @@ -6585,20 +7150,94 @@ export type OperationInfoFilter = { export type OperationInfoFilterInput = { id: Scalars['String']; }; -/** Operation name filter configuration for a graph. */ -export type OperationNameFilter = { - __typename?: 'OperationNameFilter'; - /** name of the operation by the user and reported alongside metrics */ - name: Scalars['String']; - version?: Maybe; +export type OperationInsightsListFilterInInput = { + clientName?: InputMaybe>>; + clientVersion?: InputMaybe>>; }; -/** Options to filter by operation name. */ -export type OperationNameFilterInput = { - /** name of the operation set by the user and reported alongside metrics */ - name: Scalars['String']; - version?: InputMaybe; +export type OperationInsightsListFilterInput = { + clientName?: InputMaybe; + clientVersion?: InputMaybe; + in?: InputMaybe; + isUnnamed?: InputMaybe; + isUnregistered?: InputMaybe; + operationTypes?: InputMaybe>; + or?: InputMaybe>; + search?: InputMaybe; }; -export declare enum OperationType { +export type OperationInsightsListItem = { + __typename?: 'OperationInsightsListItem'; + cacheHitRate: Scalars['Float']; + /** The p50 of the latency across cached requests. This can be null depending on the filter and sort order. */ + cacheTtlP50Ms?: Maybe; + /** A substring of the query signature for unnamed operations, otherwise the operation name. */ + displayName: Scalars['String']; + errorCount: Scalars['Long']; + errorCountPerMin: Scalars['Float']; + errorPercentage: Scalars['Float']; + /** The unique id for this operation. */ + id: Scalars['ID']; + /** The operation name or null if the operation is unnamed. */ + name?: Maybe; + requestCount: Scalars['Long']; + requestCountPerMin: Scalars['Float']; + /** The p50 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP50Ms?: Maybe; + /** The p90 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP90Ms?: Maybe; + /** The p95 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP95Ms?: Maybe; + /** The p99 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP99Ms?: Maybe; + /** The query signature size as a number of UTF8 bytes. This can be null if the sort order is not SIGNATURE_BYTES. */ + signatureBytes?: Maybe; + /** The total duration across all requests. This can be null depending on the filter and sort order. */ + totalDurationMs?: Maybe; + type?: Maybe; +}; +export declare enum OperationInsightsListOrderByColumn { + CacheHitRate = "CACHE_HIT_RATE", + CacheTtlP50 = "CACHE_TTL_P50", + ErrorCount = "ERROR_COUNT", + ErrorCountPerMin = "ERROR_COUNT_PER_MIN", + ErrorPercentage = "ERROR_PERCENTAGE", + OperationName = "OPERATION_NAME", + RequestCount = "REQUEST_COUNT", + RequestCountPerMin = "REQUEST_COUNT_PER_MIN", + ServiceTimeP50 = "SERVICE_TIME_P50", + ServiceTimeP90 = "SERVICE_TIME_P90", + ServiceTimeP95 = "SERVICE_TIME_P95", + ServiceTimeP99 = "SERVICE_TIME_P99", + SignatureBytes = "SIGNATURE_BYTES", + TotalDurationMs = "TOTAL_DURATION_MS" +} +export type OperationInsightsListOrderByInput = { + /** The order column used for the operation results. Defaults to ordering by operation names. */ + column: OperationInsightsListOrderByColumn; + /** The direction used to order operation results. Defaults to ascending order. */ + direction: Ordering; +}; +/** Information about pagination in a connection. */ +export type OperationInsightsListPageInfo = { + __typename?: 'OperationInsightsListPageInfo'; + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe; + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe; +}; +/** Operation name filter configuration for a graph. */ +export type OperationNameFilter = { + __typename?: 'OperationNameFilter'; + /** name of the operation by the user and reported alongside metrics */ + name: Scalars['String']; + version?: Maybe; +}; +/** Options to filter by operation name. */ +export type OperationNameFilterInput = { + /** name of the operation set by the user and reported alongside metrics */ + name: Scalars['String']; + version?: InputMaybe; +}; +export declare enum OperationType { Mutation = "MUTATION", Query = "QUERY", Subscription = "SUBSCRIPTION" @@ -6742,6 +7381,14 @@ export type OperationsCheckTask = CheckWorkflowTask & { /** Cloud Router order */ export type Order = { __typename?: 'Order'; + /** + * Completion percentage of the order (between 0 and 100) + * + * This will only return data for IN_PROGRESS, COMPLETED, or SUPERSEDED states + */ + completionPercentage?: Maybe; + /** When this Order was created */ + createdAt: Scalars['NaiveDateTime']; /** Order identifier */ id: Scalars['ID']; /** Introspect why call to `ready` failed */ @@ -6763,6 +7410,8 @@ export type Order = { shard: Shard; /** Order status */ status: OrderStatus; + /** Last time this Order was updated */ + updatedAt?: Maybe; }; /** The order does not exist */ export type OrderDoesNotExistError = { @@ -6872,16 +7521,33 @@ export type OrderOrError = Order | OrderDoesNotExistError; export type OrderResult = InvalidInputErrors | Order | OrderError; /** Represents the different status for an order */ export declare enum OrderStatus { + /** Order was successfully completed */ Completed = "COMPLETED", + /** Order was unsuccessful */ Errored = "ERRORED", + /** New Order in progress */ Pending = "PENDING", + /** + * Order is currently rolling back + * + * All resources created as part of this Order are being deleted + */ RollingBack = "ROLLING_BACK", + /** + * Order has been superseded by another, more recent order + * + * This can happen if two update orders arrive in close succession and we already + * started to process the newer order first. + */ Superseded = "SUPERSEDED" } /** Represents the different types of order */ export declare enum OrderType { + /** Create a new Cloud Router */ CreateRouter = "CREATE_ROUTER", + /** Destroy an existing Cloud Router */ DestroyRouter = "DESTROY_ROUTER", + /** Update an existing Cloud Router */ UpdateRouter = "UPDATE_ROUTER" } export declare enum Ordering { @@ -6941,30 +7607,32 @@ export type PagerDutyChannelInput = { export type ParentChangeProposalComment = ChangeProposalComment & ProposalComment & { __typename?: 'ParentChangeProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; replies: Array; replyCount: Scalars['Int']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ParentGeneralProposalComment = GeneralProposalComment & ProposalComment & { __typename?: 'ParentGeneralProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; replies: Array; replyCount: Scalars['Int']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ParentProposalComment = ParentChangeProposalComment | ParentGeneralProposalComment; @@ -7101,6 +7769,8 @@ export type PersistedQueryListOperationsArgs = { /** Information about a particular revision of the list, as produced by a particular publish. */ export type PersistedQueryListBuild = { __typename?: 'PersistedQueryListBuild'; + /** A unique ID for this build revision; primarily useful as a client cache ID. */ + id: Scalars['String']; /** The persisted query list that this build built. */ list: PersistedQueryList; /** The chunks that made up this build. We do not commit to keeping the full contents of older revisions indefinitely, so this may be null for suitably old revisions. */ @@ -7151,6 +7821,43 @@ export type PlanError = { /** The error message. */ message: Scalars['String']; }; +/** GraphQL representation of an AWS private subgraph */ +export type PrivateSubgraph = { + __typename?: 'PrivateSubgraph'; + /** The cloud provider where the subgraph is hosted */ + cloudProvider: CloudProvider; + /** The domain URL of the private subgraph */ + domainUrl?: Maybe; + /** The name of the subgraph, if set */ + name?: Maybe; + /** The private subgraph's region */ + region: RegionDescription; + /** The status of the resource share */ + status: PrivateSubgraphShareStatus; +}; +export type PrivateSubgraphMutation = { + __typename?: 'PrivateSubgraphMutation'; + /** Synchronize private subgraphs to your Apollo account */ + sync: Array; +}; +export type PrivateSubgraphMutationSyncArgs = { + input: SyncPrivateSubgraphsInput; +}; +/** The status of an association between a private subgraph and your Apollo account */ +export declare enum PrivateSubgraphShareStatus { + /** The private subgraph is connected to the Apollo service network */ + Connected = "CONNECTED", + /** The private subgraph is disconnected to the Apollo service network */ + Disconnected = "DISCONNECTED", + /** The private subgraph's connection to the Apollo service network has errored */ + Errored = "ERRORED", + /** The private subgraph's connection is pending */ + Pending = "PENDING", + /** The private subgraph's disconnection is pending */ + PendingDisconnection = "PENDING_DISCONNECTION", + /** The current state of the association is unknown */ + Unknown = "UNKNOWN" +} export type PromoteSchemaError = { __typename?: 'PromoteSchemaError'; code: PromoteSchemaErrorCode; @@ -7171,8 +7878,11 @@ export declare enum PromoteSchemaResponseCode { export type PromoteSchemaResponseOrError = PromoteSchemaError | PromoteSchemaResponse; export type Proposal = { __typename?: 'Proposal'; + activities: ProposalActivityConnection; /** The variant this Proposal is under the hood. */ backingVariant: GraphVariant; + /** Can the current user can edit THIS proposal, either by authorship or role level */ + canEditProposal: Scalars['Boolean']; comment?: Maybe; createdAt: Scalars['Timestamp']; /** @@ -7182,33 +7892,145 @@ export type Proposal = { createdBy?: Maybe; displayName: Scalars['String']; id: Scalars['ID']; + /** True if only some of the changes in this proposal are currently published to the implementation variant */ + isPartiallyImplemented: Scalars['Boolean']; + latestRevision: ProposalRevision; parentComments: Array; + rebaseConflicts?: Maybe; /** null if user deleted or removed from org */ requestedReviewers: Array>; reviews: Array; + /** This resolver only returns revisions with checks associated with them. For all revisions, use launchHistory. */ + revisionsWithChecks: ProposalRevisionsWithChecksResult; /** The variant this Proposal was cloned/sourced from. */ sourceVariant: GraphVariant; status: ProposalStatus; updatedAt: Scalars['Timestamp']; updatedBy?: Maybe; }; +export type ProposalActivitiesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; export type ProposalCommentArgs = { id: Scalars['ID']; }; export type ProposalParentCommentsArgs = { filter?: InputMaybe; }; +export type ProposalRevisionsWithChecksArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; +export type ProposalActivity = { + __typename?: 'ProposalActivity'; + activity?: Maybe; + createdAt: Scalars['Timestamp']; + createdBy?: Maybe; + id: Scalars['ID']; + target?: Maybe; +}; +export declare enum ProposalActivityAction { + /** When the system changes a Proposal's status back to OPEN from APPROVED when approvals drop below min approvals. */ + ApprovalWithdrawn = "APPROVAL_WITHDRAWN", + /** When a user manually sets a Proposal to Close */ + CloseProposal = "CLOSE_PROPOSAL", + /** When a Comment is added to a Proposal. */ + CommentAdded = "COMMENT_ADDED", + /** When a subgraph in a Proposal is deleted. */ + DeleteSubgraph = "DELETE_SUBGRAPH", + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + FullyImplementedProposalOrigin = "FULLY_IMPLEMENTED_PROPOSAL_ORIGIN", + /** When a diff in an Implementation variant publish is found in a Proposal that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + FullyImplementedVariantOrigin = "FULLY_IMPLEMENTED_VARIANT_ORIGIN", + /** When the system changes a Proposal's status to APPROVED when the min approvals have been met. */ + MetMinApprovalsProposal = "MET_MIN_APPROVALS_PROPOSAL", + /** When a user manually sets a Proposal to Open */ + OpenProposal = "OPEN_PROPOSAL", + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + PartiallyImplementedProposalOrigin = "PARTIALLY_IMPLEMENTED_PROPOSAL_ORIGIN", + /** When a diff in an Implementation variant publish is found in a Proposal that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + PartiallyImplementedVariantOrigin = "PARTIALLY_IMPLEMENTED_VARIANT_ORIGIN", + /** When a new revision is published to subgraphs in a Proposal. */ + PublishSubgraphs = "PUBLISH_SUBGRAPHS", + /** When a Proposal is moved to DRAFT from another status not on creation. */ + ReturnToDraftProposal = "RETURN_TO_DRAFT_PROPOSAL", + /** When a Review is added to a Proposal. */ + ReviewAdded = "REVIEW_ADDED" +} +export type ProposalActivityConnection = { + __typename?: 'ProposalActivityConnection'; + edges?: Maybe>; + nodes: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']; +}; +export type ProposalActivityEdge = { + __typename?: 'ProposalActivityEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']; + node?: Maybe; +}; +export type ProposalActivityTarget = ParentChangeProposalComment | ParentGeneralProposalComment | Proposal | ProposalFullImplementationProposalOrigin | ProposalFullImplementationVariantOrigin | ProposalPartialImplementationProposalOrigin | ProposalPartialImplementationVariantOrigin | ProposalReview | ProposalRevision; +export declare enum ProposalChangeMismatchSeverity { + Error = "ERROR", + Off = "OFF", + Warn = "WARN" +} export type ProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ProposalCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | ReplyChangeProposalComment | ReplyGeneralProposalComment; +export declare enum ProposalCoverage { + Full = "FULL", + None = "NONE", + Overridden = "OVERRIDDEN", + Partial = "PARTIAL", + Pending = "PENDING" +} +export type ProposalFullImplementationProposalOrigin = ProposalImplementation & { + __typename?: 'ProposalFullImplementationProposalOrigin'; + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** Revision containing a diff that fully implements this Proposal in the implementation target variant. */ + revision: ProposalRevision; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; +export type ProposalFullImplementationVariantOrigin = ProposalImplementation & { + __typename?: 'ProposalFullImplementationVariantOrigin'; + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** launch containing a diff that fully implements this Proposal in the implementation target variant. null if user does not have access to launches */ + launch?: Maybe; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; +export type ProposalImplementation = { + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant */ + jsonDiff: Array; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; export type ProposalMutation = { __typename?: 'ProposalMutation'; addComment: AddCommentResult; @@ -7219,8 +8041,10 @@ export type ProposalMutation = { proposal?: Maybe; /** Publish multiple subgraphs. This will write the summary to proposals, record the most up to date diff, and call registry's publishSubgraphs. If composition is successful, this will update running routers. A single launch will be created for this publish. */ publishSubgraphs: PublishProposalSubgraphResult; - setRequestedReviewers: SetRequestedReviewersResult; + /** Removes all requested reviewers and their reviews that are not part of the new set of default reviewers. Adds any new default reviewers to the list of requested reviewers for this proposal. */ + replaceReviewersWithDefaultReviewers: ReplaceReviewersWithDefaultReviewersResult; updateDisplayName: UpdateProposalResult; + updateRequestedReviewers: UpdateRequestedReviewersResult; updateStatus: UpdateProposalResult; updateUpdatedByInfo: UpdateProposalResult; upsertReview: UpsertReviewResult; @@ -7240,12 +8064,12 @@ export type ProposalMutationEditCommentArgs = { export type ProposalMutationPublishSubgraphsArgs = { input: PublishProposalSubgraphsInput; }; -export type ProposalMutationSetRequestedReviewersArgs = { - input?: InputMaybe; -}; export type ProposalMutationUpdateDisplayNameArgs = { displayName: Scalars['String']; }; +export type ProposalMutationUpdateRequestedReviewersArgs = { + input: UpdateRequestedReviewersInput; +}; export type ProposalMutationUpdateStatusArgs = { status: ProposalStatus; }; @@ -7256,6 +8080,30 @@ export type ProposalMutationUpsertReviewArgs = { input: UpsertReviewInput; }; export type ProposalMutationResult = NotFoundError | PermissionError | ProposalMutation | ValidationError; +export type ProposalPartialImplementationProposalOrigin = ProposalImplementation & { + __typename?: 'ProposalPartialImplementationProposalOrigin'; + /** the time this Proposal became partially implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** Revision containing a diff that partially implements this Proposal in the implementation target variant. */ + revision: ProposalRevision; + /** the target variant this Proposal became partially implemented in. */ + variant: GraphVariant; +}; +export type ProposalPartialImplementationVariantOrigin = ProposalImplementation & { + __typename?: 'ProposalPartialImplementationVariantOrigin'; + /** the time this Proposal became partially implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** launch containing a diff that partially implements this Proposal in the implementation target variant. null if user does not have access to launches */ + launch?: Maybe; + /** the target variant this Proposal became partially implemented in. */ + variant: GraphVariant; +}; export type ProposalRequestedReviewer = { __typename?: 'ProposalRequestedReviewer'; currentReview?: Maybe; @@ -7267,9 +8115,32 @@ export type ProposalReview = { createdAt: Scalars['Timestamp']; createdBy?: Maybe; decision: ReviewDecision; + isDismissed: Scalars['Boolean']; updatedAt?: Maybe; updatedBy?: Maybe; }; +export type ProposalRevision = { + __typename?: 'ProposalRevision'; + checkWorkflows: Array; + createdBy?: Maybe; + id: Scalars['ID']; + launch?: Maybe; + /** null if this is the first revision */ + previousRevision?: Maybe; + summary: Scalars['String']; +}; +export type ProposalRevisionFilterInput = { + createdBy?: InputMaybe>; + status?: InputMaybe; + subgraphs?: InputMaybe>; +}; +/** Proposal variants, limited & offset based on Service.proposalVariants & the total count */ +export type ProposalRevisionsWithChecksResult = { + __typename?: 'ProposalRevisionsWithChecksResult'; + revisions: Array; + /** The total number of proposal revisions with checks matching filters. */ + totalCount: Scalars['Int']; +}; export type ProposalRoles = { __typename?: 'ProposalRoles'; create: UserPermission; @@ -7279,14 +8150,9 @@ export declare enum ProposalStatus { Approved = "APPROVED", Closed = "CLOSED", Draft = "DRAFT", + Implemented = "IMPLEMENTED", Open = "OPEN" } -export type ProposalSummary = { - __typename?: 'ProposalSummary'; - createdBy?: Maybe; - id: Scalars['ID']; - summary: Scalars['String']; -}; export type ProposalVariantCreationErrors = { __typename?: 'ProposalVariantCreationErrors'; /** A list of all errors that occurred when attempting to create a proposal variant. */ @@ -7295,8 +8161,12 @@ export type ProposalVariantCreationErrors = { export type ProposalVariantCreationResult = GraphVariant | ProposalVariantCreationErrors; /** Filtering options for graph connections. */ export type ProposalVariantsFilter = { + /** Only include proposals that were created with these variants as a base. */ + sourceVariants?: InputMaybe>; + /** Only include proposals of a certain status. */ + status?: InputMaybe>; /** Only include proposals that have updated these subgraph names */ - subgraphs: Array; + subgraphs?: InputMaybe>; }; /** Proposal variants, limited & offset based on Service.proposalVariants & the total count */ export type ProposalVariantsResult = { @@ -7305,6 +8175,41 @@ export type ProposalVariantsResult = { totalCount: Scalars['Int']; variants: Array; }; +export type ProposalsCheckTask = CheckWorkflowTask & { + __typename?: 'ProposalsCheckTask'; + completedAt?: Maybe; + createdAt: Scalars['Timestamp']; + /** The results of this proposal check were overridden */ + didOverrideProposalsCheckTask: Scalars['Boolean']; + /** Diff items in this Check task. */ + diffs: Array; + graphID: Scalars['ID']; + id: Scalars['ID']; + /** Indicates the level of coverage a check's changeset is in approved Proposals. PENDING while Check is still running. */ + proposalCoverage: ProposalCoverage; + /** Proposals with their state at the time the check was run associated to this check task. */ + relatedProposalResults: Array; + /** @deprecated use relatedProposalResults instead */ + relatedProposals: Array; + /** The configured severity at the time the check was run. If the check failed, this is the severity that should be shown. While this Check is PENDING defaults to Service's severityLevel. */ + severityLevel: ProposalChangeMismatchSeverity; + status: CheckWorkflowTaskStatus; + targetURL?: Maybe; + workflow: CheckWorkflow; +}; +/** A diff item in this Check Task and their related Proposals. */ +export type ProposalsCheckTaskDiff = { + __typename?: 'ProposalsCheckTaskDiff'; + /** A diff item in this Check Task. */ + diffItem: FlatDiffItem; + /** If this diff item is associated with an approved Proposal. */ + hasApprovedProposal: Scalars['Boolean']; + /** Proposals associated with this diff. */ + relatedProposalResults: Array; + /** The subgraph this diff belongs to. */ + subgraph: Scalars['String']; +}; +export type ProposalsMustBeApprovedByADefaultReviewerResult = PermissionError | Service | ValidationError; export type ProposedBuildInputChanges = ProposedCompositionBuildInputChanges | ProposedFilterBuildInputChanges; export type ProposedCompositionBuildInputChanges = { __typename?: 'ProposedCompositionBuildInputChanges'; @@ -7357,11 +8262,21 @@ export type PublishOperationsResultOrError = CannotModifyOperationBodyError | Pe export type PublishProposalSubgraphResult = NotFoundError | PermissionError | Proposal | ValidationError; export type PublishProposalSubgraphsInput = { gitContext?: InputMaybe; - previousLaunchId?: InputMaybe; + previousLaunchId: Scalars['ID']; revision: Scalars['String']; subgraphInputs: Array; summary: Scalars['String']; }; +/** The result attempting to publish subgraphs with async build. */ +export type PublishSubgraphsAsyncBuildResult = { + __typename?: 'PublishSubgraphsAsyncBuildResult'; + /** The Launch result part of this subgraph publish. */ + launch?: Maybe; + /** Human-readable text describing the launch result of the subgraph publish. */ + launchCliCopy?: Maybe; + /** The URL of the Studio page for this update's associated launch, if available. */ + launchUrl?: Maybe; +}; export type PublishSubgraphsSubgraphInput = { activePartialSchema: PartialSchemaInput; name: Scalars['String']; @@ -7372,6 +8287,12 @@ export type PushMarketoLeadInput = { Clearbit_LinkedIn_URL__c?: InputMaybe; /** Company domain */ Company_Domain__c?: InputMaybe; + /** GDPR Explicit Opt in */ + Explicit_Opt_in__c?: InputMaybe; + /** Google Click ID */ + Google_Click_ID__c?: InputMaybe; + /** GA Client ID */ + Google_User_ID__c?: InputMaybe; /** GraphQL Production Stage */ GraphQL_Production_Stage__c?: InputMaybe; /** Job Function */ @@ -7476,6 +8397,7 @@ export type Query = { getRecallLog: Array>; /** Returns details of the graph with the provided ID. */ graph?: Maybe; + /** Get status of identity subgraph */ identitySubgraphStatus: Scalars['String']; internalActiveCronJobs: Array; internalAdminUsers?: Maybe>; @@ -7491,7 +8413,7 @@ export type Query = { organization?: Maybe; /** Look up a plan by ID */ plan?: Maybe; - proposal?: Maybe; + proposal?: Maybe; /** A list of public variants that have been selected to be shown on our Graph Directory. */ publiclyListedVariants?: Maybe>; /** Accounts with enterprise subscriptions that have expired in the past 45 days */ @@ -7512,6 +8434,7 @@ export type Query = { user?: Maybe; /** Returns details of a Studio graph variant with the provided graph ref. A graph ref has the format `graphID@variantName` (or just `graphID` for the default variant `current`). Returns null if the graph or variant doesn't exist, or if the graph isn't accessible by the current actor. */ variant?: Maybe; + zendeskUploadToken: Scalars['String']; }; /** Queries defined by this subgraph */ export type QueryAccountArgs = { @@ -7835,6 +8758,12 @@ export declare enum QueryTriggerWindow { OneMinute = "ONE_MINUTE", Unrecognized = "UNRECOGNIZED" } +/** An error that occurs when the rate limit on this operation has been exceeded. */ +export type RateLimitExceededError = { + __typename?: 'RateLimitExceededError'; + /** The error message. */ + message: Scalars['String']; +}; /** The README documentation for a graph variant, which is displayed in Studio. */ export type Readme = { __typename?: 'Readme'; @@ -7854,9 +8783,24 @@ export type Readme = { }; /** Responsibility for an errored order */ export declare enum ReasonCause { + /** + * Could not complete an order due to internal reason + * + * This could be due to intermittent issues, bug in our code, etc. + */ Internal = "INTERNAL", + /** + * Could not complete an order due to invalid User input + * + * For example, the user provided an invalid router configuration or supergraph schema. + */ User = "USER" } +export type RebaseConflictError = { + __typename?: 'RebaseConflictError'; + errorMessages: Array; +}; +export type RebaseConflictResult = RebaseConflictError | SchemaValidationError; /** Description for a Cloud Router region */ export type RegionDescription = { __typename?: 'RegionDescription'; @@ -7873,8 +8817,19 @@ export type RegionDescription = { }; /** Possible state of a region */ export declare enum RegionState { + /** + * Active region + * + * Can be used for Cloud Routers + */ Active = "ACTIVE", + /** Does not appear in the API */ Hidden = "HIDDEN", + /** + * Inactive region + * + * Cannot yet be used for Cloud Routers + */ Inactive = "INACTIVE" } export type RegisterOperationsMutationResponse = { @@ -7918,6 +8873,16 @@ export type RegistrySubscription = ChannelSubscription & { options: SubscriptionOptions; variant?: Maybe; }; +/** A Proposal related to a Proposal Check Task. */ +export type RelatedProposalResult = { + __typename?: 'RelatedProposalResult'; + /** The latest revision at the time the check was run, defaults to current revision if nothing found for time of the check. */ + latestRevisionAtCheck: ProposalRevision; + /** The Proposal related to the check. State may have changed since the Check was run. */ + proposal: Proposal; + /** The status of the Proposal at the time the check was run, defaults to current state if nothing found for time of the check. */ + statusAtCheck: ProposalStatus; +}; export type RelaunchComplete = { __typename?: 'RelaunchComplete'; latestLaunch: Launch; @@ -7931,29 +8896,32 @@ export type RelaunchResult = RelaunchComplete | RelaunchError; export type RemoveOperationCollectionEntryResult = OperationCollection | PermissionError; export type RemoveOperationCollectionFromVariantResult = GraphVariant | NotFoundError | PermissionError | ValidationError; export type ReorderOperationCollectionResult = OperationCollection | PermissionError; +export type ReplaceReviewersWithDefaultReviewersResult = PermissionError | Proposal | ValidationError; export type ReplyChangeProposalComment = ChangeProposalComment & ProposalComment & { __typename?: 'ReplyChangeProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ReplyGeneralProposalComment = GeneralProposalComment & ProposalComment & { __typename?: 'ReplyGeneralProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ReportSchemaError = ReportSchemaResult & { @@ -8044,16 +9012,17 @@ export declare enum ReviewDecision { export type ReviewProposalComment = ProposalComment & { __typename?: 'ReviewProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type RoleOverride = { __typename?: 'RoleOverride'; + /** @deprecated RoleOverride can only be queried via a Graph, so any fields here should instead be selected via the parent object. */ graph: Service; lastUpdatedAt: Scalars['Timestamp']; role: UserPermission; @@ -8061,6 +9030,14 @@ export type RoleOverride = { }; export type Router = { __typename?: 'Router'; + /** Order currently modifying this Cloud Router */ + currentOrder?: Maybe; + /** + * Number of Graph Compute Units (GCUs) associated with this Cloud Router + * + * This value is not present for Cloud Routers on the `SERVERLESS` tier. + */ + gcus?: Maybe; /** graphRef representing the Cloud Router */ id: Scalars['ID']; /** Retrieves a specific Order related to this Cloud Router */ @@ -8112,34 +9089,67 @@ export type RouterConfigInput = { /** Router version for the Cloud Router */ routerVersion?: InputMaybe; }; +export type RouterConfigVersion = { + __typename?: 'RouterConfigVersion'; + /** JSON schema for validating the router configuration */ + configSchema?: Maybe; + /** Name of the RouterConfigVersion */ + name: Scalars['String']; +}; +export type RouterConfigVersionConfigSchemaArgs = { + tier: CloudTier; +}; +/** Input to create a RouterConfigVersion */ +export type RouterConfigVersionInput = { + /** Configuration schema mapping for the RouterConfigVersion */ + configSchemas: Scalars['JSONObject']; + /** Name of the RouterConfigVersion */ + configVersion: Scalars['String']; +}; export type RouterEntitlement = { __typename?: 'RouterEntitlement'; - /** The internal id of the account this entitlement was generated for. */ + /** The id of the account this license was generated for. */ accountId: Scalars['String']; - /** Which audiences this entitlement applies to. Cloud and on-premise routers each require the presence of their own audience. */ + /** Which audiences this license applies to. */ audience: Array; - /** Router should stop serving requests after this time if commercial features are in use. */ + /** Router will stop serving requests after this time if commercial features are in use. */ haltAt?: Maybe; /** RFC 8037 Ed25519 JWT signed representation of sibling fields. Restricted to internal services only. */ jwt: Scalars['String']; - /** Organization this entitlement applies to. */ + /** Organization this license applies to. */ subject: Scalars['String']; - /** Router should warn users after this time if commercial features are in use. */ + /** Router will warn users after this time if commercial features are in use. */ warnAt?: Maybe; }; export declare enum RouterEntitlementAudience { + /** Routers in Apollo hosted cloud. */ Cloud = "CLOUD", + /** Routers in offline environments with license files supplied from a URL or locally. */ + Offline = "OFFLINE", + /** Routers in self-hosted environments fetching their license from uplink. */ SelfHosted = "SELF_HOSTED" } +/** Represents the possible outcomes of a setGcus mutation */ +export type RouterGcusResult = InternalServerError | InvalidInputErrors | RouterGcusSuccess; +/** Success branch of a setGcus mutation */ +export type RouterGcusSuccess = { + __typename?: 'RouterGcusSuccess'; + order: Order; +}; export type RouterMutation = { __typename?: 'RouterMutation'; /** Router mutations for Cloud Routers hosted on Fly */ fly?: Maybe; + /** Set the number of GCUs associated with this Router */ + setGcus: RouterGcusResult; /** Set the version used for the next update for this Cloud Router */ setNextVersion: SetNextVersionResult; /** Set secrets for this Cloud Router */ setSecrets: RouterSecretsResult; }; +export type RouterMutationSetGcusArgs = { + gcus: Scalars['Int']; +}; export type RouterMutationSetNextVersionArgs = { version: Scalars['String']; }; @@ -8163,11 +9173,31 @@ export type RouterSecretsSuccess = { }; /** Current status of Cloud Routers */ export declare enum RouterStatus { + /** Cloud Router is not yet provisioned */ Creating = "CREATING", + /** Router has been deleted */ Deleted = "DELETED", + /** + * Cloud Router is running, but currently being deleted + * + * This is the only mutation state that doesn't support rollback. If we fail to + * delete a Router, the workflows are configured to stop and keep the router into + * the Deleting status. + */ Deleting = "DELETING", + /** + * Current order is rolling back to the last known good state + * + * After a RollingBack state, a Router can move either into Running state (from a + * Update order) or Deleted (from a Create order). + * + * If we fail to roll back, the workflows are configured to stop and keep the router + * into the RollingBack status. + */ RollingBack = "ROLLING_BACK", + /** Current router is running and able to server requests */ Running = "RUNNING", + /** Cloud Router is running, but currently being updated */ Updating = "UPDATING" } export type RouterUpsertFailure = { @@ -8195,10 +9225,14 @@ export type RouterVersion = { /** Version identifier */ version: Scalars['String']; }; +/** Router Version */ +export type RouterVersionConfigSchemaArgs = { + tier?: InputMaybe; +}; +/** Result of a RouterConfigVersion mutation */ +export type RouterVersionConfigResult = CloudInvalidInputError | InternalServerError | RouterConfigVersion; /** Input to create a new router version */ export type RouterVersionCreateInput = { - /** JSON schema for allowed properties */ - configSchema: Scalars['String']; /** Version of the configuration */ configVersion: Scalars['String']; /** Version status */ @@ -8210,8 +9244,6 @@ export type RouterVersionCreateInput = { export type RouterVersionResult = InternalServerError | InvalidInputErrors | RouterVersion; /** Input for updating a router version */ export type RouterVersionUpdateInput = { - /** JSON schema for allowed properties */ - configSchema?: InputMaybe; /** Version of the configuration */ configVersion?: InputMaybe; /** Version status */ @@ -8244,6 +9276,102 @@ export type RunLintCheckInput = { checkStep: CheckStepInput; proposedSchema: SchemaHashInput; }; +/** Inputs needed to find all relevant proposals to a check workflow */ +export type RunProposalsCheckInput = { + /** List of subgraph names and hashes from the state of this variant when the check was run. */ + baseSubgraphs: Array; + /** Supergraph hash that was most recently published when the check was run */ + baseSupergraphHash: Scalars['String']; + /** List of subgraph names and hashes that are being proposed in the check task */ + proposedSubgraphs: Array; + /** Supergraph hash that is the output of the check's composition task */ + proposedSupergraphHash: Scalars['String']; + /** If this check was created by rerunning, the original check workflow task that was rerun */ + rerunOfTaskId?: InputMaybe; + /** The severity to assign the check results if matching proposals are not found */ + severityLevel: ProposalChangeMismatchSeverity; + /** The check workflow task id. Used by Task entities to resolve the results */ + workflowTaskId: Scalars['String']; +}; +export type SafAssessment = { + __typename?: 'SafAssessment'; + /** The date and time the assessment was completed. */ + completedAt?: Maybe; + /** The graph that this assessment belongs to. */ + graph: Service; + id: Scalars['ID']; + /** The plan items for this assessment. */ + planItems: Array; + /** The responses for this assessment. */ + responses: Array; + /** The date and time the assessment was started. */ + startedAt: Scalars['Date']; +}; +export type SafAssessmentMutation = { + __typename?: 'SafAssessmentMutation'; + /** Delete the assessment. */ + delete: SafAssessment; + id: Scalars['String']; + /** Mutations for a specific plan item. */ + planItem?: Maybe; + /** Reorder the plan items for a given assessment. */ + reorderPlanItems: Array; + /** Save a response for a question. */ + saveResponse: SafResponse; + /** Submit the assessment. */ + submit: SafAssessment; +}; +export type SafAssessmentMutationPlanItemArgs = { + id: Scalars['ID']; +}; +export type SafAssessmentMutationReorderPlanItemsArgs = { + ids: Array; +}; +export type SafAssessmentMutationSaveResponseArgs = { + input: SafResponseInput; +}; +export type SafAssessmentMutationSubmitArgs = { + organizationId?: InputMaybe; + planItemIds: Array; +}; +export type SafPlanItem = { + __typename?: 'SafPlanItem'; + bestPracticeId: Scalars['String']; + id: Scalars['ID']; + isDeprioritized: Scalars['Boolean']; + notes: Scalars['String']; + order: Scalars['Int']; +}; +export type SafPlanItemInput = { + isDeprioritized: Scalars['Boolean']; + notes: Scalars['String']; + order: Scalars['Int']; +}; +export type SafPlanItemMutation = { + __typename?: 'SafPlanItemMutation'; + /** Update a plan item. */ + update: SafPlanItem; +}; +export type SafPlanItemMutationUpdateArgs = { + input: SafPlanItemInput; +}; +export type SafResponse = { + __typename?: 'SafResponse'; + /** The assessment that this response belongs to. */ + assessment?: Maybe; + /** Additional context or feedback about the question. */ + comment: Scalars['String']; + id: Scalars['ID']; + /** The ID of the question that this response is for. */ + questionId: Scalars['String']; + /** A list of responses for this question. */ + response: Array; +}; +export type SafResponseInput = { + comment: Scalars['String']; + questionId: Scalars['String']; + response: Array; +}; export type ScheduledSummary = ChannelSubscription & { __typename?: 'ScheduledSummary'; /** @deprecated Use channels list instead */ @@ -8281,10 +9409,6 @@ export type Schema = { export type SchemaCreateTemporaryUrlArgs = { expiresInSeconds?: Scalars['Int']; }; -/** A GraphQL schema document and associated metadata. */ -export type SchemaObservableCoordinatesArgs = { - filter?: InputMaybe; -}; /** An error that occurred while running schema composition on a set of subgraph schemas. */ export type SchemaCompositionError = { __typename?: 'SchemaCompositionError'; @@ -8570,8 +9694,10 @@ export type Service = Identity & { /** Get check workflows for this graph ordered by creation time, most recent first. */ checkWorkflows: Array; /** - * List of options available for filtering checks for this graph by author. + * List of options available for filtering checks for this graph by git committer. * If a filter is passed, constrains results to match the filter. + * For cli triggered checks, this is the author. + * @deprecated Use checksCommitterOptions instead */ checksAuthorOptions: Array; /** @@ -8579,6 +9705,18 @@ export type Service = Identity & { * If a filter is passed, constrains results to match the filter. */ checksBranchOptions: Array; + /** + * List of options available for filtering checks for this graph by git committer. + * If a filter is passed, constrains results to match the filter. + * For cli triggered checks, this is the author. + */ + checksCommitterOptions: Array; + /** + * List of options available for filtering checks for this graph by created by field. + * If a filter is passed, constrains results to match the filter. + * For non cli triggered checks, this is the Studio User / author. + */ + checksCreatedByOptions: Array; /** * List of options available for filtering checks for this graph by subgraph name. * If a filter is passed, constrains results to match the filter. @@ -8647,11 +9785,17 @@ export type Service = Identity & { /** The Persisted Query List associated with this graph with the given ID. */ persistedQueryList?: Maybe; persistedQueryLists?: Maybe>; + /** The current active user's Proposal notification status on this graph. */ + proposalNotificationStatus: NotificationStatus; /** * A list of the proposal variants for this graph sorted by created at date. * limit defaults to Int.MAX_VALUE, offset defaults to 0 */ proposalVariants: ProposalVariantsResult; + /** If the graph setting for the proposals implementation variant has been set, this will be non null. */ + proposalsImplementationVariant?: Maybe; + /** Must one of the default reviewers approve proposals */ + proposalsMustBeApprovedByADefaultReviewer: Scalars['Boolean']; /** Get query triggers for a given variant. If variant is null all the triggers for this service will be gotten. */ queryTriggers?: Maybe>; readme?: Maybe; @@ -8667,6 +9811,10 @@ export type Service = Identity & { roleOverrides?: Maybe>; /** Describes the permissions that the active user has for this graph. */ roles?: Maybe; + /** Get a specific assessment for this graph by its ID. */ + safAssessment?: Maybe; + /** All assessments for this graph. */ + safAssessments: Array; scheduledSummaries: Array; /** Get a schema by hash or current tag */ schema?: Maybe; @@ -8754,6 +9902,22 @@ export type ServiceChecksAuthorOptionsArgs = { export type ServiceChecksBranchOptionsArgs = { filter?: InputMaybe; }; +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceChecksCommitterOptionsArgs = { + filter?: InputMaybe; +}; +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceChecksCreatedByOptionsArgs = { + filter?: InputMaybe; +}; /** * A graph in Apollo Studio represents a graph in your organization. * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). @@ -8906,6 +10070,14 @@ export type ServiceRegistryStatsWindowArgs = { export type ServiceRegistrySubscriptionsEnabledArgs = { graphVariant?: InputMaybe; }; +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceSafAssessmentArgs = { + id: Scalars['ID']; +}; /** * A graph in Apollo Studio represents a graph in your organization. * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). @@ -9429,12 +10601,79 @@ export type ServiceFieldUsageRecord = { /** Starting segment timestamp. */ timestamp: Scalars['Timestamp']; }; +/** Columns of ServiceGraphosCloudMetrics. */ +export declare enum ServiceGraphosCloudMetricsColumn { + AgentVersion = "AGENT_VERSION", + ResponseSize = "RESPONSE_SIZE", + ResponseSizeThrottled = "RESPONSE_SIZE_THROTTLED", + RouterId = "ROUTER_ID", + RouterOperations = "ROUTER_OPERATIONS", + RouterOperationsThrottled = "ROUTER_OPERATIONS_THROTTLED", + SchemaTag = "SCHEMA_TAG", + SubgraphFetches = "SUBGRAPH_FETCHES", + SubgraphFetchesThrottled = "SUBGRAPH_FETCHES_THROTTLED", + Timestamp = "TIMESTAMP" +} +export type ServiceGraphosCloudMetricsDimensions = { + __typename?: 'ServiceGraphosCloudMetricsDimensions'; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; +}; +/** Filter for data in ServiceGraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type ServiceGraphosCloudMetricsFilter = { + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; +}; +/** Filter for data in ServiceGraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type ServiceGraphosCloudMetricsFilterIn = { + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; +}; +export type ServiceGraphosCloudMetricsMetrics = { + __typename?: 'ServiceGraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; +export type ServiceGraphosCloudMetricsOrderBySpec = { + column: ServiceGraphosCloudMetricsColumn; + direction: Ordering; +}; +export type ServiceGraphosCloudMetricsRecord = { + __typename?: 'ServiceGraphosCloudMetricsRecord'; + /** Dimensions of ServiceGraphosCloudMetrics that can be grouped by. */ + groupBy: ServiceGraphosCloudMetricsDimensions; + /** Metrics of ServiceGraphosCloudMetrics that can be aggregated over. */ + metrics: ServiceGraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutation = { __typename?: 'ServiceMutation'; /** * Checks a proposed subgraph schema change against a published subgraph. * If the proposal composes successfully, perform a usage check for the resulting supergraph schema. + * @deprecated Use GraphVariant.submitSubgraphCheckAsync instead. + * This mutation polls to wait for the check to finish, + * while subgraphSubgraphCheckAsync triggers returns + * without waiting for the check to finish. */ checkPartialSchema: CheckPartialSchemaResult; /** @@ -9453,6 +10692,8 @@ export type ServiceMutation = { createProposal: CreateProposalResult; /** Creates a proposal variant from a source variant and a name, description. Do not call this from any clients, this resolver is exclusively for inter-service proposal -> kotlin registry communication. */ createProposalVariant: ProposalVariantCreationResult; + /** Create a new assessment for this graph. */ + createSafAssessment: SafAssessment; createSchemaPublishSubscription: SchemaPublishSubscription; /** Update the default build pipeline track for this graph. */ defaultBuildPipelineTrack?: Maybe; @@ -9498,16 +10739,21 @@ export type ServiceMutation = { markChangesForOperationAsSafe: MarkChangesForOperationAsSafeResult; /** Generates a new graph API key for this graph with the specified permission level. */ newKey: GraphApiKey; + /** Mutation to set whether a proposals check task's results should be overridden or not */ + overrideProposalsCheckTask?: Maybe; /** Adds an override to the given users permission for this graph */ overrideUserPermission?: Maybe; /** Provides access to mutation fields for modifying a Persisted Query List with the provided ID. */ persistedQueryList: PersistedQueryListMutation; /** Promote the schema with the given SHA-256 hash to active for the given variant/tag. */ promoteSchema: PromoteSchemaResponseOrError; + proposalsMustBeApprovedByADefaultReviewer?: Maybe; /** Publish to a subgraph. If composition is successful, this will update running routers. */ publishSubgraph?: Maybe; /** Publishes multiple subgraphs. If composition is successful, this will update running routers. */ publishSubgraphs?: Maybe; + /** Publishes multiple subgraphs, running the build async. */ + publishSubgraphsAsyncBuild?: Maybe; registerOperationsWithResponse?: Maybe; /** Removes a subgraph. If composition is successful, this will update running routers. */ removeImplementingServiceAndTriggerComposition: CompositionAndRemoveResult; @@ -9517,12 +10763,18 @@ export type ServiceMutation = { renameKey?: Maybe; /** @deprecated use Mutation.reportSchema instead */ reportServerInfo?: Maybe; + /** Mutations for a specific assessment. */ + safAssessment?: Maybe; service: Service; setDefaultBuildPipelineTrack?: Maybe; setMinProposalApprovers: SetMinApproversResult; - /** The minimum role for create & edit is observer */ + /** The minimum role for create & edit is graph admin */ setMinProposalRoles: SetProposalRolesResult; setProposalDefaultReviewers: SetProposalDefaultReviewersResult; + /** Set the variant for this graph that all proposals depend on for 'IMPLEMENTED' status. TODO maya switch this to canManageProposalSettings. If variantName is passed as null, implementation variant is deleted. */ + setProposalImplementationVariant: SetProposalImplementationVariantResult; + /** Sets the current active user's Proposals notification status on this graph. */ + setProposalNotificationStatus: SetProposalNotificationStatusResult; /** * Store a given schema document. This schema will be attached to the graph but * not be associated with any variant. On success, returns the schema hash. @@ -9593,6 +10845,7 @@ export type ServiceMutationCheckPartialSchemaArgs = { isProposalCheck?: Scalars['Boolean']; isSandboxCheck?: Scalars['Boolean']; partialSchema: PartialSchemaInput; + triggeredBy?: InputMaybe; useMaximumRetention?: InputMaybe; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ @@ -9692,6 +10945,11 @@ export type ServiceMutationNewKeyArgs = { role?: UserPermission; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationOverrideProposalsCheckTaskArgs = { + shouldOverride: Scalars['Boolean']; + taskId: Scalars['ID']; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationOverrideUserPermissionArgs = { permission?: InputMaybe; userID: Scalars['ID']; @@ -9708,8 +10966,13 @@ export type ServiceMutationPromoteSchemaArgs = { sha256: Scalars['SHA256']; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationProposalsMustBeApprovedByADefaultReviewerArgs = { + mustBeApproved: Scalars['Boolean']; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationPublishSubgraphArgs = { activePartialSchema: PartialSchemaInput; + downstreamLaunchInitiation?: InputMaybe; gitContext?: InputMaybe; graphVariant: Scalars['String']; name: Scalars['String']; @@ -9718,6 +10981,14 @@ export type ServiceMutationPublishSubgraphArgs = { }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationPublishSubgraphsArgs = { + downstreamLaunchInitiation?: InputMaybe; + gitContext?: InputMaybe; + graphVariant: Scalars['String']; + revision: Scalars['String']; + subgraphInputs: Array; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationPublishSubgraphsAsyncBuildArgs = { gitContext?: InputMaybe; graphVariant: Scalars['String']; revision: Scalars['String']; @@ -9752,6 +11023,10 @@ export type ServiceMutationReportServerInfoArgs = { info: EdgeServerInfo; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSafAssessmentArgs = { + id: Scalars['ID']; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationSetDefaultBuildPipelineTrackArgs = { version: Scalars['String']; }; @@ -9768,6 +11043,14 @@ export type ServiceMutationSetProposalDefaultReviewersArgs = { input: SetProposalDefaultReviewersInput; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSetProposalImplementationVariantArgs = { + variantName?: InputMaybe; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSetProposalNotificationStatusArgs = { + input: SetProposalNotificationStatusInput; +}; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationStoreSchemaDocumentArgs = { schemaDocument: Scalars['String']; }; @@ -9804,6 +11087,7 @@ export type ServiceMutationUpdateCheckConfigurationArgs = { includedVariants?: InputMaybe>; operationCountThreshold?: InputMaybe; operationCountThresholdPercentage?: InputMaybe; + proposalChangeMismatchSeverity?: InputMaybe; timeRangeSeconds?: InputMaybe; }; /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ @@ -10119,6 +11403,7 @@ export type ServiceRoles = { canCreateVariants: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to delete the graph in question */ canDelete: Scalars['Boolean']; + /** Given the graph's setting regarding proposal permission levels, can the current user edit Proposals authored by other users */ canEditProposal: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to manage user access to the graph in question. */ canManageAccess: Scalars['Boolean']; @@ -10131,6 +11416,8 @@ export type ServiceRoles = { canManagePersistedQueryLists: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to manage proposal permission settings for this graph. */ canManageProposalPermissions: Scalars['Boolean']; + /** Whether the currently authenticated user is permitted to manage proposal settings, like setting the implementation variant, on this graph. */ + canManageProposalSettings: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to perform basic administration of variants (e.g., make a variant public). */ canManageVariants: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to view details about the build configuration (e.g. build pipeline version). */ @@ -10173,6 +11460,7 @@ export type ServiceStatsWindow = { fieldLatencies: Array; fieldStats: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -10225,6 +11513,12 @@ export type ServiceStatsWindowFieldUsageArgs = { orderBy?: InputMaybe>; }; /** A time window with a specified granularity over a given service. */ +export type ServiceStatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; +/** A time window with a specified granularity over a given service. */ export type ServiceStatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -10462,15 +11756,17 @@ export type SetProposalDefaultReviewersInput = { reviewerUserIds: Array; }; export type SetProposalDefaultReviewersResult = PermissionError | Service | ValidationError; +export type SetProposalImplementationVariantResult = PermissionError | Service | ValidationError; +export type SetProposalNotificationStatusInput = { + /** NotificationStatus to set for the current active user. */ + status: NotificationStatus; +}; +export type SetProposalNotificationStatusResult = Service | ValidationError; export type SetProposalRolesInput = { create?: InputMaybe; edit?: InputMaybe; }; export type SetProposalRolesResult = PermissionError | Service | ValidationError; -export type SetRequestedReviewersInput = { - reviewerUserIds: Array; -}; -export type SetRequestedReviewersResult = PermissionError | Proposal | ValidationError; export type SetupIntentResult = NotFoundError | PermissionError | SetupIntentSuccess; export type SetupIntentSuccess = { __typename?: 'SetupIntentSuccess'; @@ -10483,10 +11779,18 @@ export type SetupIntentSuccess = { */ export type Shard = { __typename?: 'Shard'; + gcuCapacity?: Maybe; + gcuUsage: Scalars['Int']; id: Scalars['ID']; provider: CloudProvider; + /** Details of this shard for a specific provider */ + providerDetails: ShardProvider; + reason?: Maybe; region: RegionDescription; + routerCapacity?: Maybe; + routerUsage: Scalars['Int']; routers: Array; + status: ShardStatus; tier: CloudTier; }; /** @@ -10498,14 +11802,27 @@ export type ShardRoutersArgs = { first?: InputMaybe; offset?: InputMaybe; }; +/** Provider-specific information for a Shard */ +export type ShardProvider = AwsShard | FlyShard; /** Represents the possible outcomes of a shard mutation */ export type ShardResult = InternalServerError | InvalidInputErrors | ShardSuccess; -/** Current status of [`Shard`]s */ +/** Current status of Cloud Shards */ export declare enum ShardStatus { + /** The Shard is active and ready to accept new Cloud Routers */ Active = "ACTIVE", + /** The Shard no long exists */ Deleted = "DELETED", + /** The Shard is working as expected, but should not be used to provision new Cloud Routers */ Deprecated = "DEPRECATED", + /** + * The Shard is suffering from a temporary degradation that might impact provisioning new + * Cloud Routers + */ Impaired = "IMPAIRED", + /** + * The Shard is currently being updated and should temporarily not be used to provision new + * Cloud Routers + */ Updating = "UPDATING" } /** Success branch of an shard mutation */ @@ -10587,6 +11904,7 @@ export type StatsWindow = { fieldExecutions: Array; fieldLatencies: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -10633,6 +11951,12 @@ export type StatsWindowFieldUsageArgs = { orderBy?: InputMaybe>; }; /** A time window with a specified granularity. */ +export type StatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; +/** A time window with a specified granularity. */ export type StatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; limit?: InputMaybe; @@ -10658,8 +11982,21 @@ export type StatsWindowTraceRefsArgs = { }; /** Possible status of a Cloud Router version */ export declare enum Status { + /** + * Deprecated version of a Cloud Router + * + * New Cloud Routers should not use this version, and this will not be + * supported at some point in the future. + */ Deprecated = "DEPRECATED", + /** + * Upcoming or experimental version of a Cloud Router + * + * This should only be used internally, or to preview new features to + * customers. + */ Next = "NEXT", + /** Cloud Router Version is ready to be used by end users */ Stable = "STABLE" } export type StoreSchemaError = { @@ -10707,9 +12044,15 @@ export type Subgraph = { revision?: Maybe; /** The subgraph's routing URL, provided to gateways that use managed federation. */ routingURL: Scalars['String']; + /** The subgraph schema document. */ + sdl: Scalars['String']; /** Timestamp of when the subgraph was published. */ updatedAt?: Maybe; }; +/** A subgraph in a federated Studio supergraph. */ +export type SubgraphSdlArgs = { + graphId: Scalars['ID']; +}; /** A change made to a subgraph as part of a launch. */ export type SubgraphChange = { __typename?: 'SubgraphChange'; @@ -10739,8 +12082,19 @@ export type SubgraphCheckAsyncInput = { isSandbox: Scalars['Boolean']; /** The proposed subgraph schema to perform checks with. */ proposedSchema: Scalars['GraphQLDocument']; + /** The source variant that this check should use the operations check configuration from */ + sourceVariant?: InputMaybe; /** The name of the subgraph to check schema changes for. */ subgraphName: Scalars['String']; + /** The user that triggered this check. If null, defaults to authContext to determine user. */ + triggeredBy?: InputMaybe; +}; +/** A subgraph in a federated Studio supergraph. */ +export type SubgraphCheckInput = { + /** The subgraph schema document's SHA256 hash, represented as a hexadecimal string. */ + hash: Scalars['String']; + /** The subgraph's registered name. */ + name: Scalars['String']; }; export type SubgraphConfig = { __typename?: 'SubgraphConfig'; @@ -10772,6 +12126,22 @@ export type SubgraphKeyMap = { keys: Array; subgraphName: Scalars['String']; }; +export type SubgraphSdlCheckInput = { + name: Scalars['String']; + sdl: Scalars['GraphQLDocument']; +}; +export type SubscriptionCapability = { + __typename?: 'SubscriptionCapability'; + label: Scalars['String']; + subscription: BillingSubscription; + value: Scalars['Boolean']; +}; +export type SubscriptionLimit = { + __typename?: 'SubscriptionLimit'; + label: Scalars['String']; + subscription: BillingSubscription; + value: Scalars['Long']; +}; export type SubscriptionOptions = { __typename?: 'SubscriptionOptions'; /** Enables notifications for schema updates */ @@ -10812,6 +12182,13 @@ export type SyncBillingAccountSuccess = { __typename?: 'SyncBillingAccountSuccess'; message: Scalars['String']; }; +/** User input for a resource share mutation */ +export type SyncPrivateSubgraphsInput = { + /** A unique identifier for the private subgraph */ + identifier: Scalars['String']; + /** The cloud provider where the private subgraph is hosted */ + provider: CloudProvider; +}; export type TemporaryUrl = { __typename?: 'TemporaryURL'; url: Scalars['String']; @@ -10820,6 +12197,12 @@ export declare enum ThemeName { Dark = "DARK", Light = "LIGHT" } +/** Throttle error */ +export type ThrottleError = Error & { + __typename?: 'ThrottleError'; + message: Scalars['String']; + retryAfter?: Maybe; +}; export declare enum TicketPriority { P0 = "P0", P1 = "P1", @@ -11278,7 +12661,12 @@ export type UpdatePersistedQueryListMetadataResult = { persistedQueryList: PersistedQueryList; }; export type UpdatePersistedQueryListMetadataResultOrError = PermissionError | UpdatePersistedQueryListMetadataResult; -export type UpdateProposalResult = Proposal | ValidationError; +export type UpdateProposalResult = PermissionError | Proposal | ValidationError; +export type UpdateRequestedReviewersInput = { + reviewerUserIdsToAdd?: InputMaybe>; + reviewerUserIdsToRemove?: InputMaybe>; +}; +export type UpdateRequestedReviewersResult = PermissionError | Proposal | ValidationError; /** Input for updating a Cloud Router */ export type UpdateRouterInput = { /** @@ -11317,6 +12705,7 @@ export type UpdateShardInput = { fly?: InputMaybe; gcuCapacity?: InputMaybe; gcuUsage?: InputMaybe; + reason?: InputMaybe; routerCapacity?: InputMaybe; routerUsage?: InputMaybe; shardId: Scalars['String']; @@ -11339,7 +12728,7 @@ export type UploadSchemaMutationResponse = { export type UpsertReviewInput = { comment?: InputMaybe; decision: ReviewDecision; - launchId: Scalars['ID']; + revisionId: Scalars['ID']; }; export type UpsertReviewResult = PermissionError | Proposal | ValidationError; export type UpsertRouterResult = GraphVariant | RouterUpsertFailure; @@ -11482,11 +12871,10 @@ export type UserMutation = { newKey: UserApiKey; /** * If this user has no active user API keys, this creates one for the user. - * * If this user has at least one active user API key, this returns one of those keys at random and does _not_ create a new key. */ provisionKey?: Maybe; - /** Refresh information about the user from its upstream service (eg list of organizations from GitHub) */ + /** Refresh information about the user from its upstream service (e.g. list of organizations from GitHub) */ refresh?: Maybe; /** Deletes the user API key with the provided ID, if any. */ removeKey?: Maybe; @@ -11844,6 +13232,7 @@ export type ZendeskTicketInput = { organizationId?: InputMaybe; priority: TicketPriority; subject: Scalars['String']; + uploadToken?: InputMaybe; }; export type SupergraphForGraphRefQueryVariables = Exact<{ ref: Scalars['ID']; diff --git a/src/studio/graphql.js b/src/studio/graphql.js index d410aa8..25605ce 100644 --- a/src/studio/graphql.js +++ b/src/studio/graphql.js @@ -85,6 +85,21 @@ export var AccountFieldUsageColumn; AccountFieldUsageColumn["ServiceId"] = "SERVICE_ID"; AccountFieldUsageColumn["Timestamp"] = "TIMESTAMP"; })(AccountFieldUsageColumn || (AccountFieldUsageColumn = {})); +/** Columns of AccountGraphosCloudMetrics. */ +export var AccountGraphosCloudMetricsColumn; +(function (AccountGraphosCloudMetricsColumn) { + AccountGraphosCloudMetricsColumn["AgentVersion"] = "AGENT_VERSION"; + AccountGraphosCloudMetricsColumn["ResponseSize"] = "RESPONSE_SIZE"; + AccountGraphosCloudMetricsColumn["ResponseSizeThrottled"] = "RESPONSE_SIZE_THROTTLED"; + AccountGraphosCloudMetricsColumn["RouterId"] = "ROUTER_ID"; + AccountGraphosCloudMetricsColumn["RouterOperations"] = "ROUTER_OPERATIONS"; + AccountGraphosCloudMetricsColumn["RouterOperationsThrottled"] = "ROUTER_OPERATIONS_THROTTLED"; + AccountGraphosCloudMetricsColumn["SchemaTag"] = "SCHEMA_TAG"; + AccountGraphosCloudMetricsColumn["ServiceId"] = "SERVICE_ID"; + AccountGraphosCloudMetricsColumn["SubgraphFetches"] = "SUBGRAPH_FETCHES"; + AccountGraphosCloudMetricsColumn["SubgraphFetchesThrottled"] = "SUBGRAPH_FETCHES_THROTTLED"; + AccountGraphosCloudMetricsColumn["Timestamp"] = "TIMESTAMP"; +})(AccountGraphosCloudMetricsColumn || (AccountGraphosCloudMetricsColumn = {})); export var AccountLockType; (function (AccountLockType) { AccountLockType["AutomatedTrialEnd"] = "AUTOMATED_TRIAL_END"; @@ -225,6 +240,7 @@ export var BillingPeriod; export var BillingPlanKind; (function (BillingPlanKind) { BillingPlanKind["Community"] = "COMMUNITY"; + BillingPlanKind["Dedicated"] = "DEDICATED"; BillingPlanKind["EnterpriseInternal"] = "ENTERPRISE_INTERNAL"; BillingPlanKind["EnterprisePaid"] = "ENTERPRISE_PAID"; BillingPlanKind["EnterprisePilot"] = "ENTERPRISE_PILOT"; @@ -278,6 +294,7 @@ export var BuildPipelineTrack; BuildPipelineTrack["Fed_2_3"] = "FED_2_3"; BuildPipelineTrack["Fed_2_4"] = "FED_2_4"; BuildPipelineTrack["Fed_2_5"] = "FED_2_5"; + BuildPipelineTrack["Fed_2_6"] = "FED_2_6"; })(BuildPipelineTrack || (BuildPipelineTrack = {})); export var BuildPipelineTrackBadge; (function (BuildPipelineTrackBadge) { @@ -438,14 +455,19 @@ export var CheckWorkflowTaskStatus; /** List of supported cloud providers */ export var CloudProvider; (function (CloudProvider) { + /** Amazon Web Services */ CloudProvider["Aws"] = "AWS"; + /** Fly.io */ CloudProvider["Fly"] = "FLY"; })(CloudProvider || (CloudProvider = {})); /** Cloud Router tiers */ export var CloudTier; (function (CloudTier) { + /** Dedicated tier */ CloudTier["Dedicated"] = "DEDICATED"; + /** Enterprise Cloud tier */ CloudTier["Enterprise"] = "ENTERPRISE"; + /** Serverless tier */ CloudTier["Serverless"] = "SERVERLESS"; })(CloudTier || (CloudTier = {})); export var CommentStatus; @@ -508,6 +530,21 @@ export var DeletionTargetType; DeletionTargetType["Account"] = "ACCOUNT"; DeletionTargetType["User"] = "USER"; })(DeletionTargetType || (DeletionTargetType = {})); +export var DownstreamLaunchInitiation; +(function (DownstreamLaunchInitiation) { + /** + * Initiate the creation of downstream launches associated with this subgraph publication asynchronously. + * The resulting API response may not provide specific details about triggered downstream launches. + */ + DownstreamLaunchInitiation["Async"] = "ASYNC"; + /** + * Initiate the creation of downstream Launches associated with this subgraph publication synchronously. + * Use this option to ensure that any downstream launches will be started before the publish mutation returns. + * Note that this does not require launches to complete, but it does ensure that the downstream launch IDs are + * available to be queried from a `CompositionAndUpsertResult`. + */ + DownstreamLaunchInitiation["Sync"] = "SYNC"; +})(DownstreamLaunchInitiation || (DownstreamLaunchInitiation = {})); /** Columns of EdgeServerInfos. */ export var EdgeServerInfosColumn; (function (EdgeServerInfosColumn) { @@ -565,11 +602,18 @@ export var FieldExecutionsColumn; })(FieldExecutionsColumn || (FieldExecutionsColumn = {})); export var FieldInsightsListOrderByColumn; (function (FieldInsightsListOrderByColumn) { + FieldInsightsListOrderByColumn["ErrorCount"] = "ERROR_COUNT"; + FieldInsightsListOrderByColumn["ErrorCountPerMin"] = "ERROR_COUNT_PER_MIN"; + FieldInsightsListOrderByColumn["ErrorPercentage"] = "ERROR_PERCENTAGE"; FieldInsightsListOrderByColumn["EstimatedExecutionCount"] = "ESTIMATED_EXECUTION_COUNT"; FieldInsightsListOrderByColumn["ExecutionCount"] = "EXECUTION_COUNT"; FieldInsightsListOrderByColumn["ParentTypeAndFieldName"] = "PARENT_TYPE_AND_FIELD_NAME"; FieldInsightsListOrderByColumn["ReferencingOperationCount"] = "REFERENCING_OPERATION_COUNT"; FieldInsightsListOrderByColumn["ReferencingOperationCountPerMin"] = "REFERENCING_OPERATION_COUNT_PER_MIN"; + FieldInsightsListOrderByColumn["ServiceTimeP50"] = "SERVICE_TIME_P50"; + FieldInsightsListOrderByColumn["ServiceTimeP90"] = "SERVICE_TIME_P90"; + FieldInsightsListOrderByColumn["ServiceTimeP95"] = "SERVICE_TIME_P95"; + FieldInsightsListOrderByColumn["ServiceTimeP99"] = "SERVICE_TIME_P99"; })(FieldInsightsListOrderByColumn || (FieldInsightsListOrderByColumn = {})); /** Columns of FieldLatencies. */ export var FieldLatenciesColumn; @@ -671,6 +715,22 @@ export var GraphVariantFilter; /** Variants favorited by the current user */ GraphVariantFilter["Favorites"] = "FAVORITES"; })(GraphVariantFilter || (GraphVariantFilter = {})); +/** Columns of GraphosCloudMetrics. */ +export var GraphosCloudMetricsColumn; +(function (GraphosCloudMetricsColumn) { + GraphosCloudMetricsColumn["AccountId"] = "ACCOUNT_ID"; + GraphosCloudMetricsColumn["AgentVersion"] = "AGENT_VERSION"; + GraphosCloudMetricsColumn["ResponseSize"] = "RESPONSE_SIZE"; + GraphosCloudMetricsColumn["ResponseSizeThrottled"] = "RESPONSE_SIZE_THROTTLED"; + GraphosCloudMetricsColumn["RouterId"] = "ROUTER_ID"; + GraphosCloudMetricsColumn["RouterOperations"] = "ROUTER_OPERATIONS"; + GraphosCloudMetricsColumn["RouterOperationsThrottled"] = "ROUTER_OPERATIONS_THROTTLED"; + GraphosCloudMetricsColumn["SchemaTag"] = "SCHEMA_TAG"; + GraphosCloudMetricsColumn["ServiceId"] = "SERVICE_ID"; + GraphosCloudMetricsColumn["SubgraphFetches"] = "SUBGRAPH_FETCHES"; + GraphosCloudMetricsColumn["SubgraphFetchesThrottled"] = "SUBGRAPH_FETCHES_THROTTLED"; + GraphosCloudMetricsColumn["Timestamp"] = "TIMESTAMP"; +})(GraphosCloudMetricsColumn || (GraphosCloudMetricsColumn = {})); export var HttpMethod; (function (HttpMethod) { HttpMethod["Connect"] = "CONNECT"; @@ -791,8 +851,11 @@ export var LintDiagnosticLevel; })(LintDiagnosticLevel || (LintDiagnosticLevel = {})); export var LintRule; (function (LintRule) { + LintRule["AllElementsRequireDescription"] = "ALL_ELEMENTS_REQUIRE_DESCRIPTION"; LintRule["ContactDirectiveMissing"] = "CONTACT_DIRECTIVE_MISSING"; + LintRule["DefinedTypesAreUnused"] = "DEFINED_TYPES_ARE_UNUSED"; LintRule["DeprecatedDirectiveMissingReason"] = "DEPRECATED_DIRECTIVE_MISSING_REASON"; + LintRule["DirectiveComposition"] = "DIRECTIVE_COMPOSITION"; LintRule["DirectiveNamesShouldBeCamelCase"] = "DIRECTIVE_NAMES_SHOULD_BE_CAMEL_CASE"; LintRule["DoesNotParse"] = "DOES_NOT_PARSE"; LintRule["EnumPrefix"] = "ENUM_PREFIX"; @@ -801,27 +864,71 @@ export var LintRule; LintRule["EnumUsedAsOutputDespiteSuffix"] = "ENUM_USED_AS_OUTPUT_DESPITE_SUFFIX"; LintRule["EnumValuesShouldBeScreamingSnakeCase"] = "ENUM_VALUES_SHOULD_BE_SCREAMING_SNAKE_CASE"; LintRule["FieldNamesShouldBeCamelCase"] = "FIELD_NAMES_SHOULD_BE_CAMEL_CASE"; + LintRule["FromSubgraphDoesNotExist"] = "FROM_SUBGRAPH_DOES_NOT_EXIST"; + LintRule["InconsistentArgumentPresence"] = "INCONSISTENT_ARGUMENT_PRESENCE"; + LintRule["InconsistentButCompatibleArgumentType"] = "INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE"; + LintRule["InconsistentButCompatibleFieldType"] = "INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE"; + LintRule["InconsistentDefaultValuePresence"] = "INCONSISTENT_DEFAULT_VALUE_PRESENCE"; + LintRule["InconsistentDescription"] = "INCONSISTENT_DESCRIPTION"; + LintRule["InconsistentEntity"] = "INCONSISTENT_ENTITY"; + LintRule["InconsistentEnumValueForInputEnum"] = "INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM"; + LintRule["InconsistentEnumValueForOutputEnum"] = "INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM"; + LintRule["InconsistentExecutableDirectiveLocations"] = "INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS"; + LintRule["InconsistentExecutableDirectivePresence"] = "INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE"; + LintRule["InconsistentExecutableDirectiveRepeatable"] = "INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE"; + LintRule["InconsistentInputObjectField"] = "INCONSISTENT_INPUT_OBJECT_FIELD"; + LintRule["InconsistentInterfaceValueTypeField"] = "INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD"; + LintRule["InconsistentNonRepeatableDirectiveArguments"] = "INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS"; + LintRule["InconsistentObjectValueTypeField"] = "INCONSISTENT_OBJECT_VALUE_TYPE_FIELD"; + LintRule["InconsistentRuntimeTypesForShareableReturn"] = "INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN"; + LintRule["InconsistentTypeSystemDirectiveLocations"] = "INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_LOCATIONS"; + LintRule["InconsistentTypeSystemDirectiveRepeatable"] = "INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_REPEATABLE"; + LintRule["InconsistentUnionMember"] = "INCONSISTENT_UNION_MEMBER"; LintRule["InputArgumentNamesShouldBeCamelCase"] = "INPUT_ARGUMENT_NAMES_SHOULD_BE_CAMEL_CASE"; LintRule["InputTypeSuffix"] = "INPUT_TYPE_SUFFIX"; LintRule["InterfacePrefix"] = "INTERFACE_PREFIX"; LintRule["InterfaceSuffix"] = "INTERFACE_SUFFIX"; + LintRule["MergedNonRepeatableDirectiveArguments"] = "MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS"; + LintRule["NoExecutableDirectiveIntersection"] = "NO_EXECUTABLE_DIRECTIVE_INTERSECTION"; LintRule["ObjectPrefix"] = "OBJECT_PREFIX"; LintRule["ObjectSuffix"] = "OBJECT_SUFFIX"; + LintRule["OverriddenFieldCanBeRemoved"] = "OVERRIDDEN_FIELD_CAN_BE_REMOVED"; + LintRule["OverrideDirectiveCanBeRemoved"] = "OVERRIDE_DIRECTIVE_CAN_BE_REMOVED"; LintRule["QueryDocumentDeclaration"] = "QUERY_DOCUMENT_DECLARATION"; LintRule["RestyFieldNames"] = "RESTY_FIELD_NAMES"; LintRule["TagDirectiveUsesUnknownName"] = "TAG_DIRECTIVE_USES_UNKNOWN_NAME"; LintRule["TypeNamesShouldBePascalCase"] = "TYPE_NAMES_SHOULD_BE_PASCAL_CASE"; LintRule["TypePrefix"] = "TYPE_PREFIX"; LintRule["TypeSuffix"] = "TYPE_SUFFIX"; + LintRule["UnusedEnumType"] = "UNUSED_ENUM_TYPE"; })(LintRule || (LintRule = {})); +/** The category used for grouping similar rules. */ +export var LinterRuleCategory; +(function (LinterRuleCategory) { + /** These rules are generated during composition. */ + LinterRuleCategory["Composition"] = "COMPOSITION"; + /** These rules enforce naming conventions. */ + LinterRuleCategory["Naming"] = "NAMING"; + /** These rules define conventions for the entire schema and directive usage outside of composition. */ + LinterRuleCategory["Other"] = "OTHER"; +})(LinterRuleCategory || (LinterRuleCategory = {})); /** Level of the log entry */ export var LogLevel; (function (LogLevel) { + /** Debug log entry */ LogLevel["Debug"] = "DEBUG"; + /** Error log entry */ LogLevel["Error"] = "ERROR"; + /** Informational log entry */ LogLevel["Info"] = "INFO"; + /** Warning log entry */ LogLevel["Warn"] = "WARN"; })(LogLevel || (LogLevel = {})); +export var NotificationStatus; +(function (NotificationStatus) { + NotificationStatus["All"] = "ALL"; + NotificationStatus["None"] = "NONE"; +})(NotificationStatus || (NotificationStatus = {})); export var OnboardingArchitecture; (function (OnboardingArchitecture) { OnboardingArchitecture["Monolith"] = "MONOLITH"; @@ -842,6 +949,23 @@ export var OperationCheckStatsColumn; OperationCheckStatsColumn["Timestamp"] = "TIMESTAMP"; OperationCheckStatsColumn["UncachedRequestsCount"] = "UNCACHED_REQUESTS_COUNT"; })(OperationCheckStatsColumn || (OperationCheckStatsColumn = {})); +export var OperationInsightsListOrderByColumn; +(function (OperationInsightsListOrderByColumn) { + OperationInsightsListOrderByColumn["CacheHitRate"] = "CACHE_HIT_RATE"; + OperationInsightsListOrderByColumn["CacheTtlP50"] = "CACHE_TTL_P50"; + OperationInsightsListOrderByColumn["ErrorCount"] = "ERROR_COUNT"; + OperationInsightsListOrderByColumn["ErrorCountPerMin"] = "ERROR_COUNT_PER_MIN"; + OperationInsightsListOrderByColumn["ErrorPercentage"] = "ERROR_PERCENTAGE"; + OperationInsightsListOrderByColumn["OperationName"] = "OPERATION_NAME"; + OperationInsightsListOrderByColumn["RequestCount"] = "REQUEST_COUNT"; + OperationInsightsListOrderByColumn["RequestCountPerMin"] = "REQUEST_COUNT_PER_MIN"; + OperationInsightsListOrderByColumn["ServiceTimeP50"] = "SERVICE_TIME_P50"; + OperationInsightsListOrderByColumn["ServiceTimeP90"] = "SERVICE_TIME_P90"; + OperationInsightsListOrderByColumn["ServiceTimeP95"] = "SERVICE_TIME_P95"; + OperationInsightsListOrderByColumn["ServiceTimeP99"] = "SERVICE_TIME_P99"; + OperationInsightsListOrderByColumn["SignatureBytes"] = "SIGNATURE_BYTES"; + OperationInsightsListOrderByColumn["TotalDurationMs"] = "TOTAL_DURATION_MS"; +})(OperationInsightsListOrderByColumn || (OperationInsightsListOrderByColumn = {})); export var OperationType; (function (OperationType) { OperationType["Mutation"] = "MUTATION"; @@ -851,17 +975,34 @@ export var OperationType; /** Represents the different status for an order */ export var OrderStatus; (function (OrderStatus) { + /** Order was successfully completed */ OrderStatus["Completed"] = "COMPLETED"; + /** Order was unsuccessful */ OrderStatus["Errored"] = "ERRORED"; + /** New Order in progress */ OrderStatus["Pending"] = "PENDING"; + /** + * Order is currently rolling back + * + * All resources created as part of this Order are being deleted + */ OrderStatus["RollingBack"] = "ROLLING_BACK"; + /** + * Order has been superseded by another, more recent order + * + * This can happen if two update orders arrive in close succession and we already + * started to process the newer order first. + */ OrderStatus["Superseded"] = "SUPERSEDED"; })(OrderStatus || (OrderStatus = {})); /** Represents the different types of order */ export var OrderType; (function (OrderType) { + /** Create a new Cloud Router */ OrderType["CreateRouter"] = "CREATE_ROUTER"; + /** Destroy an existing Cloud Router */ OrderType["DestroyRouter"] = "DESTROY_ROUTER"; + /** Update an existing Cloud Router */ OrderType["UpdateRouter"] = "UPDATE_ROUTER"; })(OrderType || (OrderType = {})); export var Ordering; @@ -873,6 +1014,22 @@ export var OrganizationSsoProvider; (function (OrganizationSsoProvider) { OrganizationSsoProvider["Pingone"] = "PINGONE"; })(OrganizationSsoProvider || (OrganizationSsoProvider = {})); +/** The status of an association between a private subgraph and your Apollo account */ +export var PrivateSubgraphShareStatus; +(function (PrivateSubgraphShareStatus) { + /** The private subgraph is connected to the Apollo service network */ + PrivateSubgraphShareStatus["Connected"] = "CONNECTED"; + /** The private subgraph is disconnected to the Apollo service network */ + PrivateSubgraphShareStatus["Disconnected"] = "DISCONNECTED"; + /** The private subgraph's connection to the Apollo service network has errored */ + PrivateSubgraphShareStatus["Errored"] = "ERRORED"; + /** The private subgraph's connection is pending */ + PrivateSubgraphShareStatus["Pending"] = "PENDING"; + /** The private subgraph's disconnection is pending */ + PrivateSubgraphShareStatus["PendingDisconnection"] = "PENDING_DISCONNECTION"; + /** The current state of the association is unknown */ + PrivateSubgraphShareStatus["Unknown"] = "UNKNOWN"; +})(PrivateSubgraphShareStatus || (PrivateSubgraphShareStatus = {})); export var PromoteSchemaErrorCode; (function (PromoteSchemaErrorCode) { PromoteSchemaErrorCode["CannotPromoteSchemaForFederatedGraph"] = "CANNOT_PROMOTE_SCHEMA_FOR_FEDERATED_GRAPH"; @@ -882,11 +1039,55 @@ export var PromoteSchemaResponseCode; PromoteSchemaResponseCode["NoChangesDetected"] = "NO_CHANGES_DETECTED"; PromoteSchemaResponseCode["PromotionSuccess"] = "PROMOTION_SUCCESS"; })(PromoteSchemaResponseCode || (PromoteSchemaResponseCode = {})); +export var ProposalActivityAction; +(function (ProposalActivityAction) { + /** When the system changes a Proposal's status back to OPEN from APPROVED when approvals drop below min approvals. */ + ProposalActivityAction["ApprovalWithdrawn"] = "APPROVAL_WITHDRAWN"; + /** When a user manually sets a Proposal to Close */ + ProposalActivityAction["CloseProposal"] = "CLOSE_PROPOSAL"; + /** When a Comment is added to a Proposal. */ + ProposalActivityAction["CommentAdded"] = "COMMENT_ADDED"; + /** When a subgraph in a Proposal is deleted. */ + ProposalActivityAction["DeleteSubgraph"] = "DELETE_SUBGRAPH"; + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + ProposalActivityAction["FullyImplementedProposalOrigin"] = "FULLY_IMPLEMENTED_PROPOSAL_ORIGIN"; + /** When a diff in an Implementation variant publish is found in a Proposal that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + ProposalActivityAction["FullyImplementedVariantOrigin"] = "FULLY_IMPLEMENTED_VARIANT_ORIGIN"; + /** When the system changes a Proposal's status to APPROVED when the min approvals have been met. */ + ProposalActivityAction["MetMinApprovalsProposal"] = "MET_MIN_APPROVALS_PROPOSAL"; + /** When a user manually sets a Proposal to Open */ + ProposalActivityAction["OpenProposal"] = "OPEN_PROPOSAL"; + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + ProposalActivityAction["PartiallyImplementedProposalOrigin"] = "PARTIALLY_IMPLEMENTED_PROPOSAL_ORIGIN"; + /** When a diff in an Implementation variant publish is found in a Proposal that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + ProposalActivityAction["PartiallyImplementedVariantOrigin"] = "PARTIALLY_IMPLEMENTED_VARIANT_ORIGIN"; + /** When a new revision is published to subgraphs in a Proposal. */ + ProposalActivityAction["PublishSubgraphs"] = "PUBLISH_SUBGRAPHS"; + /** When a Proposal is moved to DRAFT from another status not on creation. */ + ProposalActivityAction["ReturnToDraftProposal"] = "RETURN_TO_DRAFT_PROPOSAL"; + /** When a Review is added to a Proposal. */ + ProposalActivityAction["ReviewAdded"] = "REVIEW_ADDED"; +})(ProposalActivityAction || (ProposalActivityAction = {})); +export var ProposalChangeMismatchSeverity; +(function (ProposalChangeMismatchSeverity) { + ProposalChangeMismatchSeverity["Error"] = "ERROR"; + ProposalChangeMismatchSeverity["Off"] = "OFF"; + ProposalChangeMismatchSeverity["Warn"] = "WARN"; +})(ProposalChangeMismatchSeverity || (ProposalChangeMismatchSeverity = {})); +export var ProposalCoverage; +(function (ProposalCoverage) { + ProposalCoverage["Full"] = "FULL"; + ProposalCoverage["None"] = "NONE"; + ProposalCoverage["Overridden"] = "OVERRIDDEN"; + ProposalCoverage["Partial"] = "PARTIAL"; + ProposalCoverage["Pending"] = "PENDING"; +})(ProposalCoverage || (ProposalCoverage = {})); export var ProposalStatus; (function (ProposalStatus) { ProposalStatus["Approved"] = "APPROVED"; ProposalStatus["Closed"] = "CLOSED"; ProposalStatus["Draft"] = "DRAFT"; + ProposalStatus["Implemented"] = "IMPLEMENTED"; ProposalStatus["Open"] = "OPEN"; })(ProposalStatus || (ProposalStatus = {})); /** Columns of QueryStats. */ @@ -940,14 +1141,35 @@ export var QueryTriggerWindow; /** Responsibility for an errored order */ export var ReasonCause; (function (ReasonCause) { + /** + * Could not complete an order due to internal reason + * + * This could be due to intermittent issues, bug in our code, etc. + */ ReasonCause["Internal"] = "INTERNAL"; + /** + * Could not complete an order due to invalid User input + * + * For example, the user provided an invalid router configuration or supergraph schema. + */ ReasonCause["User"] = "USER"; })(ReasonCause || (ReasonCause = {})); /** Possible state of a region */ export var RegionState; (function (RegionState) { + /** + * Active region + * + * Can be used for Cloud Routers + */ RegionState["Active"] = "ACTIVE"; + /** Does not appear in the API */ RegionState["Hidden"] = "HIDDEN"; + /** + * Inactive region + * + * Cannot yet be used for Cloud Routers + */ RegionState["Inactive"] = "INACTIVE"; })(RegionState || (RegionState = {})); export var ReportSchemaErrorCode; @@ -996,17 +1218,41 @@ export var ReviewDecision; })(ReviewDecision || (ReviewDecision = {})); export var RouterEntitlementAudience; (function (RouterEntitlementAudience) { + /** Routers in Apollo hosted cloud. */ RouterEntitlementAudience["Cloud"] = "CLOUD"; + /** Routers in offline environments with license files supplied from a URL or locally. */ + RouterEntitlementAudience["Offline"] = "OFFLINE"; + /** Routers in self-hosted environments fetching their license from uplink. */ RouterEntitlementAudience["SelfHosted"] = "SELF_HOSTED"; })(RouterEntitlementAudience || (RouterEntitlementAudience = {})); /** Current status of Cloud Routers */ export var RouterStatus; (function (RouterStatus) { + /** Cloud Router is not yet provisioned */ RouterStatus["Creating"] = "CREATING"; + /** Router has been deleted */ RouterStatus["Deleted"] = "DELETED"; + /** + * Cloud Router is running, but currently being deleted + * + * This is the only mutation state that doesn't support rollback. If we fail to + * delete a Router, the workflows are configured to stop and keep the router into + * the Deleting status. + */ RouterStatus["Deleting"] = "DELETING"; + /** + * Current order is rolling back to the last known good state + * + * After a RollingBack state, a Router can move either into Running state (from a + * Update order) or Deleted (from a Create order). + * + * If we fail to roll back, the workflows are configured to stop and keep the router + * into the RollingBack status. + */ RouterStatus["RollingBack"] = "ROLLING_BACK"; + /** Current router is running and able to server requests */ RouterStatus["Running"] = "RUNNING"; + /** Cloud Router is running, but currently being updated */ RouterStatus["Updating"] = "UPDATING"; })(RouterStatus || (RouterStatus = {})); export var SchemaTagHistoryOrder; @@ -1094,6 +1340,20 @@ export var ServiceFieldUsageColumn; ServiceFieldUsageColumn["SchemaTag"] = "SCHEMA_TAG"; ServiceFieldUsageColumn["Timestamp"] = "TIMESTAMP"; })(ServiceFieldUsageColumn || (ServiceFieldUsageColumn = {})); +/** Columns of ServiceGraphosCloudMetrics. */ +export var ServiceGraphosCloudMetricsColumn; +(function (ServiceGraphosCloudMetricsColumn) { + ServiceGraphosCloudMetricsColumn["AgentVersion"] = "AGENT_VERSION"; + ServiceGraphosCloudMetricsColumn["ResponseSize"] = "RESPONSE_SIZE"; + ServiceGraphosCloudMetricsColumn["ResponseSizeThrottled"] = "RESPONSE_SIZE_THROTTLED"; + ServiceGraphosCloudMetricsColumn["RouterId"] = "ROUTER_ID"; + ServiceGraphosCloudMetricsColumn["RouterOperations"] = "ROUTER_OPERATIONS"; + ServiceGraphosCloudMetricsColumn["RouterOperationsThrottled"] = "ROUTER_OPERATIONS_THROTTLED"; + ServiceGraphosCloudMetricsColumn["SchemaTag"] = "SCHEMA_TAG"; + ServiceGraphosCloudMetricsColumn["SubgraphFetches"] = "SUBGRAPH_FETCHES"; + ServiceGraphosCloudMetricsColumn["SubgraphFetchesThrottled"] = "SUBGRAPH_FETCHES_THROTTLED"; + ServiceGraphosCloudMetricsColumn["Timestamp"] = "TIMESTAMP"; +})(ServiceGraphosCloudMetricsColumn || (ServiceGraphosCloudMetricsColumn = {})); /** Columns of ServiceOperationCheckStats. */ export var ServiceOperationCheckStatsColumn; (function (ServiceOperationCheckStatsColumn) { @@ -1166,13 +1426,24 @@ export var ServiceTraceRefsColumn; ServiceTraceRefsColumn["TraceCount"] = "TRACE_COUNT"; ServiceTraceRefsColumn["TraceId"] = "TRACE_ID"; })(ServiceTraceRefsColumn || (ServiceTraceRefsColumn = {})); -/** Current status of [`Shard`]s */ +/** Current status of Cloud Shards */ export var ShardStatus; (function (ShardStatus) { + /** The Shard is active and ready to accept new Cloud Routers */ ShardStatus["Active"] = "ACTIVE"; + /** The Shard no long exists */ ShardStatus["Deleted"] = "DELETED"; + /** The Shard is working as expected, but should not be used to provision new Cloud Routers */ ShardStatus["Deprecated"] = "DEPRECATED"; + /** + * The Shard is suffering from a temporary degradation that might impact provisioning new + * Cloud Routers + */ ShardStatus["Impaired"] = "IMPAIRED"; + /** + * The Shard is currently being updated and should temporarily not be used to provision new + * Cloud Routers + */ ShardStatus["Updating"] = "UPDATING"; })(ShardStatus || (ShardStatus = {})); export var SlackPublishState; @@ -1192,8 +1463,21 @@ export var State; /** Possible status of a Cloud Router version */ export var Status; (function (Status) { + /** + * Deprecated version of a Cloud Router + * + * New Cloud Routers should not use this version, and this will not be + * supported at some point in the future. + */ Status["Deprecated"] = "DEPRECATED"; + /** + * Upcoming or experimental version of a Cloud Router + * + * This should only be used internally, or to preview new features to + * customers. + */ Status["Next"] = "NEXT"; + /** Cloud Router Version is ready to be used by end users */ Status["Stable"] = "STABLE"; })(Status || (Status = {})); export var StoreSchemaErrorCode; diff --git a/studio/generated/graphql.ts b/studio/generated/graphql.ts index 858a411..1f66110 100644 --- a/studio/generated/graphql.ts +++ b/studio/generated/graphql.ts @@ -20,6 +20,7 @@ export type Scalars = { FieldSet: any; GraphQLDocument: any; JSON: any; + JSONObject: any; Long: any; NaiveDateTime: any; Object: any; @@ -87,12 +88,19 @@ export type Account = { memberships?: Maybe>; /** Name of the organization, which can change over time and isn't unique. */ name: Scalars['String']; + /** + * Fetches an offline license for the account. + * (If you need this then please contact your Apollo account manager to discuss your requirements.) + */ + offlineLicense?: Maybe; /** * Fetches usage based pricing operations counts for the calling user. If a particular window is not specified, * totals for the user's current billing period are returned. (Will error if the user is not currently on a usage * based plan.) */ operationUsage: AccountOperationUsage; + /** List the private subgraphs associated with your Apollo account */ + privateSubgraphs: Array; /** @deprecated use Account.createdAt instead */ provisionedAt?: Maybe; /** Returns a different registry related stats pertaining to this account. */ @@ -193,6 +201,12 @@ export type AccountOperationUsageArgs = { }; +/** An organization in Apollo Studio. Can have multiple members and graphs. */ +export type AccountPrivateSubgraphsArgs = { + cloudProvider: CloudProvider; +}; + + /** An organization in Apollo Studio. Can have multiple members and graphs. */ export type AccountRegistryStatsWindowArgs = { from: Scalars['Timestamp']; @@ -848,6 +862,82 @@ export type AccountGraphVariantEdge = { node?: Maybe; }; +/** Columns of AccountGraphosCloudMetrics. */ +export enum AccountGraphosCloudMetricsColumn { + AgentVersion = 'AGENT_VERSION', + ResponseSize = 'RESPONSE_SIZE', + ResponseSizeThrottled = 'RESPONSE_SIZE_THROTTLED', + RouterId = 'ROUTER_ID', + RouterOperations = 'ROUTER_OPERATIONS', + RouterOperationsThrottled = 'ROUTER_OPERATIONS_THROTTLED', + SchemaTag = 'SCHEMA_TAG', + ServiceId = 'SERVICE_ID', + SubgraphFetches = 'SUBGRAPH_FETCHES', + SubgraphFetchesThrottled = 'SUBGRAPH_FETCHES_THROTTLED', + Timestamp = 'TIMESTAMP' +} + +export type AccountGraphosCloudMetricsDimensions = { + __typename?: 'AccountGraphosCloudMetricsDimensions'; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; + serviceId?: Maybe; +}; + +/** Filter for data in AccountGraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type AccountGraphosCloudMetricsFilter = { + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; + /** Selects rows whose serviceId dimension equals the given value if not null. To query for the null value, use {in: {serviceId: [null]}} instead. */ + serviceId?: InputMaybe; +}; + +/** Filter for data in AccountGraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type AccountGraphosCloudMetricsFilterIn = { + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; + /** Selects rows whose serviceId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + serviceId?: InputMaybe>>; +}; + +export type AccountGraphosCloudMetricsMetrics = { + __typename?: 'AccountGraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; + +export type AccountGraphosCloudMetricsOrderBySpec = { + column: AccountGraphosCloudMetricsColumn; + direction: Ordering; +}; + +export type AccountGraphosCloudMetricsRecord = { + __typename?: 'AccountGraphosCloudMetricsRecord'; + /** Dimensions of AccountGraphosCloudMetrics that can be grouped by. */ + groupBy: AccountGraphosCloudMetricsDimensions; + /** Metrics of AccountGraphosCloudMetrics that can be aggregated over. */ + metrics: AccountGraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; + export type AccountInvitation = { __typename?: 'AccountInvitation'; /** An accepted invitation cannot be used anymore */ @@ -901,6 +991,7 @@ export type AccountMutation = { createCloudOnboarding: CreateOnboardingResult; createGraph: GraphCreationResult; createStaticInvitation?: Maybe; + currentSubscription?: Maybe; /** Delete the account's avatar. Requires Account.canUpdateAvatar to be true. */ deleteAvatar?: Maybe; /** If the org is on an enterprise trial, set the end date to a new value. */ @@ -913,8 +1004,10 @@ export type AccountMutation = { invite?: Maybe; /** Lock an account, which limits the functionality available with regard to its graphs. */ lock?: Maybe; - /** See Account type. Field is needed by extending subgraph. */ + /** See Account type. Field is needed by extending subgraph. */ name?: Maybe; + /** Mutations for interacting with an Apollo account's private subgraphs on GraphOS */ + privateSubgraph: PrivateSubgraphMutation; /** * Reactivate a canceled current subscription. * Currently only works for Recurly subscriptions on team plans. @@ -929,7 +1022,7 @@ export type AccountMutation = { /** Send a new E-mail for an existing invitation */ resendInvitation?: Maybe; revokeStaticInvitation?: Maybe; - /** See Account type. Field is needed by extending subgraph. */ + /** See Account type. Field is needed by extending subgraph. */ seats?: Maybe; /** Apollo admins only: set the billing plan to an arbitrary plan effective immediately terminating any current paid plan. */ setPlan?: Maybe; @@ -1366,6 +1459,7 @@ export type AccountStatsWindow = { fieldExecutions: Array; fieldLatencies: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -1425,6 +1519,14 @@ export type AccountStatsWindowFieldUsageArgs = { }; +/** A time window with a specified granularity over a given account. */ +export type AccountStatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; + + /** A time window with a specified granularity over a given account. */ export type AccountStatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; @@ -1712,11 +1814,12 @@ export enum ActorType { /** parentCommentId is only present for replies. schemaCoordinate & subgraph are only present for initial change comments. If all are absent, this is a general parent comment on the proposal. */ export type AddCommentInput = { - launchId: Scalars['String']; message: Scalars['String']; parentCommentId?: InputMaybe; + revisionId: Scalars['String']; schemaCoordinate?: InputMaybe; schemaScope?: InputMaybe; + usersToNotify?: InputMaybe>; }; export type AddCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | ReplyChangeProposalComment | ReplyGeneralProposalComment | ValidationError; @@ -1803,6 +1906,24 @@ export type ApiKeyProvision = { created: Scalars['Boolean']; }; +/** A generic event for the `trackApolloKotlinUsage` mutation */ +export type ApolloKotlinUsageEventInput = { + /** When the event occurred */ + date: Scalars['Timestamp']; + /** Optional parameters attached to the event */ + payload?: InputMaybe; + /** Type of event */ + type: Scalars['ID']; +}; + +/** A generic property for the `trackApolloKotlinUsage` mutation */ +export type ApolloKotlinUsagePropertyInput = { + /** Optional parameters attached to the property */ + payload?: InputMaybe; + /** Type of property */ + type: Scalars['ID']; +}; + export enum AuditAction { BroadcastMessage = 'BroadcastMessage', CreateMessage = 'CreateMessage', @@ -1889,6 +2010,31 @@ export enum AvatarUploadErrorCode { export type AvatarUploadResult = AvatarUploadError | MediaUploadInfo; +/** AWS-specific information for a Shard */ +export type AwsShard = { + __typename?: 'AwsShard'; + /** AWS Account ID where the Shard is hosted */ + accountId: Scalars['String']; + /** ARN of the ECS Cluster */ + ecsClusterArn: Scalars['String']; + /** DNS endpoint for the load balancer */ + endpoint: Scalars['String']; + /** ARN of the IAM role to perform provisioning operations on this shard */ + iamRoleArn: Scalars['String']; + /** ARN of the load balancer */ + loadbalancerArn: Scalars['String']; + /** ARN of the load balancer listener */ + loadbalancerListenerArn: Scalars['String']; + /** ID of the security group for the load balancer */ + loadbalancerSecurityGroupId: Scalars['String']; + /** ARN of the IAM permissions boundaries for IAM roles provisioned in this shard */ + permissionsBoundaryArn: Scalars['String']; + /** IDs of the subnets */ + subnetIds: Array; + /** ID of the VPC */ + vpcId: Scalars['String']; +}; + export type BillableMetricStats = { __typename?: 'BillableMetricStats'; planThreshold?: Maybe; @@ -1993,6 +2139,8 @@ export type BillingMonth = { export type BillingMutation = { __typename?: 'BillingMutation'; + /** Temporary utility mutation to convert annual team plan orgs to monthly team plans */ + convertAnnualTeamOrgToMonthly?: Maybe; createSetupIntent?: Maybe; endPaidUsageBasedPlan?: Maybe; reloadPlans: Array; @@ -2004,6 +2152,11 @@ export type BillingMutation = { }; +export type BillingMutationConvertAnnualTeamOrgToMonthlyArgs = { + internalAccountId: Scalars['ID']; +}; + + export type BillingMutationCreateSetupIntentArgs = { internalAccountId: Scalars['ID']; }; @@ -2108,6 +2261,12 @@ export type BillingPlanAddon = { pricePerUnitInUsdCents: Scalars['Int']; }; +/** Billing plan addon input */ +export type BillingPlanAddonInput = { + code?: InputMaybe; + usdCentsPrice?: InputMaybe; +}; + export type BillingPlanCapabilities = { __typename?: 'BillingPlanCapabilities'; clientVersions: Scalars['Boolean']; @@ -2135,11 +2294,46 @@ export type BillingPlanCapabilities = { export type BillingPlanCapability = { __typename?: 'BillingPlanCapability'; label: Scalars['String']; + plan: BillingPlan; value: Scalars['Boolean']; }; +/** Billing plan input */ +export type BillingPlanInput = { + addons: Array; + billingModel: BillingModel; + billingPeriod: BillingPeriod; + clientVersions?: InputMaybe; + clients?: InputMaybe; + contracts?: InputMaybe; + datadog?: InputMaybe; + description: Scalars['String']; + errors?: InputMaybe; + federation?: InputMaybe; + id: Scalars['ID']; + kind: BillingPlanKind; + launches?: InputMaybe; + maxAuditInDays?: InputMaybe; + maxRangeInDays?: InputMaybe; + maxRangeInDaysForChecks?: InputMaybe; + maxRequestsPerMonth?: InputMaybe; + metrics?: InputMaybe; + name: Scalars['String']; + notifications?: InputMaybe; + operationRegistry?: InputMaybe; + persistedQueries?: InputMaybe; + pricePerSeatInUsdCents?: InputMaybe; + pricePerUnitInUsdCents?: InputMaybe; + public: Scalars['Boolean']; + schemaValidation?: InputMaybe; + traces?: InputMaybe; + userRoles?: InputMaybe; + webhooks?: InputMaybe; +}; + export enum BillingPlanKind { Community = 'COMMUNITY', + Dedicated = 'DEDICATED', EnterpriseInternal = 'ENTERPRISE_INTERNAL', EnterprisePaid = 'ENTERPRISE_PAID', EnterprisePilot = 'ENTERPRISE_PILOT', @@ -2157,6 +2351,58 @@ export enum BillingPlanKind { export type BillingPlanLimit = { __typename?: 'BillingPlanLimit'; + label: Scalars['String']; + plan: BillingPlan; + value: Scalars['Long']; +}; + +export type BillingPlanMutation = { + __typename?: 'BillingPlanMutation'; + /** Archive this billing plan */ + archive?: Maybe; + /** Remove the specified capability from this plan */ + clearCapability?: Maybe; + /** Remove the specified limit from this plan */ + clearLimit?: Maybe; + id: Scalars['ID']; + /** Reset the specified capability on this plan to the global default value for the capability */ + resetCapability?: Maybe; + /** Reset the specified limit on this plan to the global default value for the limit */ + resetLimit?: Maybe; + /** Sets the specified capability on this plan to the provided value */ + setCapability?: Maybe; + /** Sets the specified limit on this plan to the provided value */ + setLimit?: Maybe; +}; + + +export type BillingPlanMutationClearCapabilityArgs = { + label: Scalars['String']; +}; + + +export type BillingPlanMutationClearLimitArgs = { + label: Scalars['String']; +}; + + +export type BillingPlanMutationResetCapabilityArgs = { + label: Scalars['String']; +}; + + +export type BillingPlanMutationResetLimitArgs = { + label: Scalars['String']; +}; + + +export type BillingPlanMutationSetCapabilityArgs = { + label: Scalars['String']; + value: Scalars['Boolean']; +}; + + +export type BillingPlanMutationSetLimitArgs = { label: Scalars['String']; value: Scalars['Long']; }; @@ -2174,15 +2420,23 @@ export type BillingSubscription = { __typename?: 'BillingSubscription'; activatedAt: Scalars['Timestamp']; addons: Array; + /** Retrieve all capabilities for this subscription */ + allCapabilities: Array; + /** Retrieve a list of all effective capability limits for this subscription */ + allLimits: Array; autoRenew: Scalars['Boolean']; canceledAt?: Maybe; /** Draft invoice for this subscription */ currentDraftInvoice?: Maybe; currentPeriodEndsAt: Scalars['Timestamp']; currentPeriodStartedAt: Scalars['Timestamp']; + /** Retrieve the limit applied to this subscription for a capability */ + effectiveLimit?: Maybe; expiresAt?: Maybe; /** Renewal grace time for updating seat count */ graceTimeForNextRenewal?: Maybe; + /** Check whether a capability is enabled for the subscription */ + hasCapability?: Maybe; maxSelfHostedRequestsPerMonth?: Maybe; maxServerlessRequestsPerMonth?: Maybe; plan: BillingPlan; @@ -2202,6 +2456,16 @@ export type BillingSubscription = { uuid: Scalars['ID']; }; + +export type BillingSubscriptionEffectiveLimitArgs = { + label: Scalars['String']; +}; + + +export type BillingSubscriptionHasCapabilityArgs = { + label: Scalars['String']; +}; + export type BillingSubscriptionAddon = { __typename?: 'BillingSubscriptionAddon'; id: Scalars['ID']; @@ -2209,6 +2473,41 @@ export type BillingSubscriptionAddon = { quantity: Scalars['Int']; }; +export type BillingSubscriptionMutation = { + __typename?: 'BillingSubscriptionMutation'; + /** Remove the specified capability override for this subscription */ + clearCapability?: Maybe; + /** Remove the specified limit override for this subscription */ + clearLimit?: Maybe; + /** Sets the capability override on this subscription to the provided value */ + setCapability?: Maybe; + /** Sets the limit override on this subscription to the provided value */ + setLimit?: Maybe; + uuid: Scalars['ID']; +}; + + +export type BillingSubscriptionMutationClearCapabilityArgs = { + label: Scalars['String']; +}; + + +export type BillingSubscriptionMutationClearLimitArgs = { + label: Scalars['String']; +}; + + +export type BillingSubscriptionMutationSetCapabilityArgs = { + label: Scalars['String']; + value: Scalars['Boolean']; +}; + + +export type BillingSubscriptionMutationSetLimitArgs = { + label: Scalars['String']; + value: Scalars['Long']; +}; + export type BillingTier = { __typename?: 'BillingTier'; searchAccounts: Array; @@ -2326,18 +2625,11 @@ export type Build = { result?: Maybe; }; -export type BuildCheckError = { - /** The step at which the build failed. */ - failedStep?: Maybe; - /** A human-readable message describing the error. */ - message: Scalars['String']; -}; - export type BuildCheckFailed = { buildInputs: BuildInputs; buildPipelineTrack: BuildPipelineTrack; /** A list of errors generated by this build. */ - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: BuildCheckTask; @@ -2435,7 +2727,8 @@ export enum BuildPipelineTrack { Fed_2_1 = 'FED_2_1', Fed_2_3 = 'FED_2_3', Fed_2_4 = 'FED_2_4', - Fed_2_5 = 'FED_2_5' + Fed_2_5 = 'FED_2_5', + Fed_2_6 = 'FED_2_6' } export enum BuildPipelineTrackBadge { @@ -2639,15 +2932,17 @@ export type ChangeOnOperation = { export type ChangeProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; @@ -2735,6 +3030,8 @@ export type CheckConfiguration = { * total request volume) */ operationCountThresholdPercentage: Scalars['Float']; + /** How submitted build input diffs are handled when they match (or don't) a Proposal */ + proposalChangeMismatchSeverity: ProposalChangeMismatchSeverity; /** * Only check operations from the last seconds. * The default is 7 days (604,800 seconds). @@ -2748,8 +3045,13 @@ export type CheckConfiguration = { /** Filter options available when listing checks. */ export type CheckFilterInput = { + /** A list of git commiters. For cli triggered checks, this is the author. */ authors?: InputMaybe>; branches?: InputMaybe>; + /** A list of actors triggering this check. For non cli triggered checks, this is the Studio User / author. */ + createdBy?: InputMaybe>; + ids?: InputMaybe>; + includeProposalChecks?: InputMaybe; status?: InputMaybe; subgraphs?: InputMaybe>; variants?: InputMaybe>; @@ -2779,7 +3081,7 @@ export type CheckPartialSchemaResult = { }; /** The possible results of a request to initiate schema checks (either a success object or one of multiple `Error` objects). */ -export type CheckRequestResult = CheckRequestSuccess | InvalidInputError | PermissionError | PlanError; +export type CheckRequestResult = CheckRequestSuccess | InvalidInputError | PermissionError | PlanError | RateLimitExceededError; /** Represents a successfully initiated execution of schema checks. This does not indicate the _result_ of the checks, only that they were initiated. */ export type CheckRequestSuccess = { @@ -2836,7 +3138,7 @@ export type CheckStepInput = { workflowID: Scalars['ID']; }; -export type CheckStepResult = CheckStepCompleted | CheckStepFailed; +export type CheckStepResult = CheckStepCompleted | CheckStepFailed | ValidationError; export enum CheckStepStatus { Failure = 'FAILURE', @@ -2845,7 +3147,7 @@ export enum CheckStepStatus { export type CheckWorkflow = { __typename?: 'CheckWorkflow'; - /** The schema provided as the base to check against. */ + /** The supergraph schema provided as the base to check against. */ baseSchemaHash?: Maybe; /** The base subgraphs provided as the base to check against. */ baseSubgraphs?: Maybe>; @@ -2876,7 +3178,7 @@ export type CheckWorkflow = { isSandboxCheck: Scalars['Boolean']; /** The operations task associated with this workflow, or null if no such task was scheduled. */ operationsTask?: Maybe; - /** The proposed schema being checked by this check workflow. */ + /** The proposed supergraph schema being checked by this check workflow. */ proposedSchemaHash?: Maybe; /** The proposed subgraphs for this check workflow. */ proposedSubgraphs?: Maybe>; @@ -2888,6 +3190,8 @@ export type CheckWorkflow = { startedAt?: Maybe; /** Overall status of the workflow, based on the underlying task statuses. */ status: CheckWorkflowStatus; + /** The names of the subgraphs with changes that triggered the validation. */ + subgraphNames: Array; /** The set of check tasks associated with this workflow, e.g. composition, operations, etc. */ tasks: Array; /** Identity of the user who ran this check */ @@ -2983,11 +3287,17 @@ export type ClientInfoFilterOutput = { /** Cloud queries */ export type Cloud = { __typename?: 'Cloud'; + /** Return a given RouterConfigVersion */ + configVersion?: Maybe; + /** Return all RouterConfigVersions */ + configVersions: Array; order?: Maybe; /** The regions where a cloud router can be deployed */ regions: Array; - /** Return the Cloud Router associated with the provided id */ + /** Return the Cloud Router associated with the provided graphRef */ router?: Maybe; + /** Retrieve a Cloud Router by its internal ID */ + routerByInternalId?: Maybe; /** Retrieve all routers */ routers: Array; /** Return the Shard associated with the provided id */ @@ -3001,6 +3311,19 @@ export type Cloud = { }; +/** Cloud queries */ +export type CloudConfigVersionArgs = { + name: Scalars['String']; +}; + + +/** Cloud queries */ +export type CloudConfigVersionsArgs = { + first?: InputMaybe; + offset?: InputMaybe; +}; + + /** Cloud queries */ export type CloudOrderArgs = { orderId: Scalars['String']; @@ -3019,6 +3342,12 @@ export type CloudRouterArgs = { }; +/** Cloud queries */ +export type CloudRouterByInternalIdArgs = { + internalId: Scalars['ID']; +}; + + /** Cloud queries */ export type CloudRoutersArgs = { first?: InputMaybe; @@ -3037,6 +3366,7 @@ export type CloudShardArgs = { export type CloudShardsArgs = { first?: InputMaybe; offset?: InputMaybe; + provider?: InputMaybe; }; @@ -3065,6 +3395,8 @@ export type CloudInvalidInputError = { /** Cloud mutations */ export type CloudMutation = { __typename?: 'CloudMutation'; + /** Create a new RouterConfigVersion */ + createConfigVersion: RouterVersionConfigResult; /** Create a new Cloud Router */ createRouter: CreateRouterResult; /** Create a new Shard */ @@ -3076,6 +3408,8 @@ export type CloudMutation = { order?: Maybe; /** Fetch a Cloud Router for mutations */ router?: Maybe; + /** Update a RouterConfigVersion */ + updateConfigVersion: RouterVersionConfigResult; /** Update an existing Cloud Router */ updateRouter: UpdateRouterResult; /** Update an existing Shard */ @@ -3085,6 +3419,12 @@ export type CloudMutation = { }; +/** Cloud mutations */ +export type CloudMutationCreateConfigVersionArgs = { + input: RouterConfigVersionInput; +}; + + /** Cloud mutations */ export type CloudMutationCreateRouterArgs = { id: Scalars['ID']; @@ -3122,6 +3462,12 @@ export type CloudMutationRouterArgs = { }; +/** Cloud mutations */ +export type CloudMutationUpdateConfigVersionArgs = { + input: RouterConfigVersionInput; +}; + + /** Cloud mutations */ export type CloudMutationUpdateRouterArgs = { id: Scalars['ID']; @@ -3167,14 +3513,19 @@ export type CloudOnboardingInput = { /** List of supported cloud providers */ export enum CloudProvider { + /** Amazon Web Services */ Aws = 'AWS', + /** Fly.io */ Fly = 'FLY' } /** Cloud Router tiers */ export enum CloudTier { + /** Dedicated tier */ Dedicated = 'DEDICATED', + /** Enterprise Cloud tier */ Enterprise = 'ENTERPRISE', + /** Serverless tier */ Serverless = 'SERVERLESS' } @@ -3325,6 +3676,8 @@ export type CompositionAndUpsertResult = { errors: Array>; /** ID that points to the results of composition. */ graphCompositionID: Scalars['String']; + /** The Launch result part of this subgraph publish. */ + launch?: Maybe; /** Human-readable text describing the launch result of the subgraph publish. */ launchCliCopy?: Maybe; /** The URL of the Studio page for this update's associated launch, if available. */ @@ -3348,7 +3701,7 @@ export type CompositionBuildCheckFailed = BuildCheckFailed & BuildCheckResult & buildInputs: CompositionBuildInputs; buildPipelineTrack: BuildPipelineTrack; compositionPackageVersion?: Maybe; - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: CompositionCheckTask; @@ -3375,20 +3728,6 @@ export type CompositionBuildCheckResult = { workflowTask: CompositionCheckTask; }; -export type CompositionBuildError = BuildCheckError & { - __typename?: 'CompositionBuildError'; - /** - * A machine-readable error code. See https://www.apollographql.com/docs/federation/errors/ for a - * list of existing composition error codes. - */ - code?: Maybe; - /** The step at which composition failed. */ - failedStep?: Maybe; - /** Source locations related to the error. */ - locations?: Maybe>; - message: Scalars['String']; -}; - export type CompositionBuildInput = { __typename?: 'CompositionBuildInput'; subgraphs: Array; @@ -3469,7 +3808,7 @@ export type CompositionPublishResult = CompositionResult & { graphCompositionID: Scalars['ID']; graphID: Scalars['ID']; /** Null if CompositionPublishResult was not on a Proposal Variant */ - proposalSummary?: Maybe; + proposalRevision?: Maybe; /** * Cloud router configuration associated with this build event. * It will be non-null for any cloud-router variant, and null for any not cloudy variant/graph @@ -3534,8 +3873,13 @@ export type CompositionValidationResult = CompositionResult & { errors: Array; /** The unique ID for this instance of composition. */ graphCompositionID: Scalars['ID']; - /** The implementing service that was responsible for triggering the validation */ + /** + * The implementing service that was responsible for triggering the validation + * @deprecated The proposed subgraph is now exposed under proposedSubgraphs, a list. If a single subgraph check was run the list will be one subgraph long. + */ proposedImplementingService: FederatedImplementingServicePartialSchema; + /** DO NOT USE, NOT YET IMPLEMENTED. The subgraphs with changes that were responsible for triggering the validation */ + proposedSubgraphs: Array; /** * Cloud router configuration associated with this build event. * It will be non-null for any cloud-router variant, and null for any not cloudy variant/graph @@ -3739,6 +4083,7 @@ export type CreateShardInput = { gcuCapacity?: InputMaybe; gcuUsage?: InputMaybe; provider: CloudProvider; + reason?: InputMaybe; routerCapacity?: InputMaybe; routerUsage?: InputMaybe; shardId: Scalars['String']; @@ -3927,6 +4272,21 @@ export type DownstreamCheckTask = CheckWorkflowTask & { workflow: CheckWorkflow; }; +export enum DownstreamLaunchInitiation { + /** + * Initiate the creation of downstream launches associated with this subgraph publication asynchronously. + * The resulting API response may not provide specific details about triggered downstream launches. + */ + Async = 'ASYNC', + /** + * Initiate the creation of downstream Launches associated with this subgraph publication synchronously. + * Use this option to ensure that any downstream launches will be started before the publish mutation returns. + * Note that this does not require launches to complete, but it does ensure that the downstream launch IDs are + * available to be queried from a `CompositionAndUpsertResult`. + */ + Sync = 'SYNC' +} + export type DraftInvoice = { __typename?: 'DraftInvoice'; billingPeriodEndsAt: Scalars['Timestamp']; @@ -4077,6 +4437,7 @@ export type EdgeServerInfosRecord = { export type EditCommentInput = { id: Scalars['String']; message: Scalars['String']; + usersToNotify?: InputMaybe>; }; export type EditCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | PermissionError | ReplyChangeProposalComment | ReplyGeneralProposalComment | ValidationError; @@ -4410,27 +4771,47 @@ export type FieldInsightsListFilterInput = { export type FieldInsightsListItem = { __typename?: 'FieldInsightsListItem'; - description?: Maybe; - errorCount: Scalars['Long']; - errorCountPerMin: Scalars['Long']; - errorPercentage: Scalars['Float']; - estimatedExecutionCount: Scalars['Long']; - executionCount: Scalars['Long']; + /** The count of errors seen for this field. This can be null depending on the sort order. */ + errorCount?: Maybe; + /** The count of errors seen for this field per minute. This can be null depending on the sort order. */ + errorCountPerMin?: Maybe; + /** The percentage of errors vs successful resolutions for this field. This can be null depending on the sort order. */ + errorPercentage?: Maybe; + /** The estimated number of field executions for this field, based on the field execution sample rate. This can be null depending on the sort order. */ + estimatedExecutionCount?: Maybe; + /** The number of field executions recorded for this field. This can be null depending on the sort order. */ + executionCount?: Maybe; fieldName: Scalars['String']; isDeprecated: Scalars['Boolean']; isUnused: Scalars['Boolean']; + /** The p50 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p50LatencyMs?: Maybe; + /** The p90 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p90LatencyMs?: Maybe; + /** The p95 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p95LatencyMs?: Maybe; + /** The p99 of the latency of the resolution of this field. This can be null depending on the filter and sort order. */ + p99LatencyMs?: Maybe; parentType: Scalars['String']; - referencingOperationCount: Scalars['Long']; - referencingOperationCountPerMin: Scalars['Float']; - totalLatencyHistogram: DurationHistogram; + /** The count of operations that reference the field. This can be null depending on the sort order. */ + referencingOperationCount?: Maybe; + /** The count of operations that reference the field per minute. This can be null depending on the sort order. */ + referencingOperationCountPerMin?: Maybe; }; export enum FieldInsightsListOrderByColumn { + ErrorCount = 'ERROR_COUNT', + ErrorCountPerMin = 'ERROR_COUNT_PER_MIN', + ErrorPercentage = 'ERROR_PERCENTAGE', EstimatedExecutionCount = 'ESTIMATED_EXECUTION_COUNT', ExecutionCount = 'EXECUTION_COUNT', ParentTypeAndFieldName = 'PARENT_TYPE_AND_FIELD_NAME', ReferencingOperationCount = 'REFERENCING_OPERATION_COUNT', - ReferencingOperationCountPerMin = 'REFERENCING_OPERATION_COUNT_PER_MIN' + ReferencingOperationCountPerMin = 'REFERENCING_OPERATION_COUNT_PER_MIN', + ServiceTimeP50 = 'SERVICE_TIME_P50', + ServiceTimeP90 = 'SERVICE_TIME_P90', + ServiceTimeP95 = 'SERVICE_TIME_P95', + ServiceTimeP99 = 'SERVICE_TIME_P99' } export type FieldInsightsListOrderByInput = { @@ -4438,6 +4819,15 @@ export type FieldInsightsListOrderByInput = { direction: Ordering; }; +/** Information about pagination in a connection. */ +export type FieldInsightsListPageInfo = { + __typename?: 'FieldInsightsListPageInfo'; + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe; + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe; +}; + /** Columns of FieldLatencies. */ export enum FieldLatenciesColumn { FieldHistogram = 'FIELD_HISTOGRAM', @@ -4627,7 +5017,7 @@ export type FilterBuildCheckFailed = BuildCheckFailed & BuildCheckResult & Filte __typename?: 'FilterBuildCheckFailed'; buildInputs: FilterBuildInputs; buildPipelineTrack: BuildPipelineTrack; - errors: Array; + errors: Array; id: Scalars['ID']; passed: Scalars['Boolean']; workflowTask: FilterCheckTask; @@ -4651,16 +5041,6 @@ export type FilterBuildCheckResult = { workflowTask: FilterCheckTask; }; -export type FilterBuildError = BuildCheckError & { - __typename?: 'FilterBuildError'; - /** - * The step at which filtering failed. See https://www.apollographql.com/docs/studio/contracts/#contract-errors - * for a list of existing steps. - */ - failedStep?: Maybe; - message: Scalars['String']; -}; - /** Inputs provided to the build for a contract variant, which filters types and fields from a source variant's schema. */ export type FilterBuildInput = { __typename?: 'FilterBuildInput'; @@ -5118,6 +5498,17 @@ export type FlyRouterMutation = { forceRollingUpdate: FlyForceRollingUpdateResult; }; +/** Fly-specific information for a Shard */ +export type FlyShard = { + __typename?: 'FlyShard'; + /** DNS endpoint for the orchestrator */ + endpoint: Scalars['String']; + /** Endpoints of the Etcd cluster */ + etcdEndpoints: Array; + /** Fly organization ID */ + organizationId: Scalars['String']; +}; + export type GqlBillingPlanFromGrpc = { __typename?: 'GQLBillingPlanFromGrpc'; dbPlan?: Maybe; @@ -5127,12 +5518,12 @@ export type GqlBillingPlanFromGrpc = { export type GeneralProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; @@ -5299,6 +5690,8 @@ export type GraphVariant = { derivedVariants?: Maybe>; /** A list of the entities across all subgraphs, exposed to consumers & up. This value is null for non-federated variants. */ entities?: Maybe; + /** The last instant that field execution information (resolver execution via field-level instrumentation) was reported for this variant */ + fieldExecutionsLastReportedAt?: Maybe; /** * Returns details about a field in the schema. Unless an error occurs, we will currently always return a non-null * response here, with the timestamps set to null if there is no usage of the field or if field doesn't exist in the @@ -5306,8 +5699,10 @@ export type GraphVariant = { * backwards-compatible way to make null mean that the field doesn't exist in the schema at all. */ fieldInsights?: Maybe; - /** Returns a paginated list of field insights list items */ + /** Returns a paginated list of field insights list items, including all fields from the active schema for this variant. */ fieldInsightsList: GraphVariantFieldInsightsListItemConnection; + /** The last instant that field usage information (usage of fields via referencing operations) was reported for this variant */ + fieldUsageLastReportedAt?: Maybe; /** The graph that this variant belongs to. */ graph: Service; /** Graph ID of the variant. Prefer using graph { id } when feasible. */ @@ -5347,19 +5742,21 @@ export type GraphVariant = { latestLaunch?: Maybe; /** The details of the variant's most recent publication. */ latestPublication?: Maybe; + /** Retrieve a launch for this variant by ID. */ launch?: Maybe; /** A list of launches ordered by date, asc or desc depending on orderBy. The maximum limit is 100. */ launchHistory?: Maybe>; /** Count of total launch history */ launchHistoryLength?: Maybe; links?: Maybe>; - lintResultById?: Maybe; /** The variant's name (e.g., `staging`). */ name: Scalars['String']; /** A list of the saved [operation collections](https://www.apollographql.com/docs/studio/explorer/operation-collections/) associated with this variant. */ operationCollections: Array; /** A list of the saved [operation collections](https://www.apollographql.com/docs/studio/explorer/operation-collections/) associated with this variant, paged. */ operationCollectionsConnection?: Maybe; + /** Returns a paginated list of operation insights list items. */ + operationInsightsList: GraphVariantOperationInsightsListItemConnection; /** The merged/computed/effective check configuration for the operations check task. */ operationsCheckConfiguration?: Maybe; /** Which permissions the current user has for interacting with this variant */ @@ -5368,6 +5765,8 @@ export type GraphVariant = { persistedQueryList?: Maybe; /** Generate a federated operation plan for a given operation */ plan?: Maybe; + /** Explorer setting for postflight script to run before the actual GraphQL operations is run. */ + postflightScript?: Maybe; /** Explorer setting for preflight script to run before the actual GraphQL operations is run. */ preflightScript?: Maybe; proposal?: Maybe; @@ -5455,17 +5854,24 @@ export type GraphVariantLaunchHistoryArgs = { /** A graph variant */ -export type GraphVariantLintResultByIdArgs = { - taskId: Scalars['ID']; +export type GraphVariantOperationCollectionsConnectionArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; }; /** A graph variant */ -export type GraphVariantOperationCollectionsConnectionArgs = { +export type GraphVariantOperationInsightsListArgs = { after?: InputMaybe; before?: InputMaybe; + filter?: InputMaybe; first?: InputMaybe; + from: Scalars['Timestamp']; last?: InputMaybe; + orderBy?: InputMaybe; + to: Scalars['Timestamp']; }; @@ -5514,7 +5920,7 @@ export type GraphVariantFieldInsightsListItemConnection = { /** A list of field insights list items that belong to a graph variant. */ nodes?: Maybe>; /** Information to aid in pagination. */ - pageInfo: PageInfo; + pageInfo: FieldInsightsListPageInfo; /** The total number of field insights list items connected to the graph variant */ totalCount: Scalars['Int']; }; @@ -5561,6 +5967,8 @@ export type GraphVariantMutation = { /** Gets the router attached to a graph variant */ router?: Maybe; runLintCheck: CheckStepResult; + /** Mutation called by CheckCoordinator to find associated proposals to the schema diffs in a check workflow */ + runProposalsCheck: CheckStepResult; service: Service; setIsFavoriteOfCurrentUser: GraphVariant; /** @@ -5573,11 +5981,22 @@ export type GraphVariantMutation = { submitCheckSchemaAsync: CheckRequestResult; /** Submit a request for a Filter Schema Check and receive a result with a workflow ID that can be used to check status, or an error message that explains what went wrong. */ submitFilterCheckAsync: CheckRequestResult; + /** + * _Asynchronously_ kicks off composition and operation checks for all proposed subgraphs schema changes against its associated supergraph. + * + * Returns a `CheckRequestSuccess` object with a workflow ID that you can use + * to check status, or an error object if the checks workflow failed to start. + * + * Rate limited to 5k per min. + */ + submitMultiSubgraphCheckAsync: CheckRequestResult; /** * _Asynchronously_ kicks off composition and operation checks for a proposed subgraph schema change against its associated supergraph. * * Returns a `CheckRequestSuccess` object with a workflow ID that you can use * to check status, or an error object if the checks workflow failed to start. + * + * Rate limited to 5k per min. */ submitSubgraphCheckAsync: CheckRequestResult; unlinkPersistedQueryList: UnlinkPersistedQueryListResultOrError; @@ -5588,6 +6007,7 @@ export type GraphVariantMutation = { updateCheckConfigurationIncludedVariants: VariantCheckConfiguration; updateCheckConfigurationTimeRange: VariantCheckConfiguration; updateIsProtected?: Maybe; + updatePostflightScript?: Maybe; updatePreflightScript?: Maybe; updateRouter: UpdateRouterResult; updateSendCookies?: Maybe; @@ -5642,6 +6062,12 @@ export type GraphVariantMutationRunLintCheckArgs = { }; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationRunProposalsCheckArgs = { + input: RunProposalsCheckInput; +}; + + /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationSetIsFavoriteOfCurrentUserArgs = { favorite: Scalars['Boolean']; @@ -5660,6 +6086,12 @@ export type GraphVariantMutationSubmitFilterCheckAsyncArgs = { }; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationSubmitMultiSubgraphCheckAsyncArgs = { + input: MultiSubgraphCheckAsyncInput; +}; + + /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationSubmitSubgraphCheckAsyncArgs = { input: SubgraphCheckAsyncInput; @@ -5715,6 +6147,12 @@ export type GraphVariantMutationUpdateIsProtectedArgs = { }; +/** Modifies a variant of a graph, also called a schema tag in parts of our product. */ +export type GraphVariantMutationUpdatePostflightScriptArgs = { + postflightScript?: InputMaybe; +}; + + /** Modifies a variant of a graph, also called a schema tag in parts of our product. */ export type GraphVariantMutationUpdatePreflightScriptArgs = { preflightScript?: InputMaybe; @@ -5800,6 +6238,26 @@ export type GraphVariantOperationCollectionEdge = { node?: Maybe; }; +export type GraphVariantOperationInsightsListItemConnection = { + __typename?: 'GraphVariantOperationInsightsListItemConnection'; + /** A list of edges from the graph variant to its operation insights list items. */ + edges?: Maybe>; + /** A list of operation insights list items that belong to a graph variant. */ + nodes?: Maybe>; + /** Information to aid in pagination. */ + pageInfo: OperationInsightsListPageInfo; + /** The total number of operation insights list items connected to the graph variant. */ + totalCount: Scalars['Int']; +}; + +export type GraphVariantOperationInsightsListItemEdge = { + __typename?: 'GraphVariantOperationInsightsListItemEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']; + /** A operation insights list items attached to the graph variant. */ + node?: Maybe; +}; + /** Individual permissions for the current user when interacting with a particular Studio graph variant. */ export type GraphVariantPermissions = { __typename?: 'GraphVariantPermissions'; @@ -5831,12 +6289,94 @@ export type GraphVariantPermissions = { variantId: Scalars['ID']; }; -export enum HttpMethod { - Connect = 'CONNECT', - Delete = 'DELETE', - Get = 'GET', - Head = 'HEAD', - Options = 'OPTIONS', +/** Columns of GraphosCloudMetrics. */ +export enum GraphosCloudMetricsColumn { + AccountId = 'ACCOUNT_ID', + AgentVersion = 'AGENT_VERSION', + ResponseSize = 'RESPONSE_SIZE', + ResponseSizeThrottled = 'RESPONSE_SIZE_THROTTLED', + RouterId = 'ROUTER_ID', + RouterOperations = 'ROUTER_OPERATIONS', + RouterOperationsThrottled = 'ROUTER_OPERATIONS_THROTTLED', + SchemaTag = 'SCHEMA_TAG', + ServiceId = 'SERVICE_ID', + SubgraphFetches = 'SUBGRAPH_FETCHES', + SubgraphFetchesThrottled = 'SUBGRAPH_FETCHES_THROTTLED', + Timestamp = 'TIMESTAMP' +} + +export type GraphosCloudMetricsDimensions = { + __typename?: 'GraphosCloudMetricsDimensions'; + accountId?: Maybe; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; + serviceId?: Maybe; +}; + +/** Filter for data in GraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type GraphosCloudMetricsFilter = { + /** Selects rows whose accountId dimension equals the given value if not null. To query for the null value, use {in: {accountId: [null]}} instead. */ + accountId?: InputMaybe; + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; + /** Selects rows whose serviceId dimension equals the given value if not null. To query for the null value, use {in: {serviceId: [null]}} instead. */ + serviceId?: InputMaybe; +}; + +/** Filter for data in GraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type GraphosCloudMetricsFilterIn = { + /** Selects rows whose accountId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + accountId?: InputMaybe>>; + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; + /** Selects rows whose serviceId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + serviceId?: InputMaybe>>; +}; + +export type GraphosCloudMetricsMetrics = { + __typename?: 'GraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; + +export type GraphosCloudMetricsOrderBySpec = { + column: GraphosCloudMetricsColumn; + direction: Ordering; +}; + +export type GraphosCloudMetricsRecord = { + __typename?: 'GraphosCloudMetricsRecord'; + /** Dimensions of GraphosCloudMetrics that can be grouped by. */ + groupBy: GraphosCloudMetricsDimensions; + /** Metrics of GraphosCloudMetrics that can be aggregated over. */ + metrics: GraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; + +export enum HttpMethod { + Connect = 'CONNECT', + Delete = 'DELETE', + Get = 'GET', + Head = 'HEAD', + Options = 'OPTIONS', Patch = 'PATCH', Post = 'POST', Put = 'PUT', @@ -6277,17 +6817,18 @@ export type Launch = { graphVariant: Scalars['String']; /** The unique identifier for this launch. */ id: Scalars['ID']; - isAvailable?: Maybe; /** Whether the launch completed. */ isCompleted?: Maybe; /** Whether the result of the launch has been published to the associated graph and variant. This is always false for a failed launch. */ isPublished?: Maybe; - isTarget?: Maybe; /** The most recent launch sequence step that has started but not necessarily completed. */ latestSequenceStep?: Maybe; /** Cloud Router order for this launch ID */ order: OrderOrError; - proposalSummary?: Maybe; + orders: Array; + /** The launch right before this one. Null if this is the first on this variant. */ + previousLaunch?: Maybe; + proposalRevision?: Maybe; /** A specific publication of a graph variant pertaining to this launch. */ publication?: Maybe; /** A list of results from the completed launch. The items included in this list vary depending on whether the launch succeeded, failed, or was superseded. */ @@ -6397,8 +6938,6 @@ export type LintCheckTask = CheckWorkflowTask & { graphID: Scalars['ID']; id: Scalars['ID']; result?: Maybe; - /** @deprecated Use LintCheckTask.result instead. */ - results?: Maybe; status: CheckWorkflowTaskStatus; targetURL?: Maybe; workflow: CheckWorkflow; @@ -6407,6 +6946,8 @@ export type LintCheckTask = CheckWorkflowTask & { /** A single rule violation. */ export type LintDiagnostic = { __typename?: 'LintDiagnostic'; + /** The category used for grouping similar rules. */ + category: LinterRuleCategory; /** The schema coordinate of this diagnostic. */ coordinate: Scalars['String']; /** The graph's configured level for the rule. */ @@ -6436,8 +6977,11 @@ export type LintResult = { }; export enum LintRule { + AllElementsRequireDescription = 'ALL_ELEMENTS_REQUIRE_DESCRIPTION', ContactDirectiveMissing = 'CONTACT_DIRECTIVE_MISSING', + DefinedTypesAreUnused = 'DEFINED_TYPES_ARE_UNUSED', DeprecatedDirectiveMissingReason = 'DEPRECATED_DIRECTIVE_MISSING_REASON', + DirectiveComposition = 'DIRECTIVE_COMPOSITION', DirectiveNamesShouldBeCamelCase = 'DIRECTIVE_NAMES_SHOULD_BE_CAMEL_CASE', DoesNotParse = 'DOES_NOT_PARSE', EnumPrefix = 'ENUM_PREFIX', @@ -6446,18 +6990,43 @@ export enum LintRule { EnumUsedAsOutputDespiteSuffix = 'ENUM_USED_AS_OUTPUT_DESPITE_SUFFIX', EnumValuesShouldBeScreamingSnakeCase = 'ENUM_VALUES_SHOULD_BE_SCREAMING_SNAKE_CASE', FieldNamesShouldBeCamelCase = 'FIELD_NAMES_SHOULD_BE_CAMEL_CASE', + FromSubgraphDoesNotExist = 'FROM_SUBGRAPH_DOES_NOT_EXIST', + InconsistentArgumentPresence = 'INCONSISTENT_ARGUMENT_PRESENCE', + InconsistentButCompatibleArgumentType = 'INCONSISTENT_BUT_COMPATIBLE_ARGUMENT_TYPE', + InconsistentButCompatibleFieldType = 'INCONSISTENT_BUT_COMPATIBLE_FIELD_TYPE', + InconsistentDefaultValuePresence = 'INCONSISTENT_DEFAULT_VALUE_PRESENCE', + InconsistentDescription = 'INCONSISTENT_DESCRIPTION', + InconsistentEntity = 'INCONSISTENT_ENTITY', + InconsistentEnumValueForInputEnum = 'INCONSISTENT_ENUM_VALUE_FOR_INPUT_ENUM', + InconsistentEnumValueForOutputEnum = 'INCONSISTENT_ENUM_VALUE_FOR_OUTPUT_ENUM', + InconsistentExecutableDirectiveLocations = 'INCONSISTENT_EXECUTABLE_DIRECTIVE_LOCATIONS', + InconsistentExecutableDirectivePresence = 'INCONSISTENT_EXECUTABLE_DIRECTIVE_PRESENCE', + InconsistentExecutableDirectiveRepeatable = 'INCONSISTENT_EXECUTABLE_DIRECTIVE_REPEATABLE', + InconsistentInputObjectField = 'INCONSISTENT_INPUT_OBJECT_FIELD', + InconsistentInterfaceValueTypeField = 'INCONSISTENT_INTERFACE_VALUE_TYPE_FIELD', + InconsistentNonRepeatableDirectiveArguments = 'INCONSISTENT_NON_REPEATABLE_DIRECTIVE_ARGUMENTS', + InconsistentObjectValueTypeField = 'INCONSISTENT_OBJECT_VALUE_TYPE_FIELD', + InconsistentRuntimeTypesForShareableReturn = 'INCONSISTENT_RUNTIME_TYPES_FOR_SHAREABLE_RETURN', + InconsistentTypeSystemDirectiveLocations = 'INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_LOCATIONS', + InconsistentTypeSystemDirectiveRepeatable = 'INCONSISTENT_TYPE_SYSTEM_DIRECTIVE_REPEATABLE', + InconsistentUnionMember = 'INCONSISTENT_UNION_MEMBER', InputArgumentNamesShouldBeCamelCase = 'INPUT_ARGUMENT_NAMES_SHOULD_BE_CAMEL_CASE', InputTypeSuffix = 'INPUT_TYPE_SUFFIX', InterfacePrefix = 'INTERFACE_PREFIX', InterfaceSuffix = 'INTERFACE_SUFFIX', + MergedNonRepeatableDirectiveArguments = 'MERGED_NON_REPEATABLE_DIRECTIVE_ARGUMENTS', + NoExecutableDirectiveIntersection = 'NO_EXECUTABLE_DIRECTIVE_INTERSECTION', ObjectPrefix = 'OBJECT_PREFIX', ObjectSuffix = 'OBJECT_SUFFIX', + OverriddenFieldCanBeRemoved = 'OVERRIDDEN_FIELD_CAN_BE_REMOVED', + OverrideDirectiveCanBeRemoved = 'OVERRIDE_DIRECTIVE_CAN_BE_REMOVED', QueryDocumentDeclaration = 'QUERY_DOCUMENT_DECLARATION', RestyFieldNames = 'RESTY_FIELD_NAMES', TagDirectiveUsesUnknownName = 'TAG_DIRECTIVE_USES_UNKNOWN_NAME', TypeNamesShouldBePascalCase = 'TYPE_NAMES_SHOULD_BE_PASCAL_CASE', TypePrefix = 'TYPE_PREFIX', - TypeSuffix = 'TYPE_SUFFIX' + TypeSuffix = 'TYPE_SUFFIX', + UnusedEnumType = 'UNUSED_ENUM_TYPE' } /** Stats generated from linting a schema against the graph's linter configuration. */ @@ -6478,10 +7047,22 @@ export type LinterIgnoredRuleChangesInput = { ruleViolationsToIgnore: Array; }; +/** The category used for grouping similar rules. */ +export enum LinterRuleCategory { + /** These rules are generated during composition. */ + Composition = 'COMPOSITION', + /** These rules enforce naming conventions. */ + Naming = 'NAMING', + /** These rules define conventions for the entire schema and directive usage outside of composition. */ + Other = 'OTHER' +} + export type LinterRuleLevelConfiguration = { __typename?: 'LinterRuleLevelConfiguration'; /** Illustrative code showcasing the potential violation of this rule. */ badExampleCode?: Maybe; + /** The category used for grouping similar rules. */ + category: LinterRuleCategory; /** A human readable description of the rule. */ description: Scalars['String']; /** Illustrative code showcasing the fix for the potential violation of this rule. */ @@ -6512,9 +7093,13 @@ export type Location = { /** Level of the log entry */ export enum LogLevel { + /** Debug log entry */ Debug = 'DEBUG', + /** Error log entry */ Error = 'ERROR', + /** Informational log entry */ Info = 'INFO', + /** Warning log entry */ Warn = 'WARN' } @@ -6605,6 +7190,28 @@ export type MoveOperationCollectionEntrySuccess = { targetCollection: OperationCollection; }; +/** Input type to provide when running schema checks against multiple subgraph changes asynchronously for a federated supergraph. */ +export type MultiSubgraphCheckAsyncInput = { + /** Configuration options for the check execution. */ + config: HistoricQueryParametersInput; + /** The GitHub context to associate with the check. */ + gitContext: GitContextInput; + /** The graph ref of the Studio graph and variant to run checks against (such as `my-graph@current`). */ + graphRef?: InputMaybe; + /** The URL of the GraphQL endpoint that Apollo Sandbox introspected to obtain the proposed schema. Required if `isSandbox` is `true`. */ + introspectionEndpoint?: InputMaybe; + /** If `true`, the check was initiated automatically by a Proposal update. */ + isProposal?: InputMaybe; + /** If `true`, the check was initiated by Apollo Sandbox. */ + isSandbox: Scalars['Boolean']; + /** The source variant that this check should use the operations check configuration from */ + sourceVariant?: InputMaybe; + /** The changed subgraph schemas to check. */ + subgraphsToCheck: Array>; + /** The user that triggered this check. If null, defaults to authContext to determine user. */ + triggeredBy?: InputMaybe; +}; + /** GraphQL mutations */ export type Mutation = { __typename?: 'Mutation'; @@ -6628,10 +7235,15 @@ export type Mutation = { joinAccount?: Maybe; me?: Maybe; newAccount?: Maybe; + /** Define a new billing plan */ + newBillingPlan?: Maybe; + /** Define a new boolean capability to be applied to billing plans and subscriptions */ newCapability?: Maybe; + /** Define a new numeric limit to be applied to billing plans and subscriptions */ newLimit?: Maybe; newService?: Maybe; operationCollection?: Maybe; + plan?: Maybe; proposal: ProposalMutationResult; proposalByVariantRef: ProposalMutationResult; publishSlackMessage: MessageMutationResult; @@ -6655,6 +7267,8 @@ export type Mutation = { submitPostDeletionFeedback?: Maybe; /** Mutation for basic engagement tracking in studio */ track?: Maybe; + /** Apollo Kotlin usage tracking. */ + trackApolloKotlinUsage?: Maybe; /** Router usage tracking. Reserved to https://router.apollo.dev/telemetry (https://github.com/apollographql/orbiter). */ trackRouterUsage?: Maybe; /** Rover session tracking. Reserved to https://rover.apollo.dev/telemetry (https://github.com/apollographql/orbiter). */ @@ -6737,6 +7351,12 @@ export type MutationNewAccountArgs = { }; +/** GraphQL mutations */ +export type MutationNewBillingPlanArgs = { + plan: BillingPlanInput; +}; + + /** GraphQL mutations */ export type MutationNewCapabilityArgs = { capability: BillingCapabilityInput; @@ -6767,6 +7387,12 @@ export type MutationOperationCollectionArgs = { }; +/** GraphQL mutations */ +export type MutationPlanArgs = { + id: Scalars['ID']; +}; + + /** GraphQL mutations */ export type MutationProposalArgs = { id: Scalars['ID']; @@ -6884,6 +7510,14 @@ export type MutationTrackArgs = { }; +/** GraphQL mutations */ +export type MutationTrackApolloKotlinUsageArgs = { + events: Array; + instanceId: Scalars['ID']; + properties: Array; +}; + + /** GraphQL mutations */ export type MutationTrackRouterUsageArgs = { ci?: InputMaybe; @@ -7010,6 +7644,11 @@ export type NotFoundError = Error & { message: Scalars['String']; }; +export enum NotificationStatus { + All = 'ALL', + None = 'NONE' +} + export type OdysseyAttempt = { __typename?: 'OdysseyAttempt'; completedAt?: Maybe; @@ -7323,7 +7962,9 @@ export type OperationCollectionEntryState = { createdBy?: Maybe; /** Headers for the entry's GraphQL operation. */ headers?: Maybe>; - /** The workflow automation script for this entry's GraphQL operation */ + /** The post operation workflow automation script for this entry's GraphQL operation */ + postflightOperationScript?: Maybe; + /** The pre operation workflow automation script for this entry's GraphQL operation */ script?: Maybe; /** Variables for the entry's GraphQL operation, as a JSON string. */ variables?: Maybe; @@ -7335,7 +7976,9 @@ export type OperationCollectionEntryStateInput = { body: Scalars['String']; /** The operation's headers. */ headers?: InputMaybe>; - /** The operation's workflow script */ + /** The operation's postflight workflow script */ + postflightOperationScript?: InputMaybe; + /** The operation's preflight workflow script */ script?: InputMaybe; /** The operation's variables. */ variables?: InputMaybe; @@ -7500,6 +8143,86 @@ export type OperationInfoFilterInput = { id: Scalars['String']; }; +export type OperationInsightsListFilterInInput = { + clientName?: InputMaybe>>; + clientVersion?: InputMaybe>>; +}; + +export type OperationInsightsListFilterInput = { + clientName?: InputMaybe; + clientVersion?: InputMaybe; + in?: InputMaybe; + isUnnamed?: InputMaybe; + isUnregistered?: InputMaybe; + operationTypes?: InputMaybe>; + or?: InputMaybe>; + search?: InputMaybe; +}; + +export type OperationInsightsListItem = { + __typename?: 'OperationInsightsListItem'; + cacheHitRate: Scalars['Float']; + /** The p50 of the latency across cached requests. This can be null depending on the filter and sort order. */ + cacheTtlP50Ms?: Maybe; + /** A substring of the query signature for unnamed operations, otherwise the operation name. */ + displayName: Scalars['String']; + errorCount: Scalars['Long']; + errorCountPerMin: Scalars['Float']; + errorPercentage: Scalars['Float']; + /** The unique id for this operation. */ + id: Scalars['ID']; + /** The operation name or null if the operation is unnamed. */ + name?: Maybe; + requestCount: Scalars['Long']; + requestCountPerMin: Scalars['Float']; + /** The p50 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP50Ms?: Maybe; + /** The p90 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP90Ms?: Maybe; + /** The p95 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP95Ms?: Maybe; + /** The p99 of the latency across all requests. This can be null depending on the filter and sort order. */ + serviceTimeP99Ms?: Maybe; + /** The query signature size as a number of UTF8 bytes. This can be null if the sort order is not SIGNATURE_BYTES. */ + signatureBytes?: Maybe; + /** The total duration across all requests. This can be null depending on the filter and sort order. */ + totalDurationMs?: Maybe; + type?: Maybe; +}; + +export enum OperationInsightsListOrderByColumn { + CacheHitRate = 'CACHE_HIT_RATE', + CacheTtlP50 = 'CACHE_TTL_P50', + ErrorCount = 'ERROR_COUNT', + ErrorCountPerMin = 'ERROR_COUNT_PER_MIN', + ErrorPercentage = 'ERROR_PERCENTAGE', + OperationName = 'OPERATION_NAME', + RequestCount = 'REQUEST_COUNT', + RequestCountPerMin = 'REQUEST_COUNT_PER_MIN', + ServiceTimeP50 = 'SERVICE_TIME_P50', + ServiceTimeP90 = 'SERVICE_TIME_P90', + ServiceTimeP95 = 'SERVICE_TIME_P95', + ServiceTimeP99 = 'SERVICE_TIME_P99', + SignatureBytes = 'SIGNATURE_BYTES', + TotalDurationMs = 'TOTAL_DURATION_MS' +} + +export type OperationInsightsListOrderByInput = { + /** The order column used for the operation results. Defaults to ordering by operation names. */ + column: OperationInsightsListOrderByColumn; + /** The direction used to order operation results. Defaults to ascending order. */ + direction: Ordering; +}; + +/** Information about pagination in a connection. */ +export type OperationInsightsListPageInfo = { + __typename?: 'OperationInsightsListPageInfo'; + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe; + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe; +}; + /** Operation name filter configuration for a graph. */ export type OperationNameFilter = { __typename?: 'OperationNameFilter'; @@ -7665,6 +8388,14 @@ export type OperationsCheckTask = CheckWorkflowTask & { /** Cloud Router order */ export type Order = { __typename?: 'Order'; + /** + * Completion percentage of the order (between 0 and 100) + * + * This will only return data for IN_PROGRESS, COMPLETED, or SUPERSEDED states + */ + completionPercentage?: Maybe; + /** When this Order was created */ + createdAt: Scalars['NaiveDateTime']; /** Order identifier */ id: Scalars['ID']; /** Introspect why call to `ready` failed */ @@ -7686,6 +8417,8 @@ export type Order = { shard: Shard; /** Order status */ status: OrderStatus; + /** Last time this Order was updated */ + updatedAt?: Maybe; }; /** The order does not exist */ @@ -7805,17 +8538,34 @@ export type OrderResult = InvalidInputErrors | Order | OrderError; /** Represents the different status for an order */ export enum OrderStatus { + /** Order was successfully completed */ Completed = 'COMPLETED', + /** Order was unsuccessful */ Errored = 'ERRORED', + /** New Order in progress */ Pending = 'PENDING', + /** + * Order is currently rolling back + * + * All resources created as part of this Order are being deleted + */ RollingBack = 'ROLLING_BACK', + /** + * Order has been superseded by another, more recent order + * + * This can happen if two update orders arrive in close succession and we already + * started to process the newer order first. + */ Superseded = 'SUPERSEDED' } /** Represents the different types of order */ export enum OrderType { + /** Create a new Cloud Router */ CreateRouter = 'CREATE_ROUTER', + /** Destroy an existing Cloud Router */ DestroyRouter = 'DESTROY_ROUTER', + /** Update an existing Cloud Router */ UpdateRouter = 'UPDATE_ROUTER' } @@ -7884,31 +8634,33 @@ export type PagerDutyChannelInput = { export type ParentChangeProposalComment = ChangeProposalComment & ProposalComment & { __typename?: 'ParentChangeProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; replies: Array; replyCount: Scalars['Int']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ParentGeneralProposalComment = GeneralProposalComment & ProposalComment & { __typename?: 'ParentGeneralProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; replies: Array; replyCount: Scalars['Int']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; @@ -8064,6 +8816,8 @@ export type PersistedQueryListOperationsArgs = { /** Information about a particular revision of the list, as produced by a particular publish. */ export type PersistedQueryListBuild = { __typename?: 'PersistedQueryListBuild'; + /** A unique ID for this build revision; primarily useful as a client cache ID. */ + id: Scalars['String']; /** The persisted query list that this build built. */ list: PersistedQueryList; /** The chunks that made up this build. We do not commit to keeping the full contents of older revisions indefinitely, so this may be null for suitably old revisions. */ @@ -8124,6 +8878,48 @@ export type PlanError = { message: Scalars['String']; }; +/** GraphQL representation of an AWS private subgraph */ +export type PrivateSubgraph = { + __typename?: 'PrivateSubgraph'; + /** The cloud provider where the subgraph is hosted */ + cloudProvider: CloudProvider; + /** The domain URL of the private subgraph */ + domainUrl?: Maybe; + /** The name of the subgraph, if set */ + name?: Maybe; + /** The private subgraph's region */ + region: RegionDescription; + /** The status of the resource share */ + status: PrivateSubgraphShareStatus; +}; + +export type PrivateSubgraphMutation = { + __typename?: 'PrivateSubgraphMutation'; + /** Synchronize private subgraphs to your Apollo account */ + sync: Array; +}; + + +export type PrivateSubgraphMutationSyncArgs = { + input: SyncPrivateSubgraphsInput; +}; + +/** The status of an association between a private subgraph and your Apollo account */ +export enum PrivateSubgraphShareStatus { + /** The private subgraph is connected to the Apollo service network */ + Connected = 'CONNECTED', + /** The private subgraph is disconnected to the Apollo service network */ + Disconnected = 'DISCONNECTED', + /** The private subgraph's connection to the Apollo service network has errored */ + Errored = 'ERRORED', + /** The private subgraph's connection is pending */ + Pending = 'PENDING', + /** The private subgraph's disconnection is pending */ + PendingDisconnection = 'PENDING_DISCONNECTION', + /** The current state of the association is unknown */ + Unknown = 'UNKNOWN' +} + export type PromoteSchemaError = { __typename?: 'PromoteSchemaError'; code: PromoteSchemaErrorCode; @@ -8149,8 +8945,11 @@ export type PromoteSchemaResponseOrError = PromoteSchemaError | PromoteSchemaRes export type Proposal = { __typename?: 'Proposal'; + activities: ProposalActivityConnection; /** The variant this Proposal is under the hood. */ backingVariant: GraphVariant; + /** Can the current user can edit THIS proposal, either by authorship or role level */ + canEditProposal: Scalars['Boolean']; comment?: Maybe; createdAt: Scalars['Timestamp']; /** @@ -8160,10 +8959,16 @@ export type Proposal = { createdBy?: Maybe; displayName: Scalars['String']; id: Scalars['ID']; + /** True if only some of the changes in this proposal are currently published to the implementation variant */ + isPartiallyImplemented: Scalars['Boolean']; + latestRevision: ProposalRevision; parentComments: Array; + rebaseConflicts?: Maybe; /** null if user deleted or removed from org */ requestedReviewers: Array>; reviews: Array; + /** This resolver only returns revisions with checks associated with them. For all revisions, use launchHistory. */ + revisionsWithChecks: ProposalRevisionsWithChecksResult; /** The variant this Proposal was cloned/sourced from. */ sourceVariant: GraphVariant; status: ProposalStatus; @@ -8172,6 +8977,14 @@ export type Proposal = { }; +export type ProposalActivitiesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + export type ProposalCommentArgs = { id: Scalars['ID']; }; @@ -8181,19 +8994,131 @@ export type ProposalParentCommentsArgs = { filter?: InputMaybe; }; + +export type ProposalRevisionsWithChecksArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + offset?: InputMaybe; +}; + +export type ProposalActivity = { + __typename?: 'ProposalActivity'; + activity?: Maybe; + createdAt: Scalars['Timestamp']; + createdBy?: Maybe; + id: Scalars['ID']; + target?: Maybe; +}; + +export enum ProposalActivityAction { + /** When the system changes a Proposal's status back to OPEN from APPROVED when approvals drop below min approvals. */ + ApprovalWithdrawn = 'APPROVAL_WITHDRAWN', + /** When a user manually sets a Proposal to Close */ + CloseProposal = 'CLOSE_PROPOSAL', + /** When a Comment is added to a Proposal. */ + CommentAdded = 'COMMENT_ADDED', + /** When a subgraph in a Proposal is deleted. */ + DeleteSubgraph = 'DELETE_SUBGRAPH', + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + FullyImplementedProposalOrigin = 'FULLY_IMPLEMENTED_PROPOSAL_ORIGIN', + /** When a diff in an Implementation variant publish is found in a Proposal that fully implements the Proposal. Status of the Proposal will change to IMPLEMENTED. */ + FullyImplementedVariantOrigin = 'FULLY_IMPLEMENTED_VARIANT_ORIGIN', + /** When the system changes a Proposal's status to APPROVED when the min approvals have been met. */ + MetMinApprovalsProposal = 'MET_MIN_APPROVALS_PROPOSAL', + /** When a user manually sets a Proposal to Open */ + OpenProposal = 'OPEN_PROPOSAL', + /** When a diff in a Proposal publish is found to already be in the Implementation target variant that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + PartiallyImplementedProposalOrigin = 'PARTIALLY_IMPLEMENTED_PROPOSAL_ORIGIN', + /** When a diff in an Implementation variant publish is found in a Proposal that partially implements the Proposal. Does not change the status of the Proposal, but isPartiallyImplemented will return true. */ + PartiallyImplementedVariantOrigin = 'PARTIALLY_IMPLEMENTED_VARIANT_ORIGIN', + /** When a new revision is published to subgraphs in a Proposal. */ + PublishSubgraphs = 'PUBLISH_SUBGRAPHS', + /** When a Proposal is moved to DRAFT from another status not on creation. */ + ReturnToDraftProposal = 'RETURN_TO_DRAFT_PROPOSAL', + /** When a Review is added to a Proposal. */ + ReviewAdded = 'REVIEW_ADDED' +} + +export type ProposalActivityConnection = { + __typename?: 'ProposalActivityConnection'; + edges?: Maybe>; + nodes: Array; + pageInfo: PageInfo; + totalCount: Scalars['Int']; +}; + +export type ProposalActivityEdge = { + __typename?: 'ProposalActivityEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']; + node?: Maybe; +}; + +export type ProposalActivityTarget = ParentChangeProposalComment | ParentGeneralProposalComment | Proposal | ProposalFullImplementationProposalOrigin | ProposalFullImplementationVariantOrigin | ProposalPartialImplementationProposalOrigin | ProposalPartialImplementationVariantOrigin | ProposalReview | ProposalRevision; + +export enum ProposalChangeMismatchSeverity { + Error = 'ERROR', + Off = 'OFF', + Warn = 'WARN' +} + export type ProposalComment = { createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ProposalCommentResult = NotFoundError | ParentChangeProposalComment | ParentGeneralProposalComment | ReplyChangeProposalComment | ReplyGeneralProposalComment; +export enum ProposalCoverage { + Full = 'FULL', + None = 'NONE', + Overridden = 'OVERRIDDEN', + Partial = 'PARTIAL', + Pending = 'PENDING' +} + +export type ProposalFullImplementationProposalOrigin = ProposalImplementation & { + __typename?: 'ProposalFullImplementationProposalOrigin'; + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** Revision containing a diff that fully implements this Proposal in the implementation target variant. */ + revision: ProposalRevision; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; + +export type ProposalFullImplementationVariantOrigin = ProposalImplementation & { + __typename?: 'ProposalFullImplementationVariantOrigin'; + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** launch containing a diff that fully implements this Proposal in the implementation target variant. null if user does not have access to launches */ + launch?: Maybe; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; + +export type ProposalImplementation = { + /** the time this Proposal became implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant */ + jsonDiff: Array; + /** the target variant this Proposal became implemented in. */ + variant: GraphVariant; +}; + export type ProposalMutation = { __typename?: 'ProposalMutation'; addComment: AddCommentResult; @@ -8204,8 +9129,10 @@ export type ProposalMutation = { proposal?: Maybe; /** Publish multiple subgraphs. This will write the summary to proposals, record the most up to date diff, and call registry's publishSubgraphs. If composition is successful, this will update running routers. A single launch will be created for this publish. */ publishSubgraphs: PublishProposalSubgraphResult; - setRequestedReviewers: SetRequestedReviewersResult; + /** Removes all requested reviewers and their reviews that are not part of the new set of default reviewers. Adds any new default reviewers to the list of requested reviewers for this proposal. */ + replaceReviewersWithDefaultReviewers: ReplaceReviewersWithDefaultReviewersResult; updateDisplayName: UpdateProposalResult; + updateRequestedReviewers: UpdateRequestedReviewersResult; updateStatus: UpdateProposalResult; updateUpdatedByInfo: UpdateProposalResult; upsertReview: UpsertReviewResult; @@ -8237,13 +9164,13 @@ export type ProposalMutationPublishSubgraphsArgs = { }; -export type ProposalMutationSetRequestedReviewersArgs = { - input?: InputMaybe; +export type ProposalMutationUpdateDisplayNameArgs = { + displayName: Scalars['String']; }; -export type ProposalMutationUpdateDisplayNameArgs = { - displayName: Scalars['String']; +export type ProposalMutationUpdateRequestedReviewersArgs = { + input: UpdateRequestedReviewersInput; }; @@ -8263,6 +9190,32 @@ export type ProposalMutationUpsertReviewArgs = { export type ProposalMutationResult = NotFoundError | PermissionError | ProposalMutation | ValidationError; +export type ProposalPartialImplementationProposalOrigin = ProposalImplementation & { + __typename?: 'ProposalPartialImplementationProposalOrigin'; + /** the time this Proposal became partially implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** Revision containing a diff that partially implements this Proposal in the implementation target variant. */ + revision: ProposalRevision; + /** the target variant this Proposal became partially implemented in. */ + variant: GraphVariant; +}; + +export type ProposalPartialImplementationVariantOrigin = ProposalImplementation & { + __typename?: 'ProposalPartialImplementationVariantOrigin'; + /** the time this Proposal became partially implemented in the implementation target variant. */ + createdAt: Scalars['Timestamp']; + id: Scalars['ID']; + /** the diff that was matched between the Proposal and the implementation target variant. TODO to deserialize this back into a DiffItem NEBULA-2726 */ + jsonDiff: Array; + /** launch containing a diff that partially implements this Proposal in the implementation target variant. null if user does not have access to launches */ + launch?: Maybe; + /** the target variant this Proposal became partially implemented in. */ + variant: GraphVariant; +}; + export type ProposalRequestedReviewer = { __typename?: 'ProposalRequestedReviewer'; currentReview?: Maybe; @@ -8275,10 +9228,36 @@ export type ProposalReview = { createdAt: Scalars['Timestamp']; createdBy?: Maybe; decision: ReviewDecision; + isDismissed: Scalars['Boolean']; updatedAt?: Maybe; updatedBy?: Maybe; }; +export type ProposalRevision = { + __typename?: 'ProposalRevision'; + checkWorkflows: Array; + createdBy?: Maybe; + id: Scalars['ID']; + launch?: Maybe; + /** null if this is the first revision */ + previousRevision?: Maybe; + summary: Scalars['String']; +}; + +export type ProposalRevisionFilterInput = { + createdBy?: InputMaybe>; + status?: InputMaybe; + subgraphs?: InputMaybe>; +}; + +/** Proposal variants, limited & offset based on Service.proposalVariants & the total count */ +export type ProposalRevisionsWithChecksResult = { + __typename?: 'ProposalRevisionsWithChecksResult'; + revisions: Array; + /** The total number of proposal revisions with checks matching filters. */ + totalCount: Scalars['Int']; +}; + export type ProposalRoles = { __typename?: 'ProposalRoles'; create: UserPermission; @@ -8289,16 +9268,10 @@ export enum ProposalStatus { Approved = 'APPROVED', Closed = 'CLOSED', Draft = 'DRAFT', + Implemented = 'IMPLEMENTED', Open = 'OPEN' } -export type ProposalSummary = { - __typename?: 'ProposalSummary'; - createdBy?: Maybe; - id: Scalars['ID']; - summary: Scalars['String']; -}; - export type ProposalVariantCreationErrors = { __typename?: 'ProposalVariantCreationErrors'; /** A list of all errors that occurred when attempting to create a proposal variant. */ @@ -8309,8 +9282,12 @@ export type ProposalVariantCreationResult = GraphVariant | ProposalVariantCreati /** Filtering options for graph connections. */ export type ProposalVariantsFilter = { + /** Only include proposals that were created with these variants as a base. */ + sourceVariants?: InputMaybe>; + /** Only include proposals of a certain status. */ + status?: InputMaybe>; /** Only include proposals that have updated these subgraph names */ - subgraphs: Array; + subgraphs?: InputMaybe>; }; /** Proposal variants, limited & offset based on Service.proposalVariants & the total count */ @@ -8321,6 +9298,44 @@ export type ProposalVariantsResult = { variants: Array; }; +export type ProposalsCheckTask = CheckWorkflowTask & { + __typename?: 'ProposalsCheckTask'; + completedAt?: Maybe; + createdAt: Scalars['Timestamp']; + /** The results of this proposal check were overridden */ + didOverrideProposalsCheckTask: Scalars['Boolean']; + /** Diff items in this Check task. */ + diffs: Array; + graphID: Scalars['ID']; + id: Scalars['ID']; + /** Indicates the level of coverage a check's changeset is in approved Proposals. PENDING while Check is still running. */ + proposalCoverage: ProposalCoverage; + /** Proposals with their state at the time the check was run associated to this check task. */ + relatedProposalResults: Array; + /** @deprecated use relatedProposalResults instead */ + relatedProposals: Array; + /** The configured severity at the time the check was run. If the check failed, this is the severity that should be shown. While this Check is PENDING defaults to Service's severityLevel. */ + severityLevel: ProposalChangeMismatchSeverity; + status: CheckWorkflowTaskStatus; + targetURL?: Maybe; + workflow: CheckWorkflow; +}; + +/** A diff item in this Check Task and their related Proposals. */ +export type ProposalsCheckTaskDiff = { + __typename?: 'ProposalsCheckTaskDiff'; + /** A diff item in this Check Task. */ + diffItem: FlatDiffItem; + /** If this diff item is associated with an approved Proposal. */ + hasApprovedProposal: Scalars['Boolean']; + /** Proposals associated with this diff. */ + relatedProposalResults: Array; + /** The subgraph this diff belongs to. */ + subgraph: Scalars['String']; +}; + +export type ProposalsMustBeApprovedByADefaultReviewerResult = PermissionError | Service | ValidationError; + export type ProposedBuildInputChanges = ProposedCompositionBuildInputChanges | ProposedFilterBuildInputChanges; export type ProposedCompositionBuildInputChanges = { @@ -8381,12 +9396,23 @@ export type PublishProposalSubgraphResult = NotFoundError | PermissionError | Pr export type PublishProposalSubgraphsInput = { gitContext?: InputMaybe; - previousLaunchId?: InputMaybe; + previousLaunchId: Scalars['ID']; revision: Scalars['String']; subgraphInputs: Array; summary: Scalars['String']; }; +/** The result attempting to publish subgraphs with async build. */ +export type PublishSubgraphsAsyncBuildResult = { + __typename?: 'PublishSubgraphsAsyncBuildResult'; + /** The Launch result part of this subgraph publish. */ + launch?: Maybe; + /** Human-readable text describing the launch result of the subgraph publish. */ + launchCliCopy?: Maybe; + /** The URL of the Studio page for this update's associated launch, if available. */ + launchUrl?: Maybe; +}; + export type PublishSubgraphsSubgraphInput = { activePartialSchema: PartialSchemaInput; name: Scalars['String']; @@ -8398,6 +9424,12 @@ export type PushMarketoLeadInput = { Clearbit_LinkedIn_URL__c?: InputMaybe; /** Company domain */ Company_Domain__c?: InputMaybe; + /** GDPR Explicit Opt in */ + Explicit_Opt_in__c?: InputMaybe; + /** Google Click ID */ + Google_Click_ID__c?: InputMaybe; + /** GA Client ID */ + Google_User_ID__c?: InputMaybe; /** GraphQL Production Stage */ GraphQL_Production_Stage__c?: InputMaybe; /** Job Function */ @@ -8503,6 +9535,7 @@ export type Query = { getRecallLog: Array>; /** Returns details of the graph with the provided ID. */ graph?: Maybe; + /** Get status of identity subgraph */ identitySubgraphStatus: Scalars['String']; internalActiveCronJobs: Array; internalAdminUsers?: Maybe>; @@ -8518,7 +9551,7 @@ export type Query = { organization?: Maybe; /** Look up a plan by ID */ plan?: Maybe; - proposal?: Maybe; + proposal?: Maybe; /** A list of public variants that have been selected to be shown on our Graph Directory. */ publiclyListedVariants?: Maybe>; /** Accounts with enterprise subscriptions that have expired in the past 45 days */ @@ -8539,6 +9572,7 @@ export type Query = { user?: Maybe; /** Returns details of a Studio graph variant with the provided graph ref. A graph ref has the format `graphID@variantName` (or just `graphID` for the default variant `current`). Returns null if the graph or variant doesn't exist, or if the graph isn't accessible by the current actor. */ variant?: Maybe; + zendeskUploadToken: Scalars['String']; }; @@ -8939,6 +9973,13 @@ export enum QueryTriggerWindow { Unrecognized = 'UNRECOGNIZED' } +/** An error that occurs when the rate limit on this operation has been exceeded. */ +export type RateLimitExceededError = { + __typename?: 'RateLimitExceededError'; + /** The error message. */ + message: Scalars['String']; +}; + /** The README documentation for a graph variant, which is displayed in Studio. */ export type Readme = { __typename?: 'Readme'; @@ -8959,10 +10000,27 @@ export type Readme = { /** Responsibility for an errored order */ export enum ReasonCause { + /** + * Could not complete an order due to internal reason + * + * This could be due to intermittent issues, bug in our code, etc. + */ Internal = 'INTERNAL', + /** + * Could not complete an order due to invalid User input + * + * For example, the user provided an invalid router configuration or supergraph schema. + */ User = 'USER' } +export type RebaseConflictError = { + __typename?: 'RebaseConflictError'; + errorMessages: Array; +}; + +export type RebaseConflictResult = RebaseConflictError | SchemaValidationError; + /** Description for a Cloud Router region */ export type RegionDescription = { __typename?: 'RegionDescription'; @@ -8980,8 +10038,19 @@ export type RegionDescription = { /** Possible state of a region */ export enum RegionState { + /** + * Active region + * + * Can be used for Cloud Routers + */ Active = 'ACTIVE', + /** Does not appear in the API */ Hidden = 'HIDDEN', + /** + * Inactive region + * + * Cannot yet be used for Cloud Routers + */ Inactive = 'INACTIVE' } @@ -9033,6 +10102,17 @@ export type RegistrySubscription = ChannelSubscription & { variant?: Maybe; }; +/** A Proposal related to a Proposal Check Task. */ +export type RelatedProposalResult = { + __typename?: 'RelatedProposalResult'; + /** The latest revision at the time the check was run, defaults to current revision if nothing found for time of the check. */ + latestRevisionAtCheck: ProposalRevision; + /** The Proposal related to the check. State may have changed since the Check was run. */ + proposal: Proposal; + /** The status of the Proposal at the time the check was run, defaults to current state if nothing found for time of the check. */ + statusAtCheck: ProposalStatus; +}; + export type RelaunchComplete = { __typename?: 'RelaunchComplete'; latestLaunch: Launch; @@ -9052,30 +10132,34 @@ export type RemoveOperationCollectionFromVariantResult = GraphVariant | NotFound export type ReorderOperationCollectionResult = OperationCollection | PermissionError; +export type ReplaceReviewersWithDefaultReviewersResult = PermissionError | Proposal | ValidationError; + export type ReplyChangeProposalComment = ChangeProposalComment & ProposalComment & { __typename?: 'ReplyChangeProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; + /** true if the schemaCoordinate this comment is on doesn't exist in the diff between the most recent revision & the base sdl */ + outdated: Scalars['Boolean']; schemaCoordinate: Scalars['String']; - /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ + /** '#@!api!@#' for api schema, '#@!supergraph!@#' for supergraph schema, subgraph otherwise */ schemaScope: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type ReplyGeneralProposalComment = GeneralProposalComment & ProposalComment & { __typename?: 'ReplyGeneralProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; @@ -9179,17 +10263,18 @@ export enum ReviewDecision { export type ReviewProposalComment = ProposalComment & { __typename?: 'ReviewProposalComment'; createdAt: Scalars['Timestamp']; - /** null if the user is deleted */ + /** null if the user is deleted */ createdBy?: Maybe; id: Scalars['ID']; message: Scalars['String']; status: CommentStatus; - /** null if never updated */ + /** null if never updated */ updatedAt?: Maybe; }; export type RoleOverride = { __typename?: 'RoleOverride'; + /** @deprecated RoleOverride can only be queried via a Graph, so any fields here should instead be selected via the parent object. */ graph: Service; lastUpdatedAt: Scalars['Timestamp']; role: UserPermission; @@ -9198,6 +10283,14 @@ export type RoleOverride = { export type Router = { __typename?: 'Router'; + /** Order currently modifying this Cloud Router */ + currentOrder?: Maybe; + /** + * Number of Graph Compute Units (GCUs) associated with this Cloud Router + * + * This value is not present for Cloud Routers on the `SERVERLESS` tier. + */ + gcus?: Maybe; /** graphRef representing the Cloud Router */ id: Scalars['ID']; /** Retrieves a specific Order related to this Cloud Router */ @@ -9255,31 +10348,67 @@ export type RouterConfigInput = { routerVersion?: InputMaybe; }; +export type RouterConfigVersion = { + __typename?: 'RouterConfigVersion'; + /** JSON schema for validating the router configuration */ + configSchema?: Maybe; + /** Name of the RouterConfigVersion */ + name: Scalars['String']; +}; + + +export type RouterConfigVersionConfigSchemaArgs = { + tier: CloudTier; +}; + +/** Input to create a RouterConfigVersion */ +export type RouterConfigVersionInput = { + /** Configuration schema mapping for the RouterConfigVersion */ + configSchemas: Scalars['JSONObject']; + /** Name of the RouterConfigVersion */ + configVersion: Scalars['String']; +}; + export type RouterEntitlement = { __typename?: 'RouterEntitlement'; - /** The internal id of the account this entitlement was generated for. */ + /** The id of the account this license was generated for. */ accountId: Scalars['String']; - /** Which audiences this entitlement applies to. Cloud and on-premise routers each require the presence of their own audience. */ + /** Which audiences this license applies to. */ audience: Array; - /** Router should stop serving requests after this time if commercial features are in use. */ + /** Router will stop serving requests after this time if commercial features are in use. */ haltAt?: Maybe; /** RFC 8037 Ed25519 JWT signed representation of sibling fields. Restricted to internal services only. */ jwt: Scalars['String']; - /** Organization this entitlement applies to. */ + /** Organization this license applies to. */ subject: Scalars['String']; - /** Router should warn users after this time if commercial features are in use. */ + /** Router will warn users after this time if commercial features are in use. */ warnAt?: Maybe; }; export enum RouterEntitlementAudience { + /** Routers in Apollo hosted cloud. */ Cloud = 'CLOUD', + /** Routers in offline environments with license files supplied from a URL or locally. */ + Offline = 'OFFLINE', + /** Routers in self-hosted environments fetching their license from uplink. */ SelfHosted = 'SELF_HOSTED' } +/** Represents the possible outcomes of a setGcus mutation */ +export type RouterGcusResult = InternalServerError | InvalidInputErrors | RouterGcusSuccess; + +/** Success branch of a setGcus mutation */ +export type RouterGcusSuccess = { + __typename?: 'RouterGcusSuccess'; + order: Order; +}; + export type RouterMutation = { __typename?: 'RouterMutation'; /** Router mutations for Cloud Routers hosted on Fly */ fly?: Maybe; + /** Set the number of GCUs associated with this Router */ + setGcus: RouterGcusResult; /** Set the version used for the next update for this Cloud Router */ setNextVersion: SetNextVersionResult; /** Set secrets for this Cloud Router */ @@ -9287,6 +10416,11 @@ export type RouterMutation = { }; +export type RouterMutationSetGcusArgs = { + gcus: Scalars['Int']; +}; + + export type RouterMutationSetNextVersionArgs = { version: Scalars['String']; }; @@ -9316,11 +10450,31 @@ export type RouterSecretsSuccess = { /** Current status of Cloud Routers */ export enum RouterStatus { + /** Cloud Router is not yet provisioned */ Creating = 'CREATING', + /** Router has been deleted */ Deleted = 'DELETED', + /** + * Cloud Router is running, but currently being deleted + * + * This is the only mutation state that doesn't support rollback. If we fail to + * delete a Router, the workflows are configured to stop and keep the router into + * the Deleting status. + */ Deleting = 'DELETING', + /** + * Current order is rolling back to the last known good state + * + * After a RollingBack state, a Router can move either into Running state (from a + * Update order) or Deleted (from a Create order). + * + * If we fail to roll back, the workflows are configured to stop and keep the router + * into the RollingBack status. + */ RollingBack = 'ROLLING_BACK', + /** Current router is running and able to server requests */ Running = 'RUNNING', + /** Cloud Router is running, but currently being updated */ Updating = 'UPDATING' } @@ -9352,10 +10506,17 @@ export type RouterVersion = { version: Scalars['String']; }; + +/** Router Version */ +export type RouterVersionConfigSchemaArgs = { + tier?: InputMaybe; +}; + +/** Result of a RouterConfigVersion mutation */ +export type RouterVersionConfigResult = CloudInvalidInputError | InternalServerError | RouterConfigVersion; + /** Input to create a new router version */ export type RouterVersionCreateInput = { - /** JSON schema for allowed properties */ - configSchema: Scalars['String']; /** Version of the configuration */ configVersion: Scalars['String']; /** Version status */ @@ -9369,8 +10530,6 @@ export type RouterVersionResult = InternalServerError | InvalidInputErrors | Rou /** Input for updating a router version */ export type RouterVersionUpdateInput = { - /** JSON schema for allowed properties */ - configSchema?: InputMaybe; /** Version of the configuration */ configVersion?: InputMaybe; /** Version status */ @@ -9409,6 +10568,120 @@ export type RunLintCheckInput = { proposedSchema: SchemaHashInput; }; +/** Inputs needed to find all relevant proposals to a check workflow */ +export type RunProposalsCheckInput = { + /** List of subgraph names and hashes from the state of this variant when the check was run. */ + baseSubgraphs: Array; + /** Supergraph hash that was most recently published when the check was run */ + baseSupergraphHash: Scalars['String']; + /** List of subgraph names and hashes that are being proposed in the check task */ + proposedSubgraphs: Array; + /** Supergraph hash that is the output of the check's composition task */ + proposedSupergraphHash: Scalars['String']; + /** If this check was created by rerunning, the original check workflow task that was rerun */ + rerunOfTaskId?: InputMaybe; + /** The severity to assign the check results if matching proposals are not found */ + severityLevel: ProposalChangeMismatchSeverity; + /** The check workflow task id. Used by Task entities to resolve the results */ + workflowTaskId: Scalars['String']; +}; + +export type SafAssessment = { + __typename?: 'SafAssessment'; + /** The date and time the assessment was completed. */ + completedAt?: Maybe; + /** The graph that this assessment belongs to. */ + graph: Service; + id: Scalars['ID']; + /** The plan items for this assessment. */ + planItems: Array; + /** The responses for this assessment. */ + responses: Array; + /** The date and time the assessment was started. */ + startedAt: Scalars['Date']; +}; + +export type SafAssessmentMutation = { + __typename?: 'SafAssessmentMutation'; + /** Delete the assessment. */ + delete: SafAssessment; + id: Scalars['String']; + /** Mutations for a specific plan item. */ + planItem?: Maybe; + /** Reorder the plan items for a given assessment. */ + reorderPlanItems: Array; + /** Save a response for a question. */ + saveResponse: SafResponse; + /** Submit the assessment. */ + submit: SafAssessment; +}; + + +export type SafAssessmentMutationPlanItemArgs = { + id: Scalars['ID']; +}; + + +export type SafAssessmentMutationReorderPlanItemsArgs = { + ids: Array; +}; + + +export type SafAssessmentMutationSaveResponseArgs = { + input: SafResponseInput; +}; + + +export type SafAssessmentMutationSubmitArgs = { + organizationId?: InputMaybe; + planItemIds: Array; +}; + +export type SafPlanItem = { + __typename?: 'SafPlanItem'; + bestPracticeId: Scalars['String']; + id: Scalars['ID']; + isDeprioritized: Scalars['Boolean']; + notes: Scalars['String']; + order: Scalars['Int']; +}; + +export type SafPlanItemInput = { + isDeprioritized: Scalars['Boolean']; + notes: Scalars['String']; + order: Scalars['Int']; +}; + +export type SafPlanItemMutation = { + __typename?: 'SafPlanItemMutation'; + /** Update a plan item. */ + update: SafPlanItem; +}; + + +export type SafPlanItemMutationUpdateArgs = { + input: SafPlanItemInput; +}; + +export type SafResponse = { + __typename?: 'SafResponse'; + /** The assessment that this response belongs to. */ + assessment?: Maybe; + /** Additional context or feedback about the question. */ + comment: Scalars['String']; + id: Scalars['ID']; + /** The ID of the question that this response is for. */ + questionId: Scalars['String']; + /** A list of responses for this question. */ + response: Array; +}; + +export type SafResponseInput = { + comment: Scalars['String']; + questionId: Scalars['String']; + response: Array; +}; + export type ScheduledSummary = ChannelSubscription & { __typename?: 'ScheduledSummary'; /** @deprecated Use channels list instead */ @@ -9450,12 +10723,6 @@ export type SchemaCreateTemporaryUrlArgs = { expiresInSeconds?: Scalars['Int']; }; - -/** A GraphQL schema document and associated metadata. */ -export type SchemaObservableCoordinatesArgs = { - filter?: InputMaybe; -}; - /** An error that occurred while running schema composition on a set of subgraph schemas. */ export type SchemaCompositionError = { __typename?: 'SchemaCompositionError'; @@ -9763,8 +11030,10 @@ export type Service = Identity & { /** Get check workflows for this graph ordered by creation time, most recent first. */ checkWorkflows: Array; /** - * List of options available for filtering checks for this graph by author. + * List of options available for filtering checks for this graph by git committer. * If a filter is passed, constrains results to match the filter. + * For cli triggered checks, this is the author. + * @deprecated Use checksCommitterOptions instead */ checksAuthorOptions: Array; /** @@ -9772,6 +11041,18 @@ export type Service = Identity & { * If a filter is passed, constrains results to match the filter. */ checksBranchOptions: Array; + /** + * List of options available for filtering checks for this graph by git committer. + * If a filter is passed, constrains results to match the filter. + * For cli triggered checks, this is the author. + */ + checksCommitterOptions: Array; + /** + * List of options available for filtering checks for this graph by created by field. + * If a filter is passed, constrains results to match the filter. + * For non cli triggered checks, this is the Studio User / author. + */ + checksCreatedByOptions: Array; /** * List of options available for filtering checks for this graph by subgraph name. * If a filter is passed, constrains results to match the filter. @@ -9840,11 +11121,17 @@ export type Service = Identity & { /** The Persisted Query List associated with this graph with the given ID. */ persistedQueryList?: Maybe; persistedQueryLists?: Maybe>; + /** The current active user's Proposal notification status on this graph. */ + proposalNotificationStatus: NotificationStatus; /** * A list of the proposal variants for this graph sorted by created at date. * limit defaults to Int.MAX_VALUE, offset defaults to 0 */ proposalVariants: ProposalVariantsResult; + /** If the graph setting for the proposals implementation variant has been set, this will be non null. */ + proposalsImplementationVariant?: Maybe; + /** Must one of the default reviewers approve proposals */ + proposalsMustBeApprovedByADefaultReviewer: Scalars['Boolean']; /** Get query triggers for a given variant. If variant is null all the triggers for this service will be gotten. */ queryTriggers?: Maybe>; readme?: Maybe; @@ -9860,6 +11147,10 @@ export type Service = Identity & { roleOverrides?: Maybe>; /** Describes the permissions that the active user has for this graph. */ roles?: Maybe; + /** Get a specific assessment for this graph by its ID. */ + safAssessment?: Maybe; + /** All assessments for this graph. */ + safAssessments: Array; scheduledSummaries: Array; /** Get a schema by hash or current tag */ schema?: Maybe; @@ -9963,6 +11254,26 @@ export type ServiceChecksBranchOptionsArgs = { }; +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceChecksCommitterOptionsArgs = { + filter?: InputMaybe; +}; + + +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceChecksCreatedByOptionsArgs = { + filter?: InputMaybe; +}; + + /** * A graph in Apollo Studio represents a graph in your organization. * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). @@ -10151,6 +11462,16 @@ export type ServiceRegistrySubscriptionsEnabledArgs = { }; +/** + * A graph in Apollo Studio represents a graph in your organization. + * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). + * Each variant has its own GraphQL schema, which means schemas can differ between environments. + */ +export type ServiceSafAssessmentArgs = { + id: Scalars['ID']; +}; + + /** * A graph in Apollo Studio represents a graph in your organization. * Each graph has one or more variants, which correspond to the different environments where that graph runs (such as staging and production). @@ -10732,12 +12053,86 @@ export type ServiceFieldUsageRecord = { timestamp: Scalars['Timestamp']; }; +/** Columns of ServiceGraphosCloudMetrics. */ +export enum ServiceGraphosCloudMetricsColumn { + AgentVersion = 'AGENT_VERSION', + ResponseSize = 'RESPONSE_SIZE', + ResponseSizeThrottled = 'RESPONSE_SIZE_THROTTLED', + RouterId = 'ROUTER_ID', + RouterOperations = 'ROUTER_OPERATIONS', + RouterOperationsThrottled = 'ROUTER_OPERATIONS_THROTTLED', + SchemaTag = 'SCHEMA_TAG', + SubgraphFetches = 'SUBGRAPH_FETCHES', + SubgraphFetchesThrottled = 'SUBGRAPH_FETCHES_THROTTLED', + Timestamp = 'TIMESTAMP' +} + +export type ServiceGraphosCloudMetricsDimensions = { + __typename?: 'ServiceGraphosCloudMetricsDimensions'; + agentVersion?: Maybe; + routerId?: Maybe; + schemaTag?: Maybe; +}; + +/** Filter for data in ServiceGraphosCloudMetrics. Fields with dimension names represent equality checks. All fields are implicitly ANDed together. */ +export type ServiceGraphosCloudMetricsFilter = { + /** Selects rows whose agentVersion dimension equals the given value if not null. To query for the null value, use {in: {agentVersion: [null]}} instead. */ + agentVersion?: InputMaybe; + and?: InputMaybe>; + in?: InputMaybe; + not?: InputMaybe; + or?: InputMaybe>; + /** Selects rows whose routerId dimension equals the given value if not null. To query for the null value, use {in: {routerId: [null]}} instead. */ + routerId?: InputMaybe; + /** Selects rows whose schemaTag dimension equals the given value if not null. To query for the null value, use {in: {schemaTag: [null]}} instead. */ + schemaTag?: InputMaybe; +}; + +/** Filter for data in ServiceGraphosCloudMetrics. Fields match if the corresponding dimension's value is in the given list. All fields are implicitly ANDed together. */ +export type ServiceGraphosCloudMetricsFilterIn = { + /** Selects rows whose agentVersion dimension is in the given list. A null value in the list means a row with null for that dimension. */ + agentVersion?: InputMaybe>>; + /** Selects rows whose routerId dimension is in the given list. A null value in the list means a row with null for that dimension. */ + routerId?: InputMaybe>>; + /** Selects rows whose schemaTag dimension is in the given list. A null value in the list means a row with null for that dimension. */ + schemaTag?: InputMaybe>>; +}; + +export type ServiceGraphosCloudMetricsMetrics = { + __typename?: 'ServiceGraphosCloudMetricsMetrics'; + responseSize: Scalars['Long']; + responseSizeThrottled: Scalars['Long']; + routerOperations: Scalars['Long']; + routerOperationsThrottled: Scalars['Long']; + subgraphFetches: Scalars['Long']; + subgraphFetchesThrottled: Scalars['Long']; +}; + +export type ServiceGraphosCloudMetricsOrderBySpec = { + column: ServiceGraphosCloudMetricsColumn; + direction: Ordering; +}; + +export type ServiceGraphosCloudMetricsRecord = { + __typename?: 'ServiceGraphosCloudMetricsRecord'; + /** Dimensions of ServiceGraphosCloudMetrics that can be grouped by. */ + groupBy: ServiceGraphosCloudMetricsDimensions; + /** Metrics of ServiceGraphosCloudMetrics that can be aggregated over. */ + metrics: ServiceGraphosCloudMetricsMetrics; + /** Starting segment timestamp. */ + timestamp: Scalars['Timestamp']; +}; + /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutation = { __typename?: 'ServiceMutation'; /** * Checks a proposed subgraph schema change against a published subgraph. * If the proposal composes successfully, perform a usage check for the resulting supergraph schema. + * @deprecated Use GraphVariant.submitSubgraphCheckAsync instead. + * This mutation polls to wait for the check to finish, + * while subgraphSubgraphCheckAsync triggers returns + * without waiting for the check to finish. */ checkPartialSchema: CheckPartialSchemaResult; /** @@ -10756,6 +12151,8 @@ export type ServiceMutation = { createProposal: CreateProposalResult; /** Creates a proposal variant from a source variant and a name, description. Do not call this from any clients, this resolver is exclusively for inter-service proposal -> kotlin registry communication. */ createProposalVariant: ProposalVariantCreationResult; + /** Create a new assessment for this graph. */ + createSafAssessment: SafAssessment; createSchemaPublishSubscription: SchemaPublishSubscription; /** Update the default build pipeline track for this graph. */ defaultBuildPipelineTrack?: Maybe; @@ -10801,16 +12198,21 @@ export type ServiceMutation = { markChangesForOperationAsSafe: MarkChangesForOperationAsSafeResult; /** Generates a new graph API key for this graph with the specified permission level. */ newKey: GraphApiKey; + /** Mutation to set whether a proposals check task's results should be overridden or not */ + overrideProposalsCheckTask?: Maybe; /** Adds an override to the given users permission for this graph */ overrideUserPermission?: Maybe; /** Provides access to mutation fields for modifying a Persisted Query List with the provided ID. */ persistedQueryList: PersistedQueryListMutation; /** Promote the schema with the given SHA-256 hash to active for the given variant/tag. */ promoteSchema: PromoteSchemaResponseOrError; + proposalsMustBeApprovedByADefaultReviewer?: Maybe; /** Publish to a subgraph. If composition is successful, this will update running routers. */ publishSubgraph?: Maybe; /** Publishes multiple subgraphs. If composition is successful, this will update running routers. */ publishSubgraphs?: Maybe; + /** Publishes multiple subgraphs, running the build async. */ + publishSubgraphsAsyncBuild?: Maybe; registerOperationsWithResponse?: Maybe; /** Removes a subgraph. If composition is successful, this will update running routers. */ removeImplementingServiceAndTriggerComposition: CompositionAndRemoveResult; @@ -10820,12 +12222,18 @@ export type ServiceMutation = { renameKey?: Maybe; /** @deprecated use Mutation.reportSchema instead */ reportServerInfo?: Maybe; + /** Mutations for a specific assessment. */ + safAssessment?: Maybe; service: Service; setDefaultBuildPipelineTrack?: Maybe; setMinProposalApprovers: SetMinApproversResult; - /** The minimum role for create & edit is observer */ + /** The minimum role for create & edit is graph admin */ setMinProposalRoles: SetProposalRolesResult; setProposalDefaultReviewers: SetProposalDefaultReviewersResult; + /** Set the variant for this graph that all proposals depend on for 'IMPLEMENTED' status. TODO maya switch this to canManageProposalSettings. If variantName is passed as null, implementation variant is deleted. */ + setProposalImplementationVariant: SetProposalImplementationVariantResult; + /** Sets the current active user's Proposals notification status on this graph. */ + setProposalNotificationStatus: SetProposalNotificationStatusResult; /** * Store a given schema document. This schema will be attached to the graph but * not be associated with any variant. On success, returns the schema hash. @@ -10898,6 +12306,7 @@ export type ServiceMutationCheckPartialSchemaArgs = { isProposalCheck?: Scalars['Boolean']; isSandboxCheck?: Scalars['Boolean']; partialSchema: PartialSchemaInput; + triggeredBy?: InputMaybe; useMaximumRetention?: InputMaybe; }; @@ -11036,6 +12445,13 @@ export type ServiceMutationNewKeyArgs = { }; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationOverrideProposalsCheckTaskArgs = { + shouldOverride: Scalars['Boolean']; + taskId: Scalars['ID']; +}; + + /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationOverrideUserPermissionArgs = { permission?: InputMaybe; @@ -11058,9 +12474,16 @@ export type ServiceMutationPromoteSchemaArgs = { }; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationProposalsMustBeApprovedByADefaultReviewerArgs = { + mustBeApproved: Scalars['Boolean']; +}; + + /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationPublishSubgraphArgs = { activePartialSchema: PartialSchemaInput; + downstreamLaunchInitiation?: InputMaybe; gitContext?: InputMaybe; graphVariant: Scalars['String']; name: Scalars['String']; @@ -11071,6 +12494,16 @@ export type ServiceMutationPublishSubgraphArgs = { /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationPublishSubgraphsArgs = { + downstreamLaunchInitiation?: InputMaybe; + gitContext?: InputMaybe; + graphVariant: Scalars['String']; + revision: Scalars['String']; + subgraphInputs: Array; +}; + + +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationPublishSubgraphsAsyncBuildArgs = { gitContext?: InputMaybe; graphVariant: Scalars['String']; revision: Scalars['String']; @@ -11116,6 +12549,12 @@ export type ServiceMutationReportServerInfoArgs = { }; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSafAssessmentArgs = { + id: Scalars['ID']; +}; + + /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationSetDefaultBuildPipelineTrackArgs = { version: Scalars['String']; @@ -11140,6 +12579,18 @@ export type ServiceMutationSetProposalDefaultReviewersArgs = { }; +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSetProposalImplementationVariantArgs = { + variantName?: InputMaybe; +}; + + +/** Provides access to mutation fields for managing Studio graphs and subgraphs. */ +export type ServiceMutationSetProposalNotificationStatusArgs = { + input: SetProposalNotificationStatusInput; +}; + + /** Provides access to mutation fields for managing Studio graphs and subgraphs. */ export type ServiceMutationStoreSchemaDocumentArgs = { schemaDocument: Scalars['String']; @@ -11189,6 +12640,7 @@ export type ServiceMutationUpdateCheckConfigurationArgs = { includedVariants?: InputMaybe>; operationCountThreshold?: InputMaybe; operationCountThresholdPercentage?: InputMaybe; + proposalChangeMismatchSeverity?: InputMaybe; timeRangeSeconds?: InputMaybe; }; @@ -11559,6 +13011,7 @@ export type ServiceRoles = { canCreateVariants: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to delete the graph in question */ canDelete: Scalars['Boolean']; + /** Given the graph's setting regarding proposal permission levels, can the current user edit Proposals authored by other users */ canEditProposal: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to manage user access to the graph in question. */ canManageAccess: Scalars['Boolean']; @@ -11571,6 +13024,8 @@ export type ServiceRoles = { canManagePersistedQueryLists: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to manage proposal permission settings for this graph. */ canManageProposalPermissions: Scalars['Boolean']; + /** Whether the currently authenticated user is permitted to manage proposal settings, like setting the implementation variant, on this graph. */ + canManageProposalSettings: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to perform basic administration of variants (e.g., make a variant public). */ canManageVariants: Scalars['Boolean']; /** Whether the currently authenticated user is permitted to view details about the build configuration (e.g. build pipeline version). */ @@ -11614,6 +13069,7 @@ export type ServiceStatsWindow = { fieldLatencies: Array; fieldStats: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -11681,6 +13137,14 @@ export type ServiceStatsWindowFieldUsageArgs = { }; +/** A time window with a specified granularity over a given service. */ +export type ServiceStatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; + + /** A time window with a specified granularity over a given service. */ export type ServiceStatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; @@ -11945,6 +13409,15 @@ export type SetProposalDefaultReviewersInput = { export type SetProposalDefaultReviewersResult = PermissionError | Service | ValidationError; +export type SetProposalImplementationVariantResult = PermissionError | Service | ValidationError; + +export type SetProposalNotificationStatusInput = { + /** NotificationStatus to set for the current active user. */ + status: NotificationStatus; +}; + +export type SetProposalNotificationStatusResult = Service | ValidationError; + export type SetProposalRolesInput = { create?: InputMaybe; edit?: InputMaybe; @@ -11952,12 +13425,6 @@ export type SetProposalRolesInput = { export type SetProposalRolesResult = PermissionError | Service | ValidationError; -export type SetRequestedReviewersInput = { - reviewerUserIds: Array; -}; - -export type SetRequestedReviewersResult = PermissionError | Proposal | ValidationError; - export type SetupIntentResult = NotFoundError | PermissionError | SetupIntentSuccess; export type SetupIntentSuccess = { @@ -11972,10 +13439,18 @@ export type SetupIntentSuccess = { */ export type Shard = { __typename?: 'Shard'; + gcuCapacity?: Maybe; + gcuUsage: Scalars['Int']; id: Scalars['ID']; provider: CloudProvider; + /** Details of this shard for a specific provider */ + providerDetails: ShardProvider; + reason?: Maybe; region: RegionDescription; + routerCapacity?: Maybe; + routerUsage: Scalars['Int']; routers: Array; + status: ShardStatus; tier: CloudTier; }; @@ -11990,15 +13465,29 @@ export type ShardRoutersArgs = { offset?: InputMaybe; }; +/** Provider-specific information for a Shard */ +export type ShardProvider = AwsShard | FlyShard; + /** Represents the possible outcomes of a shard mutation */ export type ShardResult = InternalServerError | InvalidInputErrors | ShardSuccess; -/** Current status of [`Shard`]s */ +/** Current status of Cloud Shards */ export enum ShardStatus { + /** The Shard is active and ready to accept new Cloud Routers */ Active = 'ACTIVE', + /** The Shard no long exists */ Deleted = 'DELETED', + /** The Shard is working as expected, but should not be used to provision new Cloud Routers */ Deprecated = 'DEPRECATED', + /** + * The Shard is suffering from a temporary degradation that might impact provisioning new + * Cloud Routers + */ Impaired = 'IMPAIRED', + /** + * The Shard is currently being updated and should temporarily not be used to provision new + * Cloud Routers + */ Updating = 'UPDATING' } @@ -12093,6 +13582,7 @@ export type StatsWindow = { fieldExecutions: Array; fieldLatencies: Array; fieldUsage: Array; + graphosCloudMetrics: Array; operationCheckStats: Array; queryStats: Array; /** From field rounded down to the nearest resolution. */ @@ -12152,6 +13642,14 @@ export type StatsWindowFieldUsageArgs = { }; +/** A time window with a specified granularity. */ +export type StatsWindowGraphosCloudMetricsArgs = { + filter?: InputMaybe; + limit?: InputMaybe; + orderBy?: InputMaybe>; +}; + + /** A time window with a specified granularity. */ export type StatsWindowOperationCheckStatsArgs = { filter?: InputMaybe; @@ -12185,8 +13683,21 @@ export type StatsWindowTraceRefsArgs = { /** Possible status of a Cloud Router version */ export enum Status { + /** + * Deprecated version of a Cloud Router + * + * New Cloud Routers should not use this version, and this will not be + * supported at some point in the future. + */ Deprecated = 'DEPRECATED', + /** + * Upcoming or experimental version of a Cloud Router + * + * This should only be used internally, or to preview new features to + * customers. + */ Next = 'NEXT', + /** Cloud Router Version is ready to be used by end users */ Stable = 'STABLE' } @@ -12242,10 +13753,18 @@ export type Subgraph = { revision?: Maybe; /** The subgraph's routing URL, provided to gateways that use managed federation. */ routingURL: Scalars['String']; + /** The subgraph schema document. */ + sdl: Scalars['String']; /** Timestamp of when the subgraph was published. */ updatedAt?: Maybe; }; + +/** A subgraph in a federated Studio supergraph. */ +export type SubgraphSdlArgs = { + graphId: Scalars['ID']; +}; + /** A change made to a subgraph as part of a launch. */ export type SubgraphChange = { __typename?: 'SubgraphChange'; @@ -12277,8 +13796,20 @@ export type SubgraphCheckAsyncInput = { isSandbox: Scalars['Boolean']; /** The proposed subgraph schema to perform checks with. */ proposedSchema: Scalars['GraphQLDocument']; + /** The source variant that this check should use the operations check configuration from */ + sourceVariant?: InputMaybe; /** The name of the subgraph to check schema changes for. */ subgraphName: Scalars['String']; + /** The user that triggered this check. If null, defaults to authContext to determine user. */ + triggeredBy?: InputMaybe; +}; + +/** A subgraph in a federated Studio supergraph. */ +export type SubgraphCheckInput = { + /** The subgraph schema document's SHA256 hash, represented as a hexadecimal string. */ + hash: Scalars['String']; + /** The subgraph's registered name. */ + name: Scalars['String']; }; export type SubgraphConfig = { @@ -12315,6 +13846,25 @@ export type SubgraphKeyMap = { subgraphName: Scalars['String']; }; +export type SubgraphSdlCheckInput = { + name: Scalars['String']; + sdl: Scalars['GraphQLDocument']; +}; + +export type SubscriptionCapability = { + __typename?: 'SubscriptionCapability'; + label: Scalars['String']; + subscription: BillingSubscription; + value: Scalars['Boolean']; +}; + +export type SubscriptionLimit = { + __typename?: 'SubscriptionLimit'; + label: Scalars['String']; + subscription: BillingSubscription; + value: Scalars['Long']; +}; + export type SubscriptionOptions = { __typename?: 'SubscriptionOptions'; /** Enables notifications for schema updates */ @@ -12363,6 +13913,14 @@ export type SyncBillingAccountSuccess = { message: Scalars['String']; }; +/** User input for a resource share mutation */ +export type SyncPrivateSubgraphsInput = { + /** A unique identifier for the private subgraph */ + identifier: Scalars['String']; + /** The cloud provider where the private subgraph is hosted */ + provider: CloudProvider; +}; + export type TemporaryUrl = { __typename?: 'TemporaryURL'; url: Scalars['String']; @@ -12373,6 +13931,13 @@ export enum ThemeName { Light = 'LIGHT' } +/** Throttle error */ +export type ThrottleError = Error & { + __typename?: 'ThrottleError'; + message: Scalars['String']; + retryAfter?: Maybe; +}; + export enum TicketPriority { P0 = 'P0', P1 = 'P1', @@ -12868,7 +14433,14 @@ export type UpdatePersistedQueryListMetadataResult = { export type UpdatePersistedQueryListMetadataResultOrError = PermissionError | UpdatePersistedQueryListMetadataResult; -export type UpdateProposalResult = Proposal | ValidationError; +export type UpdateProposalResult = PermissionError | Proposal | ValidationError; + +export type UpdateRequestedReviewersInput = { + reviewerUserIdsToAdd?: InputMaybe>; + reviewerUserIdsToRemove?: InputMaybe>; +}; + +export type UpdateRequestedReviewersResult = PermissionError | Proposal | ValidationError; /** Input for updating a Cloud Router */ export type UpdateRouterInput = { @@ -12912,6 +14484,7 @@ export type UpdateShardInput = { fly?: InputMaybe; gcuCapacity?: InputMaybe; gcuUsage?: InputMaybe; + reason?: InputMaybe; routerCapacity?: InputMaybe; routerUsage?: InputMaybe; shardId: Scalars['String']; @@ -12936,7 +14509,7 @@ export type UploadSchemaMutationResponse = { export type UpsertReviewInput = { comment?: InputMaybe; decision: ReviewDecision; - launchId: Scalars['ID']; + revisionId: Scalars['ID']; }; export type UpsertReviewResult = PermissionError | Proposal | ValidationError; @@ -13097,11 +14670,10 @@ export type UserMutation = { newKey: UserApiKey; /** * If this user has no active user API keys, this creates one for the user. - * * If this user has at least one active user API key, this returns one of those keys at random and does _not_ create a new key. */ provisionKey?: Maybe; - /** Refresh information about the user from its upstream service (eg list of organizations from GitHub) */ + /** Refresh information about the user from its upstream service (e.g. list of organizations from GitHub) */ refresh?: Maybe; /** Deletes the user API key with the provided ID, if any. */ removeKey?: Maybe; @@ -13530,6 +15102,7 @@ export type ZendeskTicketInput = { organizationId?: InputMaybe; priority: TicketPriority; subject: Scalars['String']; + uploadToken?: InputMaybe; }; export type SupergraphForGraphRefQueryVariables = Exact<{ diff --git a/yarn.lock b/yarn.lock index a8fae02..3fd960a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,11 @@ # yarn lockfile v1 +"@aashutoshrathi/word-wrap@^1.2.3": + version "1.2.6" + resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== + "@ampproject/remapping@^2.1.0": version "2.1.2" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.2.tgz#4edca94973ded9630d20101cd8559cedb8d8bd34" @@ -9,32 +14,32 @@ dependencies: "@jridgewell/trace-mapping" "^0.3.0" -"@apollo/composition@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.5.1.tgz#436e0650be49210beac3344fbf9f0bb04daab476" - integrity sha512-oLMlDF27Wr9Ao4JlGFQ3GJZU4S23qeClHJpcDDPZIC4j/5hDsU3Exw9kUtyFmENYOJ2Y4q1CEBd3yryX/oa6ww== +"@apollo/composition@2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@apollo/composition/-/composition-2.6.3.tgz#f8bc0eb6fc437c06dd65f083cf60eb2f7e01e01b" + integrity sha512-7Q6xITvZifAWXPzN1ZkqMss9mBZgCL1hdKmM117UhqOfYrZ331DdUaln4I07Ae7wjXEg0KUb7AElx/1x+gm6qg== dependencies: - "@apollo/federation-internals" "2.5.1" - "@apollo/query-graphs" "2.5.1" + "@apollo/federation-internals" "2.6.3" + "@apollo/query-graphs" "2.6.3" -"@apollo/federation-internals@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.5.1.tgz#059f186bd21dbf8439c05ff214617db3484bb096" - integrity sha512-+TSt+GJWBeDiHRsLhaake2sYDni2yW3f4xRSq3+I6vsHs1GIcKgUbhq4fiDe61v6OXU1IckuI+TELRSMZNNh6A== +"@apollo/federation-internals@2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@apollo/federation-internals/-/federation-internals-2.6.3.tgz#88819096c942fc8a7fb649d0214d5f406a5380a8" + integrity sha512-Motm6p4C4t1lUXOq9kIVyP6jANSymiUgfwc0TYjeSehKRFq6qxv9L2gPSVFvyfm/gI+gLlDscDN63YtxpUzqhQ== dependencies: "@types/uuid" "^9.0.0" chalk "^4.1.0" js-levenshtein "^1.1.6" uuid "^9.0.0" -"@apollo/gateway@^2.5.0": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.5.1.tgz#e7a1c39ea76191c079b72a4825f341672e5aaec9" - integrity sha512-Df3HnlaGZNAR/DyJFKfsmUQhRNAupwXesWu4DBU5m34NGMjGqImhgSUlRUjmhSgSMIekuuvaOK9b/jcgIuvyUQ== +"@apollo/gateway@^2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@apollo/gateway/-/gateway-2.6.3.tgz#71d1e73786c98470021e7bdaafc0cae4cf5b7ca6" + integrity sha512-/p1eyRPqWsoVH94/q3tqeLMk7q6CZ5pl7C8lLtANCx/2mYwmLlGcP4RNdKAFyd3K6zR7/VXNdfDIRWZ+AqCkEg== dependencies: - "@apollo/composition" "2.5.1" - "@apollo/federation-internals" "2.5.1" - "@apollo/query-planner" "2.5.1" + "@apollo/composition" "2.6.3" + "@apollo/federation-internals" "2.6.3" + "@apollo/query-planner" "2.6.3" "@apollo/server-gateway-interface" "^1.1.0" "@apollo/usage-reporting-protobuf" "^4.1.0" "@apollo/utils.createhash" "^2.0.0" @@ -69,23 +74,23 @@ "@types/long" "^4.0.0" long "^4.0.0" -"@apollo/query-graphs@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.5.1.tgz#67794ca46811fe860d3f67d13bf7caee25afc018" - integrity sha512-pZOSj30Kc99xA+8+Mzpp1sTtC5Z6JVlx5tWtjZOeQDtSgNwgVQEwHLP3qHrfycofzMoj+Bk6v1bX8fvKJ2RvDA== +"@apollo/query-graphs@2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@apollo/query-graphs/-/query-graphs-2.6.3.tgz#de3fa5a514a02b6b0413eb2daa56f92e30ff9d31" + integrity sha512-h+39kWnVq8GzhSyE2HGg4CKpzTDj1480EcLFuSk11QSN99uXjqwwciY5J83tlaSBONni0TvJ6Efctvp6ag0Xpw== dependencies: - "@apollo/federation-internals" "2.5.1" + "@apollo/federation-internals" "2.6.3" deep-equal "^2.0.5" ts-graphviz "^1.5.4" uuid "^9.0.0" -"@apollo/query-planner@2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.5.1.tgz#281399f0623cfec5857c1f7e177f691f2b266fcf" - integrity sha512-RPs28QW6rsmTGGhbLBzAltlSCvKEAsv4Dhj/IeR2KPzmj44/27FPQtRf3xQa4Sb/hjjJ4P9Md0W5ybZJfDIMWg== +"@apollo/query-planner@2.6.3": + version "2.6.3" + resolved "https://registry.yarnpkg.com/@apollo/query-planner/-/query-planner-2.6.3.tgz#0a90191636d51da1e0f84458b7580fec6ba33d92" + integrity sha512-wH7VaIDPhbSs7/UrihvMHWBvfooIoH4WKpyBj50Syf7TOFWmrWWihB+Gf5pdR2Q14pKxM0QihIxGdXK3XABBag== dependencies: - "@apollo/federation-internals" "2.5.1" - "@apollo/query-graphs" "2.5.1" + "@apollo/federation-internals" "2.6.3" + "@apollo/query-graphs" "2.6.3" "@apollo/utils.keyvaluecache" "^2.1.0" chalk "^4.1.0" deep-equal "^2.0.5" @@ -169,7 +174,7 @@ signedsource "^1.0.0" yargs "^15.3.1" -"@ardatan/sync-fetch@0.0.1": +"@ardatan/sync-fetch@0.0.1", "@ardatan/sync-fetch@^0.0.1": version "0.0.1" resolved "https://registry.yarnpkg.com/@ardatan/sync-fetch/-/sync-fetch-0.0.1.tgz#3385d3feedceb60a896518a1db857ec1e945348f" integrity sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA== @@ -334,6 +339,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5" integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA== +"@babel/helper-plugin-utils@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + "@babel/helper-replace-supers@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz#e9f5f5f32ac90429c1a4bdec0f231ef0c2838ab1" @@ -456,6 +466,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" +"@babel/plugin-syntax-import-assertions@^7.20.0": + version "7.23.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz#9c05a7f592982aff1a2768260ad84bcd3f0c77fc" + integrity sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx@^7.0.0", "@babel/plugin-syntax-jsx@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz#50b6571d13f764266a113d77c82b4a6508bbe665" @@ -694,79 +711,95 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@eslint/eslintrc@^1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.3.tgz#2b044ab39fdfa75b4688184f9e573ce3c5b0ff95" - integrity sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg== +"@eslint-community/eslint-utils@^4.2.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.6.1": + version "4.10.0" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" + integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== + +"@eslint/eslintrc@^2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== dependencies: ajv "^6.12.4" debug "^4.3.2" - espree "^9.4.0" - globals "^13.15.0" + espree "^9.6.0" + globals "^13.19.0" ignore "^5.2.0" import-fresh "^3.2.1" js-yaml "^4.1.0" minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@eslint/js@8.56.0": + version "8.56.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" + integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== + "@gar/promisify@^1.1.3": version "1.1.3" resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@graphql-codegen/cli@^2.13.12": - version "2.13.12" - resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-2.13.12.tgz#5ee91c95a47d8eeab365d93a8bf21da764c6a7be" - integrity sha512-9pr39oseKQyQvm1tRFvW/2kt8c5JmT8u+5X6FZVBqWE18l1g4hB+XOeUNg/oEBdeDfiP7bvYjtQYOZaToXz9IQ== +"@graphql-codegen/cli@^2.16.1": + version "2.16.5" + resolved "https://registry.yarnpkg.com/@graphql-codegen/cli/-/cli-2.16.5.tgz#b3b5eeec357af01c1cb72f6a4ea96e52bd49e662" + integrity sha512-XYPIp+q7fB0xAGSAoRykiTe4oY80VU+z+dw5nuv4mLY0+pv7+pa2C6Nwhdw7a65lXOhFviBApWCCZeqd54SMnA== dependencies: "@babel/generator" "^7.18.13" "@babel/template" "^7.18.10" "@babel/types" "^7.18.13" - "@graphql-codegen/core" "2.6.6" - "@graphql-codegen/plugin-helpers" "^2.7.2" + "@graphql-codegen/core" "^2.6.8" + "@graphql-codegen/plugin-helpers" "^3.1.2" "@graphql-tools/apollo-engine-loader" "^7.3.6" - "@graphql-tools/code-file-loader" "^7.3.1" - "@graphql-tools/git-loader" "^7.2.1" - "@graphql-tools/github-loader" "^7.3.6" + "@graphql-tools/code-file-loader" "^7.3.13" + "@graphql-tools/git-loader" "^7.2.13" + "@graphql-tools/github-loader" "^7.3.20" "@graphql-tools/graphql-file-loader" "^7.5.0" "@graphql-tools/json-file-loader" "^7.4.1" - "@graphql-tools/load" "7.8.0" - "@graphql-tools/prisma-loader" "^7.2.7" + "@graphql-tools/load" "^7.8.0" + "@graphql-tools/prisma-loader" "^7.2.49" "@graphql-tools/url-loader" "^7.13.2" - "@graphql-tools/utils" "^8.9.0" - "@whatwg-node/fetch" "^0.3.0" - ansi-escapes "^4.3.1" + "@graphql-tools/utils" "^9.0.0" + "@whatwg-node/fetch" "^0.6.0" chalk "^4.1.0" chokidar "^3.5.2" cosmiconfig "^7.0.0" - cosmiconfig-typescript-loader "4.1.1" + cosmiconfig-typescript-loader "^4.3.0" debounce "^1.2.0" detect-indent "^6.0.0" - graphql-config "4.3.6" + graphql-config "^4.4.0" inquirer "^8.0.0" is-glob "^4.0.1" json-to-pretty-yaml "^1.2.2" listr2 "^4.0.5" log-symbols "^4.0.0" - mkdirp "^1.0.4" shell-quote "^1.7.3" string-env-interpolation "^1.0.1" ts-log "^2.2.3" + ts-node "^10.9.1" tslib "^2.4.0" yaml "^1.10.0" yargs "^17.0.0" -"@graphql-codegen/core@2.6.6": - version "2.6.6" - resolved "https://registry.yarnpkg.com/@graphql-codegen/core/-/core-2.6.6.tgz#e6ea99682230c5bbcf28cb247672da7f17e78578" - integrity sha512-gU2FUxoLGw2GfcPWfBVXuiN3aDODbZ6Z9I+IGxa2u1Rzxlacw4TMmcwr4/IjC6mkiYJEKTvdVspHaby+brhuAg== +"@graphql-codegen/core@^2.6.8": + version "2.6.8" + resolved "https://registry.yarnpkg.com/@graphql-codegen/core/-/core-2.6.8.tgz#00c4011e3619ddbc6af5e41b2f254d6f6759556e" + integrity sha512-JKllNIipPrheRgl+/Hm/xuWMw9++xNQ12XJR/OHHgFopOg4zmN3TdlRSyYcv/K90hCFkkIwhlHFUQTfKrm8rxQ== dependencies: - "@graphql-codegen/plugin-helpers" "^2.7.2" + "@graphql-codegen/plugin-helpers" "^3.1.1" "@graphql-tools/schema" "^9.0.0" "@graphql-tools/utils" "^9.1.1" tslib "~2.4.0" -"@graphql-codegen/plugin-helpers@^2.6.2", "@graphql-codegen/plugin-helpers@^2.7.2": +"@graphql-codegen/plugin-helpers@^2.7.2": version "2.7.2" resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-2.7.2.tgz#6544f739d725441c826a8af6a49519f588ff9bed" integrity sha512-kln2AZ12uii6U59OQXdjLk5nOlh1pHis1R98cDZGFnfaiAbX9V3fxcZ1MMJkB7qFUymTALzyjZoXXdyVmPMfRg== @@ -778,44 +811,56 @@ lodash "~4.17.0" tslib "~2.4.0" -"@graphql-codegen/schema-ast@^2.5.1": - version "2.5.1" - resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-2.5.1.tgz#ce030ae6de5dacd745848009ba0ca18c9c30910c" - integrity sha512-tewa5DEKbglWn7kYyVBkh3J8YQ5ALqAMVmZwiVFIGOao5u66nd+e4HuFqp0u+Jpz4SJGGi0ap/oFrEvlqLjd2A== +"@graphql-codegen/plugin-helpers@^3.0.0", "@graphql-codegen/plugin-helpers@^3.1.1", "@graphql-codegen/plugin-helpers@^3.1.2": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-3.1.2.tgz#69a2e91178f478ea6849846ade0a59a844d34389" + integrity sha512-emOQiHyIliVOIjKVKdsI5MXj312zmRDwmHpyUTZMjfpvxq/UVAHUJIVdVf+lnjjrI+LXBTgMlTWTgHQfmICxjg== dependencies: - "@graphql-codegen/plugin-helpers" "^2.6.2" - "@graphql-tools/utils" "^8.8.0" + "@graphql-tools/utils" "^9.0.0" + change-case-all "1.0.15" + common-tags "1.8.2" + import-from "4.0.0" + lodash "~4.17.0" + tslib "~2.4.0" + +"@graphql-codegen/schema-ast@^2.6.1": + version "2.6.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-2.6.1.tgz#8ba1b38827c034b51ecd3ce88622c2ae6cd3fe1a" + integrity sha512-5TNW3b1IHJjCh07D2yQNGDQzUpUl2AD+GVe1Dzjqyx/d2Fn0TPMxLsHsKPS4Plg4saO8FK/QO70wLsP7fdbQ1w== + dependencies: + "@graphql-codegen/plugin-helpers" "^3.1.2" + "@graphql-tools/utils" "^9.0.0" tslib "~2.4.0" -"@graphql-codegen/typescript-graphql-request@^4.5.8": - version "4.5.8" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-graphql-request/-/typescript-graphql-request-4.5.8.tgz#55a609de168f4bf7b66f353b7ba4b1a21113c921" - integrity sha512-XsuAA35Ou03LsklNgnIWXZ5HOHsJ5w1dBuDKtvqM9rD0cAI8x0f4TY0n6O1EraSBSvyHLP3npb1lOTPZzG2TjA== +"@graphql-codegen/typescript-graphql-request@^4.5.9": + version "4.5.9" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-graphql-request/-/typescript-graphql-request-4.5.9.tgz#d8a9488b7419cabf2ca98ae3936e82b9d244f2e9" + integrity sha512-Vtv5qymUXcR4UFdHOlJHzK5TN+CZUwMwFDGb3n4Gjcr4yln1BWbUb7DXgD0GHzpXwDIj5G2XmJnFtr0jihBfrg== dependencies: - "@graphql-codegen/plugin-helpers" "^2.7.2" + "@graphql-codegen/plugin-helpers" "^3.0.0" "@graphql-codegen/visitor-plugin-common" "2.13.1" auto-bind "~4.0.0" tslib "~2.4.0" -"@graphql-codegen/typescript-operations@^2.5.7": - version "2.5.7" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-2.5.7.tgz#324bec408ef1ab26eece9d0ace1d5780a2f9dd42" - integrity sha512-4TRyQy/GizcjkZsvN176C5O5bULyGB/lMXDWqg58A9AGf/P0n5n4QjgrMd2EG6tA3Xzg1tiBWhxYEFSmlPVETQ== +"@graphql-codegen/typescript-operations@^2.5.13": + version "2.5.13" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-operations/-/typescript-operations-2.5.13.tgz#f286c37f9c023356aacaa983ebd32e9e021a05ca" + integrity sha512-3vfR6Rx6iZU0JRt29GBkFlrSNTM6t+MSLF86ChvL4d/Jfo/JYAGuB3zNzPhirHYzJPCvLOAx2gy9ID1ltrpYiw== dependencies: - "@graphql-codegen/plugin-helpers" "^2.7.2" - "@graphql-codegen/typescript" "^2.8.2" - "@graphql-codegen/visitor-plugin-common" "2.13.2" + "@graphql-codegen/plugin-helpers" "^3.1.2" + "@graphql-codegen/typescript" "^2.8.8" + "@graphql-codegen/visitor-plugin-common" "2.13.8" auto-bind "~4.0.0" tslib "~2.4.0" -"@graphql-codegen/typescript@^2.8.2": - version "2.8.2" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-2.8.2.tgz#88d5b916d9b6c93b17d2300a0ddddda5696581c1" - integrity sha512-FWyEcJTHSxkImNgDRfsg4yBMJ11qPA6sPJ7v8Kviv5MaOFybclVSZ8WWfp7D8Dc6ix4zWfMd4dIl9ZIL/AJu8A== +"@graphql-codegen/typescript@^2.8.8": + version "2.8.8" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-2.8.8.tgz#8c3b9153e334db43c65f8f31ced69b4c60d14861" + integrity sha512-A0oUi3Oy6+DormOlrTC4orxT9OBZkIglhbJBcDmk34jAKKUgesukXRd4yOhmTrnbchpXz2T8IAOFB3FWIaK4Rw== dependencies: - "@graphql-codegen/plugin-helpers" "^2.7.2" - "@graphql-codegen/schema-ast" "^2.5.1" - "@graphql-codegen/visitor-plugin-common" "2.13.2" + "@graphql-codegen/plugin-helpers" "^3.1.2" + "@graphql-codegen/schema-ast" "^2.6.1" + "@graphql-codegen/visitor-plugin-common" "2.13.8" auto-bind "~4.0.0" tslib "~2.4.0" @@ -835,17 +880,17 @@ parse-filepath "^1.0.2" tslib "~2.4.0" -"@graphql-codegen/visitor-plugin-common@2.13.2": - version "2.13.2" - resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-2.13.2.tgz#cccc287d9b7eb25d9b8e54672a3807c1502c8091" - integrity sha512-qCZ4nfI1YjDuPz4lqGi0s4/5lOqHxdiQPFSwrXDENjHW+Z0oAiNYj6CFqob9ai2tLtXXKSUzMh/eeZDPmTrfhQ== +"@graphql-codegen/visitor-plugin-common@2.13.8": + version "2.13.8" + resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-2.13.8.tgz#09bc6317b227e5a278f394f4cef0d6c2d1910597" + integrity sha512-IQWu99YV4wt8hGxIbBQPtqRuaWZhkQRG2IZKbMoSvh0vGeWb3dB0n0hSgKaOOxDY+tljtOf9MTcUYvJslQucMQ== dependencies: - "@graphql-codegen/plugin-helpers" "^2.7.2" + "@graphql-codegen/plugin-helpers" "^3.1.2" "@graphql-tools/optimize" "^1.3.0" "@graphql-tools/relay-operation-optimizer" "^6.5.0" - "@graphql-tools/utils" "^8.8.0" + "@graphql-tools/utils" "^9.0.0" auto-bind "~4.0.0" - change-case-all "1.0.14" + change-case-all "1.0.15" dependency-graph "^0.11.0" graphql-tag "^2.11.0" parse-filepath "^1.0.2" @@ -871,13 +916,23 @@ tslib "^2.4.0" value-or-promise "1.0.11" -"@graphql-tools/code-file-loader@^7.3.1": - version "7.3.12" - resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-7.3.12.tgz#f3038b58f2bca369d2e5a4a487a9dbe7fd24d9b0" - integrity sha512-XflxElA2FNPDgicUZr4UF6NVlvPHFOKd1u8KAb/nHSlUT70qcvIPFfRASSuEvLMGYuW/lrFZfgi2z0BV6P5Vqw== +"@graphql-tools/batch-execute@^8.5.22": + version "8.5.22" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.5.22.tgz#a742aa9d138fe794e786d8fb6429665dc7df5455" + integrity sha512-hcV1JaY6NJQFQEwCKrYhpfLK8frSXDbtNMoTur98u10Cmecy1zrqNKSqhEyGetpgHxaJRqszGzKeI3RuroDN6A== dependencies: - "@graphql-tools/graphql-tag-pluck" "7.3.12" - "@graphql-tools/utils" "9.1.1" + "@graphql-tools/utils" "^9.2.1" + dataloader "^2.2.2" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/code-file-loader@^7.3.13": + version "7.3.23" + resolved "https://registry.yarnpkg.com/@graphql-tools/code-file-loader/-/code-file-loader-7.3.23.tgz#33793f9a1f8e74981f8ae6ec4ab7061f9713db15" + integrity sha512-8Wt1rTtyTEs0p47uzsPJ1vAtfAx0jmxPifiNdmo9EOCuUPyQGEbMaik/YkqZ7QUFIEYEQu+Vgfo8tElwOPtx5Q== + dependencies: + "@graphql-tools/graphql-tag-pluck" "7.5.2" + "@graphql-tools/utils" "^9.2.1" globby "^11.0.3" tslib "^2.4.0" unixify "^1.0.0" @@ -895,6 +950,19 @@ tslib "~2.4.0" value-or-promise "1.0.11" +"@graphql-tools/delegate@^9.0.31": + version "9.0.35" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-9.0.35.tgz#94683f4bcec63520b4a6c8b2abf2e2e9324ea4f1" + integrity sha512-jwPu8NJbzRRMqi4Vp/5QX1vIUeUPpWmlQpOkXQD2r1X45YsVceyUUBnktCrlJlDB4jPRVy7JQGwmYo3KFiOBMA== + dependencies: + "@graphql-tools/batch-execute" "^8.5.22" + "@graphql-tools/executor" "^0.0.20" + "@graphql-tools/schema" "^9.0.19" + "@graphql-tools/utils" "^9.2.1" + dataloader "^2.2.2" + tslib "^2.5.0" + value-or-promise "^1.0.12" + "@graphql-tools/executor-graphql-ws@0.0.3": version "0.0.3" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-0.0.3.tgz#5cbc6adca46cf46a3b5e208976a978b26221678b" @@ -908,6 +976,19 @@ tslib "^2.4.0" ws "8.11.0" +"@graphql-tools/executor-graphql-ws@^0.0.14": + version "0.0.14" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-graphql-ws/-/executor-graphql-ws-0.0.14.tgz#e0f53fc4cfc8a06cc461b2bc1edb4bb9a8e837ed" + integrity sha512-P2nlkAsPZKLIXImFhj0YTtny5NQVGSsKnhi7PzXiaHSXc6KkzqbWZHKvikD4PObanqg+7IO58rKFpGXP7eeO+w== + dependencies: + "@graphql-tools/utils" "^9.2.1" + "@repeaterjs/repeater" "3.0.4" + "@types/ws" "^8.0.0" + graphql-ws "5.12.1" + isomorphic-ws "5.0.0" + tslib "^2.4.0" + ws "8.13.0" + "@graphql-tools/executor-http@0.0.3": version "0.0.3" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-0.0.3.tgz#adfec46a7814c7f7082005a374d944900ea18018" @@ -922,6 +1003,20 @@ tslib "^2.4.0" value-or-promise "1.0.11" +"@graphql-tools/executor-http@^0.1.7", "@graphql-tools/executor-http@^0.1.9": + version "0.1.10" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-http/-/executor-http-0.1.10.tgz#faf48e18e62a925796c9653c2f50cf2095bc8e6f" + integrity sha512-hnAfbKv0/lb9s31LhWzawQ5hghBfHS+gYWtqxME6Rl0Aufq9GltiiLBcl7OVVOnkLF0KhwgbYP1mB5VKmgTGpg== + dependencies: + "@graphql-tools/utils" "^9.2.1" + "@repeaterjs/repeater" "^3.0.4" + "@whatwg-node/fetch" "^0.8.1" + dset "^3.1.2" + extract-files "^11.0.0" + meros "^1.2.1" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-tools/executor-legacy-ws@0.0.3": version "0.0.3" resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-0.0.3.tgz#6d01d319989b2013c90cb548677272b985fd37c9" @@ -933,6 +1028,17 @@ tslib "^2.4.0" ws "8.11.0" +"@graphql-tools/executor-legacy-ws@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor-legacy-ws/-/executor-legacy-ws-0.0.11.tgz#a1e12be8279e92a363a23d4105461a34cd9e389e" + integrity sha512-4ai+NnxlNfvIQ4c70hWFvOZlSUN8lt7yc+ZsrwtNFbFPH/EroIzFMapAxM9zwyv9bH38AdO3TQxZ5zNxgBdvUw== + dependencies: + "@graphql-tools/utils" "^9.2.1" + "@types/ws" "^8.0.0" + isomorphic-ws "5.0.0" + tslib "^2.4.0" + ws "8.13.0" + "@graphql-tools/executor@0.0.9": version "0.0.9" resolved "https://registry.yarnpkg.com/@graphql-tools/executor/-/executor-0.0.9.tgz#f55f8cbe12d7989b0ff58cca9a041fbdde3dbd40" @@ -944,28 +1050,41 @@ tslib "^2.4.0" value-or-promise "1.0.11" -"@graphql-tools/git-loader@^7.2.1": - version "7.2.12" - resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-7.2.12.tgz#1e144b5a2de4c6d6faa8958537ee7aa8c25dd625" - integrity sha512-9YnkOikUTPMMlFw2F8Uvd1lPzbciwVo3E5WRsAN4bLeGnVcDAuf0QxElvpcAEhD5ctQR/VKlhuzm/5DyzgTBww== +"@graphql-tools/executor@^0.0.20": + version "0.0.20" + resolved "https://registry.yarnpkg.com/@graphql-tools/executor/-/executor-0.0.20.tgz#d51d159696e839522dd49d936636af251670e425" + integrity sha512-GdvNc4vszmfeGvUqlcaH1FjBoguvMYzxAfT6tDd4/LgwymepHhinqLNA5otqwVLW+JETcDaK7xGENzFomuE6TA== dependencies: - "@graphql-tools/graphql-tag-pluck" "7.3.12" - "@graphql-tools/utils" "9.1.1" + "@graphql-tools/utils" "^9.2.1" + "@graphql-typed-document-node/core" "3.2.0" + "@repeaterjs/repeater" "^3.0.4" + tslib "^2.4.0" + value-or-promise "^1.0.12" + +"@graphql-tools/git-loader@^7.2.13": + version "7.3.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/git-loader/-/git-loader-7.3.0.tgz#ca10c17d4f58c4592432d9d2ac1c2b393aebad16" + integrity sha512-gcGAK+u16eHkwsMYqqghZbmDquh8QaO24Scsxq+cVR+vx1ekRlsEiXvu+yXVDbZdcJ6PBIbeLcQbEu+xhDLmvQ== + dependencies: + "@graphql-tools/graphql-tag-pluck" "7.5.2" + "@graphql-tools/utils" "^9.2.1" is-glob "4.0.3" micromatch "^4.0.4" tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/github-loader@^7.3.6": - version "7.3.19" - resolved "https://registry.yarnpkg.com/@graphql-tools/github-loader/-/github-loader-7.3.19.tgz#16aac8bc71ab77f3edca96d9d7c047b3cffddd3b" - integrity sha512-/IAe1zmtMFaxx2fiEWXXsExWn5akjjhBn06mfcewo1o27E+Pkg1E0H8QHwsmSN7wqXNUzph7V/C9jlA8kO3pvg== +"@graphql-tools/github-loader@^7.3.20": + version "7.3.28" + resolved "https://registry.yarnpkg.com/@graphql-tools/github-loader/-/github-loader-7.3.28.tgz#a7166b136e8442bd8b3ab943ad3b66c84bcabfcf" + integrity sha512-OK92Lf9pmxPQvjUNv05b3tnVhw0JRfPqOf15jZjyQ8BfdEUrJoP32b4dRQQem/wyRL24KY4wOfArJNqzpsbwCA== dependencies: - "@ardatan/sync-fetch" "0.0.1" - "@graphql-tools/graphql-tag-pluck" "7.3.12" - "@graphql-tools/utils" "9.1.1" - "@whatwg-node/fetch" "^0.5.0" + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/executor-http" "^0.1.9" + "@graphql-tools/graphql-tag-pluck" "^7.4.6" + "@graphql-tools/utils" "^9.2.1" + "@whatwg-node/fetch" "^0.8.0" tslib "^2.4.0" + value-or-promise "^1.0.12" "@graphql-tools/graphql-file-loader@^7.3.7", "@graphql-tools/graphql-file-loader@^7.5.0": version "7.5.11" @@ -978,15 +1097,16 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/graphql-tag-pluck@7.3.12": - version "7.3.12" - resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.3.12.tgz#204e1048f92d8e3fa5d0cd39e837dd47e4ca8b96" - integrity sha512-B92+Q6xPgAKj4z+06vVWdx/7KPlh6vHgIkCg+9hJ2duYBUyEGn39YNdjjWvsGgl3N2G5/BOVFJRmdgLG1k79Xg== +"@graphql-tools/graphql-tag-pluck@7.5.2", "@graphql-tools/graphql-tag-pluck@^7.4.6": + version "7.5.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/graphql-tag-pluck/-/graphql-tag-pluck-7.5.2.tgz#502f1e066e19d832ebdeba5f571d7636dc27572d" + integrity sha512-RW+H8FqOOLQw0BPXaahYepVSRjuOHw+7IL8Opaa5G5uYGOBxoXR7DceyQ7BcpMgktAOOmpDNQ2WtcboChOJSRA== dependencies: "@babel/parser" "^7.16.8" + "@babel/plugin-syntax-import-assertions" "^7.20.0" "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" - "@graphql-tools/utils" "9.1.1" + "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" "@graphql-tools/import@6.7.12": @@ -1008,16 +1128,6 @@ tslib "^2.4.0" unixify "^1.0.0" -"@graphql-tools/load@7.8.0": - version "7.8.0" - resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-7.8.0.tgz#bd4d2e2a5117de9a60f9691a218217e96afc2ea7" - integrity sha512-l4FGgqMW0VOqo+NMYizwV8Zh+KtvVqOf93uaLo9wJ3sS3y/egPCgxPMDJJ/ufQZG3oZ/0oWeKt68qop3jY0yZg== - dependencies: - "@graphql-tools/schema" "9.0.4" - "@graphql-tools/utils" "8.12.0" - p-limit "3.1.0" - tslib "^2.4.0" - "@graphql-tools/load@^7.5.5": version "7.8.6" resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-7.8.6.tgz#f0c5d7852337f8c7e4b88a9a7d63255d29d98395" @@ -1028,6 +1138,16 @@ p-limit "3.1.0" tslib "^2.4.0" +"@graphql-tools/load@^7.8.0": + version "7.8.14" + resolved "https://registry.yarnpkg.com/@graphql-tools/load/-/load-7.8.14.tgz#f2356f9a5f658a42e33934ae036e4b2cadf2d1e9" + integrity sha512-ASQvP+snHMYm+FhIaLxxFgVdRaM0vrN9wW2BKInQpktwWTXVyk+yP5nQUCEGmn0RTdlPKrffBaigxepkEAJPrg== + dependencies: + "@graphql-tools/schema" "^9.0.18" + "@graphql-tools/utils" "^9.2.1" + p-limit "3.1.0" + tslib "^2.4.0" + "@graphql-tools/merge@8.3.12", "@graphql-tools/merge@^8.2.6": version "8.3.12" resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.3.12.tgz#e3f2e5d8a7b34fb689cda66799d845cbc919e464" @@ -1036,12 +1156,12 @@ "@graphql-tools/utils" "9.1.1" tslib "^2.4.0" -"@graphql-tools/merge@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.3.6.tgz#97a936d4c8e8f935e58a514bb516c476437b5b2c" - integrity sha512-uUBokxXi89bj08P+iCvQk3Vew4vcfL5ZM6NTylWi8PIpoq4r5nJ625bRuN8h2uubEdRiH8ntN9M4xkd/j7AybQ== +"@graphql-tools/merge@^8.4.1": + version "8.4.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.4.2.tgz#95778bbe26b635e8d2f60ce9856b388f11fe8288" + integrity sha512-XbrHAaj8yDuINph+sAfuq3QCZ/tKblrTLOpirK0+CAgNlZUCHs0Fa+xtMUURgwCVThLle1AF7svJCxFizygLsw== dependencies: - "@graphql-tools/utils" "8.12.0" + "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" "@graphql-tools/optimize@^1.3.0": @@ -1051,26 +1171,25 @@ dependencies: tslib "^2.4.0" -"@graphql-tools/prisma-loader@^7.2.7": - version "7.2.37" - resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-7.2.37.tgz#79bbfea8e5f09cd24bd5d9c686e6367af53aafd1" - integrity sha512-6O18hT/LRAUMhWh28MjHzvZB6Ad8SGWhmQlgKlQUJGo8MR2uhk14m/VelZBdsiDcN7F84+leZE9XvCERncqvSQ== +"@graphql-tools/prisma-loader@^7.2.49": + version "7.2.72" + resolved "https://registry.yarnpkg.com/@graphql-tools/prisma-loader/-/prisma-loader-7.2.72.tgz#6304fc23600458396f3ede713d8e2371df7850e3" + integrity sha512-0a7uV7Fky6yDqd0tI9+XMuvgIo6GAqiVzzzFV4OSLry4AwiQlI3igYseBV7ZVOGhedOTqj/URxjpiv07hRcwag== dependencies: - "@graphql-tools/url-loader" "7.16.17" - "@graphql-tools/utils" "9.1.1" + "@graphql-tools/url-loader" "^7.17.18" + "@graphql-tools/utils" "^9.2.1" "@types/js-yaml" "^4.0.0" "@types/json-stable-stringify" "^1.0.32" - "@types/jsonwebtoken" "^8.5.0" + "@whatwg-node/fetch" "^0.8.2" chalk "^4.1.0" debug "^4.3.1" dotenv "^16.0.0" - graphql-request "^5.0.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - isomorphic-fetch "^3.0.0" + graphql-request "^6.0.0" + http-proxy-agent "^6.0.0" + https-proxy-agent "^6.0.0" + jose "^4.11.4" js-yaml "^4.0.0" json-stable-stringify "^1.0.1" - jsonwebtoken "^8.5.1" lodash "^4.17.20" scuid "^1.1.0" tslib "^2.4.0" @@ -1095,17 +1214,17 @@ tslib "^2.4.0" value-or-promise "1.0.11" -"@graphql-tools/schema@9.0.4": - version "9.0.4" - resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-9.0.4.tgz#1a74608b57abf90fae6fd929d25e5482c57bc05d" - integrity sha512-B/b8ukjs18fq+/s7p97P8L1VMrwapYc3N2KvdG/uNThSazRRn8GsBK0Nr+FH+mVKiUfb4Dno79e3SumZVoHuOQ== +"@graphql-tools/schema@^9.0.18", "@graphql-tools/schema@^9.0.19": + version "9.0.19" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-9.0.19.tgz#c4ad373b5e1b8a0cf365163435b7d236ebdd06e7" + integrity sha512-oBRPoNBtCkk0zbUsyP4GaIzCt8C0aCI4ycIRUL67KK5pOHljKLBBtGT+Jr6hkzA74C8Gco8bpZPe7aWFjiaK2w== dependencies: - "@graphql-tools/merge" "8.3.6" - "@graphql-tools/utils" "8.12.0" + "@graphql-tools/merge" "^8.4.1" + "@graphql-tools/utils" "^9.2.1" tslib "^2.4.0" - value-or-promise "1.0.11" + value-or-promise "^1.0.12" -"@graphql-tools/url-loader@7.16.17", "@graphql-tools/url-loader@^7.13.2", "@graphql-tools/url-loader@^7.9.7": +"@graphql-tools/url-loader@^7.13.2", "@graphql-tools/url-loader@^7.9.7": version "7.16.17" resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.16.17.tgz#73edd2881101f1367ef24a0d5e3593345cb45e62" integrity sha512-foI9ZKG2ILN2Aj308Sx54+QMYCr1MkP5CNpBFzYzrizWq/MbG3rEycIy+Q+BrxF+cU/Ms4hGcT9+0Gy9oi6Fow== @@ -1124,12 +1243,24 @@ value-or-promise "^1.0.11" ws "8.11.0" -"@graphql-tools/utils@8.12.0": - version "8.12.0" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.12.0.tgz#243bc4f5fc2edbc9e8fd1038189e57d837cbe31f" - integrity sha512-TeO+MJWGXjUTS52qfK4R8HiPoF/R7X+qmgtOYd8DTH0l6b+5Y/tlg5aGeUJefqImRq7nvi93Ms40k/Uz4D5CWw== - dependencies: +"@graphql-tools/url-loader@^7.17.18": + version "7.17.18" + resolved "https://registry.yarnpkg.com/@graphql-tools/url-loader/-/url-loader-7.17.18.tgz#3e253594d23483e4c0dd3a4c3dd2ad5cd0141192" + integrity sha512-ear0CiyTj04jCVAxi7TvgbnGDIN2HgqzXzwsfcqiVg9cvjT40NcMlZ2P1lZDgqMkZ9oyLTV8Bw6j+SyG6A+xPw== + dependencies: + "@ardatan/sync-fetch" "^0.0.1" + "@graphql-tools/delegate" "^9.0.31" + "@graphql-tools/executor-graphql-ws" "^0.0.14" + "@graphql-tools/executor-http" "^0.1.7" + "@graphql-tools/executor-legacy-ws" "^0.0.11" + "@graphql-tools/utils" "^9.2.1" + "@graphql-tools/wrap" "^9.4.2" + "@types/ws" "^8.0.0" + "@whatwg-node/fetch" "^0.8.0" + isomorphic-ws "^5.0.0" tslib "^2.4.0" + value-or-promise "^1.0.11" + ws "^8.12.0" "@graphql-tools/utils@9.1.1", "@graphql-tools/utils@^9.1.1": version "9.1.1" @@ -1138,13 +1269,21 @@ dependencies: tslib "^2.4.0" -"@graphql-tools/utils@^8.6.5", "@graphql-tools/utils@^8.8.0", "@graphql-tools/utils@^8.9.0": +"@graphql-tools/utils@^8.8.0": version "8.13.1" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.13.1.tgz#b247607e400365c2cd87ff54654d4ad25a7ac491" integrity sha512-qIh9yYpdUFmctVqovwMdheVNJqFh+DQNWIhX87FJStfXYnmweBUDATok9fWPleKeFwxnW8IapKmY8m8toJEkAw== dependencies: tslib "^2.4.0" +"@graphql-tools/utils@^9.0.0", "@graphql-tools/utils@^9.2.1": + version "9.2.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-9.2.1.tgz#1b3df0ef166cfa3eae706e3518b17d5922721c57" + integrity sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A== + dependencies: + "@graphql-typed-document-node/core" "^3.1.1" + tslib "^2.4.0" + "@graphql-tools/wrap@9.2.14": version "9.2.14" resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-9.2.14.tgz#4d25820496d5d1a218fc901b6b150f1e8a901893" @@ -1156,18 +1295,34 @@ tslib "^2.4.0" value-or-promise "1.0.11" +"@graphql-tools/wrap@^9.4.2": + version "9.4.2" + resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-9.4.2.tgz#30835587c4c73be1780908a7cb077d8013aa2703" + integrity sha512-DFcd9r51lmcEKn0JW43CWkkI2D6T9XI1juW/Yo86i04v43O9w2/k4/nx2XTJv4Yv+iXwUw7Ok81PGltwGJSDSA== + dependencies: + "@graphql-tools/delegate" "^9.0.31" + "@graphql-tools/schema" "^9.0.18" + "@graphql-tools/utils" "^9.2.1" + tslib "^2.4.0" + value-or-promise "^1.0.12" + "@graphql-typed-document-node/core@3.1.1", "@graphql-typed-document-node/core@^3.1.1": version "3.1.1" resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.1.1.tgz#076d78ce99822258cf813ecc1e7fa460fa74d052" integrity sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg== -"@humanwhocodes/config-array@^0.11.6": - version "0.11.7" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.7.tgz#38aec044c6c828f6ed51d5d7ae3d9b9faf6dbb0f" - integrity sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw== +"@graphql-typed-document-node/core@3.2.0", "@graphql-typed-document-node/core@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" + integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== + +"@humanwhocodes/config-array@^0.11.13": + version "0.11.14" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== dependencies: - "@humanwhocodes/object-schema" "^1.2.1" - debug "^4.1.1" + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": @@ -1175,15 +1330,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" - integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== - -"@iarna/toml@^2.2.5": - version "2.2.5" - resolved "https://registry.yarnpkg.com/@iarna/toml/-/toml-2.2.5.tgz#b32366c89b43c6f8cefbdefac778b9c828e3ba8c" - integrity sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg== +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" + integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== "@jest/schemas@^29.4.3": version "29.4.3" @@ -1389,6 +1539,11 @@ resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.4.tgz#a04d63f4d1bf5540a41b01a921c9a7fddc3bd1ca" integrity sha512-AW8PKd6iX3vAZ0vA43nOUOnbq/X5ihgU+mSXXqunMkeQADGiqw/PY0JNeYtD5sr0PAy51YPgAPbDoeapv9r8WA== +"@repeaterjs/repeater@^3.0.4": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@repeaterjs/repeater/-/repeater-3.0.5.tgz#b77571685410217a548a9c753aa3cdfc215bfc78" + integrity sha512-l3YHBLAol6d/IKnB9LhpD0cEZWAoe3eFKUyTYWmFmCO2Q/WOckxLQAUyMZWwZV2M/m3+4vgRoaolFqaII82/TA== + "@sinclair/typebox@^0.25.16": version "0.25.24" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.25.24.tgz#8c7688559979f7079aacaf31aa881c3aa410b718" @@ -1429,13 +1584,6 @@ resolved "https://registry.yarnpkg.com/@types/json-stable-stringify/-/json-stable-stringify-1.0.34.tgz#c0fb25e4d957e0ee2e497c1f553d7f8bb668fd75" integrity sha512-s2cfwagOQAS8o06TcwKfr9Wx11dNGbH2E9vJz1cqV+a/LOyhWNLUNd6JSRYNzvB4d29UuJX2M0Dj9vE1T8fRXw== -"@types/jsonwebtoken@^8.5.0": - version "8.5.8" - resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz#01b39711eb844777b7af1d1f2b4cf22fda1c0c44" - integrity sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A== - dependencies: - "@types/node" "*" - "@types/long@^4.0.0": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.1.tgz#459c65fa1867dafe6a8f322c4c51695663cc55e9" @@ -1471,6 +1619,21 @@ dependencies: "@types/node" "*" +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + +"@whatwg-node/events@^0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.2.tgz#7b7107268d2982fc7b7aff5ee6803c64018f84dd" + integrity sha512-WKj/lI4QjnLuPrim0cfO7i+HsDSXHxNv1y0CrJhdntuO3hxWZmnXCwNDnwOvry11OjRin6cgWNF+j/9Pn8TN4w== + +"@whatwg-node/events@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@whatwg-node/events/-/events-0.0.3.tgz#13a65dd4f5893f55280f766e29ae48074927acad" + integrity sha512-IqnKIDWfXBJkvy/k6tzskWTc2NK3LcqHlb+KHGCrjOCH4jfQckRX0NAiIcC/vIqQkzLYw2r2CTSwAxcrtcD6lA== + "@whatwg-node/fetch@0.5.1": version "0.5.1" resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.5.1.tgz#62c7e902ddfb7d16b0b31599d81628bbd22350a9" @@ -1485,21 +1648,6 @@ undici "^5.12.0" web-streams-polyfill "^3.2.0" -"@whatwg-node/fetch@^0.3.0": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.3.2.tgz#da4323795c26c135563ba01d49dc16037bec4287" - integrity sha512-Bs5zAWQs0tXsLa4mRmLw7Psps1EN78vPtgcLpw3qPY8s6UYPUM67zFZ9cy+7tZ64PXhfwzxJn+m7RH2Lq48RNQ== - dependencies: - "@peculiar/webcrypto" "^1.4.0" - abort-controller "^3.0.0" - busboy "^1.6.0" - event-target-polyfill "^0.0.3" - form-data-encoder "^1.7.1" - formdata-node "^4.3.1" - node-fetch "^2.6.7" - undici "^5.8.0" - web-streams-polyfill "^3.2.0" - "@whatwg-node/fetch@^0.5.0": version "0.5.3" resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.5.3.tgz#afbd38a2e5392d91318845b967529076ca654b9e" @@ -1514,6 +1662,48 @@ undici "^5.12.0" web-streams-polyfill "^3.2.0" +"@whatwg-node/fetch@^0.6.0": + version "0.6.9" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.6.9.tgz#6cc694cc0378e27b8dfed427c5bf633eda6972b9" + integrity sha512-JfrBCJdMu9n9OARc0e/hPHcD98/8Nz1CKSdGYDg6VbObDkV/Ys30xe5i/wPOatYbxuvatj1kfWeHf7iNX3i17w== + dependencies: + "@peculiar/webcrypto" "^1.4.0" + "@whatwg-node/node-fetch" "^0.0.5" + busboy "^1.6.0" + urlpattern-polyfill "^6.0.2" + web-streams-polyfill "^3.2.1" + +"@whatwg-node/fetch@^0.8.0", "@whatwg-node/fetch@^0.8.1", "@whatwg-node/fetch@^0.8.2": + version "0.8.8" + resolved "https://registry.yarnpkg.com/@whatwg-node/fetch/-/fetch-0.8.8.tgz#48c6ad0c6b7951a73e812f09dd22d75e9fa18cae" + integrity sha512-CdcjGC2vdKhc13KKxgsc6/616BQ7ooDIgPeTuAiE8qfCnS0mGzcfCOoZXypQSz73nxI+GWc7ZReIAVhxoE1KCg== + dependencies: + "@peculiar/webcrypto" "^1.4.0" + "@whatwg-node/node-fetch" "^0.3.6" + busboy "^1.6.0" + urlpattern-polyfill "^8.0.0" + web-streams-polyfill "^3.2.1" + +"@whatwg-node/node-fetch@^0.0.5": + version "0.0.5" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.0.5.tgz#bebf18891088e5e2fc449dea8d1bc94af5ec38df" + integrity sha512-hbccmaSZaItdsRuBKBEEhLoO+5oXJPxiyd0kG2xXd0Dh3Rt+vZn4pADHxuSiSHLd9CM+S2z4+IxlEGbWUgiz9g== + dependencies: + "@whatwg-node/events" "^0.0.2" + busboy "^1.6.0" + tslib "^2.3.1" + +"@whatwg-node/node-fetch@^0.3.6": + version "0.3.6" + resolved "https://registry.yarnpkg.com/@whatwg-node/node-fetch/-/node-fetch-0.3.6.tgz#e28816955f359916e2d830b68a64493124faa6d0" + integrity sha512-w9wKgDO4C95qnXZRwZTfCmLWqyRnooGjcIwG0wADWjw9/HN0p7dtvtgSvItZtUyNteEvgTrd8QojNEqV6DAGTA== + dependencies: + "@whatwg-node/events" "^0.0.3" + busboy "^1.6.0" + fast-querystring "^1.1.1" + fast-url-parser "^1.1.3" + tslib "^2.3.1" + abort-controller@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" @@ -1531,11 +1721,16 @@ acorn-walk@^8.1.1: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@^8.4.1, acorn@^8.8.0: +acorn@^8.4.1: version "8.8.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73" integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== +acorn@^8.9.0: + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== + agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -1543,6 +1738,13 @@ agent-base@6, agent-base@^6.0.2: dependencies: debug "4" +agent-base@^7.0.2, agent-base@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-7.1.0.tgz#536802b76bc0b34aa50195eb2442276d613e3434" + integrity sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg== + dependencies: + debug "^4.3.4" + agentkeepalive@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" @@ -1560,7 +1762,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.12.4: +ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1570,7 +1772,7 @@ ajv@^6.10.0, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-escapes@^4.2.1, ansi-escapes@^4.3.0, ansi-escapes@^4.3.1: +ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== @@ -1749,7 +1951,7 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^3.0.1, braces@~3.0.2: +braces@^3.0.1, braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -1774,11 +1976,6 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -buffer-equal-constant-time@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" - integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= - buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -1910,6 +2107,22 @@ change-case-all@1.0.14: upper-case "^2.0.2" upper-case-first "^2.0.2" +change-case-all@1.0.15: + version "1.0.15" + resolved "https://registry.yarnpkg.com/change-case-all/-/change-case-all-1.0.15.tgz#de29393167fc101d646cd76b0ef23e27d09756ad" + integrity sha512-3+GIFhk3sNuvFAJKU46o26OdzudQlPNBCu1ZQi3cMeMHhty1bhDxu2WrEilVNYaGvqUtR1VSigFcJOiS13dRhQ== + dependencies: + change-case "^4.1.2" + is-lower-case "^2.0.2" + is-upper-case "^2.0.2" + lower-case "^2.0.2" + lower-case-first "^2.0.2" + sponge-case "^1.0.1" + swap-case "^2.0.2" + title-case "^3.0.3" + upper-case "^2.0.2" + upper-case-first "^2.0.2" + change-case@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" @@ -2075,24 +2288,22 @@ convert-source-map@^1.7.0: dependencies: safe-buffer "~5.1.1" -cosmiconfig-toml-loader@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig-toml-loader/-/cosmiconfig-toml-loader-1.0.0.tgz#0681383651cceff918177debe9084c0d3769509b" - integrity sha512-H/2gurFWVi7xXvCyvsWRLCMekl4tITJcX0QEsDMpzxtuxDyM59xLatYNg4s/k9AA/HdtCYfj2su8mgA0GSDLDA== - dependencies: - "@iarna/toml" "^2.2.5" - -cosmiconfig-typescript-loader@4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.1.1.tgz#38dd3578344038dae40fdf09792bc2e9df529f78" - integrity sha512-9DHpa379Gp0o0Zefii35fcmuuin6q92FnLDffzdZ0l9tVd3nEobG3O+MZ06+kuBvFTSVScvNb/oHA13Nd4iipg== +cosmiconfig-typescript-loader@^4.3.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.4.0.tgz#f3feae459ea090f131df5474ce4b1222912319f9" + integrity sha512-BabizFdC3wBHhbI4kJh0VkQP9GkBfoHPydD0COMce1nJ1kJAB3F2TmJ/I7diULBKtmEWSwEbuN/KDtgnmUUVmw== -cosmiconfig-typescript-loader@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.2.0.tgz#a3cfd0dd9dac86be7dbe5f53eb46ad03abdf417b" - integrity sha512-NkANeMnaHrlaSSlpKGyvn2R4rqUDeE/9E5YHx+b4nwo0R8dZyAqcih8/gxpCZvqWP9Vf6xuLpMSzSgdVEIM78g== +cosmiconfig@8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz#e9feae014eab580f858f8a0288f38997a7bebe97" + integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" -cosmiconfig@7.0.1, cosmiconfig@^7.0.0: +cosmiconfig@^7.0.0: version "7.0.1" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== @@ -2129,19 +2340,24 @@ dataloader@2.1.0: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.1.0.tgz#c69c538235e85e7ac6c6c444bae8ecabf5de9df7" integrity sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ== +dataloader@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.2.2.tgz#216dc509b5abe39d43a9b9d97e6e5e473dfbe3e0" + integrity sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g== + debounce@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: +debug@4, debug@^4.1.0, debug@^4.3.1, debug@^4.3.2: version "4.3.3" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== dependencies: ms "2.1.2" -debug@^4.3.3: +debug@^4.3.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2250,12 +2466,10 @@ dset@3.1.2: resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.2.tgz#89c436ca6450398396dc6538ea00abc0c54cd45a" integrity sha512-g/M9sqy3oHe477Ar4voQxWtaPIFw1jTdKZuomOjhCcBx9nHUNn0pu6NopuFFrTh/TRZIKEj+76vLWFu9BNKk+Q== -ecdsa-sig-formatter@1.0.11: - version "1.0.11" - resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" - integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== - dependencies: - safe-buffer "^5.0.1" +dset@^3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.3.tgz#c194147f159841148e8e34ca41f638556d9542d2" + integrity sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ== electron-to-chromium@^1.4.84: version "1.4.86" @@ -2350,89 +2564,81 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-scope@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" - integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - eslint-visitor-keys@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@^8.27.0: - version "8.27.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.27.0.tgz#d547e2f7239994ad1faa4bb5d84e5d809db7cf64" - integrity sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ== - dependencies: - "@eslint/eslintrc" "^1.3.3" - "@humanwhocodes/config-array" "^0.11.6" +eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + +eslint@^8.56.0: + version "8.56.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15" + integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.4" + "@eslint/js" "8.56.0" + "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" - ajv "^6.10.0" + "@ungap/structured-clone" "^1.2.0" + ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" debug "^4.3.2" doctrine "^3.0.0" escape-string-regexp "^4.0.0" - eslint-scope "^7.1.1" - eslint-utils "^3.0.0" - eslint-visitor-keys "^3.3.0" - espree "^9.4.0" - esquery "^1.4.0" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" + esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" find-up "^5.0.0" glob-parent "^6.0.2" - globals "^13.15.0" - grapheme-splitter "^1.0.4" + globals "^13.19.0" + graphemer "^1.4.0" ignore "^5.2.0" - import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" is-path-inside "^3.0.3" - js-sdsl "^4.1.4" js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.9.1" - regexpp "^3.2.0" + optionator "^0.9.3" strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^9.4.0: - version "9.4.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd" - integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg== +espree@^9.6.0, espree@^9.6.1: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== dependencies: - acorn "^8.8.0" + acorn "^8.9.0" acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.3.0" + eslint-visitor-keys "^3.4.1" -esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" - integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" @@ -2453,11 +2659,6 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -event-target-polyfill@^0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/event-target-polyfill/-/event-target-polyfill-0.0.3.tgz#ed373295f3b257774b5d75afb2599331d9f3406c" - integrity sha512-ZMc6UuvmbinrCk4RzGyVmRyIsAyxMRlp4CqSrcQRO8Dy0A9ldbiRy5kdtBj4OtP7EClGdqGfIqo9JmOClMsGLQ== - event-target-shim@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" @@ -2482,6 +2683,11 @@ extract-files@^9.0.0: resolved "https://registry.yarnpkg.com/extract-files/-/extract-files-9.0.0.tgz#8a7744f2437f81f5ed3250ed9f1550de902fe54a" integrity sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ== +fast-decode-uri-component@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fast-decode-uri-component/-/fast-decode-uri-component-1.0.1.tgz#46f8b6c22b30ff7a81357d4f59abfae938202543" + integrity sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -2508,6 +2714,20 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= +fast-querystring@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/fast-querystring/-/fast-querystring-1.1.2.tgz#a6d24937b4fc6f791b4ee31dcb6f53aeafb89f53" + integrity sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg== + dependencies: + fast-decode-uri-component "^1.0.1" + +fast-url-parser@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" + integrity sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ== + dependencies: + punycode "^1.3.2" + fastq@^1.6.0: version "1.13.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" @@ -2715,10 +2935,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.15.0: - version "13.15.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.15.0.tgz#38113218c907d2f7e98658af246cef8b77e90bac" - integrity sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog== +globals@^13.19.0: + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" @@ -2734,28 +2954,26 @@ globby@^11.0.3: merge2 "^1.4.1" slash "^3.0.0" -grapheme-splitter@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" - integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== -graphql-config@4.3.6: - version "4.3.6" - resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-4.3.6.tgz#908ef03d6670c3068e51fe2e84e10e3e0af220b6" - integrity sha512-i7mAPwc0LAZPnYu2bI8B6yXU5820Wy/ArvmOseDLZIu0OU1UTULEuexHo6ZcHXeT9NvGGaUPQZm8NV3z79YydA== +graphql-config@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/graphql-config/-/graphql-config-4.5.0.tgz#257c2338950b8dce295a27f75c5f6c39f8f777b2" + integrity sha512-x6D0/cftpLUJ0Ch1e5sj1TZn6Wcxx4oMfmhaG9shM0DKajA9iR+j1z86GSTQ19fShbGvrSSvbIQsHku6aQ6BBw== dependencies: "@graphql-tools/graphql-file-loader" "^7.3.7" "@graphql-tools/json-file-loader" "^7.3.7" "@graphql-tools/load" "^7.5.5" "@graphql-tools/merge" "^8.2.6" "@graphql-tools/url-loader" "^7.9.7" - "@graphql-tools/utils" "^8.6.5" - cosmiconfig "7.0.1" - cosmiconfig-toml-loader "1.0.0" - cosmiconfig-typescript-loader "^4.0.0" - minimatch "4.2.1" + "@graphql-tools/utils" "^9.0.0" + cosmiconfig "8.0.0" + jiti "1.17.1" + minimatch "4.2.3" string-env-interpolation "1.0.1" - ts-node "^10.8.1" tslib "^2.4.0" graphql-request@^4.3.0: @@ -2767,15 +2985,13 @@ graphql-request@^4.3.0: extract-files "^9.0.0" form-data "^3.0.0" -graphql-request@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-5.0.0.tgz#7504a807d0e11be11a3c448e900f0cc316aa18ef" - integrity sha512-SpVEnIo2J5k2+Zf76cUkdvIRaq5FMZvGQYnA4lUWYbc99m+fHh4CZYRRO/Ff4tCLQ613fzCm3SiDT64ubW5Gyw== +graphql-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/graphql-request/-/graphql-request-6.1.0.tgz#f4eb2107967af3c7a5907eb3131c671eac89be4f" + integrity sha512-p+XPfS4q7aIpKVcgmnZKhMNqhltk20hfXtkaIkTfjjmiKMJ5xrt5c743cL03y/K7y1rg3WrIC49xGiEQ4mxdNw== dependencies: - "@graphql-typed-document-node/core" "^3.1.1" + "@graphql-typed-document-node/core" "^3.2.0" cross-fetch "^3.1.5" - extract-files "^9.0.0" - form-data "^3.0.0" graphql-tag@^2.11.0, graphql-tag@^2.12.6: version "2.12.6" @@ -2789,10 +3005,15 @@ graphql-ws@5.11.2: resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.11.2.tgz#d5e0acae8b4d4a4cf7be410a24135cfcefd7ddc0" integrity sha512-4EiZ3/UXYcjm+xFGP544/yW1+DVI8ZpKASFbzrV5EDTFWJp0ZvLl4Dy2fSZAzz9imKp5pZMIcjB0x/H69Pv/6w== -graphql@^16.6.0: - version "16.6.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.6.0.tgz#c2dcffa4649db149f6282af726c8c83f1c7c5fdb" - integrity sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw== +graphql-ws@5.12.1: + version "5.12.1" + resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.12.1.tgz#c62d5ac54dbd409cc6520b0b39de374b3d59d0dd" + integrity sha512-umt4f5NnMK46ChM2coO36PTFhHouBrK9stWWBczERguwYrGnPNxJ9dimU6IyOBfOkC6Izhkg4H8+F51W/8CYDg== + +graphql@^16.8.1: + version "16.8.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07" + integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw== has-bigints@^1.0.1: version "1.0.1" @@ -2855,6 +3076,14 @@ http-proxy-agent@^5.0.0: agent-base "6" debug "4" +http-proxy-agent@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-6.1.1.tgz#dc04f1a84e09511740cfbd984a56f86cc42e4277" + integrity sha512-JRCz+4Whs6yrrIoIlrH+ZTmhrRwtMnmOHsHn8GFEn9O2sVfSE+DAZ3oyyGIKF8tjJEeSJmP89j7aTjVsSqsU0g== + dependencies: + agent-base "^7.1.0" + debug "^4.3.4" + https-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" @@ -2863,6 +3092,14 @@ https-proxy-agent@^5.0.0: agent-base "6" debug "4" +https-proxy-agent@^6.0.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-6.2.1.tgz#0965ab47371b3e531cf6794d1eb148710a992ba7" + integrity sha512-ONsE3+yfZF2caH5+bJlcddtWqNI3Gvs5A38+ngvljxaBiRXRswym2c7yf8UAeFpRFKjFNHIFEHqR/OLAWJzyiA== + dependencies: + agent-base "^7.0.2" + debug "4" + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -2899,7 +3136,7 @@ immutable@~3.7.6: resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b" integrity sha1-E7TTyxK++hVIKib+Gy665kAHHks= -import-fresh@^3.0.0, import-fresh@^3.2.1: +import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -3201,29 +3438,26 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -isomorphic-fetch@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz#0267b005049046d2421207215d45d6a262b8b8b4" - integrity sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA== - dependencies: - node-fetch "^2.6.1" - whatwg-fetch "^3.4.1" - -isomorphic-ws@5.0.0: +isomorphic-ws@5.0.0, isomorphic-ws@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== +jiti@1.17.1: + version "1.17.1" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.17.1.tgz#264daa43ee89a03e8be28c3d712ccc4eb9f1e8ed" + integrity sha512-NZIITw8uZQFuzQimqjUxIrIcEdxYDFIe/0xYfIlVXTkiBjjyBEvgasj5bb0/cHtPRD/NziPbT312sFrkI5ALpw== + +jose@^4.11.4: + version "4.15.4" + resolved "https://registry.yarnpkg.com/jose/-/jose-4.15.4.tgz#02a9a763803e3872cf55f29ecef0dfdcc218cc03" + integrity sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ== + js-levenshtein@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d" integrity sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g== -js-sdsl@^4.1.4: - version "4.1.5" - resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.1.5.tgz#1ff1645e6b4d1b028cd3f862db88c9d887f26e2a" - integrity sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -3283,39 +3517,6 @@ jsonify@~0.0.0: resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM= -jsonwebtoken@^8.5.1: - version "8.5.1" - resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d" - integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w== - dependencies: - jws "^3.2.2" - lodash.includes "^4.3.0" - lodash.isboolean "^3.0.3" - lodash.isinteger "^4.0.4" - lodash.isnumber "^3.0.3" - lodash.isplainobject "^4.0.6" - lodash.isstring "^4.0.1" - lodash.once "^4.0.0" - ms "^2.1.1" - semver "^5.6.0" - -jwa@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.4.1.tgz#743c32985cb9e98655530d53641b66c8645b039a" - integrity sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA== - dependencies: - buffer-equal-constant-time "1.0.1" - ecdsa-sig-formatter "1.0.11" - safe-buffer "^5.0.1" - -jws@^3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/jws/-/jws-3.2.2.tgz#001099f3639468c9414000e99995fa52fb478304" - integrity sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA== - dependencies: - jwa "^1.4.1" - safe-buffer "^5.0.1" - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -3357,46 +3558,11 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash.includes@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" - integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= - -lodash.isboolean@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" - integrity sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY= - -lodash.isinteger@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" - integrity sha1-YZwK89A/iwTDH1iChAt3sRzWg0M= - -lodash.isnumber@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" - integrity sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w= - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= - -lodash.isstring@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= - lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.once@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" - integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= - lodash@^4.17.20, lodash@^4.17.21, lodash@~4.17.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -3473,10 +3639,10 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^10.1.8: - version "10.1.8" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.1.8.tgz#3b6e93dd8d8fdb76c0d7bf32e617f37c3108435a" - integrity sha512-0ASJbG12Au6+N5I84W+8FhGS6iM8MyzvZady+zaQAu+6IOaESFzCLLD0AR1sAFF3Jufi8bxm586ABN6hWd3k7g== +make-fetch-happen@^10.2.1: + version "10.2.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" + integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== dependencies: agentkeepalive "^4.2.1" cacache "^16.1.0" @@ -3531,6 +3697,11 @@ meros@1.2.1: resolved "https://registry.yarnpkg.com/meros/-/meros-1.2.1.tgz#056f7a76e8571d0aaf3c7afcbe7eb6407ff7329e" integrity sha512-R2f/jxYqCAGI19KhAvaxSOxALBMkaXWH2a7rOyqQw+ZmizX5bKkEYWLzdhC+U82ZVVPVp6MCXe3EkVligh+12g== +meros@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/meros/-/meros-1.3.0.tgz#c617d2092739d55286bf618129280f362e6242f2" + integrity sha512-2BNGOimxEz5hmjUG2FwoxCt5HN7BXdaWyFqEwxPTrJzVdABtrL4TiHTcsWSFAxPQ/tOnEaQEJh3qWq71QRMY+w== + micromatch@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" @@ -3556,10 +3727,10 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -minimatch@4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.1.tgz#40d9d511a46bdc4e563c22c3080cde9c0d8299b4" - integrity sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g== +minimatch@4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" + integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== dependencies: brace-expansion "^1.1.7" @@ -3662,7 +3833,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0, ms@^2.1.1: +ms@^2.0.0: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -3781,17 +3952,17 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== +optionator@^0.9.3: + version "0.9.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== dependencies: + "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" ora@^5.4.1: version "5.4.1" @@ -3979,6 +4150,11 @@ promise@^7.1.1: dependencies: asap "~2.0.3" +punycode@^1.3.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + punycode@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" @@ -4035,11 +4211,6 @@ regexp.prototype.flags@^1.3.0: call-bind "^1.0.2" define-properties "^1.1.3" -regexpp@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== - relay-runtime@12.0.0: version "12.0.0" resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-12.0.0.tgz#1e039282bdb5e0c1b9a7dc7f6b9a09d4f4ff8237" @@ -4158,11 +4329,6 @@ scuid@^1.1.0: resolved "https://registry.yarnpkg.com/scuid/-/scuid-1.1.0.tgz#d3f9f920956e737a60f72d0e4ad280bf324d5dab" integrity sha512-MuCAyrGZcTLfQoH2XoBlQ8C6bzwN88XT/0slOGz0pn8+gIP85BOAfYa44ZXQUTOwRwPU0QvgU+V+OSajl/59Xg== -semver@^5.6.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== - semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -4366,7 +4532,7 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -4455,10 +4621,10 @@ ts-log@^2.2.3: resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.4.tgz#d672cf904b33735eaba67a7395c93d45fba475b3" integrity sha512-DEQrfv6l7IvN2jlzc/VTdZJYsWUnQNCsueYjMkC/iXoEoi5fNan6MjeDqkvhfzbmHgdz9UxDUluX3V5HdjTydQ== -ts-node@^10.8.1: - version "10.9.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== +ts-node@^10.9.1: + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" @@ -4484,6 +4650,11 @@ tslib@^2.0.3, tslib@^2.1.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== +tslib@^2.3.1, tslib@^2.5.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tslib@^2.4.0, tslib@~2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" @@ -4511,10 +4682,10 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -typescript@^4.9.3: - version "4.9.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db" - integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA== +typescript@^5.3.3: + version "5.3.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" + integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== ua-parser-js@^0.7.30: version "0.7.31" @@ -4536,7 +4707,7 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= -undici@^5.12.0, undici@^5.8.0: +undici@^5.12.0: version "5.12.0" resolved "https://registry.yarnpkg.com/undici/-/undici-5.12.0.tgz#c758ffa704fbcd40d506e4948860ccaf4099f531" integrity sha512-zMLamCG62PGjd9HHMpo05bSLvvwWOZgGeiWlN/vlqu3+lRo3elxktVGEyLMX+IO7c2eflLjcW74AlkhEZm15mg== @@ -4599,6 +4770,18 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" +urlpattern-polyfill@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-6.0.2.tgz#a193fe773459865a2a5c93b246bb794b13d07256" + integrity sha512-5vZjFlH9ofROmuWmXM9yj2wljYKgWstGwe8YTyiqM7hVum/g9LyCizPZtb3UqsuppVwety9QJmfc42VggLpTgg== + dependencies: + braces "^3.0.2" + +urlpattern-polyfill@^8.0.0: + version "8.0.2" + resolved "https://registry.yarnpkg.com/urlpattern-polyfill/-/urlpattern-polyfill-8.0.2.tgz#99f096e35eff8bf4b5a2aa7d58a1523d6ebc7ce5" + integrity sha512-Qp95D4TPJl1kC9SKigDcqgyM2VDVO4RiJc2d4qe5GrYm+zbIQCWWKAFaJNQ4BhdFeDGwBmAxqJBwWSJDb9T3BQ== + util-deprecate@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -4619,6 +4802,11 @@ value-or-promise@1.0.11, value-or-promise@^1.0.11: resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140" integrity sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg== +value-or-promise@^1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.12.tgz#0e5abfeec70148c78460a849f6b003ea7986f15c" + integrity sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q== + wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" @@ -4636,6 +4824,11 @@ web-streams-polyfill@^3.2.0: resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.0.tgz#a6b74026b38e4885869fb5c589e90b95ccfc7965" integrity sha512-EqPmREeOzttaLRm5HS7io98goBgZ7IVz79aDvqjD0kYXLtFZTc0T/U6wHTPKyIjb+MdN7DFIIX6hgdBEpWmfPA== +web-streams-polyfill@^3.2.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.2.tgz#32e26522e05128203a7de59519be3c648004343b" + integrity sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ== + webcrypto-core@^1.7.4: version "1.7.5" resolved "https://registry.yarnpkg.com/webcrypto-core/-/webcrypto-core-1.7.5.tgz#c02104c953ca7107557f9c165d194c6316587ca4" @@ -4652,11 +4845,6 @@ webidl-conversions@^3.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= -whatwg-fetch@^3.4.1: - version "3.6.2" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c" - integrity sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA== - whatwg-url@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" @@ -4710,11 +4898,6 @@ which@^2.0.1: dependencies: isexe "^2.0.0" -word-wrap@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== - wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" @@ -4743,6 +4926,16 @@ ws@8.11.0: resolved "https://registry.yarnpkg.com/ws/-/ws-8.11.0.tgz#6a0d36b8edfd9f96d8b25683db2f8d7de6e8e143" integrity sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg== +ws@8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.13.0.tgz#9a9fb92f93cf41512a0735c8f4dd09b8a1211cd0" + integrity sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA== + +ws@^8.12.0: + version "8.16.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" + integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== + y18n@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" From 660242a680cc92e984c22e0cd549f40e8aebe7d7 Mon Sep 17 00:00:00 2001 From: Shane Myrick Date: Thu, 18 Jan 2024 10:14:17 -0800 Subject: [PATCH 2/2] Update script usage --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e3624c5..35ea4e5 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,6 @@ "gql": "yarn graphql-codegen && yarn tsc -p studio/tsconfig.json", "dev": "node bin/index.js", "dev:example": "yarn dev --supergraph example/supergraph.graphql --operation example/operation.graphql", - "dev:example:pretty": "yarn dev --supergraph example/supergraph.graphql --operation example/operation.graphql --pretty" + "dev:example:pretty": "yarn dev:example --pretty" } }