@constructive-sdk/cli 0.8.1 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/cli/commands/app-level-requirement.js +2 -0
- package/admin/cli/commands/app-level.js +2 -0
- package/admin/cli/commands/app-permission.js +2 -0
- package/admin/cli/commands/invite.js +2 -0
- package/admin/cli/commands/membership-type.js +3 -0
- package/admin/cli/commands/org-chart-edge-grant.js +2 -0
- package/admin/cli/commands/org-chart-edge.js +2 -0
- package/admin/cli/commands/org-invite.js +2 -0
- package/admin/cli/commands/org-permission.js +2 -0
- package/admin/cli/commands.js +7 -7
- package/admin/cli/executor.d.ts +3 -3
- package/admin/orm/index.d.ts +6 -6
- package/admin/orm/index.js +6 -6
- package/admin/orm/input-types.d.ts +481 -386
- package/admin/orm/models/appAchievement.d.ts +1 -1
- package/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/admin/orm/models/appGrant.d.ts +1 -1
- package/admin/orm/models/appLevel.d.ts +1 -1
- package/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/admin/orm/models/appLimit.d.ts +1 -1
- package/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/admin/orm/models/appMembership.d.ts +1 -1
- package/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/admin/orm/models/appPermission.d.ts +1 -1
- package/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/admin/orm/models/appStep.d.ts +1 -1
- package/admin/orm/models/claimedInvite.d.ts +1 -1
- package/admin/orm/models/index.d.ts +3 -3
- package/admin/orm/models/index.js +7 -7
- package/admin/orm/models/invite.d.ts +1 -1
- package/admin/orm/models/membershipType.d.ts +1 -1
- package/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/admin/orm/models/orgGrant.d.ts +1 -1
- package/admin/orm/models/orgInvite.d.ts +1 -1
- package/admin/orm/models/orgLimit.d.ts +1 -1
- package/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/admin/orm/models/orgMember.d.ts +1 -1
- package/admin/orm/models/orgMembership.d.ts +1 -1
- package/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/admin/orm/models/orgPermission.d.ts +1 -1
- package/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/admin/orm/query-builder.js +0 -2
- package/auth/cli/commands/audit-log.js +2 -0
- package/auth/cli/commands/connected-account.js +3 -0
- package/auth/cli/commands/crypto-address.js +2 -0
- package/auth/cli/commands/phone-number.js +3 -0
- package/auth/cli/commands/user.js +2 -4
- package/auth/cli/commands.js +3 -3
- package/auth/cli/executor.d.ts +1 -1
- package/auth/orm/index.d.ts +2 -2
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +189 -99
- package/auth/orm/models/auditLog.d.ts +1 -1
- package/auth/orm/models/connectedAccount.d.ts +1 -1
- package/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/auth/orm/models/email.d.ts +1 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/phoneNumber.d.ts +1 -1
- package/auth/orm/models/roleType.d.ts +1 -1
- package/auth/orm/models/user.d.ts +1 -1
- package/auth/orm/query-builder.js +0 -2
- package/esm/admin/cli/commands/app-level-requirement.js +2 -0
- package/esm/admin/cli/commands/app-level.js +2 -0
- package/esm/admin/cli/commands/app-permission.js +2 -0
- package/esm/admin/cli/commands/invite.js +2 -0
- package/esm/admin/cli/commands/membership-type.js +3 -0
- package/esm/admin/cli/commands/org-chart-edge-grant.js +2 -0
- package/esm/admin/cli/commands/org-chart-edge.js +2 -0
- package/esm/admin/cli/commands/org-invite.js +2 -0
- package/esm/admin/cli/commands/org-permission.js +2 -0
- package/esm/admin/cli/commands.js +7 -7
- package/esm/admin/cli/executor.d.ts +3 -3
- package/esm/admin/orm/index.d.ts +6 -6
- package/esm/admin/orm/index.js +6 -6
- package/esm/admin/orm/input-types.d.ts +481 -386
- package/esm/admin/orm/models/appAchievement.d.ts +1 -1
- package/esm/admin/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/appGrant.d.ts +1 -1
- package/esm/admin/orm/models/appLevel.d.ts +1 -1
- package/esm/admin/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/admin/orm/models/appLimit.d.ts +1 -1
- package/esm/admin/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/appMembership.d.ts +1 -1
- package/esm/admin/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/appPermission.d.ts +1 -1
- package/esm/admin/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/models/appStep.d.ts +1 -1
- package/esm/admin/orm/models/claimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/index.d.ts +3 -3
- package/esm/admin/orm/models/index.js +3 -3
- package/esm/admin/orm/models/invite.d.ts +1 -1
- package/esm/admin/orm/models/membershipType.d.ts +1 -1
- package/esm/admin/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/admin/orm/models/orgGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgInvite.d.ts +1 -1
- package/esm/admin/orm/models/orgLimit.d.ts +1 -1
- package/esm/admin/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgMember.d.ts +1 -1
- package/esm/admin/orm/models/orgMembership.d.ts +1 -1
- package/esm/admin/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/admin/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/admin/orm/models/orgPermission.d.ts +1 -1
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/admin/orm/query-builder.js +0 -2
- package/esm/auth/cli/commands/audit-log.js +2 -0
- package/esm/auth/cli/commands/connected-account.js +3 -0
- package/esm/auth/cli/commands/crypto-address.js +2 -0
- package/esm/auth/cli/commands/phone-number.js +3 -0
- package/esm/auth/cli/commands/user.js +2 -4
- package/esm/auth/cli/commands.js +3 -3
- package/esm/auth/cli/executor.d.ts +1 -1
- package/esm/auth/orm/index.d.ts +2 -2
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +189 -99
- package/esm/auth/orm/models/auditLog.d.ts +1 -1
- package/esm/auth/orm/models/connectedAccount.d.ts +1 -1
- package/esm/auth/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/auth/orm/models/email.d.ts +1 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/phoneNumber.d.ts +1 -1
- package/esm/auth/orm/models/roleType.d.ts +1 -1
- package/esm/auth/orm/models/user.d.ts +1 -1
- package/esm/auth/orm/query-builder.js +0 -2
- package/esm/objects/cli/commands/commit.js +2 -0
- package/esm/objects/cli/commands/object.js +0 -4
- package/esm/objects/cli/commands/ref.js +2 -0
- package/esm/objects/cli/commands/store.js +2 -0
- package/esm/objects/orm/input-types.d.ts +33 -3
- package/esm/objects/orm/models/commit.d.ts +1 -1
- package/esm/objects/orm/models/getAllRecord.d.ts +1 -1
- package/esm/objects/orm/models/object.d.ts +1 -1
- package/esm/objects/orm/models/ref.d.ts +1 -1
- package/esm/objects/orm/models/store.d.ts +1 -1
- package/esm/objects/orm/query-builder.js +0 -2
- package/esm/public/cli/commands/api-module.js +2 -0
- package/esm/public/cli/commands/api.js +5 -0
- package/esm/public/cli/commands/app-level-requirement.js +2 -0
- package/esm/public/cli/commands/app-level.js +2 -0
- package/esm/public/cli/commands/app-permission.js +2 -0
- package/esm/public/cli/commands/app.js +4 -0
- package/esm/public/cli/commands/ast-migration.js +2 -0
- package/esm/public/cli/commands/audit-log.js +2 -0
- package/esm/public/cli/commands/check-constraint.js +4 -0
- package/esm/public/cli/commands/commit.js +2 -0
- package/esm/public/cli/commands/connected-account.js +3 -0
- package/esm/public/cli/commands/connected-accounts-module.js +2 -0
- package/esm/public/cli/commands/crypto-address.js +2 -0
- package/esm/public/cli/commands/crypto-addresses-module.js +3 -0
- package/esm/public/cli/commands/crypto-auth-module.js +7 -0
- package/esm/public/cli/commands/database-provision-module.js +6 -0
- package/esm/public/cli/commands/database.js +4 -0
- package/esm/public/cli/commands/default-privilege.js +4 -0
- package/esm/public/cli/commands/denormalized-table-field.js +2 -0
- package/esm/public/cli/commands/emails-module.js +2 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +2 -0
- package/esm/public/cli/commands/field-module.js +2 -0
- package/esm/public/cli/commands/field.js +7 -0
- package/esm/public/cli/commands/foreign-key-constraint.js +7 -0
- package/esm/public/cli/commands/hierarchy-module.js +11 -0
- package/esm/public/cli/commands/index.js +46 -0
- package/esm/public/cli/commands/invite.js +2 -0
- package/esm/public/cli/commands/invites-module.js +5 -0
- package/esm/public/cli/commands/levels-module.js +16 -0
- package/esm/public/cli/commands/limits-module.js +10 -0
- package/esm/public/cli/commands/membership-type.js +3 -0
- package/esm/public/cli/commands/membership-types-module.js +2 -0
- package/esm/public/cli/commands/memberships-module.js +13 -0
- package/esm/public/cli/commands/node-type-registry.js +6 -0
- package/esm/public/cli/commands/object.js +0 -4
- package/esm/public/cli/commands/org-chart-edge-grant.js +2 -0
- package/esm/public/cli/commands/org-chart-edge.js +2 -0
- package/esm/public/cli/commands/org-invite.js +2 -0
- package/esm/public/cli/commands/org-permission.js +2 -0
- package/esm/public/cli/commands/permissions-module.js +8 -0
- package/esm/public/cli/commands/phone-number.js +3 -0
- package/esm/public/cli/commands/phone-numbers-module.js +2 -0
- package/esm/public/cli/commands/policy.js +6 -0
- package/esm/public/cli/commands/primary-key-constraint.js +4 -0
- package/esm/public/cli/commands/profiles-module.js +6 -0
- package/esm/public/cli/commands/ref.js +2 -0
- package/esm/public/cli/commands/relation-provision.js +11 -0
- package/esm/public/cli/commands/rls-module.js +5 -21
- package/esm/public/cli/commands/schema-grant.js +2 -0
- package/esm/public/cli/commands/schema.js +6 -0
- package/esm/public/cli/commands/secrets-module.js +2 -0
- package/esm/public/cli/commands/secure-table-provision.js +27 -0
- package/esm/public/cli/commands/sessions-module.js +4 -0
- package/esm/public/cli/commands/site-metadatum.js +3 -0
- package/esm/public/cli/commands/site-module.js +2 -0
- package/esm/public/cli/commands/site.js +4 -0
- package/esm/public/cli/commands/sql-migration.js +7 -0
- package/esm/public/cli/commands/store.js +2 -0
- package/esm/public/cli/commands/table-grant.js +3 -0
- package/esm/public/cli/commands/table-template-module.js +3 -0
- package/esm/public/cli/commands/table.js +7 -0
- package/esm/public/cli/commands/trigger-function.js +3 -0
- package/esm/public/cli/commands/trigger.js +5 -0
- package/esm/public/cli/commands/unique-constraint.js +5 -0
- package/esm/public/cli/commands/user-auth-module.js +17 -0
- package/esm/public/cli/commands/user.js +2 -4
- package/esm/public/cli/commands/users-module.js +3 -0
- package/esm/public/cli/commands/uuid-module.js +3 -0
- package/esm/public/cli/commands/view-grant.js +3 -0
- package/esm/public/cli/commands/view-rule.js +4 -0
- package/esm/public/cli/commands/view.js +5 -0
- package/esm/public/cli/commands.js +15 -17
- package/esm/public/cli/executor.d.ts +11 -12
- package/esm/public/orm/index.d.ts +17 -19
- package/esm/public/orm/index.js +12 -14
- package/esm/public/orm/input-types.d.ts +2363 -927
- package/esm/public/orm/input-types.js +0 -3
- package/esm/public/orm/models/api.d.ts +1 -1
- package/esm/public/orm/models/apiModule.d.ts +1 -1
- package/esm/public/orm/models/apiSchema.d.ts +1 -1
- package/esm/public/orm/models/app.d.ts +1 -1
- package/esm/public/orm/models/appAchievement.d.ts +1 -1
- package/esm/public/orm/models/appAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/appGrant.d.ts +1 -1
- package/esm/public/orm/models/appLevel.d.ts +1 -1
- package/esm/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/esm/public/orm/models/appLimit.d.ts +1 -1
- package/esm/public/orm/models/appLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/appMembership.d.ts +1 -1
- package/esm/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/appPermission.d.ts +1 -1
- package/esm/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/appStep.d.ts +1 -1
- package/esm/public/orm/models/astMigration.d.ts +1 -1
- package/esm/public/orm/models/auditLog.d.ts +1 -1
- package/esm/public/orm/models/checkConstraint.d.ts +1 -1
- package/esm/public/orm/models/claimedInvite.d.ts +1 -1
- package/esm/public/orm/models/commit.d.ts +1 -1
- package/esm/public/orm/models/connectedAccount.d.ts +1 -1
- package/esm/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddress.d.ts +1 -1
- package/esm/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/esm/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/esm/public/orm/models/database.d.ts +1 -1
- package/esm/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/esm/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/esm/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/esm/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/esm/public/orm/models/domain.d.ts +1 -1
- package/esm/public/orm/models/email.d.ts +1 -1
- package/esm/public/orm/models/emailsModule.d.ts +1 -1
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/esm/public/orm/models/field.d.ts +1 -1
- package/esm/public/orm/models/fieldModule.d.ts +1 -1
- package/esm/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/fullTextSearch.d.ts +1 -1
- package/esm/public/orm/models/getAllRecord.d.ts +1 -1
- package/esm/public/orm/models/hierarchyModule.d.ts +1 -1
- package/esm/public/orm/models/index.d.ts +6 -7
- package/esm/public/orm/models/index.js +6 -7
- package/esm/public/orm/models/indexModel.d.ts +1 -1
- package/esm/public/orm/models/invite.d.ts +1 -1
- package/esm/public/orm/models/invitesModule.d.ts +1 -1
- package/esm/public/orm/models/levelsModule.d.ts +1 -1
- package/esm/public/orm/models/limitsModule.d.ts +1 -1
- package/esm/public/orm/models/membershipType.d.ts +1 -1
- package/esm/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/esm/public/orm/models/membershipsModule.d.ts +1 -1
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/esm/public/orm/models/object.d.ts +1 -1
- package/esm/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdge.d.ts +1 -1
- package/esm/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/esm/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/esm/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/esm/public/orm/models/orgGrant.d.ts +1 -1
- package/esm/public/orm/models/orgInvite.d.ts +1 -1
- package/esm/public/orm/models/orgLimit.d.ts +1 -1
- package/esm/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/esm/public/orm/models/orgMember.d.ts +1 -1
- package/esm/public/orm/models/orgMembership.d.ts +1 -1
- package/esm/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/esm/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/esm/public/orm/models/orgPermission.d.ts +1 -1
- package/esm/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/esm/public/orm/models/permissionsModule.d.ts +1 -1
- package/esm/public/orm/models/phoneNumber.d.ts +1 -1
- package/esm/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/esm/public/orm/models/policy.d.ts +1 -1
- package/esm/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/esm/public/orm/models/profilesModule.d.ts +1 -1
- package/esm/public/orm/models/ref.d.ts +1 -1
- package/esm/public/orm/models/relationProvision.d.ts +1 -1
- package/esm/public/orm/models/rlsModule.d.ts +1 -1
- package/esm/public/orm/models/roleType.d.ts +1 -1
- package/esm/public/orm/models/schema.d.ts +1 -1
- package/esm/public/orm/models/schemaGrant.d.ts +1 -1
- package/esm/public/orm/models/secretsModule.d.ts +1 -1
- package/esm/public/orm/models/secureTableProvision.d.ts +1 -1
- package/esm/public/orm/models/sessionsModule.d.ts +1 -1
- package/esm/public/orm/models/site.d.ts +1 -1
- package/esm/public/orm/models/siteMetadatum.d.ts +1 -1
- package/esm/public/orm/models/siteModule.d.ts +1 -1
- package/esm/public/orm/models/siteTheme.d.ts +1 -1
- package/esm/public/orm/models/sqlMigration.d.ts +1 -1
- package/esm/public/orm/models/store.d.ts +1 -1
- package/esm/public/orm/models/table.d.ts +1 -1
- package/esm/public/orm/models/tableGrant.d.ts +1 -1
- package/esm/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/esm/public/orm/models/trigger.d.ts +1 -1
- package/esm/public/orm/models/triggerFunction.d.ts +1 -1
- package/esm/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/esm/public/orm/models/user.d.ts +1 -1
- package/esm/public/orm/models/userAuthModule.d.ts +1 -1
- package/esm/public/orm/models/usersModule.d.ts +1 -1
- package/esm/public/orm/models/uuidModule.d.ts +1 -1
- package/esm/public/orm/models/view.d.ts +1 -1
- package/esm/public/orm/models/viewGrant.d.ts +1 -1
- package/esm/public/orm/models/viewRule.d.ts +1 -1
- package/esm/public/orm/models/viewTable.d.ts +1 -1
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +0 -2
- package/objects/cli/commands/commit.js +2 -0
- package/objects/cli/commands/object.js +0 -4
- package/objects/cli/commands/ref.js +2 -0
- package/objects/cli/commands/store.js +2 -0
- package/objects/orm/input-types.d.ts +33 -3
- package/objects/orm/models/commit.d.ts +1 -1
- package/objects/orm/models/getAllRecord.d.ts +1 -1
- package/objects/orm/models/object.d.ts +1 -1
- package/objects/orm/models/ref.d.ts +1 -1
- package/objects/orm/models/store.d.ts +1 -1
- package/objects/orm/query-builder.js +0 -2
- package/package.json +3 -3
- package/public/cli/commands/api-module.js +2 -0
- package/public/cli/commands/api.js +5 -0
- package/public/cli/commands/app-level-requirement.js +2 -0
- package/public/cli/commands/app-level.js +2 -0
- package/public/cli/commands/app-permission.js +2 -0
- package/public/cli/commands/app.js +4 -0
- package/public/cli/commands/ast-migration.js +2 -0
- package/public/cli/commands/audit-log.js +2 -0
- package/public/cli/commands/check-constraint.js +4 -0
- package/public/cli/commands/commit.js +2 -0
- package/public/cli/commands/connected-account.js +3 -0
- package/public/cli/commands/connected-accounts-module.js +2 -0
- package/public/cli/commands/crypto-address.js +2 -0
- package/public/cli/commands/crypto-addresses-module.js +3 -0
- package/public/cli/commands/crypto-auth-module.js +7 -0
- package/public/cli/commands/database-provision-module.js +6 -0
- package/public/cli/commands/database.js +4 -0
- package/public/cli/commands/default-privilege.js +4 -0
- package/public/cli/commands/denormalized-table-field.js +2 -0
- package/public/cli/commands/emails-module.js +2 -0
- package/public/cli/commands/encrypted-secrets-module.js +2 -0
- package/public/cli/commands/field-module.js +2 -0
- package/public/cli/commands/field.js +7 -0
- package/public/cli/commands/foreign-key-constraint.js +7 -0
- package/public/cli/commands/hierarchy-module.js +11 -0
- package/public/cli/commands/index.js +46 -0
- package/public/cli/commands/invite.js +2 -0
- package/public/cli/commands/invites-module.js +5 -0
- package/public/cli/commands/levels-module.js +16 -0
- package/public/cli/commands/limits-module.js +10 -0
- package/public/cli/commands/membership-type.js +3 -0
- package/public/cli/commands/membership-types-module.js +2 -0
- package/public/cli/commands/memberships-module.js +13 -0
- package/public/cli/commands/node-type-registry.js +6 -0
- package/public/cli/commands/object.js +0 -4
- package/public/cli/commands/org-chart-edge-grant.js +2 -0
- package/public/cli/commands/org-chart-edge.js +2 -0
- package/public/cli/commands/org-invite.js +2 -0
- package/public/cli/commands/org-permission.js +2 -0
- package/public/cli/commands/permissions-module.js +8 -0
- package/public/cli/commands/phone-number.js +3 -0
- package/public/cli/commands/phone-numbers-module.js +2 -0
- package/public/cli/commands/policy.js +6 -0
- package/public/cli/commands/primary-key-constraint.js +4 -0
- package/public/cli/commands/profiles-module.js +6 -0
- package/public/cli/commands/ref.js +2 -0
- package/public/cli/commands/relation-provision.js +11 -0
- package/public/cli/commands/rls-module.js +5 -21
- package/public/cli/commands/schema-grant.js +2 -0
- package/public/cli/commands/schema.js +6 -0
- package/public/cli/commands/secrets-module.js +2 -0
- package/public/cli/commands/secure-table-provision.js +27 -0
- package/public/cli/commands/sessions-module.js +4 -0
- package/public/cli/commands/site-metadatum.js +3 -0
- package/public/cli/commands/site-module.js +2 -0
- package/public/cli/commands/site.js +4 -0
- package/public/cli/commands/sql-migration.js +7 -0
- package/public/cli/commands/store.js +2 -0
- package/public/cli/commands/table-grant.js +3 -0
- package/public/cli/commands/table-template-module.js +3 -0
- package/public/cli/commands/table.js +7 -0
- package/public/cli/commands/trigger-function.js +3 -0
- package/public/cli/commands/trigger.js +5 -0
- package/public/cli/commands/unique-constraint.js +5 -0
- package/public/cli/commands/user-auth-module.js +17 -0
- package/public/cli/commands/user.js +2 -4
- package/public/cli/commands/users-module.js +3 -0
- package/public/cli/commands/uuid-module.js +3 -0
- package/public/cli/commands/view-grant.js +3 -0
- package/public/cli/commands/view-rule.js +4 -0
- package/public/cli/commands/view.js +5 -0
- package/public/cli/commands.js +15 -17
- package/public/cli/executor.d.ts +11 -12
- package/public/orm/index.d.ts +17 -19
- package/public/orm/index.js +12 -14
- package/public/orm/input-types.d.ts +2363 -927
- package/public/orm/input-types.js +0 -3
- package/public/orm/models/api.d.ts +1 -1
- package/public/orm/models/apiModule.d.ts +1 -1
- package/public/orm/models/apiSchema.d.ts +1 -1
- package/public/orm/models/app.d.ts +1 -1
- package/public/orm/models/appAchievement.d.ts +1 -1
- package/public/orm/models/appAdminGrant.d.ts +1 -1
- package/public/orm/models/appGrant.d.ts +1 -1
- package/public/orm/models/appLevel.d.ts +1 -1
- package/public/orm/models/appLevelRequirement.d.ts +1 -1
- package/public/orm/models/appLimit.d.ts +1 -1
- package/public/orm/models/appLimitDefault.d.ts +1 -1
- package/public/orm/models/appMembership.d.ts +1 -1
- package/public/orm/models/appMembershipDefault.d.ts +1 -1
- package/public/orm/models/appOwnerGrant.d.ts +1 -1
- package/public/orm/models/appPermission.d.ts +1 -1
- package/public/orm/models/appPermissionDefault.d.ts +1 -1
- package/public/orm/models/appStep.d.ts +1 -1
- package/public/orm/models/astMigration.d.ts +1 -1
- package/public/orm/models/auditLog.d.ts +1 -1
- package/public/orm/models/checkConstraint.d.ts +1 -1
- package/public/orm/models/claimedInvite.d.ts +1 -1
- package/public/orm/models/commit.d.ts +1 -1
- package/public/orm/models/connectedAccount.d.ts +1 -1
- package/public/orm/models/connectedAccountsModule.d.ts +1 -1
- package/public/orm/models/cryptoAddress.d.ts +1 -1
- package/public/orm/models/cryptoAddressesModule.d.ts +1 -1
- package/public/orm/models/cryptoAuthModule.d.ts +1 -1
- package/public/orm/models/database.d.ts +1 -1
- package/public/orm/models/databaseProvisionModule.d.ts +1 -1
- package/public/orm/models/defaultIdsModule.d.ts +1 -1
- package/public/orm/models/defaultPrivilege.d.ts +1 -1
- package/public/orm/models/denormalizedTableField.d.ts +1 -1
- package/public/orm/models/domain.d.ts +1 -1
- package/public/orm/models/email.d.ts +1 -1
- package/public/orm/models/emailsModule.d.ts +1 -1
- package/public/orm/models/encryptedSecretsModule.d.ts +1 -1
- package/public/orm/models/field.d.ts +1 -1
- package/public/orm/models/fieldModule.d.ts +1 -1
- package/public/orm/models/foreignKeyConstraint.d.ts +1 -1
- package/public/orm/models/fullTextSearch.d.ts +1 -1
- package/public/orm/models/getAllRecord.d.ts +1 -1
- package/public/orm/models/hierarchyModule.d.ts +1 -1
- package/public/orm/models/index.d.ts +6 -7
- package/public/orm/models/index.js +15 -17
- package/public/orm/models/indexModel.d.ts +1 -1
- package/public/orm/models/invite.d.ts +1 -1
- package/public/orm/models/invitesModule.d.ts +1 -1
- package/public/orm/models/levelsModule.d.ts +1 -1
- package/public/orm/models/limitsModule.d.ts +1 -1
- package/public/orm/models/membershipType.d.ts +1 -1
- package/public/orm/models/membershipTypesModule.d.ts +1 -1
- package/public/orm/models/membershipsModule.d.ts +1 -1
- package/public/orm/models/nodeTypeRegistry.d.ts +1 -1
- package/public/orm/models/object.d.ts +1 -1
- package/public/orm/models/orgAdminGrant.d.ts +1 -1
- package/public/orm/models/orgChartEdge.d.ts +1 -1
- package/public/orm/models/orgChartEdgeGrant.d.ts +1 -1
- package/public/orm/models/orgClaimedInvite.d.ts +1 -1
- package/public/orm/models/orgGetManagersRecord.d.ts +1 -1
- package/public/orm/models/orgGetSubordinatesRecord.d.ts +1 -1
- package/public/orm/models/orgGrant.d.ts +1 -1
- package/public/orm/models/orgInvite.d.ts +1 -1
- package/public/orm/models/orgLimit.d.ts +1 -1
- package/public/orm/models/orgLimitDefault.d.ts +1 -1
- package/public/orm/models/orgMember.d.ts +1 -1
- package/public/orm/models/orgMembership.d.ts +1 -1
- package/public/orm/models/orgMembershipDefault.d.ts +1 -1
- package/public/orm/models/orgOwnerGrant.d.ts +1 -1
- package/public/orm/models/orgPermission.d.ts +1 -1
- package/public/orm/models/orgPermissionDefault.d.ts +1 -1
- package/public/orm/models/permissionsModule.d.ts +1 -1
- package/public/orm/models/phoneNumber.d.ts +1 -1
- package/public/orm/models/phoneNumbersModule.d.ts +1 -1
- package/public/orm/models/policy.d.ts +1 -1
- package/public/orm/models/primaryKeyConstraint.d.ts +1 -1
- package/public/orm/models/profilesModule.d.ts +1 -1
- package/public/orm/models/ref.d.ts +1 -1
- package/public/orm/models/relationProvision.d.ts +1 -1
- package/public/orm/models/rlsModule.d.ts +1 -1
- package/public/orm/models/roleType.d.ts +1 -1
- package/public/orm/models/schema.d.ts +1 -1
- package/public/orm/models/schemaGrant.d.ts +1 -1
- package/public/orm/models/secretsModule.d.ts +1 -1
- package/public/orm/models/secureTableProvision.d.ts +1 -1
- package/public/orm/models/sessionsModule.d.ts +1 -1
- package/public/orm/models/site.d.ts +1 -1
- package/public/orm/models/siteMetadatum.d.ts +1 -1
- package/public/orm/models/siteModule.d.ts +1 -1
- package/public/orm/models/siteTheme.d.ts +1 -1
- package/public/orm/models/sqlMigration.d.ts +1 -1
- package/public/orm/models/store.d.ts +1 -1
- package/public/orm/models/table.d.ts +1 -1
- package/public/orm/models/tableGrant.d.ts +1 -1
- package/public/orm/models/tableTemplateModule.d.ts +1 -1
- package/public/orm/models/trigger.d.ts +1 -1
- package/public/orm/models/triggerFunction.d.ts +1 -1
- package/public/orm/models/uniqueConstraint.d.ts +1 -1
- package/public/orm/models/user.d.ts +1 -1
- package/public/orm/models/userAuthModule.d.ts +1 -1
- package/public/orm/models/usersModule.d.ts +1 -1
- package/public/orm/models/uuidModule.d.ts +1 -1
- package/public/orm/models/view.d.ts +1 -1
- package/public/orm/models/viewGrant.d.ts +1 -1
- package/public/orm/models/viewRule.d.ts +1 -1
- package/public/orm/models/viewTable.d.ts +1 -1
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +0 -2
- package/esm/public/cli/commands/table-module.d.ts +0 -8
- package/esm/public/cli/commands/table-module.js +0 -354
- package/esm/public/orm/models/tableModule.d.ts +0 -56
- package/esm/public/orm/models/tableModule.js +0 -94
- package/public/cli/commands/table-module.d.ts +0 -8
- package/public/cli/commands/table-module.js +0 -356
- package/public/orm/models/tableModule.d.ts +0 -56
- package/public/orm/models/tableModule.js +0 -98
|
@@ -17,6 +17,7 @@ const fieldSchema = {
|
|
|
17
17
|
nodeType: 'string',
|
|
18
18
|
useRls: 'boolean',
|
|
19
19
|
nodeData: 'json',
|
|
20
|
+
fields: 'json',
|
|
20
21
|
grantRoles: 'string',
|
|
21
22
|
grantPrivileges: 'json',
|
|
22
23
|
policyType: 'string',
|
|
@@ -26,6 +27,12 @@ const fieldSchema = {
|
|
|
26
27
|
policyName: 'string',
|
|
27
28
|
policyData: 'json',
|
|
28
29
|
outFields: 'uuid',
|
|
30
|
+
tableNameTrgmSimilarity: 'float',
|
|
31
|
+
nodeTypeTrgmSimilarity: 'float',
|
|
32
|
+
policyTypeTrgmSimilarity: 'float',
|
|
33
|
+
policyRoleTrgmSimilarity: 'float',
|
|
34
|
+
policyNameTrgmSimilarity: 'float',
|
|
35
|
+
searchScore: 'float',
|
|
29
36
|
};
|
|
30
37
|
const usage = '\nsecure-table-provision <command>\n\nCommands:\n list List all secureTableProvision records\n get Get a secureTableProvision by ID\n create Create a new secureTableProvision\n update Update an existing secureTableProvision\n delete Delete a secureTableProvision\n\n --help, -h Show this help message\n';
|
|
31
38
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -78,6 +85,7 @@ async function handleList(_argv, _prompter) {
|
|
|
78
85
|
nodeType: true,
|
|
79
86
|
useRls: true,
|
|
80
87
|
nodeData: true,
|
|
88
|
+
fields: true,
|
|
81
89
|
grantRoles: true,
|
|
82
90
|
grantPrivileges: true,
|
|
83
91
|
policyType: true,
|
|
@@ -123,6 +131,7 @@ async function handleGet(argv, prompter) {
|
|
|
123
131
|
nodeType: true,
|
|
124
132
|
useRls: true,
|
|
125
133
|
nodeData: true,
|
|
134
|
+
fields: true,
|
|
126
135
|
grantRoles: true,
|
|
127
136
|
grantPrivileges: true,
|
|
128
137
|
policyType: true,
|
|
@@ -196,6 +205,13 @@ async function handleCreate(argv, prompter) {
|
|
|
196
205
|
required: false,
|
|
197
206
|
skipPrompt: true,
|
|
198
207
|
},
|
|
208
|
+
{
|
|
209
|
+
type: 'json',
|
|
210
|
+
name: 'fields',
|
|
211
|
+
message: 'fields',
|
|
212
|
+
required: false,
|
|
213
|
+
skipPrompt: true,
|
|
214
|
+
},
|
|
199
215
|
{
|
|
200
216
|
type: 'text',
|
|
201
217
|
name: 'grantRoles',
|
|
@@ -273,6 +289,7 @@ async function handleCreate(argv, prompter) {
|
|
|
273
289
|
nodeType: cleanedData.nodeType,
|
|
274
290
|
useRls: cleanedData.useRls,
|
|
275
291
|
nodeData: cleanedData.nodeData,
|
|
292
|
+
fields: cleanedData.fields,
|
|
276
293
|
grantRoles: cleanedData.grantRoles,
|
|
277
294
|
grantPrivileges: cleanedData.grantPrivileges,
|
|
278
295
|
policyType: cleanedData.policyType,
|
|
@@ -292,6 +309,7 @@ async function handleCreate(argv, prompter) {
|
|
|
292
309
|
nodeType: true,
|
|
293
310
|
useRls: true,
|
|
294
311
|
nodeData: true,
|
|
312
|
+
fields: true,
|
|
295
313
|
grantRoles: true,
|
|
296
314
|
grantPrivileges: true,
|
|
297
315
|
policyType: true,
|
|
@@ -371,6 +389,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
371
389
|
required: false,
|
|
372
390
|
skipPrompt: true,
|
|
373
391
|
},
|
|
392
|
+
{
|
|
393
|
+
type: 'json',
|
|
394
|
+
name: 'fields',
|
|
395
|
+
message: 'fields',
|
|
396
|
+
required: false,
|
|
397
|
+
skipPrompt: true,
|
|
398
|
+
},
|
|
374
399
|
{
|
|
375
400
|
type: 'text',
|
|
376
401
|
name: 'grantRoles',
|
|
@@ -451,6 +476,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
451
476
|
nodeType: cleanedData.nodeType,
|
|
452
477
|
useRls: cleanedData.useRls,
|
|
453
478
|
nodeData: cleanedData.nodeData,
|
|
479
|
+
fields: cleanedData.fields,
|
|
454
480
|
grantRoles: cleanedData.grantRoles,
|
|
455
481
|
grantPrivileges: cleanedData.grantPrivileges,
|
|
456
482
|
policyType: cleanedData.policyType,
|
|
@@ -470,6 +496,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
470
496
|
nodeType: true,
|
|
471
497
|
useRls: true,
|
|
472
498
|
nodeData: true,
|
|
499
|
+
fields: true,
|
|
473
500
|
grantRoles: true,
|
|
474
501
|
grantPrivileges: true,
|
|
475
502
|
policyType: true,
|
|
@@ -20,6 +20,10 @@ const fieldSchema = {
|
|
|
20
20
|
sessionsTable: 'string',
|
|
21
21
|
sessionCredentialsTable: 'string',
|
|
22
22
|
authSettingsTable: 'string',
|
|
23
|
+
sessionsTableTrgmSimilarity: 'float',
|
|
24
|
+
sessionCredentialsTableTrgmSimilarity: 'float',
|
|
25
|
+
authSettingsTableTrgmSimilarity: 'float',
|
|
26
|
+
searchScore: 'float',
|
|
23
27
|
};
|
|
24
28
|
const usage = '\nsessions-module <command>\n\nCommands:\n list List all sessionsModule records\n get Get a sessionsModule by ID\n create Create a new sessionsModule\n update Update an existing sessionsModule\n delete Delete a sessionsModule\n\n --help, -h Show this help message\n';
|
|
25
29
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,6 +15,9 @@ const fieldSchema = {
|
|
|
15
15
|
title: 'string',
|
|
16
16
|
description: 'string',
|
|
17
17
|
ogImage: 'string',
|
|
18
|
+
titleTrgmSimilarity: 'float',
|
|
19
|
+
descriptionTrgmSimilarity: 'float',
|
|
20
|
+
searchScore: 'float',
|
|
18
21
|
};
|
|
19
22
|
const usage = '\nsite-metadatum <command>\n\nCommands:\n list List all siteMetadatum records\n get Get a siteMetadatum by ID\n create Create a new siteMetadatum\n update Update an existing siteMetadatum\n delete Delete a siteMetadatum\n\n --help, -h Show this help message\n';
|
|
20
23
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,6 +14,8 @@ const fieldSchema = {
|
|
|
14
14
|
siteId: 'uuid',
|
|
15
15
|
name: 'string',
|
|
16
16
|
data: 'json',
|
|
17
|
+
nameTrgmSimilarity: 'float',
|
|
18
|
+
searchScore: 'float',
|
|
17
19
|
};
|
|
18
20
|
const usage = '\nsite-module <command>\n\nCommands:\n list List all siteModule records\n get Get a siteModule by ID\n create Create a new siteModule\n update Update an existing siteModule\n delete Delete a siteModule\n\n --help, -h Show this help message\n';
|
|
19
21
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,6 +18,10 @@ const fieldSchema = {
|
|
|
18
18
|
appleTouchIcon: 'string',
|
|
19
19
|
logo: 'string',
|
|
20
20
|
dbname: 'string',
|
|
21
|
+
titleTrgmSimilarity: 'float',
|
|
22
|
+
descriptionTrgmSimilarity: 'float',
|
|
23
|
+
dbnameTrgmSimilarity: 'float',
|
|
24
|
+
searchScore: 'float',
|
|
21
25
|
};
|
|
22
26
|
const usage = '\nsite <command>\n\nCommands:\n list List all site records\n get Get a site by ID\n create Create a new site\n update Update an existing site\n delete Delete a site\n\n --help, -h Show this help message\n';
|
|
23
27
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -22,6 +22,13 @@ const fieldSchema = {
|
|
|
22
22
|
action: 'string',
|
|
23
23
|
actionId: 'uuid',
|
|
24
24
|
actorId: 'uuid',
|
|
25
|
+
nameTrgmSimilarity: 'float',
|
|
26
|
+
deployTrgmSimilarity: 'float',
|
|
27
|
+
contentTrgmSimilarity: 'float',
|
|
28
|
+
revertTrgmSimilarity: 'float',
|
|
29
|
+
verifyTrgmSimilarity: 'float',
|
|
30
|
+
actionTrgmSimilarity: 'float',
|
|
31
|
+
searchScore: 'float',
|
|
25
32
|
};
|
|
26
33
|
const usage = '\nsql-migration <command>\n\nCommands:\n list List all sqlMigration records\n create Create a new sqlMigration\n\n --help, -h Show this help message\n';
|
|
27
34
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,6 +14,8 @@ const fieldSchema = {
|
|
|
14
14
|
databaseId: 'uuid',
|
|
15
15
|
hash: 'uuid',
|
|
16
16
|
createdAt: 'string',
|
|
17
|
+
nameTrgmSimilarity: 'float',
|
|
18
|
+
searchScore: 'float',
|
|
17
19
|
};
|
|
18
20
|
const usage = '\nstore <command>\n\nCommands:\n list List all store records\n get Get a store by ID\n create Create a new store\n update Update an existing store\n delete Delete a store\n\n --help, -h Show this help message\n';
|
|
19
21
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,6 +18,9 @@ const fieldSchema = {
|
|
|
18
18
|
isGrant: 'boolean',
|
|
19
19
|
createdAt: 'string',
|
|
20
20
|
updatedAt: 'string',
|
|
21
|
+
privilegeTrgmSimilarity: 'float',
|
|
22
|
+
granteeNameTrgmSimilarity: 'float',
|
|
23
|
+
searchScore: 'float',
|
|
21
24
|
};
|
|
22
25
|
const usage = '\ntable-grant <command>\n\nCommands:\n list List all tableGrant records\n get Get a tableGrant by ID\n create Create a new tableGrant\n update Update an existing tableGrant\n delete Delete a tableGrant\n\n --help, -h Show this help message\n';
|
|
23
26
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,6 +18,9 @@ const fieldSchema = {
|
|
|
18
18
|
tableName: 'string',
|
|
19
19
|
nodeType: 'string',
|
|
20
20
|
data: 'json',
|
|
21
|
+
tableNameTrgmSimilarity: 'float',
|
|
22
|
+
nodeTypeTrgmSimilarity: 'float',
|
|
23
|
+
searchScore: 'float',
|
|
21
24
|
};
|
|
22
25
|
const usage = '\ntable-template-module <command>\n\nCommands:\n list List all tableTemplateModule records\n get Get a tableTemplateModule by ID\n create Create a new tableTemplateModule\n update Update an existing tableTemplateModule\n delete Delete a tableTemplateModule\n\n --help, -h Show this help message\n';
|
|
23
26
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -28,6 +28,13 @@ const fieldSchema = {
|
|
|
28
28
|
inheritsId: 'uuid',
|
|
29
29
|
createdAt: 'string',
|
|
30
30
|
updatedAt: 'string',
|
|
31
|
+
nameTrgmSimilarity: 'float',
|
|
32
|
+
labelTrgmSimilarity: 'float',
|
|
33
|
+
descriptionTrgmSimilarity: 'float',
|
|
34
|
+
moduleTrgmSimilarity: 'float',
|
|
35
|
+
pluralNameTrgmSimilarity: 'float',
|
|
36
|
+
singularNameTrgmSimilarity: 'float',
|
|
37
|
+
searchScore: 'float',
|
|
31
38
|
};
|
|
32
39
|
const usage = '\ntable <command>\n\nCommands:\n list List all table records\n get Get a table by ID\n create Create a new table\n update Update an existing table\n delete Delete a table\n\n --help, -h Show this help message\n';
|
|
33
40
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,6 +15,9 @@ const fieldSchema = {
|
|
|
15
15
|
code: 'string',
|
|
16
16
|
createdAt: 'string',
|
|
17
17
|
updatedAt: 'string',
|
|
18
|
+
nameTrgmSimilarity: 'float',
|
|
19
|
+
codeTrgmSimilarity: 'float',
|
|
20
|
+
searchScore: 'float',
|
|
18
21
|
};
|
|
19
22
|
const usage = '\ntrigger-function <command>\n\nCommands:\n list List all triggerFunction records\n get Get a triggerFunction by ID\n create Create a new triggerFunction\n update Update an existing triggerFunction\n delete Delete a triggerFunction\n\n --help, -h Show this help message\n';
|
|
20
23
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -22,6 +22,11 @@ const fieldSchema = {
|
|
|
22
22
|
tags: 'string',
|
|
23
23
|
createdAt: 'string',
|
|
24
24
|
updatedAt: 'string',
|
|
25
|
+
nameTrgmSimilarity: 'float',
|
|
26
|
+
eventTrgmSimilarity: 'float',
|
|
27
|
+
functionNameTrgmSimilarity: 'float',
|
|
28
|
+
moduleTrgmSimilarity: 'float',
|
|
29
|
+
searchScore: 'float',
|
|
25
30
|
};
|
|
26
31
|
const usage = '\ntrigger <command>\n\nCommands:\n list List all trigger records\n get Get a trigger by ID\n create Create a new trigger\n update Update an existing trigger\n delete Delete a trigger\n\n --help, -h Show this help message\n';
|
|
27
32
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -23,6 +23,11 @@ const fieldSchema = {
|
|
|
23
23
|
tags: 'string',
|
|
24
24
|
createdAt: 'string',
|
|
25
25
|
updatedAt: 'string',
|
|
26
|
+
nameTrgmSimilarity: 'float',
|
|
27
|
+
descriptionTrgmSimilarity: 'float',
|
|
28
|
+
typeTrgmSimilarity: 'float',
|
|
29
|
+
moduleTrgmSimilarity: 'float',
|
|
30
|
+
searchScore: 'float',
|
|
26
31
|
};
|
|
27
32
|
const usage = '\nunique-constraint <command>\n\nCommands:\n list List all uniqueConstraint records\n get Get a uniqueConstraint by ID\n create Create a new uniqueConstraint\n update Update an existing uniqueConstraint\n delete Delete a uniqueConstraint\n\n --help, -h Show this help message\n';
|
|
28
33
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -35,6 +35,23 @@ const fieldSchema = {
|
|
|
35
35
|
signInOneTimeTokenFunction: 'string',
|
|
36
36
|
oneTimeTokenFunction: 'string',
|
|
37
37
|
extendTokenExpires: 'string',
|
|
38
|
+
auditsTableNameTrgmSimilarity: 'float',
|
|
39
|
+
signInFunctionTrgmSimilarity: 'float',
|
|
40
|
+
signUpFunctionTrgmSimilarity: 'float',
|
|
41
|
+
signOutFunctionTrgmSimilarity: 'float',
|
|
42
|
+
setPasswordFunctionTrgmSimilarity: 'float',
|
|
43
|
+
resetPasswordFunctionTrgmSimilarity: 'float',
|
|
44
|
+
forgotPasswordFunctionTrgmSimilarity: 'float',
|
|
45
|
+
sendVerificationEmailFunctionTrgmSimilarity: 'float',
|
|
46
|
+
verifyEmailFunctionTrgmSimilarity: 'float',
|
|
47
|
+
verifyPasswordFunctionTrgmSimilarity: 'float',
|
|
48
|
+
checkPasswordFunctionTrgmSimilarity: 'float',
|
|
49
|
+
sendAccountDeletionEmailFunctionTrgmSimilarity: 'float',
|
|
50
|
+
deleteAccountFunctionTrgmSimilarity: 'float',
|
|
51
|
+
signInOneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
52
|
+
oneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
53
|
+
extendTokenExpiresTrgmSimilarity: 'float',
|
|
54
|
+
searchScore: 'float',
|
|
38
55
|
};
|
|
39
56
|
const usage = '\nuser-auth-module <command>\n\nCommands:\n list List all userAuthModule records\n get Get a userAuthModule by ID\n create Create a new userAuthModule\n update Update an existing userAuthModule\n delete Delete a userAuthModule\n\n --help, -h Show this help message\n';
|
|
40
57
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,6 +18,8 @@ const fieldSchema = {
|
|
|
18
18
|
createdAt: 'string',
|
|
19
19
|
updatedAt: 'string',
|
|
20
20
|
searchTsvRank: 'float',
|
|
21
|
+
displayNameTrgmSimilarity: 'float',
|
|
22
|
+
searchScore: 'float',
|
|
21
23
|
};
|
|
22
24
|
const usage = '\nuser <command>\n\nCommands:\n list List all user records\n get Get a user by ID\n create Create a new user\n update Update an existing user\n delete Delete a user\n\n --help, -h Show this help message\n';
|
|
23
25
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -70,7 +72,6 @@ async function handleList(_argv, _prompter) {
|
|
|
70
72
|
type: true,
|
|
71
73
|
createdAt: true,
|
|
72
74
|
updatedAt: true,
|
|
73
|
-
searchTsvRank: true,
|
|
74
75
|
},
|
|
75
76
|
})
|
|
76
77
|
.execute();
|
|
@@ -107,7 +108,6 @@ async function handleGet(argv, prompter) {
|
|
|
107
108
|
type: true,
|
|
108
109
|
createdAt: true,
|
|
109
110
|
updatedAt: true,
|
|
110
|
-
searchTsvRank: true,
|
|
111
111
|
},
|
|
112
112
|
})
|
|
113
113
|
.execute();
|
|
@@ -181,7 +181,6 @@ async function handleCreate(argv, prompter) {
|
|
|
181
181
|
type: true,
|
|
182
182
|
createdAt: true,
|
|
183
183
|
updatedAt: true,
|
|
184
|
-
searchTsvRank: true,
|
|
185
184
|
},
|
|
186
185
|
})
|
|
187
186
|
.execute();
|
|
@@ -264,7 +263,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
264
263
|
type: true,
|
|
265
264
|
createdAt: true,
|
|
266
265
|
updatedAt: true,
|
|
267
|
-
searchTsvRank: true,
|
|
268
266
|
},
|
|
269
267
|
})
|
|
270
268
|
.execute();
|
|
@@ -16,6 +16,9 @@ const fieldSchema = {
|
|
|
16
16
|
tableName: 'string',
|
|
17
17
|
typeTableId: 'uuid',
|
|
18
18
|
typeTableName: 'string',
|
|
19
|
+
tableNameTrgmSimilarity: 'float',
|
|
20
|
+
typeTableNameTrgmSimilarity: 'float',
|
|
21
|
+
searchScore: 'float',
|
|
19
22
|
};
|
|
20
23
|
const usage = '\nusers-module <command>\n\nCommands:\n list List all usersModule records\n get Get a usersModule by ID\n create Create a new usersModule\n update Update an existing usersModule\n delete Delete a usersModule\n\n --help, -h Show this help message\n';
|
|
21
24
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,6 +14,9 @@ const fieldSchema = {
|
|
|
14
14
|
schemaId: 'uuid',
|
|
15
15
|
uuidFunction: 'string',
|
|
16
16
|
uuidSeed: 'string',
|
|
17
|
+
uuidFunctionTrgmSimilarity: 'float',
|
|
18
|
+
uuidSeedTrgmSimilarity: 'float',
|
|
19
|
+
searchScore: 'float',
|
|
17
20
|
};
|
|
18
21
|
const usage = '\nuuid-module <command>\n\nCommands:\n list List all uuidModule records\n get Get a uuidModule by ID\n create Create a new uuidModule\n update Update an existing uuidModule\n delete Delete a uuidModule\n\n --help, -h Show this help message\n';
|
|
19
22
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -16,6 +16,9 @@ const fieldSchema = {
|
|
|
16
16
|
privilege: 'string',
|
|
17
17
|
withGrantOption: 'boolean',
|
|
18
18
|
isGrant: 'boolean',
|
|
19
|
+
granteeNameTrgmSimilarity: 'float',
|
|
20
|
+
privilegeTrgmSimilarity: 'float',
|
|
21
|
+
searchScore: 'float',
|
|
19
22
|
};
|
|
20
23
|
const usage = '\nview-grant <command>\n\nCommands:\n list List all viewGrant records\n get Get a viewGrant by ID\n create Create a new viewGrant\n update Update an existing viewGrant\n delete Delete a viewGrant\n\n --help, -h Show this help message\n';
|
|
21
24
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,6 +15,10 @@ const fieldSchema = {
|
|
|
15
15
|
name: 'string',
|
|
16
16
|
event: 'string',
|
|
17
17
|
action: 'string',
|
|
18
|
+
nameTrgmSimilarity: 'float',
|
|
19
|
+
eventTrgmSimilarity: 'float',
|
|
20
|
+
actionTrgmSimilarity: 'float',
|
|
21
|
+
searchScore: 'float',
|
|
18
22
|
};
|
|
19
23
|
const usage = '\nview-rule <command>\n\nCommands:\n list List all viewRule records\n get Get a viewRule by ID\n create Create a new viewRule\n update Update an existing viewRule\n delete Delete a viewRule\n\n --help, -h Show this help message\n';
|
|
20
24
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -25,6 +25,11 @@ const fieldSchema = {
|
|
|
25
25
|
module: 'string',
|
|
26
26
|
scope: 'int',
|
|
27
27
|
tags: 'string',
|
|
28
|
+
nameTrgmSimilarity: 'float',
|
|
29
|
+
viewTypeTrgmSimilarity: 'float',
|
|
30
|
+
filterTypeTrgmSimilarity: 'float',
|
|
31
|
+
moduleTrgmSimilarity: 'float',
|
|
32
|
+
searchScore: 'float',
|
|
28
33
|
};
|
|
29
34
|
const usage = '\nview <command>\n\nCommands:\n list List all view records\n get Get a view by ID\n create Create a new view\n update Update an existing view\n delete Delete a view\n\n --help, -h Show this help message\n';
|
|
30
35
|
exports.default = async (argv, prompter, _options) => {
|
package/public/cli/commands.js
CHANGED
|
@@ -36,7 +36,6 @@ const view_1 = __importDefault(require("./commands/view"));
|
|
|
36
36
|
const view_table_1 = __importDefault(require("./commands/view-table"));
|
|
37
37
|
const view_grant_1 = __importDefault(require("./commands/view-grant"));
|
|
38
38
|
const view_rule_1 = __importDefault(require("./commands/view-rule"));
|
|
39
|
-
const table_module_1 = __importDefault(require("./commands/table-module"));
|
|
40
39
|
const table_template_module_1 = __importDefault(require("./commands/table-template-module"));
|
|
41
40
|
const secure_table_provision_1 = __importDefault(require("./commands/secure-table-provision"));
|
|
42
41
|
const relation_provision_1 = __importDefault(require("./commands/relation-provision"));
|
|
@@ -68,7 +67,6 @@ const memberships_module_1 = __importDefault(require("./commands/memberships-mod
|
|
|
68
67
|
const permissions_module_1 = __importDefault(require("./commands/permissions-module"));
|
|
69
68
|
const phone_numbers_module_1 = __importDefault(require("./commands/phone-numbers-module"));
|
|
70
69
|
const profiles_module_1 = __importDefault(require("./commands/profiles-module"));
|
|
71
|
-
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
72
70
|
const secrets_module_1 = __importDefault(require("./commands/secrets-module"));
|
|
73
71
|
const sessions_module_1 = __importDefault(require("./commands/sessions-module"));
|
|
74
72
|
const user_auth_module_1 = __importDefault(require("./commands/user-auth-module"));
|
|
@@ -96,25 +94,26 @@ const org_claimed_invite_1 = __importDefault(require("./commands/org-claimed-inv
|
|
|
96
94
|
const ref_1 = __importDefault(require("./commands/ref"));
|
|
97
95
|
const store_1 = __importDefault(require("./commands/store"));
|
|
98
96
|
const app_permission_default_1 = __importDefault(require("./commands/app-permission-default"));
|
|
97
|
+
const crypto_address_1 = __importDefault(require("./commands/crypto-address"));
|
|
99
98
|
const role_type_1 = __importDefault(require("./commands/role-type"));
|
|
100
99
|
const org_permission_default_1 = __importDefault(require("./commands/org-permission-default"));
|
|
101
|
-
const
|
|
100
|
+
const phone_number_1 = __importDefault(require("./commands/phone-number"));
|
|
102
101
|
const app_limit_default_1 = __importDefault(require("./commands/app-limit-default"));
|
|
103
102
|
const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
|
|
104
103
|
const connected_account_1 = __importDefault(require("./commands/connected-account"));
|
|
105
|
-
const phone_number_1 = __importDefault(require("./commands/phone-number"));
|
|
106
|
-
const membership_type_1 = __importDefault(require("./commands/membership-type"));
|
|
107
104
|
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
105
|
+
const membership_type_1 = __importDefault(require("./commands/membership-type"));
|
|
108
106
|
const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
|
|
107
|
+
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
109
108
|
const commit_1 = __importDefault(require("./commands/commit"));
|
|
110
109
|
const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
|
|
111
110
|
const audit_log_1 = __importDefault(require("./commands/audit-log"));
|
|
112
111
|
const app_level_1 = __importDefault(require("./commands/app-level"));
|
|
113
|
-
const email_1 = __importDefault(require("./commands/email"));
|
|
114
112
|
const sql_migration_1 = __importDefault(require("./commands/sql-migration"));
|
|
113
|
+
const email_1 = __importDefault(require("./commands/email"));
|
|
115
114
|
const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
|
|
116
|
-
const user_1 = __importDefault(require("./commands/user"));
|
|
117
115
|
const app_membership_1 = __importDefault(require("./commands/app-membership"));
|
|
116
|
+
const user_1 = __importDefault(require("./commands/user"));
|
|
118
117
|
const hierarchy_module_1 = __importDefault(require("./commands/hierarchy-module"));
|
|
119
118
|
const current_user_id_1 = __importDefault(require("./commands/current-user-id"));
|
|
120
119
|
const current_ip_address_1 = __importDefault(require("./commands/current-ip-address"));
|
|
@@ -146,8 +145,8 @@ const confirm_delete_account_1 = __importDefault(require("./commands/confirm-del
|
|
|
146
145
|
const set_password_1 = __importDefault(require("./commands/set-password"));
|
|
147
146
|
const verify_email_1 = __importDefault(require("./commands/verify-email"));
|
|
148
147
|
const reset_password_1 = __importDefault(require("./commands/reset-password"));
|
|
149
|
-
const remove_node_at_path_1 = __importDefault(require("./commands/remove-node-at-path"));
|
|
150
148
|
const bootstrap_user_1 = __importDefault(require("./commands/bootstrap-user"));
|
|
149
|
+
const remove_node_at_path_1 = __importDefault(require("./commands/remove-node-at-path"));
|
|
151
150
|
const set_data_at_path_1 = __importDefault(require("./commands/set-data-at-path"));
|
|
152
151
|
const set_props_and_commit_1 = __importDefault(require("./commands/set-props-and-commit"));
|
|
153
152
|
const provision_database_with_user_1 = __importDefault(require("./commands/provision-database-with-user"));
|
|
@@ -193,7 +192,6 @@ const createCommandMap = () => ({
|
|
|
193
192
|
'view-table': view_table_1.default,
|
|
194
193
|
'view-grant': view_grant_1.default,
|
|
195
194
|
'view-rule': view_rule_1.default,
|
|
196
|
-
'table-module': table_module_1.default,
|
|
197
195
|
'table-template-module': table_template_module_1.default,
|
|
198
196
|
'secure-table-provision': secure_table_provision_1.default,
|
|
199
197
|
'relation-provision': relation_provision_1.default,
|
|
@@ -225,7 +223,6 @@ const createCommandMap = () => ({
|
|
|
225
223
|
'permissions-module': permissions_module_1.default,
|
|
226
224
|
'phone-numbers-module': phone_numbers_module_1.default,
|
|
227
225
|
'profiles-module': profiles_module_1.default,
|
|
228
|
-
'rls-module': rls_module_1.default,
|
|
229
226
|
'secrets-module': secrets_module_1.default,
|
|
230
227
|
'sessions-module': sessions_module_1.default,
|
|
231
228
|
'user-auth-module': user_auth_module_1.default,
|
|
@@ -253,25 +250,26 @@ const createCommandMap = () => ({
|
|
|
253
250
|
ref: ref_1.default,
|
|
254
251
|
store: store_1.default,
|
|
255
252
|
'app-permission-default': app_permission_default_1.default,
|
|
253
|
+
'crypto-address': crypto_address_1.default,
|
|
256
254
|
'role-type': role_type_1.default,
|
|
257
255
|
'org-permission-default': org_permission_default_1.default,
|
|
258
|
-
'
|
|
256
|
+
'phone-number': phone_number_1.default,
|
|
259
257
|
'app-limit-default': app_limit_default_1.default,
|
|
260
258
|
'org-limit-default': org_limit_default_1.default,
|
|
261
259
|
'connected-account': connected_account_1.default,
|
|
262
|
-
'phone-number': phone_number_1.default,
|
|
263
|
-
'membership-type': membership_type_1.default,
|
|
264
260
|
'node-type-registry': node_type_registry_1.default,
|
|
261
|
+
'membership-type': membership_type_1.default,
|
|
265
262
|
'app-membership-default': app_membership_default_1.default,
|
|
263
|
+
'rls-module': rls_module_1.default,
|
|
266
264
|
commit: commit_1.default,
|
|
267
265
|
'org-membership-default': org_membership_default_1.default,
|
|
268
266
|
'audit-log': audit_log_1.default,
|
|
269
267
|
'app-level': app_level_1.default,
|
|
270
|
-
email: email_1.default,
|
|
271
268
|
'sql-migration': sql_migration_1.default,
|
|
269
|
+
email: email_1.default,
|
|
272
270
|
'ast-migration': ast_migration_1.default,
|
|
273
|
-
user: user_1.default,
|
|
274
271
|
'app-membership': app_membership_1.default,
|
|
272
|
+
user: user_1.default,
|
|
275
273
|
'hierarchy-module': hierarchy_module_1.default,
|
|
276
274
|
'current-user-id': current_user_id_1.default,
|
|
277
275
|
'current-ip-address': current_ip_address_1.default,
|
|
@@ -303,8 +301,8 @@ const createCommandMap = () => ({
|
|
|
303
301
|
'set-password': set_password_1.default,
|
|
304
302
|
'verify-email': verify_email_1.default,
|
|
305
303
|
'reset-password': reset_password_1.default,
|
|
306
|
-
'remove-node-at-path': remove_node_at_path_1.default,
|
|
307
304
|
'bootstrap-user': bootstrap_user_1.default,
|
|
305
|
+
'remove-node-at-path': remove_node_at_path_1.default,
|
|
308
306
|
'set-data-at-path': set_data_at_path_1.default,
|
|
309
307
|
'set-props-and-commit': set_props_and_commit_1.default,
|
|
310
308
|
'provision-database-with-user': provision_database_with_user_1.default,
|
|
@@ -324,7 +322,7 @@ const createCommandMap = () => ({
|
|
|
324
322
|
'verify-password': verify_password_1.default,
|
|
325
323
|
'verify-totp': verify_totp_1.default,
|
|
326
324
|
});
|
|
327
|
-
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 object object 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-
|
|
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 object object 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 app-membership-default appMembershipDefault CRUD operations\n rls-module rlsModule CRUD operations\n commit commit 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 ast-migration astMigration CRUD operations\n app-membership appMembership CRUD operations\n user user 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 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 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 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 reset-password resetPassword\n bootstrap-user bootstrapUser\n remove-node-at-path removeNodeAtPath\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\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 set-field-order setFieldOrder\n one-time-token oneTimeToken\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n apply-rls applyRls\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";
|
|
328
326
|
const commands = async (argv, prompter, options) => {
|
|
329
327
|
if (argv.help || argv.h) {
|
|
330
328
|
console.log(usage);
|
package/public/cli/executor.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export declare function getClient(contextName?: string): {
|
|
|
24
24
|
viewTable: import("../orm").ViewTableModel;
|
|
25
25
|
viewGrant: import("../orm").ViewGrantModel;
|
|
26
26
|
viewRule: import("../orm").ViewRuleModel;
|
|
27
|
-
tableModule: import("../orm").TableModuleModel;
|
|
28
27
|
tableTemplateModule: import("../orm").TableTemplateModuleModel;
|
|
29
28
|
secureTableProvision: import("../orm").SecureTableProvisionModel;
|
|
30
29
|
relationProvision: import("../orm").RelationProvisionModel;
|
|
@@ -56,7 +55,6 @@ export declare function getClient(contextName?: string): {
|
|
|
56
55
|
permissionsModule: import("../orm").PermissionsModuleModel;
|
|
57
56
|
phoneNumbersModule: import("../orm").PhoneNumbersModuleModel;
|
|
58
57
|
profilesModule: import("../orm").ProfilesModuleModel;
|
|
59
|
-
rlsModule: import("../orm").RlsModuleModel;
|
|
60
58
|
secretsModule: import("../orm").SecretsModuleModel;
|
|
61
59
|
sessionsModule: import("../orm").SessionsModuleModel;
|
|
62
60
|
userAuthModule: import("../orm").UserAuthModuleModel;
|
|
@@ -84,25 +82,26 @@ export declare function getClient(contextName?: string): {
|
|
|
84
82
|
ref: import("../orm").RefModel;
|
|
85
83
|
store: import("../orm").StoreModel;
|
|
86
84
|
appPermissionDefault: import("../orm").AppPermissionDefaultModel;
|
|
85
|
+
cryptoAddress: import("../orm").CryptoAddressModel;
|
|
87
86
|
roleType: import("../orm").RoleTypeModel;
|
|
88
87
|
orgPermissionDefault: import("../orm").OrgPermissionDefaultModel;
|
|
89
|
-
|
|
88
|
+
phoneNumber: import("../orm").PhoneNumberModel;
|
|
90
89
|
appLimitDefault: import("../orm").AppLimitDefaultModel;
|
|
91
90
|
orgLimitDefault: import("../orm").OrgLimitDefaultModel;
|
|
92
91
|
connectedAccount: import("../orm").ConnectedAccountModel;
|
|
93
|
-
phoneNumber: import("../orm").PhoneNumberModel;
|
|
94
|
-
membershipType: import("../orm").MembershipTypeModel;
|
|
95
92
|
nodeTypeRegistry: import("../orm").NodeTypeRegistryModel;
|
|
93
|
+
membershipType: import("../orm").MembershipTypeModel;
|
|
96
94
|
appMembershipDefault: import("../orm").AppMembershipDefaultModel;
|
|
95
|
+
rlsModule: import("../orm").RlsModuleModel;
|
|
97
96
|
commit: import("../orm").CommitModel;
|
|
98
97
|
orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
|
|
99
98
|
auditLog: import("../orm").AuditLogModel;
|
|
100
99
|
appLevel: import("../orm").AppLevelModel;
|
|
101
|
-
email: import("../orm").EmailModel;
|
|
102
100
|
sqlMigration: import("../orm").SqlMigrationModel;
|
|
101
|
+
email: import("../orm").EmailModel;
|
|
103
102
|
astMigration: import("../orm").AstMigrationModel;
|
|
104
|
-
user: import("../orm").UserModel;
|
|
105
103
|
appMembership: import("../orm").AppMembershipModel;
|
|
104
|
+
user: import("../orm").UserModel;
|
|
106
105
|
hierarchyModule: import("../orm").HierarchyModuleModel;
|
|
107
106
|
query: {
|
|
108
107
|
currentUserId: (options?: {
|
|
@@ -257,16 +256,16 @@ export declare function getClient(contextName?: string): {
|
|
|
257
256
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ResetPasswordPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
258
257
|
resetPassword: import("../orm").InferSelectResult<import("../orm/input-types").ResetPasswordPayload, S> | null;
|
|
259
258
|
}>;
|
|
260
|
-
removeNodeAtPath: <S extends import("../orm/input-types").RemoveNodeAtPathPayloadSelect>(args: import("../orm/mutation").RemoveNodeAtPathVariables, options: {
|
|
261
|
-
select: S;
|
|
262
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").RemoveNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
263
|
-
removeNodeAtPath: import("../orm").InferSelectResult<import("../orm/input-types").RemoveNodeAtPathPayload, S> | null;
|
|
264
|
-
}>;
|
|
265
259
|
bootstrapUser: <S extends import("../orm/input-types").BootstrapUserPayloadSelect>(args: import("../orm/mutation").BootstrapUserVariables, options: {
|
|
266
260
|
select: S;
|
|
267
261
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").BootstrapUserPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
268
262
|
bootstrapUser: import("../orm").InferSelectResult<import("../orm/input-types").BootstrapUserPayload, S> | null;
|
|
269
263
|
}>;
|
|
264
|
+
removeNodeAtPath: <S extends import("../orm/input-types").RemoveNodeAtPathPayloadSelect>(args: import("../orm/mutation").RemoveNodeAtPathVariables, options: {
|
|
265
|
+
select: S;
|
|
266
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").RemoveNodeAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
267
|
+
removeNodeAtPath: import("../orm").InferSelectResult<import("../orm/input-types").RemoveNodeAtPathPayload, S> | null;
|
|
268
|
+
}>;
|
|
270
269
|
setDataAtPath: <S extends import("../orm/input-types").SetDataAtPathPayloadSelect>(args: import("../orm/mutation").SetDataAtPathVariables, options: {
|
|
271
270
|
select: S;
|
|
272
271
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SetDataAtPathPayloadSelect>) => import("../orm").QueryBuilder<{
|