@constructive-sdk/cli 0.2.0 → 0.3.0
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 -1
- package/admin/cli/commands/app-admin-grant.js +4 -1
- package/admin/cli/commands/app-grant.js +6 -1
- package/admin/cli/commands/app-level-requirement.js +6 -1
- package/admin/cli/commands/app-level.js +6 -1
- package/admin/cli/commands/app-limit-default.js +2 -1
- package/admin/cli/commands/app-limit.js +6 -1
- package/admin/cli/commands/app-membership-default.js +8 -1
- package/admin/cli/commands/app-membership.js +24 -1
- package/admin/cli/commands/app-owner-grant.js +4 -1
- package/admin/cli/commands/app-permission-default.js +2 -1
- package/admin/cli/commands/app-permission.js +8 -1
- package/admin/cli/commands/app-permissions-get-mask-by-names.js +3 -1
- package/admin/cli/commands/app-permissions-get-mask.js +3 -1
- package/admin/cli/commands/app-permissions-get-padded-mask.js +3 -1
- package/admin/cli/commands/app-step.js +4 -1
- package/admin/cli/commands/auth.js +0 -1
- package/admin/cli/commands/claimed-invite.js +6 -1
- package/admin/cli/commands/context.js +2 -3
- package/admin/cli/commands/invite.js +18 -1
- package/admin/cli/commands/membership-type.js +0 -1
- package/admin/cli/commands/org-admin-grant.js +4 -1
- package/admin/cli/commands/org-chart-edge-grant.js +8 -1
- package/admin/cli/commands/org-chart-edge.js +6 -1
- package/admin/cli/commands/org-claimed-invite.js +6 -1
- package/admin/cli/commands/org-get-managers-record.js +2 -121
- package/admin/cli/commands/org-get-subordinates-record.js +2 -121
- package/admin/cli/commands/org-grant.js +6 -1
- package/admin/cli/commands/org-invite.js +20 -1
- package/admin/cli/commands/org-is-manager-of.js +3 -1
- package/admin/cli/commands/org-limit-default.js +2 -1
- package/admin/cli/commands/org-limit.js +6 -1
- package/admin/cli/commands/org-member.js +2 -1
- package/admin/cli/commands/org-membership-default.js +10 -1
- package/admin/cli/commands/org-membership.js +22 -1
- package/admin/cli/commands/org-owner-grant.js +4 -1
- package/admin/cli/commands/org-permission-default.js +2 -1
- package/admin/cli/commands/org-permission.js +8 -1
- package/admin/cli/commands/org-permissions-get-mask-by-names.js +3 -1
- package/admin/cli/commands/org-permissions-get-mask.js +3 -1
- package/admin/cli/commands/org-permissions-get-padded-mask.js +3 -1
- package/admin/cli/commands/steps-achieved.js +3 -1
- package/admin/cli/commands.js +0 -1
- package/admin/cli/executor.js +0 -1
- package/admin/cli/index.js +0 -1
- package/admin/cli/node-fetch.js +0 -1
- package/admin/cli/utils.js +0 -1
- package/auth/cli/commands/audit-log.js +8 -1
- package/auth/cli/commands/auth.js +0 -1
- package/auth/cli/commands/connected-account.js +4 -1
- package/auth/cli/commands/context.js +2 -3
- package/auth/cli/commands/crypto-address.js +6 -1
- package/auth/cli/commands/email.js +6 -1
- package/auth/cli/commands/phone-number.js +6 -1
- package/auth/cli/commands/role-type.js +0 -1
- package/auth/cli/commands/user.js +10 -15
- package/auth/cli/commands.js +0 -1
- package/auth/cli/executor.js +0 -1
- package/auth/cli/index.js +0 -1
- package/auth/cli/node-fetch.js +0 -1
- package/auth/cli/utils.js +0 -1
- package/esm/admin/cli/commands/app-achievement.js +4 -1
- package/esm/admin/cli/commands/app-admin-grant.js +4 -1
- package/esm/admin/cli/commands/app-grant.js +6 -1
- package/esm/admin/cli/commands/app-level-requirement.js +6 -1
- package/esm/admin/cli/commands/app-level.js +6 -1
- package/esm/admin/cli/commands/app-limit-default.js +2 -1
- package/esm/admin/cli/commands/app-limit.js +6 -1
- package/esm/admin/cli/commands/app-membership-default.js +8 -1
- package/esm/admin/cli/commands/app-membership.js +24 -1
- package/esm/admin/cli/commands/app-owner-grant.js +4 -1
- package/esm/admin/cli/commands/app-permission-default.js +2 -1
- package/esm/admin/cli/commands/app-permission.js +8 -1
- package/esm/admin/cli/commands/app-permissions-get-mask-by-names.js +3 -1
- package/esm/admin/cli/commands/app-permissions-get-mask.js +3 -1
- package/esm/admin/cli/commands/app-permissions-get-padded-mask.js +3 -1
- package/esm/admin/cli/commands/app-step.js +4 -1
- package/esm/admin/cli/commands/auth.js +0 -1
- package/esm/admin/cli/commands/claimed-invite.js +6 -1
- package/esm/admin/cli/commands/context.js +2 -3
- package/esm/admin/cli/commands/invite.js +18 -1
- package/esm/admin/cli/commands/membership-type.js +0 -1
- package/esm/admin/cli/commands/org-admin-grant.js +4 -1
- package/esm/admin/cli/commands/org-chart-edge-grant.js +8 -1
- package/esm/admin/cli/commands/org-chart-edge.js +6 -1
- package/esm/admin/cli/commands/org-claimed-invite.js +6 -1
- package/esm/admin/cli/commands/org-get-managers-record.js +2 -121
- package/esm/admin/cli/commands/org-get-subordinates-record.js +2 -121
- package/esm/admin/cli/commands/org-grant.js +6 -1
- package/esm/admin/cli/commands/org-invite.js +20 -1
- package/esm/admin/cli/commands/org-is-manager-of.js +3 -1
- package/esm/admin/cli/commands/org-limit-default.js +2 -1
- package/esm/admin/cli/commands/org-limit.js +6 -1
- package/esm/admin/cli/commands/org-member.js +2 -1
- package/esm/admin/cli/commands/org-membership-default.js +10 -1
- package/esm/admin/cli/commands/org-membership.js +22 -1
- package/esm/admin/cli/commands/org-owner-grant.js +4 -1
- package/esm/admin/cli/commands/org-permission-default.js +2 -1
- package/esm/admin/cli/commands/org-permission.js +8 -1
- package/esm/admin/cli/commands/org-permissions-get-mask-by-names.js +3 -1
- package/esm/admin/cli/commands/org-permissions-get-mask.js +3 -1
- package/esm/admin/cli/commands/org-permissions-get-padded-mask.js +3 -1
- package/esm/admin/cli/commands/steps-achieved.js +3 -1
- package/esm/admin/cli/commands.js +0 -1
- package/esm/admin/cli/executor.js +0 -1
- package/esm/admin/cli/index.js +0 -1
- package/esm/admin/cli/node-fetch.js +0 -1
- package/esm/admin/cli/utils.js +0 -1
- package/esm/auth/cli/commands/audit-log.js +8 -1
- package/esm/auth/cli/commands/auth.js +0 -1
- package/esm/auth/cli/commands/connected-account.js +4 -1
- package/esm/auth/cli/commands/context.js +2 -3
- package/esm/auth/cli/commands/crypto-address.js +6 -1
- package/esm/auth/cli/commands/email.js +6 -1
- package/esm/auth/cli/commands/phone-number.js +6 -1
- package/esm/auth/cli/commands/role-type.js +0 -1
- package/esm/auth/cli/commands/user.js +10 -15
- package/esm/auth/cli/commands.js +0 -1
- package/esm/auth/cli/executor.js +0 -1
- package/esm/auth/cli/index.js +0 -1
- package/esm/auth/cli/node-fetch.js +0 -1
- package/esm/auth/cli/utils.js +0 -1
- package/esm/objects/cli/commands/auth.js +0 -1
- package/esm/objects/cli/commands/commit.js +12 -1
- package/esm/objects/cli/commands/context.js +2 -3
- package/esm/objects/cli/commands/get-all-record.js +2 -121
- package/esm/objects/cli/commands/object.js +8 -15
- package/esm/objects/cli/commands/ref.js +2 -1
- package/esm/objects/cli/commands/store.js +2 -1
- package/esm/objects/cli/commands.js +0 -1
- package/esm/objects/cli/executor.js +0 -1
- package/esm/objects/cli/index.js +0 -1
- package/esm/objects/cli/node-fetch.js +0 -1
- package/esm/objects/cli/utils.js +0 -1
- package/esm/public/cli/commands/api-module.js +0 -1
- package/esm/public/cli/commands/api-schema.js +0 -1
- package/esm/public/cli/commands/api.js +8 -1
- package/esm/public/cli/commands/app-achievement.js +4 -1
- package/esm/public/cli/commands/app-admin-grant.js +4 -1
- package/esm/public/cli/commands/app-grant.js +6 -1
- package/esm/public/cli/commands/app-level-requirement.js +6 -1
- package/esm/public/cli/commands/app-level.js +6 -1
- package/esm/public/cli/commands/app-limit-default.js +2 -1
- package/esm/public/cli/commands/app-limit.js +6 -1
- package/esm/public/cli/commands/app-membership-default.js +8 -1
- package/esm/public/cli/commands/app-membership.js +24 -1
- package/esm/public/cli/commands/app-owner-grant.js +4 -1
- package/esm/public/cli/commands/app-permission-default.js +2 -1
- package/esm/public/cli/commands/app-permission.js +8 -1
- package/esm/public/cli/commands/app-permissions-get-mask-by-names.js +3 -1
- package/esm/public/cli/commands/app-permissions-get-mask.js +3 -1
- package/esm/public/cli/commands/app-permissions-get-padded-mask.js +3 -1
- package/esm/public/cli/commands/app-step.js +4 -1
- package/esm/public/cli/commands/app.js +12 -1
- package/esm/public/cli/commands/ast-migration.js +13 -206
- package/esm/public/cli/commands/audit-log.js +8 -1
- package/esm/public/cli/commands/auth.js +0 -1
- package/esm/public/cli/commands/check-constraint.js +18 -1
- package/esm/public/cli/commands/claimed-invite.js +6 -1
- package/esm/public/cli/commands/commit.js +12 -1
- package/esm/public/cli/commands/connected-account.js +4 -1
- package/esm/public/cli/commands/connected-accounts-module.js +8 -1
- package/esm/public/cli/commands/context.js +2 -3
- package/esm/public/cli/commands/crypto-address.js +6 -1
- package/esm/public/cli/commands/crypto-addresses-module.js +10 -1
- package/esm/public/cli/commands/crypto-auth-module.js +22 -1
- package/esm/public/cli/commands/database-provision-module.js +16 -1
- package/esm/public/cli/commands/database.js +10 -1
- package/esm/public/cli/commands/default-ids-module.js +0 -1
- package/esm/public/cli/commands/default-privilege.js +4 -1
- package/esm/public/cli/commands/denormalized-table-field.js +12 -1
- package/esm/public/cli/commands/domain.js +8 -1
- package/esm/public/cli/commands/email.js +6 -1
- package/esm/public/cli/commands/emails-module.js +8 -1
- package/esm/public/cli/commands/encrypted-secrets-module.js +6 -1
- package/esm/public/cli/commands/field-module.js +12 -1
- package/esm/public/cli/commands/field.js +36 -1
- package/esm/public/cli/commands/foreign-key-constraint.js +22 -1
- package/esm/public/cli/commands/full-text-search.js +2 -1
- package/esm/public/cli/commands/get-all-record.js +2 -121
- package/esm/public/cli/commands/hierarchy-module.js +30 -1
- package/esm/public/cli/commands/index.js +24 -1
- package/esm/public/cli/commands/invite.js +18 -1
- package/esm/public/cli/commands/invites-module.js +22 -1
- package/esm/public/cli/commands/levels-module.js +46 -1
- package/esm/public/cli/commands/limits-module.js +30 -1
- package/esm/public/cli/commands/membership-type.js +0 -1
- package/esm/public/cli/commands/membership-types-module.js +6 -1
- package/esm/public/cli/commands/memberships-module.js +56 -1
- package/esm/public/cli/commands/node-type-registry.js +15 -1
- package/esm/public/cli/commands/object.js +8 -15
- package/esm/public/cli/commands/org-admin-grant.js +4 -1
- package/esm/public/cli/commands/org-chart-edge-grant.js +8 -1
- package/esm/public/cli/commands/org-chart-edge.js +6 -1
- package/esm/public/cli/commands/org-claimed-invite.js +6 -1
- package/esm/public/cli/commands/org-get-managers-record.js +2 -121
- package/esm/public/cli/commands/org-get-subordinates-record.js +2 -121
- package/esm/public/cli/commands/org-grant.js +6 -1
- package/esm/public/cli/commands/org-invite.js +20 -1
- package/esm/public/cli/commands/org-is-manager-of.js +3 -1
- package/esm/public/cli/commands/org-limit-default.js +2 -1
- package/esm/public/cli/commands/org-limit.js +6 -1
- package/esm/public/cli/commands/org-member.js +2 -1
- package/esm/public/cli/commands/org-membership-default.js +10 -1
- package/esm/public/cli/commands/org-membership.js +22 -1
- package/esm/public/cli/commands/org-owner-grant.js +4 -1
- package/esm/public/cli/commands/org-permission-default.js +2 -1
- package/esm/public/cli/commands/org-permission.js +8 -1
- package/esm/public/cli/commands/org-permissions-get-mask-by-names.js +3 -1
- package/esm/public/cli/commands/org-permissions-get-mask.js +3 -1
- package/esm/public/cli/commands/org-permissions-get-padded-mask.js +3 -1
- package/esm/public/cli/commands/permissions-module.js +28 -1
- package/esm/public/cli/commands/phone-number.js +6 -1
- package/esm/public/cli/commands/phone-numbers-module.js +8 -1
- package/esm/public/cli/commands/policy.js +26 -1
- package/esm/public/cli/commands/primary-key-constraint.js +16 -1
- package/esm/public/cli/commands/profiles-module.js +30 -1
- package/esm/public/cli/commands/ref.js +2 -1
- package/esm/public/cli/commands/relation-provision.js +46 -1
- package/esm/public/cli/commands/rls-module.js +20 -1
- package/esm/public/cli/commands/role-type.js +0 -1
- package/esm/public/cli/commands/schema-grant.js +2 -1
- package/esm/public/cli/commands/schema.js +16 -1
- package/esm/public/cli/commands/secrets-module.js +6 -1
- package/esm/public/cli/commands/secure-table-provision.js +30 -1
- package/esm/public/cli/commands/sessions-module.js +18 -1
- package/esm/public/cli/commands/site-metadatum.js +6 -1
- package/esm/public/cli/commands/site-module.js +0 -1
- package/esm/public/cli/commands/site-theme.js +0 -1
- package/esm/public/cli/commands/site.js +14 -1
- package/esm/public/cli/commands/sql-migration.js +13 -206
- package/esm/public/cli/commands/steps-achieved.js +3 -1
- package/esm/public/cli/commands/store.js +2 -1
- package/esm/public/cli/commands/table-grant.js +6 -1
- package/esm/public/cli/commands/table-module.js +12 -1
- package/esm/public/cli/commands/table-template-module.js +10 -1
- package/esm/public/cli/commands/table.js +28 -1
- package/esm/public/cli/commands/trigger-function.js +2 -1
- package/esm/public/cli/commands/trigger.js +16 -1
- package/esm/public/cli/commands/unique-constraint.js +18 -1
- package/esm/public/cli/commands/user-auth-module.js +48 -1
- package/esm/public/cli/commands/user.js +10 -15
- package/esm/public/cli/commands/users-module.js +10 -1
- package/esm/public/cli/commands/uuid-module.js +4 -1
- package/esm/public/cli/commands/view-grant.js +6 -1
- package/esm/public/cli/commands/view-rule.js +4 -1
- package/esm/public/cli/commands/view-table.js +2 -1
- package/esm/public/cli/commands/view.js +24 -1
- package/esm/public/cli/commands.js +0 -1
- package/esm/public/cli/executor.js +0 -1
- package/esm/public/cli/index.js +0 -1
- package/esm/public/cli/node-fetch.js +0 -1
- package/esm/public/cli/utils.js +0 -1
- package/objects/cli/commands/auth.js +0 -1
- package/objects/cli/commands/commit.js +12 -1
- package/objects/cli/commands/context.js +2 -3
- package/objects/cli/commands/get-all-record.js +2 -121
- package/objects/cli/commands/object.js +8 -15
- package/objects/cli/commands/ref.js +2 -1
- package/objects/cli/commands/store.js +2 -1
- package/objects/cli/commands.js +0 -1
- package/objects/cli/executor.js +0 -1
- package/objects/cli/index.js +0 -1
- package/objects/cli/node-fetch.js +0 -1
- package/objects/cli/utils.js +0 -1
- package/package.json +4 -4
- package/public/cli/commands/api-module.js +0 -1
- package/public/cli/commands/api-schema.js +0 -1
- package/public/cli/commands/api.js +8 -1
- package/public/cli/commands/app-achievement.js +4 -1
- package/public/cli/commands/app-admin-grant.js +4 -1
- package/public/cli/commands/app-grant.js +6 -1
- package/public/cli/commands/app-level-requirement.js +6 -1
- package/public/cli/commands/app-level.js +6 -1
- package/public/cli/commands/app-limit-default.js +2 -1
- package/public/cli/commands/app-limit.js +6 -1
- package/public/cli/commands/app-membership-default.js +8 -1
- package/public/cli/commands/app-membership.js +24 -1
- package/public/cli/commands/app-owner-grant.js +4 -1
- package/public/cli/commands/app-permission-default.js +2 -1
- package/public/cli/commands/app-permission.js +8 -1
- package/public/cli/commands/app-permissions-get-mask-by-names.js +3 -1
- package/public/cli/commands/app-permissions-get-mask.js +3 -1
- package/public/cli/commands/app-permissions-get-padded-mask.js +3 -1
- package/public/cli/commands/app-step.js +4 -1
- package/public/cli/commands/app.js +12 -1
- package/public/cli/commands/ast-migration.js +13 -206
- package/public/cli/commands/audit-log.js +8 -1
- package/public/cli/commands/auth.js +0 -1
- package/public/cli/commands/check-constraint.js +18 -1
- package/public/cli/commands/claimed-invite.js +6 -1
- package/public/cli/commands/commit.js +12 -1
- package/public/cli/commands/connected-account.js +4 -1
- package/public/cli/commands/connected-accounts-module.js +8 -1
- package/public/cli/commands/context.js +2 -3
- package/public/cli/commands/crypto-address.js +6 -1
- package/public/cli/commands/crypto-addresses-module.js +10 -1
- package/public/cli/commands/crypto-auth-module.js +22 -1
- package/public/cli/commands/database-provision-module.js +16 -1
- package/public/cli/commands/database.js +10 -1
- package/public/cli/commands/default-ids-module.js +0 -1
- package/public/cli/commands/default-privilege.js +4 -1
- package/public/cli/commands/denormalized-table-field.js +12 -1
- package/public/cli/commands/domain.js +8 -1
- package/public/cli/commands/email.js +6 -1
- package/public/cli/commands/emails-module.js +8 -1
- package/public/cli/commands/encrypted-secrets-module.js +6 -1
- package/public/cli/commands/field-module.js +12 -1
- package/public/cli/commands/field.js +36 -1
- package/public/cli/commands/foreign-key-constraint.js +22 -1
- package/public/cli/commands/full-text-search.js +2 -1
- package/public/cli/commands/get-all-record.js +2 -121
- package/public/cli/commands/hierarchy-module.js +30 -1
- package/public/cli/commands/index.js +24 -1
- package/public/cli/commands/invite.js +18 -1
- package/public/cli/commands/invites-module.js +22 -1
- package/public/cli/commands/levels-module.js +46 -1
- package/public/cli/commands/limits-module.js +30 -1
- package/public/cli/commands/membership-type.js +0 -1
- package/public/cli/commands/membership-types-module.js +6 -1
- package/public/cli/commands/memberships-module.js +56 -1
- package/public/cli/commands/node-type-registry.js +15 -1
- package/public/cli/commands/object.js +8 -15
- package/public/cli/commands/org-admin-grant.js +4 -1
- package/public/cli/commands/org-chart-edge-grant.js +8 -1
- package/public/cli/commands/org-chart-edge.js +6 -1
- package/public/cli/commands/org-claimed-invite.js +6 -1
- package/public/cli/commands/org-get-managers-record.js +2 -121
- package/public/cli/commands/org-get-subordinates-record.js +2 -121
- package/public/cli/commands/org-grant.js +6 -1
- package/public/cli/commands/org-invite.js +20 -1
- package/public/cli/commands/org-is-manager-of.js +3 -1
- package/public/cli/commands/org-limit-default.js +2 -1
- package/public/cli/commands/org-limit.js +6 -1
- package/public/cli/commands/org-member.js +2 -1
- package/public/cli/commands/org-membership-default.js +10 -1
- package/public/cli/commands/org-membership.js +22 -1
- package/public/cli/commands/org-owner-grant.js +4 -1
- package/public/cli/commands/org-permission-default.js +2 -1
- package/public/cli/commands/org-permission.js +8 -1
- package/public/cli/commands/org-permissions-get-mask-by-names.js +3 -1
- package/public/cli/commands/org-permissions-get-mask.js +3 -1
- package/public/cli/commands/org-permissions-get-padded-mask.js +3 -1
- package/public/cli/commands/permissions-module.js +28 -1
- package/public/cli/commands/phone-number.js +6 -1
- package/public/cli/commands/phone-numbers-module.js +8 -1
- package/public/cli/commands/policy.js +26 -1
- package/public/cli/commands/primary-key-constraint.js +16 -1
- package/public/cli/commands/profiles-module.js +30 -1
- package/public/cli/commands/ref.js +2 -1
- package/public/cli/commands/relation-provision.js +46 -1
- package/public/cli/commands/rls-module.js +20 -1
- package/public/cli/commands/role-type.js +0 -1
- package/public/cli/commands/schema-grant.js +2 -1
- package/public/cli/commands/schema.js +16 -1
- package/public/cli/commands/secrets-module.js +6 -1
- package/public/cli/commands/secure-table-provision.js +30 -1
- package/public/cli/commands/sessions-module.js +18 -1
- package/public/cli/commands/site-metadatum.js +6 -1
- package/public/cli/commands/site-module.js +0 -1
- package/public/cli/commands/site-theme.js +0 -1
- package/public/cli/commands/site.js +14 -1
- package/public/cli/commands/sql-migration.js +13 -206
- package/public/cli/commands/steps-achieved.js +3 -1
- package/public/cli/commands/store.js +2 -1
- package/public/cli/commands/table-grant.js +6 -1
- package/public/cli/commands/table-module.js +12 -1
- package/public/cli/commands/table-template-module.js +10 -1
- package/public/cli/commands/table.js +28 -1
- package/public/cli/commands/trigger-function.js +2 -1
- package/public/cli/commands/trigger.js +16 -1
- package/public/cli/commands/unique-constraint.js +18 -1
- package/public/cli/commands/user-auth-module.js +48 -1
- package/public/cli/commands/user.js +10 -15
- package/public/cli/commands/users-module.js +10 -1
- package/public/cli/commands/uuid-module.js +4 -1
- package/public/cli/commands/view-grant.js +6 -1
- package/public/cli/commands/view-rule.js +4 -1
- package/public/cli/commands/view-table.js +2 -1
- package/public/cli/commands/view.js +24 -1
- package/public/cli/commands.js +0 -1
- package/public/cli/executor.js +0 -1
- package/public/cli/index.js +0 -1
- package/public/cli/node-fetch.js +0 -1
- package/public/cli/utils.js +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgMembership
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -149,60 +148,70 @@ async function handleCreate(argv, prompter) {
|
|
|
149
148
|
name: 'createdBy',
|
|
150
149
|
message: 'createdBy',
|
|
151
150
|
required: false,
|
|
151
|
+
skipPrompt: true,
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
type: 'text',
|
|
155
155
|
name: 'updatedBy',
|
|
156
156
|
message: 'updatedBy',
|
|
157
157
|
required: false,
|
|
158
|
+
skipPrompt: true,
|
|
158
159
|
},
|
|
159
160
|
{
|
|
160
161
|
type: 'text',
|
|
161
162
|
name: 'isApproved',
|
|
162
163
|
message: 'isApproved',
|
|
163
164
|
required: false,
|
|
165
|
+
skipPrompt: true,
|
|
164
166
|
},
|
|
165
167
|
{
|
|
166
168
|
type: 'text',
|
|
167
169
|
name: 'isBanned',
|
|
168
170
|
message: 'isBanned',
|
|
169
171
|
required: false,
|
|
172
|
+
skipPrompt: true,
|
|
170
173
|
},
|
|
171
174
|
{
|
|
172
175
|
type: 'text',
|
|
173
176
|
name: 'isDisabled',
|
|
174
177
|
message: 'isDisabled',
|
|
175
178
|
required: false,
|
|
179
|
+
skipPrompt: true,
|
|
176
180
|
},
|
|
177
181
|
{
|
|
178
182
|
type: 'text',
|
|
179
183
|
name: 'isActive',
|
|
180
184
|
message: 'isActive',
|
|
181
185
|
required: false,
|
|
186
|
+
skipPrompt: true,
|
|
182
187
|
},
|
|
183
188
|
{
|
|
184
189
|
type: 'text',
|
|
185
190
|
name: 'isOwner',
|
|
186
191
|
message: 'isOwner',
|
|
187
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
188
194
|
},
|
|
189
195
|
{
|
|
190
196
|
type: 'text',
|
|
191
197
|
name: 'isAdmin',
|
|
192
198
|
message: 'isAdmin',
|
|
193
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
194
201
|
},
|
|
195
202
|
{
|
|
196
203
|
type: 'text',
|
|
197
204
|
name: 'permissions',
|
|
198
205
|
message: 'permissions',
|
|
199
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
200
208
|
},
|
|
201
209
|
{
|
|
202
210
|
type: 'text',
|
|
203
211
|
name: 'granted',
|
|
204
212
|
message: 'granted',
|
|
205
213
|
required: false,
|
|
214
|
+
skipPrompt: true,
|
|
206
215
|
},
|
|
207
216
|
{
|
|
208
217
|
type: 'text',
|
|
@@ -221,6 +230,7 @@ async function handleCreate(argv, prompter) {
|
|
|
221
230
|
name: 'profileId',
|
|
222
231
|
message: 'profileId',
|
|
223
232
|
required: false,
|
|
233
|
+
skipPrompt: true,
|
|
224
234
|
},
|
|
225
235
|
]);
|
|
226
236
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -287,60 +297,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
287
297
|
name: 'createdBy',
|
|
288
298
|
message: 'createdBy',
|
|
289
299
|
required: false,
|
|
300
|
+
skipPrompt: true,
|
|
290
301
|
},
|
|
291
302
|
{
|
|
292
303
|
type: 'text',
|
|
293
304
|
name: 'updatedBy',
|
|
294
305
|
message: 'updatedBy',
|
|
295
306
|
required: false,
|
|
307
|
+
skipPrompt: true,
|
|
296
308
|
},
|
|
297
309
|
{
|
|
298
310
|
type: 'text',
|
|
299
311
|
name: 'isApproved',
|
|
300
312
|
message: 'isApproved',
|
|
301
313
|
required: false,
|
|
314
|
+
skipPrompt: true,
|
|
302
315
|
},
|
|
303
316
|
{
|
|
304
317
|
type: 'text',
|
|
305
318
|
name: 'isBanned',
|
|
306
319
|
message: 'isBanned',
|
|
307
320
|
required: false,
|
|
321
|
+
skipPrompt: true,
|
|
308
322
|
},
|
|
309
323
|
{
|
|
310
324
|
type: 'text',
|
|
311
325
|
name: 'isDisabled',
|
|
312
326
|
message: 'isDisabled',
|
|
313
327
|
required: false,
|
|
328
|
+
skipPrompt: true,
|
|
314
329
|
},
|
|
315
330
|
{
|
|
316
331
|
type: 'text',
|
|
317
332
|
name: 'isActive',
|
|
318
333
|
message: 'isActive',
|
|
319
334
|
required: false,
|
|
335
|
+
skipPrompt: true,
|
|
320
336
|
},
|
|
321
337
|
{
|
|
322
338
|
type: 'text',
|
|
323
339
|
name: 'isOwner',
|
|
324
340
|
message: 'isOwner',
|
|
325
341
|
required: false,
|
|
342
|
+
skipPrompt: true,
|
|
326
343
|
},
|
|
327
344
|
{
|
|
328
345
|
type: 'text',
|
|
329
346
|
name: 'isAdmin',
|
|
330
347
|
message: 'isAdmin',
|
|
331
348
|
required: false,
|
|
349
|
+
skipPrompt: true,
|
|
332
350
|
},
|
|
333
351
|
{
|
|
334
352
|
type: 'text',
|
|
335
353
|
name: 'permissions',
|
|
336
354
|
message: 'permissions',
|
|
337
355
|
required: false,
|
|
356
|
+
skipPrompt: true,
|
|
338
357
|
},
|
|
339
358
|
{
|
|
340
359
|
type: 'text',
|
|
341
360
|
name: 'granted',
|
|
342
361
|
message: 'granted',
|
|
343
362
|
required: false,
|
|
363
|
+
skipPrompt: true,
|
|
344
364
|
},
|
|
345
365
|
{
|
|
346
366
|
type: 'text',
|
|
@@ -359,6 +379,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
359
379
|
name: 'profileId',
|
|
360
380
|
message: 'profileId',
|
|
361
381
|
required: false,
|
|
382
|
+
skipPrompt: true,
|
|
362
383
|
},
|
|
363
384
|
]);
|
|
364
385
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgOwnerGrant
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -122,6 +121,7 @@ async function handleCreate(argv, prompter) {
|
|
|
122
121
|
name: 'isGrant',
|
|
123
122
|
message: 'isGrant',
|
|
124
123
|
required: false,
|
|
124
|
+
skipPrompt: true,
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'text',
|
|
@@ -140,6 +140,7 @@ async function handleCreate(argv, prompter) {
|
|
|
140
140
|
name: 'grantorId',
|
|
141
141
|
message: 'grantorId',
|
|
142
142
|
required: false,
|
|
143
|
+
skipPrompt: true,
|
|
143
144
|
},
|
|
144
145
|
]);
|
|
145
146
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -188,6 +189,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
188
189
|
name: 'isGrant',
|
|
189
190
|
message: 'isGrant',
|
|
190
191
|
required: false,
|
|
192
|
+
skipPrompt: true,
|
|
191
193
|
},
|
|
192
194
|
{
|
|
193
195
|
type: 'text',
|
|
@@ -206,6 +208,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
206
208
|
name: 'grantorId',
|
|
207
209
|
message: 'grantorId',
|
|
208
210
|
required: false,
|
|
211
|
+
skipPrompt: true,
|
|
209
212
|
},
|
|
210
213
|
]);
|
|
211
214
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgPermissionDefault
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -110,6 +109,7 @@ async function handleCreate(argv, prompter) {
|
|
|
110
109
|
name: 'permissions',
|
|
111
110
|
message: 'permissions',
|
|
112
111
|
required: false,
|
|
112
|
+
skipPrompt: true,
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
type: 'text',
|
|
@@ -158,6 +158,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
158
158
|
name: 'permissions',
|
|
159
159
|
message: 'permissions',
|
|
160
160
|
required: false,
|
|
161
|
+
skipPrompt: true,
|
|
161
162
|
},
|
|
162
163
|
{
|
|
163
164
|
type: 'text',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgPermission
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -116,24 +115,28 @@ async function handleCreate(argv, prompter) {
|
|
|
116
115
|
name: 'name',
|
|
117
116
|
message: 'name',
|
|
118
117
|
required: false,
|
|
118
|
+
skipPrompt: true,
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
type: 'text',
|
|
122
122
|
name: 'bitnum',
|
|
123
123
|
message: 'bitnum',
|
|
124
124
|
required: false,
|
|
125
|
+
skipPrompt: true,
|
|
125
126
|
},
|
|
126
127
|
{
|
|
127
128
|
type: 'text',
|
|
128
129
|
name: 'bitstr',
|
|
129
130
|
message: 'bitstr',
|
|
130
131
|
required: false,
|
|
132
|
+
skipPrompt: true,
|
|
131
133
|
},
|
|
132
134
|
{
|
|
133
135
|
type: 'text',
|
|
134
136
|
name: 'description',
|
|
135
137
|
message: 'description',
|
|
136
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
137
140
|
},
|
|
138
141
|
]);
|
|
139
142
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -180,24 +183,28 @@ async function handleUpdate(argv, prompter) {
|
|
|
180
183
|
name: 'name',
|
|
181
184
|
message: 'name',
|
|
182
185
|
required: false,
|
|
186
|
+
skipPrompt: true,
|
|
183
187
|
},
|
|
184
188
|
{
|
|
185
189
|
type: 'text',
|
|
186
190
|
name: 'bitnum',
|
|
187
191
|
message: 'bitnum',
|
|
188
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
189
194
|
},
|
|
190
195
|
{
|
|
191
196
|
type: 'text',
|
|
192
197
|
name: 'bitstr',
|
|
193
198
|
message: 'bitstr',
|
|
194
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
195
201
|
},
|
|
196
202
|
{
|
|
197
203
|
type: 'text',
|
|
198
204
|
name: 'description',
|
|
199
205
|
message: 'description',
|
|
200
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
201
208
|
},
|
|
202
209
|
]);
|
|
203
210
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -13,7 +13,9 @@ export default async (argv, prompter, _options) => {
|
|
|
13
13
|
},
|
|
14
14
|
]);
|
|
15
15
|
const client = getClient();
|
|
16
|
-
const result = await client.query
|
|
16
|
+
const result = await client.query
|
|
17
|
+
.orgPermissionsGetMaskByNames(answers)
|
|
18
|
+
.execute();
|
|
17
19
|
console.log(JSON.stringify(result, null, 2));
|
|
18
20
|
}
|
|
19
21
|
catch (error) {
|
|
@@ -13,7 +13,9 @@ export default async (argv, prompter, _options) => {
|
|
|
13
13
|
},
|
|
14
14
|
]);
|
|
15
15
|
const client = getClient();
|
|
16
|
-
const result = await client.query
|
|
16
|
+
const result = await client.query
|
|
17
|
+
.orgPermissionsGetMask(answers)
|
|
18
|
+
.execute();
|
|
17
19
|
console.log(JSON.stringify(result, null, 2));
|
|
18
20
|
}
|
|
19
21
|
catch (error) {
|
|
@@ -13,7 +13,9 @@ export default async (argv, prompter, _options) => {
|
|
|
13
13
|
},
|
|
14
14
|
]);
|
|
15
15
|
const client = getClient();
|
|
16
|
-
const result = await client.query
|
|
16
|
+
const result = await client.query
|
|
17
|
+
.orgPermissionsGetPaddedMask(answers)
|
|
18
|
+
.execute();
|
|
17
19
|
console.log(JSON.stringify(result, null, 2));
|
|
18
20
|
}
|
|
19
21
|
catch (error) {
|
|
@@ -18,7 +18,9 @@ export default async (argv, prompter, _options) => {
|
|
|
18
18
|
},
|
|
19
19
|
]);
|
|
20
20
|
const client = getClient();
|
|
21
|
-
const result = await client.query
|
|
21
|
+
const result = await client.query
|
|
22
|
+
.stepsAchieved(answers)
|
|
23
|
+
.execute();
|
|
22
24
|
console.log(JSON.stringify(result, null, 2));
|
|
23
25
|
}
|
|
24
26
|
catch (error) {
|
package/esm/admin/cli/index.js
CHANGED
package/esm/admin/cli/utils.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for AuditLog
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -131,24 +130,28 @@ async function handleCreate(argv, prompter) {
|
|
|
131
130
|
name: 'actorId',
|
|
132
131
|
message: 'actorId',
|
|
133
132
|
required: false,
|
|
133
|
+
skipPrompt: true,
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
type: 'text',
|
|
137
137
|
name: 'origin',
|
|
138
138
|
message: 'origin',
|
|
139
139
|
required: false,
|
|
140
|
+
skipPrompt: true,
|
|
140
141
|
},
|
|
141
142
|
{
|
|
142
143
|
type: 'text',
|
|
143
144
|
name: 'userAgent',
|
|
144
145
|
message: 'userAgent',
|
|
145
146
|
required: false,
|
|
147
|
+
skipPrompt: true,
|
|
146
148
|
},
|
|
147
149
|
{
|
|
148
150
|
type: 'text',
|
|
149
151
|
name: 'ipAddress',
|
|
150
152
|
message: 'ipAddress',
|
|
151
153
|
required: false,
|
|
154
|
+
skipPrompt: true,
|
|
152
155
|
},
|
|
153
156
|
{
|
|
154
157
|
type: 'text',
|
|
@@ -212,24 +215,28 @@ async function handleUpdate(argv, prompter) {
|
|
|
212
215
|
name: 'actorId',
|
|
213
216
|
message: 'actorId',
|
|
214
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
215
219
|
},
|
|
216
220
|
{
|
|
217
221
|
type: 'text',
|
|
218
222
|
name: 'origin',
|
|
219
223
|
message: 'origin',
|
|
220
224
|
required: false,
|
|
225
|
+
skipPrompt: true,
|
|
221
226
|
},
|
|
222
227
|
{
|
|
223
228
|
type: 'text',
|
|
224
229
|
name: 'userAgent',
|
|
225
230
|
message: 'userAgent',
|
|
226
231
|
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
227
233
|
},
|
|
228
234
|
{
|
|
229
235
|
type: 'text',
|
|
230
236
|
name: 'ipAddress',
|
|
231
237
|
message: 'ipAddress',
|
|
232
238
|
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
233
240
|
},
|
|
234
241
|
{
|
|
235
242
|
type: 'text',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for ConnectedAccount
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -125,6 +124,7 @@ async function handleCreate(argv, prompter) {
|
|
|
125
124
|
name: 'ownerId',
|
|
126
125
|
message: 'ownerId',
|
|
127
126
|
required: false,
|
|
127
|
+
skipPrompt: true,
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
type: 'text',
|
|
@@ -149,6 +149,7 @@ async function handleCreate(argv, prompter) {
|
|
|
149
149
|
name: 'isVerified',
|
|
150
150
|
message: 'isVerified',
|
|
151
151
|
required: false,
|
|
152
|
+
skipPrompt: true,
|
|
152
153
|
},
|
|
153
154
|
]);
|
|
154
155
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -199,6 +200,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
199
200
|
name: 'ownerId',
|
|
200
201
|
message: 'ownerId',
|
|
201
202
|
required: false,
|
|
203
|
+
skipPrompt: true,
|
|
202
204
|
},
|
|
203
205
|
{
|
|
204
206
|
type: 'text',
|
|
@@ -223,6 +225,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
223
225
|
name: 'isVerified',
|
|
224
226
|
message: 'isVerified',
|
|
225
227
|
required: false,
|
|
228
|
+
skipPrompt: true,
|
|
226
229
|
},
|
|
227
230
|
]);
|
|
228
231
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* Context management commands
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -46,7 +45,7 @@ async function handleSubcommand(subcommand, argv, prompter, store) {
|
|
|
46
45
|
}
|
|
47
46
|
async function handleCreate(argv, prompter, store) {
|
|
48
47
|
const { first: name, newArgv: restArgv } = extractFirst(argv);
|
|
49
|
-
const answers = await prompter.prompt({
|
|
48
|
+
const answers = (await prompter.prompt({
|
|
50
49
|
name,
|
|
51
50
|
...restArgv,
|
|
52
51
|
}, [
|
|
@@ -62,7 +61,7 @@ async function handleCreate(argv, prompter, store) {
|
|
|
62
61
|
message: 'GraphQL endpoint URL',
|
|
63
62
|
required: true,
|
|
64
63
|
},
|
|
65
|
-
]);
|
|
64
|
+
]));
|
|
66
65
|
const contextName = answers.name;
|
|
67
66
|
const endpoint = answers.endpoint;
|
|
68
67
|
store.createContext(contextName, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for CryptoAddress
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -122,6 +121,7 @@ async function handleCreate(argv, prompter) {
|
|
|
122
121
|
name: 'ownerId',
|
|
123
122
|
message: 'ownerId',
|
|
124
123
|
required: false,
|
|
124
|
+
skipPrompt: true,
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'text',
|
|
@@ -134,12 +134,14 @@ async function handleCreate(argv, prompter) {
|
|
|
134
134
|
name: 'isVerified',
|
|
135
135
|
message: 'isVerified',
|
|
136
136
|
required: false,
|
|
137
|
+
skipPrompt: true,
|
|
137
138
|
},
|
|
138
139
|
{
|
|
139
140
|
type: 'text',
|
|
140
141
|
name: 'isPrimary',
|
|
141
142
|
message: 'isPrimary',
|
|
142
143
|
required: false,
|
|
144
|
+
skipPrompt: true,
|
|
143
145
|
},
|
|
144
146
|
]);
|
|
145
147
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -188,6 +190,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
188
190
|
name: 'ownerId',
|
|
189
191
|
message: 'ownerId',
|
|
190
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
type: 'text',
|
|
@@ -200,12 +203,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
200
203
|
name: 'isVerified',
|
|
201
204
|
message: 'isVerified',
|
|
202
205
|
required: false,
|
|
206
|
+
skipPrompt: true,
|
|
203
207
|
},
|
|
204
208
|
{
|
|
205
209
|
type: 'text',
|
|
206
210
|
name: 'isPrimary',
|
|
207
211
|
message: 'isPrimary',
|
|
208
212
|
required: false,
|
|
213
|
+
skipPrompt: true,
|
|
209
214
|
},
|
|
210
215
|
]);
|
|
211
216
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for Email
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -122,6 +121,7 @@ async function handleCreate(argv, prompter) {
|
|
|
122
121
|
name: 'ownerId',
|
|
123
122
|
message: 'ownerId',
|
|
124
123
|
required: false,
|
|
124
|
+
skipPrompt: true,
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'text',
|
|
@@ -134,12 +134,14 @@ async function handleCreate(argv, prompter) {
|
|
|
134
134
|
name: 'isVerified',
|
|
135
135
|
message: 'isVerified',
|
|
136
136
|
required: false,
|
|
137
|
+
skipPrompt: true,
|
|
137
138
|
},
|
|
138
139
|
{
|
|
139
140
|
type: 'text',
|
|
140
141
|
name: 'isPrimary',
|
|
141
142
|
message: 'isPrimary',
|
|
142
143
|
required: false,
|
|
144
|
+
skipPrompt: true,
|
|
143
145
|
},
|
|
144
146
|
]);
|
|
145
147
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -188,6 +190,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
188
190
|
name: 'ownerId',
|
|
189
191
|
message: 'ownerId',
|
|
190
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
type: 'text',
|
|
@@ -200,12 +203,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
200
203
|
name: 'isVerified',
|
|
201
204
|
message: 'isVerified',
|
|
202
205
|
required: false,
|
|
206
|
+
skipPrompt: true,
|
|
203
207
|
},
|
|
204
208
|
{
|
|
205
209
|
type: 'text',
|
|
206
210
|
name: 'isPrimary',
|
|
207
211
|
message: 'isPrimary',
|
|
208
212
|
required: false,
|
|
213
|
+
skipPrompt: true,
|
|
209
214
|
},
|
|
210
215
|
]);
|
|
211
216
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for PhoneNumber
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -125,6 +124,7 @@ async function handleCreate(argv, prompter) {
|
|
|
125
124
|
name: 'ownerId',
|
|
126
125
|
message: 'ownerId',
|
|
127
126
|
required: false,
|
|
127
|
+
skipPrompt: true,
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
type: 'text',
|
|
@@ -143,12 +143,14 @@ async function handleCreate(argv, prompter) {
|
|
|
143
143
|
name: 'isVerified',
|
|
144
144
|
message: 'isVerified',
|
|
145
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
type: 'text',
|
|
149
150
|
name: 'isPrimary',
|
|
150
151
|
message: 'isPrimary',
|
|
151
152
|
required: false,
|
|
153
|
+
skipPrompt: true,
|
|
152
154
|
},
|
|
153
155
|
]);
|
|
154
156
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -199,6 +201,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
199
201
|
name: 'ownerId',
|
|
200
202
|
message: 'ownerId',
|
|
201
203
|
required: false,
|
|
204
|
+
skipPrompt: true,
|
|
202
205
|
},
|
|
203
206
|
{
|
|
204
207
|
type: 'text',
|
|
@@ -217,12 +220,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
217
220
|
name: 'isVerified',
|
|
218
221
|
message: 'isVerified',
|
|
219
222
|
required: false,
|
|
223
|
+
skipPrompt: true,
|
|
220
224
|
},
|
|
221
225
|
{
|
|
222
226
|
type: 'text',
|
|
223
227
|
name: 'isPrimary',
|
|
224
228
|
message: 'isPrimary',
|
|
225
229
|
required: false,
|
|
230
|
+
skipPrompt: true,
|
|
226
231
|
},
|
|
227
232
|
]);
|
|
228
233
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|