@omnigraph/json-schema 0.24.5-alpha-32d5e4471.0 → 1.0.0-alpha-c34a7d66e.0
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/README.md +1 -1
- package/index.js +1 -3
- package/index.mjs +1 -3
- package/package.json +4 -4
- package/types.d.ts +2 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1827,9 +1827,7 @@ async function loadGraphQLSchemaFromJSONSchemas(name, options) {
|
|
|
1827
1827
|
pubsub: options.pubsub,
|
|
1828
1828
|
generateInterfaceFromSharedFields: options.generateInterfaceFromSharedFields,
|
|
1829
1829
|
queryParams: options.queryParams,
|
|
1830
|
-
queryStringOptions:
|
|
1831
|
-
indices: options.indices,
|
|
1832
|
-
},
|
|
1830
|
+
queryStringOptions: options.queryStringOptions,
|
|
1833
1831
|
});
|
|
1834
1832
|
return graphqlSchema;
|
|
1835
1833
|
}
|
package/index.mjs
CHANGED
|
@@ -1821,9 +1821,7 @@ async function loadGraphQLSchemaFromJSONSchemas(name, options) {
|
|
|
1821
1821
|
pubsub: options.pubsub,
|
|
1822
1822
|
generateInterfaceFromSharedFields: options.generateInterfaceFromSharedFields,
|
|
1823
1823
|
queryParams: options.queryParams,
|
|
1824
|
-
queryStringOptions:
|
|
1825
|
-
indices: options.indices,
|
|
1826
|
-
},
|
|
1824
|
+
queryStringOptions: options.queryStringOptions,
|
|
1827
1825
|
});
|
|
1828
1826
|
return graphqlSchema;
|
|
1829
1827
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnigraph/json-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha-c34a7d66e.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
+
"@graphql-mesh/types": "0.79.0-alpha-c34a7d66e.0",
|
|
6
7
|
"graphql": "*"
|
|
7
8
|
},
|
|
8
9
|
"dependencies": {
|
|
9
10
|
"@graphql-mesh/cross-helpers": "0.2.0",
|
|
10
11
|
"@graphql-mesh/string-interpolation": "0.3.0",
|
|
11
|
-
"@graphql-mesh/
|
|
12
|
-
"@graphql-mesh/utils": "0.37.6-alpha-32d5e4471.0",
|
|
12
|
+
"@graphql-mesh/utils": "1.0.0-alpha-c34a7d66e.0",
|
|
13
13
|
"@graphql-tools/utils": "8.8.0",
|
|
14
14
|
"@json-schema-tools/meta-schema": "1.6.19",
|
|
15
15
|
"@whatwg-node/fetch": "^0.0.2",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"ajv-formats": "2.1.1",
|
|
18
18
|
"graphql-compose": "9.0.8",
|
|
19
19
|
"graphql-scalars": "1.17.0",
|
|
20
|
-
"json-machete": "0.10.
|
|
20
|
+
"json-machete": "0.10.6-alpha-c34a7d66e.0",
|
|
21
21
|
"lodash.set": "4.3.2",
|
|
22
22
|
"pascal-case": "3.1.2",
|
|
23
23
|
"qs": "6.11.0",
|
package/types.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { MeshPubSub, Logger } from '@graphql-mesh/types';
|
|
|
2
2
|
import { BaseLoaderOptions } from '@graphql-tools/utils';
|
|
3
3
|
import { GraphQLInputType, OperationTypeNode } from 'graphql';
|
|
4
4
|
import { JSONSchema, JSONSchemaObject } from 'json-machete';
|
|
5
|
+
import { IStringifyOptions } from 'qs';
|
|
5
6
|
export interface JSONSchemaLoaderOptions extends BaseLoaderOptions {
|
|
6
7
|
baseUrl?: string;
|
|
7
8
|
operationHeaders?: Record<string, string>;
|
|
@@ -15,7 +16,7 @@ export interface JSONSchemaLoaderOptions extends BaseLoaderOptions {
|
|
|
15
16
|
ignoreErrorResponses?: boolean;
|
|
16
17
|
queryParams?: Record<string, string>;
|
|
17
18
|
noDeduplication?: boolean;
|
|
18
|
-
|
|
19
|
+
queryStringOptions?: IStringifyOptions;
|
|
19
20
|
}
|
|
20
21
|
export interface JSONSchemaOperationResponseConfig {
|
|
21
22
|
responseSchema?: string | JSONSchemaObject;
|