Initial Sample.
This commit is contained in:
19
graphql-subscription/node_modules/graphql/subscription/index.d.ts
generated
vendored
Normal file
19
graphql-subscription/node_modules/graphql/subscription/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* NOTE: the `graphql/subscription` module has been deprecated with its
|
||||
* exported functions integrated into the `graphql/execution` module, to
|
||||
* better conform with the terminology of the GraphQL specification.
|
||||
*
|
||||
* For backwards compatibility, the `graphql/subscription` module
|
||||
* currently re-exports the moved functions from the `graphql/execution`
|
||||
* module. In the next major release, the `graphql/subscription` module
|
||||
* will be dropped entirely.
|
||||
*/
|
||||
import type { ExecutionArgs } from '../execution/execute';
|
||||
/**
|
||||
* @deprecated use ExecutionArgs instead. Will be removed in v17
|
||||
*
|
||||
* ExecutionArgs has been broadened to include all properties within SubscriptionArgs.
|
||||
* The SubscriptionArgs type is retained for backwards compatibility.
|
||||
*/
|
||||
export interface SubscriptionArgs extends ExecutionArgs {}
|
||||
export { subscribe, createSourceEventStream } from '../execution/subscribe';
|
||||
19
graphql-subscription/node_modules/graphql/subscription/index.js
generated
vendored
Normal file
19
graphql-subscription/node_modules/graphql/subscription/index.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true,
|
||||
});
|
||||
Object.defineProperty(exports, 'createSourceEventStream', {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _subscribe.createSourceEventStream;
|
||||
},
|
||||
});
|
||||
Object.defineProperty(exports, 'subscribe', {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return _subscribe.subscribe;
|
||||
},
|
||||
});
|
||||
|
||||
var _subscribe = require('../execution/subscribe.js');
|
||||
19
graphql-subscription/node_modules/graphql/subscription/index.mjs
generated
vendored
Normal file
19
graphql-subscription/node_modules/graphql/subscription/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* NOTE: the `graphql/subscription` module has been deprecated with its
|
||||
* exported functions integrated into the `graphql/execution` module, to
|
||||
* better conform with the terminology of the GraphQL specification.
|
||||
*
|
||||
* For backwards compatibility, the `graphql/subscription` module
|
||||
* currently re-exports the moved functions from the `graphql/execution`
|
||||
* module. In the next major release, the `graphql/subscription` module
|
||||
* will be dropped entirely.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated use ExecutionArgs instead. Will be removed in v17
|
||||
*
|
||||
* ExecutionArgs has been broadened to include all properties within SubscriptionArgs.
|
||||
* The SubscriptionArgs type is retained for backwards compatibility.
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
export { subscribe, createSourceEventStream } from '../execution/subscribe.mjs';
|
||||
Reference in New Issue
Block a user