@constructive-io/sdk 0.30.3 → 0.31.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.
- 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
|
@@ -17,29 +17,29 @@ function createMutationOperations(client) {
|
|
|
17
17
|
},
|
|
18
18
|
], input_types_1.connectionFieldsMap, 'ConstructBlueprintPayload'),
|
|
19
19
|
}),
|
|
20
|
-
|
|
20
|
+
copyTemplateToBlueprint: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
21
|
client,
|
|
22
22
|
operation: 'mutation',
|
|
23
|
-
operationName: '
|
|
24
|
-
fieldName: '
|
|
25
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
23
|
+
operationName: 'CopyTemplateToBlueprint',
|
|
24
|
+
fieldName: 'copyTemplateToBlueprint',
|
|
25
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CopyTemplateToBlueprint', 'copyTemplateToBlueprint', options.select, args, [
|
|
26
26
|
{
|
|
27
27
|
name: 'input',
|
|
28
|
-
type: '
|
|
28
|
+
type: 'CopyTemplateToBlueprintInput!',
|
|
29
29
|
},
|
|
30
|
-
], input_types_1.connectionFieldsMap, '
|
|
30
|
+
], input_types_1.connectionFieldsMap, 'CopyTemplateToBlueprintPayload'),
|
|
31
31
|
}),
|
|
32
|
-
|
|
32
|
+
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
33
33
|
client,
|
|
34
34
|
operation: 'mutation',
|
|
35
|
-
operationName: '
|
|
36
|
-
fieldName: '
|
|
37
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
35
|
+
operationName: 'ProvisionBucket',
|
|
36
|
+
fieldName: 'provisionBucket',
|
|
37
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
|
|
38
38
|
{
|
|
39
39
|
name: 'input',
|
|
40
|
-
type: '
|
|
40
|
+
type: 'ProvisionBucketInput!',
|
|
41
41
|
},
|
|
42
|
-
], input_types_1.connectionFieldsMap, '
|
|
42
|
+
], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
43
43
|
}),
|
|
44
44
|
provisionCheckConstraint: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
45
|
client,
|
|
@@ -53,29 +53,41 @@ function createMutationOperations(client) {
|
|
|
53
53
|
},
|
|
54
54
|
], input_types_1.connectionFieldsMap, 'ProvisionCheckConstraintPayload'),
|
|
55
55
|
}),
|
|
56
|
-
|
|
56
|
+
provisionFullTextSearch: (args, options) => new query_builder_1.QueryBuilder({
|
|
57
57
|
client,
|
|
58
58
|
operation: 'mutation',
|
|
59
|
-
operationName: '
|
|
60
|
-
fieldName: '
|
|
61
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
59
|
+
operationName: 'ProvisionFullTextSearch',
|
|
60
|
+
fieldName: 'provisionFullTextSearch',
|
|
61
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionFullTextSearch', 'provisionFullTextSearch', options.select, args, [
|
|
62
62
|
{
|
|
63
63
|
name: 'input',
|
|
64
|
-
type: '
|
|
64
|
+
type: 'ProvisionFullTextSearchInput!',
|
|
65
65
|
},
|
|
66
|
-
], input_types_1.connectionFieldsMap, '
|
|
66
|
+
], input_types_1.connectionFieldsMap, 'ProvisionFullTextSearchPayload'),
|
|
67
67
|
}),
|
|
68
|
-
|
|
68
|
+
provisionIndex: (args, options) => new query_builder_1.QueryBuilder({
|
|
69
69
|
client,
|
|
70
70
|
operation: 'mutation',
|
|
71
|
-
operationName: '
|
|
72
|
-
fieldName: '
|
|
73
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
71
|
+
operationName: 'ProvisionIndex',
|
|
72
|
+
fieldName: 'provisionIndex',
|
|
73
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionIndex', 'provisionIndex', options.select, args, [
|
|
74
74
|
{
|
|
75
75
|
name: 'input',
|
|
76
|
-
type: '
|
|
76
|
+
type: 'ProvisionIndexInput!',
|
|
77
77
|
},
|
|
78
|
-
], input_types_1.connectionFieldsMap, '
|
|
78
|
+
], input_types_1.connectionFieldsMap, 'ProvisionIndexPayload'),
|
|
79
|
+
}),
|
|
80
|
+
provisionRelation: (args, options) => new query_builder_1.QueryBuilder({
|
|
81
|
+
client,
|
|
82
|
+
operation: 'mutation',
|
|
83
|
+
operationName: 'ProvisionRelation',
|
|
84
|
+
fieldName: 'provisionRelation',
|
|
85
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionRelation', 'provisionRelation', options.select, args, [
|
|
86
|
+
{
|
|
87
|
+
name: 'input',
|
|
88
|
+
type: 'ProvisionRelationInput!',
|
|
89
|
+
},
|
|
90
|
+
], input_types_1.connectionFieldsMap, 'ProvisionRelationPayload'),
|
|
79
91
|
}),
|
|
80
92
|
provisionSpatialRelation: (args, options) => new query_builder_1.QueryBuilder({
|
|
81
93
|
client,
|
|
@@ -101,29 +113,17 @@ function createMutationOperations(client) {
|
|
|
101
113
|
},
|
|
102
114
|
], input_types_1.connectionFieldsMap, 'ProvisionTablePayload'),
|
|
103
115
|
}),
|
|
104
|
-
|
|
105
|
-
client,
|
|
106
|
-
operation: 'mutation',
|
|
107
|
-
operationName: 'ProvisionRelation',
|
|
108
|
-
fieldName: 'provisionRelation',
|
|
109
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionRelation', 'provisionRelation', options.select, args, [
|
|
110
|
-
{
|
|
111
|
-
name: 'input',
|
|
112
|
-
type: 'ProvisionRelationInput!',
|
|
113
|
-
},
|
|
114
|
-
], input_types_1.connectionFieldsMap, 'ProvisionRelationPayload'),
|
|
115
|
-
}),
|
|
116
|
-
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
116
|
+
provisionUniqueConstraint: (args, options) => new query_builder_1.QueryBuilder({
|
|
117
117
|
client,
|
|
118
118
|
operation: 'mutation',
|
|
119
|
-
operationName: '
|
|
120
|
-
fieldName: '
|
|
121
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', '
|
|
119
|
+
operationName: 'ProvisionUniqueConstraint',
|
|
120
|
+
fieldName: 'provisionUniqueConstraint',
|
|
121
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionUniqueConstraint', 'provisionUniqueConstraint', options.select, args, [
|
|
122
122
|
{
|
|
123
123
|
name: 'input',
|
|
124
|
-
type: '
|
|
124
|
+
type: 'ProvisionUniqueConstraintInput!',
|
|
125
125
|
},
|
|
126
|
-
], input_types_1.connectionFieldsMap, '
|
|
126
|
+
], input_types_1.connectionFieldsMap, 'ProvisionUniqueConstraintPayload'),
|
|
127
127
|
}),
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -11,8 +11,8 @@ import { QueryBuilder } from '../query-builder';
|
|
|
11
11
|
*/
|
|
12
12
|
export interface ResolveBlueprintFieldVariables {
|
|
13
13
|
databaseId?: string;
|
|
14
|
-
tableId?: string;
|
|
15
14
|
fieldName?: string;
|
|
15
|
+
tableId?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Variables for resolveBlueprintTable
|
|
@@ -20,10 +20,10 @@ export interface ResolveBlueprintFieldVariables {
|
|
|
20
20
|
*/
|
|
21
21
|
export interface ResolveBlueprintTableVariables {
|
|
22
22
|
databaseId?: string;
|
|
23
|
-
|
|
23
|
+
defaultSchemaId?: string;
|
|
24
24
|
schemaName?: string;
|
|
25
25
|
tableMap?: unknown;
|
|
26
|
-
|
|
26
|
+
tableName?: string;
|
|
27
27
|
}
|
|
28
28
|
export declare function createQueryOperations(client: OrmClient): {
|
|
29
29
|
resolveBlueprintField: (args: ResolveBlueprintFieldVariables, options?: {
|
|
@@ -15,14 +15,14 @@ function createQueryOperations(client) {
|
|
|
15
15
|
name: 'databaseId',
|
|
16
16
|
type: 'UUID',
|
|
17
17
|
},
|
|
18
|
-
{
|
|
19
|
-
name: 'tableId',
|
|
20
|
-
type: 'UUID',
|
|
21
|
-
},
|
|
22
18
|
{
|
|
23
19
|
name: 'fieldName',
|
|
24
20
|
type: 'String',
|
|
25
21
|
},
|
|
22
|
+
{
|
|
23
|
+
name: 'tableId',
|
|
24
|
+
type: 'UUID',
|
|
25
|
+
},
|
|
26
26
|
], input_types_1.connectionFieldsMap, undefined),
|
|
27
27
|
}),
|
|
28
28
|
resolveBlueprintTable: (args, options) => new query_builder_1.QueryBuilder({
|
|
@@ -36,8 +36,8 @@ function createQueryOperations(client) {
|
|
|
36
36
|
type: 'UUID',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
name: '
|
|
40
|
-
type: '
|
|
39
|
+
name: 'defaultSchemaId',
|
|
40
|
+
type: 'UUID',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
name: 'schemaName',
|
|
@@ -48,8 +48,8 @@ function createQueryOperations(client) {
|
|
|
48
48
|
type: 'JSON',
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
name: '
|
|
52
|
-
type: '
|
|
51
|
+
name: 'tableName',
|
|
52
|
+
type: 'String',
|
|
53
53
|
},
|
|
54
54
|
], input_types_1.connectionFieldsMap, undefined),
|
|
55
55
|
}),
|
package/objects/orm/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
+
import { CommitModel } from './models/commit';
|
|
2
3
|
import { GetAllRecordModel } from './models/getAllRecord';
|
|
4
|
+
import { ObjectModel } from './models/object';
|
|
3
5
|
import { RefModel } from './models/ref';
|
|
4
6
|
import { StoreModel } from './models/store';
|
|
5
|
-
import { ObjectModel } from './models/object';
|
|
6
|
-
import { CommitModel } from './models/commit';
|
|
7
7
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
8
8
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
9
9
|
export { QueryBuilder } from './query-builder';
|
|
@@ -34,22 +34,17 @@ export { createMutationOperations } from './mutation';
|
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
export declare function createClient(config: OrmClientConfig): {
|
|
37
|
+
commit: CommitModel;
|
|
37
38
|
getAllRecord: GetAllRecordModel;
|
|
39
|
+
object: ObjectModel;
|
|
38
40
|
ref: RefModel;
|
|
39
41
|
store: StoreModel;
|
|
40
|
-
object: ObjectModel;
|
|
41
|
-
commit: CommitModel;
|
|
42
42
|
mutation: {
|
|
43
43
|
initEmptyRepo: <S extends import("./input-types").InitEmptyRepoPayloadSelect>(args: import("./mutation").InitEmptyRepoVariables, options: {
|
|
44
44
|
select: S;
|
|
45
45
|
} & import("./select-types").StrictSelect<S, import("./input-types").InitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
46
46
|
initEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InitEmptyRepoPayload, S> | null;
|
|
47
47
|
}>;
|
|
48
|
-
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
49
|
-
select: S;
|
|
50
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
51
|
-
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
52
|
-
}>;
|
|
53
48
|
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
54
49
|
select: S;
|
|
55
50
|
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -60,5 +55,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
60
55
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
56
|
provisionBucket: import("./select-types").InferSelectResult<import("./input-types").ProvisionBucketPayload, S> | null;
|
|
62
57
|
}>;
|
|
58
|
+
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
59
|
+
select: S;
|
|
60
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
|
+
setDataAtPath: import("./select-types").InferSelectResult<import("./input-types").SetDataAtPathPayload, S> | null;
|
|
62
|
+
}>;
|
|
63
63
|
};
|
|
64
64
|
};
|
package/objects/orm/index.js
CHANGED
|
@@ -22,11 +22,11 @@ exports.createClient = createClient;
|
|
|
22
22
|
* DO NOT EDIT - changes will be overwritten
|
|
23
23
|
*/
|
|
24
24
|
const client_1 = require("./client");
|
|
25
|
+
const commit_1 = require("./models/commit");
|
|
25
26
|
const getAllRecord_1 = require("./models/getAllRecord");
|
|
27
|
+
const object_1 = require("./models/object");
|
|
26
28
|
const ref_1 = require("./models/ref");
|
|
27
29
|
const store_1 = require("./models/store");
|
|
28
|
-
const object_1 = require("./models/object");
|
|
29
|
-
const commit_1 = require("./models/commit");
|
|
30
30
|
const mutation_1 = require("./mutation");
|
|
31
31
|
var client_2 = require("./client");
|
|
32
32
|
Object.defineProperty(exports, "GraphQLRequestError", { enumerable: true, get: function () { return client_2.GraphQLRequestError; } });
|
|
@@ -63,11 +63,11 @@ Object.defineProperty(exports, "createMutationOperations", { enumerable: true, g
|
|
|
63
63
|
function createClient(config) {
|
|
64
64
|
const client = new client_1.OrmClient(config);
|
|
65
65
|
return {
|
|
66
|
+
commit: new commit_1.CommitModel(client),
|
|
66
67
|
getAllRecord: new getAllRecord_1.GetAllRecordModel(client),
|
|
68
|
+
object: new object_1.ObjectModel(client),
|
|
67
69
|
ref: new ref_1.RefModel(client),
|
|
68
70
|
store: new store_1.StoreModel(client),
|
|
69
|
-
object: new object_1.ObjectModel(client),
|
|
70
|
-
commit: new commit_1.CommitModel(client),
|
|
71
71
|
mutation: (0, mutation_1.createMutationOperations)(client),
|
|
72
72
|
};
|
|
73
73
|
}
|