@constructive-sdk/cli 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -8
- package/admin/cli/commands/app-level-requirement.js +0 -2
- package/admin/cli/commands/app-level.js +0 -2
- package/admin/cli/commands/app-permission.js +0 -2
- package/admin/cli/commands/invite.js +0 -2
- package/admin/cli/commands/membership-type.js +0 -3
- package/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/admin/cli/commands/org-chart-edge.js +0 -2
- package/admin/cli/commands/org-invite.js +0 -2
- package/admin/cli/commands/org-permission.js +0 -2
- package/admin/orm/input-types.d.ts +33 -127
- package/auth/cli/commands/audit-log.js +0 -2
- package/auth/cli/commands/connected-account.js +0 -3
- package/auth/cli/commands/crypto-address.js +0 -2
- package/auth/cli/commands/phone-number.js +0 -3
- package/auth/cli/commands.js +7 -7
- package/auth/cli/executor.d.ts +3 -3
- package/auth/orm/index.d.ts +6 -6
- package/auth/orm/index.js +6 -6
- package/auth/orm/input-types.d.ts +279 -327
- package/auth/orm/input-types.js +9 -1
- package/auth/orm/models/index.d.ts +3 -3
- package/auth/orm/models/index.js +7 -7
- package/esm/admin/cli/commands/app-level-requirement.js +0 -2
- package/esm/admin/cli/commands/app-level.js +0 -2
- package/esm/admin/cli/commands/app-permission.js +0 -2
- package/esm/admin/cli/commands/invite.js +0 -2
- package/esm/admin/cli/commands/membership-type.js +0 -3
- package/esm/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/admin/cli/commands/org-chart-edge.js +0 -2
- package/esm/admin/cli/commands/org-invite.js +0 -2
- package/esm/admin/cli/commands/org-permission.js +0 -2
- package/esm/admin/orm/input-types.d.ts +33 -127
- package/esm/auth/cli/commands/audit-log.js +0 -2
- package/esm/auth/cli/commands/connected-account.js +0 -3
- package/esm/auth/cli/commands/crypto-address.js +0 -2
- package/esm/auth/cli/commands/phone-number.js +0 -3
- package/esm/auth/cli/commands.js +7 -7
- package/esm/auth/cli/executor.d.ts +3 -3
- package/esm/auth/orm/index.d.ts +6 -6
- package/esm/auth/orm/index.js +6 -6
- package/esm/auth/orm/input-types.d.ts +279 -327
- package/esm/auth/orm/input-types.js +9 -1
- package/esm/auth/orm/models/index.d.ts +3 -3
- package/esm/auth/orm/models/index.js +3 -3
- package/esm/index.d.ts +3 -3
- package/esm/index.js +3 -3
- package/esm/objects/cli/commands/commit.js +0 -2
- package/esm/objects/cli/commands/ref.js +0 -2
- package/esm/objects/cli/commands/store.js +0 -2
- package/esm/objects/orm/input-types.d.ts +17 -48
- package/esm/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/accept-database-transfer.js +34 -0
- package/esm/public/cli/commands/api-module.js +0 -2
- package/esm/public/cli/commands/api.js +0 -5
- package/esm/public/cli/commands/app-level-requirement.js +0 -2
- package/esm/public/cli/commands/app-level.js +0 -2
- package/esm/public/cli/commands/app-permission.js +0 -2
- package/esm/public/cli/commands/app.js +0 -4
- package/esm/public/cli/commands/ast-migration.js +0 -2
- package/esm/public/cli/commands/audit-log.js +0 -2
- package/esm/public/cli/commands/blueprint-template.d.ts +8 -0
- package/esm/public/cli/commands/blueprint-template.js +549 -0
- package/esm/public/cli/commands/{uuid-module.d.ts → blueprint.d.ts} +1 -1
- package/esm/public/cli/commands/blueprint.js +484 -0
- package/esm/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/cancel-database-transfer.js +34 -0
- package/esm/public/cli/commands/check-constraint.js +0 -4
- package/esm/public/cli/commands/commit.js +0 -2
- package/esm/public/cli/commands/connected-account.js +0 -3
- package/esm/public/cli/commands/connected-accounts-module.js +0 -2
- package/esm/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/construct-blueprint.js +34 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.js +34 -0
- package/esm/public/cli/commands/crypto-address.js +0 -2
- package/esm/public/cli/commands/crypto-addresses-module.js +0 -3
- package/esm/public/cli/commands/crypto-auth-module.js +0 -7
- package/esm/public/cli/commands/database-provision-module.js +0 -6
- package/esm/public/cli/commands/database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/database-transfer.js +425 -0
- package/esm/public/cli/commands/database.js +0 -4
- package/esm/public/cli/commands/default-privilege.js +0 -4
- package/esm/public/cli/commands/denormalized-table-field.js +0 -2
- package/esm/public/cli/commands/emails-module.js +0 -2
- package/esm/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/esm/public/cli/commands/embedding-chunk.js +513 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/{public/cli/commands/uuid-module.d.ts → esm/public/cli/commands/enum.d.ts} +1 -1
- package/esm/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/esm/public/cli/commands/field-module.js +0 -2
- package/esm/public/cli/commands/field.js +21 -7
- package/esm/public/cli/commands/foreign-key-constraint.js +0 -7
- package/esm/public/cli/commands/hierarchy-module.js +0 -11
- package/esm/public/cli/commands/index.js +0 -4
- package/esm/public/cli/commands/invite.js +0 -2
- package/esm/public/cli/commands/invites-module.js +0 -5
- package/esm/public/cli/commands/levels-module.js +0 -16
- package/esm/public/cli/commands/limits-module.js +0 -10
- package/esm/public/cli/commands/membership-type.js +0 -3
- package/esm/public/cli/commands/membership-types-module.js +0 -2
- package/esm/public/cli/commands/memberships-module.js +0 -13
- package/esm/public/cli/commands/node-type-registry.js +0 -6
- package/esm/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/public/cli/commands/org-chart-edge.js +0 -2
- package/esm/public/cli/commands/org-invite.js +0 -2
- package/esm/public/cli/commands/org-permission.js +0 -2
- package/esm/public/cli/commands/permissions-module.js +0 -8
- package/esm/public/cli/commands/phone-number.js +0 -3
- package/esm/public/cli/commands/phone-numbers-module.js +0 -2
- package/esm/public/cli/commands/policy.js +0 -6
- package/esm/public/cli/commands/primary-key-constraint.js +0 -4
- package/esm/public/cli/commands/profiles-module.js +0 -6
- package/esm/public/cli/commands/ref.js +0 -2
- package/esm/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/reject-database-transfer.js +34 -0
- package/esm/public/cli/commands/relation-provision.js +63 -11
- package/esm/public/cli/commands/rls-module.js +0 -5
- package/esm/public/cli/commands/schema-grant.js +0 -2
- package/esm/public/cli/commands/schema.js +0 -6
- package/esm/public/cli/commands/secrets-module.js +0 -2
- package/esm/public/cli/commands/secure-table-provision.js +0 -6
- package/esm/public/cli/commands/sessions-module.js +0 -4
- package/esm/public/cli/commands/site-metadatum.js +0 -3
- package/esm/public/cli/commands/site-module.js +0 -2
- package/esm/public/cli/commands/site.js +0 -4
- package/esm/public/cli/commands/sql-migration.js +0 -7
- package/esm/public/cli/commands/store.js +0 -2
- package/esm/public/cli/commands/table-grant.js +0 -3
- package/esm/public/cli/commands/table-template-module.js +0 -3
- package/esm/public/cli/commands/table.js +0 -7
- package/esm/public/cli/commands/trigger-function.js +0 -3
- package/esm/public/cli/commands/trigger.js +0 -5
- package/esm/public/cli/commands/unique-constraint.js +0 -5
- package/esm/public/cli/commands/user-auth-module.js +0 -17
- package/esm/public/cli/commands/users-module.js +0 -3
- package/esm/public/cli/commands/view-grant.js +0 -3
- package/esm/public/cli/commands/view-rule.js +0 -4
- package/esm/public/cli/commands/view.js +0 -5
- package/esm/public/cli/commands.js +53 -35
- package/esm/public/cli/executor.d.ts +68 -39
- package/esm/public/orm/index.d.ts +81 -48
- package/esm/public/orm/index.js +26 -18
- package/esm/public/orm/input-types.d.ts +2447 -2980
- package/esm/public/orm/input-types.js +26 -1
- package/esm/public/orm/models/blueprint.d.ts +56 -0
- package/esm/public/orm/models/blueprint.js +94 -0
- package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/esm/public/orm/models/blueprintTemplate.js +94 -0
- package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
- package/esm/public/orm/models/databaseTransfer.js +94 -0
- package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
- package/esm/public/orm/models/embeddingChunk.js +94 -0
- package/esm/public/orm/models/enum.d.ts +56 -0
- package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
- package/esm/public/orm/models/index.d.ts +13 -9
- package/esm/public/orm/models/index.js +13 -9
- package/esm/public/orm/mutation/index.d.ts +98 -50
- package/esm/public/orm/mutation/index.js +126 -66
- package/index.d.ts +3 -3
- package/index.js +8 -8
- package/objects/cli/commands/commit.js +0 -2
- package/objects/cli/commands/ref.js +0 -2
- package/objects/cli/commands/store.js +0 -2
- package/objects/orm/input-types.d.ts +17 -48
- package/package.json +2 -2
- package/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/public/cli/commands/accept-database-transfer.js +36 -0
- package/public/cli/commands/api-module.js +0 -2
- package/public/cli/commands/api.js +0 -5
- package/public/cli/commands/app-level-requirement.js +0 -2
- package/public/cli/commands/app-level.js +0 -2
- package/public/cli/commands/app-permission.js +0 -2
- package/public/cli/commands/app.js +0 -4
- package/public/cli/commands/ast-migration.js +0 -2
- package/public/cli/commands/audit-log.js +0 -2
- package/public/cli/commands/blueprint-template.d.ts +8 -0
- package/public/cli/commands/blueprint-template.js +551 -0
- package/public/cli/commands/blueprint.d.ts +8 -0
- package/public/cli/commands/blueprint.js +486 -0
- package/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/public/cli/commands/cancel-database-transfer.js +36 -0
- package/public/cli/commands/check-constraint.js +0 -4
- package/public/cli/commands/commit.js +0 -2
- package/public/cli/commands/connected-account.js +0 -3
- package/public/cli/commands/connected-accounts-module.js +0 -2
- package/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/public/cli/commands/construct-blueprint.js +36 -0
- package/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/public/cli/commands/copy-template-to-blueprint.js +36 -0
- package/public/cli/commands/crypto-address.js +0 -2
- package/public/cli/commands/crypto-addresses-module.js +0 -3
- package/public/cli/commands/crypto-auth-module.js +0 -7
- package/public/cli/commands/database-provision-module.js +0 -6
- package/public/cli/commands/database-transfer.d.ts +8 -0
- package/public/cli/commands/database-transfer.js +427 -0
- package/public/cli/commands/database.js +0 -4
- package/public/cli/commands/default-privilege.js +0 -4
- package/public/cli/commands/denormalized-table-field.js +0 -2
- package/public/cli/commands/emails-module.js +0 -2
- package/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/public/cli/commands/embedding-chunk.js +515 -0
- package/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/public/cli/commands/enum.d.ts +8 -0
- package/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/public/cli/commands/field-module.js +0 -2
- package/public/cli/commands/field.js +21 -7
- package/public/cli/commands/foreign-key-constraint.js +0 -7
- package/public/cli/commands/hierarchy-module.js +0 -11
- package/public/cli/commands/index.js +0 -4
- package/public/cli/commands/invite.js +0 -2
- package/public/cli/commands/invites-module.js +0 -5
- package/public/cli/commands/levels-module.js +0 -16
- package/public/cli/commands/limits-module.js +0 -10
- package/public/cli/commands/membership-type.js +0 -3
- package/public/cli/commands/membership-types-module.js +0 -2
- package/public/cli/commands/memberships-module.js +0 -13
- package/public/cli/commands/node-type-registry.js +0 -6
- package/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/public/cli/commands/org-chart-edge.js +0 -2
- package/public/cli/commands/org-invite.js +0 -2
- package/public/cli/commands/org-permission.js +0 -2
- package/public/cli/commands/permissions-module.js +0 -8
- package/public/cli/commands/phone-number.js +0 -3
- package/public/cli/commands/phone-numbers-module.js +0 -2
- package/public/cli/commands/policy.js +0 -6
- package/public/cli/commands/primary-key-constraint.js +0 -4
- package/public/cli/commands/profiles-module.js +0 -6
- package/public/cli/commands/ref.js +0 -2
- package/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/public/cli/commands/reject-database-transfer.js +36 -0
- package/public/cli/commands/relation-provision.js +63 -11
- package/public/cli/commands/rls-module.js +0 -5
- package/public/cli/commands/schema-grant.js +0 -2
- package/public/cli/commands/schema.js +0 -6
- package/public/cli/commands/secrets-module.js +0 -2
- package/public/cli/commands/secure-table-provision.js +0 -6
- package/public/cli/commands/sessions-module.js +0 -4
- package/public/cli/commands/site-metadatum.js +0 -3
- package/public/cli/commands/site-module.js +0 -2
- package/public/cli/commands/site.js +0 -4
- package/public/cli/commands/sql-migration.js +0 -7
- package/public/cli/commands/store.js +0 -2
- package/public/cli/commands/table-grant.js +0 -3
- package/public/cli/commands/table-template-module.js +0 -3
- package/public/cli/commands/table.js +0 -7
- package/public/cli/commands/trigger-function.js +0 -3
- package/public/cli/commands/trigger.js +0 -5
- package/public/cli/commands/unique-constraint.js +0 -5
- package/public/cli/commands/user-auth-module.js +0 -17
- package/public/cli/commands/users-module.js +0 -3
- package/public/cli/commands/view-grant.js +0 -3
- package/public/cli/commands/view-rule.js +0 -4
- package/public/cli/commands/view.js +0 -5
- package/public/cli/commands.js +53 -35
- package/public/cli/executor.d.ts +68 -39
- package/public/orm/index.d.ts +81 -48
- package/public/orm/index.js +26 -18
- package/public/orm/input-types.d.ts +2447 -2980
- package/public/orm/input-types.js +26 -1
- package/public/orm/models/blueprint.d.ts +56 -0
- package/public/orm/models/blueprint.js +98 -0
- package/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/public/orm/models/blueprintTemplate.js +98 -0
- package/public/orm/models/databaseTransfer.d.ts +56 -0
- package/public/orm/models/databaseTransfer.js +98 -0
- package/public/orm/models/embeddingChunk.d.ts +56 -0
- package/public/orm/models/embeddingChunk.js +98 -0
- package/public/orm/models/enum.d.ts +56 -0
- package/public/orm/models/{uuidModule.js → enum.js} +25 -25
- package/public/orm/models/index.d.ts +13 -9
- package/public/orm/models/index.js +29 -21
- package/public/orm/mutation/index.d.ts +98 -50
- package/public/orm/mutation/index.js +126 -66
- package/esm/public/orm/models/uuidModule.d.ts +0 -56
- package/public/orm/models/uuidModule.d.ts +0 -56
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
import { extractFirst } from 'inquirerer';
|
|
7
7
|
import contextCmd from './commands/context';
|
|
8
8
|
import authCmd from './commands/auth';
|
|
9
|
+
import getAllRecordCmd from './commands/get-all-record';
|
|
9
10
|
import orgGetManagersRecordCmd from './commands/org-get-managers-record';
|
|
10
11
|
import orgGetSubordinatesRecordCmd from './commands/org-get-subordinates-record';
|
|
11
|
-
import getAllRecordCmd from './commands/get-all-record';
|
|
12
12
|
import objectCmd from './commands/object';
|
|
13
13
|
import appPermissionCmd from './commands/app-permission';
|
|
14
14
|
import orgPermissionCmd from './commands/org-permission';
|
|
@@ -30,11 +30,13 @@ import viewCmd from './commands/view';
|
|
|
30
30
|
import viewTableCmd from './commands/view-table';
|
|
31
31
|
import viewGrantCmd from './commands/view-grant';
|
|
32
32
|
import viewRuleCmd from './commands/view-rule';
|
|
33
|
+
import embeddingChunkCmd from './commands/embedding-chunk';
|
|
33
34
|
import tableTemplateModuleCmd from './commands/table-template-module';
|
|
34
35
|
import secureTableProvisionCmd from './commands/secure-table-provision';
|
|
35
36
|
import relationProvisionCmd from './commands/relation-provision';
|
|
36
37
|
import schemaGrantCmd from './commands/schema-grant';
|
|
37
38
|
import defaultPrivilegeCmd from './commands/default-privilege';
|
|
39
|
+
import enumCmd from './commands/enum';
|
|
38
40
|
import apiSchemaCmd from './commands/api-schema';
|
|
39
41
|
import apiModuleCmd from './commands/api-module';
|
|
40
42
|
import domainCmd from './commands/domain';
|
|
@@ -42,6 +44,7 @@ import siteMetadatumCmd from './commands/site-metadatum';
|
|
|
42
44
|
import siteModuleCmd from './commands/site-module';
|
|
43
45
|
import siteThemeCmd from './commands/site-theme';
|
|
44
46
|
import triggerFunctionCmd from './commands/trigger-function';
|
|
47
|
+
import databaseTransferCmd from './commands/database-transfer';
|
|
45
48
|
import apiCmd from './commands/api';
|
|
46
49
|
import siteCmd from './commands/site';
|
|
47
50
|
import appCmd from './commands/app';
|
|
@@ -65,7 +68,8 @@ import secretsModuleCmd from './commands/secrets-module';
|
|
|
65
68
|
import sessionsModuleCmd from './commands/sessions-module';
|
|
66
69
|
import userAuthModuleCmd from './commands/user-auth-module';
|
|
67
70
|
import usersModuleCmd from './commands/users-module';
|
|
68
|
-
import
|
|
71
|
+
import blueprintCmd from './commands/blueprint';
|
|
72
|
+
import blueprintTemplateCmd from './commands/blueprint-template';
|
|
69
73
|
import databaseProvisionModuleCmd from './commands/database-provision-module';
|
|
70
74
|
import appAdminGrantCmd from './commands/app-admin-grant';
|
|
71
75
|
import appOwnerGrantCmd from './commands/app-owner-grant';
|
|
@@ -77,34 +81,34 @@ import orgOwnerGrantCmd from './commands/org-owner-grant';
|
|
|
77
81
|
import orgGrantCmd from './commands/org-grant';
|
|
78
82
|
import orgChartEdgeCmd from './commands/org-chart-edge';
|
|
79
83
|
import orgChartEdgeGrantCmd from './commands/org-chart-edge-grant';
|
|
84
|
+
import orgPermissionDefaultCmd from './commands/org-permission-default';
|
|
80
85
|
import appLimitCmd from './commands/app-limit';
|
|
81
86
|
import orgLimitCmd from './commands/org-limit';
|
|
82
87
|
import appStepCmd from './commands/app-step';
|
|
83
88
|
import appAchievementCmd from './commands/app-achievement';
|
|
89
|
+
import appLevelCmd from './commands/app-level';
|
|
90
|
+
import emailCmd from './commands/email';
|
|
91
|
+
import phoneNumberCmd from './commands/phone-number';
|
|
92
|
+
import cryptoAddressCmd from './commands/crypto-address';
|
|
93
|
+
import connectedAccountCmd from './commands/connected-account';
|
|
84
94
|
import inviteCmd from './commands/invite';
|
|
85
95
|
import claimedInviteCmd from './commands/claimed-invite';
|
|
86
96
|
import orgInviteCmd from './commands/org-invite';
|
|
87
97
|
import orgClaimedInviteCmd from './commands/org-claimed-invite';
|
|
98
|
+
import auditLogCmd from './commands/audit-log';
|
|
88
99
|
import refCmd from './commands/ref';
|
|
89
100
|
import storeCmd from './commands/store';
|
|
90
101
|
import appPermissionDefaultCmd from './commands/app-permission-default';
|
|
91
|
-
import cryptoAddressCmd from './commands/crypto-address';
|
|
92
102
|
import roleTypeCmd from './commands/role-type';
|
|
93
|
-
import orgPermissionDefaultCmd from './commands/org-permission-default';
|
|
94
|
-
import phoneNumberCmd from './commands/phone-number';
|
|
95
103
|
import appLimitDefaultCmd from './commands/app-limit-default';
|
|
96
104
|
import orgLimitDefaultCmd from './commands/org-limit-default';
|
|
97
|
-
import connectedAccountCmd from './commands/connected-account';
|
|
98
105
|
import nodeTypeRegistryCmd from './commands/node-type-registry';
|
|
99
106
|
import membershipTypeCmd from './commands/membership-type';
|
|
100
107
|
import commitCmd from './commands/commit';
|
|
101
108
|
import appMembershipDefaultCmd from './commands/app-membership-default';
|
|
102
109
|
import rlsModuleCmd from './commands/rls-module';
|
|
103
110
|
import orgMembershipDefaultCmd from './commands/org-membership-default';
|
|
104
|
-
import auditLogCmd from './commands/audit-log';
|
|
105
|
-
import appLevelCmd from './commands/app-level';
|
|
106
111
|
import sqlMigrationCmd from './commands/sql-migration';
|
|
107
|
-
import emailCmd from './commands/email';
|
|
108
112
|
import userCmd from './commands/user';
|
|
109
113
|
import astMigrationCmd from './commands/ast-migration';
|
|
110
114
|
import appMembershipCmd from './commands/app-membership';
|
|
@@ -128,23 +132,28 @@ import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask';
|
|
|
128
132
|
import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask';
|
|
129
133
|
import stepsRequiredCmd from './commands/steps-required';
|
|
130
134
|
import currentUserCmd from './commands/current-user';
|
|
131
|
-
import signOutCmd from './commands/sign-out';
|
|
132
135
|
import sendAccountDeletionEmailCmd from './commands/send-account-deletion-email';
|
|
133
|
-
import
|
|
136
|
+
import signOutCmd from './commands/sign-out';
|
|
137
|
+
import acceptDatabaseTransferCmd from './commands/accept-database-transfer';
|
|
138
|
+
import cancelDatabaseTransferCmd from './commands/cancel-database-transfer';
|
|
139
|
+
import rejectDatabaseTransferCmd from './commands/reject-database-transfer';
|
|
134
140
|
import submitInviteCodeCmd from './commands/submit-invite-code';
|
|
135
141
|
import submitOrgInviteCodeCmd from './commands/submit-org-invite-code';
|
|
136
|
-
import
|
|
137
|
-
import initEmptyRepoCmd from './commands/init-empty-repo';
|
|
142
|
+
import checkPasswordCmd from './commands/check-password';
|
|
138
143
|
import confirmDeleteAccountCmd from './commands/confirm-delete-account';
|
|
139
144
|
import setPasswordCmd from './commands/set-password';
|
|
140
145
|
import verifyEmailCmd from './commands/verify-email';
|
|
141
|
-
import
|
|
146
|
+
import freezeObjectsCmd from './commands/freeze-objects';
|
|
147
|
+
import initEmptyRepoCmd from './commands/init-empty-repo';
|
|
148
|
+
import constructBlueprintCmd from './commands/construct-blueprint';
|
|
142
149
|
import resetPasswordCmd from './commands/reset-password';
|
|
143
|
-
import
|
|
144
|
-
import setFieldOrderCmd from './commands/set-field-order';
|
|
150
|
+
import removeNodeAtPathCmd from './commands/remove-node-at-path';
|
|
145
151
|
import setDataAtPathCmd from './commands/set-data-at-path';
|
|
146
152
|
import setPropsAndCommitCmd from './commands/set-props-and-commit';
|
|
153
|
+
import copyTemplateToBlueprintCmd from './commands/copy-template-to-blueprint';
|
|
147
154
|
import provisionDatabaseWithUserCmd from './commands/provision-database-with-user';
|
|
155
|
+
import bootstrapUserCmd from './commands/bootstrap-user';
|
|
156
|
+
import setFieldOrderCmd from './commands/set-field-order';
|
|
148
157
|
import insertNodeAtPathCmd from './commands/insert-node-at-path';
|
|
149
158
|
import updateNodeAtPathCmd from './commands/update-node-at-path';
|
|
150
159
|
import setAndCommitCmd from './commands/set-and-commit';
|
|
@@ -155,16 +164,16 @@ import extendTokenExpiresCmd from './commands/extend-token-expires';
|
|
|
155
164
|
import signInCmd from './commands/sign-in';
|
|
156
165
|
import signUpCmd from './commands/sign-up';
|
|
157
166
|
import oneTimeTokenCmd from './commands/one-time-token';
|
|
158
|
-
import forgotPasswordCmd from './commands/forgot-password';
|
|
159
167
|
import sendVerificationEmailCmd from './commands/send-verification-email';
|
|
168
|
+
import forgotPasswordCmd from './commands/forgot-password';
|
|
160
169
|
import verifyPasswordCmd from './commands/verify-password';
|
|
161
170
|
import verifyTotpCmd from './commands/verify-totp';
|
|
162
171
|
const createCommandMap = () => ({
|
|
163
172
|
context: contextCmd,
|
|
164
173
|
auth: authCmd,
|
|
174
|
+
'get-all-record': getAllRecordCmd,
|
|
165
175
|
'org-get-managers-record': orgGetManagersRecordCmd,
|
|
166
176
|
'org-get-subordinates-record': orgGetSubordinatesRecordCmd,
|
|
167
|
-
'get-all-record': getAllRecordCmd,
|
|
168
177
|
object: objectCmd,
|
|
169
178
|
'app-permission': appPermissionCmd,
|
|
170
179
|
'org-permission': orgPermissionCmd,
|
|
@@ -186,11 +195,13 @@ const createCommandMap = () => ({
|
|
|
186
195
|
'view-table': viewTableCmd,
|
|
187
196
|
'view-grant': viewGrantCmd,
|
|
188
197
|
'view-rule': viewRuleCmd,
|
|
198
|
+
'embedding-chunk': embeddingChunkCmd,
|
|
189
199
|
'table-template-module': tableTemplateModuleCmd,
|
|
190
200
|
'secure-table-provision': secureTableProvisionCmd,
|
|
191
201
|
'relation-provision': relationProvisionCmd,
|
|
192
202
|
'schema-grant': schemaGrantCmd,
|
|
193
203
|
'default-privilege': defaultPrivilegeCmd,
|
|
204
|
+
enum: enumCmd,
|
|
194
205
|
'api-schema': apiSchemaCmd,
|
|
195
206
|
'api-module': apiModuleCmd,
|
|
196
207
|
domain: domainCmd,
|
|
@@ -198,6 +209,7 @@ const createCommandMap = () => ({
|
|
|
198
209
|
'site-module': siteModuleCmd,
|
|
199
210
|
'site-theme': siteThemeCmd,
|
|
200
211
|
'trigger-function': triggerFunctionCmd,
|
|
212
|
+
'database-transfer': databaseTransferCmd,
|
|
201
213
|
api: apiCmd,
|
|
202
214
|
site: siteCmd,
|
|
203
215
|
app: appCmd,
|
|
@@ -221,7 +233,8 @@ const createCommandMap = () => ({
|
|
|
221
233
|
'sessions-module': sessionsModuleCmd,
|
|
222
234
|
'user-auth-module': userAuthModuleCmd,
|
|
223
235
|
'users-module': usersModuleCmd,
|
|
224
|
-
|
|
236
|
+
blueprint: blueprintCmd,
|
|
237
|
+
'blueprint-template': blueprintTemplateCmd,
|
|
225
238
|
'database-provision-module': databaseProvisionModuleCmd,
|
|
226
239
|
'app-admin-grant': appAdminGrantCmd,
|
|
227
240
|
'app-owner-grant': appOwnerGrantCmd,
|
|
@@ -233,34 +246,34 @@ const createCommandMap = () => ({
|
|
|
233
246
|
'org-grant': orgGrantCmd,
|
|
234
247
|
'org-chart-edge': orgChartEdgeCmd,
|
|
235
248
|
'org-chart-edge-grant': orgChartEdgeGrantCmd,
|
|
249
|
+
'org-permission-default': orgPermissionDefaultCmd,
|
|
236
250
|
'app-limit': appLimitCmd,
|
|
237
251
|
'org-limit': orgLimitCmd,
|
|
238
252
|
'app-step': appStepCmd,
|
|
239
253
|
'app-achievement': appAchievementCmd,
|
|
254
|
+
'app-level': appLevelCmd,
|
|
255
|
+
email: emailCmd,
|
|
256
|
+
'phone-number': phoneNumberCmd,
|
|
257
|
+
'crypto-address': cryptoAddressCmd,
|
|
258
|
+
'connected-account': connectedAccountCmd,
|
|
240
259
|
invite: inviteCmd,
|
|
241
260
|
'claimed-invite': claimedInviteCmd,
|
|
242
261
|
'org-invite': orgInviteCmd,
|
|
243
262
|
'org-claimed-invite': orgClaimedInviteCmd,
|
|
263
|
+
'audit-log': auditLogCmd,
|
|
244
264
|
ref: refCmd,
|
|
245
265
|
store: storeCmd,
|
|
246
266
|
'app-permission-default': appPermissionDefaultCmd,
|
|
247
|
-
'crypto-address': cryptoAddressCmd,
|
|
248
267
|
'role-type': roleTypeCmd,
|
|
249
|
-
'org-permission-default': orgPermissionDefaultCmd,
|
|
250
|
-
'phone-number': phoneNumberCmd,
|
|
251
268
|
'app-limit-default': appLimitDefaultCmd,
|
|
252
269
|
'org-limit-default': orgLimitDefaultCmd,
|
|
253
|
-
'connected-account': connectedAccountCmd,
|
|
254
270
|
'node-type-registry': nodeTypeRegistryCmd,
|
|
255
271
|
'membership-type': membershipTypeCmd,
|
|
256
272
|
commit: commitCmd,
|
|
257
273
|
'app-membership-default': appMembershipDefaultCmd,
|
|
258
274
|
'rls-module': rlsModuleCmd,
|
|
259
275
|
'org-membership-default': orgMembershipDefaultCmd,
|
|
260
|
-
'audit-log': auditLogCmd,
|
|
261
|
-
'app-level': appLevelCmd,
|
|
262
276
|
'sql-migration': sqlMigrationCmd,
|
|
263
|
-
email: emailCmd,
|
|
264
277
|
user: userCmd,
|
|
265
278
|
'ast-migration': astMigrationCmd,
|
|
266
279
|
'app-membership': appMembershipCmd,
|
|
@@ -284,23 +297,28 @@ const createCommandMap = () => ({
|
|
|
284
297
|
'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd,
|
|
285
298
|
'steps-required': stepsRequiredCmd,
|
|
286
299
|
'current-user': currentUserCmd,
|
|
287
|
-
'sign-out': signOutCmd,
|
|
288
300
|
'send-account-deletion-email': sendAccountDeletionEmailCmd,
|
|
289
|
-
'
|
|
301
|
+
'sign-out': signOutCmd,
|
|
302
|
+
'accept-database-transfer': acceptDatabaseTransferCmd,
|
|
303
|
+
'cancel-database-transfer': cancelDatabaseTransferCmd,
|
|
304
|
+
'reject-database-transfer': rejectDatabaseTransferCmd,
|
|
290
305
|
'submit-invite-code': submitInviteCodeCmd,
|
|
291
306
|
'submit-org-invite-code': submitOrgInviteCodeCmd,
|
|
292
|
-
'
|
|
293
|
-
'init-empty-repo': initEmptyRepoCmd,
|
|
307
|
+
'check-password': checkPasswordCmd,
|
|
294
308
|
'confirm-delete-account': confirmDeleteAccountCmd,
|
|
295
309
|
'set-password': setPasswordCmd,
|
|
296
310
|
'verify-email': verifyEmailCmd,
|
|
297
|
-
'
|
|
311
|
+
'freeze-objects': freezeObjectsCmd,
|
|
312
|
+
'init-empty-repo': initEmptyRepoCmd,
|
|
313
|
+
'construct-blueprint': constructBlueprintCmd,
|
|
298
314
|
'reset-password': resetPasswordCmd,
|
|
299
|
-
'
|
|
300
|
-
'set-field-order': setFieldOrderCmd,
|
|
315
|
+
'remove-node-at-path': removeNodeAtPathCmd,
|
|
301
316
|
'set-data-at-path': setDataAtPathCmd,
|
|
302
317
|
'set-props-and-commit': setPropsAndCommitCmd,
|
|
318
|
+
'copy-template-to-blueprint': copyTemplateToBlueprintCmd,
|
|
303
319
|
'provision-database-with-user': provisionDatabaseWithUserCmd,
|
|
320
|
+
'bootstrap-user': bootstrapUserCmd,
|
|
321
|
+
'set-field-order': setFieldOrderCmd,
|
|
304
322
|
'insert-node-at-path': insertNodeAtPathCmd,
|
|
305
323
|
'update-node-at-path': updateNodeAtPathCmd,
|
|
306
324
|
'set-and-commit': setAndCommitCmd,
|
|
@@ -311,12 +329,12 @@ const createCommandMap = () => ({
|
|
|
311
329
|
'sign-in': signInCmd,
|
|
312
330
|
'sign-up': signUpCmd,
|
|
313
331
|
'one-time-token': oneTimeTokenCmd,
|
|
314
|
-
'forgot-password': forgotPasswordCmd,
|
|
315
332
|
'send-verification-email': sendVerificationEmailCmd,
|
|
333
|
+
'forgot-password': forgotPasswordCmd,
|
|
316
334
|
'verify-password': verifyPasswordCmd,
|
|
317
335
|
'verify-totp': verifyTotpCmd,
|
|
318
336
|
});
|
|
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";
|
|
337
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n get-all-record getAllRecord CRUD operations\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord 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 embedding-chunk embeddingChunk 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 enum enum 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 database-transfer databaseTransfer 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 blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate 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 org-permission-default orgPermissionDefault 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 app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n connected-account connectedAccount 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 audit-log auditLog CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n role-type roleType CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault 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 sql-migration sqlMigration 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 send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n submit-invite-code submitInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a draft blueprint definition. Four phases: (1) create tables with nodes[], fields, and policies[], (2) create relations between tables, (3) create indexes on table fields (supports BTREE, HNSW, GIN, GIST, BM25, etc.), (4) create full-text search configurations with weighted multi-field TSVector support. nodes[] entries can be strings or {$type, data} objects. Relations use $type for relation_type with junction config in data. Indexes reference table_ref + column name(s) and are resolved to field_ids. Full-text searches reference table_ref + tsvector field + source fields with weights/langs. Builds a ref_map of local ref names to created table UUIDs. Updates blueprint status to constructed (or failed with error_details). Returns the ref_map.\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-database-with-user provisionDatabaseWithUser\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\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 send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n verify-password verifyPassword\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
320
338
|
export const commands = async (argv, prompter, options) => {
|
|
321
339
|
if (argv.help || argv.h) {
|
|
322
340
|
console.log(usage);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const getStore: () => import("appstash").ConfigStore;
|
|
2
2
|
export declare function getClient(contextName?: string): {
|
|
3
|
+
getAllRecord: import("..").GetAllRecordModel;
|
|
3
4
|
orgGetManagersRecord: import("..").OrgGetManagersRecordModel;
|
|
4
5
|
orgGetSubordinatesRecord: import("..").OrgGetSubordinatesRecordModel;
|
|
5
|
-
getAllRecord: import("..").GetAllRecordModel;
|
|
6
6
|
object: import("..").ObjectModel;
|
|
7
7
|
appPermission: import("..").AppPermissionModel;
|
|
8
8
|
orgPermission: import("..").OrgPermissionModel;
|
|
@@ -24,11 +24,13 @@ export declare function getClient(contextName?: string): {
|
|
|
24
24
|
viewTable: import("..").ViewTableModel;
|
|
25
25
|
viewGrant: import("..").ViewGrantModel;
|
|
26
26
|
viewRule: import("..").ViewRuleModel;
|
|
27
|
+
embeddingChunk: import("..").EmbeddingChunkModel;
|
|
27
28
|
tableTemplateModule: import("..").TableTemplateModuleModel;
|
|
28
29
|
secureTableProvision: import("..").SecureTableProvisionModel;
|
|
29
30
|
relationProvision: import("..").RelationProvisionModel;
|
|
30
31
|
schemaGrant: import("..").SchemaGrantModel;
|
|
31
32
|
defaultPrivilege: import("..").DefaultPrivilegeModel;
|
|
33
|
+
enum: import("..").EnumModel;
|
|
32
34
|
apiSchema: import("..").ApiSchemaModel;
|
|
33
35
|
apiModule: import("..").ApiModuleModel;
|
|
34
36
|
domain: import("..").DomainModel;
|
|
@@ -36,6 +38,7 @@ export declare function getClient(contextName?: string): {
|
|
|
36
38
|
siteModule: import("..").SiteModuleModel;
|
|
37
39
|
siteTheme: import("..").SiteThemeModel;
|
|
38
40
|
triggerFunction: import("..").TriggerFunctionModel;
|
|
41
|
+
databaseTransfer: import("..").DatabaseTransferModel;
|
|
39
42
|
api: import("..").ApiModel;
|
|
40
43
|
site: import("..").SiteModel;
|
|
41
44
|
app: import("..").AppModel;
|
|
@@ -59,7 +62,8 @@ export declare function getClient(contextName?: string): {
|
|
|
59
62
|
sessionsModule: import("..").SessionsModuleModel;
|
|
60
63
|
userAuthModule: import("..").UserAuthModuleModel;
|
|
61
64
|
usersModule: import("..").UsersModuleModel;
|
|
62
|
-
|
|
65
|
+
blueprint: import("..").BlueprintModel;
|
|
66
|
+
blueprintTemplate: import("..").BlueprintTemplateModel;
|
|
63
67
|
databaseProvisionModule: import("..").DatabaseProvisionModuleModel;
|
|
64
68
|
appAdminGrant: import("..").AppAdminGrantModel;
|
|
65
69
|
appOwnerGrant: import("..").AppOwnerGrantModel;
|
|
@@ -71,34 +75,34 @@ export declare function getClient(contextName?: string): {
|
|
|
71
75
|
orgGrant: import("..").OrgGrantModel;
|
|
72
76
|
orgChartEdge: import("..").OrgChartEdgeModel;
|
|
73
77
|
orgChartEdgeGrant: import("..").OrgChartEdgeGrantModel;
|
|
78
|
+
orgPermissionDefault: import("..").OrgPermissionDefaultModel;
|
|
74
79
|
appLimit: import("..").AppLimitModel;
|
|
75
80
|
orgLimit: import("..").OrgLimitModel;
|
|
76
81
|
appStep: import("..").AppStepModel;
|
|
77
82
|
appAchievement: import("..").AppAchievementModel;
|
|
83
|
+
appLevel: import("..").AppLevelModel;
|
|
84
|
+
email: import("..").EmailModel;
|
|
85
|
+
phoneNumber: import("..").PhoneNumberModel;
|
|
86
|
+
cryptoAddress: import("..").CryptoAddressModel;
|
|
87
|
+
connectedAccount: import("..").ConnectedAccountModel;
|
|
78
88
|
invite: import("..").InviteModel;
|
|
79
89
|
claimedInvite: import("..").ClaimedInviteModel;
|
|
80
90
|
orgInvite: import("..").OrgInviteModel;
|
|
81
91
|
orgClaimedInvite: import("..").OrgClaimedInviteModel;
|
|
92
|
+
auditLog: import("..").AuditLogModel;
|
|
82
93
|
ref: import("..").RefModel;
|
|
83
94
|
store: import("..").StoreModel;
|
|
84
95
|
appPermissionDefault: import("..").AppPermissionDefaultModel;
|
|
85
|
-
cryptoAddress: import("..").CryptoAddressModel;
|
|
86
96
|
roleType: import("..").RoleTypeModel;
|
|
87
|
-
orgPermissionDefault: import("..").OrgPermissionDefaultModel;
|
|
88
|
-
phoneNumber: import("..").PhoneNumberModel;
|
|
89
97
|
appLimitDefault: import("..").AppLimitDefaultModel;
|
|
90
98
|
orgLimitDefault: import("..").OrgLimitDefaultModel;
|
|
91
|
-
connectedAccount: import("..").ConnectedAccountModel;
|
|
92
99
|
nodeTypeRegistry: import("..").NodeTypeRegistryModel;
|
|
93
100
|
membershipType: import("..").MembershipTypeModel;
|
|
94
101
|
commit: import("..").CommitModel;
|
|
95
102
|
appMembershipDefault: import("..").AppMembershipDefaultModel;
|
|
96
103
|
rlsModule: import("..").RlsModuleModel;
|
|
97
104
|
orgMembershipDefault: import("..").OrgMembershipDefaultModel;
|
|
98
|
-
auditLog: import("..").AuditLogModel;
|
|
99
|
-
appLevel: import("..").AppLevelModel;
|
|
100
105
|
sqlMigration: import("..").SqlMigrationModel;
|
|
101
|
-
email: import("..").EmailModel;
|
|
102
106
|
user: import("..").UserModel;
|
|
103
107
|
astMigration: import("..").AstMigrationModel;
|
|
104
108
|
appMembership: import("..").AppMembershipModel;
|
|
@@ -201,20 +205,30 @@ export declare function getClient(contextName?: string): {
|
|
|
201
205
|
}>;
|
|
202
206
|
};
|
|
203
207
|
mutation: {
|
|
208
|
+
sendAccountDeletionEmail: <S extends import("../orm/input-types").SendAccountDeletionEmailPayloadSelect>(args: import("../orm/mutation").SendAccountDeletionEmailVariables, options: {
|
|
209
|
+
select: S;
|
|
210
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SendAccountDeletionEmailPayloadSelect>) => import("..").QueryBuilder<{
|
|
211
|
+
sendAccountDeletionEmail: import("..").InferSelectResult<import("../orm/input-types").SendAccountDeletionEmailPayload, S> | null;
|
|
212
|
+
}>;
|
|
204
213
|
signOut: <S extends import("../orm/input-types").SignOutPayloadSelect>(args: import("../orm/mutation").SignOutVariables, options: {
|
|
205
214
|
select: S;
|
|
206
215
|
} & import("..").StrictSelect<S, import("../orm/input-types").SignOutPayloadSelect>) => import("..").QueryBuilder<{
|
|
207
216
|
signOut: import("..").InferSelectResult<import("../orm/input-types").SignOutPayload, S> | null;
|
|
208
217
|
}>;
|
|
209
|
-
|
|
218
|
+
acceptDatabaseTransfer: <S extends import("../orm/input-types").AcceptDatabaseTransferPayloadSelect>(args: import("../orm/mutation").AcceptDatabaseTransferVariables, options: {
|
|
210
219
|
select: S;
|
|
211
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
212
|
-
|
|
220
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").AcceptDatabaseTransferPayloadSelect>) => import("..").QueryBuilder<{
|
|
221
|
+
acceptDatabaseTransfer: import("..").InferSelectResult<import("../orm/input-types").AcceptDatabaseTransferPayload, S> | null;
|
|
213
222
|
}>;
|
|
214
|
-
|
|
223
|
+
cancelDatabaseTransfer: <S extends import("../orm/input-types").CancelDatabaseTransferPayloadSelect>(args: import("../orm/mutation").CancelDatabaseTransferVariables, options: {
|
|
215
224
|
select: S;
|
|
216
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
217
|
-
|
|
225
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").CancelDatabaseTransferPayloadSelect>) => import("..").QueryBuilder<{
|
|
226
|
+
cancelDatabaseTransfer: import("..").InferSelectResult<import("../orm/input-types").CancelDatabaseTransferPayload, S> | null;
|
|
227
|
+
}>;
|
|
228
|
+
rejectDatabaseTransfer: <S extends import("../orm/input-types").RejectDatabaseTransferPayloadSelect>(args: import("../orm/mutation").RejectDatabaseTransferVariables, options: {
|
|
229
|
+
select: S;
|
|
230
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RejectDatabaseTransferPayloadSelect>) => import("..").QueryBuilder<{
|
|
231
|
+
rejectDatabaseTransfer: import("..").InferSelectResult<import("../orm/input-types").RejectDatabaseTransferPayload, S> | null;
|
|
218
232
|
}>;
|
|
219
233
|
submitInviteCode: <S extends import("../orm/input-types").SubmitInviteCodePayloadSelect>(args: import("../orm/mutation").SubmitInviteCodeVariables, options: {
|
|
220
234
|
select: S;
|
|
@@ -226,15 +240,10 @@ export declare function getClient(contextName?: string): {
|
|
|
226
240
|
} & import("..").StrictSelect<S, import("../orm/input-types").SubmitOrgInviteCodePayloadSelect>) => import("..").QueryBuilder<{
|
|
227
241
|
submitOrgInviteCode: import("..").InferSelectResult<import("../orm/input-types").SubmitOrgInviteCodePayload, S> | null;
|
|
228
242
|
}>;
|
|
229
|
-
|
|
230
|
-
select: S;
|
|
231
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").FreezeObjectsPayloadSelect>) => import("..").QueryBuilder<{
|
|
232
|
-
freezeObjects: import("..").InferSelectResult<import("../orm/input-types").FreezeObjectsPayload, S> | null;
|
|
233
|
-
}>;
|
|
234
|
-
initEmptyRepo: <S extends import("../orm/input-types").InitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InitEmptyRepoVariables, options: {
|
|
243
|
+
checkPassword: <S extends import("../orm/input-types").CheckPasswordPayloadSelect>(args: import("../orm/mutation").CheckPasswordVariables, options: {
|
|
235
244
|
select: S;
|
|
236
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
237
|
-
|
|
245
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").CheckPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
246
|
+
checkPassword: import("..").InferSelectResult<import("../orm/input-types").CheckPasswordPayload, S> | null;
|
|
238
247
|
}>;
|
|
239
248
|
confirmDeleteAccount: <S extends import("../orm/input-types").ConfirmDeleteAccountPayloadSelect>(args: import("../orm/mutation").ConfirmDeleteAccountVariables, options: {
|
|
240
249
|
select: S;
|
|
@@ -251,25 +260,30 @@ export declare function getClient(contextName?: string): {
|
|
|
251
260
|
} & import("..").StrictSelect<S, import("../orm/input-types").VerifyEmailPayloadSelect>) => import("..").QueryBuilder<{
|
|
252
261
|
verifyEmail: import("..").InferSelectResult<import("../orm/input-types").VerifyEmailPayload, S> | null;
|
|
253
262
|
}>;
|
|
254
|
-
|
|
263
|
+
freezeObjects: <S extends import("../orm/input-types").FreezeObjectsPayloadSelect>(args: import("../orm/mutation").FreezeObjectsVariables, options: {
|
|
255
264
|
select: S;
|
|
256
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
257
|
-
|
|
265
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").FreezeObjectsPayloadSelect>) => import("..").QueryBuilder<{
|
|
266
|
+
freezeObjects: import("..").InferSelectResult<import("../orm/input-types").FreezeObjectsPayload, S> | null;
|
|
267
|
+
}>;
|
|
268
|
+
initEmptyRepo: <S extends import("../orm/input-types").InitEmptyRepoPayloadSelect>(args: import("../orm/mutation").InitEmptyRepoVariables, options: {
|
|
269
|
+
select: S;
|
|
270
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").InitEmptyRepoPayloadSelect>) => import("..").QueryBuilder<{
|
|
271
|
+
initEmptyRepo: import("..").InferSelectResult<import("../orm/input-types").InitEmptyRepoPayload, S> | null;
|
|
272
|
+
}>;
|
|
273
|
+
constructBlueprint: <S extends import("../orm/input-types").ConstructBlueprintPayloadSelect>(args: import("../orm/mutation").ConstructBlueprintVariables, options: {
|
|
274
|
+
select: S;
|
|
275
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").ConstructBlueprintPayloadSelect>) => import("..").QueryBuilder<{
|
|
276
|
+
constructBlueprint: import("..").InferSelectResult<import("../orm/input-types").ConstructBlueprintPayload, S> | null;
|
|
258
277
|
}>;
|
|
259
278
|
resetPassword: <S extends import("../orm/input-types").ResetPasswordPayloadSelect>(args: import("../orm/mutation").ResetPasswordVariables, options: {
|
|
260
279
|
select: S;
|
|
261
280
|
} & import("..").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
262
281
|
resetPassword: import("..").InferSelectResult<import("../orm/input-types").ResetPasswordPayload, S> | null;
|
|
263
282
|
}>;
|
|
264
|
-
|
|
265
|
-
select: S;
|
|
266
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
267
|
-
bootstrapUser: import("..").InferSelectResult<import("../orm/input-types").BootstrapUserPayload, S> | null;
|
|
268
|
-
}>;
|
|
269
|
-
setFieldOrder: <S extends import("../orm/input-types").SetFieldOrderPayloadSelect>(args: import("../orm/mutation").SetFieldOrderVariables, options: {
|
|
283
|
+
removeNodeAtPath: <S extends import("../orm/input-types").RemoveNodeAtPathPayloadSelect>(args: import("../orm/mutation").RemoveNodeAtPathVariables, options: {
|
|
270
284
|
select: S;
|
|
271
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").
|
|
272
|
-
|
|
285
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").RemoveNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
286
|
+
removeNodeAtPath: import("..").InferSelectResult<import("../orm/input-types").RemoveNodeAtPathPayload, S> | null;
|
|
273
287
|
}>;
|
|
274
288
|
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
275
289
|
select: S;
|
|
@@ -281,11 +295,26 @@ export declare function getClient(contextName?: string): {
|
|
|
281
295
|
} & import("..").StrictSelect<S, import("../orm/input-types").SetPropsAndCommitPayloadSelect>) => import("..").QueryBuilder<{
|
|
282
296
|
setPropsAndCommit: import("..").InferSelectResult<import("../orm/input-types").SetPropsAndCommitPayload, S> | null;
|
|
283
297
|
}>;
|
|
298
|
+
copyTemplateToBlueprint: <S extends import("../orm/input-types").CopyTemplateToBlueprintPayloadSelect>(args: import("../orm/mutation").CopyTemplateToBlueprintVariables, options: {
|
|
299
|
+
select: S;
|
|
300
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").CopyTemplateToBlueprintPayloadSelect>) => import("..").QueryBuilder<{
|
|
301
|
+
copyTemplateToBlueprint: import("..").InferSelectResult<import("../orm/input-types").CopyTemplateToBlueprintPayload, S> | null;
|
|
302
|
+
}>;
|
|
284
303
|
provisionDatabaseWithUser: <S extends import("../orm/input-types").ProvisionDatabaseWithUserPayloadSelect>(args: import("../orm/mutation").ProvisionDatabaseWithUserVariables, options: {
|
|
285
304
|
select: S;
|
|
286
305
|
} & import("..").StrictSelect<S, import("../orm/input-types").ProvisionDatabaseWithUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
287
306
|
provisionDatabaseWithUser: import("..").InferSelectResult<import("../orm/input-types").ProvisionDatabaseWithUserPayload, S> | null;
|
|
288
307
|
}>;
|
|
308
|
+
bootstrapUser: <S extends import("../orm/input-types").BootstrapUserPayloadSelect>(args: import("../orm/mutation").BootstrapUserVariables, options: {
|
|
309
|
+
select: S;
|
|
310
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("..").QueryBuilder<{
|
|
311
|
+
bootstrapUser: import("..").InferSelectResult<import("../orm/input-types").BootstrapUserPayload, S> | null;
|
|
312
|
+
}>;
|
|
313
|
+
setFieldOrder: <S extends import("../orm/input-types").SetFieldOrderPayloadSelect>(args: import("../orm/mutation").SetFieldOrderVariables, options: {
|
|
314
|
+
select: S;
|
|
315
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("..").QueryBuilder<{
|
|
316
|
+
setFieldOrder: import("..").InferSelectResult<import("../orm/input-types").SetFieldOrderPayload, S> | null;
|
|
317
|
+
}>;
|
|
289
318
|
insertNodeAtPath: <S extends import("../orm/input-types").InsertNodeAtPathPayloadSelect>(args: import("../orm/mutation").InsertNodeAtPathVariables, options: {
|
|
290
319
|
select: S;
|
|
291
320
|
} & import("..").StrictSelect<S, import("../orm/input-types").InsertNodeAtPathPayloadSelect>) => import("..").QueryBuilder<{
|
|
@@ -336,16 +365,16 @@ export declare function getClient(contextName?: string): {
|
|
|
336
365
|
} & import("..").StrictSelect<S, import("../orm/input-types").OneTimeTokenPayloadSelect>) => import("..").QueryBuilder<{
|
|
337
366
|
oneTimeToken: import("..").InferSelectResult<import("../orm/input-types").OneTimeTokenPayload, S> | null;
|
|
338
367
|
}>;
|
|
339
|
-
forgotPassword: <S extends import("../orm/input-types").ForgotPasswordPayloadSelect>(args: import("../orm/mutation").ForgotPasswordVariables, options: {
|
|
340
|
-
select: S;
|
|
341
|
-
} & import("..").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
342
|
-
forgotPassword: import("..").InferSelectResult<import("../orm/input-types").ForgotPasswordPayload, S> | null;
|
|
343
|
-
}>;
|
|
344
368
|
sendVerificationEmail: <S extends import("../orm/input-types").SendVerificationEmailPayloadSelect>(args: import("../orm/mutation").SendVerificationEmailVariables, options: {
|
|
345
369
|
select: S;
|
|
346
370
|
} & import("..").StrictSelect<S, import("../orm/input-types").SendVerificationEmailPayloadSelect>) => import("..").QueryBuilder<{
|
|
347
371
|
sendVerificationEmail: import("..").InferSelectResult<import("../orm/input-types").SendVerificationEmailPayload, S> | null;
|
|
348
372
|
}>;
|
|
373
|
+
forgotPassword: <S extends import("../orm/input-types").ForgotPasswordPayloadSelect>(args: import("../orm/mutation").ForgotPasswordVariables, options: {
|
|
374
|
+
select: S;
|
|
375
|
+
} & import("..").StrictSelect<S, import("../orm/input-types").ForgotPasswordPayloadSelect>) => import("..").QueryBuilder<{
|
|
376
|
+
forgotPassword: import("..").InferSelectResult<import("../orm/input-types").ForgotPasswordPayload, S> | null;
|
|
377
|
+
}>;
|
|
349
378
|
verifyPassword: <S extends import("../orm/input-types").VerifyPasswordPayloadSelect>(args: import("../orm/mutation").VerifyPasswordVariables, options: {
|
|
350
379
|
select: S;
|
|
351
380
|
} & import("..").StrictSelect<S, import("../orm/input-types").VerifyPasswordPayloadSelect>) => import("..").QueryBuilder<{
|