@graphql-hive/core 0.19.0-rc-20251217200841-52c87cba4ce19b4edecb5b0f59bff562f679fa6b → 0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076
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.
- package/cjs/client/__generated__/types.js +9 -1
- package/cjs/version.js +1 -1
- package/esm/client/__generated__/types.js +8 -0
- package/esm/version.js +1 -1
- package/package.json +1 -1
- package/typings/client/__generated__/types.d.cts +73 -0
- package/typings/client/__generated__/types.d.ts +73 -0
- package/typings/version.d.cts +1 -1
- package/typings/version.d.ts +1 -1
|
@@ -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.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.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;
|
|
4
4
|
var AlertChannelType;
|
|
5
5
|
(function (AlertChannelType) {
|
|
6
6
|
AlertChannelType["MsteamsWebhook"] = "MSTEAMS_WEBHOOK";
|
|
@@ -124,6 +124,14 @@ 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 = {}));
|
|
127
135
|
/** Describes the impact of a schema change. */
|
|
128
136
|
var SeverityLevelType;
|
|
129
137
|
(function (SeverityLevelType) {
|
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-rc-
|
|
4
|
+
exports.version = '0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076';
|
|
@@ -121,6 +121,14 @@ 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 = {}));
|
|
124
132
|
/** Describes the impact of a schema change. */
|
|
125
133
|
export var SeverityLevelType;
|
|
126
134
|
(function (SeverityLevelType) {
|
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.19.0-rc-
|
|
1
|
+
export const version = '0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-hive/core",
|
|
3
|
-
"version": "0.19.0-rc-
|
|
3
|
+
"version": "0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
@@ -352,6 +352,23 @@ export type CreateProjectInput = {
|
|
|
352
352
|
slug: Scalars['String']['input'];
|
|
353
353
|
type: ProjectType;
|
|
354
354
|
};
|
|
355
|
+
export type CreateSchemaProposalInput = {
|
|
356
|
+
/** Display name of the person who initially created this proposal */
|
|
357
|
+
author: Scalars['String']['input'];
|
|
358
|
+
/** If no description was provided then this will be an empty string. */
|
|
359
|
+
description?: Scalars['String']['input'];
|
|
360
|
+
/** The initial proposed service changes to be ran as checks */
|
|
361
|
+
initialChecks: Array<SchemaProposalCheckInput>;
|
|
362
|
+
/**
|
|
363
|
+
* The default initial stage is OPEN. Set this to true to create this as proposal
|
|
364
|
+
* as a DRAFT instead.
|
|
365
|
+
*/
|
|
366
|
+
isDraft?: Scalars['Boolean']['input'];
|
|
367
|
+
/** Reference to the proposal's target. Either an ID or path. */
|
|
368
|
+
target: TargetReferenceInput;
|
|
369
|
+
/** The title of the proposal. A short description of the proposal's main focus/theme. */
|
|
370
|
+
title: Scalars['String']['input'];
|
|
371
|
+
};
|
|
355
372
|
export type CreateTargetInput = {
|
|
356
373
|
/** Reference to the project in which the target should be created in. */
|
|
357
374
|
project: ProjectReferenceInput;
|
|
@@ -606,6 +623,10 @@ export declare enum ProjectType {
|
|
|
606
623
|
export type RateLimitInput = {
|
|
607
624
|
operations: Scalars['SafeInt']['input'];
|
|
608
625
|
};
|
|
626
|
+
export type ReplyToSchemaProposalReviewInput = {
|
|
627
|
+
body: Scalars['String']['input'];
|
|
628
|
+
schemaProposalReviewId: Scalars['ID']['input'];
|
|
629
|
+
};
|
|
609
630
|
export type RequestOrganizationTransferInput = {
|
|
610
631
|
organizationSlug: Scalars['String']['input'];
|
|
611
632
|
userId: Scalars['ID']['input'];
|
|
@@ -634,6 +655,24 @@ export type RetireAppDeploymentInput = {
|
|
|
634
655
|
appVersion: Scalars['String']['input'];
|
|
635
656
|
target?: InputMaybe<TargetReferenceInput>;
|
|
636
657
|
};
|
|
658
|
+
export type ReviewSchemaProposalInput = {
|
|
659
|
+
/** The initial comment message attached to the review */
|
|
660
|
+
commentBody?: Scalars['String']['input'];
|
|
661
|
+
/**
|
|
662
|
+
* The schema coordinate being referenced. E.g. "Type.field".
|
|
663
|
+
* If null, then this review is for the entire proposal.
|
|
664
|
+
*/
|
|
665
|
+
coordinate?: InputMaybe<Scalars['String']['input']>;
|
|
666
|
+
/** The schema proposal that this review is being made on. */
|
|
667
|
+
schemaProposalId: Scalars['ID']['input'];
|
|
668
|
+
/**
|
|
669
|
+
* The service this review applies to. If the target is a monorepo, then use
|
|
670
|
+
* an empty string.
|
|
671
|
+
*/
|
|
672
|
+
serviceName: Scalars['String']['input'];
|
|
673
|
+
/** One or both of stageTransition or initialComment inputs is/are required. */
|
|
674
|
+
stageTransition?: InputMaybe<SchemaProposalStage>;
|
|
675
|
+
};
|
|
637
676
|
export declare enum RuleInstanceSeverityLevel {
|
|
638
677
|
Error = "ERROR",
|
|
639
678
|
Off = "OFF",
|
|
@@ -647,6 +686,8 @@ export type SchemaCheckInput = {
|
|
|
647
686
|
contextId?: InputMaybe<Scalars['String']['input']>;
|
|
648
687
|
github?: InputMaybe<GitHubSchemaCheckInput>;
|
|
649
688
|
meta?: InputMaybe<SchemaCheckMetaInput>;
|
|
689
|
+
/** Optional. Attaches the check to a schema proposal. */
|
|
690
|
+
schemaProposalId?: InputMaybe<Scalars['ID']['input']>;
|
|
650
691
|
sdl: Scalars['String']['input'];
|
|
651
692
|
service?: InputMaybe<Scalars['ID']['input']>;
|
|
652
693
|
target?: InputMaybe<TargetReferenceInput>;
|
|
@@ -708,6 +749,38 @@ export type SchemaPolicyRuleInstanceInput = {
|
|
|
708
749
|
ruleId: Scalars['String']['input'];
|
|
709
750
|
severity: RuleInstanceSeverityLevel;
|
|
710
751
|
};
|
|
752
|
+
export type SchemaProposalCheckInput = {
|
|
753
|
+
/**
|
|
754
|
+
* Optional context ID to group schema checks together.
|
|
755
|
+
* Manually approved breaking changes will be memorized for schema checks with the same context id.
|
|
756
|
+
*/
|
|
757
|
+
contextId?: InputMaybe<Scalars['String']['input']>;
|
|
758
|
+
github?: InputMaybe<GitHubSchemaCheckInput>;
|
|
759
|
+
meta?: InputMaybe<SchemaCheckMetaInput>;
|
|
760
|
+
sdl: Scalars['String']['input'];
|
|
761
|
+
service?: InputMaybe<Scalars['ID']['input']>;
|
|
762
|
+
/** Optional url if wanting to show subgraph url changes inside checks. */
|
|
763
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
764
|
+
};
|
|
765
|
+
export type SchemaProposalChecksInput = {
|
|
766
|
+
/** Set to "true" to only return the latest checks for each service. */
|
|
767
|
+
latestPerService?: Scalars['Boolean']['input'];
|
|
768
|
+
};
|
|
769
|
+
export type SchemaProposalInput = {
|
|
770
|
+
/** Unique identifier of the desired SchemaProposal */
|
|
771
|
+
id: Scalars['ID']['input'];
|
|
772
|
+
};
|
|
773
|
+
export declare enum SchemaProposalStage {
|
|
774
|
+
Approved = "APPROVED",
|
|
775
|
+
Closed = "CLOSED",
|
|
776
|
+
Draft = "DRAFT",
|
|
777
|
+
Implemented = "IMPLEMENTED",
|
|
778
|
+
Open = "OPEN"
|
|
779
|
+
}
|
|
780
|
+
export type SchemaProposalsInput = {
|
|
781
|
+
stages?: InputMaybe<Array<SchemaProposalStage>>;
|
|
782
|
+
target: TargetReferenceInput;
|
|
783
|
+
};
|
|
711
784
|
export type SchemaPublishGitHubInput = {
|
|
712
785
|
/** The commit sha. */
|
|
713
786
|
commit: Scalars['String']['input'];
|
|
@@ -352,6 +352,23 @@ export type CreateProjectInput = {
|
|
|
352
352
|
slug: Scalars['String']['input'];
|
|
353
353
|
type: ProjectType;
|
|
354
354
|
};
|
|
355
|
+
export type CreateSchemaProposalInput = {
|
|
356
|
+
/** Display name of the person who initially created this proposal */
|
|
357
|
+
author: Scalars['String']['input'];
|
|
358
|
+
/** If no description was provided then this will be an empty string. */
|
|
359
|
+
description?: Scalars['String']['input'];
|
|
360
|
+
/** The initial proposed service changes to be ran as checks */
|
|
361
|
+
initialChecks: Array<SchemaProposalCheckInput>;
|
|
362
|
+
/**
|
|
363
|
+
* The default initial stage is OPEN. Set this to true to create this as proposal
|
|
364
|
+
* as a DRAFT instead.
|
|
365
|
+
*/
|
|
366
|
+
isDraft?: Scalars['Boolean']['input'];
|
|
367
|
+
/** Reference to the proposal's target. Either an ID or path. */
|
|
368
|
+
target: TargetReferenceInput;
|
|
369
|
+
/** The title of the proposal. A short description of the proposal's main focus/theme. */
|
|
370
|
+
title: Scalars['String']['input'];
|
|
371
|
+
};
|
|
355
372
|
export type CreateTargetInput = {
|
|
356
373
|
/** Reference to the project in which the target should be created in. */
|
|
357
374
|
project: ProjectReferenceInput;
|
|
@@ -606,6 +623,10 @@ export declare enum ProjectType {
|
|
|
606
623
|
export type RateLimitInput = {
|
|
607
624
|
operations: Scalars['SafeInt']['input'];
|
|
608
625
|
};
|
|
626
|
+
export type ReplyToSchemaProposalReviewInput = {
|
|
627
|
+
body: Scalars['String']['input'];
|
|
628
|
+
schemaProposalReviewId: Scalars['ID']['input'];
|
|
629
|
+
};
|
|
609
630
|
export type RequestOrganizationTransferInput = {
|
|
610
631
|
organizationSlug: Scalars['String']['input'];
|
|
611
632
|
userId: Scalars['ID']['input'];
|
|
@@ -634,6 +655,24 @@ export type RetireAppDeploymentInput = {
|
|
|
634
655
|
appVersion: Scalars['String']['input'];
|
|
635
656
|
target?: InputMaybe<TargetReferenceInput>;
|
|
636
657
|
};
|
|
658
|
+
export type ReviewSchemaProposalInput = {
|
|
659
|
+
/** The initial comment message attached to the review */
|
|
660
|
+
commentBody?: Scalars['String']['input'];
|
|
661
|
+
/**
|
|
662
|
+
* The schema coordinate being referenced. E.g. "Type.field".
|
|
663
|
+
* If null, then this review is for the entire proposal.
|
|
664
|
+
*/
|
|
665
|
+
coordinate?: InputMaybe<Scalars['String']['input']>;
|
|
666
|
+
/** The schema proposal that this review is being made on. */
|
|
667
|
+
schemaProposalId: Scalars['ID']['input'];
|
|
668
|
+
/**
|
|
669
|
+
* The service this review applies to. If the target is a monorepo, then use
|
|
670
|
+
* an empty string.
|
|
671
|
+
*/
|
|
672
|
+
serviceName: Scalars['String']['input'];
|
|
673
|
+
/** One or both of stageTransition or initialComment inputs is/are required. */
|
|
674
|
+
stageTransition?: InputMaybe<SchemaProposalStage>;
|
|
675
|
+
};
|
|
637
676
|
export declare enum RuleInstanceSeverityLevel {
|
|
638
677
|
Error = "ERROR",
|
|
639
678
|
Off = "OFF",
|
|
@@ -647,6 +686,8 @@ export type SchemaCheckInput = {
|
|
|
647
686
|
contextId?: InputMaybe<Scalars['String']['input']>;
|
|
648
687
|
github?: InputMaybe<GitHubSchemaCheckInput>;
|
|
649
688
|
meta?: InputMaybe<SchemaCheckMetaInput>;
|
|
689
|
+
/** Optional. Attaches the check to a schema proposal. */
|
|
690
|
+
schemaProposalId?: InputMaybe<Scalars['ID']['input']>;
|
|
650
691
|
sdl: Scalars['String']['input'];
|
|
651
692
|
service?: InputMaybe<Scalars['ID']['input']>;
|
|
652
693
|
target?: InputMaybe<TargetReferenceInput>;
|
|
@@ -708,6 +749,38 @@ export type SchemaPolicyRuleInstanceInput = {
|
|
|
708
749
|
ruleId: Scalars['String']['input'];
|
|
709
750
|
severity: RuleInstanceSeverityLevel;
|
|
710
751
|
};
|
|
752
|
+
export type SchemaProposalCheckInput = {
|
|
753
|
+
/**
|
|
754
|
+
* Optional context ID to group schema checks together.
|
|
755
|
+
* Manually approved breaking changes will be memorized for schema checks with the same context id.
|
|
756
|
+
*/
|
|
757
|
+
contextId?: InputMaybe<Scalars['String']['input']>;
|
|
758
|
+
github?: InputMaybe<GitHubSchemaCheckInput>;
|
|
759
|
+
meta?: InputMaybe<SchemaCheckMetaInput>;
|
|
760
|
+
sdl: Scalars['String']['input'];
|
|
761
|
+
service?: InputMaybe<Scalars['ID']['input']>;
|
|
762
|
+
/** Optional url if wanting to show subgraph url changes inside checks. */
|
|
763
|
+
url?: InputMaybe<Scalars['String']['input']>;
|
|
764
|
+
};
|
|
765
|
+
export type SchemaProposalChecksInput = {
|
|
766
|
+
/** Set to "true" to only return the latest checks for each service. */
|
|
767
|
+
latestPerService?: Scalars['Boolean']['input'];
|
|
768
|
+
};
|
|
769
|
+
export type SchemaProposalInput = {
|
|
770
|
+
/** Unique identifier of the desired SchemaProposal */
|
|
771
|
+
id: Scalars['ID']['input'];
|
|
772
|
+
};
|
|
773
|
+
export declare enum SchemaProposalStage {
|
|
774
|
+
Approved = "APPROVED",
|
|
775
|
+
Closed = "CLOSED",
|
|
776
|
+
Draft = "DRAFT",
|
|
777
|
+
Implemented = "IMPLEMENTED",
|
|
778
|
+
Open = "OPEN"
|
|
779
|
+
}
|
|
780
|
+
export type SchemaProposalsInput = {
|
|
781
|
+
stages?: InputMaybe<Array<SchemaProposalStage>>;
|
|
782
|
+
target: TargetReferenceInput;
|
|
783
|
+
};
|
|
711
784
|
export type SchemaPublishGitHubInput = {
|
|
712
785
|
/** The commit sha. */
|
|
713
786
|
commit: Scalars['String']['input'];
|
package/typings/version.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.19.0-rc-
|
|
1
|
+
export declare const version = "0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/typings/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.19.0-rc-
|
|
1
|
+
export declare const version = "0.19.0-rc-20251218092248-fd6e53b3a3e9b8b1678519a4f4d1b8258c908076";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|