@constructive-sdk/cli 0.3.0 → 0.7.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-admin-grant.js +2 -2
- package/admin/cli/commands/app-grant.js +2 -2
- package/admin/cli/commands/app-membership-default.js +4 -4
- package/admin/cli/commands/app-membership.js +14 -14
- package/admin/cli/commands/app-owner-grant.js +2 -2
- package/admin/cli/commands/claimed-invite.js +2 -2
- package/admin/cli/commands/invite.js +6 -6
- package/admin/cli/commands/org-admin-grant.js +2 -2
- package/admin/cli/commands/org-chart-edge-grant.js +2 -2
- package/admin/cli/commands/org-claimed-invite.js +2 -2
- package/admin/cli/commands/org-grant.js +2 -2
- package/admin/cli/commands/org-invite.js +6 -6
- package/admin/cli/commands/org-member.js +2 -2
- package/admin/cli/commands/org-membership-default.js +6 -6
- package/admin/cli/commands/org-membership.js +12 -12
- package/admin/cli/commands/org-owner-grant.js +2 -2
- package/admin/cli/commands/submit-invite-code.js +1 -1
- package/admin/cli/commands/submit-org-invite-code.js +1 -1
- package/admin/cli/index.js +2 -2
- package/admin/cli/utils.d.ts +13 -0
- package/admin/cli/utils.js +25 -0
- package/admin/orm/input-types.d.ts +7 -280
- package/admin/orm/query-builder.d.ts +6 -4
- package/admin/orm/query-builder.js +13 -3
- package/admin/orm/select-types.d.ts +4 -2
- package/auth/cli/commands/audit-log.js +2 -2
- package/auth/cli/commands/check-password.js +1 -1
- package/auth/cli/commands/confirm-delete-account.js +1 -1
- package/auth/cli/commands/connected-account.js +4 -4
- package/auth/cli/commands/crypto-address.js +4 -4
- package/auth/cli/commands/email.js +4 -4
- package/auth/cli/commands/extend-token-expires.js +1 -1
- package/auth/cli/commands/forgot-password.js +1 -1
- package/auth/cli/commands/one-time-token.js +1 -1
- package/auth/cli/commands/phone-number.js +4 -4
- package/auth/cli/commands/reset-password.js +1 -1
- package/auth/cli/commands/send-account-deletion-email.js +1 -1
- package/auth/cli/commands/send-verification-email.js +1 -1
- package/auth/cli/commands/set-password.js +1 -1
- package/auth/cli/commands/sign-in-one-time-token.js +1 -1
- package/auth/cli/commands/sign-in.js +1 -1
- package/auth/cli/commands/sign-out.js +1 -1
- package/auth/cli/commands/sign-up.js +1 -1
- package/auth/cli/commands/verify-email.js +1 -1
- package/auth/cli/commands/verify-password.js +1 -1
- package/auth/cli/commands/verify-totp.js +1 -1
- package/auth/cli/index.js +2 -2
- package/auth/cli/utils.d.ts +13 -0
- package/auth/cli/utils.js +25 -0
- package/auth/orm/input-types.d.ts +7 -63
- package/auth/orm/query-builder.d.ts +6 -4
- package/auth/orm/query-builder.js +13 -3
- package/auth/orm/select-types.d.ts +4 -2
- package/esm/admin/cli/commands/app-admin-grant.js +2 -2
- package/esm/admin/cli/commands/app-grant.js +2 -2
- package/esm/admin/cli/commands/app-membership-default.js +4 -4
- package/esm/admin/cli/commands/app-membership.js +14 -14
- package/esm/admin/cli/commands/app-owner-grant.js +2 -2
- package/esm/admin/cli/commands/claimed-invite.js +2 -2
- package/esm/admin/cli/commands/invite.js +6 -6
- package/esm/admin/cli/commands/org-admin-grant.js +2 -2
- package/esm/admin/cli/commands/org-chart-edge-grant.js +2 -2
- package/esm/admin/cli/commands/org-claimed-invite.js +2 -2
- package/esm/admin/cli/commands/org-grant.js +2 -2
- package/esm/admin/cli/commands/org-invite.js +6 -6
- package/esm/admin/cli/commands/org-member.js +2 -2
- package/esm/admin/cli/commands/org-membership-default.js +6 -6
- package/esm/admin/cli/commands/org-membership.js +12 -12
- package/esm/admin/cli/commands/org-owner-grant.js +2 -2
- package/esm/admin/cli/commands/submit-invite-code.js +2 -2
- package/esm/admin/cli/commands/submit-org-invite-code.js +2 -2
- package/esm/admin/cli/index.js +2 -2
- package/esm/admin/cli/utils.d.ts +13 -0
- package/esm/admin/cli/utils.js +24 -0
- package/esm/admin/orm/input-types.d.ts +7 -280
- package/esm/admin/orm/query-builder.d.ts +6 -4
- package/esm/admin/orm/query-builder.js +13 -3
- package/esm/admin/orm/select-types.d.ts +4 -2
- package/esm/auth/cli/commands/audit-log.js +2 -2
- package/esm/auth/cli/commands/check-password.js +2 -2
- package/esm/auth/cli/commands/confirm-delete-account.js +2 -2
- package/esm/auth/cli/commands/connected-account.js +4 -4
- package/esm/auth/cli/commands/crypto-address.js +4 -4
- package/esm/auth/cli/commands/email.js +4 -4
- package/esm/auth/cli/commands/extend-token-expires.js +2 -2
- package/esm/auth/cli/commands/forgot-password.js +2 -2
- package/esm/auth/cli/commands/one-time-token.js +2 -2
- package/esm/auth/cli/commands/phone-number.js +4 -4
- package/esm/auth/cli/commands/reset-password.js +2 -2
- package/esm/auth/cli/commands/send-account-deletion-email.js +2 -2
- package/esm/auth/cli/commands/send-verification-email.js +2 -2
- package/esm/auth/cli/commands/set-password.js +2 -2
- package/esm/auth/cli/commands/sign-in-one-time-token.js +2 -2
- package/esm/auth/cli/commands/sign-in.js +2 -2
- package/esm/auth/cli/commands/sign-out.js +2 -2
- package/esm/auth/cli/commands/sign-up.js +2 -2
- package/esm/auth/cli/commands/verify-email.js +2 -2
- package/esm/auth/cli/commands/verify-password.js +2 -2
- package/esm/auth/cli/commands/verify-totp.js +2 -2
- package/esm/auth/cli/index.js +2 -2
- package/esm/auth/cli/utils.d.ts +13 -0
- package/esm/auth/cli/utils.js +24 -0
- package/esm/auth/orm/input-types.d.ts +7 -63
- package/esm/auth/orm/query-builder.d.ts +6 -4
- package/esm/auth/orm/query-builder.js +13 -3
- package/esm/auth/orm/select-types.d.ts +4 -2
- package/esm/objects/cli/commands/freeze-objects.js +2 -2
- package/esm/objects/cli/commands/get-all-record.js +1 -1
- package/esm/objects/cli/commands/init-empty-repo.js +2 -2
- package/esm/objects/cli/commands/insert-node-at-path.js +2 -2
- package/esm/objects/cli/commands/object.js +4 -4
- package/esm/objects/cli/commands/remove-node-at-path.js +2 -2
- package/esm/objects/cli/commands/set-and-commit.js +2 -2
- package/esm/objects/cli/commands/set-data-at-path.js +2 -2
- package/esm/objects/cli/commands/set-props-and-commit.js +2 -2
- package/esm/objects/cli/commands/update-node-at-path.js +2 -2
- package/esm/objects/cli/index.js +2 -2
- package/esm/objects/cli/utils.d.ts +13 -0
- package/esm/objects/cli/utils.js +24 -0
- package/esm/objects/orm/input-types.d.ts +7 -39
- package/esm/objects/orm/query-builder.d.ts +6 -4
- package/esm/objects/orm/query-builder.js +13 -3
- package/esm/objects/orm/select-types.d.ts +4 -2
- package/esm/public/cli/commands/api-module.js +2 -2
- package/esm/public/cli/commands/api.js +2 -2
- package/esm/public/cli/commands/app-admin-grant.js +2 -2
- package/esm/public/cli/commands/app-grant.js +2 -2
- package/esm/public/cli/commands/app-membership-default.js +4 -4
- package/esm/public/cli/commands/app-membership.js +14 -14
- package/esm/public/cli/commands/app-owner-grant.js +2 -2
- package/esm/public/cli/commands/apply-rls.js +2 -2
- package/esm/public/cli/commands/ast-migration.js +4 -4
- package/esm/public/cli/commands/audit-log.js +2 -2
- package/esm/public/cli/commands/bootstrap-user.js +2 -2
- package/esm/public/cli/commands/check-constraint.js +4 -4
- package/esm/public/cli/commands/check-password.js +2 -2
- package/esm/public/cli/commands/claimed-invite.js +2 -2
- package/esm/public/cli/commands/confirm-delete-account.js +2 -2
- package/esm/public/cli/commands/connected-account.js +4 -4
- package/esm/public/cli/commands/create-user-database.js +2 -2
- package/esm/public/cli/commands/crypto-address.js +4 -4
- package/esm/public/cli/commands/database-provision-module.js +4 -4
- package/esm/public/cli/commands/default-privilege.js +2 -2
- package/esm/public/cli/commands/denormalized-table-field.js +4 -4
- package/esm/public/cli/commands/email.js +4 -4
- package/esm/public/cli/commands/extend-token-expires.js +2 -2
- package/esm/public/cli/commands/field-module.js +2 -2
- package/esm/public/cli/commands/field.js +12 -12
- package/esm/public/cli/commands/foreign-key-constraint.js +2 -2
- package/esm/public/cli/commands/forgot-password.js +2 -2
- package/esm/public/cli/commands/freeze-objects.js +2 -2
- package/esm/public/cli/commands/get-all-record.js +1 -1
- package/esm/public/cli/commands/index.js +8 -8
- package/esm/public/cli/commands/init-empty-repo.js +2 -2
- package/esm/public/cli/commands/insert-node-at-path.js +2 -2
- package/esm/public/cli/commands/invite.js +6 -6
- package/esm/public/cli/commands/node-type-registry.js +2 -2
- package/esm/public/cli/commands/object.js +4 -4
- package/esm/public/cli/commands/one-time-token.js +2 -2
- package/esm/public/cli/commands/org-admin-grant.js +2 -2
- package/esm/public/cli/commands/org-chart-edge-grant.js +2 -2
- package/esm/public/cli/commands/org-claimed-invite.js +2 -2
- package/esm/public/cli/commands/org-grant.js +2 -2
- package/esm/public/cli/commands/org-invite.js +6 -6
- package/esm/public/cli/commands/org-member.js +2 -2
- package/esm/public/cli/commands/org-membership-default.js +6 -6
- package/esm/public/cli/commands/org-membership.js +12 -12
- package/esm/public/cli/commands/org-owner-grant.js +2 -2
- package/esm/public/cli/commands/phone-number.js +4 -4
- package/esm/public/cli/commands/policy.js +8 -8
- package/esm/public/cli/commands/primary-key-constraint.js +2 -2
- package/esm/public/cli/commands/provision-database-with-user.js +2 -2
- package/esm/public/cli/commands/relation-provision.js +12 -12
- package/esm/public/cli/commands/remove-node-at-path.js +2 -2
- package/esm/public/cli/commands/reset-password.js +2 -2
- package/esm/public/cli/commands/schema.js +4 -4
- package/esm/public/cli/commands/secure-table-provision.js +10 -10
- package/esm/public/cli/commands/send-account-deletion-email.js +2 -2
- package/esm/public/cli/commands/send-verification-email.js +2 -2
- package/esm/public/cli/commands/set-and-commit.js +2 -2
- package/esm/public/cli/commands/set-data-at-path.js +2 -2
- package/esm/public/cli/commands/set-field-order.js +2 -2
- package/esm/public/cli/commands/set-password.js +2 -2
- package/esm/public/cli/commands/set-props-and-commit.js +2 -2
- package/esm/public/cli/commands/sign-in-one-time-token.js +2 -2
- package/esm/public/cli/commands/sign-in.js +2 -2
- package/esm/public/cli/commands/sign-out.js +2 -2
- package/esm/public/cli/commands/sign-up.js +2 -2
- package/esm/public/cli/commands/site-module.js +2 -2
- package/esm/public/cli/commands/site-theme.js +2 -2
- package/esm/public/cli/commands/sql-migration.js +1 -1
- package/esm/public/cli/commands/submit-invite-code.js +2 -2
- package/esm/public/cli/commands/submit-org-invite-code.js +2 -2
- package/esm/public/cli/commands/table-grant.js +2 -2
- package/esm/public/cli/commands/table-module.js +4 -4
- package/esm/public/cli/commands/table-template-module.js +2 -2
- package/esm/public/cli/commands/table.js +8 -8
- package/esm/public/cli/commands/trigger.js +2 -2
- package/esm/public/cli/commands/unique-constraint.js +2 -2
- package/esm/public/cli/commands/update-node-at-path.js +2 -2
- package/esm/public/cli/commands/verify-email.js +2 -2
- package/esm/public/cli/commands/verify-password.js +2 -2
- package/esm/public/cli/commands/verify-totp.js +2 -2
- package/esm/public/cli/commands/view-grant.js +4 -4
- package/esm/public/cli/commands/view.js +10 -10
- package/esm/public/cli/index.js +2 -2
- package/esm/public/cli/utils.d.ts +13 -0
- package/esm/public/cli/utils.js +24 -0
- package/esm/public/orm/input-types.d.ts +7 -1196
- package/esm/public/orm/query-builder.d.ts +6 -4
- package/esm/public/orm/query-builder.js +13 -3
- package/esm/public/orm/select-types.d.ts +4 -2
- package/objects/cli/commands/freeze-objects.js +1 -1
- package/objects/cli/commands/get-all-record.js +1 -1
- package/objects/cli/commands/init-empty-repo.js +1 -1
- package/objects/cli/commands/insert-node-at-path.js +1 -1
- package/objects/cli/commands/object.js +4 -4
- package/objects/cli/commands/remove-node-at-path.js +1 -1
- package/objects/cli/commands/set-and-commit.js +1 -1
- package/objects/cli/commands/set-data-at-path.js +1 -1
- package/objects/cli/commands/set-props-and-commit.js +1 -1
- package/objects/cli/commands/update-node-at-path.js +1 -1
- package/objects/cli/index.js +2 -2
- package/objects/cli/utils.d.ts +13 -0
- package/objects/cli/utils.js +25 -0
- package/objects/orm/input-types.d.ts +7 -39
- package/objects/orm/query-builder.d.ts +6 -4
- package/objects/orm/query-builder.js +13 -3
- package/objects/orm/select-types.d.ts +4 -2
- package/package.json +6 -6
- package/public/cli/commands/api-module.js +2 -2
- package/public/cli/commands/api.js +2 -2
- package/public/cli/commands/app-admin-grant.js +2 -2
- package/public/cli/commands/app-grant.js +2 -2
- package/public/cli/commands/app-membership-default.js +4 -4
- package/public/cli/commands/app-membership.js +14 -14
- package/public/cli/commands/app-owner-grant.js +2 -2
- package/public/cli/commands/apply-rls.js +1 -1
- package/public/cli/commands/ast-migration.js +4 -4
- package/public/cli/commands/audit-log.js +2 -2
- package/public/cli/commands/bootstrap-user.js +1 -1
- package/public/cli/commands/check-constraint.js +4 -4
- package/public/cli/commands/check-password.js +1 -1
- package/public/cli/commands/claimed-invite.js +2 -2
- package/public/cli/commands/confirm-delete-account.js +1 -1
- package/public/cli/commands/connected-account.js +4 -4
- package/public/cli/commands/create-user-database.js +1 -1
- package/public/cli/commands/crypto-address.js +4 -4
- package/public/cli/commands/database-provision-module.js +4 -4
- package/public/cli/commands/default-privilege.js +2 -2
- package/public/cli/commands/denormalized-table-field.js +4 -4
- package/public/cli/commands/email.js +4 -4
- package/public/cli/commands/extend-token-expires.js +1 -1
- package/public/cli/commands/field-module.js +2 -2
- package/public/cli/commands/field.js +12 -12
- package/public/cli/commands/foreign-key-constraint.js +2 -2
- package/public/cli/commands/forgot-password.js +1 -1
- package/public/cli/commands/freeze-objects.js +1 -1
- package/public/cli/commands/get-all-record.js +1 -1
- package/public/cli/commands/index.js +8 -8
- package/public/cli/commands/init-empty-repo.js +1 -1
- package/public/cli/commands/insert-node-at-path.js +1 -1
- package/public/cli/commands/invite.js +6 -6
- package/public/cli/commands/node-type-registry.js +2 -2
- package/public/cli/commands/object.js +4 -4
- package/public/cli/commands/one-time-token.js +1 -1
- package/public/cli/commands/org-admin-grant.js +2 -2
- package/public/cli/commands/org-chart-edge-grant.js +2 -2
- package/public/cli/commands/org-claimed-invite.js +2 -2
- package/public/cli/commands/org-grant.js +2 -2
- package/public/cli/commands/org-invite.js +6 -6
- package/public/cli/commands/org-member.js +2 -2
- package/public/cli/commands/org-membership-default.js +6 -6
- package/public/cli/commands/org-membership.js +12 -12
- package/public/cli/commands/org-owner-grant.js +2 -2
- package/public/cli/commands/phone-number.js +4 -4
- package/public/cli/commands/policy.js +8 -8
- package/public/cli/commands/primary-key-constraint.js +2 -2
- package/public/cli/commands/provision-database-with-user.js +1 -1
- package/public/cli/commands/relation-provision.js +12 -12
- package/public/cli/commands/remove-node-at-path.js +1 -1
- package/public/cli/commands/reset-password.js +1 -1
- package/public/cli/commands/schema.js +4 -4
- package/public/cli/commands/secure-table-provision.js +10 -10
- package/public/cli/commands/send-account-deletion-email.js +1 -1
- package/public/cli/commands/send-verification-email.js +1 -1
- package/public/cli/commands/set-and-commit.js +1 -1
- package/public/cli/commands/set-data-at-path.js +1 -1
- package/public/cli/commands/set-field-order.js +1 -1
- package/public/cli/commands/set-password.js +1 -1
- package/public/cli/commands/set-props-and-commit.js +1 -1
- package/public/cli/commands/sign-in-one-time-token.js +1 -1
- package/public/cli/commands/sign-in.js +1 -1
- package/public/cli/commands/sign-out.js +1 -1
- package/public/cli/commands/sign-up.js +1 -1
- package/public/cli/commands/site-module.js +2 -2
- package/public/cli/commands/site-theme.js +2 -2
- package/public/cli/commands/sql-migration.js +1 -1
- package/public/cli/commands/submit-invite-code.js +1 -1
- package/public/cli/commands/submit-org-invite-code.js +1 -1
- package/public/cli/commands/table-grant.js +2 -2
- package/public/cli/commands/table-module.js +4 -4
- package/public/cli/commands/table-template-module.js +2 -2
- package/public/cli/commands/table.js +8 -8
- package/public/cli/commands/trigger.js +2 -2
- package/public/cli/commands/unique-constraint.js +2 -2
- package/public/cli/commands/update-node-at-path.js +1 -1
- package/public/cli/commands/verify-email.js +1 -1
- package/public/cli/commands/verify-password.js +1 -1
- package/public/cli/commands/verify-totp.js +1 -1
- package/public/cli/commands/view-grant.js +4 -4
- package/public/cli/commands/view.js +10 -10
- package/public/cli/index.js +2 -2
- package/public/cli/utils.d.ts +13 -0
- package/public/cli/utils.js +25 -0
- package/public/orm/input-types.d.ts +7 -1196
- package/public/orm/query-builder.d.ts +6 -4
- package/public/orm/query-builder.js +13 -3
- package/public/orm/select-types.d.ts +4 -2
|
@@ -117,7 +117,7 @@ async function handleCreate(argv, prompter) {
|
|
|
117
117
|
try {
|
|
118
118
|
const rawAnswers = await prompter.prompt(argv, [
|
|
119
119
|
{
|
|
120
|
-
type: '
|
|
120
|
+
type: 'json',
|
|
121
121
|
name: 'data',
|
|
122
122
|
message: 'data',
|
|
123
123
|
required: false,
|
|
@@ -186,7 +186,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
186
186
|
required: true,
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
type: '
|
|
189
|
+
type: 'json',
|
|
190
190
|
name: 'data',
|
|
191
191
|
message: 'data',
|
|
192
192
|
required: false,
|
|
@@ -127,7 +127,7 @@ async function handleCreate(argv, prompter) {
|
|
|
127
127
|
skipPrompt: true,
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
type: '
|
|
130
|
+
type: 'boolean',
|
|
131
131
|
name: 'isGrant',
|
|
132
132
|
message: 'isGrant',
|
|
133
133
|
required: false,
|
|
@@ -204,7 +204,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
204
204
|
skipPrompt: true,
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
type: '
|
|
207
|
+
type: 'boolean',
|
|
208
208
|
name: 'isGrant',
|
|
209
209
|
message: 'isGrant',
|
|
210
210
|
required: false,
|
|
@@ -166,7 +166,7 @@ async function handleCreate(argv, prompter) {
|
|
|
166
166
|
skipPrompt: true,
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
|
-
type: '
|
|
169
|
+
type: 'boolean',
|
|
170
170
|
name: 'inviteValid',
|
|
171
171
|
message: 'inviteValid',
|
|
172
172
|
required: false,
|
|
@@ -187,14 +187,14 @@ async function handleCreate(argv, prompter) {
|
|
|
187
187
|
skipPrompt: true,
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
|
-
type: '
|
|
190
|
+
type: 'boolean',
|
|
191
191
|
name: 'multiple',
|
|
192
192
|
message: 'multiple',
|
|
193
193
|
required: false,
|
|
194
194
|
skipPrompt: true,
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
|
-
type: '
|
|
197
|
+
type: 'json',
|
|
198
198
|
name: 'data',
|
|
199
199
|
message: 'data',
|
|
200
200
|
required: false,
|
|
@@ -298,7 +298,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
298
298
|
skipPrompt: true,
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
|
-
type: '
|
|
301
|
+
type: 'boolean',
|
|
302
302
|
name: 'inviteValid',
|
|
303
303
|
message: 'inviteValid',
|
|
304
304
|
required: false,
|
|
@@ -319,14 +319,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
319
319
|
skipPrompt: true,
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
type: '
|
|
322
|
+
type: 'boolean',
|
|
323
323
|
name: 'multiple',
|
|
324
324
|
message: 'multiple',
|
|
325
325
|
required: false,
|
|
326
326
|
skipPrompt: true,
|
|
327
327
|
},
|
|
328
328
|
{
|
|
329
|
-
type: '
|
|
329
|
+
type: 'json',
|
|
330
330
|
name: 'data',
|
|
331
331
|
message: 'data',
|
|
332
332
|
required: false,
|
|
@@ -108,7 +108,7 @@ async function handleCreate(argv, prompter) {
|
|
|
108
108
|
try {
|
|
109
109
|
const rawAnswers = await prompter.prompt(argv, [
|
|
110
110
|
{
|
|
111
|
-
type: '
|
|
111
|
+
type: 'boolean',
|
|
112
112
|
name: 'isAdmin',
|
|
113
113
|
message: 'isAdmin',
|
|
114
114
|
required: false,
|
|
@@ -165,7 +165,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
165
165
|
required: true,
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
type: '
|
|
168
|
+
type: 'boolean',
|
|
169
169
|
name: 'isAdmin',
|
|
170
170
|
message: 'isAdmin',
|
|
171
171
|
required: false,
|
|
@@ -137,7 +137,7 @@ async function handleCreate(argv, prompter) {
|
|
|
137
137
|
skipPrompt: true,
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
type: '
|
|
140
|
+
type: 'boolean',
|
|
141
141
|
name: 'isApproved',
|
|
142
142
|
message: 'isApproved',
|
|
143
143
|
required: false,
|
|
@@ -150,14 +150,14 @@ async function handleCreate(argv, prompter) {
|
|
|
150
150
|
required: true,
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
type: '
|
|
153
|
+
type: 'boolean',
|
|
154
154
|
name: 'deleteMemberCascadeGroups',
|
|
155
155
|
message: 'deleteMemberCascadeGroups',
|
|
156
156
|
required: false,
|
|
157
157
|
skipPrompt: true,
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
type: '
|
|
160
|
+
type: 'boolean',
|
|
161
161
|
name: 'createGroupsCascadeMembers',
|
|
162
162
|
message: 'createGroupsCascadeMembers',
|
|
163
163
|
required: false,
|
|
@@ -224,7 +224,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
224
224
|
skipPrompt: true,
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
type: '
|
|
227
|
+
type: 'boolean',
|
|
228
228
|
name: 'isApproved',
|
|
229
229
|
message: 'isApproved',
|
|
230
230
|
required: false,
|
|
@@ -237,14 +237,14 @@ async function handleUpdate(argv, prompter) {
|
|
|
237
237
|
required: false,
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
type: '
|
|
240
|
+
type: 'boolean',
|
|
241
241
|
name: 'deleteMemberCascadeGroups',
|
|
242
242
|
message: 'deleteMemberCascadeGroups',
|
|
243
243
|
required: false,
|
|
244
244
|
skipPrompt: true,
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
type: '
|
|
247
|
+
type: 'boolean',
|
|
248
248
|
name: 'createGroupsCascadeMembers',
|
|
249
249
|
message: 'createGroupsCascadeMembers',
|
|
250
250
|
required: false,
|
|
@@ -158,42 +158,42 @@ async function handleCreate(argv, prompter) {
|
|
|
158
158
|
skipPrompt: true,
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
type: '
|
|
161
|
+
type: 'boolean',
|
|
162
162
|
name: 'isApproved',
|
|
163
163
|
message: 'isApproved',
|
|
164
164
|
required: false,
|
|
165
165
|
skipPrompt: true,
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
type: '
|
|
168
|
+
type: 'boolean',
|
|
169
169
|
name: 'isBanned',
|
|
170
170
|
message: 'isBanned',
|
|
171
171
|
required: false,
|
|
172
172
|
skipPrompt: true,
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
type: '
|
|
175
|
+
type: 'boolean',
|
|
176
176
|
name: 'isDisabled',
|
|
177
177
|
message: 'isDisabled',
|
|
178
178
|
required: false,
|
|
179
179
|
skipPrompt: true,
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
|
-
type: '
|
|
182
|
+
type: 'boolean',
|
|
183
183
|
name: 'isActive',
|
|
184
184
|
message: 'isActive',
|
|
185
185
|
required: false,
|
|
186
186
|
skipPrompt: true,
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
type: '
|
|
189
|
+
type: 'boolean',
|
|
190
190
|
name: 'isOwner',
|
|
191
191
|
message: 'isOwner',
|
|
192
192
|
required: false,
|
|
193
193
|
skipPrompt: true,
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
|
-
type: '
|
|
196
|
+
type: 'boolean',
|
|
197
197
|
name: 'isAdmin',
|
|
198
198
|
message: 'isAdmin',
|
|
199
199
|
required: false,
|
|
@@ -307,42 +307,42 @@ async function handleUpdate(argv, prompter) {
|
|
|
307
307
|
skipPrompt: true,
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
|
-
type: '
|
|
310
|
+
type: 'boolean',
|
|
311
311
|
name: 'isApproved',
|
|
312
312
|
message: 'isApproved',
|
|
313
313
|
required: false,
|
|
314
314
|
skipPrompt: true,
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
type: '
|
|
317
|
+
type: 'boolean',
|
|
318
318
|
name: 'isBanned',
|
|
319
319
|
message: 'isBanned',
|
|
320
320
|
required: false,
|
|
321
321
|
skipPrompt: true,
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
type: '
|
|
324
|
+
type: 'boolean',
|
|
325
325
|
name: 'isDisabled',
|
|
326
326
|
message: 'isDisabled',
|
|
327
327
|
required: false,
|
|
328
328
|
skipPrompt: true,
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
type: '
|
|
331
|
+
type: 'boolean',
|
|
332
332
|
name: 'isActive',
|
|
333
333
|
message: 'isActive',
|
|
334
334
|
required: false,
|
|
335
335
|
skipPrompt: true,
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
type: '
|
|
338
|
+
type: 'boolean',
|
|
339
339
|
name: 'isOwner',
|
|
340
340
|
message: 'isOwner',
|
|
341
341
|
required: false,
|
|
342
342
|
skipPrompt: true,
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
type: '
|
|
345
|
+
type: 'boolean',
|
|
346
346
|
name: 'isAdmin',
|
|
347
347
|
message: 'isAdmin',
|
|
348
348
|
required: false,
|
|
@@ -117,7 +117,7 @@ async function handleCreate(argv, prompter) {
|
|
|
117
117
|
try {
|
|
118
118
|
const rawAnswers = await prompter.prompt(argv, [
|
|
119
119
|
{
|
|
120
|
-
type: '
|
|
120
|
+
type: 'boolean',
|
|
121
121
|
name: 'isGrant',
|
|
122
122
|
message: 'isGrant',
|
|
123
123
|
required: false,
|
|
@@ -185,7 +185,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
185
185
|
required: true,
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
|
-
type: '
|
|
188
|
+
type: 'boolean',
|
|
189
189
|
name: 'isGrant',
|
|
190
190
|
message: 'isGrant',
|
|
191
191
|
required: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getClient } from '../executor';
|
|
2
|
-
import {
|
|
2
|
+
import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
@@ -15,7 +15,7 @@ export default async (argv, prompter, _options) => {
|
|
|
15
15
|
},
|
|
16
16
|
]);
|
|
17
17
|
const client = getClient();
|
|
18
|
-
const parsedAnswers =
|
|
18
|
+
const parsedAnswers = unflattenDotNotation(answers);
|
|
19
19
|
const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
|
|
20
20
|
const result = await client.mutation
|
|
21
21
|
.submitInviteCode(parsedAnswers, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getClient } from '../executor';
|
|
2
|
-
import {
|
|
2
|
+
import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
3
3
|
export default async (argv, prompter, _options) => {
|
|
4
4
|
try {
|
|
5
5
|
if (argv.help || argv.h) {
|
|
@@ -15,7 +15,7 @@ export default async (argv, prompter, _options) => {
|
|
|
15
15
|
},
|
|
16
16
|
]);
|
|
17
17
|
const client = getClient();
|
|
18
|
-
const parsedAnswers =
|
|
18
|
+
const parsedAnswers = unflattenDotNotation(answers);
|
|
19
19
|
const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
|
|
20
20
|
const result = await client.mutation
|
|
21
21
|
.submitOrgInviteCode(parsedAnswers, {
|
package/esm/admin/cli/index.js
CHANGED
|
@@ -10,9 +10,9 @@ if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
|
10
10
|
console.log(pkg.version);
|
|
11
11
|
process.exit(0);
|
|
12
12
|
}
|
|
13
|
-
// Check for --tty false to enable non-interactive mode (noTty)
|
|
13
|
+
// Check for --tty false or --no-tty to enable non-interactive mode (noTty)
|
|
14
14
|
const ttyIdx = process.argv.indexOf('--tty');
|
|
15
|
-
const noTty = ttyIdx !== -1 && process.argv[ttyIdx + 1] === 'false';
|
|
15
|
+
const noTty = (ttyIdx !== -1 && process.argv[ttyIdx + 1] === 'false') || process.argv.includes('--no-tty');
|
|
16
16
|
const options = {
|
|
17
17
|
noTty,
|
|
18
18
|
minimistOpts: { alias: { v: 'version', h: 'help' } },
|
package/esm/admin/cli/utils.d.ts
CHANGED
|
@@ -20,6 +20,19 @@ export declare function stripUndefined(obj: Record<string, unknown>, schema?: Fi
|
|
|
20
20
|
* from the CLI prompt. This parses it into a proper object.
|
|
21
21
|
*/
|
|
22
22
|
export declare function parseMutationInput(answers: Record<string, unknown>): Record<string, unknown>;
|
|
23
|
+
/**
|
|
24
|
+
* Reconstruct nested objects from dot-notation CLI answers.
|
|
25
|
+
* When INPUT_OBJECT args are flattened to dot-notation questions
|
|
26
|
+
* (e.g. `--input.email foo --input.password bar`), this function
|
|
27
|
+
* rebuilds the nested structure expected by the ORM:
|
|
28
|
+
*
|
|
29
|
+
* { 'input.email': 'foo', 'input.password': 'bar' }
|
|
30
|
+
* → { input: { email: 'foo', password: 'bar' } }
|
|
31
|
+
*
|
|
32
|
+
* Non-dotted keys are passed through unchanged.
|
|
33
|
+
* Uses `nested-obj` for safe nested property setting.
|
|
34
|
+
*/
|
|
35
|
+
export declare function unflattenDotNotation(answers: Record<string, unknown>): Record<string, unknown>;
|
|
23
36
|
/**
|
|
24
37
|
* Build a select object from a comma-separated list of dot-notation paths.
|
|
25
38
|
* Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
|
package/esm/admin/cli/utils.js
CHANGED
|
@@ -115,6 +115,30 @@ export function parseMutationInput(answers) {
|
|
|
115
115
|
}
|
|
116
116
|
return answers;
|
|
117
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Reconstruct nested objects from dot-notation CLI answers.
|
|
120
|
+
* When INPUT_OBJECT args are flattened to dot-notation questions
|
|
121
|
+
* (e.g. `--input.email foo --input.password bar`), this function
|
|
122
|
+
* rebuilds the nested structure expected by the ORM:
|
|
123
|
+
*
|
|
124
|
+
* { 'input.email': 'foo', 'input.password': 'bar' }
|
|
125
|
+
* → { input: { email: 'foo', password: 'bar' } }
|
|
126
|
+
*
|
|
127
|
+
* Non-dotted keys are passed through unchanged.
|
|
128
|
+
* Uses `nested-obj` for safe nested property setting.
|
|
129
|
+
*/
|
|
130
|
+
export function unflattenDotNotation(answers) {
|
|
131
|
+
const result = {};
|
|
132
|
+
for (const [key, value] of Object.entries(answers)) {
|
|
133
|
+
if (key.includes('.')) {
|
|
134
|
+
objectPath.set(result, key, value);
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
result[key] = value;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
return result;
|
|
141
|
+
}
|
|
118
142
|
/**
|
|
119
143
|
* Build a select object from a comma-separated list of dot-notation paths.
|
|
120
144
|
* Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
|
|
@@ -162,6 +162,13 @@ export interface InternetAddressFilter {
|
|
|
162
162
|
export interface FullTextFilter {
|
|
163
163
|
matches?: string;
|
|
164
164
|
}
|
|
165
|
+
export interface VectorFilter {
|
|
166
|
+
isNull?: boolean;
|
|
167
|
+
equalTo?: number[];
|
|
168
|
+
notEqualTo?: number[];
|
|
169
|
+
distinctFrom?: number[];
|
|
170
|
+
notDistinctFrom?: number[];
|
|
171
|
+
}
|
|
165
172
|
export interface StringListFilter {
|
|
166
173
|
isNull?: boolean;
|
|
167
174
|
equalTo?: string[];
|
|
@@ -1421,286 +1428,6 @@ export interface OrgInviteFilter {
|
|
|
1421
1428
|
or?: OrgInviteFilter[];
|
|
1422
1429
|
not?: OrgInviteFilter;
|
|
1423
1430
|
}
|
|
1424
|
-
export interface OrgGetManagersRecordCondition {
|
|
1425
|
-
userId?: string | null;
|
|
1426
|
-
depth?: number | null;
|
|
1427
|
-
}
|
|
1428
|
-
export interface OrgGetSubordinatesRecordCondition {
|
|
1429
|
-
userId?: string | null;
|
|
1430
|
-
depth?: number | null;
|
|
1431
|
-
}
|
|
1432
|
-
export interface AppPermissionCondition {
|
|
1433
|
-
id?: string | null;
|
|
1434
|
-
name?: string | null;
|
|
1435
|
-
bitnum?: number | null;
|
|
1436
|
-
bitstr?: string | null;
|
|
1437
|
-
description?: string | null;
|
|
1438
|
-
}
|
|
1439
|
-
export interface OrgPermissionCondition {
|
|
1440
|
-
id?: string | null;
|
|
1441
|
-
name?: string | null;
|
|
1442
|
-
bitnum?: number | null;
|
|
1443
|
-
bitstr?: string | null;
|
|
1444
|
-
description?: string | null;
|
|
1445
|
-
}
|
|
1446
|
-
export interface AppLevelRequirementCondition {
|
|
1447
|
-
id?: string | null;
|
|
1448
|
-
name?: string | null;
|
|
1449
|
-
level?: string | null;
|
|
1450
|
-
description?: string | null;
|
|
1451
|
-
requiredCount?: number | null;
|
|
1452
|
-
priority?: number | null;
|
|
1453
|
-
createdAt?: string | null;
|
|
1454
|
-
updatedAt?: string | null;
|
|
1455
|
-
}
|
|
1456
|
-
export interface OrgMemberCondition {
|
|
1457
|
-
id?: string | null;
|
|
1458
|
-
isAdmin?: boolean | null;
|
|
1459
|
-
actorId?: string | null;
|
|
1460
|
-
entityId?: string | null;
|
|
1461
|
-
}
|
|
1462
|
-
export interface AppPermissionDefaultCondition {
|
|
1463
|
-
id?: string | null;
|
|
1464
|
-
permissions?: string | null;
|
|
1465
|
-
}
|
|
1466
|
-
export interface OrgPermissionDefaultCondition {
|
|
1467
|
-
id?: string | null;
|
|
1468
|
-
permissions?: string | null;
|
|
1469
|
-
entityId?: string | null;
|
|
1470
|
-
}
|
|
1471
|
-
export interface AppAdminGrantCondition {
|
|
1472
|
-
id?: string | null;
|
|
1473
|
-
isGrant?: boolean | null;
|
|
1474
|
-
actorId?: string | null;
|
|
1475
|
-
grantorId?: string | null;
|
|
1476
|
-
createdAt?: string | null;
|
|
1477
|
-
updatedAt?: string | null;
|
|
1478
|
-
}
|
|
1479
|
-
export interface AppOwnerGrantCondition {
|
|
1480
|
-
id?: string | null;
|
|
1481
|
-
isGrant?: boolean | null;
|
|
1482
|
-
actorId?: string | null;
|
|
1483
|
-
grantorId?: string | null;
|
|
1484
|
-
createdAt?: string | null;
|
|
1485
|
-
updatedAt?: string | null;
|
|
1486
|
-
}
|
|
1487
|
-
export interface OrgAdminGrantCondition {
|
|
1488
|
-
id?: string | null;
|
|
1489
|
-
isGrant?: boolean | null;
|
|
1490
|
-
actorId?: string | null;
|
|
1491
|
-
entityId?: string | null;
|
|
1492
|
-
grantorId?: string | null;
|
|
1493
|
-
createdAt?: string | null;
|
|
1494
|
-
updatedAt?: string | null;
|
|
1495
|
-
}
|
|
1496
|
-
export interface OrgOwnerGrantCondition {
|
|
1497
|
-
id?: string | null;
|
|
1498
|
-
isGrant?: boolean | null;
|
|
1499
|
-
actorId?: string | null;
|
|
1500
|
-
entityId?: string | null;
|
|
1501
|
-
grantorId?: string | null;
|
|
1502
|
-
createdAt?: string | null;
|
|
1503
|
-
updatedAt?: string | null;
|
|
1504
|
-
}
|
|
1505
|
-
export interface AppLimitDefaultCondition {
|
|
1506
|
-
id?: string | null;
|
|
1507
|
-
name?: string | null;
|
|
1508
|
-
max?: number | null;
|
|
1509
|
-
}
|
|
1510
|
-
export interface OrgLimitDefaultCondition {
|
|
1511
|
-
id?: string | null;
|
|
1512
|
-
name?: string | null;
|
|
1513
|
-
max?: number | null;
|
|
1514
|
-
}
|
|
1515
|
-
export interface MembershipTypeCondition {
|
|
1516
|
-
id?: number | null;
|
|
1517
|
-
name?: string | null;
|
|
1518
|
-
description?: string | null;
|
|
1519
|
-
prefix?: string | null;
|
|
1520
|
-
}
|
|
1521
|
-
export interface OrgChartEdgeGrantCondition {
|
|
1522
|
-
id?: string | null;
|
|
1523
|
-
entityId?: string | null;
|
|
1524
|
-
childId?: string | null;
|
|
1525
|
-
parentId?: string | null;
|
|
1526
|
-
grantorId?: string | null;
|
|
1527
|
-
isGrant?: boolean | null;
|
|
1528
|
-
positionTitle?: string | null;
|
|
1529
|
-
positionLevel?: number | null;
|
|
1530
|
-
createdAt?: string | null;
|
|
1531
|
-
}
|
|
1532
|
-
export interface AppLimitCondition {
|
|
1533
|
-
id?: string | null;
|
|
1534
|
-
name?: string | null;
|
|
1535
|
-
actorId?: string | null;
|
|
1536
|
-
num?: number | null;
|
|
1537
|
-
max?: number | null;
|
|
1538
|
-
}
|
|
1539
|
-
export interface AppAchievementCondition {
|
|
1540
|
-
id?: string | null;
|
|
1541
|
-
actorId?: string | null;
|
|
1542
|
-
name?: string | null;
|
|
1543
|
-
count?: number | null;
|
|
1544
|
-
createdAt?: string | null;
|
|
1545
|
-
updatedAt?: string | null;
|
|
1546
|
-
}
|
|
1547
|
-
export interface AppStepCondition {
|
|
1548
|
-
id?: string | null;
|
|
1549
|
-
actorId?: string | null;
|
|
1550
|
-
name?: string | null;
|
|
1551
|
-
count?: number | null;
|
|
1552
|
-
createdAt?: string | null;
|
|
1553
|
-
updatedAt?: string | null;
|
|
1554
|
-
}
|
|
1555
|
-
export interface ClaimedInviteCondition {
|
|
1556
|
-
id?: string | null;
|
|
1557
|
-
data?: unknown | null;
|
|
1558
|
-
senderId?: string | null;
|
|
1559
|
-
receiverId?: string | null;
|
|
1560
|
-
createdAt?: string | null;
|
|
1561
|
-
updatedAt?: string | null;
|
|
1562
|
-
}
|
|
1563
|
-
export interface AppGrantCondition {
|
|
1564
|
-
id?: string | null;
|
|
1565
|
-
permissions?: string | null;
|
|
1566
|
-
isGrant?: boolean | null;
|
|
1567
|
-
actorId?: string | null;
|
|
1568
|
-
grantorId?: string | null;
|
|
1569
|
-
createdAt?: string | null;
|
|
1570
|
-
updatedAt?: string | null;
|
|
1571
|
-
}
|
|
1572
|
-
export interface AppMembershipDefaultCondition {
|
|
1573
|
-
id?: string | null;
|
|
1574
|
-
createdAt?: string | null;
|
|
1575
|
-
updatedAt?: string | null;
|
|
1576
|
-
createdBy?: string | null;
|
|
1577
|
-
updatedBy?: string | null;
|
|
1578
|
-
isApproved?: boolean | null;
|
|
1579
|
-
isVerified?: boolean | null;
|
|
1580
|
-
}
|
|
1581
|
-
export interface OrgLimitCondition {
|
|
1582
|
-
id?: string | null;
|
|
1583
|
-
name?: string | null;
|
|
1584
|
-
actorId?: string | null;
|
|
1585
|
-
num?: number | null;
|
|
1586
|
-
max?: number | null;
|
|
1587
|
-
entityId?: string | null;
|
|
1588
|
-
}
|
|
1589
|
-
export interface OrgClaimedInviteCondition {
|
|
1590
|
-
id?: string | null;
|
|
1591
|
-
data?: unknown | null;
|
|
1592
|
-
senderId?: string | null;
|
|
1593
|
-
receiverId?: string | null;
|
|
1594
|
-
createdAt?: string | null;
|
|
1595
|
-
updatedAt?: string | null;
|
|
1596
|
-
entityId?: string | null;
|
|
1597
|
-
}
|
|
1598
|
-
export interface OrgGrantCondition {
|
|
1599
|
-
id?: string | null;
|
|
1600
|
-
permissions?: string | null;
|
|
1601
|
-
isGrant?: boolean | null;
|
|
1602
|
-
actorId?: string | null;
|
|
1603
|
-
entityId?: string | null;
|
|
1604
|
-
grantorId?: string | null;
|
|
1605
|
-
createdAt?: string | null;
|
|
1606
|
-
updatedAt?: string | null;
|
|
1607
|
-
}
|
|
1608
|
-
export interface OrgChartEdgeCondition {
|
|
1609
|
-
id?: string | null;
|
|
1610
|
-
createdAt?: string | null;
|
|
1611
|
-
updatedAt?: string | null;
|
|
1612
|
-
entityId?: string | null;
|
|
1613
|
-
childId?: string | null;
|
|
1614
|
-
parentId?: string | null;
|
|
1615
|
-
positionTitle?: string | null;
|
|
1616
|
-
positionLevel?: number | null;
|
|
1617
|
-
}
|
|
1618
|
-
export interface OrgMembershipDefaultCondition {
|
|
1619
|
-
id?: string | null;
|
|
1620
|
-
createdAt?: string | null;
|
|
1621
|
-
updatedAt?: string | null;
|
|
1622
|
-
createdBy?: string | null;
|
|
1623
|
-
updatedBy?: string | null;
|
|
1624
|
-
isApproved?: boolean | null;
|
|
1625
|
-
entityId?: string | null;
|
|
1626
|
-
deleteMemberCascadeGroups?: boolean | null;
|
|
1627
|
-
createGroupsCascadeMembers?: boolean | null;
|
|
1628
|
-
}
|
|
1629
|
-
export interface InviteCondition {
|
|
1630
|
-
id?: string | null;
|
|
1631
|
-
email?: unknown | null;
|
|
1632
|
-
senderId?: string | null;
|
|
1633
|
-
inviteToken?: string | null;
|
|
1634
|
-
inviteValid?: boolean | null;
|
|
1635
|
-
inviteLimit?: number | null;
|
|
1636
|
-
inviteCount?: number | null;
|
|
1637
|
-
multiple?: boolean | null;
|
|
1638
|
-
data?: unknown | null;
|
|
1639
|
-
expiresAt?: string | null;
|
|
1640
|
-
createdAt?: string | null;
|
|
1641
|
-
updatedAt?: string | null;
|
|
1642
|
-
}
|
|
1643
|
-
export interface AppLevelCondition {
|
|
1644
|
-
id?: string | null;
|
|
1645
|
-
name?: string | null;
|
|
1646
|
-
description?: string | null;
|
|
1647
|
-
image?: unknown | null;
|
|
1648
|
-
ownerId?: string | null;
|
|
1649
|
-
createdAt?: string | null;
|
|
1650
|
-
updatedAt?: string | null;
|
|
1651
|
-
}
|
|
1652
|
-
export interface AppMembershipCondition {
|
|
1653
|
-
id?: string | null;
|
|
1654
|
-
createdAt?: string | null;
|
|
1655
|
-
updatedAt?: string | null;
|
|
1656
|
-
createdBy?: string | null;
|
|
1657
|
-
updatedBy?: string | null;
|
|
1658
|
-
isApproved?: boolean | null;
|
|
1659
|
-
isBanned?: boolean | null;
|
|
1660
|
-
isDisabled?: boolean | null;
|
|
1661
|
-
isVerified?: boolean | null;
|
|
1662
|
-
isActive?: boolean | null;
|
|
1663
|
-
isOwner?: boolean | null;
|
|
1664
|
-
isAdmin?: boolean | null;
|
|
1665
|
-
permissions?: string | null;
|
|
1666
|
-
granted?: string | null;
|
|
1667
|
-
actorId?: string | null;
|
|
1668
|
-
profileId?: string | null;
|
|
1669
|
-
}
|
|
1670
|
-
export interface OrgMembershipCondition {
|
|
1671
|
-
id?: string | null;
|
|
1672
|
-
createdAt?: string | null;
|
|
1673
|
-
updatedAt?: string | null;
|
|
1674
|
-
createdBy?: string | null;
|
|
1675
|
-
updatedBy?: string | null;
|
|
1676
|
-
isApproved?: boolean | null;
|
|
1677
|
-
isBanned?: boolean | null;
|
|
1678
|
-
isDisabled?: boolean | null;
|
|
1679
|
-
isActive?: boolean | null;
|
|
1680
|
-
isOwner?: boolean | null;
|
|
1681
|
-
isAdmin?: boolean | null;
|
|
1682
|
-
permissions?: string | null;
|
|
1683
|
-
granted?: string | null;
|
|
1684
|
-
actorId?: string | null;
|
|
1685
|
-
entityId?: string | null;
|
|
1686
|
-
profileId?: string | null;
|
|
1687
|
-
}
|
|
1688
|
-
export interface OrgInviteCondition {
|
|
1689
|
-
id?: string | null;
|
|
1690
|
-
email?: unknown | null;
|
|
1691
|
-
senderId?: string | null;
|
|
1692
|
-
receiverId?: string | null;
|
|
1693
|
-
inviteToken?: string | null;
|
|
1694
|
-
inviteValid?: boolean | null;
|
|
1695
|
-
inviteLimit?: number | null;
|
|
1696
|
-
inviteCount?: number | null;
|
|
1697
|
-
multiple?: boolean | null;
|
|
1698
|
-
data?: unknown | null;
|
|
1699
|
-
expiresAt?: string | null;
|
|
1700
|
-
createdAt?: string | null;
|
|
1701
|
-
updatedAt?: string | null;
|
|
1702
|
-
entityId?: string | null;
|
|
1703
|
-
}
|
|
1704
1431
|
export type OrgGetManagersRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
|
|
1705
1432
|
export type OrgGetSubordinatesRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'DEPTH_ASC' | 'DEPTH_DESC';
|
|
1706
1433
|
export type AppPermissionOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'BITNUM_ASC' | 'BITNUM_DESC' | 'BITSTR_ASC' | 'BITSTR_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC';
|