@graphql-inspector/cli 4.0.3 → 4.0.4-alpha-20231130104206-e0883640
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/core/src/diff/changes/change.js +61 -62
- package/esm/core/src/diff/changes/change.js +60 -61
- package/package.json +9 -9
- package/typings/core/src/diff/changes/argument.d.cts +6 -6
- package/typings/core/src/diff/changes/argument.d.ts +6 -6
- package/typings/core/src/diff/changes/change.d.cts +107 -106
- package/typings/core/src/diff/changes/change.d.ts +107 -106
- package/typings/core/src/diff/changes/directive.d.cts +20 -20
- package/typings/core/src/diff/changes/directive.d.ts +20 -20
- package/typings/core/src/diff/changes/enum.d.cts +12 -12
- package/typings/core/src/diff/changes/enum.d.ts +12 -12
- package/typings/core/src/diff/changes/field.d.cts +26 -26
- package/typings/core/src/diff/changes/field.d.ts +26 -26
- package/typings/core/src/diff/changes/input.d.cts +14 -14
- package/typings/core/src/diff/changes/input.d.ts +14 -14
- package/typings/core/src/diff/changes/object.d.cts +4 -4
- package/typings/core/src/diff/changes/object.d.ts +4 -4
- package/typings/core/src/diff/changes/schema.d.cts +6 -6
- package/typings/core/src/diff/changes/schema.d.ts +6 -6
- package/typings/core/src/diff/changes/type.d.cts +12 -12
- package/typings/core/src/diff/changes/type.d.ts +12 -12
- package/typings/core/src/diff/changes/union.d.cts +4 -4
- package/typings/core/src/diff/changes/union.d.ts +4 -4
|
@@ -5,7 +5,7 @@ export declare function unionMemberRemovedFromMeta(args: UnionMemberRemovedChang
|
|
|
5
5
|
readonly level: CriticalityLevel.Breaking;
|
|
6
6
|
readonly reason: "Removing a union member from a union can cause existing queries that use this union member in a fragment spread to error.";
|
|
7
7
|
};
|
|
8
|
-
readonly type:
|
|
8
|
+
readonly type: "UNION_MEMBER_REMOVED";
|
|
9
9
|
readonly message: string;
|
|
10
10
|
readonly meta: {
|
|
11
11
|
unionName: string;
|
|
@@ -13,13 +13,13 @@ export declare function unionMemberRemovedFromMeta(args: UnionMemberRemovedChang
|
|
|
13
13
|
};
|
|
14
14
|
readonly path: string;
|
|
15
15
|
};
|
|
16
|
-
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberRemoved>;
|
|
16
|
+
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberRemoved>;
|
|
17
17
|
export declare function buildUnionMemberAddedMessageFromMeta(args: UnionMemberAddedChange): {
|
|
18
18
|
readonly criticality: {
|
|
19
19
|
readonly level: CriticalityLevel.Dangerous;
|
|
20
20
|
readonly reason: "Adding a possible type to Unions may break existing clients that were not programming defensively against a new possible type.";
|
|
21
21
|
};
|
|
22
|
-
readonly type:
|
|
22
|
+
readonly type: "UNION_MEMBER_ADDED";
|
|
23
23
|
readonly message: string;
|
|
24
24
|
readonly meta: {
|
|
25
25
|
unionName: string;
|
|
@@ -27,4 +27,4 @@ export declare function buildUnionMemberAddedMessageFromMeta(args: UnionMemberAd
|
|
|
27
27
|
};
|
|
28
28
|
readonly path: string;
|
|
29
29
|
};
|
|
30
|
-
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberAdded>;
|
|
30
|
+
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberAdded>;
|
|
@@ -5,7 +5,7 @@ export declare function unionMemberRemovedFromMeta(args: UnionMemberRemovedChang
|
|
|
5
5
|
readonly level: CriticalityLevel.Breaking;
|
|
6
6
|
readonly reason: "Removing a union member from a union can cause existing queries that use this union member in a fragment spread to error.";
|
|
7
7
|
};
|
|
8
|
-
readonly type:
|
|
8
|
+
readonly type: "UNION_MEMBER_REMOVED";
|
|
9
9
|
readonly message: string;
|
|
10
10
|
readonly meta: {
|
|
11
11
|
unionName: string;
|
|
@@ -13,13 +13,13 @@ export declare function unionMemberRemovedFromMeta(args: UnionMemberRemovedChang
|
|
|
13
13
|
};
|
|
14
14
|
readonly path: string;
|
|
15
15
|
};
|
|
16
|
-
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberRemoved>;
|
|
16
|
+
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberRemoved>;
|
|
17
17
|
export declare function buildUnionMemberAddedMessageFromMeta(args: UnionMemberAddedChange): {
|
|
18
18
|
readonly criticality: {
|
|
19
19
|
readonly level: CriticalityLevel.Dangerous;
|
|
20
20
|
readonly reason: "Adding a possible type to Unions may break existing clients that were not programming defensively against a new possible type.";
|
|
21
21
|
};
|
|
22
|
-
readonly type:
|
|
22
|
+
readonly type: "UNION_MEMBER_ADDED";
|
|
23
23
|
readonly message: string;
|
|
24
24
|
readonly meta: {
|
|
25
25
|
unionName: string;
|
|
@@ -27,4 +27,4 @@ export declare function buildUnionMemberAddedMessageFromMeta(args: UnionMemberAd
|
|
|
27
27
|
};
|
|
28
28
|
readonly path: string;
|
|
29
29
|
};
|
|
30
|
-
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberAdded>;
|
|
30
|
+
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberAdded>;
|