@graphql-hive/core 0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b → 0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UsageRateLimitType = exports.TracesSortType = exports.TargetAccessScope = exports.SupportTicketStatus = exports.SupportTicketPriority = exports.SortDirectionType = exports.SeverityLevelType = exports.SchemaProposalStage = exports.SchemaPolicyLevel = exports.RuleInstanceSeverityLevel = exports.ResourceSelectorIntentType = exports.ResourceAssignmentModeType = exports.ProjectType = exports.ProjectAccessScope = exports.PermissionLevelType = exports.OrganizationAccessScope = exports.NativeFederationCompatibilityStatusType = exports.GraphQlOperationType = exports.CriticalityLevel = exports.BreakingChangeFormulaType = exports.BillingPlanType = exports.BillingInvoiceStatus = exports.AuthProviderType = exports.AppDeploymentStatus = exports.AlertType = exports.AlertChannelType = void 0;
3
+ exports.UsageRateLimitType = exports.TracesSortType = exports.TargetAccessScope = exports.SupportTicketStatus = exports.SupportTicketPriority = exports.SortDirectionType = exports.SeverityLevelType = exports.SchemaPolicyLevel = exports.RuleInstanceSeverityLevel = exports.ResourceSelectorIntentType = exports.ResourceAssignmentModeType = exports.ProjectType = exports.ProjectAccessScope = exports.PermissionLevelType = exports.OrganizationAccessScope = exports.NativeFederationCompatibilityStatusType = exports.GraphQlOperationType = exports.CriticalityLevel = exports.BreakingChangeFormulaType = exports.BillingPlanType = exports.BillingInvoiceStatus = exports.AuthProviderType = exports.AppDeploymentStatus = exports.AlertType = exports.AlertChannelType = void 0;
4
4
  var AlertChannelType;
5
5
  (function (AlertChannelType) {
6
6
  AlertChannelType["MsteamsWebhook"] = "MSTEAMS_WEBHOOK";
@@ -124,14 +124,6 @@ var SchemaPolicyLevel;
124
124
  SchemaPolicyLevel["Organization"] = "ORGANIZATION";
125
125
  SchemaPolicyLevel["Project"] = "PROJECT";
126
126
  })(SchemaPolicyLevel || (exports.SchemaPolicyLevel = SchemaPolicyLevel = {}));
127
- var SchemaProposalStage;
128
- (function (SchemaProposalStage) {
129
- SchemaProposalStage["Approved"] = "APPROVED";
130
- SchemaProposalStage["Closed"] = "CLOSED";
131
- SchemaProposalStage["Draft"] = "DRAFT";
132
- SchemaProposalStage["Implemented"] = "IMPLEMENTED";
133
- SchemaProposalStage["Open"] = "OPEN";
134
- })(SchemaProposalStage || (exports.SchemaProposalStage = SchemaProposalStage = {}));
135
127
  /** Describes the impact of a schema change. */
136
128
  var SeverityLevelType;
137
129
  (function (SeverityLevelType) {
@@ -276,33 +276,19 @@ function createCollector({ schema, max, ttl, processVariables = false, }) {
276
276
  return (0, utils_js_1.cacheDocumentKey)(doc, processVariables === true ? variables : null);
277
277
  }, (0, tiny_lru_1.default)(max, ttl));
278
278
  }
