@graphql-mesh/types 0.93.2 → 0.94.0-alpha-20230525230525-2d684b649
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/config-schema.js +8 -0
- package/cjs/config-schema.json +8 -0
- package/esm/config-schema.js +8 -0
- package/esm/config-schema.json +8 -0
- package/package.json +8 -5
- package/typings/config.d.cts +9 -0
- package/typings/config.d.ts +9 -0
package/cjs/config-schema.js
CHANGED
|
@@ -916,6 +916,10 @@ exports.jsonSchema = {
|
|
|
916
916
|
additionalItems: false,
|
|
917
917
|
description: 'prefix to collect Query method default: list, get',
|
|
918
918
|
},
|
|
919
|
+
schemaHeaders: {
|
|
920
|
+
type: 'object',
|
|
921
|
+
properties: {},
|
|
922
|
+
},
|
|
919
923
|
},
|
|
920
924
|
required: ['endpoint'],
|
|
921
925
|
},
|
|
@@ -3679,6 +3683,10 @@ exports.jsonSchema = {
|
|
|
3679
3683
|
type: 'string',
|
|
3680
3684
|
description: 'Flags to use in the Regular Expression',
|
|
3681
3685
|
},
|
|
3686
|
+
includeDefaults: {
|
|
3687
|
+
type: 'boolean',
|
|
3688
|
+
description: 'Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false',
|
|
3689
|
+
},
|
|
3682
3690
|
},
|
|
3683
3691
|
required: ['from', 'to'],
|
|
3684
3692
|
},
|
package/cjs/config-schema.json
CHANGED
|
@@ -912,6 +912,10 @@
|
|
|
912
912
|
},
|
|
913
913
|
"additionalItems": false,
|
|
914
914
|
"description": "prefix to collect Query method default: list, get"
|
|
915
|
+
},
|
|
916
|
+
"schemaHeaders": {
|
|
917
|
+
"type": "object",
|
|
918
|
+
"properties": {}
|
|
915
919
|
}
|
|
916
920
|
},
|
|
917
921
|
"required": ["endpoint"]
|
|
@@ -3675,6 +3679,10 @@
|
|
|
3675
3679
|
"regExpFlags": {
|
|
3676
3680
|
"type": "string",
|
|
3677
3681
|
"description": "Flags to use in the Regular Expression"
|
|
3682
|
+
},
|
|
3683
|
+
"includeDefaults": {
|
|
3684
|
+
"type": "boolean",
|
|
3685
|
+
"description": "Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false"
|
|
3678
3686
|
}
|
|
3679
3687
|
},
|
|
3680
3688
|
"required": ["from", "to"]
|
package/esm/config-schema.js
CHANGED
|
@@ -913,6 +913,10 @@ export const jsonSchema = {
|
|
|
913
913
|
additionalItems: false,
|
|
914
914
|
description: 'prefix to collect Query method default: list, get',
|
|
915
915
|
},
|
|
916
|
+
schemaHeaders: {
|
|
917
|
+
type: 'object',
|
|
918
|
+
properties: {},
|
|
919
|
+
},
|
|
916
920
|
},
|
|
917
921
|
required: ['endpoint'],
|
|
918
922
|
},
|
|
@@ -3676,6 +3680,10 @@ export const jsonSchema = {
|
|
|
3676
3680
|
type: 'string',
|
|
3677
3681
|
description: 'Flags to use in the Regular Expression',
|
|
3678
3682
|
},
|
|
3683
|
+
includeDefaults: {
|
|
3684
|
+
type: 'boolean',
|
|
3685
|
+
description: 'Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false',
|
|
3686
|
+
},
|
|
3679
3687
|
},
|
|
3680
3688
|
required: ['from', 'to'],
|
|
3681
3689
|
},
|
package/esm/config-schema.json
CHANGED
|
@@ -912,6 +912,10 @@
|
|
|
912
912
|
},
|
|
913
913
|
"additionalItems": false,
|
|
914
914
|
"description": "prefix to collect Query method default: list, get"
|
|
915
|
+
},
|
|
916
|
+
"schemaHeaders": {
|
|
917
|
+
"type": "object",
|
|
918
|
+
"properties": {}
|
|
915
919
|
}
|
|
916
920
|
},
|
|
917
921
|
"required": ["endpoint"]
|
|
@@ -3675,6 +3679,10 @@
|
|
|
3675
3679
|
"regExpFlags": {
|
|
3676
3680
|
"type": "string",
|
|
3677
3681
|
"description": "Flags to use in the Regular Expression"
|
|
3682
|
+
},
|
|
3683
|
+
"includeDefaults": {
|
|
3684
|
+
"type": "boolean",
|
|
3685
|
+
"description": "Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.\n\n@default: false"
|
|
3678
3686
|
}
|
|
3679
3687
|
},
|
|
3680
3688
|
"required": ["from", "to"]
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0-alpha-20230525230525-2d684b649",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/store": "
|
|
7
|
-
"@graphql-tools/utils": "^9.2.1",
|
|
6
|
+
"@graphql-mesh/store": "0.94.0-alpha-20230525230525-2d684b649",
|
|
7
|
+
"@graphql-tools/utils": "^9.2.1 || ^10.0.0",
|
|
8
8
|
"graphql": "*",
|
|
9
9
|
"tslib": "^2.4.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@graphql-tools/batch-delegate": "^
|
|
13
|
-
"@graphql-tools/delegate": "^
|
|
12
|
+
"@graphql-tools/batch-delegate": "^9.0.0",
|
|
13
|
+
"@graphql-tools/delegate": "^10.0.0",
|
|
14
14
|
"@graphql-typed-document-node/core": "^3.2.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
"directory": "packages/types"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=16.0.0"
|
|
24
|
+
},
|
|
22
25
|
"main": "cjs/index.js",
|
|
23
26
|
"module": "esm/index.js",
|
|
24
27
|
"typings": "typings/index.d.ts",
|
package/typings/config.d.cts
CHANGED
|
@@ -296,6 +296,9 @@ export interface GrpcHandler {
|
|
|
296
296
|
* prefix to collect Query method default: list, get
|
|
297
297
|
*/
|
|
298
298
|
prefixQueryMethod?: string[];
|
|
299
|
+
schemaHeaders?: {
|
|
300
|
+
[k: string]: any;
|
|
301
|
+
};
|
|
299
302
|
}
|
|
300
303
|
export interface ProtoFilePath {
|
|
301
304
|
file: string;
|
|
@@ -1328,6 +1331,12 @@ export interface RenameTransformObject {
|
|
|
1328
1331
|
* Flags to use in the Regular Expression
|
|
1329
1332
|
*/
|
|
1330
1333
|
regExpFlags?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.
|
|
1336
|
+
*
|
|
1337
|
+
* @default: false
|
|
1338
|
+
*/
|
|
1339
|
+
includeDefaults?: boolean;
|
|
1331
1340
|
}
|
|
1332
1341
|
export interface RenameConfig {
|
|
1333
1342
|
type?: string;
|
package/typings/config.d.ts
CHANGED
|
@@ -296,6 +296,9 @@ export interface GrpcHandler {
|
|
|
296
296
|
* prefix to collect Query method default: list, get
|
|
297
297
|
*/
|
|
298
298
|
prefixQueryMethod?: string[];
|
|
299
|
+
schemaHeaders?: {
|
|
300
|
+
[k: string]: any;
|
|
301
|
+
};
|
|
299
302
|
}
|
|
300
303
|
export interface ProtoFilePath {
|
|
301
304
|
file: string;
|
|
@@ -1328,6 +1331,12 @@ export interface RenameTransformObject {
|
|
|
1328
1331
|
* Flags to use in the Regular Expression
|
|
1329
1332
|
*/
|
|
1330
1333
|
regExpFlags?: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Flag to indicate whether certain default types (built-ins, scalars and other types specified an exclusion list) should be renamed or not.
|
|
1336
|
+
*
|
|
1337
|
+
* @default: false
|
|
1338
|
+
*/
|
|
1339
|
+
includeDefaults?: boolean;
|
|
1331
1340
|
}
|
|
1332
1341
|
export interface RenameConfig {
|
|
1333
1342
|
type?: string;
|