@constructive-sdk/cli 0.2.1 → 0.6.2
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-achievement.js +4 -0
- package/admin/cli/commands/app-admin-grant.js +6 -2
- package/admin/cli/commands/app-grant.js +8 -2
- package/admin/cli/commands/app-level-requirement.js +6 -0
- package/admin/cli/commands/app-level.js +6 -0
- package/admin/cli/commands/app-limit-default.js +2 -0
- package/admin/cli/commands/app-limit.js +6 -0
- package/admin/cli/commands/app-membership-default.js +12 -4
- package/admin/cli/commands/app-membership.js +38 -14
- package/admin/cli/commands/app-owner-grant.js +6 -2
- package/admin/cli/commands/app-permission-default.js +2 -0
- package/admin/cli/commands/app-permission.js +8 -0
- package/admin/cli/commands/app-step.js +4 -0
- package/admin/cli/commands/claimed-invite.js +8 -2
- package/admin/cli/commands/invite.js +24 -6
- package/admin/cli/commands/org-admin-grant.js +6 -2
- package/admin/cli/commands/org-chart-edge-grant.js +10 -2
- package/admin/cli/commands/org-chart-edge.js +6 -0
- package/admin/cli/commands/org-claimed-invite.js +8 -2
- package/admin/cli/commands/org-grant.js +8 -2
- package/admin/cli/commands/org-invite.js +26 -6
- package/admin/cli/commands/org-limit-default.js +2 -0
- package/admin/cli/commands/org-limit.js +6 -0
- package/admin/cli/commands/org-member.js +4 -2
- package/admin/cli/commands/org-membership-default.js +16 -6
- package/admin/cli/commands/org-membership.js +34 -12
- package/admin/cli/commands/org-owner-grant.js +6 -2
- package/admin/cli/commands/org-permission-default.js +2 -0
- package/admin/cli/commands/org-permission.js +8 -0
- package/admin/cli/commands/submit-invite-code.js +1 -1
- package/admin/cli/commands/submit-org-invite-code.js +1 -1
- package/admin/cli/index.js +2 -2
- package/admin/cli/utils.d.ts +13 -0
- package/admin/cli/utils.js +25 -0
- package/auth/cli/commands/audit-log.js +10 -2
- package/auth/cli/commands/check-password.js +1 -1
- package/auth/cli/commands/confirm-delete-account.js +1 -1
- package/auth/cli/commands/connected-account.js +8 -4
- package/auth/cli/commands/crypto-address.js +10 -4
- package/auth/cli/commands/email.js +10 -4
- package/auth/cli/commands/extend-token-expires.js +1 -1
- package/auth/cli/commands/forgot-password.js +1 -1
- package/auth/cli/commands/one-time-token.js +1 -1
- package/auth/cli/commands/phone-number.js +10 -4
- package/auth/cli/commands/reset-password.js +1 -1
- package/auth/cli/commands/send-account-deletion-email.js +1 -1
- package/auth/cli/commands/send-verification-email.js +1 -1
- package/auth/cli/commands/set-password.js +1 -1
- package/auth/cli/commands/sign-in-one-time-token.js +1 -1
- package/auth/cli/commands/sign-in.js +1 -1
- package/auth/cli/commands/sign-out.js +1 -1
- package/auth/cli/commands/sign-up.js +1 -1
- package/auth/cli/commands/user.js +10 -0
- package/auth/cli/commands/verify-email.js +1 -1
- package/auth/cli/commands/verify-password.js +1 -1
- package/auth/cli/commands/verify-totp.js +1 -1
- package/auth/cli/index.js +2 -2
- package/auth/cli/utils.d.ts +13 -0
- package/auth/cli/utils.js +25 -0
- package/esm/admin/cli/commands/app-achievement.js +4 -0
- package/esm/admin/cli/commands/app-admin-grant.js +6 -2
- package/esm/admin/cli/commands/app-grant.js +8 -2
- package/esm/admin/cli/commands/app-level-requirement.js +6 -0
- package/esm/admin/cli/commands/app-level.js +6 -0
- package/esm/admin/cli/commands/app-limit-default.js +2 -0
- package/esm/admin/cli/commands/app-limit.js +6 -0
- package/esm/admin/cli/commands/app-membership-default.js +12 -4
- package/esm/admin/cli/commands/app-membership.js +38 -14
- package/esm/admin/cli/commands/app-owner-grant.js +6 -2
- package/esm/admin/cli/commands/app-permission-default.js +2 -0
- package/esm/admin/cli/commands/app-permission.js +8 -0
- package/esm/admin/cli/commands/app-step.js +4 -0
- package/esm/admin/cli/commands/claimed-invite.js +8 -2
- package/esm/admin/cli/commands/invite.js +24 -6
- package/esm/admin/cli/commands/org-admin-grant.js +6 -2
- package/esm/admin/cli/commands/org-chart-edge-grant.js +10 -2
- package/esm/admin/cli/commands/org-chart-edge.js +6 -0
- package/esm/admin/cli/commands/org-claimed-invite.js +8 -2
- package/esm/admin/cli/commands/org-grant.js +8 -2
- package/esm/admin/cli/commands/org-invite.js +26 -6
- package/esm/admin/cli/commands/org-limit-default.js +2 -0
- package/esm/admin/cli/commands/org-limit.js +6 -0
- package/esm/admin/cli/commands/org-member.js +4 -2
- package/esm/admin/cli/commands/org-membership-default.js +16 -6
- package/esm/admin/cli/commands/org-membership.js +34 -12
- package/esm/admin/cli/commands/org-owner-grant.js +6 -2
- package/esm/admin/cli/commands/org-permission-default.js +2 -0
- package/esm/admin/cli/commands/org-permission.js +8 -0
- package/esm/admin/cli/commands/submit-invite-code.js +2 -2
- package/esm/admin/cli/commands/submit-org-invite-code.js +2 -2
- package/esm/admin/cli/index.js +2 -2
- package/esm/admin/cli/utils.d.ts +13 -0
- package/esm/admin/cli/utils.js +24 -0
- package/esm/auth/cli/commands/audit-log.js +10 -2
- package/esm/auth/cli/commands/check-password.js +2 -2
- package/esm/auth/cli/commands/confirm-delete-account.js +2 -2
- package/esm/auth/cli/commands/connected-account.js +8 -4
- package/esm/auth/cli/commands/crypto-address.js +10 -4
- package/esm/auth/cli/commands/email.js +10 -4
- package/esm/auth/cli/commands/extend-token-expires.js +2 -2
- package/esm/auth/cli/commands/forgot-password.js +2 -2
- package/esm/auth/cli/commands/one-time-token.js +2 -2
- package/esm/auth/cli/commands/phone-number.js +10 -4
- package/esm/auth/cli/commands/reset-password.js +2 -2
- package/esm/auth/cli/commands/send-account-deletion-email.js +2 -2
- package/esm/auth/cli/commands/send-verification-email.js +2 -2
- package/esm/auth/cli/commands/set-password.js +2 -2
- package/esm/auth/cli/commands/sign-in-one-time-token.js +2 -2
- package/esm/auth/cli/commands/sign-in.js +2 -2
- package/esm/auth/cli/commands/sign-out.js +2 -2
- package/esm/auth/cli/commands/sign-up.js +2 -2
- package/esm/auth/cli/commands/user.js +10 -0
- package/esm/auth/cli/commands/verify-email.js +2 -2
- package/esm/auth/cli/commands/verify-password.js +2 -2
- package/esm/auth/cli/commands/verify-totp.js +2 -2
- package/esm/auth/cli/index.js +2 -2
- package/esm/auth/cli/utils.d.ts +13 -0
- package/esm/auth/cli/utils.js +24 -0
- package/esm/objects/cli/commands/commit.js +12 -0
- package/esm/objects/cli/commands/freeze-objects.js +2 -2
- package/esm/objects/cli/commands/get-all-record.js +1 -1
- package/esm/objects/cli/commands/init-empty-repo.js +2 -2
- package/esm/objects/cli/commands/insert-node-at-path.js +2 -2
- package/esm/objects/cli/commands/object.js +12 -4
- package/esm/objects/cli/commands/ref.js +2 -0
- package/esm/objects/cli/commands/remove-node-at-path.js +2 -2
- package/esm/objects/cli/commands/set-and-commit.js +2 -2
- package/esm/objects/cli/commands/set-data-at-path.js +2 -2
- package/esm/objects/cli/commands/set-props-and-commit.js +2 -2
- package/esm/objects/cli/commands/store.js +2 -0
- package/esm/objects/cli/commands/update-node-at-path.js +2 -2
- package/esm/objects/cli/index.js +2 -2
- package/esm/objects/cli/utils.d.ts +13 -0
- package/esm/objects/cli/utils.js +24 -0
- package/esm/public/cli/commands/api-module.js +2 -2
- package/esm/public/cli/commands/api.js +10 -2
- package/esm/public/cli/commands/app-achievement.js +4 -0
- package/esm/public/cli/commands/app-admin-grant.js +6 -2
- package/esm/public/cli/commands/app-grant.js +8 -2
- package/esm/public/cli/commands/app-level-requirement.js +6 -0
- package/esm/public/cli/commands/app-level.js +6 -0
- package/esm/public/cli/commands/app-limit-default.js +2 -0
- package/esm/public/cli/commands/app-limit.js +6 -0
- package/esm/public/cli/commands/app-membership-default.js +12 -4
- package/esm/public/cli/commands/app-membership.js +38 -14
- package/esm/public/cli/commands/app-owner-grant.js +6 -2
- package/esm/public/cli/commands/app-permission-default.js +2 -0
- package/esm/public/cli/commands/app-permission.js +8 -0
- package/esm/public/cli/commands/app-step.js +4 -0
- package/esm/public/cli/commands/app.js +12 -0
- package/esm/public/cli/commands/apply-rls.js +2 -2
- package/esm/public/cli/commands/ast-migration.js +15 -4
- package/esm/public/cli/commands/audit-log.js +10 -2
- package/esm/public/cli/commands/bootstrap-user.js +2 -2
- package/esm/public/cli/commands/check-constraint.js +22 -4
- package/esm/public/cli/commands/check-password.js +2 -2
- package/esm/public/cli/commands/claimed-invite.js +8 -2
- package/esm/public/cli/commands/commit.js +12 -0
- package/esm/public/cli/commands/confirm-delete-account.js +2 -2
- package/esm/public/cli/commands/connected-account.js +8 -4
- package/esm/public/cli/commands/connected-accounts-module.js +8 -0
- package/esm/public/cli/commands/create-user-database.js +2 -2
- package/esm/public/cli/commands/crypto-address.js +10 -4
- package/esm/public/cli/commands/crypto-addresses-module.js +10 -0
- package/esm/public/cli/commands/crypto-auth-module.js +22 -0
- package/esm/public/cli/commands/database-provision-module.js +20 -4
- package/esm/public/cli/commands/database.js +10 -0
- package/esm/public/cli/commands/default-privilege.js +6 -2
- package/esm/public/cli/commands/denormalized-table-field.js +16 -4
- package/esm/public/cli/commands/domain.js +8 -0
- package/esm/public/cli/commands/email.js +10 -4
- package/esm/public/cli/commands/emails-module.js +8 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +6 -0
- package/esm/public/cli/commands/extend-token-expires.js +2 -2
- package/esm/public/cli/commands/field-module.js +14 -2
- package/esm/public/cli/commands/field.js +48 -12
- package/esm/public/cli/commands/foreign-key-constraint.js +24 -2
- package/esm/public/cli/commands/forgot-password.js +2 -2
- package/esm/public/cli/commands/freeze-objects.js +2 -2
- package/esm/public/cli/commands/full-text-search.js +2 -0
- package/esm/public/cli/commands/get-all-record.js +1 -1
- package/esm/public/cli/commands/hierarchy-module.js +30 -0
- package/esm/public/cli/commands/index.js +32 -8
- package/esm/public/cli/commands/init-empty-repo.js +2 -2
- package/esm/public/cli/commands/insert-node-at-path.js +2 -2
- package/esm/public/cli/commands/invite.js +24 -6
- package/esm/public/cli/commands/invites-module.js +22 -0
- package/esm/public/cli/commands/levels-module.js +46 -0
- package/esm/public/cli/commands/limits-module.js +30 -0
- package/esm/public/cli/commands/membership-types-module.js +6 -0
- package/esm/public/cli/commands/memberships-module.js +56 -0
- package/esm/public/cli/commands/node-type-registry.js +10 -2
- package/esm/public/cli/commands/object.js +12 -4
- package/esm/public/cli/commands/one-time-token.js +2 -2
- package/esm/public/cli/commands/org-admin-grant.js +6 -2
- package/esm/public/cli/commands/org-chart-edge-grant.js +10 -2
- package/esm/public/cli/commands/org-chart-edge.js +6 -0
- package/esm/public/cli/commands/org-claimed-invite.js +8 -2
- package/esm/public/cli/commands/org-grant.js +8 -2
- package/esm/public/cli/commands/org-invite.js +26 -6
- package/esm/public/cli/commands/org-limit-default.js +2 -0
- package/esm/public/cli/commands/org-limit.js +6 -0
- package/esm/public/cli/commands/org-member.js +4 -2
- package/esm/public/cli/commands/org-membership-default.js +16 -6
- package/esm/public/cli/commands/org-membership.js +34 -12
- package/esm/public/cli/commands/org-owner-grant.js +6 -2
- package/esm/public/cli/commands/org-permission-default.js +2 -0
- package/esm/public/cli/commands/org-permission.js +8 -0
- package/esm/public/cli/commands/permissions-module.js +28 -0
- package/esm/public/cli/commands/phone-number.js +10 -4
- package/esm/public/cli/commands/phone-numbers-module.js +8 -0
- package/esm/public/cli/commands/policy.js +34 -8
- package/esm/public/cli/commands/primary-key-constraint.js +18 -2
- package/esm/public/cli/commands/profiles-module.js +30 -0
- package/esm/public/cli/commands/provision-database-with-user.js +2 -2
- package/esm/public/cli/commands/ref.js +2 -0
- package/esm/public/cli/commands/relation-provision.js +58 -12
- package/esm/public/cli/commands/remove-node-at-path.js +2 -2
- package/esm/public/cli/commands/reset-password.js +2 -2
- package/esm/public/cli/commands/rls-module.js +20 -0
- package/esm/public/cli/commands/schema-grant.js +2 -0
- package/esm/public/cli/commands/schema.js +20 -4
- package/esm/public/cli/commands/secrets-module.js +6 -0
- package/esm/public/cli/commands/secure-table-provision.js +40 -10
- package/esm/public/cli/commands/send-account-deletion-email.js +2 -2
- package/esm/public/cli/commands/send-verification-email.js +2 -2
- package/esm/public/cli/commands/sessions-module.js +18 -0
- package/esm/public/cli/commands/set-and-commit.js +2 -2
- package/esm/public/cli/commands/set-data-at-path.js +2 -2
- package/esm/public/cli/commands/set-field-order.js +2 -2
- package/esm/public/cli/commands/set-password.js +2 -2
- package/esm/public/cli/commands/set-props-and-commit.js +2 -2
- package/esm/public/cli/commands/sign-in-one-time-token.js +2 -2
- package/esm/public/cli/commands/sign-in.js +2 -2
- package/esm/public/cli/commands/sign-out.js +2 -2
- package/esm/public/cli/commands/sign-up.js +2 -2
- package/esm/public/cli/commands/site-metadatum.js +6 -0
- package/esm/public/cli/commands/site-module.js +2 -2
- package/esm/public/cli/commands/site-theme.js +2 -2
- package/esm/public/cli/commands/site.js +14 -0
- package/esm/public/cli/commands/sql-migration.js +12 -1
- package/esm/public/cli/commands/store.js +2 -0
- package/esm/public/cli/commands/submit-invite-code.js +2 -2
- package/esm/public/cli/commands/submit-org-invite-code.js +2 -2
- package/esm/public/cli/commands/table-grant.js +8 -2
- package/esm/public/cli/commands/table-module.js +16 -4
- package/esm/public/cli/commands/table-template-module.js +12 -2
- package/esm/public/cli/commands/table.js +36 -8
- package/esm/public/cli/commands/trigger-function.js +2 -0
- package/esm/public/cli/commands/trigger.js +18 -2
- package/esm/public/cli/commands/unique-constraint.js +20 -2
- package/esm/public/cli/commands/update-node-at-path.js +2 -2
- package/esm/public/cli/commands/user-auth-module.js +48 -0
- package/esm/public/cli/commands/user.js +10 -0
- package/esm/public/cli/commands/users-module.js +10 -0
- package/esm/public/cli/commands/uuid-module.js +4 -0
- package/esm/public/cli/commands/verify-email.js +2 -2
- package/esm/public/cli/commands/verify-password.js +2 -2
- package/esm/public/cli/commands/verify-totp.js +2 -2
- package/esm/public/cli/commands/view-grant.js +10 -4
- package/esm/public/cli/commands/view-rule.js +4 -0
- package/esm/public/cli/commands/view-table.js +2 -0
- package/esm/public/cli/commands/view.js +34 -10
- package/esm/public/cli/index.js +2 -2
- package/esm/public/cli/utils.d.ts +13 -0
- package/esm/public/cli/utils.js +24 -0
- package/objects/cli/commands/commit.js +12 -0
- package/objects/cli/commands/freeze-objects.js +1 -1
- package/objects/cli/commands/get-all-record.js +1 -1
- package/objects/cli/commands/init-empty-repo.js +1 -1
- package/objects/cli/commands/insert-node-at-path.js +1 -1
- package/objects/cli/commands/object.js +12 -4
- package/objects/cli/commands/ref.js +2 -0
- package/objects/cli/commands/remove-node-at-path.js +1 -1
- package/objects/cli/commands/set-and-commit.js +1 -1
- package/objects/cli/commands/set-data-at-path.js +1 -1
- package/objects/cli/commands/set-props-and-commit.js +1 -1
- package/objects/cli/commands/store.js +2 -0
- package/objects/cli/commands/update-node-at-path.js +1 -1
- package/objects/cli/index.js +2 -2
- package/objects/cli/utils.d.ts +13 -0
- package/objects/cli/utils.js +25 -0
- package/package.json +6 -6
- package/public/cli/commands/api-module.js +2 -2
- package/public/cli/commands/api.js +10 -2
- package/public/cli/commands/app-achievement.js +4 -0
- package/public/cli/commands/app-admin-grant.js +6 -2
- package/public/cli/commands/app-grant.js +8 -2
- package/public/cli/commands/app-level-requirement.js +6 -0
- package/public/cli/commands/app-level.js +6 -0
- package/public/cli/commands/app-limit-default.js +2 -0
- package/public/cli/commands/app-limit.js +6 -0
- package/public/cli/commands/app-membership-default.js +12 -4
- package/public/cli/commands/app-membership.js +38 -14
- package/public/cli/commands/app-owner-grant.js +6 -2
- package/public/cli/commands/app-permission-default.js +2 -0
- package/public/cli/commands/app-permission.js +8 -0
- package/public/cli/commands/app-step.js +4 -0
- package/public/cli/commands/app.js +12 -0
- package/public/cli/commands/apply-rls.js +1 -1
- package/public/cli/commands/ast-migration.js +15 -4
- package/public/cli/commands/audit-log.js +10 -2
- package/public/cli/commands/bootstrap-user.js +1 -1
- package/public/cli/commands/check-constraint.js +22 -4
- package/public/cli/commands/check-password.js +1 -1
- package/public/cli/commands/claimed-invite.js +8 -2
- package/public/cli/commands/commit.js +12 -0
- package/public/cli/commands/confirm-delete-account.js +1 -1
- package/public/cli/commands/connected-account.js +8 -4
- package/public/cli/commands/connected-accounts-module.js +8 -0
- package/public/cli/commands/create-user-database.js +1 -1
- package/public/cli/commands/crypto-address.js +10 -4
- package/public/cli/commands/crypto-addresses-module.js +10 -0
- package/public/cli/commands/crypto-auth-module.js +22 -0
- package/public/cli/commands/database-provision-module.js +20 -4
- package/public/cli/commands/database.js +10 -0
- package/public/cli/commands/default-privilege.js +6 -2
- package/public/cli/commands/denormalized-table-field.js +16 -4
- package/public/cli/commands/domain.js +8 -0
- package/public/cli/commands/email.js +10 -4
- package/public/cli/commands/emails-module.js +8 -0
- package/public/cli/commands/encrypted-secrets-module.js +6 -0
- package/public/cli/commands/extend-token-expires.js +1 -1
- package/public/cli/commands/field-module.js +14 -2
- package/public/cli/commands/field.js +48 -12
- package/public/cli/commands/foreign-key-constraint.js +24 -2
- package/public/cli/commands/forgot-password.js +1 -1
- package/public/cli/commands/freeze-objects.js +1 -1
- package/public/cli/commands/full-text-search.js +2 -0
- package/public/cli/commands/get-all-record.js +1 -1
- package/public/cli/commands/hierarchy-module.js +30 -0
- package/public/cli/commands/index.js +32 -8
- package/public/cli/commands/init-empty-repo.js +1 -1
- package/public/cli/commands/insert-node-at-path.js +1 -1
- package/public/cli/commands/invite.js +24 -6
- package/public/cli/commands/invites-module.js +22 -0
- package/public/cli/commands/levels-module.js +46 -0
- package/public/cli/commands/limits-module.js +30 -0
- package/public/cli/commands/membership-types-module.js +6 -0
- package/public/cli/commands/memberships-module.js +56 -0
- package/public/cli/commands/node-type-registry.js +10 -2
- package/public/cli/commands/object.js +12 -4
- package/public/cli/commands/one-time-token.js +1 -1
- package/public/cli/commands/org-admin-grant.js +6 -2
- package/public/cli/commands/org-chart-edge-grant.js +10 -2
- package/public/cli/commands/org-chart-edge.js +6 -0
- package/public/cli/commands/org-claimed-invite.js +8 -2
- package/public/cli/commands/org-grant.js +8 -2
- package/public/cli/commands/org-invite.js +26 -6
- package/public/cli/commands/org-limit-default.js +2 -0
- package/public/cli/commands/org-limit.js +6 -0
- package/public/cli/commands/org-member.js +4 -2
- package/public/cli/commands/org-membership-default.js +16 -6
- package/public/cli/commands/org-membership.js +34 -12
- package/public/cli/commands/org-owner-grant.js +6 -2
- package/public/cli/commands/org-permission-default.js +2 -0
- package/public/cli/commands/org-permission.js +8 -0
- package/public/cli/commands/permissions-module.js +28 -0
- package/public/cli/commands/phone-number.js +10 -4
- package/public/cli/commands/phone-numbers-module.js +8 -0
- package/public/cli/commands/policy.js +34 -8
- package/public/cli/commands/primary-key-constraint.js +18 -2
- package/public/cli/commands/profiles-module.js +30 -0
- package/public/cli/commands/provision-database-with-user.js +1 -1
- package/public/cli/commands/ref.js +2 -0
- package/public/cli/commands/relation-provision.js +58 -12
- package/public/cli/commands/remove-node-at-path.js +1 -1
- package/public/cli/commands/reset-password.js +1 -1
- package/public/cli/commands/rls-module.js +20 -0
- package/public/cli/commands/schema-grant.js +2 -0
- package/public/cli/commands/schema.js +20 -4
- package/public/cli/commands/secrets-module.js +6 -0
- package/public/cli/commands/secure-table-provision.js +40 -10
- package/public/cli/commands/send-account-deletion-email.js +1 -1
- package/public/cli/commands/send-verification-email.js +1 -1
- package/public/cli/commands/sessions-module.js +18 -0
- package/public/cli/commands/set-and-commit.js +1 -1
- package/public/cli/commands/set-data-at-path.js +1 -1
- package/public/cli/commands/set-field-order.js +1 -1
- package/public/cli/commands/set-password.js +1 -1
- package/public/cli/commands/set-props-and-commit.js +1 -1
- package/public/cli/commands/sign-in-one-time-token.js +1 -1
- package/public/cli/commands/sign-in.js +1 -1
- package/public/cli/commands/sign-out.js +1 -1
- package/public/cli/commands/sign-up.js +1 -1
- package/public/cli/commands/site-metadatum.js +6 -0
- package/public/cli/commands/site-module.js +2 -2
- package/public/cli/commands/site-theme.js +2 -2
- package/public/cli/commands/site.js +14 -0
- package/public/cli/commands/sql-migration.js +12 -1
- package/public/cli/commands/store.js +2 -0
- package/public/cli/commands/submit-invite-code.js +1 -1
- package/public/cli/commands/submit-org-invite-code.js +1 -1
- package/public/cli/commands/table-grant.js +8 -2
- package/public/cli/commands/table-module.js +16 -4
- package/public/cli/commands/table-template-module.js +12 -2
- package/public/cli/commands/table.js +36 -8
- package/public/cli/commands/trigger-function.js +2 -0
- package/public/cli/commands/trigger.js +18 -2
- package/public/cli/commands/unique-constraint.js +20 -2
- package/public/cli/commands/update-node-at-path.js +1 -1
- package/public/cli/commands/user-auth-module.js +48 -0
- package/public/cli/commands/user.js +10 -0
- package/public/cli/commands/users-module.js +10 -0
- package/public/cli/commands/uuid-module.js +4 -0
- package/public/cli/commands/verify-email.js +1 -1
- package/public/cli/commands/verify-password.js +1 -1
- package/public/cli/commands/verify-totp.js +1 -1
- package/public/cli/commands/view-grant.js +10 -4
- package/public/cli/commands/view-rule.js +4 -0
- package/public/cli/commands/view-table.js +2 -0
- package/public/cli/commands/view.js +34 -10
- package/public/cli/index.js +2 -2
- package/public/cli/utils.d.ts +13 -0
- package/public/cli/utils.js +25 -0
|
@@ -148,60 +148,70 @@ async function handleCreate(argv, prompter) {
|
|
|
148
148
|
name: 'schemaId',
|
|
149
149
|
message: 'schemaId',
|
|
150
150
|
required: false,
|
|
151
|
+
skipPrompt: true,
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
type: 'text',
|
|
154
155
|
name: 'privateSchemaId',
|
|
155
156
|
message: 'privateSchemaId',
|
|
156
157
|
required: false,
|
|
158
|
+
skipPrompt: true,
|
|
157
159
|
},
|
|
158
160
|
{
|
|
159
161
|
type: 'text',
|
|
160
162
|
name: 'emailsTableId',
|
|
161
163
|
message: 'emailsTableId',
|
|
162
164
|
required: false,
|
|
165
|
+
skipPrompt: true,
|
|
163
166
|
},
|
|
164
167
|
{
|
|
165
168
|
type: 'text',
|
|
166
169
|
name: 'usersTableId',
|
|
167
170
|
message: 'usersTableId',
|
|
168
171
|
required: false,
|
|
172
|
+
skipPrompt: true,
|
|
169
173
|
},
|
|
170
174
|
{
|
|
171
175
|
type: 'text',
|
|
172
176
|
name: 'invitesTableId',
|
|
173
177
|
message: 'invitesTableId',
|
|
174
178
|
required: false,
|
|
179
|
+
skipPrompt: true,
|
|
175
180
|
},
|
|
176
181
|
{
|
|
177
182
|
type: 'text',
|
|
178
183
|
name: 'claimedInvitesTableId',
|
|
179
184
|
message: 'claimedInvitesTableId',
|
|
180
185
|
required: false,
|
|
186
|
+
skipPrompt: true,
|
|
181
187
|
},
|
|
182
188
|
{
|
|
183
189
|
type: 'text',
|
|
184
190
|
name: 'invitesTableName',
|
|
185
191
|
message: 'invitesTableName',
|
|
186
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
187
194
|
},
|
|
188
195
|
{
|
|
189
196
|
type: 'text',
|
|
190
197
|
name: 'claimedInvitesTableName',
|
|
191
198
|
message: 'claimedInvitesTableName',
|
|
192
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
193
201
|
},
|
|
194
202
|
{
|
|
195
203
|
type: 'text',
|
|
196
204
|
name: 'submitInviteCodeFunction',
|
|
197
205
|
message: 'submitInviteCodeFunction',
|
|
198
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
199
208
|
},
|
|
200
209
|
{
|
|
201
210
|
type: 'text',
|
|
202
211
|
name: 'prefix',
|
|
203
212
|
message: 'prefix',
|
|
204
213
|
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
205
215
|
},
|
|
206
216
|
{
|
|
207
217
|
type: 'text',
|
|
@@ -214,6 +224,7 @@ async function handleCreate(argv, prompter) {
|
|
|
214
224
|
name: 'entityTableId',
|
|
215
225
|
message: 'entityTableId',
|
|
216
226
|
required: false,
|
|
227
|
+
skipPrompt: true,
|
|
217
228
|
},
|
|
218
229
|
]);
|
|
219
230
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -284,60 +295,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
284
295
|
name: 'schemaId',
|
|
285
296
|
message: 'schemaId',
|
|
286
297
|
required: false,
|
|
298
|
+
skipPrompt: true,
|
|
287
299
|
},
|
|
288
300
|
{
|
|
289
301
|
type: 'text',
|
|
290
302
|
name: 'privateSchemaId',
|
|
291
303
|
message: 'privateSchemaId',
|
|
292
304
|
required: false,
|
|
305
|
+
skipPrompt: true,
|
|
293
306
|
},
|
|
294
307
|
{
|
|
295
308
|
type: 'text',
|
|
296
309
|
name: 'emailsTableId',
|
|
297
310
|
message: 'emailsTableId',
|
|
298
311
|
required: false,
|
|
312
|
+
skipPrompt: true,
|
|
299
313
|
},
|
|
300
314
|
{
|
|
301
315
|
type: 'text',
|
|
302
316
|
name: 'usersTableId',
|
|
303
317
|
message: 'usersTableId',
|
|
304
318
|
required: false,
|
|
319
|
+
skipPrompt: true,
|
|
305
320
|
},
|
|
306
321
|
{
|
|
307
322
|
type: 'text',
|
|
308
323
|
name: 'invitesTableId',
|
|
309
324
|
message: 'invitesTableId',
|
|
310
325
|
required: false,
|
|
326
|
+
skipPrompt: true,
|
|
311
327
|
},
|
|
312
328
|
{
|
|
313
329
|
type: 'text',
|
|
314
330
|
name: 'claimedInvitesTableId',
|
|
315
331
|
message: 'claimedInvitesTableId',
|
|
316
332
|
required: false,
|
|
333
|
+
skipPrompt: true,
|
|
317
334
|
},
|
|
318
335
|
{
|
|
319
336
|
type: 'text',
|
|
320
337
|
name: 'invitesTableName',
|
|
321
338
|
message: 'invitesTableName',
|
|
322
339
|
required: false,
|
|
340
|
+
skipPrompt: true,
|
|
323
341
|
},
|
|
324
342
|
{
|
|
325
343
|
type: 'text',
|
|
326
344
|
name: 'claimedInvitesTableName',
|
|
327
345
|
message: 'claimedInvitesTableName',
|
|
328
346
|
required: false,
|
|
347
|
+
skipPrompt: true,
|
|
329
348
|
},
|
|
330
349
|
{
|
|
331
350
|
type: 'text',
|
|
332
351
|
name: 'submitInviteCodeFunction',
|
|
333
352
|
message: 'submitInviteCodeFunction',
|
|
334
353
|
required: false,
|
|
354
|
+
skipPrompt: true,
|
|
335
355
|
},
|
|
336
356
|
{
|
|
337
357
|
type: 'text',
|
|
338
358
|
name: 'prefix',
|
|
339
359
|
message: 'prefix',
|
|
340
360
|
required: false,
|
|
361
|
+
skipPrompt: true,
|
|
341
362
|
},
|
|
342
363
|
{
|
|
343
364
|
type: 'text',
|
|
@@ -350,6 +371,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
350
371
|
name: 'entityTableId',
|
|
351
372
|
message: 'entityTableId',
|
|
352
373
|
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
353
375
|
},
|
|
354
376
|
]);
|
|
355
377
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -184,126 +184,147 @@ async function handleCreate(argv, prompter) {
|
|
|
184
184
|
name: 'schemaId',
|
|
185
185
|
message: 'schemaId',
|
|
186
186
|
required: false,
|
|
187
|
+
skipPrompt: true,
|
|
187
188
|
},
|
|
188
189
|
{
|
|
189
190
|
type: 'text',
|
|
190
191
|
name: 'privateSchemaId',
|
|
191
192
|
message: 'privateSchemaId',
|
|
192
193
|
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
193
195
|
},
|
|
194
196
|
{
|
|
195
197
|
type: 'text',
|
|
196
198
|
name: 'stepsTableId',
|
|
197
199
|
message: 'stepsTableId',
|
|
198
200
|
required: false,
|
|
201
|
+
skipPrompt: true,
|
|
199
202
|
},
|
|
200
203
|
{
|
|
201
204
|
type: 'text',
|
|
202
205
|
name: 'stepsTableName',
|
|
203
206
|
message: 'stepsTableName',
|
|
204
207
|
required: false,
|
|
208
|
+
skipPrompt: true,
|
|
205
209
|
},
|
|
206
210
|
{
|
|
207
211
|
type: 'text',
|
|
208
212
|
name: 'achievementsTableId',
|
|
209
213
|
message: 'achievementsTableId',
|
|
210
214
|
required: false,
|
|
215
|
+
skipPrompt: true,
|
|
211
216
|
},
|
|
212
217
|
{
|
|
213
218
|
type: 'text',
|
|
214
219
|
name: 'achievementsTableName',
|
|
215
220
|
message: 'achievementsTableName',
|
|
216
221
|
required: false,
|
|
222
|
+
skipPrompt: true,
|
|
217
223
|
},
|
|
218
224
|
{
|
|
219
225
|
type: 'text',
|
|
220
226
|
name: 'levelsTableId',
|
|
221
227
|
message: 'levelsTableId',
|
|
222
228
|
required: false,
|
|
229
|
+
skipPrompt: true,
|
|
223
230
|
},
|
|
224
231
|
{
|
|
225
232
|
type: 'text',
|
|
226
233
|
name: 'levelsTableName',
|
|
227
234
|
message: 'levelsTableName',
|
|
228
235
|
required: false,
|
|
236
|
+
skipPrompt: true,
|
|
229
237
|
},
|
|
230
238
|
{
|
|
231
239
|
type: 'text',
|
|
232
240
|
name: 'levelRequirementsTableId',
|
|
233
241
|
message: 'levelRequirementsTableId',
|
|
234
242
|
required: false,
|
|
243
|
+
skipPrompt: true,
|
|
235
244
|
},
|
|
236
245
|
{
|
|
237
246
|
type: 'text',
|
|
238
247
|
name: 'levelRequirementsTableName',
|
|
239
248
|
message: 'levelRequirementsTableName',
|
|
240
249
|
required: false,
|
|
250
|
+
skipPrompt: true,
|
|
241
251
|
},
|
|
242
252
|
{
|
|
243
253
|
type: 'text',
|
|
244
254
|
name: 'completedStep',
|
|
245
255
|
message: 'completedStep',
|
|
246
256
|
required: false,
|
|
257
|
+
skipPrompt: true,
|
|
247
258
|
},
|
|
248
259
|
{
|
|
249
260
|
type: 'text',
|
|
250
261
|
name: 'incompletedStep',
|
|
251
262
|
message: 'incompletedStep',
|
|
252
263
|
required: false,
|
|
264
|
+
skipPrompt: true,
|
|
253
265
|
},
|
|
254
266
|
{
|
|
255
267
|
type: 'text',
|
|
256
268
|
name: 'tgAchievement',
|
|
257
269
|
message: 'tgAchievement',
|
|
258
270
|
required: false,
|
|
271
|
+
skipPrompt: true,
|
|
259
272
|
},
|
|
260
273
|
{
|
|
261
274
|
type: 'text',
|
|
262
275
|
name: 'tgAchievementToggle',
|
|
263
276
|
message: 'tgAchievementToggle',
|
|
264
277
|
required: false,
|
|
278
|
+
skipPrompt: true,
|
|
265
279
|
},
|
|
266
280
|
{
|
|
267
281
|
type: 'text',
|
|
268
282
|
name: 'tgAchievementToggleBoolean',
|
|
269
283
|
message: 'tgAchievementToggleBoolean',
|
|
270
284
|
required: false,
|
|
285
|
+
skipPrompt: true,
|
|
271
286
|
},
|
|
272
287
|
{
|
|
273
288
|
type: 'text',
|
|
274
289
|
name: 'tgAchievementBoolean',
|
|
275
290
|
message: 'tgAchievementBoolean',
|
|
276
291
|
required: false,
|
|
292
|
+
skipPrompt: true,
|
|
277
293
|
},
|
|
278
294
|
{
|
|
279
295
|
type: 'text',
|
|
280
296
|
name: 'upsertAchievement',
|
|
281
297
|
message: 'upsertAchievement',
|
|
282
298
|
required: false,
|
|
299
|
+
skipPrompt: true,
|
|
283
300
|
},
|
|
284
301
|
{
|
|
285
302
|
type: 'text',
|
|
286
303
|
name: 'tgUpdateAchievements',
|
|
287
304
|
message: 'tgUpdateAchievements',
|
|
288
305
|
required: false,
|
|
306
|
+
skipPrompt: true,
|
|
289
307
|
},
|
|
290
308
|
{
|
|
291
309
|
type: 'text',
|
|
292
310
|
name: 'stepsRequired',
|
|
293
311
|
message: 'stepsRequired',
|
|
294
312
|
required: false,
|
|
313
|
+
skipPrompt: true,
|
|
295
314
|
},
|
|
296
315
|
{
|
|
297
316
|
type: 'text',
|
|
298
317
|
name: 'levelAchieved',
|
|
299
318
|
message: 'levelAchieved',
|
|
300
319
|
required: false,
|
|
320
|
+
skipPrompt: true,
|
|
301
321
|
},
|
|
302
322
|
{
|
|
303
323
|
type: 'text',
|
|
304
324
|
name: 'prefix',
|
|
305
325
|
message: 'prefix',
|
|
306
326
|
required: false,
|
|
327
|
+
skipPrompt: true,
|
|
307
328
|
},
|
|
308
329
|
{
|
|
309
330
|
type: 'text',
|
|
@@ -316,12 +337,14 @@ async function handleCreate(argv, prompter) {
|
|
|
316
337
|
name: 'entityTableId',
|
|
317
338
|
message: 'entityTableId',
|
|
318
339
|
required: false,
|
|
340
|
+
skipPrompt: true,
|
|
319
341
|
},
|
|
320
342
|
{
|
|
321
343
|
type: 'text',
|
|
322
344
|
name: 'actorTableId',
|
|
323
345
|
message: 'actorTableId',
|
|
324
346
|
required: false,
|
|
347
|
+
skipPrompt: true,
|
|
325
348
|
},
|
|
326
349
|
]);
|
|
327
350
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -416,126 +439,147 @@ async function handleUpdate(argv, prompter) {
|
|
|
416
439
|
name: 'schemaId',
|
|
417
440
|
message: 'schemaId',
|
|
418
441
|
required: false,
|
|
442
|
+
skipPrompt: true,
|
|
419
443
|
},
|
|
420
444
|
{
|
|
421
445
|
type: 'text',
|
|
422
446
|
name: 'privateSchemaId',
|
|
423
447
|
message: 'privateSchemaId',
|
|
424
448
|
required: false,
|
|
449
|
+
skipPrompt: true,
|
|
425
450
|
},
|
|
426
451
|
{
|
|
427
452
|
type: 'text',
|
|
428
453
|
name: 'stepsTableId',
|
|
429
454
|
message: 'stepsTableId',
|
|
430
455
|
required: false,
|
|
456
|
+
skipPrompt: true,
|
|
431
457
|
},
|
|
432
458
|
{
|
|
433
459
|
type: 'text',
|
|
434
460
|
name: 'stepsTableName',
|
|
435
461
|
message: 'stepsTableName',
|
|
436
462
|
required: false,
|
|
463
|
+
skipPrompt: true,
|
|
437
464
|
},
|
|
438
465
|
{
|
|
439
466
|
type: 'text',
|
|
440
467
|
name: 'achievementsTableId',
|
|
441
468
|
message: 'achievementsTableId',
|
|
442
469
|
required: false,
|
|
470
|
+
skipPrompt: true,
|
|
443
471
|
},
|
|
444
472
|
{
|
|
445
473
|
type: 'text',
|
|
446
474
|
name: 'achievementsTableName',
|
|
447
475
|
message: 'achievementsTableName',
|
|
448
476
|
required: false,
|
|
477
|
+
skipPrompt: true,
|
|
449
478
|
},
|
|
450
479
|
{
|
|
451
480
|
type: 'text',
|
|
452
481
|
name: 'levelsTableId',
|
|
453
482
|
message: 'levelsTableId',
|
|
454
483
|
required: false,
|
|
484
|
+
skipPrompt: true,
|
|
455
485
|
},
|
|
456
486
|
{
|
|
457
487
|
type: 'text',
|
|
458
488
|
name: 'levelsTableName',
|
|
459
489
|
message: 'levelsTableName',
|
|
460
490
|
required: false,
|
|
491
|
+
skipPrompt: true,
|
|
461
492
|
},
|
|
462
493
|
{
|
|
463
494
|
type: 'text',
|
|
464
495
|
name: 'levelRequirementsTableId',
|
|
465
496
|
message: 'levelRequirementsTableId',
|
|
466
497
|
required: false,
|
|
498
|
+
skipPrompt: true,
|
|
467
499
|
},
|
|
468
500
|
{
|
|
469
501
|
type: 'text',
|
|
470
502
|
name: 'levelRequirementsTableName',
|
|
471
503
|
message: 'levelRequirementsTableName',
|
|
472
504
|
required: false,
|
|
505
|
+
skipPrompt: true,
|
|
473
506
|
},
|
|
474
507
|
{
|
|
475
508
|
type: 'text',
|
|
476
509
|
name: 'completedStep',
|
|
477
510
|
message: 'completedStep',
|
|
478
511
|
required: false,
|
|
512
|
+
skipPrompt: true,
|
|
479
513
|
},
|
|
480
514
|
{
|
|
481
515
|
type: 'text',
|
|
482
516
|
name: 'incompletedStep',
|
|
483
517
|
message: 'incompletedStep',
|
|
484
518
|
required: false,
|
|
519
|
+
skipPrompt: true,
|
|
485
520
|
},
|
|
486
521
|
{
|
|
487
522
|
type: 'text',
|
|
488
523
|
name: 'tgAchievement',
|
|
489
524
|
message: 'tgAchievement',
|
|
490
525
|
required: false,
|
|
526
|
+
skipPrompt: true,
|
|
491
527
|
},
|
|
492
528
|
{
|
|
493
529
|
type: 'text',
|
|
494
530
|
name: 'tgAchievementToggle',
|
|
495
531
|
message: 'tgAchievementToggle',
|
|
496
532
|
required: false,
|
|
533
|
+
skipPrompt: true,
|
|
497
534
|
},
|
|
498
535
|
{
|
|
499
536
|
type: 'text',
|
|
500
537
|
name: 'tgAchievementToggleBoolean',
|
|
501
538
|
message: 'tgAchievementToggleBoolean',
|
|
502
539
|
required: false,
|
|
540
|
+
skipPrompt: true,
|
|
503
541
|
},
|
|
504
542
|
{
|
|
505
543
|
type: 'text',
|
|
506
544
|
name: 'tgAchievementBoolean',
|
|
507
545
|
message: 'tgAchievementBoolean',
|
|
508
546
|
required: false,
|
|
547
|
+
skipPrompt: true,
|
|
509
548
|
},
|
|
510
549
|
{
|
|
511
550
|
type: 'text',
|
|
512
551
|
name: 'upsertAchievement',
|
|
513
552
|
message: 'upsertAchievement',
|
|
514
553
|
required: false,
|
|
554
|
+
skipPrompt: true,
|
|
515
555
|
},
|
|
516
556
|
{
|
|
517
557
|
type: 'text',
|
|
518
558
|
name: 'tgUpdateAchievements',
|
|
519
559
|
message: 'tgUpdateAchievements',
|
|
520
560
|
required: false,
|
|
561
|
+
skipPrompt: true,
|
|
521
562
|
},
|
|
522
563
|
{
|
|
523
564
|
type: 'text',
|
|
524
565
|
name: 'stepsRequired',
|
|
525
566
|
message: 'stepsRequired',
|
|
526
567
|
required: false,
|
|
568
|
+
skipPrompt: true,
|
|
527
569
|
},
|
|
528
570
|
{
|
|
529
571
|
type: 'text',
|
|
530
572
|
name: 'levelAchieved',
|
|
531
573
|
message: 'levelAchieved',
|
|
532
574
|
required: false,
|
|
575
|
+
skipPrompt: true,
|
|
533
576
|
},
|
|
534
577
|
{
|
|
535
578
|
type: 'text',
|
|
536
579
|
name: 'prefix',
|
|
537
580
|
message: 'prefix',
|
|
538
581
|
required: false,
|
|
582
|
+
skipPrompt: true,
|
|
539
583
|
},
|
|
540
584
|
{
|
|
541
585
|
type: 'text',
|
|
@@ -548,12 +592,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
548
592
|
name: 'entityTableId',
|
|
549
593
|
message: 'entityTableId',
|
|
550
594
|
required: false,
|
|
595
|
+
skipPrompt: true,
|
|
551
596
|
},
|
|
552
597
|
{
|
|
553
598
|
type: 'text',
|
|
554
599
|
name: 'actorTableId',
|
|
555
600
|
message: 'actorTableId',
|
|
556
601
|
required: false,
|
|
602
|
+
skipPrompt: true,
|
|
557
603
|
},
|
|
558
604
|
]);
|
|
559
605
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -160,78 +160,91 @@ async function handleCreate(argv, prompter) {
|
|
|
160
160
|
name: 'schemaId',
|
|
161
161
|
message: 'schemaId',
|
|
162
162
|
required: false,
|
|
163
|
+
skipPrompt: true,
|
|
163
164
|
},
|
|
164
165
|
{
|
|
165
166
|
type: 'text',
|
|
166
167
|
name: 'privateSchemaId',
|
|
167
168
|
message: 'privateSchemaId',
|
|
168
169
|
required: false,
|
|
170
|
+
skipPrompt: true,
|
|
169
171
|
},
|
|
170
172
|
{
|
|
171
173
|
type: 'text',
|
|
172
174
|
name: 'tableId',
|
|
173
175
|
message: 'tableId',
|
|
174
176
|
required: false,
|
|
177
|
+
skipPrompt: true,
|
|
175
178
|
},
|
|
176
179
|
{
|
|
177
180
|
type: 'text',
|
|
178
181
|
name: 'tableName',
|
|
179
182
|
message: 'tableName',
|
|
180
183
|
required: false,
|
|
184
|
+
skipPrompt: true,
|
|
181
185
|
},
|
|
182
186
|
{
|
|
183
187
|
type: 'text',
|
|
184
188
|
name: 'defaultTableId',
|
|
185
189
|
message: 'defaultTableId',
|
|
186
190
|
required: false,
|
|
191
|
+
skipPrompt: true,
|
|
187
192
|
},
|
|
188
193
|
{
|
|
189
194
|
type: 'text',
|
|
190
195
|
name: 'defaultTableName',
|
|
191
196
|
message: 'defaultTableName',
|
|
192
197
|
required: false,
|
|
198
|
+
skipPrompt: true,
|
|
193
199
|
},
|
|
194
200
|
{
|
|
195
201
|
type: 'text',
|
|
196
202
|
name: 'limitIncrementFunction',
|
|
197
203
|
message: 'limitIncrementFunction',
|
|
198
204
|
required: false,
|
|
205
|
+
skipPrompt: true,
|
|
199
206
|
},
|
|
200
207
|
{
|
|
201
208
|
type: 'text',
|
|
202
209
|
name: 'limitDecrementFunction',
|
|
203
210
|
message: 'limitDecrementFunction',
|
|
204
211
|
required: false,
|
|
212
|
+
skipPrompt: true,
|
|
205
213
|
},
|
|
206
214
|
{
|
|
207
215
|
type: 'text',
|
|
208
216
|
name: 'limitIncrementTrigger',
|
|
209
217
|
message: 'limitIncrementTrigger',
|
|
210
218
|
required: false,
|
|
219
|
+
skipPrompt: true,
|
|
211
220
|
},
|
|
212
221
|
{
|
|
213
222
|
type: 'text',
|
|
214
223
|
name: 'limitDecrementTrigger',
|
|
215
224
|
message: 'limitDecrementTrigger',
|
|
216
225
|
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
217
227
|
},
|
|
218
228
|
{
|
|
219
229
|
type: 'text',
|
|
220
230
|
name: 'limitUpdateTrigger',
|
|
221
231
|
message: 'limitUpdateTrigger',
|
|
222
232
|
required: false,
|
|
233
|
+
skipPrompt: true,
|
|
223
234
|
},
|
|
224
235
|
{
|
|
225
236
|
type: 'text',
|
|
226
237
|
name: 'limitCheckFunction',
|
|
227
238
|
message: 'limitCheckFunction',
|
|
228
239
|
required: false,
|
|
240
|
+
skipPrompt: true,
|
|
229
241
|
},
|
|
230
242
|
{
|
|
231
243
|
type: 'text',
|
|
232
244
|
name: 'prefix',
|
|
233
245
|
message: 'prefix',
|
|
234
246
|
required: false,
|
|
247
|
+
skipPrompt: true,
|
|
235
248
|
},
|
|
236
249
|
{
|
|
237
250
|
type: 'text',
|
|
@@ -244,12 +257,14 @@ async function handleCreate(argv, prompter) {
|
|
|
244
257
|
name: 'entityTableId',
|
|
245
258
|
message: 'entityTableId',
|
|
246
259
|
required: false,
|
|
260
|
+
skipPrompt: true,
|
|
247
261
|
},
|
|
248
262
|
{
|
|
249
263
|
type: 'text',
|
|
250
264
|
name: 'actorTableId',
|
|
251
265
|
message: 'actorTableId',
|
|
252
266
|
required: false,
|
|
267
|
+
skipPrompt: true,
|
|
253
268
|
},
|
|
254
269
|
]);
|
|
255
270
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -328,78 +343,91 @@ async function handleUpdate(argv, prompter) {
|
|
|
328
343
|
name: 'schemaId',
|
|
329
344
|
message: 'schemaId',
|
|
330
345
|
required: false,
|
|
346
|
+
skipPrompt: true,
|
|
331
347
|
},
|
|
332
348
|
{
|
|
333
349
|
type: 'text',
|
|
334
350
|
name: 'privateSchemaId',
|
|
335
351
|
message: 'privateSchemaId',
|
|
336
352
|
required: false,
|
|
353
|
+
skipPrompt: true,
|
|
337
354
|
},
|
|
338
355
|
{
|
|
339
356
|
type: 'text',
|
|
340
357
|
name: 'tableId',
|
|
341
358
|
message: 'tableId',
|
|
342
359
|
required: false,
|
|
360
|
+
skipPrompt: true,
|
|
343
361
|
},
|
|
344
362
|
{
|
|
345
363
|
type: 'text',
|
|
346
364
|
name: 'tableName',
|
|
347
365
|
message: 'tableName',
|
|
348
366
|
required: false,
|
|
367
|
+
skipPrompt: true,
|
|
349
368
|
},
|
|
350
369
|
{
|
|
351
370
|
type: 'text',
|
|
352
371
|
name: 'defaultTableId',
|
|
353
372
|
message: 'defaultTableId',
|
|
354
373
|
required: false,
|
|
374
|
+
skipPrompt: true,
|
|
355
375
|
},
|
|
356
376
|
{
|
|
357
377
|
type: 'text',
|
|
358
378
|
name: 'defaultTableName',
|
|
359
379
|
message: 'defaultTableName',
|
|
360
380
|
required: false,
|
|
381
|
+
skipPrompt: true,
|
|
361
382
|
},
|
|
362
383
|
{
|
|
363
384
|
type: 'text',
|
|
364
385
|
name: 'limitIncrementFunction',
|
|
365
386
|
message: 'limitIncrementFunction',
|
|
366
387
|
required: false,
|
|
388
|
+
skipPrompt: true,
|
|
367
389
|
},
|
|
368
390
|
{
|
|
369
391
|
type: 'text',
|
|
370
392
|
name: 'limitDecrementFunction',
|
|
371
393
|
message: 'limitDecrementFunction',
|
|
372
394
|
required: false,
|
|
395
|
+
skipPrompt: true,
|
|
373
396
|
},
|
|
374
397
|
{
|
|
375
398
|
type: 'text',
|
|
376
399
|
name: 'limitIncrementTrigger',
|
|
377
400
|
message: 'limitIncrementTrigger',
|
|
378
401
|
required: false,
|
|
402
|
+
skipPrompt: true,
|
|
379
403
|
},
|
|
380
404
|
{
|
|
381
405
|
type: 'text',
|
|
382
406
|
name: 'limitDecrementTrigger',
|
|
383
407
|
message: 'limitDecrementTrigger',
|
|
384
408
|
required: false,
|
|
409
|
+
skipPrompt: true,
|
|
385
410
|
},
|
|
386
411
|
{
|
|
387
412
|
type: 'text',
|
|
388
413
|
name: 'limitUpdateTrigger',
|
|
389
414
|
message: 'limitUpdateTrigger',
|
|
390
415
|
required: false,
|
|
416
|
+
skipPrompt: true,
|
|
391
417
|
},
|
|
392
418
|
{
|
|
393
419
|
type: 'text',
|
|
394
420
|
name: 'limitCheckFunction',
|
|
395
421
|
message: 'limitCheckFunction',
|
|
396
422
|
required: false,
|
|
423
|
+
skipPrompt: true,
|
|
397
424
|
},
|
|
398
425
|
{
|
|
399
426
|
type: 'text',
|
|
400
427
|
name: 'prefix',
|
|
401
428
|
message: 'prefix',
|
|
402
429
|
required: false,
|
|
430
|
+
skipPrompt: true,
|
|
403
431
|
},
|
|
404
432
|
{
|
|
405
433
|
type: 'text',
|
|
@@ -412,12 +440,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
412
440
|
name: 'entityTableId',
|
|
413
441
|
message: 'entityTableId',
|
|
414
442
|
required: false,
|
|
443
|
+
skipPrompt: true,
|
|
415
444
|
},
|
|
416
445
|
{
|
|
417
446
|
type: 'text',
|
|
418
447
|
name: 'actorTableId',
|
|
419
448
|
message: 'actorTableId',
|
|
420
449
|
required: false,
|
|
450
|
+
skipPrompt: true,
|
|
421
451
|
},
|
|
422
452
|
]);
|
|
423
453
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|