quantum-flow 1.17.0 → 1.19.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.
@@ -1,64 +0,0 @@
1
- import { PubSub } from 'graphql-subscriptions';
2
- export type GraphQLType = StringConstructor | NumberConstructor | BooleanConstructor | DateConstructor | ArrayConstructor | Function | {
3
- new (...args: any[]): any;
4
- };
5
- export interface ArgOptions {
6
- name?: string;
7
- type?: GraphQLType;
8
- required?: boolean;
9
- description?: string;
10
- defaultValue?: any;
11
- }
12
- export interface FieldMetadata {
13
- propertyKey: string;
14
- type?: GraphQLType | (() => GraphQLType) | {
15
- nullable: true;
16
- };
17
- }
18
- export interface ArgMetadata {
19
- index: number;
20
- name: string;
21
- type: GraphQLType;
22
- required: boolean;
23
- description?: string;
24
- defaultValue?: any;
25
- }
26
- export interface TypeMetadata {
27
- name: string;
28
- }
29
- export interface QueryMetadata {
30
- type?: GraphQLType | (() => GraphQLType);
31
- method: string;
32
- }
33
- export interface MutationMetadata extends QueryMetadata {
34
- }
35
- export type GraphQLField<T = any> = T;
36
- export type GraphQLArgs<T = any> = T;
37
- export type GraphQLReturnType<T = any> = T;
38
- export interface ResolverMetadata {
39
- type: any;
40
- }
41
- export interface FieldResolverMetadata {
42
- returns?: any;
43
- method: string;
44
- }
45
- export interface PubSubConfig {
46
- channel?: string;
47
- filter?: (payload: any, variables: any) => boolean;
48
- resolve?: (payload: any) => any;
49
- }
50
- export interface PubSubMetadata {
51
- index: number;
52
- config?: PubSubConfig;
53
- name: string;
54
- type: Object;
55
- required: boolean;
56
- }
57
- export interface SubscriptionMetadata {
58
- type?: GraphQLType | (() => GraphQLType);
59
- method: string;
60
- description?: string;
61
- }
62
- export interface TPubSub extends PubSub {
63
- config: PubSubConfig;
64
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=graphql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/utils/graphql.ts"],"names":[],"mappings":""}