@constructive-sdk/cli 0.8.4 → 0.8.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/cli/commands.js +3 -3
- package/admin/cli/executor.d.ts +5 -5
- 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/cli/commands/user.js +0 -20
- package/auth/orm/input-types.d.ts +0 -1
- package/esm/admin/cli/commands.js +3 -3
- package/esm/admin/cli/executor.d.ts +5 -5
- 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/cli/commands/user.js +0 -20
- package/esm/auth/orm/input-types.d.ts +0 -1
- package/esm/public/cli/commands/user.js +0 -20
- package/esm/public/cli/commands.js +23 -23
- package/esm/public/cli/executor.d.ts +41 -41
- 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/cli/commands/user.js +0 -20
- package/public/cli/commands.js +23 -23
- package/public/cli/executor.d.ts +41 -41
- 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
|
@@ -9,9 +9,9 @@ import authCmd from './commands/auth';
|
|
|
9
9
|
import orgGetManagersRecordCmd from './commands/org-get-managers-record';
|
|
10
10
|
import orgGetSubordinatesRecordCmd from './commands/org-get-subordinates-record';
|
|
11
11
|
import getAllRecordCmd from './commands/get-all-record';
|
|
12
|
+
import objectCmd from './commands/object';
|
|
12
13
|
import appPermissionCmd from './commands/app-permission';
|
|
13
14
|
import orgPermissionCmd from './commands/org-permission';
|
|
14
|
-
import objectCmd from './commands/object';
|
|
15
15
|
import appLevelRequirementCmd from './commands/app-level-requirement';
|
|
16
16
|
import databaseCmd from './commands/database';
|
|
17
17
|
import schemaCmd from './commands/schema';
|
|
@@ -97,17 +97,17 @@ import orgLimitDefaultCmd from './commands/org-limit-default';
|
|
|
97
97
|
import connectedAccountCmd from './commands/connected-account';
|
|
98
98
|
import nodeTypeRegistryCmd from './commands/node-type-registry';
|
|
99
99
|
import membershipTypeCmd from './commands/membership-type';
|
|
100
|
+
import commitCmd from './commands/commit';
|
|
100
101
|
import appMembershipDefaultCmd from './commands/app-membership-default';
|
|
101
102
|
import rlsModuleCmd from './commands/rls-module';
|
|
102
|
-
import commitCmd from './commands/commit';
|
|
103
103
|
import orgMembershipDefaultCmd from './commands/org-membership-default';
|
|
104
104
|
import auditLogCmd from './commands/audit-log';
|
|
105
105
|
import appLevelCmd from './commands/app-level';
|
|
106
106
|
import sqlMigrationCmd from './commands/sql-migration';
|
|
107
107
|
import emailCmd from './commands/email';
|
|
108
|
+
import userCmd from './commands/user';
|
|
108
109
|
import astMigrationCmd from './commands/ast-migration';
|
|
109
110
|
import appMembershipCmd from './commands/app-membership';
|
|
110
|
-
import userCmd from './commands/user';
|
|
111
111
|
import hierarchyModuleCmd from './commands/hierarchy-module';
|
|
112
112
|
import currentUserIdCmd from './commands/current-user-id';
|
|
113
113
|
import currentIpAddressCmd from './commands/current-ip-address';
|
|
@@ -121,11 +121,11 @@ import appPermissionsGetMaskCmd from './commands/app-permissions-get-mask';
|
|
|
121
121
|
import orgPermissionsGetMaskCmd from './commands/org-permissions-get-mask';
|
|
122
122
|
import appPermissionsGetMaskByNamesCmd from './commands/app-permissions-get-mask-by-names';
|
|
123
123
|
import orgPermissionsGetMaskByNamesCmd from './commands/org-permissions-get-mask-by-names';
|
|
124
|
-
import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask';
|
|
125
|
-
import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask';
|
|
126
124
|
import getAllObjectsFromRootCmd from './commands/get-all-objects-from-root';
|
|
127
125
|
import getPathObjectsFromRootCmd from './commands/get-path-objects-from-root';
|
|
128
126
|
import getObjectAtPathCmd from './commands/get-object-at-path';
|
|
127
|
+
import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask';
|
|
128
|
+
import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask';
|
|
129
129
|
import stepsRequiredCmd from './commands/steps-required';
|
|
130
130
|
import currentUserCmd from './commands/current-user';
|
|
131
131
|
import signOutCmd from './commands/sign-out';
|
|
@@ -138,23 +138,23 @@ import initEmptyRepoCmd from './commands/init-empty-repo';
|
|
|
138
138
|
import confirmDeleteAccountCmd from './commands/confirm-delete-account';
|
|
139
139
|
import setPasswordCmd from './commands/set-password';
|
|
140
140
|
import verifyEmailCmd from './commands/verify-email';
|
|
141
|
+
import removeNodeAtPathCmd from './commands/remove-node-at-path';
|
|
141
142
|
import resetPasswordCmd from './commands/reset-password';
|
|
142
143
|
import bootstrapUserCmd from './commands/bootstrap-user';
|
|
143
|
-
import
|
|
144
|
+
import setFieldOrderCmd from './commands/set-field-order';
|
|
144
145
|
import setDataAtPathCmd from './commands/set-data-at-path';
|
|
145
146
|
import setPropsAndCommitCmd from './commands/set-props-and-commit';
|
|
146
147
|
import provisionDatabaseWithUserCmd from './commands/provision-database-with-user';
|
|
148
|
+
import insertNodeAtPathCmd from './commands/insert-node-at-path';
|
|
149
|
+
import updateNodeAtPathCmd from './commands/update-node-at-path';
|
|
150
|
+
import setAndCommitCmd from './commands/set-and-commit';
|
|
151
|
+
import applyRlsCmd from './commands/apply-rls';
|
|
147
152
|
import signInOneTimeTokenCmd from './commands/sign-in-one-time-token';
|
|
148
153
|
import createUserDatabaseCmd from './commands/create-user-database';
|
|
149
154
|
import extendTokenExpiresCmd from './commands/extend-token-expires';
|
|
150
155
|
import signInCmd from './commands/sign-in';
|
|
151
156
|
import signUpCmd from './commands/sign-up';
|
|
152
|
-
import setFieldOrderCmd from './commands/set-field-order';
|
|
153
157
|
import oneTimeTokenCmd from './commands/one-time-token';
|
|
154
|
-
import insertNodeAtPathCmd from './commands/insert-node-at-path';
|
|
155
|
-
import updateNodeAtPathCmd from './commands/update-node-at-path';
|
|
156
|
-
import setAndCommitCmd from './commands/set-and-commit';
|
|
157
|
-
import applyRlsCmd from './commands/apply-rls';
|
|
158
158
|
import forgotPasswordCmd from './commands/forgot-password';
|
|
159
159
|
import sendVerificationEmailCmd from './commands/send-verification-email';
|
|
160
160
|
import verifyPasswordCmd from './commands/verify-password';
|
|
@@ -165,9 +165,9 @@ const createCommandMap = () => ({
|
|
|
165
165
|
'org-get-managers-record': orgGetManagersRecordCmd,
|
|
166
166
|
'org-get-subordinates-record': orgGetSubordinatesRecordCmd,
|
|
167
167
|
'get-all-record': getAllRecordCmd,
|
|
168
|
+
object: objectCmd,
|
|
168
169
|
'app-permission': appPermissionCmd,
|
|
169
170
|
'org-permission': orgPermissionCmd,
|
|
170
|
-
object: objectCmd,
|
|
171
171
|
'app-level-requirement': appLevelRequirementCmd,
|
|
172
172
|
database: databaseCmd,
|
|
173
173
|
schema: schemaCmd,
|
|
@@ -253,17 +253,17 @@ const createCommandMap = () => ({
|
|
|
253
253
|
'connected-account': connectedAccountCmd,
|
|
254
254
|
'node-type-registry': nodeTypeRegistryCmd,
|
|
255
255
|
'membership-type': membershipTypeCmd,
|
|
256
|
+
commit: commitCmd,
|
|
256
257
|
'app-membership-default': appMembershipDefaultCmd,
|
|
257
258
|
'rls-module': rlsModuleCmd,
|
|
258
|
-
commit: commitCmd,
|
|
259
259
|
'org-membership-default': orgMembershipDefaultCmd,
|
|
260
260
|
'audit-log': auditLogCmd,
|
|
261
261
|
'app-level': appLevelCmd,
|
|
262
262
|
'sql-migration': sqlMigrationCmd,
|
|
263
263
|
email: emailCmd,
|
|
264
|
+
user: userCmd,
|
|
264
265
|
'ast-migration': astMigrationCmd,
|
|
265
266
|
'app-membership': appMembershipCmd,
|
|
266
|
-
user: userCmd,
|
|
267
267
|
'hierarchy-module': hierarchyModuleCmd,
|
|
268
268
|
'current-user-id': currentUserIdCmd,
|
|
269
269
|
'current-ip-address': currentIpAddressCmd,
|
|
@@ -277,11 +277,11 @@ const createCommandMap = () => ({
|
|
|
277
277
|
'org-permissions-get-mask': orgPermissionsGetMaskCmd,
|
|
278
278
|
'app-permissions-get-mask-by-names': appPermissionsGetMaskByNamesCmd,
|
|
279
279
|
'org-permissions-get-mask-by-names': orgPermissionsGetMaskByNamesCmd,
|
|
280
|
-
'app-permissions-get-by-mask': appPermissionsGetByMaskCmd,
|
|
281
|
-
'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd,
|
|
282
280
|
'get-all-objects-from-root': getAllObjectsFromRootCmd,
|
|
283
281
|
'get-path-objects-from-root': getPathObjectsFromRootCmd,
|
|
284
282
|
'get-object-at-path': getObjectAtPathCmd,
|
|
283
|
+
'app-permissions-get-by-mask': appPermissionsGetByMaskCmd,
|
|
284
|
+
'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd,
|
|
285
285
|
'steps-required': stepsRequiredCmd,
|
|
286
286
|
'current-user': currentUserCmd,
|
|
287
287
|
'sign-out': signOutCmd,
|
|
@@ -294,29 +294,29 @@ const createCommandMap = () => ({
|
|
|
294
294
|
'confirm-delete-account': confirmDeleteAccountCmd,
|
|
295
295
|
'set-password': setPasswordCmd,
|
|
296
296
|
'verify-email': verifyEmailCmd,
|
|
297
|
+
'remove-node-at-path': removeNodeAtPathCmd,
|
|
297
298
|
'reset-password': resetPasswordCmd,
|
|
298
299
|
'bootstrap-user': bootstrapUserCmd,
|
|
299
|
-
'
|
|
300
|
+
'set-field-order': setFieldOrderCmd,
|
|
300
301
|
'set-data-at-path': setDataAtPathCmd,
|
|
301
302
|
'set-props-and-commit': setPropsAndCommitCmd,
|
|
302
303
|
'provision-database-with-user': provisionDatabaseWithUserCmd,
|
|
304
|
+
'insert-node-at-path': insertNodeAtPathCmd,
|
|
305
|
+
'update-node-at-path': updateNodeAtPathCmd,
|
|
306
|
+
'set-and-commit': setAndCommitCmd,
|
|
307
|
+
'apply-rls': applyRlsCmd,
|
|
303
308
|
'sign-in-one-time-token': signInOneTimeTokenCmd,
|
|
304
309
|
'create-user-database': createUserDatabaseCmd,
|
|
305
310
|
'extend-token-expires': extendTokenExpiresCmd,
|
|
306
311
|
'sign-in': signInCmd,
|
|
307
312
|
'sign-up': signUpCmd,
|
|
308
|
-
'set-field-order': setFieldOrderCmd,
|
|
309
313
|
'one-time-token': oneTimeTokenCmd,
|
|
310
|
-
'insert-node-at-path': insertNodeAtPathCmd,
|
|
311
|
-
'update-node-at-path': updateNodeAtPathCmd,
|
|
312
|
-
'set-and-commit': setAndCommitCmd,
|
|
313
|
-
'apply-rls': applyRlsCmd,
|
|
314
314
|
'forgot-password': forgotPasswordCmd,
|
|
315
315
|
'send-verification-email': sendVerificationEmailCmd,
|
|
316
316
|
'verify-password': verifyPasswordCmd,
|
|
317
317
|
'verify-totp': verifyTotpCmd,
|
|
318
318
|
});
|
|
319
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n
|
|
319
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n object object CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n table-template-module tableTemplateModule CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n trigger-function triggerFunction CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n field-module fieldModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n uuid-module uuidModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n app-limit appLimit CRUD operations\n org-limit orgLimit CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n invite invite CRUD operations\n claimed-invite claimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n crypto-address cryptoAddress CRUD operations\n role-type roleType CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n phone-number phoneNumber CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n connected-account connectedAccount CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n membership-type membershipType CRUD operations\n commit commit CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n rls-module rlsModule CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n audit-log auditLog CRUD operations\n app-level appLevel CRUD operations\n sql-migration sqlMigration CRUD operations\n email email CRUD operations\n user user CRUD operations\n ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-ip-address currentIpAddress\n current-user-agent currentUserAgent\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n sign-out signOut\n send-account-deletion-email sendAccountDeletionEmail\n check-password checkPassword\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n remove-node-at-path removeNodeAtPath\n reset-password resetPassword\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n apply-rls applyRls\n sign-in-one-time-token signInOneTimeToken\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n sign-in signIn\n sign-up signUp\n one-time-token oneTimeToken\n forgot-password forgotPassword\n send-verification-email sendVerificationEmail\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
320
320
|
export const commands = async (argv, prompter, options) => {
|
|
321
321
|
if (argv.help || argv.h) {
|
|
322
322
|
console.log(usage);
|
|
@@ -3,9 +3,9 @@ export declare function getClient(contextName?: string): {
|
|
|
3
3
|
orgGetManagersRecord: import("..").OrgGetManagersRecordModel;
|
|
4
4
|
orgGetSubordinatesRecord: import("..").OrgGetSubordinatesRecordModel;
|
|
5
5
|
getAllRecord: import("..").GetAllRecordModel;
|
|
6
|
+
object: import("..").ObjectModel;
|
|
6
7
|
appPermission: import("..").AppPermissionModel;
|
|
7
8
|
orgPermission: import("..").OrgPermissionModel;
|
|
8
|
-
object: import("..").ObjectModel;
|
|
9
9
|
appLevelRequirement: import("..").AppLevelRequirementModel;
|
|
10
10
|
database: import("..").DatabaseModel;
|
|
11
11
|
schema: import("..").SchemaModel;
|
|
@@ -91,17 +91,17 @@ export declare function getClient(contextName?: string): {
|
|
|
91
91
|
connectedAccount: import("..").ConnectedAccountModel;
|
|
92
92
|
nodeTypeRegistry: import("..").NodeTypeRegistryModel;
|
|
93
93
|
membershipType: import("..").MembershipTypeModel;
|
|
94
|
+
commit: import("..").CommitModel;
|
|
94
95
|
appMembershipDefault: import("..").AppMembershipDefaultModel;
|
|
95
96
|
rlsModule: import("..").RlsModuleModel;
|
|
96
|
-
commit: import("..").CommitModel;
|
|
97
97
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
98
98
|
auditLog: import("..").AuditLogModel;
|
|
99
99
|
appLevel: import("..").AppLevelModel;
|
|
100
100
|
sqlMigration: import("..").SqlMigrationModel;
|
|
101
101
|
email: import("..").EmailModel;
|
|
102
|
+
user: import("..").UserModel;
|
|
102
103
|
astMigration: import("..").AstMigrationModel;
|
|
103
104
|
appMembership: import("..").AppMembershipModel;
|
|
104
|
-
user: import("..").UserModel;
|
|
105
105
|
hierarchyModule: import("..").HierarchyModuleModel;
|
|
106
106
|
query: {
|
|
107
107
|
currentUserId: (options?: {
|
|
@@ -164,16 +164,6 @@ export declare function getClient(contextName?: string): {
|
|
|
164
164
|
}) => import("..").QueryBuilder<{
|
|
165
165
|
orgPermissionsGetMaskByNames: string | null;
|
|
166
166
|
}>;
|
|
167
|
-
appPermissionsGetByMask: (args: import("../orm/query").AppPermissionsGetByMaskVariables, options?: {
|
|
168
|
-
select?: Record<string, unknown>;
|
|
169
|
-
}) => import("..").QueryBuilder<{
|
|
170
|
-
appPermissionsGetByMask: import("../orm/input-types").AppPermissionConnection | null;
|
|
171
|
-
}>;
|
|
172
|
-
orgPermissionsGetByMask: (args: import("../orm/query").OrgPermissionsGetByMaskVariables, options?: {
|
|
173
|
-
select?: Record<string, unknown>;
|
|
174
|
-
}) => import("..").QueryBuilder<{
|
|
175
|
-
orgPermissionsGetByMask: import("../orm/input-types").OrgPermissionConnection | null;
|
|
176
|
-
}>;
|
|
177
167
|
getAllObjectsFromRoot: (args: import("../orm/query").GetAllObjectsFromRootVariables, options?: {
|
|
178
168
|
select?: Record<string, unknown>;
|
|
179
169
|
}) => import("..").QueryBuilder<{
|
|
@@ -189,6 +179,16 @@ export declare function getClient(contextName?: string): {
|
|
|
189
179
|
} & import("..").StrictSelect<S, import("../orm/input-types").ObjectSelect>) => import("..").QueryBuilder<{
|
|
190
180
|
getObjectAtPath: import("..").InferSelectResult<import("../orm/input-types").Object, S> | null;
|
|
191
181
|
}>;
|
|
182
|
+
appPermissionsGetByMask: (args: import("../orm/query").AppPermissionsGetByMaskVariables, options?: {
|
|
183
|
+
select?: Record<string, unknown>;
|
|
184
|
+
}) => import("..").QueryBuilder<{
|
|
185
|
+
appPermissionsGetByMask: import("../orm/input-types").AppPermissionConnection | null;
|
|
186
|
+
}>;
|
|
187
|
+
orgPermissionsGetByMask: (args: import("../orm/query").OrgPermissionsGetByMaskVariables, options?: {
|
|
188
|
+
select?: Record<string, unknown>;
|
|
189
|
+
}) => import("..").QueryBuilder<{
|
|
190
|
+
orgPermissionsGetByMask: import("../orm/input-types").OrgPermissionConnection | null;
|
|
191
|
+
}>;
|
|
192
192
|
stepsRequired: (args: import("../orm/query").StepsRequiredVariables, options?: {
|
|
193
193
|
select?: Record<string, unknown>;
|
|
194
194
|
}) => import("..").QueryBuilder<{
|
|
@@ -251,6 +251,11 @@ export declare function getClient(contextName?: string): {
|
|
|
251
251
|
} & import("..").StrictSelect<S, import("../orm/input-types").VerifyEmailPayloadSelect>) => import("..").QueryBuilder<{
|
|
252
252
|
verifyEmail: import("..").InferSelectResult<import("../orm/input-types").VerifyEmailPayload, S> | null;
|
|
253
253
|
}>;
|
|
254
|
+
removeNodeAtPath: <S extends import("../orm/input-types").RemoveNodeAtPathPayloadSelect>(args: import("../orm/mutation").RemoveNodeAtPathVariables, options: {
|
|
255
|
+
select: S;
|
|
256
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RemoveNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
257
|
+
removeNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").RemoveNodeAtPathPayload, S> | null;
|
|
258
|
+
}>;
|
|
254
259
|
resetPassword: <S extends import("../orm/input-types").ResetPasswordPayloadSelect>(args: import("../orm/mutation").ResetPasswordVariables, options: {
|
|
255
260
|
select: S;
|
|
256
261
|
} & import("..").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -261,10 +266,10 @@ export declare function getClient(contextName?: string): {
|
|
|
261
266
|
} & import("..").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
262
267
|
bootstrapUser: import("..").InferSelectResult<import("../orm/input-types").BootstrapUserPayload, S> | null;
|
|
263
268
|
}>;
|
|
264
|
-
|
|
269
|
+
setFieldOrder: <S extends import("../orm/input-types").SetFieldOrderPayloadSelect>(args: import("../orm/mutation").SetFieldOrderVariables, options: {
|
|
265
270
|
select: S;
|
|
266
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
267
|
-
|
|
271
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("..").QueryBuilder<{
|
|
272
|
+
setFieldOrder: import("..").InferSelectResult<import("../orm/input-types").SetFieldOrderPayload, S> | null;
|
|
268
273
|
}>;
|
|
269
274
|
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
270
275
|
select: S;
|
|
@@ -281,6 +286,26 @@ export declare function getClient(contextName?: string): {
|
|
|
281
286
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
282
287
|
provisionDatabaseWithUser: import("..").InferSelectResult<import("../orm/input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
283
288
|
}>;
|
|
289
|
+
insertNodeAtPath: <S extends import("../orm/input-types").InsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InsertNodeAtPathVariables, options: {
|
|
290
|
+
select: S;
|
|
291
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
292
|
+
insertNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").InsertNodeAtPathPayload, S> | null;
|
|
293
|
+
}>;
|
|
294
|
+
updateNodeAtPath: <S extends import("../orm/input-types").UpdateNodeAtPathPayloadSelect>(args: import("../orm/mutation").UpdateNodeAtPathVariables, options: {
|
|
295
|
+
select: S;
|
|
296
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").UpdateNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
297
|
+
updateNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").UpdateNodeAtPathPayload, S> | null;
|
|
298
|
+
}>;
|
|
299
|
+
setAndCommit: <S extends import("../orm/input-types").SetAndCommitPayloadSelect>(args: import("../orm/mutation").SetAndCommitVariables, options: {
|
|
300
|
+
select: S;
|
|
301
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SetAndCommitPayloadSelect>) => import("..").QueryBuilder<{
|
|
302
|
+
setAndCommit: import("..").InferSelectResult<import("../orm/input-types").SetAndCommitPayload, S> | null;
|
|
303
|
+
}>;
|
|
304
|
+
applyRls: <S extends import("../orm/input-types").ApplyRlsPayloadSelect>(args: import("../orm/mutation").ApplyRlsVariables, options: {
|
|
305
|
+
select: S;
|
|
306
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("..").QueryBuilder<{
|
|
307
|
+
applyRls: import("..").InferSelectResult<import("../orm/input-types").ApplyRlsPayload, S> | null;
|
|
308
|
+
}>;
|
|
284
309
|
signInOneTimeToken: <S extends import("../orm/input-types").SignInOneTimeTokenPayloadSelect>(args: import("../orm/mutation").SignInOneTimeTokenVariables, options: {
|
|
285
310
|
select: S;
|
|
286
311
|
} & import("..").StrictSelect<S, import("../orm/input-types").SignInOneTimeTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -306,36 +331,11 @@ export declare function getClient(contextName?: string): {
|
|
|
306
331
|
} & import("..").StrictSelect<S, import("../orm/input-types").SignUpPayloadSelect>) => import("..").QueryBuilder<{
|
|
307
332
|
signUp: import("..").InferSelectResult<import("../orm/input-types").SignUpPayload, S> | null;
|
|
308
333
|
}>;
|
|
309
|
-
setFieldOrder: <S extends import("../orm/input-types").SetFieldOrderPayloadSelect>(args: import("../orm/mutation").SetFieldOrderVariables, options: {
|
|
310
|
-
select: S;
|
|
311
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("..").QueryBuilder<{
|
|
312
|
-
setFieldOrder: import("..").InferSelectResult<import("../orm/input-types").SetFieldOrderPayload, S> | null;
|
|
313
|
-
}>;
|
|
314
334
|
oneTimeToken: <S extends import("../orm/input-types").OneTimeTokenPayloadSelect>(args: import("../orm/mutation").OneTimeTokenVariables, options: {
|
|
315
335
|
select: S;
|
|
316
336
|
} & import("..").StrictSelect<S, import("../orm/input-types").OneTimeTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
317
337
|
oneTimeToken: import("..").InferSelectResult<import("../orm/input-types").OneTimeTokenPayload, S> | null;
|
|
318
338
|
}>;
|
|
319
|
-
insertNodeAtPath: <S extends import("../orm/input-types").InsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InsertNodeAtPathVariables, options: {
|
|
320
|
-
select: S;
|
|
321
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
322
|
-
insertNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").InsertNodeAtPathPayload, S> | null;
|
|
323
|
-
}>;
|
|
324
|
-
updateNodeAtPath: <S extends import("../orm/input-types").UpdateNodeAtPathPayloadSelect>(args: import("../orm/mutation").UpdateNodeAtPathVariables, options: {
|
|
325
|
-
select: S;
|
|
326
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").UpdateNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
327
|
-
updateNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").UpdateNodeAtPathPayload, S> | null;
|
|
328
|
-
}>;
|
|
329
|
-
setAndCommit: <S extends import("../orm/input-types").SetAndCommitPayloadSelect>(args: import("../orm/mutation").SetAndCommitVariables, options: {
|
|
330
|
-
select: S;
|
|
331
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").SetAndCommitPayloadSelect>) => import("..").QueryBuilder<{
|
|
332
|
-
setAndCommit: import("..").InferSelectResult<import("../orm/input-types").SetAndCommitPayload, S> | null;
|
|
333
|
-
}>;
|
|
334
|
-
applyRls: <S extends import("../orm/input-types").ApplyRlsPayloadSelect>(args: import("../orm/mutation").ApplyRlsVariables, options: {
|
|
335
|
-
select: S;
|
|
336
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("..").QueryBuilder<{
|
|
337
|
-
applyRls: import("..").InferSelectResult<import("../orm/input-types").ApplyRlsPayload, S> | null;
|
|
338
|
-
}>;
|
|
339
339
|
forgotPassword: <S extends import("../orm/input-types").ForgotPasswordPayloadSelect>(args: import("../orm/mutation").ForgotPasswordVariables, options: {
|
|
340
340
|
select: S;
|
|
341
341
|
} & import("..").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -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';
|
|
@@ -137,9 +137,9 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
137
137
|
orgGetManagersRecord: OrgGetManagersRecordModel;
|
|
138
138
|
orgGetSubordinatesRecord: OrgGetSubordinatesRecordModel;
|
|
139
139
|
getAllRecord: GetAllRecordModel;
|
|
140
|
+
object: ObjectModel;
|
|
140
141
|
appPermission: AppPermissionModel;
|
|
141
142
|
orgPermission: OrgPermissionModel;
|
|
142
|
-
object: ObjectModel;
|
|
143
143
|
appLevelRequirement: AppLevelRequirementModel;
|
|
144
144
|
database: DatabaseModel;
|
|
145
145
|
schema: SchemaModel;
|
|
@@ -225,17 +225,17 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
225
225
|
connectedAccount: ConnectedAccountModel;
|
|
226
226
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
227
227
|
membershipType: MembershipTypeModel;
|
|
228
|
+
commit: CommitModel;
|
|
228
229
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
229
230
|
rlsModule: RlsModuleModel;
|
|
230
|
-
commit: CommitModel;
|
|
231
231
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
232
232
|
auditLog: AuditLogModel;
|
|
233
233
|
appLevel: AppLevelModel;
|
|
234
234
|
sqlMigration: SqlMigrationModel;
|
|
235
235
|
email: EmailModel;
|
|
236
|
+
user: UserModel;
|
|
236
237
|
astMigration: AstMigrationModel;
|
|
237
238
|
appMembership: AppMembershipModel;
|
|
238
|
-
user: UserModel;
|
|
239
239
|
hierarchyModule: HierarchyModuleModel;
|
|
240
240
|
query: {
|
|
241
241
|
currentUserId: (options?: {
|
|
@@ -298,16 +298,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
298
298
|
}) => import("./query-builder").QueryBuilder<{
|
|
299
299
|
orgPermissionsGetMaskByNames: string | null;
|
|
300
300
|
}>;
|
|
301
|
-
appPermissionsGetByMask: (args: import("./query").AppPermissionsGetByMaskVariables, options?: {
|
|
302
|
-
select?: Record<string, unknown>;
|
|
303
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
304
|
-
appPermissionsGetByMask: import("./input-types").AppPermissionConnection | null;
|
|
305
|
-
}>;
|
|
306
|
-
orgPermissionsGetByMask: (args: import("./query").OrgPermissionsGetByMaskVariables, options?: {
|
|
307
|
-
select?: Record<string, unknown>;
|
|
308
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
309
|
-
orgPermissionsGetByMask: import("./input-types").OrgPermissionConnection | null;
|
|
310
|
-
}>;
|
|
311
301
|
getAllObjectsFromRoot: (args: import("./query").GetAllObjectsFromRootVariables, options?: {
|
|
312
302
|
select?: Record<string, unknown>;
|
|
313
303
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -323,6 +313,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
323
313
|
} & import("./select-types").StrictSelect<S, import("./input-types").ObjectSelect>) => import("./query-builder").QueryBuilder<{
|
|
324
314
|
getObjectAtPath: import("./select-types").InferSelectResult<import("./input-types").Object, S> | null;
|
|
325
315
|
}>;
|
|
316
|
+
appPermissionsGetByMask: (args: import("./query").AppPermissionsGetByMaskVariables, options?: {
|
|
317
|
+
select?: Record<string, unknown>;
|
|
318
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
319
|
+
appPermissionsGetByMask: import("./input-types").AppPermissionConnection | null;
|
|
320
|
+
}>;
|
|
321
|
+
orgPermissionsGetByMask: (args: import("./query").OrgPermissionsGetByMaskVariables, options?: {
|
|
322
|
+
select?: Record<string, unknown>;
|
|
323
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
324
|
+
orgPermissionsGetByMask: import("./input-types").OrgPermissionConnection | null;
|
|
325
|
+
}>;
|
|
326
326
|
stepsRequired: (args: import("./query").StepsRequiredVariables, options?: {
|
|
327
327
|
select?: Record<string, unknown>;
|
|
328
328
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -385,6 +385,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
385
385
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
386
386
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
387
387
|
}>;
|
|
388
|
+
removeNodeAtPath: <S extends import("./input-types").RemoveNodeAtPathPayloadSelect>(args: import("./mutation").RemoveNodeAtPathVariables, options: {
|
|
389
|
+
select: S;
|
|
390
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RemoveNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
391
|
+
removeNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").RemoveNodeAtPathPayload, S> | null;
|
|
392
|
+
}>;
|
|
388
393
|
resetPassword: <S extends import("./input-types").ResetPasswordPayloadSelect>(args: import("./mutation").ResetPasswordVariables, options: {
|
|
389
394
|
select: S;
|
|
390
395
|
} & import("./select-types").StrictSelect<S, import("./input-types").ResetPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -395,10 +400,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
395
400
|
} & import("./select-types").StrictSelect<S, import("./input-types").BootstrapUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
396
401
|
bootstrapUser: import("./select-types").InferSelectResult<import("./input-types").BootstrapUserPayload, S> | null;
|
|
397
402
|
}>;
|
|
398
|
-
|
|
403
|
+
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
399
404
|
select: S;
|
|
400
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
401
|
-
|
|
405
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
406
|
+
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
402
407
|
}>;
|
|
403
408
|
setDataAtPath: <S extends import("./input-types").SetDataAtPathPayloadSelect>(args: import("./mutation").SetDataAtPathVariables, options: {
|
|
404
409
|
select: S;
|
|
@@ -415,6 +420,26 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
415
420
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
416
421
|
provisionDatabaseWithUser: import("./select-types").InferSelectResult<import("./input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
417
422
|
}>;
|
|
423
|
+
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
424
|
+
select: S;
|
|
425
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
426
|
+
insertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InsertNodeAtPathPayload, S> | null;
|
|
427
|
+
}>;
|
|
428
|
+
updateNodeAtPath: <S extends import("./input-types").UpdateNodeAtPathPayloadSelect>(args: import("./mutation").UpdateNodeAtPathVariables, options: {
|
|
429
|
+
select: S;
|
|
430
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
431
|
+
updateNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").UpdateNodeAtPathPayload, S> | null;
|
|
432
|
+
}>;
|
|
433
|
+
setAndCommit: <S extends import("./input-types").SetAndCommitPayloadSelect>(args: import("./mutation").SetAndCommitVariables, options: {
|
|
434
|
+
select: S;
|
|
435
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SetAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
436
|
+
setAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetAndCommitPayload, S> | null;
|
|
437
|
+
}>;
|
|
438
|
+
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
439
|
+
select: S;
|
|
440
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
441
|
+
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
442
|
+
}>;
|
|
418
443
|
signInOneTimeToken: <S extends import("./input-types").SignInOneTimeTokenPayloadSelect>(args: import("./mutation").SignInOneTimeTokenVariables, options: {
|
|
419
444
|
select: S;
|
|
420
445
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInOneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -440,36 +465,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
440
465
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
441
466
|
signUp: import("./select-types").InferSelectResult<import("./input-types").SignUpPayload, S> | null;
|
|
442
467
|
}>;
|
|
443
|
-
setFieldOrder: <S extends import("./input-types").SetFieldOrderPayloadSelect>(args: import("./mutation").SetFieldOrderVariables, options: {
|
|
444
|
-
select: S;
|
|
445
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
446
|
-
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
447
|
-
}>;
|
|
448
468
|
oneTimeToken: <S extends import("./input-types").OneTimeTokenPayloadSelect>(args: import("./mutation").OneTimeTokenVariables, options: {
|
|
449
469
|
select: S;
|
|
450
470
|
} & import("./select-types").StrictSelect<S, import("./input-types").OneTimeTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
451
471
|
oneTimeToken: import("./select-types").InferSelectResult<import("./input-types").OneTimeTokenPayload, S> | null;
|
|
452
472
|
}>;
|
|
453
|
-
insertNodeAtPath: <S extends import("./input-types").InsertNodeAtPathPayloadSelect>(args: import("./mutation").InsertNodeAtPathVariables, options: {
|
|
454
|
-
select: S;
|
|
455
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").InsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
456
|
-
insertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InsertNodeAtPathPayload, S> | null;
|
|
457
|
-
}>;
|
|
458
|
-
updateNodeAtPath: <S extends import("./input-types").UpdateNodeAtPathPayloadSelect>(args: import("./mutation").UpdateNodeAtPathVariables, options: {
|
|
459
|
-
select: S;
|
|
460
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
461
|
-
updateNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").UpdateNodeAtPathPayload, S> | null;
|
|
462
|
-
}>;
|
|
463
|
-
setAndCommit: <S extends import("./input-types").SetAndCommitPayloadSelect>(args: import("./mutation").SetAndCommitVariables, options: {
|
|
464
|
-
select: S;
|
|
465
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").SetAndCommitPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
466
|
-
setAndCommit: import("./select-types").InferSelectResult<import("./input-types").SetAndCommitPayload, S> | null;
|
|
467
|
-
}>;
|
|
468
|
-
applyRls: <S extends import("./input-types").ApplyRlsPayloadSelect>(args: import("./mutation").ApplyRlsVariables, options: {
|
|
469
|
-
select: S;
|
|
470
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ApplyRlsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
471
|
-
applyRls: import("./select-types").InferSelectResult<import("./input-types").ApplyRlsPayload, S> | null;
|
|
472
|
-
}>;
|
|
473
473
|
forgotPassword: <S extends import("./input-types").ForgotPasswordPayloadSelect>(args: import("./mutation").ForgotPasswordVariables, options: {
|
|
474
474
|
select: S;
|
|
475
475
|
} & 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';
|
|
@@ -145,9 +145,9 @@ export function createClient(config) {
|
|
|
145
145
|
orgGetManagersRecord: new OrgGetManagersRecordModel(client),
|
|
146
146
|
orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client),
|
|
147
147
|
getAllRecord: new GetAllRecordModel(client),
|
|
148
|
+
object: new ObjectModel(client),
|
|
148
149
|
appPermission: new AppPermissionModel(client),
|
|
149
150
|
orgPermission: new OrgPermissionModel(client),
|
|
150
|
-
object: new ObjectModel(client),
|
|
151
151
|
appLevelRequirement: new AppLevelRequirementModel(client),
|
|
152
152
|
database: new DatabaseModel(client),
|
|
153
153
|
schema: new SchemaModel(client),
|
|
@@ -233,17 +233,17 @@ export function createClient(config) {
|
|
|
233
233
|
connectedAccount: new ConnectedAccountModel(client),
|
|
234
234
|
nodeTypeRegistry: new NodeTypeRegistryModel(client),
|
|
235
235
|
membershipType: new MembershipTypeModel(client),
|
|
236
|
+
commit: new CommitModel(client),
|
|
236
237
|
appMembershipDefault: new AppMembershipDefaultModel(client),
|
|
237
238
|
rlsModule: new RlsModuleModel(client),
|
|
238
|
-
commit: new CommitModel(client),
|
|
239
239
|
orgMembershipDefault: new OrgMembershipDefaultModel(client),
|
|
240
240
|
auditLog: new AuditLogModel(client),
|
|
241
241
|
appLevel: new AppLevelModel(client),
|
|
242
242
|
sqlMigration: new SqlMigrationModel(client),
|
|
243
243
|
email: new EmailModel(client),
|
|
244
|
+
user: new UserModel(client),
|
|
244
245
|
astMigration: new AstMigrationModel(client),
|
|
245
246
|
appMembership: new AppMembershipModel(client),
|
|
246
|
-
user: new UserModel(client),
|
|
247
247
|
hierarchyModule: new HierarchyModuleModel(client),
|
|
248
248
|
query: createQueryOperations(client),
|
|
249
249
|
mutation: createMutationOperations(client),
|