@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 AppOwnerGrant
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -119,6 +118,7 @@ async function handleCreate(argv, prompter) {
|
|
|
119
118
|
name: 'isGrant',
|
|
120
119
|
message: 'isGrant',
|
|
121
120
|
required: false,
|
|
121
|
+
skipPrompt: true,
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
type: 'text',
|
|
@@ -131,6 +131,7 @@ async function handleCreate(argv, prompter) {
|
|
|
131
131
|
name: 'grantorId',
|
|
132
132
|
message: 'grantorId',
|
|
133
133
|
required: false,
|
|
134
|
+
skipPrompt: true,
|
|
134
135
|
},
|
|
135
136
|
]);
|
|
136
137
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -177,6 +178,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
177
178
|
name: 'isGrant',
|
|
178
179
|
message: 'isGrant',
|
|
179
180
|
required: false,
|
|
181
|
+
skipPrompt: true,
|
|
180
182
|
},
|
|
181
183
|
{
|
|
182
184
|
type: 'text',
|
|
@@ -189,6 +191,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
189
191
|
name: 'grantorId',
|
|
190
192
|
message: 'grantorId',
|
|
191
193
|
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
192
195
|
},
|
|
193
196
|
]);
|
|
194
197
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for AppPermissionDefault
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -107,6 +106,7 @@ async function handleCreate(argv, prompter) {
|
|
|
107
106
|
name: 'permissions',
|
|
108
107
|
message: 'permissions',
|
|
109
108
|
required: false,
|
|
109
|
+
skipPrompt: true,
|
|
110
110
|
},
|
|
111
111
|
]);
|
|
112
112
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -147,6 +147,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
147
147
|
name: 'permissions',
|
|
148
148
|
message: 'permissions',
|
|
149
149
|
required: false,
|
|
150
|
+
skipPrompt: true,
|
|
150
151
|
},
|
|
151
152
|
]);
|
|
152
153
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for AppPermission
|
|
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
|
+
.appPermissionsGetMaskByNames(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
|
+
.appPermissionsGetMask(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
|
+
.appPermissionsGetPaddedMask(answers)
|
|
18
|
+
.execute();
|
|
17
19
|
console.log(JSON.stringify(result, null, 2));
|
|
18
20
|
}
|
|
19
21
|
catch (error) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for AppStep
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -119,6 +118,7 @@ async function handleCreate(argv, prompter) {
|
|
|
119
118
|
name: 'actorId',
|
|
120
119
|
message: 'actorId',
|
|
121
120
|
required: false,
|
|
121
|
+
skipPrompt: true,
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
type: 'text',
|
|
@@ -131,6 +131,7 @@ async function handleCreate(argv, prompter) {
|
|
|
131
131
|
name: 'count',
|
|
132
132
|
message: 'count',
|
|
133
133
|
required: false,
|
|
134
|
+
skipPrompt: true,
|
|
134
135
|
},
|
|
135
136
|
]);
|
|
136
137
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -177,6 +178,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
177
178
|
name: 'actorId',
|
|
178
179
|
message: 'actorId',
|
|
179
180
|
required: false,
|
|
181
|
+
skipPrompt: true,
|
|
180
182
|
},
|
|
181
183
|
{
|
|
182
184
|
type: 'text',
|
|
@@ -189,6 +191,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
189
191
|
name: 'count',
|
|
190
192
|
message: 'count',
|
|
191
193
|
required: false,
|
|
194
|
+
skipPrompt: true,
|
|
192
195
|
},
|
|
193
196
|
]);
|
|
194
197
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for ClaimedInvite
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -119,18 +118,21 @@ async function handleCreate(argv, prompter) {
|
|
|
119
118
|
name: 'data',
|
|
120
119
|
message: 'data',
|
|
121
120
|
required: false,
|
|
121
|
+
skipPrompt: true,
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
type: 'text',
|
|
125
125
|
name: 'senderId',
|
|
126
126
|
message: 'senderId',
|
|
127
127
|
required: false,
|
|
128
|
+
skipPrompt: true,
|
|
128
129
|
},
|
|
129
130
|
{
|
|
130
131
|
type: 'text',
|
|
131
132
|
name: 'receiverId',
|
|
132
133
|
message: 'receiverId',
|
|
133
134
|
required: false,
|
|
135
|
+
skipPrompt: true,
|
|
134
136
|
},
|
|
135
137
|
]);
|
|
136
138
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -177,18 +179,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
177
179
|
name: 'data',
|
|
178
180
|
message: 'data',
|
|
179
181
|
required: false,
|
|
182
|
+
skipPrompt: true,
|
|
180
183
|
},
|
|
181
184
|
{
|
|
182
185
|
type: 'text',
|
|
183
186
|
name: 'senderId',
|
|
184
187
|
message: 'senderId',
|
|
185
188
|
required: false,
|
|
189
|
+
skipPrompt: true,
|
|
186
190
|
},
|
|
187
191
|
{
|
|
188
192
|
type: 'text',
|
|
189
193
|
name: 'receiverId',
|
|
190
194
|
message: 'receiverId',
|
|
191
195
|
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
192
197
|
},
|
|
193
198
|
]);
|
|
194
199
|
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 Invite
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -137,54 +136,63 @@ async function handleCreate(argv, prompter) {
|
|
|
137
136
|
name: 'email',
|
|
138
137
|
message: 'email',
|
|
139
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'text',
|
|
143
143
|
name: 'senderId',
|
|
144
144
|
message: 'senderId',
|
|
145
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
type: 'text',
|
|
149
150
|
name: 'inviteToken',
|
|
150
151
|
message: 'inviteToken',
|
|
151
152
|
required: false,
|
|
153
|
+
skipPrompt: true,
|
|
152
154
|
},
|
|
153
155
|
{
|
|
154
156
|
type: 'text',
|
|
155
157
|
name: 'inviteValid',
|
|
156
158
|
message: 'inviteValid',
|
|
157
159
|
required: false,
|
|
160
|
+
skipPrompt: true,
|
|
158
161
|
},
|
|
159
162
|
{
|
|
160
163
|
type: 'text',
|
|
161
164
|
name: 'inviteLimit',
|
|
162
165
|
message: 'inviteLimit',
|
|
163
166
|
required: false,
|
|
167
|
+
skipPrompt: true,
|
|
164
168
|
},
|
|
165
169
|
{
|
|
166
170
|
type: 'text',
|
|
167
171
|
name: 'inviteCount',
|
|
168
172
|
message: 'inviteCount',
|
|
169
173
|
required: false,
|
|
174
|
+
skipPrompt: true,
|
|
170
175
|
},
|
|
171
176
|
{
|
|
172
177
|
type: 'text',
|
|
173
178
|
name: 'multiple',
|
|
174
179
|
message: 'multiple',
|
|
175
180
|
required: false,
|
|
181
|
+
skipPrompt: true,
|
|
176
182
|
},
|
|
177
183
|
{
|
|
178
184
|
type: 'text',
|
|
179
185
|
name: 'data',
|
|
180
186
|
message: 'data',
|
|
181
187
|
required: false,
|
|
188
|
+
skipPrompt: true,
|
|
182
189
|
},
|
|
183
190
|
{
|
|
184
191
|
type: 'text',
|
|
185
192
|
name: 'expiresAt',
|
|
186
193
|
message: 'expiresAt',
|
|
187
194
|
required: false,
|
|
195
|
+
skipPrompt: true,
|
|
188
196
|
},
|
|
189
197
|
]);
|
|
190
198
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -243,54 +251,63 @@ async function handleUpdate(argv, prompter) {
|
|
|
243
251
|
name: 'email',
|
|
244
252
|
message: 'email',
|
|
245
253
|
required: false,
|
|
254
|
+
skipPrompt: true,
|
|
246
255
|
},
|
|
247
256
|
{
|
|
248
257
|
type: 'text',
|
|
249
258
|
name: 'senderId',
|
|
250
259
|
message: 'senderId',
|
|
251
260
|
required: false,
|
|
261
|
+
skipPrompt: true,
|
|
252
262
|
},
|
|
253
263
|
{
|
|
254
264
|
type: 'text',
|
|
255
265
|
name: 'inviteToken',
|
|
256
266
|
message: 'inviteToken',
|
|
257
267
|
required: false,
|
|
268
|
+
skipPrompt: true,
|
|
258
269
|
},
|
|
259
270
|
{
|
|
260
271
|
type: 'text',
|
|
261
272
|
name: 'inviteValid',
|
|
262
273
|
message: 'inviteValid',
|
|
263
274
|
required: false,
|
|
275
|
+
skipPrompt: true,
|
|
264
276
|
},
|
|
265
277
|
{
|
|
266
278
|
type: 'text',
|
|
267
279
|
name: 'inviteLimit',
|
|
268
280
|
message: 'inviteLimit',
|
|
269
281
|
required: false,
|
|
282
|
+
skipPrompt: true,
|
|
270
283
|
},
|
|
271
284
|
{
|
|
272
285
|
type: 'text',
|
|
273
286
|
name: 'inviteCount',
|
|
274
287
|
message: 'inviteCount',
|
|
275
288
|
required: false,
|
|
289
|
+
skipPrompt: true,
|
|
276
290
|
},
|
|
277
291
|
{
|
|
278
292
|
type: 'text',
|
|
279
293
|
name: 'multiple',
|
|
280
294
|
message: 'multiple',
|
|
281
295
|
required: false,
|
|
296
|
+
skipPrompt: true,
|
|
282
297
|
},
|
|
283
298
|
{
|
|
284
299
|
type: 'text',
|
|
285
300
|
name: 'data',
|
|
286
301
|
message: 'data',
|
|
287
302
|
required: false,
|
|
303
|
+
skipPrompt: true,
|
|
288
304
|
},
|
|
289
305
|
{
|
|
290
306
|
type: 'text',
|
|
291
307
|
name: 'expiresAt',
|
|
292
308
|
message: 'expiresAt',
|
|
293
309
|
required: false,
|
|
310
|
+
skipPrompt: true,
|
|
294
311
|
},
|
|
295
312
|
]);
|
|
296
313
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgAdminGrant
|
|
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 OrgChartEdgeGrant
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -140,6 +139,7 @@ async function handleCreate(argv, prompter) {
|
|
|
140
139
|
name: 'parentId',
|
|
141
140
|
message: 'parentId',
|
|
142
141
|
required: false,
|
|
142
|
+
skipPrompt: true,
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
type: 'text',
|
|
@@ -152,18 +152,21 @@ async function handleCreate(argv, prompter) {
|
|
|
152
152
|
name: 'isGrant',
|
|
153
153
|
message: 'isGrant',
|
|
154
154
|
required: false,
|
|
155
|
+
skipPrompt: true,
|
|
155
156
|
},
|
|
156
157
|
{
|
|
157
158
|
type: 'text',
|
|
158
159
|
name: 'positionTitle',
|
|
159
160
|
message: 'positionTitle',
|
|
160
161
|
required: false,
|
|
162
|
+
skipPrompt: true,
|
|
161
163
|
},
|
|
162
164
|
{
|
|
163
165
|
type: 'text',
|
|
164
166
|
name: 'positionLevel',
|
|
165
167
|
message: 'positionLevel',
|
|
166
168
|
required: false,
|
|
169
|
+
skipPrompt: true,
|
|
167
170
|
},
|
|
168
171
|
]);
|
|
169
172
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -229,6 +232,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
229
232
|
name: 'parentId',
|
|
230
233
|
message: 'parentId',
|
|
231
234
|
required: false,
|
|
235
|
+
skipPrompt: true,
|
|
232
236
|
},
|
|
233
237
|
{
|
|
234
238
|
type: 'text',
|
|
@@ -241,18 +245,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
241
245
|
name: 'isGrant',
|
|
242
246
|
message: 'isGrant',
|
|
243
247
|
required: false,
|
|
248
|
+
skipPrompt: true,
|
|
244
249
|
},
|
|
245
250
|
{
|
|
246
251
|
type: 'text',
|
|
247
252
|
name: 'positionTitle',
|
|
248
253
|
message: 'positionTitle',
|
|
249
254
|
required: false,
|
|
255
|
+
skipPrompt: true,
|
|
250
256
|
},
|
|
251
257
|
{
|
|
252
258
|
type: 'text',
|
|
253
259
|
name: 'positionLevel',
|
|
254
260
|
message: 'positionLevel',
|
|
255
261
|
required: false,
|
|
262
|
+
skipPrompt: true,
|
|
256
263
|
},
|
|
257
264
|
]);
|
|
258
265
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgChartEdge
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -137,18 +136,21 @@ async function handleCreate(argv, prompter) {
|
|
|
137
136
|
name: 'parentId',
|
|
138
137
|
message: 'parentId',
|
|
139
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
type: 'text',
|
|
143
143
|
name: 'positionTitle',
|
|
144
144
|
message: 'positionTitle',
|
|
145
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
type: 'text',
|
|
149
150
|
name: 'positionLevel',
|
|
150
151
|
message: 'positionLevel',
|
|
151
152
|
required: false,
|
|
153
|
+
skipPrompt: true,
|
|
152
154
|
},
|
|
153
155
|
]);
|
|
154
156
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -211,18 +213,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
211
213
|
name: 'parentId',
|
|
212
214
|
message: 'parentId',
|
|
213
215
|
required: false,
|
|
216
|
+
skipPrompt: true,
|
|
214
217
|
},
|
|
215
218
|
{
|
|
216
219
|
type: 'text',
|
|
217
220
|
name: 'positionTitle',
|
|
218
221
|
message: 'positionTitle',
|
|
219
222
|
required: false,
|
|
223
|
+
skipPrompt: true,
|
|
220
224
|
},
|
|
221
225
|
{
|
|
222
226
|
type: 'text',
|
|
223
227
|
name: 'positionLevel',
|
|
224
228
|
message: 'positionLevel',
|
|
225
229
|
required: false,
|
|
230
|
+
skipPrompt: true,
|
|
226
231
|
},
|
|
227
232
|
]);
|
|
228
233
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
1
|
/**
|
|
3
2
|
* CLI commands for OrgClaimedInvite
|
|
4
3
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -122,18 +121,21 @@ async function handleCreate(argv, prompter) {
|
|
|
122
121
|
name: 'data',
|
|
123
122
|
message: 'data',
|
|
124
123
|
required: false,
|
|
124
|
+
skipPrompt: true,
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
type: 'text',
|
|
128
128
|
name: 'senderId',
|
|
129
129
|
message: 'senderId',
|
|
130
130
|
required: false,
|
|
131
|
+
skipPrompt: true,
|
|
131
132
|
},
|
|
132
133
|
{
|
|
133
134
|
type: 'text',
|
|
134
135
|
name: 'receiverId',
|
|
135
136
|
message: 'receiverId',
|
|
136
137
|
required: false,
|
|
138
|
+
skipPrompt: true,
|
|
137
139
|
},
|
|
138
140
|
{
|
|
139
141
|
type: 'text',
|
|
@@ -188,18 +190,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
188
190
|
name: 'data',
|
|
189
191
|
message: 'data',
|
|
190
192
|
required: false,
|
|
193
|
+
skipPrompt: true,
|
|
191
194
|
},
|
|
192
195
|
{
|
|
193
196
|
type: 'text',
|
|
194
197
|
name: 'senderId',
|
|
195
198
|
message: 'senderId',
|
|
196
199
|
required: false,
|
|
200
|
+
skipPrompt: true,
|
|
197
201
|
},
|
|
198
202
|
{
|
|
199
203
|
type: 'text',
|
|
200
204
|
name: 'receiverId',
|
|
201
205
|
message: 'receiverId',
|
|
202
206
|
required: false,
|
|
207
|
+
skipPrompt: true,
|
|
203
208
|
},
|
|
204
209
|
{
|
|
205
210
|
type: 'text',
|