@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, FieldAddedChange, FieldArgumentAddedChange, FieldArgumentRemovedChange, FieldDeprecationAddedChange, FieldDeprecationReasonAddedChange, FieldDeprecationReasonChangedChange, FieldDeprecationReasonRemovedChange, FieldDeprecationRemovedChange, FieldDescriptionAddedChange, FieldDescriptionChangedChange, FieldDescriptionRemovedChange, FieldRemovedChange, FieldTypeChangedChange } from './change.js';
|
|
3
3
|
export declare function fieldRemovedFromMeta(args: FieldRemovedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "FIELD_REMOVED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Breaking;
|
|
7
7
|
readonly reason: "Removing a deprecated field is a breaking change. Before removing it, you may want to look at the field's usage to see the impact of removing the field." | "Removing a field is a breaking change. It is preferable to deprecate the field before removing it.";
|
|
@@ -15,9 +15,9 @@ export declare function fieldRemovedFromMeta(args: FieldRemovedChange): {
|
|
|
15
15
|
};
|
|
16
16
|
readonly path: string;
|
|
17
17
|
};
|
|
18
|
-
export declare function fieldRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<ChangeType.FieldRemoved>;
|
|
18
|
+
export declare function fieldRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldRemoved>;
|
|
19
19
|
export declare function fieldAddedFromMeta(args: FieldAddedChange): {
|
|
20
|
-
readonly type:
|
|
20
|
+
readonly type: "FIELD_ADDED";
|
|
21
21
|
readonly criticality: {
|
|
22
22
|
readonly level: CriticalityLevel.NonBreaking;
|
|
23
23
|
};
|
|
@@ -29,9 +29,9 @@ export declare function fieldAddedFromMeta(args: FieldAddedChange): {
|
|
|
29
29
|
};
|
|
30
30
|
readonly path: string;
|
|
31
31
|
};
|
|
32
|
-
export declare function fieldAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<ChangeType.FieldAdded>;
|
|
32
|
+
export declare function fieldAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldAdded>;
|
|
33
33
|
export declare function fieldDescriptionChangedFromMeta(args: FieldDescriptionChangedChange): {
|
|
34
|
-
readonly type:
|
|
34
|
+
readonly type: "FIELD_DESCRIPTION_CHANGED";
|
|
35
35
|
readonly criticality: {
|
|
36
36
|
readonly level: CriticalityLevel.NonBreaking;
|
|
37
37
|
};
|
|
@@ -44,9 +44,9 @@ export declare function fieldDescriptionChangedFromMeta(args: FieldDescriptionCh
|
|
|
44
44
|
};
|
|
45
45
|
readonly path: string;
|
|
46
46
|
};
|
|
47
|
-
export declare function fieldDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionChanged>;
|
|
47
|
+
export declare function fieldDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionChanged>;
|
|
48
48
|
export declare function fieldDescriptionAddedFromMeta(args: FieldDescriptionAddedChange): {
|
|
49
|
-
readonly type:
|
|
49
|
+
readonly type: "FIELD_DESCRIPTION_ADDED";
|
|
50
50
|
readonly criticality: {
|
|
51
51
|
readonly level: CriticalityLevel.NonBreaking;
|
|
52
52
|
};
|
|
@@ -58,9 +58,9 @@ export declare function fieldDescriptionAddedFromMeta(args: FieldDescriptionAdde
|
|
|
58
58
|
};
|
|
59
59
|
readonly path: string;
|
|
60
60
|
};
|
|
61
|
-
export declare function fieldDescriptionAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionAdded>;
|
|
61
|
+
export declare function fieldDescriptionAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionAdded>;
|
|
62
62
|
export declare function fieldDescriptionRemovedFromMeta(args: FieldDescriptionRemovedChange): {
|
|
63
|
-
readonly type:
|
|
63
|
+
readonly type: "FIELD_DESCRIPTION_REMOVED";
|
|
64
64
|
readonly criticality: {
|
|
65
65
|
readonly level: CriticalityLevel.NonBreaking;
|
|
66
66
|
};
|
|
@@ -71,9 +71,9 @@ export declare function fieldDescriptionRemovedFromMeta(args: FieldDescriptionRe
|
|
|
71
71
|
};
|
|
72
72
|
readonly path: string;
|
|
73
73
|
};
|
|
74
|
-
export declare function fieldDescriptionRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionRemoved>;
|
|
74
|
+
export declare function fieldDescriptionRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionRemoved>;
|
|
75
75
|
export declare function fieldDeprecationAddedFromMeta(args: FieldDeprecationAddedChange): {
|
|
76
|
-
readonly type:
|
|
76
|
+
readonly type: "FIELD_DEPRECATION_ADDED";
|
|
77
77
|
readonly criticality: {
|
|
78
78
|
readonly level: CriticalityLevel.NonBreaking;
|
|
79
79
|
};
|
|
@@ -84,9 +84,9 @@ export declare function fieldDeprecationAddedFromMeta(args: FieldDeprecationAdde
|
|
|
84
84
|
};
|
|
85
85
|
readonly path: string;
|
|
86
86
|
};
|
|
87
|
-
export declare function fieldDeprecationAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationAdded>;
|
|
87
|
+
export declare function fieldDeprecationAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationAdded>;
|
|
88
88
|
export declare function fieldDeprecationRemovedFromMeta(args: FieldDeprecationRemovedChange): {
|
|
89
|
-
readonly type:
|
|
89
|
+
readonly type: "FIELD_DEPRECATION_REMOVED";
|
|
90
90
|
readonly criticality: {
|
|
91
91
|
readonly level: CriticalityLevel.Dangerous;
|
|
92
92
|
};
|
|
@@ -97,9 +97,9 @@ export declare function fieldDeprecationRemovedFromMeta(args: FieldDeprecationRe
|
|
|
97
97
|
};
|
|
98
98
|
readonly path: string;
|
|
99
99
|
};
|
|
100
|
-
export declare function fieldDeprecationRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationRemoved>;
|
|
100
|
+
export declare function fieldDeprecationRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationRemoved>;
|
|
101
101
|
export declare function fieldDeprecationReasonChangedFromMeta(args: FieldDeprecationReasonChangedChange): {
|
|
102
|
-
readonly type:
|
|
102
|
+
readonly type: "FIELD_DEPRECATION_REASON_CHANGED";
|
|
103
103
|
readonly criticality: {
|
|
104
104
|
readonly level: CriticalityLevel.NonBreaking;
|
|
105
105
|
};
|
|
@@ -112,9 +112,9 @@ export declare function fieldDeprecationReasonChangedFromMeta(args: FieldDepreca
|
|
|
112
112
|
};
|
|
113
113
|
readonly path: string;
|
|
114
114
|
};
|
|
115
|
-
export declare function fieldDeprecationReasonChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonChanged>;
|
|
115
|
+
export declare function fieldDeprecationReasonChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonChanged>;
|
|
116
116
|
export declare function fieldDeprecationReasonAddedFromMeta(args: FieldDeprecationReasonAddedChange): {
|
|
117
|
-
readonly type:
|
|
117
|
+
readonly type: "FIELD_DEPRECATION_REASON_ADDED";
|
|
118
118
|
readonly criticality: {
|
|
119
119
|
readonly level: CriticalityLevel.NonBreaking;
|
|
120
120
|
};
|
|
@@ -126,9 +126,9 @@ export declare function fieldDeprecationReasonAddedFromMeta(args: FieldDeprecati
|
|
|
126
126
|
};
|
|
127
127
|
readonly path: string;
|
|
128
128
|
};
|
|
129
|
-
export declare function fieldDeprecationReasonAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonAdded>;
|
|
129
|
+
export declare function fieldDeprecationReasonAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonAdded>;
|
|
130
130
|
export declare function fieldDeprecationReasonRemovedFromMeta(args: FieldDeprecationReasonRemovedChange): {
|
|
131
|
-
readonly type:
|
|
131
|
+
readonly type: "FIELD_DEPRECATION_REASON_REMOVED";
|
|
132
132
|
readonly criticality: {
|
|
133
133
|
readonly level: CriticalityLevel.NonBreaking;
|
|
134
134
|
};
|
|
@@ -139,9 +139,9 @@ export declare function fieldDeprecationReasonRemovedFromMeta(args: FieldDepreca
|
|
|
139
139
|
};
|
|
140
140
|
readonly path: string;
|
|
141
141
|
};
|
|
142
|
-
export declare function fieldDeprecationReasonRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonRemoved>;
|
|
142
|
+
export declare function fieldDeprecationReasonRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonRemoved>;
|
|
143
143
|
export declare function fieldTypeChangedFromMeta(args: FieldTypeChangedChange): {
|
|
144
|
-
readonly type:
|
|
144
|
+
readonly type: "FIELD_TYPE_CHANGED";
|
|
145
145
|
readonly criticality: {
|
|
146
146
|
readonly level: CriticalityLevel.Breaking | CriticalityLevel.NonBreaking;
|
|
147
147
|
};
|
|
@@ -155,9 +155,9 @@ export declare function fieldTypeChangedFromMeta(args: FieldTypeChangedChange):
|
|
|
155
155
|
};
|
|
156
156
|
readonly path: string;
|
|
157
157
|
};
|
|
158
|
-
export declare function fieldTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any, any>, newField: GraphQLField<any, any, any>): Change<ChangeType.FieldTypeChanged>;
|
|
158
|
+
export declare function fieldTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any, any>, newField: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldTypeChanged>;
|
|
159
159
|
export declare function fieldArgumentAddedFromMeta(args: FieldArgumentAddedChange): {
|
|
160
|
-
readonly type:
|
|
160
|
+
readonly type: "FIELD_ARGUMENT_ADDED";
|
|
161
161
|
readonly criticality: {
|
|
162
162
|
readonly level: CriticalityLevel.Breaking | CriticalityLevel.Dangerous;
|
|
163
163
|
};
|
|
@@ -172,9 +172,9 @@ export declare function fieldArgumentAddedFromMeta(args: FieldArgumentAddedChang
|
|
|
172
172
|
};
|
|
173
173
|
readonly path: string;
|
|
174
174
|
};
|
|
175
|
-
export declare function fieldArgumentAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<ChangeType.FieldArgumentAdded>;
|
|
175
|
+
export declare function fieldArgumentAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentAdded>;
|
|
176
176
|
export declare function fieldArgumentRemovedFromMeta(args: FieldArgumentRemovedChange): {
|
|
177
|
-
readonly type:
|
|
177
|
+
readonly type: "FIELD_ARGUMENT_REMOVED";
|
|
178
178
|
readonly criticality: {
|
|
179
179
|
readonly level: CriticalityLevel.Breaking;
|
|
180
180
|
};
|
|
@@ -187,4 +187,4 @@ export declare function fieldArgumentRemovedFromMeta(args: FieldArgumentRemovedC
|
|
|
187
187
|
};
|
|
188
188
|
readonly path: string;
|
|
189
189
|
};
|
|
190
|
-
export declare function fieldArgumentRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<ChangeType.FieldArgumentRemoved>;
|
|
190
|
+
export declare function fieldArgumentRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentRemoved>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLInputField, GraphQLInputObjectType } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, InputFieldAddedChange, InputFieldDefaultValueChangedChange, InputFieldDescriptionAddedChange, InputFieldDescriptionChangedChange, InputFieldDescriptionRemovedChange, InputFieldRemovedChange, InputFieldTypeChangedChange } from './change.cjs';
|
|
3
3
|
export declare function inputFieldRemovedFromMeta(args: InputFieldRemovedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "INPUT_FIELD_REMOVED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Breaking;
|
|
7
7
|
readonly reason: "Removing an input field will cause existing queries that use this input field to error.";
|
|
@@ -14,10 +14,10 @@ export declare function inputFieldRemovedFromMeta(args: InputFieldRemovedChange)
|
|
|
14
14
|
};
|
|
15
15
|
readonly path: string;
|
|
16
16
|
};
|
|
17
|
-
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldRemoved>;
|
|
17
|
+
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldRemoved>;
|
|
18
18
|
export declare function buildInputFieldAddedMessage(args: InputFieldAddedChange['meta']): string;
|
|
19
19
|
export declare function inputFieldAddedFromMeta(args: InputFieldAddedChange): {
|
|
20
|
-
readonly type:
|
|
20
|
+
readonly type: "INPUT_FIELD_ADDED";
|
|
21
21
|
readonly criticality: {
|
|
22
22
|
level: CriticalityLevel;
|
|
23
23
|
reason?: undefined;
|
|
@@ -34,9 +34,9 @@ export declare function inputFieldAddedFromMeta(args: InputFieldAddedChange): {
|
|
|
34
34
|
};
|
|
35
35
|
readonly path: string;
|
|
36
36
|
};
|
|
37
|
-
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldAdded>;
|
|
37
|
+
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldAdded>;
|
|
38
38
|
export declare function inputFieldDescriptionAddedFromMeta(args: InputFieldDescriptionAddedChange): {
|
|
39
|
-
readonly type:
|
|
39
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_ADDED";
|
|
40
40
|
readonly criticality: {
|
|
41
41
|
readonly level: CriticalityLevel.NonBreaking;
|
|
42
42
|
};
|
|
@@ -48,9 +48,9 @@ export declare function inputFieldDescriptionAddedFromMeta(args: InputFieldDescr
|
|
|
48
48
|
};
|
|
49
49
|
readonly path: string;
|
|
50
50
|
};
|
|
51
|
-
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionAdded>;
|
|
51
|
+
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionAdded>;
|
|
52
52
|
export declare function inputFieldDescriptionRemovedFromMeta(args: InputFieldDescriptionRemovedChange): {
|
|
53
|
-
readonly type:
|
|
53
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_REMOVED";
|
|
54
54
|
readonly criticality: {
|
|
55
55
|
readonly level: CriticalityLevel.NonBreaking;
|
|
56
56
|
};
|
|
@@ -62,9 +62,9 @@ export declare function inputFieldDescriptionRemovedFromMeta(args: InputFieldDes
|
|
|
62
62
|
};
|
|
63
63
|
readonly path: string;
|
|
64
64
|
};
|
|
65
|
-
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionRemoved>;
|
|
65
|
+
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionRemoved>;
|
|
66
66
|
export declare function inputFieldDescriptionChangedFromMeta(args: InputFieldDescriptionChangedChange): {
|
|
67
|
-
readonly type:
|
|
67
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_CHANGED";
|
|
68
68
|
readonly criticality: {
|
|
69
69
|
readonly level: CriticalityLevel.NonBreaking;
|
|
70
70
|
};
|
|
@@ -77,9 +77,9 @@ export declare function inputFieldDescriptionChangedFromMeta(args: InputFieldDes
|
|
|
77
77
|
};
|
|
78
78
|
readonly path: string;
|
|
79
79
|
};
|
|
80
|
-
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDescriptionChanged>;
|
|
80
|
+
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionChanged>;
|
|
81
81
|
export declare function inputFieldDefaultValueChangedFromMeta(args: InputFieldDefaultValueChangedChange): {
|
|
82
|
-
readonly type:
|
|
82
|
+
readonly type: "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
|
|
83
83
|
readonly criticality: {
|
|
84
84
|
readonly level: CriticalityLevel.Dangerous;
|
|
85
85
|
readonly reason: "Changing the default value for an argument may change the runtime behavior of a field if it was never provided.";
|
|
@@ -93,9 +93,9 @@ export declare function inputFieldDefaultValueChangedFromMeta(args: InputFieldDe
|
|
|
93
93
|
};
|
|
94
94
|
readonly path: string;
|
|
95
95
|
};
|
|
96
|
-
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDefaultValueChanged>;
|
|
96
|
+
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDefaultValueChanged>;
|
|
97
97
|
export declare function inputFieldTypeChangedFromMeta(args: InputFieldTypeChangedChange): {
|
|
98
|
-
readonly type:
|
|
98
|
+
readonly type: "INPUT_FIELD_TYPE_CHANGED";
|
|
99
99
|
readonly criticality: {
|
|
100
100
|
level: CriticalityLevel;
|
|
101
101
|
reason: string;
|
|
@@ -110,4 +110,4 @@ export declare function inputFieldTypeChangedFromMeta(args: InputFieldTypeChange
|
|
|
110
110
|
};
|
|
111
111
|
readonly path: string;
|
|
112
112
|
};
|
|
113
|
-
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldTypeChanged>;
|
|
113
|
+
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldTypeChanged>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLInputField, GraphQLInputObjectType } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, InputFieldAddedChange, InputFieldDefaultValueChangedChange, InputFieldDescriptionAddedChange, InputFieldDescriptionChangedChange, InputFieldDescriptionRemovedChange, InputFieldRemovedChange, InputFieldTypeChangedChange } from './change.js';
|
|
3
3
|
export declare function inputFieldRemovedFromMeta(args: InputFieldRemovedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "INPUT_FIELD_REMOVED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Breaking;
|
|
7
7
|
readonly reason: "Removing an input field will cause existing queries that use this input field to error.";
|
|
@@ -14,10 +14,10 @@ export declare function inputFieldRemovedFromMeta(args: InputFieldRemovedChange)
|
|
|
14
14
|
};
|
|
15
15
|
readonly path: string;
|
|
16
16
|
};
|
|
17
|
-
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldRemoved>;
|
|
17
|
+
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldRemoved>;
|
|
18
18
|
export declare function buildInputFieldAddedMessage(args: InputFieldAddedChange['meta']): string;
|
|
19
19
|
export declare function inputFieldAddedFromMeta(args: InputFieldAddedChange): {
|
|
20
|
-
readonly type:
|
|
20
|
+
readonly type: "INPUT_FIELD_ADDED";
|
|
21
21
|
readonly criticality: {
|
|
22
22
|
level: CriticalityLevel;
|
|
23
23
|
reason?: undefined;
|
|
@@ -34,9 +34,9 @@ export declare function inputFieldAddedFromMeta(args: InputFieldAddedChange): {
|
|
|
34
34
|
};
|
|
35
35
|
readonly path: string;
|
|
36
36
|
};
|
|
37
|
-
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldAdded>;
|
|
37
|
+
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldAdded>;
|
|
38
38
|
export declare function inputFieldDescriptionAddedFromMeta(args: InputFieldDescriptionAddedChange): {
|
|
39
|
-
readonly type:
|
|
39
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_ADDED";
|
|
40
40
|
readonly criticality: {
|
|
41
41
|
readonly level: CriticalityLevel.NonBreaking;
|
|
42
42
|
};
|
|
@@ -48,9 +48,9 @@ export declare function inputFieldDescriptionAddedFromMeta(args: InputFieldDescr
|
|
|
48
48
|
};
|
|
49
49
|
readonly path: string;
|
|
50
50
|
};
|
|
51
|
-
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionAdded>;
|
|
51
|
+
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionAdded>;
|
|
52
52
|
export declare function inputFieldDescriptionRemovedFromMeta(args: InputFieldDescriptionRemovedChange): {
|
|
53
|
-
readonly type:
|
|
53
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_REMOVED";
|
|
54
54
|
readonly criticality: {
|
|
55
55
|
readonly level: CriticalityLevel.NonBreaking;
|
|
56
56
|
};
|
|
@@ -62,9 +62,9 @@ export declare function inputFieldDescriptionRemovedFromMeta(args: InputFieldDes
|
|
|
62
62
|
};
|
|
63
63
|
readonly path: string;
|
|
64
64
|
};
|
|
65
|
-
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionRemoved>;
|
|
65
|
+
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionRemoved>;
|
|
66
66
|
export declare function inputFieldDescriptionChangedFromMeta(args: InputFieldDescriptionChangedChange): {
|
|
67
|
-
readonly type:
|
|
67
|
+
readonly type: "INPUT_FIELD_DESCRIPTION_CHANGED";
|
|
68
68
|
readonly criticality: {
|
|
69
69
|
readonly level: CriticalityLevel.NonBreaking;
|
|
70
70
|
};
|
|
@@ -77,9 +77,9 @@ export declare function inputFieldDescriptionChangedFromMeta(args: InputFieldDes
|
|
|
77
77
|
};
|
|
78
78
|
readonly path: string;
|
|
79
79
|
};
|
|
80
|
-
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDescriptionChanged>;
|
|
80
|
+
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionChanged>;
|
|
81
81
|
export declare function inputFieldDefaultValueChangedFromMeta(args: InputFieldDefaultValueChangedChange): {
|
|
82
|
-
readonly type:
|
|
82
|
+
readonly type: "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
|
|
83
83
|
readonly criticality: {
|
|
84
84
|
readonly level: CriticalityLevel.Dangerous;
|
|
85
85
|
readonly reason: "Changing the default value for an argument may change the runtime behavior of a field if it was never provided.";
|
|
@@ -93,9 +93,9 @@ export declare function inputFieldDefaultValueChangedFromMeta(args: InputFieldDe
|
|
|
93
93
|
};
|
|
94
94
|
readonly path: string;
|
|
95
95
|
};
|
|
96
|
-
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDefaultValueChanged>;
|
|
96
|
+
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDefaultValueChanged>;
|
|
97
97
|
export declare function inputFieldTypeChangedFromMeta(args: InputFieldTypeChangedChange): {
|
|
98
|
-
readonly type:
|
|
98
|
+
readonly type: "INPUT_FIELD_TYPE_CHANGED";
|
|
99
99
|
readonly criticality: {
|
|
100
100
|
level: CriticalityLevel;
|
|
101
101
|
reason: string;
|
|
@@ -110,4 +110,4 @@ export declare function inputFieldTypeChangedFromMeta(args: InputFieldTypeChange
|
|
|
110
110
|
};
|
|
111
111
|
readonly path: string;
|
|
112
112
|
};
|
|
113
|
-
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldTypeChanged>;
|
|
113
|
+
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldTypeChanged>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, ObjectTypeInterfaceAddedChange, ObjectTypeInterfaceRemovedChange } from './change.cjs';
|
|
3
3
|
export declare function objectTypeInterfaceAddedFromMeta(args: ObjectTypeInterfaceAddedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "OBJECT_TYPE_INTERFACE_ADDED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Dangerous;
|
|
7
7
|
readonly reason: "Adding an interface to an object type may break existing clients that were not programming defensively against a new possible type.";
|
|
@@ -13,9 +13,9 @@ export declare function objectTypeInterfaceAddedFromMeta(args: ObjectTypeInterfa
|
|
|
13
13
|
};
|
|
14
14
|
readonly path: string;
|
|
15
15
|
};
|
|
16
|
-
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceAdded>;
|
|
16
|
+
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceAdded>;
|
|
17
17
|
export declare function objectTypeInterfaceRemovedFromMeta(args: ObjectTypeInterfaceRemovedChange): {
|
|
18
|
-
readonly type:
|
|
18
|
+
readonly type: "OBJECT_TYPE_INTERFACE_REMOVED";
|
|
19
19
|
readonly criticality: {
|
|
20
20
|
readonly level: CriticalityLevel.Breaking;
|
|
21
21
|
readonly reason: "Removing an interface from an object type can cause existing queries that use this in a fragment spread to error.";
|
|
@@ -27,4 +27,4 @@ export declare function objectTypeInterfaceRemovedFromMeta(args: ObjectTypeInter
|
|
|
27
27
|
};
|
|
28
28
|
readonly path: string;
|
|
29
29
|
};
|
|
30
|
-
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceRemoved>;
|
|
30
|
+
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceRemoved>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, ObjectTypeInterfaceAddedChange, ObjectTypeInterfaceRemovedChange } from './change.js';
|
|
3
3
|
export declare function objectTypeInterfaceAddedFromMeta(args: ObjectTypeInterfaceAddedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "OBJECT_TYPE_INTERFACE_ADDED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Dangerous;
|
|
7
7
|
readonly reason: "Adding an interface to an object type may break existing clients that were not programming defensively against a new possible type.";
|
|
@@ -13,9 +13,9 @@ export declare function objectTypeInterfaceAddedFromMeta(args: ObjectTypeInterfa
|
|
|
13
13
|
};
|
|
14
14
|
readonly path: string;
|
|
15
15
|
};
|
|
16
|
-
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceAdded>;
|
|
16
|
+
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceAdded>;
|
|
17
17
|
export declare function objectTypeInterfaceRemovedFromMeta(args: ObjectTypeInterfaceRemovedChange): {
|
|
18
|
-
readonly type:
|
|
18
|
+
readonly type: "OBJECT_TYPE_INTERFACE_REMOVED";
|
|
19
19
|
readonly criticality: {
|
|
20
20
|
readonly level: CriticalityLevel.Breaking;
|
|
21
21
|
readonly reason: "Removing an interface from an object type can cause existing queries that use this in a fragment spread to error.";
|
|
@@ -27,4 +27,4 @@ export declare function objectTypeInterfaceRemovedFromMeta(args: ObjectTypeInter
|
|
|
27
27
|
};
|
|
28
28
|
readonly path: string;
|
|
29
29
|
};
|
|
30
|
-
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceRemoved>;
|
|
30
|
+
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceRemoved>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, SchemaMutationTypeChangedChange, SchemaQueryTypeChangedChange, SchemaSubscriptionTypeChangedChange } from './change.cjs';
|
|
3
3
|
export declare function schemaQueryTypeChangedFromMeta(args: SchemaQueryTypeChangedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "SCHEMA_QUERY_TYPE_CHANGED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Breaking;
|
|
7
7
|
};
|
|
@@ -11,9 +11,9 @@ export declare function schemaQueryTypeChangedFromMeta(args: SchemaQueryTypeChan
|
|
|
11
11
|
newQueryTypeName: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaQueryTypeChanged>;
|
|
14
|
+
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaQueryTypeChanged>;
|
|
15
15
|
export declare function schemaMutationTypeChangedFromMeta(args: SchemaMutationTypeChangedChange): {
|
|
16
|
-
readonly type:
|
|
16
|
+
readonly type: "SCHEMA_MUTATION_TYPE_CHANGED";
|
|
17
17
|
readonly criticality: {
|
|
18
18
|
readonly level: CriticalityLevel.Breaking;
|
|
19
19
|
};
|
|
@@ -23,9 +23,9 @@ export declare function schemaMutationTypeChangedFromMeta(args: SchemaMutationTy
|
|
|
23
23
|
newMutationTypeName: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaMutationTypeChanged>;
|
|
26
|
+
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaMutationTypeChanged>;
|
|
27
27
|
export declare function schemaSubscriptionTypeChangedFromMeta(args: SchemaSubscriptionTypeChangedChange): {
|
|
28
|
-
readonly type:
|
|
28
|
+
readonly type: "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
|
|
29
29
|
readonly criticality: {
|
|
30
30
|
readonly level: CriticalityLevel.Breaking;
|
|
31
31
|
};
|
|
@@ -35,4 +35,4 @@ export declare function schemaSubscriptionTypeChangedFromMeta(args: SchemaSubscr
|
|
|
35
35
|
newSubscriptionTypeName: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaSubscriptionTypeChanged>;
|
|
38
|
+
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaSubscriptionTypeChanged>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
2
|
import { Change, ChangeType, CriticalityLevel, SchemaMutationTypeChangedChange, SchemaQueryTypeChangedChange, SchemaSubscriptionTypeChangedChange } from './change.js';
|
|
3
3
|
export declare function schemaQueryTypeChangedFromMeta(args: SchemaQueryTypeChangedChange): {
|
|
4
|
-
readonly type:
|
|
4
|
+
readonly type: "SCHEMA_QUERY_TYPE_CHANGED";
|
|
5
5
|
readonly criticality: {
|
|
6
6
|
readonly level: CriticalityLevel.Breaking;
|
|
7
7
|
};
|
|
@@ -11,9 +11,9 @@ export declare function schemaQueryTypeChangedFromMeta(args: SchemaQueryTypeChan
|
|
|
11
11
|
newQueryTypeName: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaQueryTypeChanged>;
|
|
14
|
+
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaQueryTypeChanged>;
|
|
15
15
|
export declare function schemaMutationTypeChangedFromMeta(args: SchemaMutationTypeChangedChange): {
|
|
16
|
-
readonly type:
|
|
16
|
+
readonly type: "SCHEMA_MUTATION_TYPE_CHANGED";
|
|
17
17
|
readonly criticality: {
|
|
18
18
|
readonly level: CriticalityLevel.Breaking;
|
|
19
19
|
};
|
|
@@ -23,9 +23,9 @@ export declare function schemaMutationTypeChangedFromMeta(args: SchemaMutationTy
|
|
|
23
23
|
newMutationTypeName: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaMutationTypeChanged>;
|
|
26
|
+
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaMutationTypeChanged>;
|
|
27
27
|
export declare function schemaSubscriptionTypeChangedFromMeta(args: SchemaSubscriptionTypeChangedChange): {
|
|
28
|
-
readonly type:
|
|
28
|
+
readonly type: "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
|
|
29
29
|
readonly criticality: {
|
|
30
30
|
readonly level: CriticalityLevel.Breaking;
|
|
31
31
|
};
|
|
@@ -35,4 +35,4 @@ export declare function schemaSubscriptionTypeChangedFromMeta(args: SchemaSubscr
|
|
|
35
35
|
newSubscriptionTypeName: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaSubscriptionTypeChanged>;
|
|
38
|
+
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaSubscriptionTypeChanged>;
|
|
@@ -4,32 +4,32 @@ export declare function typeRemovedFromMeta(args: TypeRemovedChange): {
|
|
|
4
4
|
readonly criticality: {
|
|
5
5
|
readonly level: CriticalityLevel.Breaking;
|
|
6
6
|
};
|
|
7
|
-
readonly type:
|
|
7
|
+
readonly type: "TYPE_REMOVED";
|
|
8
8
|
readonly message: string;
|
|
9
9
|
readonly meta: {
|
|
10
10
|
removedTypeName: string;
|
|
11
11
|
};
|
|
12
12
|
readonly path: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function typeRemoved(type: GraphQLNamedType): Change<ChangeType.TypeRemoved>;
|
|
14
|
+
export declare function typeRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeRemoved>;
|
|
15
15
|
export declare function typeAddedFromMeta(args: TypeAddedChange): {
|
|
16
16
|
readonly criticality: {
|
|
17
17
|
readonly level: CriticalityLevel.NonBreaking;
|
|
18
18
|
};
|
|
19
|
-
readonly type:
|
|
19
|
+
readonly type: "TYPE_ADDED";
|
|
20
20
|
readonly message: string;
|
|
21
21
|
readonly meta: {
|
|
22
22
|
addedTypeName: string;
|
|
23
23
|
};
|
|
24
24
|
readonly path: string;
|
|
25
25
|
};
|
|
26
|
-
export declare function typeAdded(type: GraphQLNamedType): Change<ChangeType.TypeAdded>;
|
|
26
|
+
export declare function typeAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeAdded>;
|
|
27
27
|
export declare function typeKindChangedFromMeta(args: TypeKindChangedChange): {
|
|
28
28
|
readonly criticality: {
|
|
29
29
|
readonly level: CriticalityLevel.Breaking;
|
|
30
30
|
readonly reason: "Changing the kind of a type is a breaking change because it can cause existing queries to error. For example, turning an object type to a scalar type would break queries that define a selection set for this type.";
|
|
31
31
|
};
|
|
32
|
-
readonly type:
|
|
32
|
+
readonly type: "TYPE_KIND_CHANGED";
|
|
33
33
|
readonly message: string;
|
|
34
34
|
readonly path: string;
|
|
35
35
|
readonly meta: {
|
|
@@ -38,12 +38,12 @@ export declare function typeKindChangedFromMeta(args: TypeKindChangedChange): {
|
|
|
38
38
|
newTypeKind: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeKindChanged>;
|
|
41
|
+
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeKindChanged>;
|
|
42
42
|
export declare function typeDescriptionChangedFromMeta(args: TypeDescriptionChangedChange): {
|
|
43
43
|
readonly criticality: {
|
|
44
44
|
readonly level: CriticalityLevel.NonBreaking;
|
|
45
45
|
};
|
|
46
|
-
readonly type:
|
|
46
|
+
readonly type: "TYPE_DESCRIPTION_CHANGED";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
readonly path: string;
|
|
49
49
|
readonly meta: {
|
|
@@ -52,12 +52,12 @@ export declare function typeDescriptionChangedFromMeta(args: TypeDescriptionChan
|
|
|
52
52
|
newTypeDescription: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeDescriptionChanged>;
|
|
55
|
+
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionChanged>;
|
|
56
56
|
export declare function typeDescriptionRemovedFromMeta(args: TypeDescriptionRemovedChange): {
|
|
57
57
|
readonly criticality: {
|
|
58
58
|
readonly level: CriticalityLevel.NonBreaking;
|
|
59
59
|
};
|
|
60
|
-
readonly type:
|
|
60
|
+
readonly type: "TYPE_DESCRIPTION_REMOVED";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
readonly path: string;
|
|
63
63
|
readonly meta: {
|
|
@@ -65,12 +65,12 @@ export declare function typeDescriptionRemovedFromMeta(args: TypeDescriptionRemo
|
|
|
65
65
|
removedTypeDescription: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionRemoved>;
|
|
68
|
+
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionRemoved>;
|
|
69
69
|
export declare function typeDescriptionAddedFromMeta(args: TypeDescriptionAddedChange): {
|
|
70
70
|
readonly criticality: {
|
|
71
71
|
readonly level: CriticalityLevel.NonBreaking;
|
|
72
72
|
};
|
|
73
|
-
readonly type:
|
|
73
|
+
readonly type: "TYPE_DESCRIPTION_ADDED";
|
|
74
74
|
readonly message: string;
|
|
75
75
|
readonly path: string;
|
|
76
76
|
readonly meta: {
|
|
@@ -78,4 +78,4 @@ export declare function typeDescriptionAddedFromMeta(args: TypeDescriptionAddedC
|
|
|
78
78
|
addedTypeDescription: string;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionAdded>;
|
|
81
|
+
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionAdded>;
|
|
@@ -4,32 +4,32 @@ export declare function typeRemovedFromMeta(args: TypeRemovedChange): {
|
|
|
4
4
|
readonly criticality: {
|
|
5
5
|
readonly level: CriticalityLevel.Breaking;
|
|
6
6
|
};
|
|
7
|
-
readonly type:
|
|
7
|
+
readonly type: "TYPE_REMOVED";
|
|
8
8
|
readonly message: string;
|
|
9
9
|
readonly meta: {
|
|
10
10
|
removedTypeName: string;
|
|
11
11
|
};
|
|
12
12
|
readonly path: string;
|
|
13
13
|
};
|
|
14
|
-
export declare function typeRemoved(type: GraphQLNamedType): Change<ChangeType.TypeRemoved>;
|
|
14
|
+
export declare function typeRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeRemoved>;
|
|
15
15
|
export declare function typeAddedFromMeta(args: TypeAddedChange): {
|
|
16
16
|
readonly criticality: {
|
|
17
17
|
readonly level: CriticalityLevel.NonBreaking;
|
|
18
18
|
};
|
|
19
|
-
readonly type:
|
|
19
|
+
readonly type: "TYPE_ADDED";
|
|
20
20
|
readonly message: string;
|
|
21
21
|
readonly meta: {
|
|
22
22
|
addedTypeName: string;
|
|
23
23
|
};
|
|
24
24
|
readonly path: string;
|
|
25
25
|
};
|
|
26
|
-
export declare function typeAdded(type: GraphQLNamedType): Change<ChangeType.TypeAdded>;
|
|
26
|
+
export declare function typeAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeAdded>;
|
|
27
27
|
export declare function typeKindChangedFromMeta(args: TypeKindChangedChange): {
|
|
28
28
|
readonly criticality: {
|
|
29
29
|
readonly level: CriticalityLevel.Breaking;
|
|
30
30
|
readonly reason: "Changing the kind of a type is a breaking change because it can cause existing queries to error. For example, turning an object type to a scalar type would break queries that define a selection set for this type.";
|
|
31
31
|
};
|
|
32
|
-
readonly type:
|
|
32
|
+
readonly type: "TYPE_KIND_CHANGED";
|
|
33
33
|
readonly message: string;
|
|
34
34
|
readonly path: string;
|
|
35
35
|
readonly meta: {
|
|
@@ -38,12 +38,12 @@ export declare function typeKindChangedFromMeta(args: TypeKindChangedChange): {
|
|
|
38
38
|
newTypeKind: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeKindChanged>;
|
|
41
|
+
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeKindChanged>;
|
|
42
42
|
export declare function typeDescriptionChangedFromMeta(args: TypeDescriptionChangedChange): {
|
|
43
43
|
readonly criticality: {
|
|
44
44
|
readonly level: CriticalityLevel.NonBreaking;
|
|
45
45
|
};
|
|
46
|
-
readonly type:
|
|
46
|
+
readonly type: "TYPE_DESCRIPTION_CHANGED";
|
|
47
47
|
readonly message: string;
|
|
48
48
|
readonly path: string;
|
|
49
49
|
readonly meta: {
|
|
@@ -52,12 +52,12 @@ export declare function typeDescriptionChangedFromMeta(args: TypeDescriptionChan
|
|
|
52
52
|
newTypeDescription: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeDescriptionChanged>;
|
|
55
|
+
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionChanged>;
|
|
56
56
|
export declare function typeDescriptionRemovedFromMeta(args: TypeDescriptionRemovedChange): {
|
|
57
57
|
readonly criticality: {
|
|
58
58
|
readonly level: CriticalityLevel.NonBreaking;
|
|
59
59
|
};
|
|
60
|
-
readonly type:
|
|
60
|
+
readonly type: "TYPE_DESCRIPTION_REMOVED";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
readonly path: string;
|
|
63
63
|
readonly meta: {
|
|
@@ -65,12 +65,12 @@ export declare function typeDescriptionRemovedFromMeta(args: TypeDescriptionRemo
|
|
|
65
65
|
removedTypeDescription: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionRemoved>;
|
|
68
|
+
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionRemoved>;
|
|
69
69
|
export declare function typeDescriptionAddedFromMeta(args: TypeDescriptionAddedChange): {
|
|
70
70
|
readonly criticality: {
|
|
71
71
|
readonly level: CriticalityLevel.NonBreaking;
|
|
72
72
|
};
|
|
73
|
-
readonly type:
|
|
73
|
+
readonly type: "TYPE_DESCRIPTION_ADDED";
|
|
74
74
|
readonly message: string;
|
|
75
75
|
readonly path: string;
|
|
76
76
|
readonly meta: {
|
|
@@ -78,4 +78,4 @@ export declare function typeDescriptionAddedFromMeta(args: TypeDescriptionAddedC
|
|
|
78
78
|
addedTypeDescription: string;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
|
-
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionAdded>;
|
|
81
|
+
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionAdded>;
|