@graphql-mesh/types 0.89.4 → 0.89.5-alpha-20230125223855-e21cdbd20
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 +17 -0
- package/cjs/config-schema.json +17 -0
- package/esm/config-schema.js +17 -0
- package/esm/config-schema.json +17 -0
- package/package.json +2 -2
- package/typings/config.d.cts +4 -0
- package/typings/config.d.ts +4 -0
- package/typings/index.d.cts +7 -7
- package/typings/index.d.ts +7 -7
package/cjs/config-schema.js
CHANGED
|
@@ -529,6 +529,9 @@ exports.jsonSchema = {
|
|
|
529
529
|
httpDetailsExtensions: {
|
|
530
530
|
$ref: '#/definitions/HTTPDetailsExtensionsConfig',
|
|
531
531
|
},
|
|
532
|
+
http2: {
|
|
533
|
+
$ref: '#/definitions/Http2Plugin',
|
|
534
|
+
},
|
|
532
535
|
liveQuery: {
|
|
533
536
|
$ref: '#/definitions/LiveQueryConfig',
|
|
534
537
|
},
|
|
@@ -2062,6 +2065,20 @@ exports.jsonSchema = {
|
|
|
2062
2065
|
},
|
|
2063
2066
|
},
|
|
2064
2067
|
},
|
|
2068
|
+
Http2Plugin: {
|
|
2069
|
+
additionalProperties: false,
|
|
2070
|
+
type: 'object',
|
|
2071
|
+
title: 'Http2Plugin',
|
|
2072
|
+
properties: {
|
|
2073
|
+
origins: {
|
|
2074
|
+
type: 'array',
|
|
2075
|
+
items: {
|
|
2076
|
+
type: 'string',
|
|
2077
|
+
},
|
|
2078
|
+
additionalItems: false,
|
|
2079
|
+
},
|
|
2080
|
+
},
|
|
2081
|
+
},
|
|
2065
2082
|
LiveQueryConfig: {
|
|
2066
2083
|
additionalProperties: false,
|
|
2067
2084
|
type: 'object',
|
package/cjs/config-schema.json
CHANGED
|
@@ -526,6 +526,9 @@
|
|
|
526
526
|
"httpDetailsExtensions": {
|
|
527
527
|
"$ref": "#/definitions/HTTPDetailsExtensionsConfig"
|
|
528
528
|
},
|
|
529
|
+
"http2": {
|
|
530
|
+
"$ref": "#/definitions/Http2Plugin"
|
|
531
|
+
},
|
|
529
532
|
"liveQuery": {
|
|
530
533
|
"$ref": "#/definitions/LiveQueryConfig"
|
|
531
534
|
},
|
|
@@ -2059,6 +2062,20 @@
|
|
|
2059
2062
|
}
|
|
2060
2063
|
}
|
|
2061
2064
|
},
|
|
2065
|
+
"Http2Plugin": {
|
|
2066
|
+
"additionalProperties": false,
|
|
2067
|
+
"type": "object",
|
|
2068
|
+
"title": "Http2Plugin",
|
|
2069
|
+
"properties": {
|
|
2070
|
+
"origins": {
|
|
2071
|
+
"type": "array",
|
|
2072
|
+
"items": {
|
|
2073
|
+
"type": "string"
|
|
2074
|
+
},
|
|
2075
|
+
"additionalItems": false
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2062
2079
|
"LiveQueryConfig": {
|
|
2063
2080
|
"additionalProperties": false,
|
|
2064
2081
|
"type": "object",
|
package/esm/config-schema.js
CHANGED
|
@@ -526,6 +526,9 @@ export const jsonSchema = {
|
|
|
526
526
|
httpDetailsExtensions: {
|
|
527
527
|
$ref: '#/definitions/HTTPDetailsExtensionsConfig',
|
|
528
528
|
},
|
|
529
|
+
http2: {
|
|
530
|
+
$ref: '#/definitions/Http2Plugin',
|
|
531
|
+
},
|
|
529
532
|
liveQuery: {
|
|
530
533
|
$ref: '#/definitions/LiveQueryConfig',
|
|
531
534
|
},
|
|
@@ -2059,6 +2062,20 @@ export const jsonSchema = {
|
|
|
2059
2062
|
},
|
|
2060
2063
|
},
|
|
2061
2064
|
},
|
|
2065
|
+
Http2Plugin: {
|
|
2066
|
+
additionalProperties: false,
|
|
2067
|
+
type: 'object',
|
|
2068
|
+
title: 'Http2Plugin',
|
|
2069
|
+
properties: {
|
|
2070
|
+
origins: {
|
|
2071
|
+
type: 'array',
|
|
2072
|
+
items: {
|
|
2073
|
+
type: 'string',
|
|
2074
|
+
},
|
|
2075
|
+
additionalItems: false,
|
|
2076
|
+
},
|
|
2077
|
+
},
|
|
2078
|
+
},
|
|
2062
2079
|
LiveQueryConfig: {
|
|
2063
2080
|
additionalProperties: false,
|
|
2064
2081
|
type: 'object',
|
package/esm/config-schema.json
CHANGED
|
@@ -526,6 +526,9 @@
|
|
|
526
526
|
"httpDetailsExtensions": {
|
|
527
527
|
"$ref": "#/definitions/HTTPDetailsExtensionsConfig"
|
|
528
528
|
},
|
|
529
|
+
"http2": {
|
|
530
|
+
"$ref": "#/definitions/Http2Plugin"
|
|
531
|
+
},
|
|
529
532
|
"liveQuery": {
|
|
530
533
|
"$ref": "#/definitions/LiveQueryConfig"
|
|
531
534
|
},
|
|
@@ -2059,6 +2062,20 @@
|
|
|
2059
2062
|
}
|
|
2060
2063
|
}
|
|
2061
2064
|
},
|
|
2065
|
+
"Http2Plugin": {
|
|
2066
|
+
"additionalProperties": false,
|
|
2067
|
+
"type": "object",
|
|
2068
|
+
"title": "Http2Plugin",
|
|
2069
|
+
"properties": {
|
|
2070
|
+
"origins": {
|
|
2071
|
+
"type": "array",
|
|
2072
|
+
"items": {
|
|
2073
|
+
"type": "string"
|
|
2074
|
+
},
|
|
2075
|
+
"additionalItems": false
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2062
2079
|
"LiveQueryConfig": {
|
|
2063
2080
|
"additionalProperties": false,
|
|
2064
2081
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.89.
|
|
3
|
+
"version": "0.89.5-alpha-20230125223855-e21cdbd20",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"graphql": "*"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@graphql-mesh/store": "0.9.
|
|
9
|
+
"@graphql-mesh/store": "0.9.6-alpha-20230125223855-e21cdbd20",
|
|
10
10
|
"@graphql-tools/batch-delegate": "8.4.15",
|
|
11
11
|
"@graphql-tools/delegate": "9.0.22",
|
|
12
12
|
"@graphql-tools/utils": "9.1.4",
|
package/typings/config.d.cts
CHANGED
|
@@ -1550,6 +1550,7 @@ export interface Plugin {
|
|
|
1550
1550
|
hive?: HivePlugin;
|
|
1551
1551
|
httpCache?: any;
|
|
1552
1552
|
httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
|
|
1553
|
+
http2?: Http2Plugin;
|
|
1553
1554
|
liveQuery?: LiveQueryConfig;
|
|
1554
1555
|
mock?: MockingConfig;
|
|
1555
1556
|
newrelic?: NewrelicConfig;
|
|
@@ -1665,6 +1666,9 @@ export interface HiveReportingOptions {
|
|
|
1665
1666
|
export interface HTTPDetailsExtensionsConfig {
|
|
1666
1667
|
if?: any;
|
|
1667
1668
|
}
|
|
1669
|
+
export interface Http2Plugin {
|
|
1670
|
+
origins?: string[];
|
|
1671
|
+
}
|
|
1668
1672
|
export interface LiveQueryConfig {
|
|
1669
1673
|
/**
|
|
1670
1674
|
* Invalidate a query or queries when a specific operation is done without an error
|
package/typings/config.d.ts
CHANGED
|
@@ -1550,6 +1550,7 @@ export interface Plugin {
|
|
|
1550
1550
|
hive?: HivePlugin;
|
|
1551
1551
|
httpCache?: any;
|
|
1552
1552
|
httpDetailsExtensions?: HTTPDetailsExtensionsConfig;
|
|
1553
|
+
http2?: Http2Plugin;
|
|
1553
1554
|
liveQuery?: LiveQueryConfig;
|
|
1554
1555
|
mock?: MockingConfig;
|
|
1555
1556
|
newrelic?: NewrelicConfig;
|
|
@@ -1665,6 +1666,9 @@ export interface HiveReportingOptions {
|
|
|
1665
1666
|
export interface HTTPDetailsExtensionsConfig {
|
|
1666
1667
|
if?: any;
|
|
1667
1668
|
}
|
|
1669
|
+
export interface Http2Plugin {
|
|
1670
|
+
origins?: string[];
|
|
1671
|
+
}
|
|
1668
1672
|
export interface LiveQueryConfig {
|
|
1669
1673
|
/**
|
|
1670
1674
|
* Invalidate a query or queries when a specific operation is done without an error
|
package/typings/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GraphQLSchema, GraphQLResolveInfo, DocumentNode, SelectionSetNode } from 'graphql';
|
|
3
|
-
import * as YamlConfig from './config.cjs';
|
|
4
|
-
import { Transform, MergedTypeConfig, SubschemaConfig, IDelegateToSchemaOptions, CreateProxyingResolverFn } from '@graphql-tools/delegate';
|
|
5
|
-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
6
|
-
import { MeshStore } from '@graphql-mesh/store';
|
|
7
|
-
import type { Plugin } from '@envelop/core';
|
|
1
|
+
import { DocumentNode, GraphQLResolveInfo, GraphQLSchema, SelectionSetNode } from 'graphql';
|
|
8
2
|
import { PromiseOrValue } from 'graphql/jsutils/PromiseOrValue';
|
|
3
|
+
import type { Plugin } from '@envelop/core';
|
|
4
|
+
import { MeshStore } from '@graphql-mesh/store';
|
|
9
5
|
import { BatchDelegateOptions } from '@graphql-tools/batch-delegate';
|
|
6
|
+
import { CreateProxyingResolverFn, IDelegateToSchemaOptions, MergedTypeConfig, SubschemaConfig, Transform } from '@graphql-tools/delegate';
|
|
7
|
+
import { Executor, IResolvers } from '@graphql-tools/utils';
|
|
8
|
+
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
9
|
+
import * as YamlConfig from './config.cjs';
|
|
10
10
|
export { jsonSchema } from './config-schema.cjs';
|
|
11
11
|
export { YamlConfig };
|
|
12
12
|
export type MeshSource = {
|
package/typings/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GraphQLSchema, GraphQLResolveInfo, DocumentNode, SelectionSetNode } from 'graphql';
|
|
3
|
-
import * as YamlConfig from './config.js';
|
|
4
|
-
import { Transform, MergedTypeConfig, SubschemaConfig, IDelegateToSchemaOptions, CreateProxyingResolverFn } from '@graphql-tools/delegate';
|
|
5
|
-
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
6
|
-
import { MeshStore } from '@graphql-mesh/store';
|
|
7
|
-
import type { Plugin } from '@envelop/core';
|
|
1
|
+
import { DocumentNode, GraphQLResolveInfo, GraphQLSchema, SelectionSetNode } from 'graphql';
|
|
8
2
|
import { PromiseOrValue } from 'graphql/jsutils/PromiseOrValue';
|
|
3
|
+
import type { Plugin } from '@envelop/core';
|
|
4
|
+
import { MeshStore } from '@graphql-mesh/store';
|
|
9
5
|
import { BatchDelegateOptions } from '@graphql-tools/batch-delegate';
|
|
6
|
+
import { CreateProxyingResolverFn, IDelegateToSchemaOptions, MergedTypeConfig, SubschemaConfig, Transform } from '@graphql-tools/delegate';
|
|
7
|
+
import { Executor, IResolvers } from '@graphql-tools/utils';
|
|
8
|
+
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
9
|
+
import * as YamlConfig from './config.js';
|
|
10
10
|
export { jsonSchema } from './config-schema.js';
|
|
11
11
|
export { YamlConfig };
|
|
12
12
|
export type MeshSource = {
|