@constructive-sdk/cli 0.8.4 → 0.8.6
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/README.md +8 -0
- 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 +4 -4
- 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
|
@@ -68,7 +68,6 @@ async function handleList(_argv, _prompter) {
|
|
|
68
68
|
username: true,
|
|
69
69
|
displayName: true,
|
|
70
70
|
profilePicture: true,
|
|
71
|
-
searchTsv: true,
|
|
72
71
|
type: true,
|
|
73
72
|
createdAt: true,
|
|
74
73
|
updatedAt: true,
|
|
@@ -104,7 +103,6 @@ async function handleGet(argv, prompter) {
|
|
|
104
103
|
username: true,
|
|
105
104
|
displayName: true,
|
|
106
105
|
profilePicture: true,
|
|
107
|
-
searchTsv: true,
|
|
108
106
|
type: true,
|
|
109
107
|
createdAt: true,
|
|
110
108
|
updatedAt: true,
|
|
@@ -145,13 +143,6 @@ async function handleCreate(argv, prompter) {
|
|
|
145
143
|
required: false,
|
|
146
144
|
skipPrompt: true,
|
|
147
145
|
},
|
|
148
|
-
{
|
|
149
|
-
type: 'text',
|
|
150
|
-
name: 'searchTsv',
|
|
151
|
-
message: 'searchTsv',
|
|
152
|
-
required: false,
|
|
153
|
-
skipPrompt: true,
|
|
154
|
-
},
|
|
155
146
|
{
|
|
156
147
|
type: 'text',
|
|
157
148
|
name: 'type',
|
|
@@ -169,7 +160,6 @@ async function handleCreate(argv, prompter) {
|
|
|
169
160
|
username: cleanedData.username,
|
|
170
161
|
displayName: cleanedData.displayName,
|
|
171
162
|
profilePicture: cleanedData.profilePicture,
|
|
172
|
-
searchTsv: cleanedData.searchTsv,
|
|
173
163
|
type: cleanedData.type,
|
|
174
164
|
},
|
|
175
165
|
select: {
|
|
@@ -177,7 +167,6 @@ async function handleCreate(argv, prompter) {
|
|
|
177
167
|
username: true,
|
|
178
168
|
displayName: true,
|
|
179
169
|
profilePicture: true,
|
|
180
|
-
searchTsv: true,
|
|
181
170
|
type: true,
|
|
182
171
|
createdAt: true,
|
|
183
172
|
updatedAt: true,
|
|
@@ -224,13 +213,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
224
213
|
required: false,
|
|
225
214
|
skipPrompt: true,
|
|
226
215
|
},
|
|
227
|
-
{
|
|
228
|
-
type: 'text',
|
|
229
|
-
name: 'searchTsv',
|
|
230
|
-
message: 'searchTsv',
|
|
231
|
-
required: false,
|
|
232
|
-
skipPrompt: true,
|
|
233
|
-
},
|
|
234
216
|
{
|
|
235
217
|
type: 'text',
|
|
236
218
|
name: 'type',
|
|
@@ -251,7 +233,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
251
233
|
username: cleanedData.username,
|
|
252
234
|
displayName: cleanedData.displayName,
|
|
253
235
|
profilePicture: cleanedData.profilePicture,
|
|
254
|
-
searchTsv: cleanedData.searchTsv,
|
|
255
236
|
type: cleanedData.type,
|
|
256
237
|
},
|
|
257
238
|
select: {
|
|
@@ -259,7 +240,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
259
240
|
username: true,
|
|
260
241
|
displayName: true,
|
|
261
242
|
profilePicture: true,
|
|
262
|
-
searchTsv: true,
|
|
263
243
|
type: true,
|
|
264
244
|
createdAt: true,
|
|
265
245
|
updatedAt: true,
|
package/public/cli/commands.js
CHANGED
|
@@ -15,9 +15,9 @@ const auth_1 = __importDefault(require("./commands/auth"));
|
|
|
15
15
|
const org_get_managers_record_1 = __importDefault(require("./commands/org-get-managers-record"));
|
|
16
16
|
const org_get_subordinates_record_1 = __importDefault(require("./commands/org-get-subordinates-record"));
|
|
17
17
|
const get_all_record_1 = __importDefault(require("./commands/get-all-record"));
|
|
18
|
+
const object_1 = __importDefault(require("./commands/object"));
|
|
18
19
|
const app_permission_1 = __importDefault(require("./commands/app-permission"));
|
|
19
20
|
const org_permission_1 = __importDefault(require("./commands/org-permission"));
|
|
20
|
-
const object_1 = __importDefault(require("./commands/object"));
|
|
21
21
|
const app_level_requirement_1 = __importDefault(require("./commands/app-level-requirement"));
|
|
22
22
|
const database_1 = __importDefault(require("./commands/database"));
|
|
23
23
|
const schema_1 = __importDefault(require("./commands/schema"));
|
|
@@ -103,17 +103,17 @@ const org_limit_default_1 = __importDefault(require("./commands/org-limit-defaul
|
|
|
103
103
|
const connected_account_1 = __importDefault(require("./commands/connected-account"));
|
|
104
104
|
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
105
105
|
const membership_type_1 = __importDefault(require("./commands/membership-type"));
|
|
106
|
+
const commit_1 = __importDefault(require("./commands/commit"));
|
|
106
107
|
const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
|
|
107
108
|
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
108
|
-
const commit_1 = __importDefault(require("./commands/commit"));
|
|
109
109
|
const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
|
|
110
110
|
const audit_log_1 = __importDefault(require("./commands/audit-log"));
|
|
111
111
|
const app_level_1 = __importDefault(require("./commands/app-level"));
|
|
112
112
|
const sql_migration_1 = __importDefault(require("./commands/sql-migration"));
|
|
113
113
|
const email_1 = __importDefault(require("./commands/email"));
|
|
114
|
+
const user_1 = __importDefault(require("./commands/user"));
|
|
114
115
|
const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
|
|
115
116
|
const app_membership_1 = __importDefault(require("./commands/app-membership"));
|
|
116
|
-
const user_1 = __importDefault(require("./commands/user"));
|
|
117
117
|
const hierarchy_module_1 = __importDefault(require("./commands/hierarchy-module"));
|
|
118
118
|
const current_user_id_1 = __importDefault(require("./commands/current-user-id"));
|
|
119
119
|
const current_ip_address_1 = __importDefault(require("./commands/current-ip-address"));
|
|
@@ -127,11 +127,11 @@ const app_permissions_get_mask_1 = __importDefault(require("./commands/app-permi
|
|
|
127
127
|
const org_permissions_get_mask_1 = __importDefault(require("./commands/org-permissions-get-mask"));
|
|
128
128
|
const app_permissions_get_mask_by_names_1 = __importDefault(require("./commands/app-permissions-get-mask-by-names"));
|
|
129
129
|
const org_permissions_get_mask_by_names_1 = __importDefault(require("./commands/org-permissions-get-mask-by-names"));
|
|
130
|
-
const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
|
|
131
|
-
const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
|
|
132
130
|
const get_all_objects_from_root_1 = __importDefault(require("./commands/get-all-objects-from-root"));
|
|
133
131
|
const get_path_objects_from_root_1 = __importDefault(require("./commands/get-path-objects-from-root"));
|
|
134
132
|
const get_object_at_path_1 = __importDefault(require("./commands/get-object-at-path"));
|
|
133
|
+
const app_permissions_get_by_mask_1 = __importDefault(require("./commands/app-permissions-get-by-mask"));
|
|
134
|
+
const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-permissions-get-by-mask"));
|
|
135
135
|
const steps_required_1 = __importDefault(require("./commands/steps-required"));
|
|
136
136
|
const current_user_1 = __importDefault(require("./commands/current-user"));
|
|
137
137
|
const sign_out_1 = __importDefault(require("./commands/sign-out"));
|
|
@@ -144,23 +144,23 @@ const init_empty_repo_1 = __importDefault(require("./commands/init-empty-repo"))
|
|
|
144
144
|
const confirm_delete_account_1 = __importDefault(require("./commands/confirm-delete-account"));
|
|
145
145
|
const set_password_1 = __importDefault(require("./commands/set-password"));
|
|
146
146
|
const verify_email_1 = __importDefault(require("./commands/verify-email"));
|
|
147
|
+
const remove_node_at_path_1 = __importDefault(require("./commands/remove-node-at-path"));
|
|
147
148
|
const reset_password_1 = __importDefault(require("./commands/reset-password"));
|
|
148
149
|
const bootstrap_user_1 = __importDefault(require("./commands/bootstrap-user"));
|
|
149
|
-
const
|
|
150
|
+
const set_field_order_1 = __importDefault(require("./commands/set-field-order"));
|
|
150
151
|
const set_data_at_path_1 = __importDefault(require("./commands/set-data-at-path"));
|
|
151
152
|
const set_props_and_commit_1 = __importDefault(require("./commands/set-props-and-commit"));
|
|
152
153
|
const provision_database_with_user_1 = __importDefault(require("./commands/provision-database-with-user"));
|
|
154
|
+
const insert_node_at_path_1 = __importDefault(require("./commands/insert-node-at-path"));
|
|
155
|
+
const update_node_at_path_1 = __importDefault(require("./commands/update-node-at-path"));
|
|
156
|
+
const set_and_commit_1 = __importDefault(require("./commands/set-and-commit"));
|
|
157
|
+
const apply_rls_1 = __importDefault(require("./commands/apply-rls"));
|
|
153
158
|
const sign_in_one_time_token_1 = __importDefault(require("./commands/sign-in-one-time-token"));
|
|
154
159
|
const create_user_database_1 = __importDefault(require("./commands/create-user-database"));
|
|
155
160
|
const extend_token_expires_1 = __importDefault(require("./commands/extend-token-expires"));
|
|
156
161
|
const sign_in_1 = __importDefault(require("./commands/sign-in"));
|
|
157
162
|
const sign_up_1 = __importDefault(require("./commands/sign-up"));
|
|
158
|
-
const set_field_order_1 = __importDefault(require("./commands/set-field-order"));
|
|
159
163
|
const one_time_token_1 = __importDefault(require("./commands/one-time-token"));
|
|
160
|
-
const insert_node_at_path_1 = __importDefault(require("./commands/insert-node-at-path"));
|
|
161
|
-
const update_node_at_path_1 = __importDefault(require("./commands/update-node-at-path"));
|
|
162
|
-
const set_and_commit_1 = __importDefault(require("./commands/set-and-commit"));
|
|
163
|
-
const apply_rls_1 = __importDefault(require("./commands/apply-rls"));
|
|
164
164
|
const forgot_password_1 = __importDefault(require("./commands/forgot-password"));
|
|
165
165
|
const send_verification_email_1 = __importDefault(require("./commands/send-verification-email"));
|
|
166
166
|
const verify_password_1 = __importDefault(require("./commands/verify-password"));
|
|
@@ -171,9 +171,9 @@ const createCommandMap = () => ({
|
|
|
171
171
|
'org-get-managers-record': org_get_managers_record_1.default,
|
|
172
172
|
'org-get-subordinates-record': org_get_subordinates_record_1.default,
|
|
173
173
|
'get-all-record': get_all_record_1.default,
|
|
174
|
+
object: object_1.default,
|
|
174
175
|
'app-permission': app_permission_1.default,
|
|
175
176
|
'org-permission': org_permission_1.default,
|
|
176
|
-
object: object_1.default,
|
|
177
177
|
'app-level-requirement': app_level_requirement_1.default,
|
|
178
178
|
database: database_1.default,
|
|
179
179
|
schema: schema_1.default,
|
|
@@ -259,17 +259,17 @@ const createCommandMap = () => ({
|
|
|
259
259
|
'connected-account': connected_account_1.default,
|
|
260
260
|
'node-type-registry': node_type_registry_1.default,
|
|
261
261
|
'membership-type': membership_type_1.default,
|
|
262
|
+
commit: commit_1.default,
|
|
262
263
|
'app-membership-default': app_membership_default_1.default,
|
|
263
264
|
'rls-module': rls_module_1.default,
|
|
264
|
-
commit: commit_1.default,
|
|
265
265
|
'org-membership-default': org_membership_default_1.default,
|
|
266
266
|
'audit-log': audit_log_1.default,
|
|
267
267
|
'app-level': app_level_1.default,
|
|
268
268
|
'sql-migration': sql_migration_1.default,
|
|
269
269
|
email: email_1.default,
|
|
270
|
+
user: user_1.default,
|
|
270
271
|
'ast-migration': ast_migration_1.default,
|
|
271
272
|
'app-membership': app_membership_1.default,
|
|
272
|
-
user: user_1.default,
|
|
273
273
|
'hierarchy-module': hierarchy_module_1.default,
|
|
274
274
|
'current-user-id': current_user_id_1.default,
|
|
275
275
|
'current-ip-address': current_ip_address_1.default,
|
|
@@ -283,11 +283,11 @@ const createCommandMap = () => ({
|
|
|
283
283
|
'org-permissions-get-mask': org_permissions_get_mask_1.default,
|
|
284
284
|
'app-permissions-get-mask-by-names': app_permissions_get_mask_by_names_1.default,
|
|
285
285
|
'org-permissions-get-mask-by-names': org_permissions_get_mask_by_names_1.default,
|
|
286
|
-
'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
|
|
287
|
-
'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
|
|
288
286
|
'get-all-objects-from-root': get_all_objects_from_root_1.default,
|
|
289
287
|
'get-path-objects-from-root': get_path_objects_from_root_1.default,
|
|
290
288
|
'get-object-at-path': get_object_at_path_1.default,
|
|
289
|
+
'app-permissions-get-by-mask': app_permissions_get_by_mask_1.default,
|
|
290
|
+
'org-permissions-get-by-mask': org_permissions_get_by_mask_1.default,
|
|
291
291
|
'steps-required': steps_required_1.default,
|
|
292
292
|
'current-user': current_user_1.default,
|
|
293
293
|
'sign-out': sign_out_1.default,
|
|
@@ -300,29 +300,29 @@ const createCommandMap = () => ({
|
|
|
300
300
|
'confirm-delete-account': confirm_delete_account_1.default,
|
|
301
301
|
'set-password': set_password_1.default,
|
|
302
302
|
'verify-email': verify_email_1.default,
|
|
303
|
+
'remove-node-at-path': remove_node_at_path_1.default,
|
|
303
304
|
'reset-password': reset_password_1.default,
|
|
304
305
|
'bootstrap-user': bootstrap_user_1.default,
|
|
305
|
-
'
|
|
306
|
+
'set-field-order': set_field_order_1.default,
|
|
306
307
|
'set-data-at-path': set_data_at_path_1.default,
|
|
307
308
|
'set-props-and-commit': set_props_and_commit_1.default,
|
|
308
309
|
'provision-database-with-user': provision_database_with_user_1.default,
|
|
310
|
+
'insert-node-at-path': insert_node_at_path_1.default,
|
|
311
|
+
'update-node-at-path': update_node_at_path_1.default,
|
|
312
|
+
'set-and-commit': set_and_commit_1.default,
|
|
313
|
+
'apply-rls': apply_rls_1.default,
|
|
309
314
|
'sign-in-one-time-token': sign_in_one_time_token_1.default,
|
|
310
315
|
'create-user-database': create_user_database_1.default,
|
|
311
316
|
'extend-token-expires': extend_token_expires_1.default,
|
|
312
317
|
'sign-in': sign_in_1.default,
|
|
313
318
|
'sign-up': sign_up_1.default,
|
|
314
|
-
'set-field-order': set_field_order_1.default,
|
|
315
319
|
'one-time-token': one_time_token_1.default,
|
|
316
|
-
'insert-node-at-path': insert_node_at_path_1.default,
|
|
317
|
-
'update-node-at-path': update_node_at_path_1.default,
|
|
318
|
-
'set-and-commit': set_and_commit_1.default,
|
|
319
|
-
'apply-rls': apply_rls_1.default,
|
|
320
320
|
'forgot-password': forgot_password_1.default,
|
|
321
321
|
'send-verification-email': send_verification_email_1.default,
|
|
322
322
|
'verify-password': verify_password_1.default,
|
|
323
323
|
'verify-totp': verify_totp_1.default,
|
|
324
324
|
});
|
|
325
|
-
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
|
|
325
|
+
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";
|
|
326
326
|
const commands = async (argv, prompter, options) => {
|
|
327
327
|
if (argv.help || argv.h) {
|
|
328
328
|
console.log(usage);
|
package/public/cli/executor.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ export declare function getClient(contextName?: string): {
|
|
|
3
3
|
orgGetManagersRecord: import("../orm").OrgGetManagersRecordModel;
|
|
4
4
|
orgGetSubordinatesRecord: import("../orm").OrgGetSubordinatesRecordModel;
|
|
5
5
|
getAllRecord: import("../orm").GetAllRecordModel;
|
|
6
|
+
object: import("../orm").ObjectModel;
|
|
6
7
|
appPermission: import("../orm").AppPermissionModel;
|
|
7
8
|
orgPermission: import("../orm").OrgPermissionModel;
|
|
8
|
-
object: import("../orm").ObjectModel;
|
|
9
9
|
appLevelRequirement: import("../orm").AppLevelRequirementModel;
|
|
10
10
|
database: import("../orm").DatabaseModel;
|
|
11
11
|
schema: import("../orm").SchemaModel;
|
|
@@ -91,17 +91,17 @@ export declare function getClient(contextName?: string): {
|
|
|
91
91
|
connectedAccount: import("../orm").ConnectedAccountModel;
|
|
92
92
|
nodeTypeRegistry: import("../orm").NodeTypeRegistryModel;
|
|
93
93
|
membershipType: import("../orm").MembershipTypeModel;
|
|
94
|
+
commit: import("../orm").CommitModel;
|
|
94
95
|
appMembershipDefault: import("../orm").AppMembershipDefaultModel;
|
|
95
96
|
rlsModule: import("../orm").RlsModuleModel;
|
|
96
|
-
commit: import("../orm").CommitModel;
|
|
97
97
|
orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
|
|
98
98
|
auditLog: import("../orm").AuditLogModel;
|
|
99
99
|
appLevel: import("../orm").AppLevelModel;
|
|
100
100
|
sqlMigration: import("../orm").SqlMigrationModel;
|
|
101
101
|
email: import("../orm").EmailModel;
|
|
102
|
+
user: import("../orm").UserModel;
|
|
102
103
|
astMigration: import("../orm").AstMigrationModel;
|
|
103
104
|
appMembership: import("../orm").AppMembershipModel;
|
|
104
|
-
user: import("../orm").UserModel;
|
|
105
105
|
hierarchyModule: import("../orm").HierarchyModuleModel;
|
|
106
106
|
query: {
|
|
107
107
|
currentUserId: (options?: {
|
|
@@ -164,16 +164,6 @@ export declare function getClient(contextName?: string): {
|
|
|
164
164
|
}) => import("../orm").QueryBuilder<{
|
|
165
165
|
orgPermissionsGetMaskByNames: string | null;
|
|
166
166
|
}>;
|
|
167
|
-
appPermissionsGetByMask: (args: import("../orm/query").AppPermissionsGetByMaskVariables, options?: {
|
|
168
|
-
select?: Record<string, unknown>;
|
|
169
|
-
}) => import("../orm").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("../orm").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("../orm").QueryBuilder<{
|
|
@@ -189,6 +179,16 @@ export declare function getClient(contextName?: string): {
|
|
|
189
179
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ObjectSelect>) => import("../orm").QueryBuilder<{
|
|
190
180
|
getObjectAtPath: import("../orm").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("../orm").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("../orm").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("../orm").QueryBuilder<{
|
|
@@ -251,6 +251,11 @@ export declare function getClient(contextName?: string): {
|
|
|
251
251
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").VerifyEmailPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
252
252
|
verifyEmail: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").RemoveNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
257
|
+
removeNodeAtPath: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -261,10 +266,10 @@ export declare function getClient(contextName?: string): {
|
|
|
261
266
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
262
267
|
bootstrapUser: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").
|
|
267
|
-
|
|
271
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
272
|
+
setFieldOrder: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
282
287
|
provisionDatabaseWithUser: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
292
|
+
insertNodeAtPath: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").UpdateNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
297
|
+
updateNodeAtPath: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SetAndCommitPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
302
|
+
setAndCommit: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
307
|
+
applyRls: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SignInOneTimeTokenPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -306,36 +331,11 @@ export declare function getClient(contextName?: string): {
|
|
|
306
331
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SignUpPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
307
332
|
signUp: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
312
|
-
setFieldOrder: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").OneTimeTokenPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
317
337
|
oneTimeToken: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
322
|
-
insertNodeAtPath: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").UpdateNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
327
|
-
updateNodeAtPath: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").SetAndCommitPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
332
|
-
setAndCommit: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ApplyRlsPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
337
|
-
applyRls: import("../orm").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("../orm").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
package/public/orm/index.d.ts
CHANGED
|
@@ -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<{
|