@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,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgGetSubordinatesRecord
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -13,7 +12,7 @@ const fieldSchema = {
|
|
|
13
12
|
userId: 'uuid',
|
|
14
13
|
depth: 'int',
|
|
15
14
|
};
|
|
16
|
-
const usage = '\norg-get-subordinates-record <command>\n\nCommands:\n list List all orgGetSubordinatesRecord records\n
|
|
15
|
+
const usage = '\norg-get-subordinates-record <command>\n\nCommands:\n list List all orgGetSubordinatesRecord records\n create Create a new orgGetSubordinatesRecord\n\n --help, -h Show this help message\n';
|
|
17
16
|
exports.default = async (argv, prompter, _options) => {
|
|
18
17
|
if (argv.help || argv.h) {
|
|
19
18
|
console.log(usage);
|
|
@@ -26,7 +25,7 @@ exports.default = async (argv, prompter, _options) => {
|
|
|
26
25
|
type: 'autocomplete',
|
|
27
26
|
name: 'subcommand',
|
|
28
27
|
message: 'What do you want to do?',
|
|
29
|
-
options: ['list', '
|
|
28
|
+
options: ['list', 'create'],
|
|
30
29
|
},
|
|
31
30
|
]);
|
|
32
31
|
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
@@ -37,14 +36,8 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
37
36
|
switch (subcommand) {
|
|
38
37
|
case 'list':
|
|
39
38
|
return handleList(argv, prompter);
|
|
40
|
-
case 'get':
|
|
41
|
-
return handleGet(argv, prompter);
|
|
42
39
|
case 'create':
|
|
43
40
|
return handleCreate(argv, prompter);
|
|
44
|
-
case 'update':
|
|
45
|
-
return handleUpdate(argv, prompter);
|
|
46
|
-
case 'delete':
|
|
47
|
-
return handleDelete(argv, prompter);
|
|
48
41
|
default:
|
|
49
42
|
console.log(usage);
|
|
50
43
|
process.exit(1);
|
|
@@ -71,36 +64,6 @@ async function handleList(_argv, _prompter) {
|
|
|
71
64
|
process.exit(1);
|
|
72
65
|
}
|
|
73
66
|
}
|
|
74
|
-
async function handleGet(argv, prompter) {
|
|
75
|
-
try {
|
|
76
|
-
const answers = await prompter.prompt(argv, [
|
|
77
|
-
{
|
|
78
|
-
type: 'text',
|
|
79
|
-
name: 'id',
|
|
80
|
-
message: 'id',
|
|
81
|
-
required: true,
|
|
82
|
-
},
|
|
83
|
-
]);
|
|
84
|
-
const client = (0, executor_1.getClient)();
|
|
85
|
-
const result = await client.orgGetSubordinatesRecord
|
|
86
|
-
.findOne({
|
|
87
|
-
id: answers.id,
|
|
88
|
-
select: {
|
|
89
|
-
userId: true,
|
|
90
|
-
depth: true,
|
|
91
|
-
},
|
|
92
|
-
})
|
|
93
|
-
.execute();
|
|
94
|
-
console.log(JSON.stringify(result, null, 2));
|
|
95
|
-
}
|
|
96
|
-
catch (error) {
|
|
97
|
-
console.error('Record not found.');
|
|
98
|
-
if (error instanceof Error) {
|
|
99
|
-
console.error(error.message);
|
|
100
|
-
}
|
|
101
|
-
process.exit(1);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
67
|
async function handleCreate(argv, prompter) {
|
|
105
68
|
try {
|
|
106
69
|
const rawAnswers = await prompter.prompt(argv, [
|
|
@@ -142,85 +105,3 @@ async function handleCreate(argv, prompter) {
|
|
|
142
105
|
process.exit(1);
|
|
143
106
|
}
|
|
144
107
|
}
|
|
145
|
-
async function handleUpdate(argv, prompter) {
|
|
146
|
-
try {
|
|
147
|
-
const rawAnswers = await prompter.prompt(argv, [
|
|
148
|
-
{
|
|
149
|
-
type: 'text',
|
|
150
|
-
name: 'id',
|
|
151
|
-
message: 'id',
|
|
152
|
-
required: true,
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
type: 'text',
|
|
156
|
-
name: 'userId',
|
|
157
|
-
message: 'userId',
|
|
158
|
-
required: false,
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
type: 'text',
|
|
162
|
-
name: 'depth',
|
|
163
|
-
message: 'depth',
|
|
164
|
-
required: false,
|
|
165
|
-
},
|
|
166
|
-
]);
|
|
167
|
-
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
168
|
-
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
169
|
-
const client = (0, executor_1.getClient)();
|
|
170
|
-
const result = await client.orgGetSubordinatesRecord
|
|
171
|
-
.update({
|
|
172
|
-
where: {
|
|
173
|
-
id: answers.id,
|
|
174
|
-
},
|
|
175
|
-
data: {
|
|
176
|
-
userId: cleanedData.userId,
|
|
177
|
-
depth: cleanedData.depth,
|
|
178
|
-
},
|
|
179
|
-
select: {
|
|
180
|
-
userId: true,
|
|
181
|
-
depth: true,
|
|
182
|
-
},
|
|
183
|
-
})
|
|
184
|
-
.execute();
|
|
185
|
-
console.log(JSON.stringify(result, null, 2));
|
|
186
|
-
}
|
|
187
|
-
catch (error) {
|
|
188
|
-
console.error('Failed to update record.');
|
|
189
|
-
if (error instanceof Error) {
|
|
190
|
-
console.error(error.message);
|
|
191
|
-
}
|
|
192
|
-
process.exit(1);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
async function handleDelete(argv, prompter) {
|
|
196
|
-
try {
|
|
197
|
-
const rawAnswers = await prompter.prompt(argv, [
|
|
198
|
-
{
|
|
199
|
-
type: 'text',
|
|
200
|
-
name: 'id',
|
|
201
|
-
message: 'id',
|
|
202
|
-
required: true,
|
|
203
|
-
},
|
|
204
|
-
]);
|
|
205
|
-
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
206
|
-
const client = (0, executor_1.getClient)();
|
|
207
|
-
const result = await client.orgGetSubordinatesRecord
|
|
208
|
-
.delete({
|
|
209
|
-
where: {
|
|
210
|
-
id: answers.id,
|
|
211
|
-
},
|
|
212
|
-
select: {
|
|
213
|
-
id: true,
|
|
214
|
-
},
|
|
215
|
-
})
|
|
216
|
-
.execute();
|
|
217
|
-
console.log(JSON.stringify(result, null, 2));
|
|
218
|
-
}
|
|
219
|
-
catch (error) {
|
|
220
|
-
console.error('Failed to delete record.');
|
|
221
|
-
if (error instanceof Error) {
|
|
222
|
-
console.error(error.message);
|
|
223
|
-
}
|
|
224
|
-
process.exit(1);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgGrant
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -127,12 +126,14 @@ async function handleCreate(argv, prompter) {
|
|
|
127
126
|
name: 'permissions',
|
|
128
127
|
message: 'permissions',
|
|
129
128
|
required: false,
|
|
129
|
+
skipPrompt: true,
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
type: 'text',
|
|
133
133
|
name: 'isGrant',
|
|
134
134
|
message: 'isGrant',
|
|
135
135
|
required: false,
|
|
136
|
+
skipPrompt: true,
|
|
136
137
|
},
|
|
137
138
|
{
|
|
138
139
|
type: 'text',
|
|
@@ -151,6 +152,7 @@ async function handleCreate(argv, prompter) {
|
|
|
151
152
|
name: 'grantorId',
|
|
152
153
|
message: 'grantorId',
|
|
153
154
|
required: false,
|
|
155
|
+
skipPrompt: true,
|
|
154
156
|
},
|
|
155
157
|
]);
|
|
156
158
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -201,12 +203,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
201
203
|
name: 'permissions',
|
|
202
204
|
message: 'permissions',
|
|
203
205
|
required: false,
|
|
206
|
+
skipPrompt: true,
|
|
204
207
|
},
|
|
205
208
|
{
|
|
206
209
|
type: 'text',
|
|
207
210
|
name: 'isGrant',
|
|
208
211
|
message: 'isGrant',
|
|
209
212
|
required: false,
|
|
213
|
+
skipPrompt: true,
|
|
210
214
|
},
|
|
211
215
|
{
|
|
212
216
|
type: 'text',
|
|
@@ -225,6 +229,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
225
229
|
name: 'grantorId',
|
|
226
230
|
message: 'grantorId',
|
|
227
231
|
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
228
233
|
},
|
|
229
234
|
]);
|
|
230
235
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgInvite
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -145,60 +144,70 @@ async function handleCreate(argv, prompter) {
|
|
|
145
144
|
name: 'email',
|
|
146
145
|
message: 'email',
|
|
147
146
|
required: false,
|
|
147
|
+
skipPrompt: true,
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
type: 'text',
|
|
151
151
|
name: 'senderId',
|
|
152
152
|
message: 'senderId',
|
|
153
153
|
required: false,
|
|
154
|
+
skipPrompt: true,
|
|
154
155
|
},
|
|
155
156
|
{
|
|
156
157
|
type: 'text',
|
|
157
158
|
name: 'receiverId',
|
|
158
159
|
message: 'receiverId',
|
|
159
160
|
required: false,
|
|
161
|
+
skipPrompt: true,
|
|
160
162
|
},
|
|
161
163
|
{
|
|
162
164
|
type: 'text',
|
|
163
165
|
name: 'inviteToken',
|
|
164
166
|
message: 'inviteToken',
|
|
165
167
|
required: false,
|
|
168
|
+
skipPrompt: true,
|
|
166
169
|
},
|
|
167
170
|
{
|
|
168
171
|
type: 'text',
|
|
169
172
|
name: 'inviteValid',
|
|
170
173
|
message: 'inviteValid',
|
|
171
174
|
required: false,
|
|
175
|
+
skipPrompt: true,
|
|
172
176
|
},
|
|
173
177
|
{
|
|
174
178
|
type: 'text',
|
|
175
179
|
name: 'inviteLimit',
|
|
176
180
|
message: 'inviteLimit',
|
|
177
181
|
required: false,
|
|
182
|
+
skipPrompt: true,
|
|
178
183
|
},
|
|
179
184
|
{
|
|
180
185
|
type: 'text',
|
|
181
186
|
name: 'inviteCount',
|
|
182
187
|
message: 'inviteCount',
|
|
183
188
|
required: false,
|
|
189
|
+
skipPrompt: true,
|
|
184
190
|
},
|
|
185
191
|
{
|
|
186
192
|
type: 'text',
|
|
187
193
|
name: 'multiple',
|
|
188
194
|
message: 'multiple',
|
|
189
195
|
required: false,
|
|
196
|
+
skipPrompt: true,
|
|
190
197
|
},
|
|
191
198
|
{
|
|
192
199
|
type: 'text',
|
|
193
200
|
name: 'data',
|
|
194
201
|
message: 'data',
|
|
195
202
|
required: false,
|
|
203
|
+
skipPrompt: true,
|
|
196
204
|
},
|
|
197
205
|
{
|
|
198
206
|
type: 'text',
|
|
199
207
|
name: 'expiresAt',
|
|
200
208
|
message: 'expiresAt',
|
|
201
209
|
required: false,
|
|
210
|
+
skipPrompt: true,
|
|
202
211
|
},
|
|
203
212
|
{
|
|
204
213
|
type: 'text',
|
|
@@ -267,60 +276,70 @@ async function handleUpdate(argv, prompter) {
|
|
|
267
276
|
name: 'email',
|
|
268
277
|
message: 'email',
|
|
269
278
|
required: false,
|
|
279
|
+
skipPrompt: true,
|
|
270
280
|
},
|
|
271
281
|
{
|
|
272
282
|
type: 'text',
|
|
273
283
|
name: 'senderId',
|
|
274
284
|
message: 'senderId',
|
|
275
285
|
required: false,
|
|
286
|
+
skipPrompt: true,
|
|
276
287
|
},
|
|
277
288
|
{
|
|
278
289
|
type: 'text',
|
|
279
290
|
name: 'receiverId',
|
|
280
291
|
message: 'receiverId',
|
|
281
292
|
required: false,
|
|
293
|
+
skipPrompt: true,
|
|
282
294
|
},
|
|
283
295
|
{
|
|
284
296
|
type: 'text',
|
|
285
297
|
name: 'inviteToken',
|
|
286
298
|
message: 'inviteToken',
|
|
287
299
|
required: false,
|
|
300
|
+
skipPrompt: true,
|
|
288
301
|
},
|
|
289
302
|
{
|
|
290
303
|
type: 'text',
|
|
291
304
|
name: 'inviteValid',
|
|
292
305
|
message: 'inviteValid',
|
|
293
306
|
required: false,
|
|
307
|
+
skipPrompt: true,
|
|
294
308
|
},
|
|
295
309
|
{
|
|
296
310
|
type: 'text',
|
|
297
311
|
name: 'inviteLimit',
|
|
298
312
|
message: 'inviteLimit',
|
|
299
313
|
required: false,
|
|
314
|
+
skipPrompt: true,
|
|
300
315
|
},
|
|
301
316
|
{
|
|
302
317
|
type: 'text',
|
|
303
318
|
name: 'inviteCount',
|
|
304
319
|
message: 'inviteCount',
|
|
305
320
|
required: false,
|
|
321
|
+
skipPrompt: true,
|
|
306
322
|
},
|
|
307
323
|
{
|
|
308
324
|
type: 'text',
|
|
309
325
|
name: 'multiple',
|
|
310
326
|
message: 'multiple',
|
|
311
327
|
required: false,
|
|
328
|
+
skipPrompt: true,
|
|
312
329
|
},
|
|
313
330
|
{
|
|
314
331
|
type: 'text',
|
|
315
332
|
name: 'data',
|
|
316
333
|
message: 'data',
|
|
317
334
|
required: false,
|
|
335
|
+
skipPrompt: true,
|
|
318
336
|
},
|
|
319
337
|
{
|
|
320
338
|
type: 'text',
|
|
321
339
|
name: 'expiresAt',
|
|
322
340
|
message: 'expiresAt',
|
|
323
341
|
required: false,
|
|
342
|
+
skipPrompt: true,
|
|
324
343
|
},
|
|
325
344
|
{
|
|
326
345
|
type: 'text',
|
|
@@ -30,7 +30,9 @@ exports.default = async (argv, prompter, _options) => {
|
|
|
30
30
|
},
|
|
31
31
|
]);
|
|
32
32
|
const client = (0, executor_1.getClient)();
|
|
33
|
-
const result = await client.query
|
|
33
|
+
const result = await client.query
|
|
34
|
+
.orgIsManagerOf(answers)
|
|
35
|
+
.execute();
|
|
34
36
|
console.log(JSON.stringify(result, null, 2));
|
|
35
37
|
}
|
|
36
38
|
catch (error) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgLimitDefault
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -118,6 +117,7 @@ async function handleCreate(argv, prompter) {
|
|
|
118
117
|
name: 'max',
|
|
119
118
|
message: 'max',
|
|
120
119
|
required: false,
|
|
120
|
+
skipPrompt: true,
|
|
121
121
|
},
|
|
122
122
|
]);
|
|
123
123
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -166,6 +166,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
166
166
|
name: 'max',
|
|
167
167
|
message: 'max',
|
|
168
168
|
required: false,
|
|
169
|
+
skipPrompt: true,
|
|
169
170
|
},
|
|
170
171
|
]);
|
|
171
172
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgLimit
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -121,6 +120,7 @@ async function handleCreate(argv, prompter) {
|
|
|
121
120
|
name: 'name',
|
|
122
121
|
message: 'name',
|
|
123
122
|
required: false,
|
|
123
|
+
skipPrompt: true,
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
type: 'text',
|
|
@@ -133,12 +133,14 @@ async function handleCreate(argv, prompter) {
|
|
|
133
133
|
name: 'num',
|
|
134
134
|
message: 'num',
|
|
135
135
|
required: false,
|
|
136
|
+
skipPrompt: true,
|
|
136
137
|
},
|
|
137
138
|
{
|
|
138
139
|
type: 'text',
|
|
139
140
|
name: 'max',
|
|
140
141
|
message: 'max',
|
|
141
142
|
required: false,
|
|
143
|
+
skipPrompt: true,
|
|
142
144
|
},
|
|
143
145
|
{
|
|
144
146
|
type: 'text',
|
|
@@ -193,6 +195,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
193
195
|
name: 'name',
|
|
194
196
|
message: 'name',
|
|
195
197
|
required: false,
|
|
198
|
+
skipPrompt: true,
|
|
196
199
|
},
|
|
197
200
|
{
|
|
198
201
|
type: 'text',
|
|
@@ -205,12 +208,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
205
208
|
name: 'num',
|
|
206
209
|
message: 'num',
|
|
207
210
|
required: false,
|
|
211
|
+
skipPrompt: true,
|
|
208
212
|
},
|
|
209
213
|
{
|
|
210
214
|
type: 'text',
|
|
211
215
|
name: 'max',
|
|
212
216
|
message: 'max',
|
|
213
217
|
required: false,
|
|
218
|
+
skipPrompt: true,
|
|
214
219
|
},
|
|
215
220
|
{
|
|
216
221
|
type: 'text',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgMember
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -115,6 +114,7 @@ async function handleCreate(argv, prompter) {
|
|
|
115
114
|
name: 'isAdmin',
|
|
116
115
|
message: 'isAdmin',
|
|
117
116
|
required: false,
|
|
117
|
+
skipPrompt: true,
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
type: 'text',
|
|
@@ -171,6 +171,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
171
171
|
name: 'isAdmin',
|
|
172
172
|
message: 'isAdmin',
|
|
173
173
|
required: false,
|
|
174
|
+
skipPrompt: true,
|
|
174
175
|
},
|
|
175
176
|
{
|
|
176
177
|
type: 'text',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/**
|
|
5
4
|
* CLI commands for OrgMembershipDefault
|
|
6
5
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -130,18 +129,21 @@ async function handleCreate(argv, prompter) {
|
|
|
130
129
|
name: 'createdBy',
|
|
131
130
|
message: 'createdBy',
|
|
132
131
|
required: false,
|
|
132
|
+
skipPrompt: true,
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
type: 'text',
|
|
136
136
|
name: 'updatedBy',
|
|
137
137
|
message: 'updatedBy',
|
|
138
138
|
required: false,
|
|
139
|
+
skipPrompt: true,
|
|
139
140
|
},
|
|
140
141
|
{
|
|
141
142
|
type: 'text',
|
|
142
143
|
name: 'isApproved',
|
|
143
144
|
message: 'isApproved',
|
|
144
145
|
required: false,
|
|
146
|
+
skipPrompt: true,
|
|
145
147
|
},
|
|
146
148
|
{
|
|
147
149
|
type: 'text',
|
|
@@ -154,12 +156,14 @@ async function handleCreate(argv, prompter) {
|
|
|
154
156
|
name: 'deleteMemberCascadeGroups',
|
|
155
157
|
message: 'deleteMemberCascadeGroups',
|
|
156
158
|
required: false,
|
|
159
|
+
skipPrompt: true,
|
|
157
160
|
},
|
|
158
161
|
{
|
|
159
162
|
type: 'text',
|
|
160
163
|
name: 'createGroupsCascadeMembers',
|
|
161
164
|
message: 'createGroupsCascadeMembers',
|
|
162
165
|
required: false,
|
|
166
|
+
skipPrompt: true,
|
|
163
167
|
},
|
|
164
168
|
]);
|
|
165
169
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
@@ -212,18 +216,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
212
216
|
name: 'createdBy',
|
|
213
217
|
message: 'createdBy',
|
|
214
218
|
required: false,
|
|
219
|
+
skipPrompt: true,
|
|
215
220
|
},
|
|
216
221
|
{
|
|
217
222
|
type: 'text',
|
|
218
223
|
name: 'updatedBy',
|
|
219
224
|
message: 'updatedBy',
|
|
220
225
|
required: false,
|
|
226
|
+
skipPrompt: true,
|
|
221
227
|
},
|
|
222
228
|
{
|
|
223
229
|
type: 'text',
|
|
224
230
|
name: 'isApproved',
|
|
225
231
|
message: 'isApproved',
|
|
226
232
|
required: false,
|
|
233
|
+
skipPrompt: true,
|
|
227
234
|
},
|
|
228
235
|
{
|
|
229
236
|
type: 'text',
|
|
@@ -236,12 +243,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
236
243
|
name: 'deleteMemberCascadeGroups',
|
|
237
244
|
message: 'deleteMemberCascadeGroups',
|
|
238
245
|
required: false,
|
|
246
|
+
skipPrompt: true,
|
|
239
247
|
},
|
|
240
248
|
{
|
|
241
249
|
type: 'text',
|
|
242
250
|
name: 'createGroupsCascadeMembers',
|
|
243
251
|
message: 'createGroupsCascadeMembers',
|
|
244
252
|
required: false,
|
|
253
|
+
skipPrompt: true,
|
|
245
254
|
},
|
|
246
255
|
]);
|
|
247
256
|
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|