@constructive-io/sdk 0.7.4 → 0.7.5
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 +5 -5
- package/admin/orm/query/index.d.ts +9 -9
- package/admin/orm/query/index.js +16 -16
- package/auth/orm/input-types.d.ts +0 -1
- package/esm/admin/orm/index.d.ts +5 -5
- package/esm/admin/orm/query/index.d.ts +9 -9
- package/esm/admin/orm/query/index.js +16 -16
- package/esm/auth/orm/input-types.d.ts +0 -1
- package/esm/public/orm/index.d.ts +44 -44
- package/esm/public/orm/index.js +6 -6
- package/esm/public/orm/input-types.d.ts +570 -571
- package/esm/public/orm/models/index.d.ts +3 -3
- package/esm/public/orm/models/index.js +3 -3
- package/esm/public/orm/mutation/index.d.ts +46 -46
- package/esm/public/orm/mutation/index.js +66 -66
- package/esm/public/orm/query/index.d.ts +28 -28
- package/esm/public/orm/query/index.js +48 -48
- package/package.json +2 -2
- package/public/orm/index.d.ts +44 -44
- package/public/orm/index.js +6 -6
- package/public/orm/input-types.d.ts +570 -571
- package/public/orm/models/index.d.ts +3 -3
- package/public/orm/models/index.js +9 -9
- package/public/orm/mutation/index.d.ts +46 -46
- package/public/orm/mutation/index.js +66 -66
- package/public/orm/query/index.d.ts +28 -28
- package/public/orm/query/index.js +48 -48
package/admin/orm/index.d.ts
CHANGED
|
@@ -110,11 +110,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
110
110
|
}) => import("./query-builder").QueryBuilder<{
|
|
111
111
|
orgIsManagerOf: boolean | null;
|
|
112
112
|
}>;
|
|
113
|
-
stepsAchieved: (args: import("./query").StepsAchievedVariables, options?: {
|
|
114
|
-
select?: Record<string, unknown>;
|
|
115
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
116
|
-
stepsAchieved: boolean | null;
|
|
117
|
-
}>;
|
|
118
113
|
appPermissionsGetMask: (args: import("./query").AppPermissionsGetMaskVariables, options?: {
|
|
119
114
|
select?: Record<string, unknown>;
|
|
120
115
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -125,6 +120,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
125
120
|
}) => import("./query-builder").QueryBuilder<{
|
|
126
121
|
orgPermissionsGetMask: string | null;
|
|
127
122
|
}>;
|
|
123
|
+
stepsAchieved: (args: import("./query").StepsAchievedVariables, options?: {
|
|
124
|
+
select?: Record<string, unknown>;
|
|
125
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
126
|
+
stepsAchieved: boolean | null;
|
|
127
|
+
}>;
|
|
128
128
|
appPermissionsGetMaskByNames: (args: import("./query").AppPermissionsGetMaskByNamesVariables, options?: {
|
|
129
129
|
select?: Record<string, unknown>;
|
|
130
130
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -18,16 +18,16 @@ export interface OrgIsManagerOfVariables {
|
|
|
18
18
|
pUserId?: string;
|
|
19
19
|
pMaxDepth?: number;
|
|
20
20
|
}
|
|
21
|
-
export interface StepsAchievedVariables {
|
|
22
|
-
vlevel?: string;
|
|
23
|
-
vroleId?: string;
|
|
24
|
-
}
|
|
25
21
|
export interface AppPermissionsGetMaskVariables {
|
|
26
22
|
ids?: string[];
|
|
27
23
|
}
|
|
28
24
|
export interface OrgPermissionsGetMaskVariables {
|
|
29
25
|
ids?: string[];
|
|
30
26
|
}
|
|
27
|
+
export interface StepsAchievedVariables {
|
|
28
|
+
vlevel?: string;
|
|
29
|
+
vroleId?: string;
|
|
30
|
+
}
|
|
31
31
|
export interface AppPermissionsGetMaskByNamesVariables {
|
|
32
32
|
names?: string[];
|
|
33
33
|
}
|
|
@@ -87,11 +87,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
87
87
|
}) => QueryBuilder<{
|
|
88
88
|
orgIsManagerOf: boolean | null;
|
|
89
89
|
}>;
|
|
90
|
-
stepsAchieved: (args: StepsAchievedVariables, options?: {
|
|
91
|
-
select?: Record<string, unknown>;
|
|
92
|
-
}) => QueryBuilder<{
|
|
93
|
-
stepsAchieved: boolean | null;
|
|
94
|
-
}>;
|
|
95
90
|
appPermissionsGetMask: (args: AppPermissionsGetMaskVariables, options?: {
|
|
96
91
|
select?: Record<string, unknown>;
|
|
97
92
|
}) => QueryBuilder<{
|
|
@@ -102,6 +97,11 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
102
97
|
}) => QueryBuilder<{
|
|
103
98
|
orgPermissionsGetMask: string | null;
|
|
104
99
|
}>;
|
|
100
|
+
stepsAchieved: (args: StepsAchievedVariables, options?: {
|
|
101
|
+
select?: Record<string, unknown>;
|
|
102
|
+
}) => QueryBuilder<{
|
|
103
|
+
stepsAchieved: boolean | null;
|
|
104
|
+
}>;
|
|
105
105
|
appPermissionsGetMaskByNames: (args: AppPermissionsGetMaskByNamesVariables, options?: {
|
|
106
106
|
select?: Record<string, unknown>;
|
|
107
107
|
}) => QueryBuilder<{
|
package/admin/orm/query/index.js
CHANGED
|
@@ -53,22 +53,6 @@ function createQueryOperations(client) {
|
|
|
53
53
|
},
|
|
54
54
|
], input_types_1.connectionFieldsMap, undefined),
|
|
55
55
|
}),
|
|
56
|
-
stepsAchieved: (args, options) => new query_builder_1.QueryBuilder({
|
|
57
|
-
client,
|
|
58
|
-
operation: 'query',
|
|
59
|
-
operationName: 'StepsAchieved',
|
|
60
|
-
fieldName: 'stepsAchieved',
|
|
61
|
-
...(0, query_builder_1.buildCustomDocument)('query', 'StepsAchieved', 'stepsAchieved', options?.select, args, [
|
|
62
|
-
{
|
|
63
|
-
name: 'vlevel',
|
|
64
|
-
type: 'String',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'vroleId',
|
|
68
|
-
type: 'UUID',
|
|
69
|
-
},
|
|
70
|
-
], input_types_1.connectionFieldsMap, undefined),
|
|
71
|
-
}),
|
|
72
56
|
appPermissionsGetMask: (args, options) => new query_builder_1.QueryBuilder({
|
|
73
57
|
client,
|
|
74
58
|
operation: 'query',
|
|
@@ -93,6 +77,22 @@ function createQueryOperations(client) {
|
|
|
93
77
|
},
|
|
94
78
|
], input_types_1.connectionFieldsMap, undefined),
|
|
95
79
|
}),
|
|
80
|
+
stepsAchieved: (args, options) => new query_builder_1.QueryBuilder({
|
|
81
|
+
client,
|
|
82
|
+
operation: 'query',
|
|
83
|
+
operationName: 'StepsAchieved',
|
|
84
|
+
fieldName: 'stepsAchieved',
|
|
85
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'StepsAchieved', 'stepsAchieved', options?.select, args, [
|
|
86
|
+
{
|
|
87
|
+
name: 'vlevel',
|
|
88
|
+
type: 'String',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'vroleId',
|
|
92
|
+
type: 'UUID',
|
|
93
|
+
},
|
|
94
|
+
], input_types_1.connectionFieldsMap, undefined),
|
|
95
|
+
}),
|
|
96
96
|
appPermissionsGetMaskByNames: (args, options) => new query_builder_1.QueryBuilder({
|
|
97
97
|
client,
|
|
98
98
|
operation: 'query',
|
package/esm/admin/orm/index.d.ts
CHANGED
|
@@ -110,11 +110,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
110
110
|
}) => import("./query-builder").QueryBuilder<{
|
|
111
111
|
orgIsManagerOf: boolean | null;
|
|
112
112
|
}>;
|
|
113
|
-
stepsAchieved: (args: import("./query").StepsAchievedVariables, options?: {
|
|
114
|
-
select?: Record<string, unknown>;
|
|
115
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
116
|
-
stepsAchieved: boolean | null;
|
|
117
|
-
}>;
|
|
118
113
|
appPermissionsGetMask: (args: import("./query").AppPermissionsGetMaskVariables, options?: {
|
|
119
114
|
select?: Record<string, unknown>;
|
|
120
115
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -125,6 +120,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
125
120
|
}) => import("./query-builder").QueryBuilder<{
|
|
126
121
|
orgPermissionsGetMask: string | null;
|
|
127
122
|
}>;
|
|
123
|
+
stepsAchieved: (args: import("./query").StepsAchievedVariables, options?: {
|
|
124
|
+
select?: Record<string, unknown>;
|
|
125
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
126
|
+
stepsAchieved: boolean | null;
|
|
127
|
+
}>;
|
|
128
128
|
appPermissionsGetMaskByNames: (args: import("./query").AppPermissionsGetMaskByNamesVariables, options?: {
|
|
129
129
|
select?: Record<string, unknown>;
|
|
130
130
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -18,16 +18,16 @@ export interface OrgIsManagerOfVariables {
|
|
|
18
18
|
pUserId?: string;
|
|
19
19
|
pMaxDepth?: number;
|
|
20
20
|
}
|
|
21
|
-
export interface StepsAchievedVariables {
|
|
22
|
-
vlevel?: string;
|
|
23
|
-
vroleId?: string;
|
|
24
|
-
}
|
|
25
21
|
export interface AppPermissionsGetMaskVariables {
|
|
26
22
|
ids?: string[];
|
|
27
23
|
}
|
|
28
24
|
export interface OrgPermissionsGetMaskVariables {
|
|
29
25
|
ids?: string[];
|
|
30
26
|
}
|
|
27
|
+
export interface StepsAchievedVariables {
|
|
28
|
+
vlevel?: string;
|
|
29
|
+
vroleId?: string;
|
|
30
|
+
}
|
|
31
31
|
export interface AppPermissionsGetMaskByNamesVariables {
|
|
32
32
|
names?: string[];
|
|
33
33
|
}
|
|
@@ -87,11 +87,6 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
87
87
|
}) => QueryBuilder<{
|
|
88
88
|
orgIsManagerOf: boolean | null;
|
|
89
89
|
}>;
|
|
90
|
-
stepsAchieved: (args: StepsAchievedVariables, options?: {
|
|
91
|
-
select?: Record<string, unknown>;
|
|
92
|
-
}) => QueryBuilder<{
|
|
93
|
-
stepsAchieved: boolean | null;
|
|
94
|
-
}>;
|
|
95
90
|
appPermissionsGetMask: (args: AppPermissionsGetMaskVariables, options?: {
|
|
96
91
|
select?: Record<string, unknown>;
|
|
97
92
|
}) => QueryBuilder<{
|
|
@@ -102,6 +97,11 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
102
97
|
}) => QueryBuilder<{
|
|
103
98
|
orgPermissionsGetMask: string | null;
|
|
104
99
|
}>;
|
|
100
|
+
stepsAchieved: (args: StepsAchievedVariables, options?: {
|
|
101
|
+
select?: Record<string, unknown>;
|
|
102
|
+
}) => QueryBuilder<{
|
|
103
|
+
stepsAchieved: boolean | null;
|
|
104
|
+
}>;
|
|
105
105
|
appPermissionsGetMaskByNames: (args: AppPermissionsGetMaskByNamesVariables, options?: {
|
|
106
106
|
select?: Record<string, unknown>;
|
|
107
107
|
}) => QueryBuilder<{
|
|
@@ -50,22 +50,6 @@ export function createQueryOperations(client) {
|
|
|
50
50
|
},
|
|
51
51
|
], connectionFieldsMap, undefined),
|
|
52
52
|
}),
|
|
53
|
-
stepsAchieved: (args, options) => new QueryBuilder({
|
|
54
|
-
client,
|
|
55
|
-
operation: 'query',
|
|
56
|
-
operationName: 'StepsAchieved',
|
|
57
|
-
fieldName: 'stepsAchieved',
|
|
58
|
-
...buildCustomDocument('query', 'StepsAchieved', 'stepsAchieved', options?.select, args, [
|
|
59
|
-
{
|
|
60
|
-
name: 'vlevel',
|
|
61
|
-
type: 'String',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: 'vroleId',
|
|
65
|
-
type: 'UUID',
|
|
66
|
-
},
|
|
67
|
-
], connectionFieldsMap, undefined),
|
|
68
|
-
}),
|
|
69
53
|
appPermissionsGetMask: (args, options) => new QueryBuilder({
|
|
70
54
|
client,
|
|
71
55
|
operation: 'query',
|
|
@@ -90,6 +74,22 @@ export function createQueryOperations(client) {
|
|
|
90
74
|
},
|
|
91
75
|
], connectionFieldsMap, undefined),
|
|
92
76
|
}),
|
|
77
|
+
stepsAchieved: (args, options) => new QueryBuilder({
|
|
78
|
+
client,
|
|
79
|
+
operation: 'query',
|
|
80
|
+
operationName: 'StepsAchieved',
|
|
81
|
+
fieldName: 'stepsAchieved',
|
|
82
|
+
...buildCustomDocument('query', 'StepsAchieved', 'stepsAchieved', options?.select, args, [
|
|
83
|
+
{
|
|
84
|
+
name: 'vlevel',
|
|
85
|
+
type: 'String',
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: 'vroleId',
|
|
89
|
+
type: 'UUID',
|
|
90
|
+
},
|
|
91
|
+
], connectionFieldsMap, undefined),
|
|
92
|
+
}),
|
|
93
93
|
appPermissionsGetMaskByNames: (args, options) => new QueryBuilder({
|
|
94
94
|
client,
|
|
95
95
|
operation: 'query',
|
|
@@ -2,9 +2,9 @@ import type { OrmClientConfig } from './client';
|
|
|
2
2
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
3
3
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
4
4
|
import { GetAllRecordModel } from './models/getAllRecord';
|
|
5
|
+
import { ObjectModel } from './models/object';
|
|
5
6
|
import { AppPermissionModel } from './models/appPermission';
|
|
6
7
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
7
|
-
import { ObjectModel } from './models/object';
|
|
8
8
|
import { AppLevelRequirementModel } from './models/appLevelRequirement';
|
|
9
9
|
import { DatabaseModel } from './models/database';
|
|
10
10
|
import { SchemaModel } from './models/schema';
|
|
@@ -90,17 +90,17 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
|
90
90
|
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
91
91
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
92
92
|
import { MembershipTypeModel } from './models/membershipType';
|
|
93
|
+
import { CommitModel } from './models/commit';
|
|
93
94
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
94
95
|
import { RlsModuleModel } from './models/rlsModule';
|
|
95
|
-
import { CommitModel } from './models/commit';
|
|
96
96
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
97
97
|
import { AuditLogModel } from './models/auditLog';
|
|
98
98
|
import { AppLevelModel } from './models/appLevel';
|
|
99
99
|
import { SqlMigrationModel } from './models/sqlMigration';
|
|
100
100
|
import { EmailModel } from './models/email';
|
|
101
|
+
import { UserModel } from './models/user';
|
|
101
102
|
import { AstMigrationModel } from './models/astMigration';
|
|
102
103
|
import { AppMembershipModel } from './models/appMembership';
|
|
103
|
-
import { UserModel } from './models/user';
|
|
104
104
|
import { HierarchyModuleModel } from './models/hierarchyModule';
|
|
105
105
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
106
106
|
export { GraphQLRequestError } from './client';
|
|
@@ -136,9 +136,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
136
136
|
orgGetManagersRecord: OrgGetManagersRecordModel;
|
|
137
137
|
orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
|
|
138
138
|
getAllRecord: GetAllRecordModel;
|
|
139
|
+
object: ObjectModel;
|
|
139
140
|
appPermission: AppPermissionModel;
|
|
140
141
|
orgPermission: OrgPermissionModel;
|
|
141
|
-
object: ObjectModel;
|
|
142
142
|
appLevelRequirement: AppLevelRequirementModel;
|
|
143
143
|
database: DatabaseModel;
|
|
144
144
|
schema: SchemaModel;
|
|
@@ -224,17 +224,17 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
224
224
|
connectedAccount: ConnectedAccountModel;
|
|
225
225
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
226
226
|
membershipType: MembershipTypeModel;
|
|
227
|
+
commit: CommitModel;
|
|
227
228
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
228
229
|
rlsModule: RlsModuleModel;
|
|
229
|
-
commit: CommitModel;
|
|
230
230
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
231
231
|
auditLog: AuditLogModel;
|
|
232
232
|
appLevel: AppLevelModel;
|
|
233
233
|
sqlMigration: SqlMigrationModel;
|
|
234
234
|
email: EmailModel;
|
|
235
|
+
user: UserModel;
|
|
235
236
|
astMigration: AstMigrationModel;
|
|
236
237
|
appMembership: AppMembershipModel;
|
|
237
|
-
user: UserModel;
|
|
238
238
|
hierarchyModule: HierarchyModuleModel;
|
|
239
239
|
query: {
|
|
240
240
|
currentUserId: (options?: {
|
|
@@ -297,16 +297,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
297
297
|
}) => import("./query-builder").QueryBuilder<{
|
|
298
298
|
orgPermissionsGetMaskByNames: string | null;
|
|
299
299
|
}>;
|
|
300
|
-
appPermissionsGetByMask: (args: import("./query").AppPermissionsGetByMaskVariables, options?: {
|
|
301
|
-
select?: Record<string, unknown>;
|
|
302
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
303
|
-
appPermissionsGetByMask: import("./input-types").AppPermissionConnection | null;
|
|
304
|
-
}>;
|
|
305
|
-
orgPermissionsGetByMask: (args: import("./query").OrgPermissionsGetByMaskVariables, options?: {
|
|
306
|
-
select?: Record<string, unknown>;
|
|
307
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
308
|
-
orgPermissionsGetByMask: import("./input-types").OrgPermissionConnection | null;
|
|
309
|
-
}>;
|
|
310
300
|
getAllObjectsFromRoot: (args: import("./query").GetAllObjectsFromRootVariables, options?: {
|
|
311
301
|
select?: Record<string, unknown>;
|
|
312
302
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -322,6 +312,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
322
312
|
} & import("./select-types").StrictSelect<S, import("./input-types").ObjectSelect>) => import("./query-builder").QueryBuilder<{
|
|
323
313
|
getObjectAtPath: import("./select-types").InferSelectResult<import("./input-types").Object, S> | null;
|
|
324
314
|
}>;
|
|
315
|
+
appPermissionsGetByMask: (args: import("./query").AppPermissionsGetByMaskVariables, options?: {
|
|
316
|
+
select?: Record<string, unknown>;
|
|
317
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
318
|
+
appPermissionsGetByMask: import("./input-types").AppPermissionConnection | null;
|
|
319
|
+
}>;
|
|
320
|
+
orgPermissionsGetByMask: (args: import("./query").OrgPermissionsGetByMaskVariables, options?: {
|
|
321
|
+
select?: Record<string, unknown>;
|
|
322
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
323
|
+
orgPermissionsGetByMask: import("./input-types").OrgPermissionConnection | null;
|
|
324
|
+
}>;
|
|
325
325
|
stepsRequired: (args: import("./query").StepsRequiredVariables, options?: {
|
|
326
326
|
select?: Record<string, unknown>;
|
|
327
327
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -384,6 +384,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
384
384
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
385
385
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
386
386
|
}>;
|
|
387
|
+
removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
|
|
388
|
+
select: S;
|
|
389
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
390
|
+
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
391
|
+
}>;
|
|
387
392
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
388
393
|
select: S;
|
|
389
394
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -394,10 +399,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
394
399
|
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
395
400
|
bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
|
|
396
401
|
}>;
|
|
397
|
-
|
|
402
|
+
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
398
403
|
select: S;
|
|
399
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
400
|
-
|
|
404
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
405
|
+
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
401
406
|
}>;
|
|
402
407
|
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
403
408
|
select: S;
|
|
@@ -414,6 +419,26 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
414
419
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
415
420
|
provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
416
421
|
}>;
|
|
422
|
+
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
423
|
+
select: S;
|
|
424
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
425
|
+
insertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InsertNodeAtPathPayload, S> | null;
|
|
426
|
+
}>;
|
|
427
|
+
updateNodeAtPath: <S extends import("./input-types").UpdateNodeAtPathPayloadSelect>(args: import("./mutation").UpdateNodeAtPathVariables, options: {
|
|
428
|
+
select: S;
|
|
429
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
430
|
+
updateNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").UpdateNodeAtPathPayload, S> | null;
|
|
431
|
+
}>;
|
|
432
|
+
setAndCommit: <S extends import("./input-types").SetAndCommitPayloadSelect>(args: import("./mutation").SetAndCommitVariables, options: {
|
|
433
|
+
select: S;
|
|
434
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
435
|
+
setAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetAndCommitPayload, S> | null;
|
|
436
|
+
}>;
|
|
437
|
+
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
438
|
+
select: S;
|
|
439
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
440
|
+
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
441
|
+
}>;
|
|
417
442
|
signInOneTimeToken: <S extends import("./input-types").SignInOneTimeTokenPayloadSelect>(args: import("./mutation").SignInOneTimeTokenVariables, options: {
|
|
418
443
|
select: S;
|
|
419
444
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInOneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -439,36 +464,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
439
464
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
440
465
|
signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
|
|
441
466
|
}>;
|
|
442
|
-
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
443
|
-
select: S;
|
|
444
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
445
|
-
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
446
|
-
}>;
|
|
447
467
|
oneTimeToken: <S extends import("./input-types").OneTimeTokenPayloadSelect>(args: import("./mutation").OneTimeTokenVariables, options: {
|
|
448
468
|
select: S;
|
|
449
469
|
} & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
450
470
|
oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
|
|
451
471
|
}>;
|
|
452
|
-
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
453
|
-
select: S;
|
|
454
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
455
|
-
insertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InsertNodeAtPathPayload, S> | null;
|
|
456
|
-
}>;
|
|
457
|
-
updateNodeAtPath: <S extends import("./input-types").UpdateNodeAtPathPayloadSelect>(args: import("./mutation").UpdateNodeAtPathVariables, options: {
|
|
458
|
-
select: S;
|
|
459
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
460
|
-
updateNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").UpdateNodeAtPathPayload, S> | null;
|
|
461
|
-
}>;
|
|
462
|
-
setAndCommit: <S extends import("./input-types").SetAndCommitPayloadSelect>(args: import("./mutation").SetAndCommitVariables, options: {
|
|
463
|
-
select: S;
|
|
464
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
465
|
-
setAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetAndCommitPayload, S> | null;
|
|
466
|
-
}>;
|
|
467
|
-
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
468
|
-
select: S;
|
|
469
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
470
|
-
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
471
|
-
}>;
|
|
472
472
|
forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
|
|
473
473
|
select: S;
|
|
474
474
|
} & import("./select-types").StrictSelect<S, import("./input-types").ForgotPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/public/orm/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { OrmClient } from './client';
|
|
|
7
7
|
import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord';
|
|
8
8
|
import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord';
|
|
9
9
|
import { GetAllRecordModel } from './models/getAllRecord';
|
|
10
|
+
import { ObjectModel } from './models/object';
|
|
10
11
|
import { AppPermissionModel } from './models/appPermission';
|
|
11
12
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
12
|
-
import { ObjectModel } from './models/object';
|
|
13
13
|
import { AppLevelRequirementModel } from './models/appLevelRequirement';
|
|
14
14
|
import { DatabaseModel } from './models/database';
|
|
15
15
|
import { SchemaModel } from './models/schema';
|
|
@@ -95,17 +95,17 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
|
95
95
|
import { ConnectedAccountModel } from './models/connectedAccount';
|
|
96
96
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
97
97
|
import { MembershipTypeModel } from './models/membershipType';
|
|
98
|
+
import { CommitModel } from './models/commit';
|
|
98
99
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
99
100
|
import { RlsModuleModel } from './models/rlsModule';
|
|
100
|
-
import { CommitModel } from './models/commit';
|
|
101
101
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
102
102
|
import { AuditLogModel } from './models/auditLog';
|
|
103
103
|
import { AppLevelModel } from './models/appLevel';
|
|
104
104
|
import { SqlMigrationModel } from './models/sqlMigration';
|
|
105
105
|
import { EmailModel } from './models/email';
|
|
106
|
+
import { UserModel } from './models/user';
|
|
106
107
|
import { AstMigrationModel } from './models/astMigration';
|
|
107
108
|
import { AppMembershipModel } from './models/appMembership';
|
|
108
|
-
import { UserModel } from './models/user';
|
|
109
109
|
import { HierarchyModuleModel } from './models/hierarchyModule';
|
|
110
110
|
import { createQueryOperations } from './query';
|
|
111
111
|
import { createMutationOperations } from './mutation';
|
|
@@ -144,9 +144,9 @@ export function createClient(config) {
|
|
|
144
144
|
orgGetManagersRecord: new OrgGetManagersRecordModel(client),
|
|
145
145
|
orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
|
|
146
146
|
getAllRecord: new GetAllRecordModel(client),
|
|
147
|
+
object: new ObjectModel(client),
|
|
147
148
|
appPermission: new AppPermissionModel(client),
|
|
148
149
|
orgPermission: new OrgPermissionModel(client),
|
|
149
|
-
object: new ObjectModel(client),
|
|
150
150
|
appLevelRequirement: new AppLevelRequirementModel(client),
|
|
151
151
|
database: new DatabaseModel(client),
|
|
152
152
|
schema: new SchemaModel(client),
|
|
@@ -232,17 +232,17 @@ export function createClient(config) {
|
|
|
232
232
|
connectedAccount: new ConnectedAccountModel(client),
|
|
233
233
|
nodeTypeRegistry: new NodeTypeRegistryModel(client),
|
|
234
234
|
membershipType: new MembershipTypeModel(client),
|
|
235
|
+
commit: new CommitModel(client),
|
|
235
236
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
236
237
|
rlsModule: new RlsModuleModel(client),
|
|
237
|
-
commit: new CommitModel(client),
|
|
238
238
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
239
239
|
auditLog: new AuditLogModel(client),
|
|
240
240
|
appLevel: new AppLevelModel(client),
|
|
241
241
|
sqlMigration: new SqlMigrationModel(client),
|
|
242
242
|
email: new EmailModel(client),
|
|
243
|
+
user: new UserModel(client),
|
|
243
244
|
astMigration: new AstMigrationModel(client),
|
|
244
245
|
appMembership: new AppMembershipModel(client),
|
|
245
|
-
user: new UserModel(client),
|
|
246
246
|
hierarchyModule: new HierarchyModuleModel(client),
|
|
247
247
|
query: createQueryOperations(client),
|
|
248
248
|
mutation: createMutationOperations(client),
|