279
- const defaultClientNameHeaders = ['x-graphql-client-name', 'graphql-client-name'];
280
- const defaultClientVersionHeaders = ['x-graphql-client-version', 'graphql-client-version'];
281
- function lookupHeader(headerGetter, possibleNames) {
282
- for (const name of possibleNames) {
283
- const value = headerGetter(name);
284
- if (typeof value === 'string') {
285
- return value;
286
- }
287
- }
288
- return null;
289
- }
279
+ const defaultClientNameHeader = 'x-graphql-client-name';
280
+ const defaultClientVersionHeader = 'x-graphql-client-version';
290
281
  function createDefaultClientInfo(config) {
291
- var _a, _b, _c, _d;
292
- const clientNameHeaders = new Set(((_a = config === null || config === void 0 ? void 0 : config.http) === null || _a === void 0 ? void 0 : _a.clientHeaderName)
293
- ? [config.http.clientHeaderName, ...defaultClientNameHeaders]
294
- : defaultClientNameHeaders);
295
- const clientVersionHeaders = new Set(((_b = config === null || config === void 0 ? void 0 : config.http) === null || _b === void 0 ? void 0 : _b.versionHeaderName)
296
- ? [config.http.versionHeaderName, ...defaultClientVersionHeaders]
297
- : defaultClientVersionHeaders);
298
- const clientFieldName = (_d = (_c = config === null || config === void 0 ? void 0 : config.ws) === null || _c === void 0 ? void 0 : _c.clientFieldName) !== null && _d !== void 0 ? _d : 'client';
282
+ var _a, _b, _c, _d, _e, _f;
283
+ const clientNameHeader = (_b = (_a = config === null || config === void 0 ? void 0 : config.http) === null || _a === void 0 ? void 0 : _a.clientHeaderName) !== null && _b !== void 0 ? _b : defaultClientNameHeader;
284
+ const clientVersionHeader = (_d = (_c = config === null || config === void 0 ? void 0 : config.http) === null || _c === void 0 ? void 0 : _c.versionHeaderName) !== null && _d !== void 0 ? _d : defaultClientVersionHeader;
285
+ const clientFieldName = (_f = (_e = config === null || config === void 0 ? void 0 : config.ws) === null || _e === void 0 ? void 0 : _e.clientFieldName) !== null && _f !== void 0 ? _f : 'client';
299
286
  return function defaultClientInfo(context) {
300
- var _a, _b, _c, _d, _e, _f;
287
+ var _a, _b, _c, _d, _e, _f, _g;
301
288
  // whatwg Request
302
289
  if (typeof ((_b = (_a = context === null || context === void 0 ? void 0 : context.request) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.get) === 'function') {
303
- const headerGetter = (name) => { var _a, _b; return (_b = (_a = context === null || context === void 0 ? void 0 : context.request) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.get(name); };
304
- const name = lookupHeader(headerGetter, clientNameHeaders);
305
- const version = lookupHeader(headerGetter, clientVersionHeaders);
290
+ const name = context.request.headers.get(clientNameHeader);
291
+ const version = context.request.headers.get(clientVersionHeader);
306
292
  if (typeof name === 'string' && typeof version === 'string') {
307
293
  return {
308
294
  name,
@@ -313,9 +299,8 @@ function createDefaultClientInfo(config) {
313
299
  }
314
300
  // Node.js IncomingMessage
315
301
  if (((_c = context === null || context === void 0 ? void 0 : context.req) === null || _c === void 0 ? void 0 : _c.headers) && typeof ((_d = context.req) === null || _d === void 0 ? void 0 : _d.headers) === 'object') {
316
- const headerGetter = (name) => context.req.headers[name];
317
- const name = lookupHeader(headerGetter, clientNameHeaders);
318
- const version = lookupHeader(headerGetter, clientVersionHeaders);
302
+ const name = context.req.headers[clientNameHeader];
303
+ const version = context.req.headers[clientVersionHeader];
319
304
  if (typeof name === 'string' && typeof version === 'string') {
320
305
  return {
321
306
  name,
@@ -325,10 +310,9 @@ function createDefaultClientInfo(config) {
325
310
  return null;
326
311
  }
327
312
  // Plain headers object
328
- if ((context === null || context === void 0 ? void 0 : context.headers) && typeof context.headers === 'object') {
329
- const headerGetter = (name) => context.headers[name];
330
- const name = lookupHeader(headerGetter, clientNameHeaders);
331
- const version = lookupHeader(headerGetter, clientVersionHeaders);
313
+ if ((context === null || context === void 0 ? void 0 : context.headers) && typeof ((_e = context.req) === null || _e === void 0 ? void 0 : _e.headers) === 'object') {
314
+ const name = context.req.headers[clientNameHeader];
315
+ const version = context.req.headers[clientVersionHeader];
332
316
  if (typeof name === 'string' && typeof version === 'string') {
333
317
  return {
334
318
  name,
@@ -338,8 +322,8 @@ function createDefaultClientInfo(config) {
338
322
  return null;
339
323
  }
340
324
  // GraphQL over WebSocket
341
- if (((_e = context === null || context === void 0 ? void 0 : context.connectionParams) === null || _e === void 0 ? void 0 : _e[clientFieldName]) &&
342
- typeof ((_f = context.connectionParams) === null || _f === void 0 ? void 0 : _f[clientFieldName]) === 'object') {
325
+ if (((_f = context === null || context === void 0 ? void 0 : context.connectionParams) === null || _f === void 0 ? void 0 : _f[clientFieldName]) &&
326
+ typeof ((_g = context.connectionParams) === null || _g === void 0 ? void 0 : _g[clientFieldName]) === 'object') {
343
327
  const name = context.connectionParams[clientFieldName].name;
344
328
  const version = context.connectionParams[clientFieldName].version;
345
329
  if (typeof name === 'string' && typeof version === 'string') {
package/cjs/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b';
4
+ exports.version = '0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9';
@@ -121,14 +121,6 @@ export var SchemaPolicyLevel;
121
121
  SchemaPolicyLevel["Organization"] = "ORGANIZATION";
122
122
  SchemaPolicyLevel["Project"] = "PROJECT";
123
123
  })(SchemaPolicyLevel || (SchemaPolicyLevel = {}));
124
- export var SchemaProposalStage;
125
- (function (SchemaProposalStage) {
126
- SchemaProposalStage["Approved"] = "APPROVED";
127
- SchemaProposalStage["Closed"] = "CLOSED";
128
- SchemaProposalStage["Draft"] = "DRAFT";
129
- SchemaProposalStage["Implemented"] = "IMPLEMENTED";
130
- SchemaProposalStage["Open"] = "OPEN";
131
- })(SchemaProposalStage || (SchemaProposalStage = {}));
132
124
  /** Describes the impact of a schema change. */
133
125
  export var SeverityLevelType;
134
126
  (function (SeverityLevelType) {
@@ -271,33 +271,19 @@ export function createCollector({ schema, max, ttl, processVariables = false, })
271
271
  return cacheDocumentKey(doc, processVariables === true ? variables : null);
272
272
  }, LRU(max, ttl));
273
273
  }
274
- const defaultClientNameHeaders = ['x-graphql-client-name', 'graphql-client-name'];
275
- const defaultClientVersionHeaders = ['x-graphql-client-version', 'graphql-client-version'];
276
- function lookupHeader(headerGetter, possibleNames) {
277
- for (const name of possibleNames) {
278
- const value = headerGetter(name);
279
- if (typeof value === 'string') {
280
- return value;
281
- }
282
- }
283
- return null;
284
- }
274
+ const defaultClientNameHeader = 'x-graphql-client-name';
275
+ const defaultClientVersionHeader = 'x-graphql-client-version';
285
276
  function createDefaultClientInfo(config) {
286
- var _a, _b, _c, _d;
287
- const clientNameHeaders = new Set(((_a = config === null || config === void 0 ? void 0 : config.http) === null || _a === void 0 ? void 0 : _a.clientHeaderName)
288
- ? [config.http.clientHeaderName, ...defaultClientNameHeaders]
289
- : defaultClientNameHeaders);
290
- const clientVersionHeaders = new Set(((_b = config === null || config === void 0 ? void 0 : config.http) === null || _b === void 0 ? void 0 : _b.versionHeaderName)
291
- ? [config.http.versionHeaderName, ...defaultClientVersionHeaders]
292
- : defaultClientVersionHeaders);
293
- const clientFieldName = (_d = (_c = config === null || config === void 0 ? void 0 : config.ws) === null || _c === void 0 ? void 0 : _c.clientFieldName) !== null && _d !== void 0 ? _d : 'client';
277
+ var _a, _b, _c, _d, _e, _f;
278
+ const clientNameHeader = (_b = (_a = config === null || config === void 0 ? void 0 : config.http) === null || _a === void 0 ? void 0 : _a.clientHeaderName) !== null && _b !== void 0 ? _b : defaultClientNameHeader;
279
+ const clientVersionHeader = (_d = (_c = config === null || config === void 0 ? void 0 : config.http) === null || _c === void 0 ? void 0 : _c.versionHeaderName) !== null && _d !== void 0 ? _d : defaultClientVersionHeader;
280
+ const clientFieldName = (_f = (_e = config === null || config === void 0 ? void 0 : config.ws) === null || _e === void 0 ? void 0 : _e.clientFieldName) !== null && _f !== void 0 ? _f : 'client';
294
281
  return function defaultClientInfo(context) {
295
- var _a, _b, _c, _d, _e, _f;
282
+ var _a, _b, _c, _d, _e, _f, _g;
296
283
  // whatwg Request
297
284
  if (typeof ((_b = (_a = context === null || context === void 0 ? void 0 : context.request) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.get) === 'function') {
298
- const headerGetter = (name) => { var _a, _b; return (_b = (_a = context === null || context === void 0 ? void 0 : context.request) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.get(name); };
299
- const name = lookupHeader(headerGetter, clientNameHeaders);
300
- const version = lookupHeader(headerGetter, clientVersionHeaders);
285
+ const name = context.request.headers.get(clientNameHeader);
286
+ const version = context.request.headers.get(clientVersionHeader);
301
287
  if (typeof name === 'string' && typeof version === 'string') {
302
288
  return {
303
289
  name,
@@ -308,9 +294,8 @@ function createDefaultClientInfo(config) {
308
294
  }
309
295
  // Node.js IncomingMessage
310
296
  if (((_c = context === null || context === void 0 ? void 0 : context.req) === null || _c === void 0 ? void 0 : _c.headers) && typeof ((_d = context.req) === null || _d === void 0 ? void 0 : _d.headers) === 'object') {
311
- const headerGetter = (name) => context.req.headers[name];
312
- const name = lookupHeader(headerGetter, clientNameHeaders);
313
- const version = lookupHeader(headerGetter, clientVersionHeaders);
297
+ const name = context.req.headers[clientNameHeader];
298
+ const version = context.req.headers[clientVersionHeader];
314
299
  if (typeof name === 'string' && typeof version === 'string') {
315
300
  return {
316
301
  name,
@@ -320,10 +305,9 @@ function createDefaultClientInfo(config) {
320
305
  return null;
321
306
  }
322
307
  // Plain headers object
323
- if ((context === null || context === void 0 ? void 0 : context.headers) && typeof context.headers === 'object') {
324
- const headerGetter = (name) => context.headers[name];
325
- const name = lookupHeader(headerGetter, clientNameHeaders);
326
- const version = lookupHeader(headerGetter, clientVersionHeaders);
308
+ if ((context === null || context === void 0 ? void 0 : context.headers) && typeof ((_e = context.req) === null || _e === void 0 ? void 0 : _e.headers) === 'object') {
309
+ const name = context.req.headers[clientNameHeader];
310
+ const version = context.req.headers[clientVersionHeader];
327
311
  if (typeof name === 'string' && typeof version === 'string') {
328
312
  return {
329
313
  name,
@@ -333,8 +317,8 @@ function createDefaultClientInfo(config) {
333
317
  return null;
334
318
  }
335
319
  // GraphQL over WebSocket
336
- if (((_e = context === null || context === void 0 ? void 0 : context.connectionParams) === null || _e === void 0 ? void 0 : _e[clientFieldName]) &&
337
- typeof ((_f = context.connectionParams) === null || _f === void 0 ? void 0 : _f[clientFieldName]) === 'object') {
320
+ if (((_f = context === null || context === void 0 ? void 0 : context.connectionParams) === null || _f === void 0 ? void 0 : _f[clientFieldName]) &&
321
+ typeof ((_g = context.connectionParams) === null || _g === void 0 ? void 0 : _g[clientFieldName]) === 'object') {
338
322
  const name = context.connectionParams[clientFieldName].name;
339
323
  const version = context.connectionParams[clientFieldName].version;
340
324
  if (typeof name === 'string' && typeof version === 'string') {
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b';
1
+ export const version = '0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/core",
3
- "version": "0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b",
3
+ "version": "0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
@@ -277,7 +277,6 @@ export type CreateMemberRoleInput = {
277
277
  selectedPermissions: Array<Scalars['String']['input']>;
278
278
  };
279
279
  export type CreateOidcIntegrationInput = {
280
- additionalScopes: Array<Scalars['String']['input']>;
281
280
  authorizationEndpoint: Scalars['String']['input'];
282
281
  clientId: Scalars['ID']['input'];
283
282
  clientSecret: Scalars['String']['input'];
@@ -353,23 +352,6 @@ export type CreateProjectInput = {
353
352
  slug: Scalars['String']['input'];
354
353
  type: ProjectType;
355
354
  };
356
- export type CreateSchemaProposalInput = {
357
- /** Display name of the person who initially created this proposal */
358
- author: Scalars['String']['input'];
359
- /** If no description was provided then this will be an empty string. */
360
- description?: Scalars['String']['input'];
361
- /** The initial proposed service changes to be ran as checks */
362
- initialChecks: Array<SchemaProposalCheckInput>;
363
- /**
364
- * The default initial stage is OPEN. Set this to true to create this as proposal
365
- * as a DRAFT instead.
366
- */
367
- isDraft?: Scalars['Boolean']['input'];
368
- /** Reference to the proposal's target. Either an ID or path. */
369
- target: TargetReferenceInput;
370
- /** The title of the proposal. A short description of the proposal's main focus/theme. */
371
- title: Scalars['String']['input'];
372
- };
373
355
  export type CreateTargetInput = {
374
356
  /** Reference to the project in which the target should be created in. */
375
357
  project: ProjectReferenceInput;
@@ -624,10 +606,6 @@ export declare enum ProjectType {
624
606
  export type RateLimitInput = {
625
607
  operations: Scalars['SafeInt']['input'];
626
608
  };
627
- export type ReplyToSchemaProposalReviewInput = {
628
- body: Scalars['String']['input'];
629
- schemaProposalReviewId: Scalars['ID']['input'];
630
- };
631
609
  export type RequestOrganizationTransferInput = {
632
610
  organizationSlug: Scalars['String']['input'];
633
611
  userId: Scalars['ID']['input'];
@@ -656,24 +634,6 @@ export type RetireAppDeploymentInput = {
656
634
  appVersion: Scalars['String']['input'];
657
635
  target?: InputMaybe<TargetReferenceInput>;
658
636
  };
659
- export type ReviewSchemaProposalInput = {
660
- /** The initial comment message attached to the review */
661
- commentBody?: Scalars['String']['input'];
662
- /**
663
- * The schema coordinate being referenced. E.g. "Type.field".
664
- * If null, then this review is for the entire proposal.
665
- */
666
- coordinate?: InputMaybe<Scalars['String']['input']>;
667
- /** The schema proposal that this review is being made on. */
668
- schemaProposalId: Scalars['ID']['input'];
669
- /**
670
- * The service this review applies to. If the target is a monorepo, then use
671
- * an empty string.
672
- */
673
- serviceName: Scalars['String']['input'];
674
- /** One or both of stageTransition or initialComment inputs is/are required. */
675
- stageTransition?: InputMaybe<SchemaProposalStage>;
676
- };
677
637
  export declare enum RuleInstanceSeverityLevel {
678
638
  Error = "ERROR",
679
639
  Off = "OFF",
@@ -687,8 +647,6 @@ export type SchemaCheckInput = {
687
647
  contextId?: InputMaybe<Scalars['String']['input']>;
688
648
  github?: InputMaybe<GitHubSchemaCheckInput>;
689
649
  meta?: InputMaybe<SchemaCheckMetaInput>;
690
- /** Optional. Attaches the check to a schema proposal. */
691
- schemaProposalId?: InputMaybe<Scalars['ID']['input']>;
692
650
  sdl: Scalars['String']['input'];
693
651
  service?: InputMaybe<Scalars['ID']['input']>;
694
652
  target?: InputMaybe<TargetReferenceInput>;
@@ -750,38 +708,6 @@ export type SchemaPolicyRuleInstanceInput = {
750
708
  ruleId: Scalars['String']['input'];
751
709
  severity: RuleInstanceSeverityLevel;
752
710
  };
753
- export type SchemaProposalCheckInput = {
754
- /**
755
- * Optional context ID to group schema checks together.
756
- * Manually approved breaking changes will be memorized for schema checks with the same context id.
757
- */
758
- contextId?: InputMaybe<Scalars['String']['input']>;
759
- github?: InputMaybe<GitHubSchemaCheckInput>;
760
- meta?: InputMaybe<SchemaCheckMetaInput>;
761
- sdl: Scalars['String']['input'];
762
- service?: InputMaybe<Scalars['ID']['input']>;
763
- /** Optional url if wanting to show subgraph url changes inside checks. */
764
- url?: InputMaybe<Scalars['String']['input']>;
765
- };
766
- export type SchemaProposalChecksInput = {
767
- /** Set to "true" to only return the latest checks for each service. */
768
- latestPerService?: Scalars['Boolean']['input'];
769
- };
770
- export type SchemaProposalInput = {
771
- /** Unique identifier of the desired SchemaProposal */
772
- id: Scalars['ID']['input'];
773
- };
774
- export declare enum SchemaProposalStage {
775
- Approved = "APPROVED",
776
- Closed = "CLOSED",
777
- Draft = "DRAFT",
778
- Implemented = "IMPLEMENTED",
779
- Open = "OPEN"
780
- }
781
- export type SchemaProposalsInput = {
782
- stages?: InputMaybe<Array<SchemaProposalStage>>;
783
- target: TargetReferenceInput;
784
- };
785
711
  export type SchemaPublishGitHubInput = {
786
712
  /** The commit sha. */
787
713
  commit: Scalars['String']['input'];
@@ -991,7 +917,6 @@ export type UpdateOidcDefaultResourceAssignmentInput = {
991
917
  resources: ResourceAssignmentInput;
992
918
  };
993
919
  export type UpdateOidcIntegrationInput = {
994
- additionalScopes?: InputMaybe<Array<Scalars['String']['input']>>;
995
920
  authorizationEndpoint?: InputMaybe<Scalars['String']['input']>;
996
921
  clientId?: InputMaybe<Scalars['ID']['input']>;
997
922
  clientSecret?: InputMaybe<Scalars['String']['input']>;
@@ -277,7 +277,6 @@ export type CreateMemberRoleInput = {
277
277
  selectedPermissions: Array<Scalars['String']['input']>;
278
278
  };
279
279
  export type CreateOidcIntegrationInput = {
280
- additionalScopes: Array<Scalars['String']['input']>;
281
280
  authorizationEndpoint: Scalars['String']['input'];
282
281
  clientId: Scalars['ID']['input'];
283
282
  clientSecret: Scalars['String']['input'];
@@ -353,23 +352,6 @@ export type CreateProjectInput = {
353
352
  slug: Scalars['String']['input'];
354
353
  type: ProjectType;
355
354
  };
356
- export type CreateSchemaProposalInput = {
357
- /** Display name of the person who initially created this proposal */
358
- author: Scalars['String']['input'];
359
- /** If no description was provided then this will be an empty string. */
360
- description?: Scalars['String']['input'];
361
- /** The initial proposed service changes to be ran as checks */
362
- initialChecks: Array<SchemaProposalCheckInput>;
363
- /**
364
- * The default initial stage is OPEN. Set this to true to create this as proposal
365
- * as a DRAFT instead.
366
- */
367
- isDraft?: Scalars['Boolean']['input'];
368
- /** Reference to the proposal's target. Either an ID or path. */
369
- target: TargetReferenceInput;
370
- /** The title of the proposal. A short description of the proposal's main focus/theme. */
371
- title: Scalars['String']['input'];
372
- };
373
355
  export type CreateTargetInput = {
374
356
  /** Reference to the project in which the target should be created in. */
375
357
  project: ProjectReferenceInput;
@@ -624,10 +606,6 @@ export declare enum ProjectType {
624
606
  export type RateLimitInput = {
625
607
  operations: Scalars['SafeInt']['input'];
626
608
  };
627
- export type ReplyToSchemaProposalReviewInput = {
628
- body: Scalars['String']['input'];
629
- schemaProposalReviewId: Scalars['ID']['input'];
630
- };
631
609
  export type RequestOrganizationTransferInput = {
632
610
  organizationSlug: Scalars['String']['input'];
633
611
  userId: Scalars['ID']['input'];
@@ -656,24 +634,6 @@ export type RetireAppDeploymentInput = {
656
634
  appVersion: Scalars['String']['input'];
657
635
  target?: InputMaybe<TargetReferenceInput>;
658
636
  };
659
- export type ReviewSchemaProposalInput = {
660
- /** The initial comment message attached to the review */
661
- commentBody?: Scalars['String']['input'];
662
- /**
663
- * The schema coordinate being referenced. E.g. "Type.field".
664
- * If null, then this review is for the entire proposal.
665
- */
666
- coordinate?: InputMaybe<Scalars['String']['input']>;
667
- /** The schema proposal that this review is being made on. */
668
- schemaProposalId: Scalars['ID']['input'];
669
- /**
670
- * The service this review applies to. If the target is a monorepo, then use
671
- * an empty string.
672
- */
673
- serviceName: Scalars['String']['input'];
674
- /** One or both of stageTransition or initialComment inputs is/are required. */
675
- stageTransition?: InputMaybe<SchemaProposalStage>;
676
- };
677
637
  export declare enum RuleInstanceSeverityLevel {
678
638
  Error = "ERROR",
679
639
  Off = "OFF",
@@ -687,8 +647,6 @@ export type SchemaCheckInput = {
687
647
  contextId?: InputMaybe<Scalars['String']['input']>;
688
648
  github?: InputMaybe<GitHubSchemaCheckInput>;
689
649
  meta?: InputMaybe<SchemaCheckMetaInput>;
690
- /** Optional. Attaches the check to a schema proposal. */
691
- schemaProposalId?: InputMaybe<Scalars['ID']['input']>;
692
650
  sdl: Scalars['String']['input'];
693
651
  service?: InputMaybe<Scalars['ID']['input']>;
694
652
  target?: InputMaybe<TargetReferenceInput>;
@@ -750,38 +708,6 @@ export type SchemaPolicyRuleInstanceInput = {
750
708
  ruleId: Scalars['String']['input'];
751
709
  severity: RuleInstanceSeverityLevel;
752
710
  };
753
- export type SchemaProposalCheckInput = {
754
- /**
755
- * Optional context ID to group schema checks together.
756
- * Manually approved breaking changes will be memorized for schema checks with the same context id.
757
- */
758
- contextId?: InputMaybe<Scalars['String']['input']>;
759
- github?: InputMaybe<GitHubSchemaCheckInput>;
760
- meta?: InputMaybe<SchemaCheckMetaInput>;
761
- sdl: Scalars['String']['input'];
762
- service?: InputMaybe<Scalars['ID']['input']>;
763
- /** Optional url if wanting to show subgraph url changes inside checks. */
764
- url?: InputMaybe<Scalars['String']['input']>;
765
- };
766
- export type SchemaProposalChecksInput = {
767
- /** Set to "true" to only return the latest checks for each service. */
768
- latestPerService?: Scalars['Boolean']['input'];
769
- };
770
- export type SchemaProposalInput = {
771
- /** Unique identifier of the desired SchemaProposal */
772
- id: Scalars['ID']['input'];
773
- };
774
- export declare enum SchemaProposalStage {
775
- Approved = "APPROVED",
776
- Closed = "CLOSED",
777
- Draft = "DRAFT",
778
- Implemented = "IMPLEMENTED",
779
- Open = "OPEN"
780
- }
781
- export type SchemaProposalsInput = {
782
- stages?: InputMaybe<Array<SchemaProposalStage>>;
783
- target: TargetReferenceInput;
784
- };
785
711
  export type SchemaPublishGitHubInput = {
786
712
  /** The commit sha. */
787
713
  commit: Scalars['String']['input'];
@@ -991,7 +917,6 @@ export type UpdateOidcDefaultResourceAssignmentInput = {
991
917
  resources: ResourceAssignmentInput;
992
918
  };
993
919
  export type UpdateOidcIntegrationInput = {
994
- additionalScopes?: InputMaybe<Array<Scalars['String']['input']>>;
995
920
  authorizationEndpoint?: InputMaybe<Scalars['String']['input']>;
996
921
  clientId?: InputMaybe<Scalars['ID']['input']>;
997
922
  clientSecret?: InputMaybe<Scalars['String']['input']>;
@@ -1,2 +1,2 @@
1
- export declare const version = "0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b";
1
+ export declare const version = "0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const version = "0.19.0-alpha-20251219171725-eecf84c175e53ebf4ea486aa4610baeecca81d9b";
1
+ export declare const version = "0.19.0-rc-20251217091229-2524f3dc583483d5a999aa36ea147206b81481b9";
2
2
  //# sourceMappingURL=version.d.ts.map