index.mjs 846 B

12345678910111213141516171819
  1. /**
  2. * NOTE: the `graphql/subscription` module has been deprecated with its
  3. * exported functions integrated into the `graphql/execution` module, to
  4. * better conform with the terminology of the GraphQL specification.
  5. *
  6. * For backwards compatibility, the `graphql/subscription` module
  7. * currently re-exports the moved functions from the `graphql/execution`
  8. * module. In the next major release, the `graphql/subscription` module
  9. * will be dropped entirely.
  10. */
  11. /**
  12. * @deprecated use ExecutionArgs instead. Will be removed in v17
  13. *
  14. * ExecutionArgs has been broadened to include all properties within SubscriptionArgs.
  15. * The SubscriptionArgs type is retained for backwards compatibility.
  16. */
  17. // eslint-disable-next-line @typescript-eslint/no-empty-interface
  18. export { subscribe, createSourceEventStream } from '../execution/subscribe.mjs';