@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
172 lines • 47 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.MyTokenInfoDocument = exports.SchemaPublishDocument = exports.LatestSchemaVersionDocument = exports.SchemaVersionForActionIdDocument = exports.SchemaDeleteDocument = exports.SchemaCheckDocument = exports.FetchLatestVersionDocument = exports.Cli_SchemaComposeMutationDocument = exports.ActivateAppDeploymentDocument = exports.AddDocumentsToAppDeploymentDocument = exports.CreateAppDeploymentDocument = exports.RenderChanges_SchemaChangesFragmentDoc = exports.RenderErrors_SchemaErrorConnectionFragmentFragmentDoc = exports.UsageRateLimitType = exports.TargetAccessScope = exports.SupportTicketStatus = exports.SupportTicketPriority = exports.SeverityLevelType = exports.SchemaPolicyLevel = exports.RuleInstanceSeverityLevel = exports.ResourceAssignmentModeType = exports.ProjectType = exports.ProjectAccessScope = exports.PermissionLevelType = exports.OrganizationAccessScope = exports.NativeFederationCompatibilityStatus = exports.GraphQlOperationType = exports.CriticalityLevel = exports.BreakingChangeFormulaType = exports.BillingPlanType = exports.BillingInvoiceStatus = exports.AuthProviderType = exports.AppDeploymentStatus = exports.AlertType = exports.AlertChannelType = void 0;
var AlertChannelType;
(function (AlertChannelType) {
AlertChannelType["MsteamsWebhook"] = "MSTEAMS_WEBHOOK";
AlertChannelType["Slack"] = "SLACK";
AlertChannelType["Webhook"] = "WEBHOOK";
})(AlertChannelType || (exports.AlertChannelType = AlertChannelType = {}));
var AlertType;
(function (AlertType) {
AlertType["SchemaChangeNotifications"] = "SCHEMA_CHANGE_NOTIFICATIONS";
})(AlertType || (exports.AlertType = AlertType = {}));
var AppDeploymentStatus;
(function (AppDeploymentStatus) {
AppDeploymentStatus["Active"] = "active";
AppDeploymentStatus["Pending"] = "pending";
AppDeploymentStatus["Retired"] = "retired";
})(AppDeploymentStatus || (exports.AppDeploymentStatus = AppDeploymentStatus = {}));
var AuthProviderType;
(function (AuthProviderType) {
AuthProviderType["Github"] = "GITHUB";
AuthProviderType["Google"] = "GOOGLE";
/** OpenID Connect */
AuthProviderType["Oidc"] = "OIDC";
/** Username-Password-Authentication */
AuthProviderType["UsernamePassword"] = "USERNAME_PASSWORD";
})(AuthProviderType || (exports.AuthProviderType = AuthProviderType = {}));
var BillingInvoiceStatus;
(function (BillingInvoiceStatus) {
BillingInvoiceStatus["Draft"] = "DRAFT";
BillingInvoiceStatus["Open"] = "OPEN";
BillingInvoiceStatus["Paid"] = "PAID";
BillingInvoiceStatus["Uncollectible"] = "UNCOLLECTIBLE";
BillingInvoiceStatus["Void"] = "VOID";
})(BillingInvoiceStatus || (exports.BillingInvoiceStatus = BillingInvoiceStatus = {}));
var BillingPlanType;
(function (BillingPlanType) {
BillingPlanType["Enterprise"] = "ENTERPRISE";
BillingPlanType["Hobby"] = "HOBBY";
BillingPlanType["Pro"] = "PRO";
})(BillingPlanType || (exports.BillingPlanType = BillingPlanType = {}));
var BreakingChangeFormulaType;
(function (BreakingChangeFormulaType) {
BreakingChangeFormulaType["Percentage"] = "PERCENTAGE";
BreakingChangeFormulaType["RequestCount"] = "REQUEST_COUNT";
})(BreakingChangeFormulaType || (exports.BreakingChangeFormulaType = BreakingChangeFormulaType = {}));
var CriticalityLevel;
(function (CriticalityLevel) {
/** @deprecated Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client. */
CriticalityLevel["Breaking"] = "Breaking";
/** @deprecated Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client. */
CriticalityLevel["Dangerous"] = "Dangerous";
/** @deprecated Use 'SeverityLevelType' instead. This field will be removed once it is no longer in use by a client. */
CriticalityLevel["Safe"] = "Safe";
})(CriticalityLevel || (exports.CriticalityLevel = CriticalityLevel = {}));
var GraphQlOperationType;
(function (GraphQlOperationType) {
GraphQlOperationType["Mutation"] = "MUTATION";
GraphQlOperationType["Query"] = "QUERY";
GraphQlOperationType["Subscription"] = "SUBSCRIPTION";
})(GraphQlOperationType || (exports.GraphQlOperationType = GraphQlOperationType = {}));
var NativeFederationCompatibilityStatus;
(function (NativeFederationCompatibilityStatus) {
NativeFederationCompatibilityStatus["Compatible"] = "COMPATIBLE";
NativeFederationCompatibilityStatus["Incompatible"] = "INCOMPATIBLE";
NativeFederationCompatibilityStatus["NotApplicable"] = "NOT_APPLICABLE";
NativeFederationCompatibilityStatus["Unknown"] = "UNKNOWN";
})(NativeFederationCompatibilityStatus || (exports.NativeFederationCompatibilityStatus = NativeFederationCompatibilityStatus = {}));
var OrganizationAccessScope;
(function (OrganizationAccessScope) {
OrganizationAccessScope["Delete"] = "DELETE";
OrganizationAccessScope["Integrations"] = "INTEGRATIONS";
OrganizationAccessScope["Members"] = "MEMBERS";
OrganizationAccessScope["Read"] = "READ";
OrganizationAccessScope["Settings"] = "SETTINGS";
})(OrganizationAccessScope || (exports.OrganizationAccessScope = OrganizationAccessScope = {}));
var PermissionLevelType;
(function (PermissionLevelType) {
PermissionLevelType["AppDeployment"] = "APP_DEPLOYMENT";
PermissionLevelType["Organization"] = "ORGANIZATION";
PermissionLevelType["Project"] = "PROJECT";
PermissionLevelType["Service"] = "SERVICE";
PermissionLevelType["Target"] = "TARGET";
})(PermissionLevelType || (exports.PermissionLevelType = PermissionLevelType = {}));
var ProjectAccessScope;
(function (ProjectAccessScope) {
ProjectAccessScope["Alerts"] = "ALERTS";
ProjectAccessScope["Delete"] = "DELETE";
ProjectAccessScope["OperationsStoreRead"] = "OPERATIONS_STORE_READ";
ProjectAccessScope["OperationsStoreWrite"] = "OPERATIONS_STORE_WRITE";
ProjectAccessScope["Read"] = "READ";
ProjectAccessScope["Settings"] = "SETTINGS";
})(ProjectAccessScope || (exports.ProjectAccessScope = ProjectAccessScope = {}));
var ProjectType;
(function (ProjectType) {
ProjectType["Federation"] = "FEDERATION";
ProjectType["Single"] = "SINGLE";
ProjectType["Stitching"] = "STITCHING";
})(ProjectType || (exports.ProjectType = ProjectType = {}));
var ResourceAssignmentModeType;
(function (ResourceAssignmentModeType) {
/** Apply to all subresouces of the resource. */
ResourceAssignmentModeType["All"] = "ALL";
/** Apply to specific subresouces of the resource. */
ResourceAssignmentModeType["Granular"] = "GRANULAR";
})(ResourceAssignmentModeType || (exports.ResourceAssignmentModeType = ResourceAssignmentModeType = {}));
var RuleInstanceSeverityLevel;
(function (RuleInstanceSeverityLevel) {
RuleInstanceSeverityLevel["Error"] = "ERROR";
RuleInstanceSeverityLevel["Off"] = "OFF";
RuleInstanceSeverityLevel["Warning"] = "WARNING";
})(RuleInstanceSeverityLevel || (exports.RuleInstanceSeverityLevel = RuleInstanceSeverityLevel = {}));
var SchemaPolicyLevel;
(function (SchemaPolicyLevel) {
SchemaPolicyLevel["Organization"] = "ORGANIZATION";
SchemaPolicyLevel["Project"] = "PROJECT";
})(SchemaPolicyLevel || (exports.SchemaPolicyLevel = SchemaPolicyLevel = {}));
/** Describes the impact of a schema change. */
var SeverityLevelType;
(function (SeverityLevelType) {
/** The change will definetly break GraphQL client users. */
SeverityLevelType["Breaking"] = "BREAKING";
/**
* The change might break existing clients that do not follow
* best-practises such as future-proof enums or future-proof interface/union type usages.
*/
SeverityLevelType["Dangerous"] = "DANGEROUS";
/** The change is safe and does not break existing clients. */
SeverityLevelType["Safe"] = "SAFE";
})(SeverityLevelType || (exports.SeverityLevelType = SeverityLevelType = {}));
var SupportTicketPriority;
(function (SupportTicketPriority) {
SupportTicketPriority["High"] = "HIGH";
SupportTicketPriority["Normal"] = "NORMAL";
SupportTicketPriority["Urgent"] = "URGENT";
})(SupportTicketPriority || (exports.SupportTicketPriority = SupportTicketPriority = {}));
var SupportTicketStatus;
(function (SupportTicketStatus) {
SupportTicketStatus["Open"] = "OPEN";
SupportTicketStatus["Solved"] = "SOLVED";
})(SupportTicketStatus || (exports.SupportTicketStatus = SupportTicketStatus = {}));
var TargetAccessScope;
(function (TargetAccessScope) {
TargetAccessScope["Delete"] = "DELETE";
TargetAccessScope["Read"] = "READ";
TargetAccessScope["RegistryRead"] = "REGISTRY_READ";
TargetAccessScope["RegistryWrite"] = "REGISTRY_WRITE";
TargetAccessScope["Settings"] = "SETTINGS";
TargetAccessScope["TokensRead"] = "TOKENS_READ";
TargetAccessScope["TokensWrite"] = "TOKENS_WRITE";
})(TargetAccessScope || (exports.TargetAccessScope = TargetAccessScope = {}));
var UsageRateLimitType;
(function (UsageRateLimitType) {
UsageRateLimitType["MonthlyLimited"] = "MONTHLY_LIMITED";
UsageRateLimitType["MonthlyQuota"] = "MONTHLY_QUOTA";
UsageRateLimitType["Unlimited"] = "UNLIMITED";
})(UsageRateLimitType || (exports.UsageRateLimitType = UsageRateLimitType = {}));
exports.RenderErrors_SchemaErrorConnectionFragmentFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaErrorConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.RenderChanges_SchemaChangesFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaChangeConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "severityLevel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSafeBasedOnUsage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "withSafeBasedOnUsageNote" }, "value": { "kind": "BooleanValue", "value": false } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "approval" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "approvedBy" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }] } }] } }] } }] } }] } }] };
exports.CreateAppDeploymentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateAppDeployment" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateAppDeploymentInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createAppDeployment" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ok" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createdAppDeployment" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.AddDocumentsToAppDeploymentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AddDocumentsToAppDeployment" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AddDocumentsToAppDeploymentInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "addDocumentsToAppDeployment" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ok" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appDeployment" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "details" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "index" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }] } }] } }] } }] };
exports.ActivateAppDeploymentDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ActivateAppDeployment" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActivateAppDeploymentInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activateAppDeployment" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "ok" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "activatedAppDeployment" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "version" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSkipped" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "error" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.Cli_SchemaComposeMutationDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CLI_SchemaComposeMutation" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaComposeInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "schemaCompose" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaComposeSuccess" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "compositionResult" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "supergraphSdl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" } }] } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaComposeError" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaErrorConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.FetchLatestVersionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "fetchLatestVersion" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TargetReferenceInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "latestValidVersion" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "target" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sdl" } }] } }] } }] };
exports.SchemaCheckDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "schemaCheck" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaCheckInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "schemaCheck" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaCheckSuccess" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "initial" } }, { "kind": "Field", "name": { "kind": "Name", "value": "warnings" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }, { "kind": "Field", "name": { "kind": "Name", "value": "line" } }, { "kind": "Field", "name": { "kind": "Name", "value": "column" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "changes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }, { "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "schemaCheck" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "webUrl" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaCheckError" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }, { "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "warnings" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "nodes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }, { "kind": "Field", "name": { "kind": "Name", "value": "line" } }, { "kind": "Field", "name": { "kind": "Name", "value": "column" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "total" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "schemaCheck" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "webUrl" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GitHubSchemaCheckSuccess" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GitHubSchemaCheckError" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaChangeConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "severityLevel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSafeBasedOnUsage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "withSafeBasedOnUsageNote" }, "value": { "kind": "BooleanValue", "value": false } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "approval" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "approvedBy" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }] } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaErrorConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.SchemaDeleteDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "schemaDelete" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaDeleteInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "schemaDelete" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaDeleteSuccess" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaDeleteError" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaErrorConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.SchemaVersionForActionIdDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "SchemaVersionForActionId" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "actionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ID" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSDL" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSupergraph" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSubgraphs" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TargetReferenceInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "schemaVersionForActionId" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "actionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "actionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "target" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isValid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sdl" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSDL" } } }] }] }, { "kind": "Field", "name": { "kind": "Name", "value": "supergraph" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSupergraph" } } }] }] }, { "kind": "Field", "name": { "kind": "Name", "value": "schemas" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSubgraphs" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SingleSchema" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "date" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CompositeSchema" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "date" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "service" } }] } }] } }] } }] } }] } }] } }] };
exports.LatestSchemaVersionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "LatestSchemaVersion" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSDL" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSupergraph" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSubgraphs" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TargetReferenceInput" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "latestValidVersion" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "target" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "target" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isValid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sdl" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSDL" } } }] }] }, { "kind": "Field", "name": { "kind": "Name", "value": "supergraph" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSupergraph" } } }] }] }, { "kind": "Field", "name": { "kind": "Name", "value": "schemas" }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "includeSubgraphs" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SingleSchema" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "date" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "CompositeSchema" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "date" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "service" } }] } }] } }] } }] } }] } }] } }] };
exports.SchemaPublishDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "schemaPublish" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishInput" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "schemaPublish" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishSuccess" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "skip" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "initial" } }, { "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "alias": { "kind": "Name", "value": "successMessage" }, "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkToWebsite" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }, { "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishError" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "skip" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "valid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "linkToWebsite" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }] } }, { "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "errors" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" } }] } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishMissingServiceError" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "skip" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "missingServiceError" }, "name": { "kind": "Name", "value": "message" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishMissingUrlError" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "skip" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "missingUrlError" }, "name": { "kind": "Name", "value": "message" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GitHubSchemaPublishSuccess" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GitHubSchemaPublishError" } }, "directives": [{ "kind": "Directive", "name": { "kind": "Name", "value": "include" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "if" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "usesGitHubApp" } } }] }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaPublishRetry" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "reason" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderChanges_schemaChanges" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaChangeConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "severityLevel" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSafeBasedOnUsage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "withSafeBasedOnUsageNote" }, "value": { "kind": "BooleanValue", "value": false } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "approval" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "approvedBy" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }] } }] } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RenderErrors_SchemaErrorConnectionFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SchemaErrorConnection" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
exports.MyTokenInfoDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "myTokenInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "tokenInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenInfo" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "token" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "organization" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "project" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "target" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }] } }, { "kind": "Field", "alias": { "kind": "Name", "value": "canPublishSchema" }, "name": { "kind": "Name", "value": "hasTargetScope" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scope" }, "value": { "kind": "EnumValue", "value": "REGISTRY_WRITE" } }] }, { "kind": "Field", "alias": { "kind": "Name", "value": "canCheckSchema" }, "name": { "kind": "Name", "value": "hasTargetScope" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scope" }, "value": { "kind": "EnumValue", "value": "REGISTRY_READ" } }] }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "TokenNotFoundError" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "message" } }] } }] } }] } }] };
//# sourceMappingURL=graphql.js.map
;