@constructive-sdk/cli 0.9.2 → 0.10.1
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/README.md +0 -8
- package/admin/cli/commands/app-level-requirement.js +0 -2
- package/admin/cli/commands/app-level.js +0 -2
- package/admin/cli/commands/app-permission.js +0 -2
- package/admin/cli/commands/invite.js +0 -2
- package/admin/cli/commands/membership-type.js +0 -3
- package/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/admin/cli/commands/org-chart-edge.js +0 -2
- package/admin/cli/commands/org-invite.js +0 -2
- package/admin/cli/commands/org-permission.js +0 -2
- package/admin/orm/input-types.d.ts +33 -127
- package/auth/cli/commands/audit-log.js +0 -2
- package/auth/cli/commands/connected-account.js +0 -3
- package/auth/cli/commands/crypto-address.js +0 -2
- package/auth/cli/commands/phone-number.js +0 -3
- package/auth/cli/commands.js +7 -7
- package/auth/cli/executor.d.ts +3 -3
- package/auth/orm/index.d.ts +6 -6
- package/auth/orm/index.js +6 -6
- package/auth/orm/input-types.d.ts +279 -327
- package/auth/orm/input-types.js +9 -1
- package/auth/orm/models/index.d.ts +3 -3
- package/auth/orm/models/index.js +7 -7
- package/esm/admin/cli/commands/app-level-requirement.js +0 -2
- package/esm/admin/cli/commands/app-level.js +0 -2
- package/esm/admin/cli/commands/app-permission.js +0 -2
- package/esm/admin/cli/commands/invite.js +0 -2
- package/esm/admin/cli/commands/membership-type.js +0 -3
- package/esm/admin/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/admin/cli/commands/org-chart-edge.js +0 -2
- package/esm/admin/cli/commands/org-invite.js +0 -2
- package/esm/admin/cli/commands/org-permission.js +0 -2
- package/esm/admin/orm/input-types.d.ts +33 -127
- package/esm/auth/cli/commands/audit-log.js +0 -2
- package/esm/auth/cli/commands/connected-account.js +0 -3
- package/esm/auth/cli/commands/crypto-address.js +0 -2
- package/esm/auth/cli/commands/phone-number.js +0 -3
- package/esm/auth/cli/commands.js +7 -7
- package/esm/auth/cli/executor.d.ts +3 -3
- package/esm/auth/orm/index.d.ts +6 -6
- package/esm/auth/orm/index.js +6 -6
- package/esm/auth/orm/input-types.d.ts +279 -327
- package/esm/auth/orm/input-types.js +9 -1
- package/esm/auth/orm/models/index.d.ts +3 -3
- package/esm/auth/orm/models/index.js +3 -3
- package/esm/index.d.ts +3 -3
- package/esm/index.js +3 -3
- package/esm/objects/cli/commands/commit.js +0 -2
- package/esm/objects/cli/commands/ref.js +0 -2
- package/esm/objects/cli/commands/store.js +0 -2
- package/esm/objects/orm/input-types.d.ts +17 -48
- package/esm/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/accept-database-transfer.js +34 -0
- package/esm/public/cli/commands/api-module.js +0 -2
- package/esm/public/cli/commands/api.js +0 -5
- package/esm/public/cli/commands/app-level-requirement.js +0 -2
- package/esm/public/cli/commands/app-level.js +0 -2
- package/esm/public/cli/commands/app-permission.js +0 -2
- package/esm/public/cli/commands/app.js +0 -4
- package/esm/public/cli/commands/ast-migration.js +0 -2
- package/esm/public/cli/commands/audit-log.js +0 -2
- package/esm/public/cli/commands/blueprint-template.d.ts +8 -0
- package/esm/public/cli/commands/blueprint-template.js +549 -0
- package/esm/public/cli/commands/{uuid-module.d.ts → blueprint.d.ts} +1 -1
- package/esm/public/cli/commands/blueprint.js +484 -0
- package/esm/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/cancel-database-transfer.js +34 -0
- package/esm/public/cli/commands/check-constraint.js +0 -4
- package/esm/public/cli/commands/commit.js +0 -2
- package/esm/public/cli/commands/connected-account.js +0 -3
- package/esm/public/cli/commands/connected-accounts-module.js +0 -2
- package/esm/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/construct-blueprint.js +34 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/esm/public/cli/commands/copy-template-to-blueprint.js +34 -0
- package/esm/public/cli/commands/crypto-address.js +0 -2
- package/esm/public/cli/commands/crypto-addresses-module.js +0 -3
- package/esm/public/cli/commands/crypto-auth-module.js +0 -7
- package/esm/public/cli/commands/database-provision-module.js +0 -6
- package/esm/public/cli/commands/database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/database-transfer.js +425 -0
- package/esm/public/cli/commands/database.js +0 -4
- package/esm/public/cli/commands/default-privilege.js +0 -4
- package/esm/public/cli/commands/denormalized-table-field.js +0 -2
- package/esm/public/cli/commands/emails-module.js +0 -2
- package/esm/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/esm/public/cli/commands/embedding-chunk.js +513 -0
- package/esm/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/{public/cli/commands/uuid-module.d.ts → esm/public/cli/commands/enum.d.ts} +1 -1
- package/esm/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/esm/public/cli/commands/field-module.js +0 -2
- package/esm/public/cli/commands/field.js +21 -7
- package/esm/public/cli/commands/foreign-key-constraint.js +0 -7
- package/esm/public/cli/commands/hierarchy-module.js +0 -11
- package/esm/public/cli/commands/index.js +0 -4
- package/esm/public/cli/commands/invite.js +0 -2
- package/esm/public/cli/commands/invites-module.js +0 -5
- package/esm/public/cli/commands/levels-module.js +0 -16
- package/esm/public/cli/commands/limits-module.js +0 -10
- package/esm/public/cli/commands/membership-type.js +0 -3
- package/esm/public/cli/commands/membership-types-module.js +0 -2
- package/esm/public/cli/commands/memberships-module.js +0 -13
- package/esm/public/cli/commands/node-type-registry.js +0 -6
- package/esm/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/esm/public/cli/commands/org-chart-edge.js +0 -2
- package/esm/public/cli/commands/org-invite.js +0 -2
- package/esm/public/cli/commands/org-permission.js +0 -2
- package/esm/public/cli/commands/permissions-module.js +0 -8
- package/esm/public/cli/commands/phone-number.js +0 -3
- package/esm/public/cli/commands/phone-numbers-module.js +0 -2
- package/esm/public/cli/commands/policy.js +0 -6
- package/esm/public/cli/commands/primary-key-constraint.js +0 -4
- package/esm/public/cli/commands/profiles-module.js +0 -6
- package/esm/public/cli/commands/ref.js +0 -2
- package/esm/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/esm/public/cli/commands/reject-database-transfer.js +34 -0
- package/esm/public/cli/commands/relation-provision.js +63 -11
- package/esm/public/cli/commands/rls-module.js +0 -5
- package/esm/public/cli/commands/schema-grant.js +0 -2
- package/esm/public/cli/commands/schema.js +0 -6
- package/esm/public/cli/commands/secrets-module.js +0 -2
- package/esm/public/cli/commands/secure-table-provision.js +0 -6
- package/esm/public/cli/commands/sessions-module.js +0 -4
- package/esm/public/cli/commands/site-metadatum.js +0 -3
- package/esm/public/cli/commands/site-module.js +0 -2
- package/esm/public/cli/commands/site.js +0 -4
- package/esm/public/cli/commands/sql-migration.js +0 -7
- package/esm/public/cli/commands/store.js +0 -2
- package/esm/public/cli/commands/table-grant.js +0 -3
- package/esm/public/cli/commands/table-template-module.js +0 -3
- package/esm/public/cli/commands/table.js +0 -7
- package/esm/public/cli/commands/trigger-function.js +0 -3
- package/esm/public/cli/commands/trigger.js +0 -5
- package/esm/public/cli/commands/unique-constraint.js +0 -5
- package/esm/public/cli/commands/user-auth-module.js +0 -17
- package/esm/public/cli/commands/users-module.js +0 -3
- package/esm/public/cli/commands/view-grant.js +0 -3
- package/esm/public/cli/commands/view-rule.js +0 -4
- package/esm/public/cli/commands/view.js +0 -5
- package/esm/public/cli/commands.js +53 -35
- package/esm/public/cli/executor.d.ts +68 -39
- package/esm/public/orm/index.d.ts +81 -48
- package/esm/public/orm/index.js +26 -18
- package/esm/public/orm/input-types.d.ts +2447 -2980
- package/esm/public/orm/input-types.js +26 -1
- package/esm/public/orm/models/blueprint.d.ts +56 -0
- package/esm/public/orm/models/blueprint.js +94 -0
- package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/esm/public/orm/models/blueprintTemplate.js +94 -0
- package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
- package/esm/public/orm/models/databaseTransfer.js +94 -0
- package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
- package/esm/public/orm/models/embeddingChunk.js +94 -0
- package/esm/public/orm/models/enum.d.ts +56 -0
- package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
- package/esm/public/orm/models/index.d.ts +13 -9
- package/esm/public/orm/models/index.js +13 -9
- package/esm/public/orm/mutation/index.d.ts +98 -50
- package/esm/public/orm/mutation/index.js +126 -66
- package/index.d.ts +3 -3
- package/index.js +8 -8
- package/objects/cli/commands/commit.js +0 -2
- package/objects/cli/commands/ref.js +0 -2
- package/objects/cli/commands/store.js +0 -2
- package/objects/orm/input-types.d.ts +17 -48
- package/package.json +3 -3
- package/public/cli/commands/accept-database-transfer.d.ts +8 -0
- package/public/cli/commands/accept-database-transfer.js +36 -0
- package/public/cli/commands/api-module.js +0 -2
- package/public/cli/commands/api.js +0 -5
- package/public/cli/commands/app-level-requirement.js +0 -2
- package/public/cli/commands/app-level.js +0 -2
- package/public/cli/commands/app-permission.js +0 -2
- package/public/cli/commands/app.js +0 -4
- package/public/cli/commands/ast-migration.js +0 -2
- package/public/cli/commands/audit-log.js +0 -2
- package/public/cli/commands/blueprint-template.d.ts +8 -0
- package/public/cli/commands/blueprint-template.js +551 -0
- package/public/cli/commands/blueprint.d.ts +8 -0
- package/public/cli/commands/blueprint.js +486 -0
- package/public/cli/commands/cancel-database-transfer.d.ts +8 -0
- package/public/cli/commands/cancel-database-transfer.js +36 -0
- package/public/cli/commands/check-constraint.js +0 -4
- package/public/cli/commands/commit.js +0 -2
- package/public/cli/commands/connected-account.js +0 -3
- package/public/cli/commands/connected-accounts-module.js +0 -2
- package/public/cli/commands/construct-blueprint.d.ts +8 -0
- package/public/cli/commands/construct-blueprint.js +36 -0
- package/public/cli/commands/copy-template-to-blueprint.d.ts +8 -0
- package/public/cli/commands/copy-template-to-blueprint.js +36 -0
- package/public/cli/commands/crypto-address.js +0 -2
- package/public/cli/commands/crypto-addresses-module.js +0 -3
- package/public/cli/commands/crypto-auth-module.js +0 -7
- package/public/cli/commands/database-provision-module.js +0 -6
- package/public/cli/commands/database-transfer.d.ts +8 -0
- package/public/cli/commands/database-transfer.js +427 -0
- package/public/cli/commands/database.js +0 -4
- package/public/cli/commands/default-privilege.js +0 -4
- package/public/cli/commands/denormalized-table-field.js +0 -2
- package/public/cli/commands/emails-module.js +0 -2
- package/public/cli/commands/embedding-chunk.d.ts +8 -0
- package/public/cli/commands/embedding-chunk.js +515 -0
- package/public/cli/commands/encrypted-secrets-module.js +0 -2
- package/public/cli/commands/enum.d.ts +8 -0
- package/public/cli/commands/{uuid-module.js → enum.js} +175 -33
- package/public/cli/commands/field-module.js +0 -2
- package/public/cli/commands/field.js +21 -7
- package/public/cli/commands/foreign-key-constraint.js +0 -7
- package/public/cli/commands/hierarchy-module.js +0 -11
- package/public/cli/commands/index.js +0 -4
- package/public/cli/commands/invite.js +0 -2
- package/public/cli/commands/invites-module.js +0 -5
- package/public/cli/commands/levels-module.js +0 -16
- package/public/cli/commands/limits-module.js +0 -10
- package/public/cli/commands/membership-type.js +0 -3
- package/public/cli/commands/membership-types-module.js +0 -2
- package/public/cli/commands/memberships-module.js +0 -13
- package/public/cli/commands/node-type-registry.js +0 -6
- package/public/cli/commands/org-chart-edge-grant.js +3 -3
- package/public/cli/commands/org-chart-edge.js +0 -2
- package/public/cli/commands/org-invite.js +0 -2
- package/public/cli/commands/org-permission.js +0 -2
- package/public/cli/commands/permissions-module.js +0 -8
- package/public/cli/commands/phone-number.js +0 -3
- package/public/cli/commands/phone-numbers-module.js +0 -2
- package/public/cli/commands/policy.js +0 -6
- package/public/cli/commands/primary-key-constraint.js +0 -4
- package/public/cli/commands/profiles-module.js +0 -6
- package/public/cli/commands/ref.js +0 -2
- package/public/cli/commands/reject-database-transfer.d.ts +8 -0
- package/public/cli/commands/reject-database-transfer.js +36 -0
- package/public/cli/commands/relation-provision.js +63 -11
- package/public/cli/commands/rls-module.js +0 -5
- package/public/cli/commands/schema-grant.js +0 -2
- package/public/cli/commands/schema.js +0 -6
- package/public/cli/commands/secrets-module.js +0 -2
- package/public/cli/commands/secure-table-provision.js +0 -6
- package/public/cli/commands/sessions-module.js +0 -4
- package/public/cli/commands/site-metadatum.js +0 -3
- package/public/cli/commands/site-module.js +0 -2
- package/public/cli/commands/site.js +0 -4
- package/public/cli/commands/sql-migration.js +0 -7
- package/public/cli/commands/store.js +0 -2
- package/public/cli/commands/table-grant.js +0 -3
- package/public/cli/commands/table-template-module.js +0 -3
- package/public/cli/commands/table.js +0 -7
- package/public/cli/commands/trigger-function.js +0 -3
- package/public/cli/commands/trigger.js +0 -5
- package/public/cli/commands/unique-constraint.js +0 -5
- package/public/cli/commands/user-auth-module.js +0 -17
- package/public/cli/commands/users-module.js +0 -3
- package/public/cli/commands/view-grant.js +0 -3
- package/public/cli/commands/view-rule.js +0 -4
- package/public/cli/commands/view.js +0 -5
- package/public/cli/commands.js +53 -35
- package/public/cli/executor.d.ts +68 -39
- package/public/orm/index.d.ts +81 -48
- package/public/orm/index.js +26 -18
- package/public/orm/input-types.d.ts +2447 -2980
- package/public/orm/input-types.js +26 -1
- package/public/orm/models/blueprint.d.ts +56 -0
- package/public/orm/models/blueprint.js +98 -0
- package/public/orm/models/blueprintTemplate.d.ts +56 -0
- package/public/orm/models/blueprintTemplate.js +98 -0
- package/public/orm/models/databaseTransfer.d.ts +56 -0
- package/public/orm/models/databaseTransfer.js +98 -0
- package/public/orm/models/embeddingChunk.d.ts +56 -0
- package/public/orm/models/embeddingChunk.js +98 -0
- package/public/orm/models/enum.d.ts +56 -0
- package/public/orm/models/{uuidModule.js → enum.js} +25 -25
- package/public/orm/models/index.d.ts +13 -9
- package/public/orm/models/index.js +29 -21
- package/public/orm/mutation/index.d.ts +98 -50
- package/public/orm/mutation/index.js +126 -66
- package/esm/public/orm/models/uuidModule.d.ts +0 -56
- package/public/orm/models/uuidModule.d.ts +0 -56
|
@@ -15,9 +15,6 @@ const fieldSchema = {
|
|
|
15
15
|
isPrimary: 'boolean',
|
|
16
16
|
createdAt: 'string',
|
|
17
17
|
updatedAt: 'string',
|
|
18
|
-
ccTrgmSimilarity: 'float',
|
|
19
|
-
numberTrgmSimilarity: 'float',
|
|
20
|
-
searchScore: 'float',
|
|
21
18
|
};
|
|
22
19
|
const usage = '\nphone-number <command>\n\nCommands:\n list List all phoneNumber records\n get Get a phoneNumber by ID\n create Create a new phoneNumber\n update Update an existing phoneNumber\n delete Delete a phoneNumber\n\n --help, -h Show this help message\n';
|
|
23
20
|
export default async (argv, prompter, _options) => {
|
|
@@ -14,8 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
tableId: 'uuid',
|
|
15
15
|
ownerTableId: 'uuid',
|
|
16
16
|
tableName: 'string',
|
|
17
|
-
tableNameTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
17
|
};
|
|
20
18
|
const usage = '\nphone-numbers-module <command>\n\nCommands:\n list List all phoneNumbersModule records\n get Get a phoneNumbersModule by ID\n create Create a new phoneNumbersModule\n update Update an existing phoneNumbersModule\n delete Delete a phoneNumbersModule\n\n --help, -h Show this help message\n';
|
|
21
19
|
export default async (argv, prompter, _options) => {
|
|
@@ -24,12 +24,6 @@ const fieldSchema = {
|
|
|
24
24
|
tags: 'string',
|
|
25
25
|
createdAt: 'string',
|
|
26
26
|
updatedAt: 'string',
|
|
27
|
-
nameTrgmSimilarity: 'float',
|
|
28
|
-
granteeNameTrgmSimilarity: 'float',
|
|
29
|
-
privilegeTrgmSimilarity: 'float',
|
|
30
|
-
policyTypeTrgmSimilarity: 'float',
|
|
31
|
-
moduleTrgmSimilarity: 'float',
|
|
32
|
-
searchScore: 'float',
|
|
33
27
|
};
|
|
34
28
|
const usage = '\npolicy <command>\n\nCommands:\n list List all policy records\n get Get a policy by ID\n create Create a new policy\n update Update an existing policy\n delete Delete a policy\n\n --help, -h Show this help message\n';
|
|
35
29
|
export default async (argv, prompter, _options) => {
|
|
@@ -20,10 +20,6 @@ const fieldSchema = {
|
|
|
20
20
|
tags: 'string',
|
|
21
21
|
createdAt: 'string',
|
|
22
22
|
updatedAt: 'string',
|
|
23
|
-
nameTrgmSimilarity: 'float',
|
|
24
|
-
typeTrgmSimilarity: 'float',
|
|
25
|
-
moduleTrgmSimilarity: 'float',
|
|
26
|
-
searchScore: 'float',
|
|
27
23
|
};
|
|
28
24
|
const usage = '\nprimary-key-constraint <command>\n\nCommands:\n list List all primaryKeyConstraint records\n get Get a primaryKeyConstraint by ID\n create Create a new primaryKeyConstraint\n update Update an existing primaryKeyConstraint\n delete Delete a primaryKeyConstraint\n\n --help, -h Show this help message\n';
|
|
29
25
|
export default async (argv, prompter, _options) => {
|
|
@@ -25,12 +25,6 @@ const fieldSchema = {
|
|
|
25
25
|
permissionsTableId: 'uuid',
|
|
26
26
|
membershipsTableId: 'uuid',
|
|
27
27
|
prefix: 'string',
|
|
28
|
-
tableNameTrgmSimilarity: 'float',
|
|
29
|
-
profilePermissionsTableNameTrgmSimilarity: 'float',
|
|
30
|
-
profileGrantsTableNameTrgmSimilarity: 'float',
|
|
31
|
-
profileDefinitionGrantsTableNameTrgmSimilarity: 'float',
|
|
32
|
-
prefixTrgmSimilarity: 'float',
|
|
33
|
-
searchScore: 'float',
|
|
34
28
|
};
|
|
35
29
|
const usage = '\nprofiles-module <command>\n\nCommands:\n list List all profilesModule records\n get Get a profilesModule by ID\n create Create a new profilesModule\n update Update an existing profilesModule\n delete Delete a profilesModule\n\n --help, -h Show this help message\n';
|
|
36
30
|
export default async (argv, prompter, _options) => {
|
|
@@ -12,8 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
databaseId: 'uuid',
|
|
13
13
|
storeId: 'uuid',
|
|
14
14
|
commitId: 'uuid',
|
|
15
|
-
nameTrgmSimilarity: 'float',
|
|
16
|
-
searchScore: 'float',
|
|
17
15
|
};
|
|
18
16
|
const usage = '\nref <command>\n\nCommands:\n list List all ref records\n get Get a ref by ID\n create Create a new ref\n update Update an existing ref\n delete Delete a ref\n\n --help, -h Show this help message\n';
|
|
19
17
|
export default async (argv, prompter, _options) => {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation rejectDatabaseTransfer
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { getClient } from '../executor';
|
|
2
|
+
import { unflattenDotNotation, buildSelectFromPaths } from '../utils';
|
|
3
|
+
export default async (argv, prompter, _options) => {
|
|
4
|
+
try {
|
|
5
|
+
if (argv.help || argv.h) {
|
|
6
|
+
console.log('reject-database-transfer - rejectDatabaseTransfer\n\nUsage: reject-database-transfer [OPTIONS]\n');
|
|
7
|
+
process.exit(0);
|
|
8
|
+
}
|
|
9
|
+
const answers = await prompter.prompt(argv, [
|
|
10
|
+
{
|
|
11
|
+
type: 'text',
|
|
12
|
+
name: 'input',
|
|
13
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
14
|
+
required: true,
|
|
15
|
+
},
|
|
16
|
+
]);
|
|
17
|
+
const client = getClient();
|
|
18
|
+
const parsedAnswers = unflattenDotNotation(answers);
|
|
19
|
+
const selectFields = buildSelectFromPaths(argv.select ?? 'clientMutationId');
|
|
20
|
+
const result = await client.mutation
|
|
21
|
+
.rejectDatabaseTransfer(parsedAnswers, {
|
|
22
|
+
select: selectFields,
|
|
23
|
+
})
|
|
24
|
+
.execute();
|
|
25
|
+
console.log(JSON.stringify(result, null, 2));
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
console.error('Failed: rejectDatabaseTransfer');
|
|
29
|
+
if (error instanceof Error) {
|
|
30
|
+
console.error(error.message);
|
|
31
|
+
}
|
|
32
|
+
process.exit(1);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -15,12 +15,15 @@ const fieldSchema = {
|
|
|
15
15
|
fieldName: 'string',
|
|
16
16
|
deleteAction: 'string',
|
|
17
17
|
isRequired: 'boolean',
|
|
18
|
+
apiRequired: 'boolean',
|
|
18
19
|
junctionTableId: 'uuid',
|
|
19
20
|
junctionTableName: 'string',
|
|
20
21
|
junctionSchemaId: 'uuid',
|
|
21
22
|
sourceFieldName: 'string',
|
|
22
23
|
targetFieldName: 'string',
|
|
23
24
|
useCompositeKey: 'boolean',
|
|
25
|
+
createIndex: 'boolean',
|
|
26
|
+
exposeInApi: 'boolean',
|
|
24
27
|
nodeType: 'string',
|
|
25
28
|
nodeData: 'json',
|
|
26
29
|
grantRoles: 'string',
|
|
@@ -35,17 +38,6 @@ const fieldSchema = {
|
|
|
35
38
|
outJunctionTableId: 'uuid',
|
|
36
39
|
outSourceFieldId: 'uuid',
|
|
37
40
|
outTargetFieldId: 'uuid',
|
|
38
|
-
relationTypeTrgmSimilarity: 'float',
|
|
39
|
-
fieldNameTrgmSimilarity: 'float',
|
|
40
|
-
deleteActionTrgmSimilarity: 'float',
|
|
41
|
-
junctionTableNameTrgmSimilarity: 'float',
|
|
42
|
-
sourceFieldNameTrgmSimilarity: 'float',
|
|
43
|
-
targetFieldNameTrgmSimilarity: 'float',
|
|
44
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
45
|
-
policyTypeTrgmSimilarity: 'float',
|
|
46
|
-
policyRoleTrgmSimilarity: 'float',
|
|
47
|
-
policyNameTrgmSimilarity: 'float',
|
|
48
|
-
searchScore: 'float',
|
|
49
41
|
};
|
|
50
42
|
const usage = '\nrelation-provision <command>\n\nCommands:\n list List all relationProvision records\n get Get a relationProvision by ID\n create Create a new relationProvision\n update Update an existing relationProvision\n delete Delete a relationProvision\n\n --help, -h Show this help message\n';
|
|
51
43
|
export default async (argv, prompter, _options) => {
|
|
@@ -98,12 +90,15 @@ async function handleList(_argv, _prompter) {
|
|
|
98
90
|
fieldName: true,
|
|
99
91
|
deleteAction: true,
|
|
100
92
|
isRequired: true,
|
|
93
|
+
apiRequired: true,
|
|
101
94
|
junctionTableId: true,
|
|
102
95
|
junctionTableName: true,
|
|
103
96
|
junctionSchemaId: true,
|
|
104
97
|
sourceFieldName: true,
|
|
105
98
|
targetFieldName: true,
|
|
106
99
|
useCompositeKey: true,
|
|
100
|
+
createIndex: true,
|
|
101
|
+
exposeInApi: true,
|
|
107
102
|
nodeType: true,
|
|
108
103
|
nodeData: true,
|
|
109
104
|
grantRoles: true,
|
|
@@ -154,12 +149,15 @@ async function handleGet(argv, prompter) {
|
|
|
154
149
|
fieldName: true,
|
|
155
150
|
deleteAction: true,
|
|
156
151
|
isRequired: true,
|
|
152
|
+
apiRequired: true,
|
|
157
153
|
junctionTableId: true,
|
|
158
154
|
junctionTableName: true,
|
|
159
155
|
junctionSchemaId: true,
|
|
160
156
|
sourceFieldName: true,
|
|
161
157
|
targetFieldName: true,
|
|
162
158
|
useCompositeKey: true,
|
|
159
|
+
createIndex: true,
|
|
160
|
+
exposeInApi: true,
|
|
163
161
|
nodeType: true,
|
|
164
162
|
nodeData: true,
|
|
165
163
|
grantRoles: true,
|
|
@@ -235,6 +233,13 @@ async function handleCreate(argv, prompter) {
|
|
|
235
233
|
required: false,
|
|
236
234
|
skipPrompt: true,
|
|
237
235
|
},
|
|
236
|
+
{
|
|
237
|
+
type: 'boolean',
|
|
238
|
+
name: 'apiRequired',
|
|
239
|
+
message: 'apiRequired',
|
|
240
|
+
required: false,
|
|
241
|
+
skipPrompt: true,
|
|
242
|
+
},
|
|
238
243
|
{
|
|
239
244
|
type: 'text',
|
|
240
245
|
name: 'junctionTableId',
|
|
@@ -277,6 +282,20 @@ async function handleCreate(argv, prompter) {
|
|
|
277
282
|
required: false,
|
|
278
283
|
skipPrompt: true,
|
|
279
284
|
},
|
|
285
|
+
{
|
|
286
|
+
type: 'boolean',
|
|
287
|
+
name: 'createIndex',
|
|
288
|
+
message: 'createIndex',
|
|
289
|
+
required: false,
|
|
290
|
+
skipPrompt: true,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
type: 'boolean',
|
|
294
|
+
name: 'exposeInApi',
|
|
295
|
+
message: 'exposeInApi',
|
|
296
|
+
required: false,
|
|
297
|
+
skipPrompt: true,
|
|
298
|
+
},
|
|
280
299
|
{
|
|
281
300
|
type: 'text',
|
|
282
301
|
name: 'nodeType',
|
|
@@ -389,12 +408,15 @@ async function handleCreate(argv, prompter) {
|
|
|
389
408
|
fieldName: cleanedData.fieldName,
|
|
390
409
|
deleteAction: cleanedData.deleteAction,
|
|
391
410
|
isRequired: cleanedData.isRequired,
|
|
411
|
+
apiRequired: cleanedData.apiRequired,
|
|
392
412
|
junctionTableId: cleanedData.junctionTableId,
|
|
393
413
|
junctionTableName: cleanedData.junctionTableName,
|
|
394
414
|
junctionSchemaId: cleanedData.junctionSchemaId,
|
|
395
415
|
sourceFieldName: cleanedData.sourceFieldName,
|
|
396
416
|
targetFieldName: cleanedData.targetFieldName,
|
|
397
417
|
useCompositeKey: cleanedData.useCompositeKey,
|
|
418
|
+
createIndex: cleanedData.createIndex,
|
|
419
|
+
exposeInApi: cleanedData.exposeInApi,
|
|
398
420
|
nodeType: cleanedData.nodeType,
|
|
399
421
|
nodeData: cleanedData.nodeData,
|
|
400
422
|
grantRoles: cleanedData.grantRoles,
|
|
@@ -419,12 +441,15 @@ async function handleCreate(argv, prompter) {
|
|
|
419
441
|
fieldName: true,
|
|
420
442
|
deleteAction: true,
|
|
421
443
|
isRequired: true,
|
|
444
|
+
apiRequired: true,
|
|
422
445
|
junctionTableId: true,
|
|
423
446
|
junctionTableName: true,
|
|
424
447
|
junctionSchemaId: true,
|
|
425
448
|
sourceFieldName: true,
|
|
426
449
|
targetFieldName: true,
|
|
427
450
|
useCompositeKey: true,
|
|
451
|
+
createIndex: true,
|
|
452
|
+
exposeInApi: true,
|
|
428
453
|
nodeType: true,
|
|
429
454
|
nodeData: true,
|
|
430
455
|
grantRoles: true,
|
|
@@ -506,6 +531,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
506
531
|
required: false,
|
|
507
532
|
skipPrompt: true,
|
|
508
533
|
},
|
|
534
|
+
{
|
|
535
|
+
type: 'boolean',
|
|
536
|
+
name: 'apiRequired',
|
|
537
|
+
message: 'apiRequired',
|
|
538
|
+
required: false,
|
|
539
|
+
skipPrompt: true,
|
|
540
|
+
},
|
|
509
541
|
{
|
|
510
542
|
type: 'text',
|
|
511
543
|
name: 'junctionTableId',
|
|
@@ -548,6 +580,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
548
580
|
required: false,
|
|
549
581
|
skipPrompt: true,
|
|
550
582
|
},
|
|
583
|
+
{
|
|
584
|
+
type: 'boolean',
|
|
585
|
+
name: 'createIndex',
|
|
586
|
+
message: 'createIndex',
|
|
587
|
+
required: false,
|
|
588
|
+
skipPrompt: true,
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
type: 'boolean',
|
|
592
|
+
name: 'exposeInApi',
|
|
593
|
+
message: 'exposeInApi',
|
|
594
|
+
required: false,
|
|
595
|
+
skipPrompt: true,
|
|
596
|
+
},
|
|
551
597
|
{
|
|
552
598
|
type: 'text',
|
|
553
599
|
name: 'nodeType',
|
|
@@ -663,12 +709,15 @@ async function handleUpdate(argv, prompter) {
|
|
|
663
709
|
fieldName: cleanedData.fieldName,
|
|
664
710
|
deleteAction: cleanedData.deleteAction,
|
|
665
711
|
isRequired: cleanedData.isRequired,
|
|
712
|
+
apiRequired: cleanedData.apiRequired,
|
|
666
713
|
junctionTableId: cleanedData.junctionTableId,
|
|
667
714
|
junctionTableName: cleanedData.junctionTableName,
|
|
668
715
|
junctionSchemaId: cleanedData.junctionSchemaId,
|
|
669
716
|
sourceFieldName: cleanedData.sourceFieldName,
|
|
670
717
|
targetFieldName: cleanedData.targetFieldName,
|
|
671
718
|
useCompositeKey: cleanedData.useCompositeKey,
|
|
719
|
+
createIndex: cleanedData.createIndex,
|
|
720
|
+
exposeInApi: cleanedData.exposeInApi,
|
|
672
721
|
nodeType: cleanedData.nodeType,
|
|
673
722
|
nodeData: cleanedData.nodeData,
|
|
674
723
|
grantRoles: cleanedData.grantRoles,
|
|
@@ -693,12 +742,15 @@ async function handleUpdate(argv, prompter) {
|
|
|
693
742
|
fieldName: true,
|
|
694
743
|
deleteAction: true,
|
|
695
744
|
isRequired: true,
|
|
745
|
+
apiRequired: true,
|
|
696
746
|
junctionTableId: true,
|
|
697
747
|
junctionTableName: true,
|
|
698
748
|
junctionSchemaId: true,
|
|
699
749
|
sourceFieldName: true,
|
|
700
750
|
targetFieldName: true,
|
|
701
751
|
useCompositeKey: true,
|
|
752
|
+
createIndex: true,
|
|
753
|
+
exposeInApi: true,
|
|
702
754
|
nodeType: true,
|
|
703
755
|
nodeData: true,
|
|
704
756
|
grantRoles: true,
|
|
@@ -18,11 +18,6 @@ const fieldSchema = {
|
|
|
18
18
|
authenticateStrict: 'string',
|
|
19
19
|
currentRole: 'string',
|
|
20
20
|
currentRoleId: 'string',
|
|
21
|
-
authenticateTrgmSimilarity: 'float',
|
|
22
|
-
authenticateStrictTrgmSimilarity: 'float',
|
|
23
|
-
currentRoleTrgmSimilarity: 'float',
|
|
24
|
-
currentRoleIdTrgmSimilarity: 'float',
|
|
25
|
-
searchScore: 'float',
|
|
26
21
|
};
|
|
27
22
|
const usage = '\nrls-module <command>\n\nCommands:\n list List all rlsModule records\n get Get a rlsModule by ID\n create Create a new rlsModule\n update Update an existing rlsModule\n delete Delete a rlsModule\n\n --help, -h Show this help message\n';
|
|
28
23
|
export default async (argv, prompter, _options) => {
|
|
@@ -13,8 +13,6 @@ const fieldSchema = {
|
|
|
13
13
|
granteeName: 'string',
|
|
14
14
|
createdAt: 'string',
|
|
15
15
|
updatedAt: 'string',
|
|
16
|
-
granteeNameTrgmSimilarity: 'float',
|
|
17
|
-
searchScore: 'float',
|
|
18
16
|
};
|
|
19
17
|
const usage = '\nschema-grant <command>\n\nCommands:\n list List all schemaGrant records\n get Get a schemaGrant by ID\n create Create a new schemaGrant\n update Update an existing schemaGrant\n delete Delete a schemaGrant\n\n --help, -h Show this help message\n';
|
|
20
18
|
export default async (argv, prompter, _options) => {
|
|
@@ -21,12 +21,6 @@ const fieldSchema = {
|
|
|
21
21
|
isPublic: 'boolean',
|
|
22
22
|
createdAt: 'string',
|
|
23
23
|
updatedAt: 'string',
|
|
24
|
-
nameTrgmSimilarity: 'float',
|
|
25
|
-
schemaNameTrgmSimilarity: 'float',
|
|
26
|
-
labelTrgmSimilarity: 'float',
|
|
27
|
-
descriptionTrgmSimilarity: 'float',
|
|
28
|
-
moduleTrgmSimilarity: 'float',
|
|
29
|
-
searchScore: 'float',
|
|
30
24
|
};
|
|
31
25
|
const usage = '\nschema <command>\n\nCommands:\n list List all schema records\n get Get a schema by ID\n create Create a new schema\n update Update an existing schema\n delete Delete a schema\n\n --help, -h Show this help message\n';
|
|
32
26
|
export default async (argv, prompter, _options) => {
|
|
@@ -12,8 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
schemaId: 'uuid',
|
|
13
13
|
tableId: 'uuid',
|
|
14
14
|
tableName: 'string',
|
|
15
|
-
tableNameTrgmSimilarity: 'float',
|
|
16
|
-
searchScore: 'float',
|
|
17
15
|
};
|
|
18
16
|
const usage = '\nsecrets-module <command>\n\nCommands:\n list List all secretsModule records\n get Get a secretsModule by ID\n create Create a new secretsModule\n update Update an existing secretsModule\n delete Delete a secretsModule\n\n --help, -h Show this help message\n';
|
|
19
17
|
export default async (argv, prompter, _options) => {
|
|
@@ -25,12 +25,6 @@ const fieldSchema = {
|
|
|
25
25
|
policyName: 'string',
|
|
26
26
|
policyData: 'json',
|
|
27
27
|
outFields: 'uuid',
|
|
28
|
-
tableNameTrgmSimilarity: 'float',
|
|
29
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
30
|
-
policyTypeTrgmSimilarity: 'float',
|
|
31
|
-
policyRoleTrgmSimilarity: 'float',
|
|
32
|
-
policyNameTrgmSimilarity: 'float',
|
|
33
|
-
searchScore: 'float',
|
|
34
28
|
};
|
|
35
29
|
const usage = '\nsecure-table-provision <command>\n\nCommands:\n list List all secureTableProvision records\n get Get a secureTableProvision by ID\n create Create a new secureTableProvision\n update Update an existing secureTableProvision\n delete Delete a secureTableProvision\n\n --help, -h Show this help message\n';
|
|
36
30
|
export default async (argv, prompter, _options) => {
|
|
@@ -18,10 +18,6 @@ const fieldSchema = {
|
|
|
18
18
|
sessionsTable: 'string',
|
|
19
19
|
sessionCredentialsTable: 'string',
|
|
20
20
|
authSettingsTable: 'string',
|
|
21
|
-
sessionsTableTrgmSimilarity: 'float',
|
|
22
|
-
sessionCredentialsTableTrgmSimilarity: 'float',
|
|
23
|
-
authSettingsTableTrgmSimilarity: 'float',
|
|
24
|
-
searchScore: 'float',
|
|
25
21
|
};
|
|
26
22
|
const usage = '\nsessions-module <command>\n\nCommands:\n list List all sessionsModule records\n get Get a sessionsModule by ID\n create Create a new sessionsModule\n update Update an existing sessionsModule\n delete Delete a sessionsModule\n\n --help, -h Show this help message\n';
|
|
27
23
|
export default async (argv, prompter, _options) => {
|
|
@@ -13,9 +13,6 @@ const fieldSchema = {
|
|
|
13
13
|
title: 'string',
|
|
14
14
|
description: 'string',
|
|
15
15
|
ogImage: 'string',
|
|
16
|
-
titleTrgmSimilarity: 'float',
|
|
17
|
-
descriptionTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
16
|
};
|
|
20
17
|
const usage = '\nsite-metadatum <command>\n\nCommands:\n list List all siteMetadatum records\n get Get a siteMetadatum by ID\n create Create a new siteMetadatum\n update Update an existing siteMetadatum\n delete Delete a siteMetadatum\n\n --help, -h Show this help message\n';
|
|
21
18
|
export default async (argv, prompter, _options) => {
|
|
@@ -12,8 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
siteId: 'uuid',
|
|
13
13
|
name: 'string',
|
|
14
14
|
data: 'json',
|
|
15
|
-
nameTrgmSimilarity: 'float',
|
|
16
|
-
searchScore: 'float',
|
|
17
15
|
};
|
|
18
16
|
const usage = '\nsite-module <command>\n\nCommands:\n list List all siteModule records\n get Get a siteModule by ID\n create Create a new siteModule\n update Update an existing siteModule\n delete Delete a siteModule\n\n --help, -h Show this help message\n';
|
|
19
17
|
export default async (argv, prompter, _options) => {
|
|
@@ -16,10 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
appleTouchIcon: 'string',
|
|
17
17
|
logo: 'string',
|
|
18
18
|
dbname: 'string',
|
|
19
|
-
titleTrgmSimilarity: 'float',
|
|
20
|
-
descriptionTrgmSimilarity: 'float',
|
|
21
|
-
dbnameTrgmSimilarity: 'float',
|
|
22
|
-
searchScore: 'float',
|
|
23
19
|
};
|
|
24
20
|
const usage = '\nsite <command>\n\nCommands:\n list List all site records\n get Get a site by ID\n create Create a new site\n update Update an existing site\n delete Delete a site\n\n --help, -h Show this help message\n';
|
|
25
21
|
export default async (argv, prompter, _options) => {
|
|
@@ -20,13 +20,6 @@ const fieldSchema = {
|
|
|
20
20
|
action: 'string',
|
|
21
21
|
actionId: 'uuid',
|
|
22
22
|
actorId: 'uuid',
|
|
23
|
-
nameTrgmSimilarity: 'float',
|
|
24
|
-
deployTrgmSimilarity: 'float',
|
|
25
|
-
contentTrgmSimilarity: 'float',
|
|
26
|
-
revertTrgmSimilarity: 'float',
|
|
27
|
-
verifyTrgmSimilarity: 'float',
|
|
28
|
-
actionTrgmSimilarity: 'float',
|
|
29
|
-
searchScore: 'float',
|
|
30
23
|
};
|
|
31
24
|
const usage = '\nsql-migration <command>\n\nCommands:\n list List all sqlMigration records\n create Create a new sqlMigration\n\n --help, -h Show this help message\n';
|
|
32
25
|
export default async (argv, prompter, _options) => {
|
|
@@ -12,8 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
databaseId: 'uuid',
|
|
13
13
|
hash: 'uuid',
|
|
14
14
|
createdAt: 'string',
|
|
15
|
-
nameTrgmSimilarity: 'float',
|
|
16
|
-
searchScore: 'float',
|
|
17
15
|
};
|
|
18
16
|
const usage = '\nstore <command>\n\nCommands:\n list List all store records\n get Get a store by ID\n create Create a new store\n update Update an existing store\n delete Delete a store\n\n --help, -h Show this help message\n';
|
|
19
17
|
export default async (argv, prompter, _options) => {
|
|
@@ -16,9 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
isGrant: 'boolean',
|
|
17
17
|
createdAt: 'string',
|
|
18
18
|
updatedAt: 'string',
|
|
19
|
-
privilegeTrgmSimilarity: 'float',
|
|
20
|
-
granteeNameTrgmSimilarity: 'float',
|
|
21
|
-
searchScore: 'float',
|
|
22
19
|
};
|
|
23
20
|
const usage = '\ntable-grant <command>\n\nCommands:\n list List all tableGrant records\n get Get a tableGrant by ID\n create Create a new tableGrant\n update Update an existing tableGrant\n delete Delete a tableGrant\n\n --help, -h Show this help message\n';
|
|
24
21
|
export default async (argv, prompter, _options) => {
|
|
@@ -16,9 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
tableName: 'string',
|
|
17
17
|
nodeType: 'string',
|
|
18
18
|
data: 'json',
|
|
19
|
-
tableNameTrgmSimilarity: 'float',
|
|
20
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
21
|
-
searchScore: 'float',
|
|
22
19
|
};
|
|
23
20
|
const usage = '\ntable-template-module <command>\n\nCommands:\n list List all tableTemplateModule records\n get Get a tableTemplateModule by ID\n create Create a new tableTemplateModule\n update Update an existing tableTemplateModule\n delete Delete a tableTemplateModule\n\n --help, -h Show this help message\n';
|
|
24
21
|
export default async (argv, prompter, _options) => {
|
|
@@ -26,13 +26,6 @@ const fieldSchema = {
|
|
|
26
26
|
inheritsId: 'uuid',
|
|
27
27
|
createdAt: 'string',
|
|
28
28
|
updatedAt: 'string',
|
|
29
|
-
nameTrgmSimilarity: 'float',
|
|
30
|
-
labelTrgmSimilarity: 'float',
|
|
31
|
-
descriptionTrgmSimilarity: 'float',
|
|
32
|
-
moduleTrgmSimilarity: 'float',
|
|
33
|
-
pluralNameTrgmSimilarity: 'float',
|
|
34
|
-
singularNameTrgmSimilarity: 'float',
|
|
35
|
-
searchScore: 'float',
|
|
36
29
|
};
|
|
37
30
|
const usage = '\ntable <command>\n\nCommands:\n list List all table records\n get Get a table by ID\n create Create a new table\n update Update an existing table\n delete Delete a table\n\n --help, -h Show this help message\n';
|
|
38
31
|
export default async (argv, prompter, _options) => {
|
|
@@ -13,9 +13,6 @@ const fieldSchema = {
|
|
|
13
13
|
code: 'string',
|
|
14
14
|
createdAt: 'string',
|
|
15
15
|
updatedAt: 'string',
|
|
16
|
-
nameTrgmSimilarity: 'float',
|
|
17
|
-
codeTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
16
|
};
|
|
20
17
|
const usage = '\ntrigger-function <command>\n\nCommands:\n list List all triggerFunction records\n get Get a triggerFunction by ID\n create Create a new triggerFunction\n update Update an existing triggerFunction\n delete Delete a triggerFunction\n\n --help, -h Show this help message\n';
|
|
21
18
|
export default async (argv, prompter, _options) => {
|
|
@@ -20,11 +20,6 @@ const fieldSchema = {
|
|
|
20
20
|
tags: 'string',
|
|
21
21
|
createdAt: 'string',
|
|
22
22
|
updatedAt: 'string',
|
|
23
|
-
nameTrgmSimilarity: 'float',
|
|
24
|
-
eventTrgmSimilarity: 'float',
|
|
25
|
-
functionNameTrgmSimilarity: 'float',
|
|
26
|
-
moduleTrgmSimilarity: 'float',
|
|
27
|
-
searchScore: 'float',
|
|
28
23
|
};
|
|
29
24
|
const usage = '\ntrigger <command>\n\nCommands:\n list List all trigger records\n get Get a trigger by ID\n create Create a new trigger\n update Update an existing trigger\n delete Delete a trigger\n\n --help, -h Show this help message\n';
|
|
30
25
|
export default async (argv, prompter, _options) => {
|
|
@@ -21,11 +21,6 @@ const fieldSchema = {
|
|
|
21
21
|
tags: 'string',
|
|
22
22
|
createdAt: 'string',
|
|
23
23
|
updatedAt: 'string',
|
|
24
|
-
nameTrgmSimilarity: 'float',
|
|
25
|
-
descriptionTrgmSimilarity: 'float',
|
|
26
|
-
typeTrgmSimilarity: 'float',
|
|
27
|
-
moduleTrgmSimilarity: 'float',
|
|
28
|
-
searchScore: 'float',
|
|
29
24
|
};
|
|
30
25
|
const usage = '\nunique-constraint <command>\n\nCommands:\n list List all uniqueConstraint records\n get Get a uniqueConstraint by ID\n create Create a new uniqueConstraint\n update Update an existing uniqueConstraint\n delete Delete a uniqueConstraint\n\n --help, -h Show this help message\n';
|
|
31
26
|
export default async (argv, prompter, _options) => {
|
|
@@ -33,23 +33,6 @@ const fieldSchema = {
|
|
|
33
33
|
signInOneTimeTokenFunction: 'string',
|
|
34
34
|
oneTimeTokenFunction: 'string',
|
|
35
35
|
extendTokenExpires: 'string',
|
|
36
|
-
auditsTableNameTrgmSimilarity: 'float',
|
|
37
|
-
signInFunctionTrgmSimilarity: 'float',
|
|
38
|
-
signUpFunctionTrgmSimilarity: 'float',
|
|
39
|
-
signOutFunctionTrgmSimilarity: 'float',
|
|
40
|
-
setPasswordFunctionTrgmSimilarity: 'float',
|
|
41
|
-
resetPasswordFunctionTrgmSimilarity: 'float',
|
|
42
|
-
forgotPasswordFunctionTrgmSimilarity: 'float',
|
|
43
|
-
sendVerificationEmailFunctionTrgmSimilarity: 'float',
|
|
44
|
-
verifyEmailFunctionTrgmSimilarity: 'float',
|
|
45
|
-
verifyPasswordFunctionTrgmSimilarity: 'float',
|
|
46
|
-
checkPasswordFunctionTrgmSimilarity: 'float',
|
|
47
|
-
sendAccountDeletionEmailFunctionTrgmSimilarity: 'float',
|
|
48
|
-
deleteAccountFunctionTrgmSimilarity: 'float',
|
|
49
|
-
signInOneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
50
|
-
oneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
51
|
-
extendTokenExpiresTrgmSimilarity: 'float',
|
|
52
|
-
searchScore: 'float',
|
|
53
36
|
};
|
|
54
37
|
const usage = '\nuser-auth-module <command>\n\nCommands:\n list List all userAuthModule records\n get Get a userAuthModule by ID\n create Create a new userAuthModule\n update Update an existing userAuthModule\n delete Delete a userAuthModule\n\n --help, -h Show this help message\n';
|
|
55
38
|
export default async (argv, prompter, _options) => {
|
|
@@ -14,9 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
tableName: 'string',
|
|
15
15
|
typeTableId: 'uuid',
|
|
16
16
|
typeTableName: 'string',
|
|
17
|
-
tableNameTrgmSimilarity: 'float',
|
|
18
|
-
typeTableNameTrgmSimilarity: 'float',
|
|
19
|
-
searchScore: 'float',
|
|
20
17
|
};
|
|
21
18
|
const usage = '\nusers-module <command>\n\nCommands:\n list List all usersModule records\n get Get a usersModule by ID\n create Create a new usersModule\n update Update an existing usersModule\n delete Delete a usersModule\n\n --help, -h Show this help message\n';
|
|
22
19
|
export default async (argv, prompter, _options) => {
|
|
@@ -14,9 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
privilege: 'string',
|
|
15
15
|
withGrantOption: 'boolean',
|
|
16
16
|
isGrant: 'boolean',
|
|
17
|
-
granteeNameTrgmSimilarity: 'float',
|
|
18
|
-
privilegeTrgmSimilarity: 'float',
|
|
19
|
-
searchScore: 'float',
|
|
20
17
|
};
|
|
21
18
|
const usage = '\nview-grant <command>\n\nCommands:\n list List all viewGrant records\n get Get a viewGrant by ID\n create Create a new viewGrant\n update Update an existing viewGrant\n delete Delete a viewGrant\n\n --help, -h Show this help message\n';
|
|
22
19
|
export default async (argv, prompter, _options) => {
|
|
@@ -13,10 +13,6 @@ const fieldSchema = {
|
|
|
13
13
|
name: 'string',
|
|
14
14
|
event: 'string',
|
|
15
15
|
action: 'string',
|
|
16
|
-
nameTrgmSimilarity: 'float',
|
|
17
|
-
eventTrgmSimilarity: 'float',
|
|
18
|
-
actionTrgmSimilarity: 'float',
|
|
19
|
-
searchScore: 'float',
|
|
20
16
|
};
|
|
21
17
|
const usage = '\nview-rule <command>\n\nCommands:\n list List all viewRule records\n get Get a viewRule by ID\n create Create a new viewRule\n update Update an existing viewRule\n delete Delete a viewRule\n\n --help, -h Show this help message\n';
|
|
22
18
|
export default async (argv, prompter, _options) => {
|
|
@@ -23,11 +23,6 @@ const fieldSchema = {
|
|
|
23
23
|
module: 'string',
|
|
24
24
|
scope: 'int',
|
|
25
25
|
tags: 'string',
|
|
26
|
-
nameTrgmSimilarity: 'float',
|
|
27
|
-
viewTypeTrgmSimilarity: 'float',
|
|
28
|
-
filterTypeTrgmSimilarity: 'float',
|
|
29
|
-
moduleTrgmSimilarity: 'float',
|
|
30
|
-
searchScore: 'float',
|
|
31
26
|
};
|
|
32
27
|
const usage = '\nview <command>\n\nCommands:\n list List all view records\n get Get a view by ID\n create Create a new view\n update Update an existing view\n delete Delete a view\n\n --help, -h Show this help message\n';
|
|
33
28
|
export default async (argv, prompter, _options) => {
|