@constructive-io/sdk 0.30.3 → 0.31.1
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/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/package.json +4 -4
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export { CommitModel } from './commit';
|
|
6
7
|
export { GetAllRecordModel } from './getAllRecord';
|
|
8
|
+
export { ObjectModel } from './object';
|
|
7
9
|
export { RefModel } from './ref';
|
|
8
10
|
export { StoreModel } from './store';
|
|
9
|
-
export { ObjectModel } from './object';
|
|
10
|
-
export { CommitModel } from './commit';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export { CommitModel } from './commit';
|
|
6
7
|
export { GetAllRecordModel } from './getAllRecord';
|
|
8
|
+
export { ObjectModel } from './object';
|
|
7
9
|
export { RefModel } from './ref';
|
|
8
10
|
export { StoreModel } from './store';
|
|
9
|
-
export { ObjectModel } from './object';
|
|
10
|
-
export { CommitModel } from './commit';
|
|
@@ -6,13 +6,10 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { InitEmptyRepoInput,
|
|
9
|
+
import type { InitEmptyRepoInput, InsertNodeAtPathInput, ProvisionBucketInput, SetDataAtPathInput, InitEmptyRepoPayload, InsertNodeAtPathPayload, ProvisionBucketPayload, SetDataAtPathPayload, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, ProvisionBucketPayloadSelect, SetDataAtPathPayloadSelect } from '../input-types';
|
|
10
10
|
export interface InitEmptyRepoVariables {
|
|
11
11
|
input: InitEmptyRepoInput;
|
|
12
12
|
}
|
|
13
|
-
export interface SetDataAtPathVariables {
|
|
14
|
-
input: SetDataAtPathInput;
|
|
15
|
-
}
|
|
16
13
|
export interface InsertNodeAtPathVariables {
|
|
17
14
|
input: InsertNodeAtPathInput;
|
|
18
15
|
}
|
|
@@ -26,17 +23,15 @@ and lifecycle settings.
|
|
|
26
23
|
export interface ProvisionBucketVariables {
|
|
27
24
|
input: ProvisionBucketInput;
|
|
28
25
|
}
|
|
26
|
+
export interface SetDataAtPathVariables {
|
|
27
|
+
input: SetDataAtPathInput;
|
|
28
|
+
}
|
|
29
29
|
export declare function createMutationOperations(client: OrmClient): {
|
|
30
30
|
initEmptyRepo: <S extends InitEmptyRepoPayloadSelect>(args: InitEmptyRepoVariables, options: {
|
|
31
31
|
select: S;
|
|
32
32
|
} & StrictSelect<S, InitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
33
33
|
initEmptyRepo: InferSelectResult<InitEmptyRepoPayload, S> | null;
|
|
34
34
|
}>;
|
|
35
|
-
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
36
|
-
select: S;
|
|
37
|
-
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
38
|
-
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
39
|
-
}>;
|
|
40
35
|
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
41
36
|
select: S;
|
|
42
37
|
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -47,4 +42,9 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
47
42
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
48
43
|
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
49
44
|
}>;
|
|
45
|
+
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
46
|
+
select: S;
|
|
47
|
+
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
48
|
+
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
49
|
+
}>;
|
|
50
50
|
};
|
|
@@ -14,18 +14,6 @@ export function createMutationOperations(client) {
|
|
|
14
14
|
},
|
|
15
15
|
], connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
16
16
|
}),
|
|
17
|
-
setDataAtPath: (args, options) => new QueryBuilder({
|
|
18
|
-
client,
|
|
19
|
-
operation: 'mutation',
|
|
20
|
-
operationName: 'SetDataAtPath',
|
|
21
|
-
fieldName: 'setDataAtPath',
|
|
22
|
-
...buildCustomDocument('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
|
|
23
|
-
{
|
|
24
|
-
name: 'input',
|
|
25
|
-
type: 'SetDataAtPathInput!',
|
|
26
|
-
},
|
|
27
|
-
], connectionFieldsMap, 'SetDataAtPathPayload'),
|
|
28
|
-
}),
|
|
29
17
|
insertNodeAtPath: (args, options) => new QueryBuilder({
|
|
30
18
|
client,
|
|
31
19
|
operation: 'mutation',
|
|
@@ -50,5 +38,17 @@ export function createMutationOperations(client) {
|
|
|
50
38
|
},
|
|
51
39
|
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
52
40
|
}),
|
|
41
|
+
setDataAtPath: (args, options) => new QueryBuilder({
|
|
42
|
+
client,
|
|
43
|
+
operation: 'mutation',
|
|
44
|
+
operationName: 'SetDataAtPath',
|
|
45
|
+
fieldName: 'setDataAtPath',
|
|
46
|
+
...buildCustomDocument('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
|
|
47
|
+
{
|
|
48
|
+
name: 'input',
|
|
49
|
+
type: 'SetDataAtPathInput!',
|
|
50
|
+
},
|
|
51
|
+
], connectionFieldsMap, 'SetDataAtPathPayload'),
|
|
52
|
+
}),
|
|
53
53
|
};
|
|
54
54
|
}
|
package/esm/usage/orm/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
3
|
-
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
4
2
|
import { AppLimitCapModel } from './models/appLimitCap';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
3
|
+
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
4
|
+
import { AppLimitModel } from './models/appLimit';
|
|
5
|
+
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
8
6
|
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
|
|
7
|
+
import { AppLimitCreditModel } from './models/appLimitCredit';
|
|
9
8
|
import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
|
|
10
|
-
import {
|
|
11
|
-
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
12
|
-
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
13
|
-
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
14
|
-
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
9
|
+
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
15
10
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
16
|
-
import {
|
|
17
|
-
import { AppLimitModel } from './models/appLimit';
|
|
11
|
+
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
18
12
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
13
|
+
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
14
|
+
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
19
15
|
import { OrgLimitModel } from './models/orgLimit';
|
|
16
|
+
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
17
|
+
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
18
|
+
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
19
|
+
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
20
20
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
21
21
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
22
22
|
export { QueryBuilder } from './query-builder';
|
|
@@ -47,25 +47,30 @@ export { createMutationOperations } from './mutation';
|
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
49
|
export declare function createClient(config: OrmClientConfig): {
|
|
50
|
-
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
51
|
-
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
52
50
|
appLimitCap: AppLimitCapModel;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
52
|
+
appLimit: AppLimitModel;
|
|
53
|
+
appLimitCreditCode: AppLimitCreditCodeModel;
|
|
56
54
|
appLimitCreditCodeItem: AppLimitCreditCodeItemModel;
|
|
55
|
+
appLimitCredit: AppLimitCreditModel;
|
|
57
56
|
appLimitCreditRedemption: AppLimitCreditRedemptionModel;
|
|
58
|
-
|
|
59
|
-
orgLimitCredit: OrgLimitCreditModel;
|
|
60
|
-
appLimitWarning: AppLimitWarningModel;
|
|
61
|
-
orgLimitWarning: OrgLimitWarningModel;
|
|
62
|
-
appLimitCreditCode: AppLimitCreditCodeModel;
|
|
57
|
+
appLimitDefault: AppLimitDefaultModel;
|
|
63
58
|
appLimitEvent: AppLimitEventModel;
|
|
64
|
-
|
|
65
|
-
appLimit: AppLimitModel;
|
|
59
|
+
appLimitWarning: AppLimitWarningModel;
|
|
66
60
|
orgLimitAggregate: OrgLimitAggregateModel;
|
|
61
|
+
orgLimitCap: OrgLimitCapModel;
|
|
62
|
+
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
67
63
|
orgLimit: OrgLimitModel;
|
|
64
|
+
orgLimitCredit: OrgLimitCreditModel;
|
|
65
|
+
orgLimitDefault: OrgLimitDefaultModel;
|
|
66
|
+
orgLimitEvent: OrgLimitEventModel;
|
|
67
|
+
orgLimitWarning: OrgLimitWarningModel;
|
|
68
68
|
mutation: {
|
|
69
|
+
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
70
|
+
select: S;
|
|
71
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
72
|
+
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
73
|
+
}>;
|
|
69
74
|
seedAppLimitCapsDefaults: <S extends import("./input-types").SeedAppLimitCapsDefaultsPayloadSelect>(args: import("./mutation").SeedAppLimitCapsDefaultsVariables, options: {
|
|
70
75
|
select: S;
|
|
71
76
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedAppLimitCapsDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -86,10 +91,5 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
86
91
|
} & import("./select-types").StrictSelect<S, import("./input-types").SeedOrgLimitDefaultsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
87
92
|
seedOrgLimitDefaults: import("./select-types").InferSelectResult<import("./input-types").SeedOrgLimitDefaultsPayload, S> | null;
|
|
88
93
|
}>;
|
|
89
|
-
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
90
|
-
select: S;
|
|
91
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
92
|
-
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
93
|
-
}>;
|
|
94
94
|
};
|
|
95
95
|
};
|
package/esm/usage/orm/index.js
CHANGED
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
-
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
8
|
-
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
9
7
|
import { AppLimitCapModel } from './models/appLimitCap';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
9
|
+
import { AppLimitModel } from './models/appLimit';
|
|
10
|
+
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
13
11
|
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
|
|
12
|
+
import { AppLimitCreditModel } from './models/appLimitCredit';
|
|
14
13
|
import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
|
|
15
|
-
import {
|
|
16
|
-
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
17
|
-
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
18
|
-
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
19
|
-
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
14
|
+
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
20
15
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
21
|
-
import {
|
|
22
|
-
import { AppLimitModel } from './models/appLimit';
|
|
16
|
+
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
23
17
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
18
|
+
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
19
|
+
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
24
20
|
import { OrgLimitModel } from './models/orgLimit';
|
|
21
|
+
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
22
|
+
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
23
|
+
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
24
|
+
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
25
25
|
import { createMutationOperations } from './mutation';
|
|
26
26
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
27
27
|
export { QueryBuilder } from './query-builder';
|
|
@@ -54,24 +54,24 @@ export { createMutationOperations } from './mutation';
|
|
|
54
54
|
export function createClient(config) {
|
|
55
55
|
const client = new OrmClient(config);
|
|
56
56
|
return {
|
|
57
|
-
appLimitCapsDefault: new AppLimitCapsDefaultModel(client),
|
|
58
|
-
orgLimitCapsDefault: new OrgLimitCapsDefaultModel(client),
|
|
59
57
|
appLimitCap: new AppLimitCapModel(client),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
appLimitCapsDefault: new AppLimitCapsDefaultModel(client),
|
|
59
|
+
appLimit: new AppLimitModel(client),
|
|
60
|
+
appLimitCreditCode: new AppLimitCreditCodeModel(client),
|
|
63
61
|
appLimitCreditCodeItem: new AppLimitCreditCodeItemModel(client),
|
|
62
|
+
appLimitCredit: new AppLimitCreditModel(client),
|
|
64
63
|
appLimitCreditRedemption: new AppLimitCreditRedemptionModel(client),
|
|
65
|
-
|
|
66
|
-
orgLimitCredit: new OrgLimitCreditModel(client),
|
|
67
|
-
appLimitWarning: new AppLimitWarningModel(client),
|
|
68
|
-
orgLimitWarning: new OrgLimitWarningModel(client),
|
|
69
|
-
appLimitCreditCode: new AppLimitCreditCodeModel(client),
|
|
64
|
+
appLimitDefault: new AppLimitDefaultModel(client),
|
|
70
65
|
appLimitEvent: new AppLimitEventModel(client),
|
|
71
|
-
|
|
72
|
-
appLimit: new AppLimitModel(client),
|
|
66
|
+
appLimitWarning: new AppLimitWarningModel(client),
|
|
73
67
|
orgLimitAggregate: new OrgLimitAggregateModel(client),
|
|
68
|
+
orgLimitCap: new OrgLimitCapModel(client),
|
|
69
|
+
orgLimitCapsDefault: new OrgLimitCapsDefaultModel(client),
|
|
74
70
|
orgLimit: new OrgLimitModel(client),
|
|
71
|
+
orgLimitCredit: new OrgLimitCreditModel(client),
|
|
72
|
+
orgLimitDefault: new OrgLimitDefaultModel(client),
|
|
73
|
+
orgLimitEvent: new OrgLimitEventModel(client),
|
|
74
|
+
orgLimitWarning: new OrgLimitWarningModel(client),
|
|
75
75
|
mutation: createMutationOperations(client),
|
|
76
76
|
};
|
|
77
77
|
}
|