@constructive-sdk/cli 0.10.0 → 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 +2 -2
- 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
|
@@ -17,9 +17,6 @@ const fieldSchema = {
|
|
|
17
17
|
isPrimary: 'boolean',
|
|
18
18
|
createdAt: 'string',
|
|
19
19
|
updatedAt: 'string',
|
|
20
|
-
ccTrgmSimilarity: 'float',
|
|
21
|
-
numberTrgmSimilarity: 'float',
|
|
22
|
-
searchScore: 'float',
|
|
23
20
|
};
|
|
24
21
|
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';
|
|
25
22
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -16,8 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
tableId: 'uuid',
|
|
17
17
|
ownerTableId: 'uuid',
|
|
18
18
|
tableName: 'string',
|
|
19
|
-
tableNameTrgmSimilarity: 'float',
|
|
20
|
-
searchScore: 'float',
|
|
21
19
|
};
|
|
22
20
|
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';
|
|
23
21
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -26,12 +26,6 @@ const fieldSchema = {
|
|
|
26
26
|
tags: 'string',
|
|
27
27
|
createdAt: 'string',
|
|
28
28
|
updatedAt: 'string',
|
|
29
|
-
nameTrgmSimilarity: 'float',
|
|
30
|
-
granteeNameTrgmSimilarity: 'float',
|
|
31
|
-
privilegeTrgmSimilarity: 'float',
|
|
32
|
-
policyTypeTrgmSimilarity: 'float',
|
|
33
|
-
moduleTrgmSimilarity: 'float',
|
|
34
|
-
searchScore: 'float',
|
|
35
29
|
};
|
|
36
30
|
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';
|
|
37
31
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -22,10 +22,6 @@ const fieldSchema = {
|
|
|
22
22
|
tags: 'string',
|
|
23
23
|
createdAt: 'string',
|
|
24
24
|
updatedAt: 'string',
|
|
25
|
-
nameTrgmSimilarity: 'float',
|
|
26
|
-
typeTrgmSimilarity: 'float',
|
|
27
|
-
moduleTrgmSimilarity: 'float',
|
|
28
|
-
searchScore: 'float',
|
|
29
25
|
};
|
|
30
26
|
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';
|
|
31
27
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -27,12 +27,6 @@ const fieldSchema = {
|
|
|
27
27
|
permissionsTableId: 'uuid',
|
|
28
28
|
membershipsTableId: 'uuid',
|
|
29
29
|
prefix: 'string',
|
|
30
|
-
tableNameTrgmSimilarity: 'float',
|
|
31
|
-
profilePermissionsTableNameTrgmSimilarity: 'float',
|
|
32
|
-
profileGrantsTableNameTrgmSimilarity: 'float',
|
|
33
|
-
profileDefinitionGrantsTableNameTrgmSimilarity: 'float',
|
|
34
|
-
prefixTrgmSimilarity: 'float',
|
|
35
|
-
searchScore: 'float',
|
|
36
30
|
};
|
|
37
31
|
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';
|
|
38
32
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,8 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
databaseId: 'uuid',
|
|
15
15
|
storeId: 'uuid',
|
|
16
16
|
commitId: 'uuid',
|
|
17
|
-
nameTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
17
|
};
|
|
20
18
|
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';
|
|
21
19
|
exports.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,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const executor_1 = require("../executor");
|
|
4
|
+
const utils_1 = require("../utils");
|
|
5
|
+
exports.default = async (argv, prompter, _options) => {
|
|
6
|
+
try {
|
|
7
|
+
if (argv.help || argv.h) {
|
|
8
|
+
console.log('reject-database-transfer - rejectDatabaseTransfer\n\nUsage: reject-database-transfer [OPTIONS]\n');
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
const answers = await prompter.prompt(argv, [
|
|
12
|
+
{
|
|
13
|
+
type: 'text',
|
|
14
|
+
name: 'input',
|
|
15
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
const client = (0, executor_1.getClient)();
|
|
20
|
+
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
|
+
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
|
+
const result = await client.mutation
|
|
23
|
+
.rejectDatabaseTransfer(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: rejectDatabaseTransfer');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -17,12 +17,15 @@ const fieldSchema = {
|
|
|
17
17
|
fieldName: 'string',
|
|
18
18
|
deleteAction: 'string',
|
|
19
19
|
isRequired: 'boolean',
|
|
20
|
+
apiRequired: 'boolean',
|
|
20
21
|
junctionTableId: 'uuid',
|
|
21
22
|
junctionTableName: 'string',
|
|
22
23
|
junctionSchemaId: 'uuid',
|
|
23
24
|
sourceFieldName: 'string',
|
|
24
25
|
targetFieldName: 'string',
|
|
25
26
|
useCompositeKey: 'boolean',
|
|
27
|
+
createIndex: 'boolean',
|
|
28
|
+
exposeInApi: 'boolean',
|
|
26
29
|
nodeType: 'string',
|
|
27
30
|
nodeData: 'json',
|
|
28
31
|
grantRoles: 'string',
|
|
@@ -37,17 +40,6 @@ const fieldSchema = {
|
|
|
37
40
|
outJunctionTableId: 'uuid',
|
|
38
41
|
outSourceFieldId: 'uuid',
|
|
39
42
|
outTargetFieldId: 'uuid',
|
|
40
|
-
relationTypeTrgmSimilarity: 'float',
|
|
41
|
-
fieldNameTrgmSimilarity: 'float',
|
|
42
|
-
deleteActionTrgmSimilarity: 'float',
|
|
43
|
-
junctionTableNameTrgmSimilarity: 'float',
|
|
44
|
-
sourceFieldNameTrgmSimilarity: 'float',
|
|
45
|
-
targetFieldNameTrgmSimilarity: 'float',
|
|
46
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
47
|
-
policyTypeTrgmSimilarity: 'float',
|
|
48
|
-
policyRoleTrgmSimilarity: 'float',
|
|
49
|
-
policyNameTrgmSimilarity: 'float',
|
|
50
|
-
searchScore: 'float',
|
|
51
43
|
};
|
|
52
44
|
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';
|
|
53
45
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -100,12 +92,15 @@ async function handleList(_argv, _prompter) {
|
|
|
100
92
|
fieldName: true,
|
|
101
93
|
deleteAction: true,
|
|
102
94
|
isRequired: true,
|
|
95
|
+
apiRequired: true,
|
|
103
96
|
junctionTableId: true,
|
|
104
97
|
junctionTableName: true,
|
|
105
98
|
junctionSchemaId: true,
|
|
106
99
|
sourceFieldName: true,
|
|
107
100
|
targetFieldName: true,
|
|
108
101
|
useCompositeKey: true,
|
|
102
|
+
createIndex: true,
|
|
103
|
+
exposeInApi: true,
|
|
109
104
|
nodeType: true,
|
|
110
105
|
nodeData: true,
|
|
111
106
|
grantRoles: true,
|
|
@@ -156,12 +151,15 @@ async function handleGet(argv, prompter) {
|
|
|
156
151
|
fieldName: true,
|
|
157
152
|
deleteAction: true,
|
|
158
153
|
isRequired: true,
|
|
154
|
+
apiRequired: true,
|
|
159
155
|
junctionTableId: true,
|
|
160
156
|
junctionTableName: true,
|
|
161
157
|
junctionSchemaId: true,
|
|
162
158
|
sourceFieldName: true,
|
|
163
159
|
targetFieldName: true,
|
|
164
160
|
useCompositeKey: true,
|
|
161
|
+
createIndex: true,
|
|
162
|
+
exposeInApi: true,
|
|
165
163
|
nodeType: true,
|
|
166
164
|
nodeData: true,
|
|
167
165
|
grantRoles: true,
|
|
@@ -237,6 +235,13 @@ async function handleCreate(argv, prompter) {
|
|
|
237
235
|
required: false,
|
|
238
236
|
skipPrompt: true,
|
|
239
237
|
},
|
|
238
|
+
{
|
|
239
|
+
type: 'boolean',
|
|
240
|
+
name: 'apiRequired',
|
|
241
|
+
message: 'apiRequired',
|
|
242
|
+
required: false,
|
|
243
|
+
skipPrompt: true,
|
|
244
|
+
},
|
|
240
245
|
{
|
|
241
246
|
type: 'text',
|
|
242
247
|
name: 'junctionTableId',
|
|
@@ -279,6 +284,20 @@ async function handleCreate(argv, prompter) {
|
|
|
279
284
|
required: false,
|
|
280
285
|
skipPrompt: true,
|
|
281
286
|
},
|
|
287
|
+
{
|
|
288
|
+
type: 'boolean',
|
|
289
|
+
name: 'createIndex',
|
|
290
|
+
message: 'createIndex',
|
|
291
|
+
required: false,
|
|
292
|
+
skipPrompt: true,
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
type: 'boolean',
|
|
296
|
+
name: 'exposeInApi',
|
|
297
|
+
message: 'exposeInApi',
|
|
298
|
+
required: false,
|
|
299
|
+
skipPrompt: true,
|
|
300
|
+
},
|
|
282
301
|
{
|
|
283
302
|
type: 'text',
|
|
284
303
|
name: 'nodeType',
|
|
@@ -391,12 +410,15 @@ async function handleCreate(argv, prompter) {
|
|
|
391
410
|
fieldName: cleanedData.fieldName,
|
|
392
411
|
deleteAction: cleanedData.deleteAction,
|
|
393
412
|
isRequired: cleanedData.isRequired,
|
|
413
|
+
apiRequired: cleanedData.apiRequired,
|
|
394
414
|
junctionTableId: cleanedData.junctionTableId,
|
|
395
415
|
junctionTableName: cleanedData.junctionTableName,
|
|
396
416
|
junctionSchemaId: cleanedData.junctionSchemaId,
|
|
397
417
|
sourceFieldName: cleanedData.sourceFieldName,
|
|
398
418
|
targetFieldName: cleanedData.targetFieldName,
|
|
399
419
|
useCompositeKey: cleanedData.useCompositeKey,
|
|
420
|
+
createIndex: cleanedData.createIndex,
|
|
421
|
+
exposeInApi: cleanedData.exposeInApi,
|
|
400
422
|
nodeType: cleanedData.nodeType,
|
|
401
423
|
nodeData: cleanedData.nodeData,
|
|
402
424
|
grantRoles: cleanedData.grantRoles,
|
|
@@ -421,12 +443,15 @@ async function handleCreate(argv, prompter) {
|
|
|
421
443
|
fieldName: true,
|
|
422
444
|
deleteAction: true,
|
|
423
445
|
isRequired: true,
|
|
446
|
+
apiRequired: true,
|
|
424
447
|
junctionTableId: true,
|
|
425
448
|
junctionTableName: true,
|
|
426
449
|
junctionSchemaId: true,
|
|
427
450
|
sourceFieldName: true,
|
|
428
451
|
targetFieldName: true,
|
|
429
452
|
useCompositeKey: true,
|
|
453
|
+
createIndex: true,
|
|
454
|
+
exposeInApi: true,
|
|
430
455
|
nodeType: true,
|
|
431
456
|
nodeData: true,
|
|
432
457
|
grantRoles: true,
|
|
@@ -508,6 +533,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
508
533
|
required: false,
|
|
509
534
|
skipPrompt: true,
|
|
510
535
|
},
|
|
536
|
+
{
|
|
537
|
+
type: 'boolean',
|
|
538
|
+
name: 'apiRequired',
|
|
539
|
+
message: 'apiRequired',
|
|
540
|
+
required: false,
|
|
541
|
+
skipPrompt: true,
|
|
542
|
+
},
|
|
511
543
|
{
|
|
512
544
|
type: 'text',
|
|
513
545
|
name: 'junctionTableId',
|
|
@@ -550,6 +582,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
550
582
|
required: false,
|
|
551
583
|
skipPrompt: true,
|
|
552
584
|
},
|
|
585
|
+
{
|
|
586
|
+
type: 'boolean',
|
|
587
|
+
name: 'createIndex',
|
|
588
|
+
message: 'createIndex',
|
|
589
|
+
required: false,
|
|
590
|
+
skipPrompt: true,
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
type: 'boolean',
|
|
594
|
+
name: 'exposeInApi',
|
|
595
|
+
message: 'exposeInApi',
|
|
596
|
+
required: false,
|
|
597
|
+
skipPrompt: true,
|
|
598
|
+
},
|
|
553
599
|
{
|
|
554
600
|
type: 'text',
|
|
555
601
|
name: 'nodeType',
|
|
@@ -665,12 +711,15 @@ async function handleUpdate(argv, prompter) {
|
|
|
665
711
|
fieldName: cleanedData.fieldName,
|
|
666
712
|
deleteAction: cleanedData.deleteAction,
|
|
667
713
|
isRequired: cleanedData.isRequired,
|
|
714
|
+
apiRequired: cleanedData.apiRequired,
|
|
668
715
|
junctionTableId: cleanedData.junctionTableId,
|
|
669
716
|
junctionTableName: cleanedData.junctionTableName,
|
|
670
717
|
junctionSchemaId: cleanedData.junctionSchemaId,
|
|
671
718
|
sourceFieldName: cleanedData.sourceFieldName,
|
|
672
719
|
targetFieldName: cleanedData.targetFieldName,
|
|
673
720
|
useCompositeKey: cleanedData.useCompositeKey,
|
|
721
|
+
createIndex: cleanedData.createIndex,
|
|
722
|
+
exposeInApi: cleanedData.exposeInApi,
|
|
674
723
|
nodeType: cleanedData.nodeType,
|
|
675
724
|
nodeData: cleanedData.nodeData,
|
|
676
725
|
grantRoles: cleanedData.grantRoles,
|
|
@@ -695,12 +744,15 @@ async function handleUpdate(argv, prompter) {
|
|
|
695
744
|
fieldName: true,
|
|
696
745
|
deleteAction: true,
|
|
697
746
|
isRequired: true,
|
|
747
|
+
apiRequired: true,
|
|
698
748
|
junctionTableId: true,
|
|
699
749
|
junctionTableName: true,
|
|
700
750
|
junctionSchemaId: true,
|
|
701
751
|
sourceFieldName: true,
|
|
702
752
|
targetFieldName: true,
|
|
703
753
|
useCompositeKey: true,
|
|
754
|
+
createIndex: true,
|
|
755
|
+
exposeInApi: true,
|
|
704
756
|
nodeType: true,
|
|
705
757
|
nodeData: true,
|
|
706
758
|
grantRoles: true,
|
|
@@ -20,11 +20,6 @@ const fieldSchema = {
|
|
|
20
20
|
authenticateStrict: 'string',
|
|
21
21
|
currentRole: 'string',
|
|
22
22
|
currentRoleId: 'string',
|
|
23
|
-
authenticateTrgmSimilarity: 'float',
|
|
24
|
-
authenticateStrictTrgmSimilarity: 'float',
|
|
25
|
-
currentRoleTrgmSimilarity: 'float',
|
|
26
|
-
currentRoleIdTrgmSimilarity: 'float',
|
|
27
|
-
searchScore: 'float',
|
|
28
23
|
};
|
|
29
24
|
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';
|
|
30
25
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,8 +15,6 @@ const fieldSchema = {
|
|
|
15
15
|
granteeName: 'string',
|
|
16
16
|
createdAt: 'string',
|
|
17
17
|
updatedAt: 'string',
|
|
18
|
-
granteeNameTrgmSimilarity: 'float',
|
|
19
|
-
searchScore: 'float',
|
|
20
18
|
};
|
|
21
19
|
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';
|
|
22
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -23,12 +23,6 @@ const fieldSchema = {
|
|
|
23
23
|
isPublic: 'boolean',
|
|
24
24
|
createdAt: 'string',
|
|
25
25
|
updatedAt: 'string',
|
|
26
|
-
nameTrgmSimilarity: 'float',
|
|
27
|
-
schemaNameTrgmSimilarity: 'float',
|
|
28
|
-
labelTrgmSimilarity: 'float',
|
|
29
|
-
descriptionTrgmSimilarity: 'float',
|
|
30
|
-
moduleTrgmSimilarity: 'float',
|
|
31
|
-
searchScore: 'float',
|
|
32
26
|
};
|
|
33
27
|
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';
|
|
34
28
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,8 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
schemaId: 'uuid',
|
|
15
15
|
tableId: 'uuid',
|
|
16
16
|
tableName: 'string',
|
|
17
|
-
tableNameTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
17
|
};
|
|
20
18
|
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';
|
|
21
19
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -27,12 +27,6 @@ const fieldSchema = {
|
|
|
27
27
|
policyName: 'string',
|
|
28
28
|
policyData: 'json',
|
|
29
29
|
outFields: 'uuid',
|
|
30
|
-
tableNameTrgmSimilarity: 'float',
|
|
31
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
32
|
-
policyTypeTrgmSimilarity: 'float',
|
|
33
|
-
policyRoleTrgmSimilarity: 'float',
|
|
34
|
-
policyNameTrgmSimilarity: 'float',
|
|
35
|
-
searchScore: 'float',
|
|
36
30
|
};
|
|
37
31
|
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';
|
|
38
32
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -20,10 +20,6 @@ const fieldSchema = {
|
|
|
20
20
|
sessionsTable: 'string',
|
|
21
21
|
sessionCredentialsTable: 'string',
|
|
22
22
|
authSettingsTable: 'string',
|
|
23
|
-
sessionsTableTrgmSimilarity: 'float',
|
|
24
|
-
sessionCredentialsTableTrgmSimilarity: 'float',
|
|
25
|
-
authSettingsTableTrgmSimilarity: 'float',
|
|
26
|
-
searchScore: 'float',
|
|
27
23
|
};
|
|
28
24
|
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';
|
|
29
25
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,9 +15,6 @@ const fieldSchema = {
|
|
|
15
15
|
title: 'string',
|
|
16
16
|
description: 'string',
|
|
17
17
|
ogImage: 'string',
|
|
18
|
-
titleTrgmSimilarity: 'float',
|
|
19
|
-
descriptionTrgmSimilarity: 'float',
|
|
20
|
-
searchScore: 'float',
|
|
21
18
|
};
|
|
22
19
|
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';
|
|
23
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,8 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
siteId: 'uuid',
|
|
15
15
|
name: 'string',
|
|
16
16
|
data: 'json',
|
|
17
|
-
nameTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
17
|
};
|
|
20
18
|
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';
|
|
21
19
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,10 +18,6 @@ const fieldSchema = {
|
|
|
18
18
|
appleTouchIcon: 'string',
|
|
19
19
|
logo: 'string',
|
|
20
20
|
dbname: 'string',
|
|
21
|
-
titleTrgmSimilarity: 'float',
|
|
22
|
-
descriptionTrgmSimilarity: 'float',
|
|
23
|
-
dbnameTrgmSimilarity: 'float',
|
|
24
|
-
searchScore: 'float',
|
|
25
21
|
};
|
|
26
22
|
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';
|
|
27
23
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -22,13 +22,6 @@ const fieldSchema = {
|
|
|
22
22
|
action: 'string',
|
|
23
23
|
actionId: 'uuid',
|
|
24
24
|
actorId: 'uuid',
|
|
25
|
-
nameTrgmSimilarity: 'float',
|
|
26
|
-
deployTrgmSimilarity: 'float',
|
|
27
|
-
contentTrgmSimilarity: 'float',
|
|
28
|
-
revertTrgmSimilarity: 'float',
|
|
29
|
-
verifyTrgmSimilarity: 'float',
|
|
30
|
-
actionTrgmSimilarity: 'float',
|
|
31
|
-
searchScore: 'float',
|
|
32
25
|
};
|
|
33
26
|
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';
|
|
34
27
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -14,8 +14,6 @@ const fieldSchema = {
|
|
|
14
14
|
databaseId: 'uuid',
|
|
15
15
|
hash: 'uuid',
|
|
16
16
|
createdAt: 'string',
|
|
17
|
-
nameTrgmSimilarity: 'float',
|
|
18
|
-
searchScore: 'float',
|
|
19
17
|
};
|
|
20
18
|
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';
|
|
21
19
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,9 +18,6 @@ const fieldSchema = {
|
|
|
18
18
|
isGrant: 'boolean',
|
|
19
19
|
createdAt: 'string',
|
|
20
20
|
updatedAt: 'string',
|
|
21
|
-
privilegeTrgmSimilarity: 'float',
|
|
22
|
-
granteeNameTrgmSimilarity: 'float',
|
|
23
|
-
searchScore: 'float',
|
|
24
21
|
};
|
|
25
22
|
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';
|
|
26
23
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -18,9 +18,6 @@ const fieldSchema = {
|
|
|
18
18
|
tableName: 'string',
|
|
19
19
|
nodeType: 'string',
|
|
20
20
|
data: 'json',
|
|
21
|
-
tableNameTrgmSimilarity: 'float',
|
|
22
|
-
nodeTypeTrgmSimilarity: 'float',
|
|
23
|
-
searchScore: 'float',
|
|
24
21
|
};
|
|
25
22
|
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';
|
|
26
23
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -28,13 +28,6 @@ const fieldSchema = {
|
|
|
28
28
|
inheritsId: 'uuid',
|
|
29
29
|
createdAt: 'string',
|
|
30
30
|
updatedAt: 'string',
|
|
31
|
-
nameTrgmSimilarity: 'float',
|
|
32
|
-
labelTrgmSimilarity: 'float',
|
|
33
|
-
descriptionTrgmSimilarity: 'float',
|
|
34
|
-
moduleTrgmSimilarity: 'float',
|
|
35
|
-
pluralNameTrgmSimilarity: 'float',
|
|
36
|
-
singularNameTrgmSimilarity: 'float',
|
|
37
|
-
searchScore: 'float',
|
|
38
31
|
};
|
|
39
32
|
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';
|
|
40
33
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,9 +15,6 @@ const fieldSchema = {
|
|
|
15
15
|
code: 'string',
|
|
16
16
|
createdAt: 'string',
|
|
17
17
|
updatedAt: 'string',
|
|
18
|
-
nameTrgmSimilarity: 'float',
|
|
19
|
-
codeTrgmSimilarity: 'float',
|
|
20
|
-
searchScore: 'float',
|
|
21
18
|
};
|
|
22
19
|
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';
|
|
23
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -22,11 +22,6 @@ const fieldSchema = {
|
|
|
22
22
|
tags: 'string',
|
|
23
23
|
createdAt: 'string',
|
|
24
24
|
updatedAt: 'string',
|
|
25
|
-
nameTrgmSimilarity: 'float',
|
|
26
|
-
eventTrgmSimilarity: 'float',
|
|
27
|
-
functionNameTrgmSimilarity: 'float',
|
|
28
|
-
moduleTrgmSimilarity: 'float',
|
|
29
|
-
searchScore: 'float',
|
|
30
25
|
};
|
|
31
26
|
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';
|
|
32
27
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -23,11 +23,6 @@ const fieldSchema = {
|
|
|
23
23
|
tags: 'string',
|
|
24
24
|
createdAt: 'string',
|
|
25
25
|
updatedAt: 'string',
|
|
26
|
-
nameTrgmSimilarity: 'float',
|
|
27
|
-
descriptionTrgmSimilarity: 'float',
|
|
28
|
-
typeTrgmSimilarity: 'float',
|
|
29
|
-
moduleTrgmSimilarity: 'float',
|
|
30
|
-
searchScore: 'float',
|
|
31
26
|
};
|
|
32
27
|
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';
|
|
33
28
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -35,23 +35,6 @@ const fieldSchema = {
|
|
|
35
35
|
signInOneTimeTokenFunction: 'string',
|
|
36
36
|
oneTimeTokenFunction: 'string',
|
|
37
37
|
extendTokenExpires: 'string',
|
|
38
|
-
auditsTableNameTrgmSimilarity: 'float',
|
|
39
|
-
signInFunctionTrgmSimilarity: 'float',
|
|
40
|
-
signUpFunctionTrgmSimilarity: 'float',
|
|
41
|
-
signOutFunctionTrgmSimilarity: 'float',
|
|
42
|
-
setPasswordFunctionTrgmSimilarity: 'float',
|
|
43
|
-
resetPasswordFunctionTrgmSimilarity: 'float',
|
|
44
|
-
forgotPasswordFunctionTrgmSimilarity: 'float',
|
|
45
|
-
sendVerificationEmailFunctionTrgmSimilarity: 'float',
|
|
46
|
-
verifyEmailFunctionTrgmSimilarity: 'float',
|
|
47
|
-
verifyPasswordFunctionTrgmSimilarity: 'float',
|
|
48
|
-
checkPasswordFunctionTrgmSimilarity: 'float',
|
|
49
|
-
sendAccountDeletionEmailFunctionTrgmSimilarity: 'float',
|
|
50
|
-
deleteAccountFunctionTrgmSimilarity: 'float',
|
|
51
|
-
signInOneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
52
|
-
oneTimeTokenFunctionTrgmSimilarity: 'float',
|
|
53
|
-
extendTokenExpiresTrgmSimilarity: 'float',
|
|
54
|
-
searchScore: 'float',
|
|
55
38
|
};
|
|
56
39
|
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';
|
|
57
40
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -16,9 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
tableName: 'string',
|
|
17
17
|
typeTableId: 'uuid',
|
|
18
18
|
typeTableName: 'string',
|
|
19
|
-
tableNameTrgmSimilarity: 'float',
|
|
20
|
-
typeTableNameTrgmSimilarity: 'float',
|
|
21
|
-
searchScore: 'float',
|
|
22
19
|
};
|
|
23
20
|
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';
|
|
24
21
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -16,9 +16,6 @@ const fieldSchema = {
|
|
|
16
16
|
privilege: 'string',
|
|
17
17
|
withGrantOption: 'boolean',
|
|
18
18
|
isGrant: 'boolean',
|
|
19
|
-
granteeNameTrgmSimilarity: 'float',
|
|
20
|
-
privilegeTrgmSimilarity: 'float',
|
|
21
|
-
searchScore: 'float',
|
|
22
19
|
};
|
|
23
20
|
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';
|
|
24
21
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -15,10 +15,6 @@ const fieldSchema = {
|
|
|
15
15
|
name: 'string',
|
|
16
16
|
event: 'string',
|
|
17
17
|
action: 'string',
|
|
18
|
-
nameTrgmSimilarity: 'float',
|
|
19
|
-
eventTrgmSimilarity: 'float',
|
|
20
|
-
actionTrgmSimilarity: 'float',
|
|
21
|
-
searchScore: 'float',
|
|
22
18
|
};
|
|
23
19
|
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';
|
|
24
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -25,11 +25,6 @@ const fieldSchema = {
|
|
|
25
25
|
module: 'string',
|
|
26
26
|
scope: 'int',
|
|
27
27
|
tags: 'string',
|
|
28
|
-
nameTrgmSimilarity: 'float',
|
|
29
|
-
viewTypeTrgmSimilarity: 'float',
|
|
30
|
-
filterTypeTrgmSimilarity: 'float',
|
|
31
|
-
moduleTrgmSimilarity: 'float',
|
|
32
|
-
searchScore: 'float',
|
|
33
28
|
};
|
|
34
29
|
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';
|
|
35
30
|
exports.default = async (argv, prompter, _options) => {
|