@constructive-sdk/cli 1.21.5 → 1.21.7
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/provision-bucket.js +1 -1
- package/admin/cli/commands.js +1 -1
- package/admin/orm/input-types.d.ts +4 -4
- package/admin/orm/mutation/index.d.ts +5 -4
- package/agent/cli/commands/provision-bucket.js +1 -1
- package/agent/cli/commands.js +1 -1
- package/agent/orm/input-types.d.ts +4 -4
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/cli/commands/{route-binding.d.ts → create-function-from-source.d.ts} +1 -1
- package/api/cli/commands/create-function-from-source.js +36 -0
- package/api/cli/commands/{hostname-binding.d.ts → email-shared-account.d.ts} +1 -1
- package/api/cli/commands/email-shared-account.js +21 -0
- package/api/cli/commands/managed-domain.js +22 -0
- package/api/cli/commands/platform-managed-domain.js +22 -0
- package/api/cli/commands/provision-bucket.js +1 -1
- package/api/cli/commands/unique-constraint.js +22 -0
- package/{esm/api/cli/commands/route-binding.d.ts → api/cli/commands/update-function-from-source.d.ts} +1 -1
- package/api/cli/commands/update-function-from-source.js +36 -0
- package/api/cli/commands.js +7 -5
- package/api/cli/executor.d.ts +15 -2
- package/api/orm/index.d.ts +15 -4
- package/api/orm/index.js +0 -4
- package/api/orm/input-types.d.ts +96 -439
- package/api/orm/models/index.d.ts +0 -2
- package/api/orm/models/index.js +2 -6
- package/api/orm/mutation/index.d.ts +30 -5
- package/api/orm/mutation/index.js +24 -0
- package/api/orm/query/index.d.ts +5 -0
- package/api/orm/query/index.js +7 -0
- package/auth/cli/commands/provision-bucket.js +1 -1
- package/auth/cli/commands.js +1 -1
- package/auth/orm/input-types.d.ts +5 -29
- package/auth/orm/mutation/index.d.ts +5 -4
- package/compute/cli/commands/function-invocation.js +44 -0
- package/compute/cli/commands/platform-function-invocation.js +44 -0
- package/compute/cli/commands/provision-bucket.js +1 -1
- package/compute/cli/commands.js +1 -1
- package/compute/orm/input-types.d.ts +50 -6
- package/compute/orm/mutation/index.d.ts +5 -4
- package/config/cli/commands/provision-bucket.js +1 -1
- package/config/cli/commands.js +1 -1
- package/config/orm/input-types.d.ts +4 -4
- package/config/orm/mutation/index.d.ts +5 -4
- package/esm/admin/cli/commands/provision-bucket.js +1 -1
- package/esm/admin/cli/commands.js +1 -1
- package/esm/admin/orm/input-types.d.ts +4 -4
- package/esm/admin/orm/mutation/index.d.ts +5 -4
- package/esm/agent/cli/commands/provision-bucket.js +1 -1
- package/esm/agent/cli/commands.js +1 -1
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/cli/commands/create-function-from-source.d.ts +8 -0
- package/esm/api/cli/commands/create-function-from-source.js +34 -0
- package/esm/api/cli/commands/{hostname-binding.d.ts → email-shared-account.d.ts} +1 -1
- package/esm/api/cli/commands/email-shared-account.js +19 -0
- package/esm/api/cli/commands/managed-domain.js +22 -0
- package/esm/api/cli/commands/platform-managed-domain.js +22 -0
- package/esm/api/cli/commands/provision-bucket.js +1 -1
- package/esm/api/cli/commands/unique-constraint.js +22 -0
- package/esm/api/cli/commands/update-function-from-source.d.ts +8 -0
- package/esm/api/cli/commands/update-function-from-source.js +34 -0
- package/esm/api/cli/commands.js +7 -5
- package/esm/api/cli/executor.d.ts +15 -2
- package/esm/api/orm/index.d.ts +15 -4
- package/esm/api/orm/index.js +0 -4
- package/esm/api/orm/input-types.d.ts +96 -439
- package/esm/api/orm/models/index.d.ts +0 -2
- package/esm/api/orm/models/index.js +0 -2
- package/esm/api/orm/mutation/index.d.ts +30 -5
- package/esm/api/orm/mutation/index.js +24 -0
- package/esm/api/orm/query/index.d.ts +5 -0
- package/esm/api/orm/query/index.js +7 -0
- package/esm/auth/cli/commands/provision-bucket.js +1 -1
- package/esm/auth/cli/commands.js +1 -1
- package/esm/auth/orm/input-types.d.ts +5 -29
- package/esm/auth/orm/mutation/index.d.ts +5 -4
- package/esm/compute/cli/commands/function-invocation.js +44 -0
- package/esm/compute/cli/commands/platform-function-invocation.js +44 -0
- package/esm/compute/cli/commands/provision-bucket.js +1 -1
- package/esm/compute/cli/commands.js +1 -1
- package/esm/compute/orm/input-types.d.ts +50 -6
- package/esm/compute/orm/mutation/index.d.ts +5 -4
- package/esm/config/cli/commands/provision-bucket.js +1 -1
- package/esm/config/cli/commands.js +1 -1
- package/esm/config/orm/input-types.d.ts +4 -4
- package/esm/config/orm/mutation/index.d.ts +5 -4
- package/esm/infra/cli/commands/provision-bucket.js +1 -1
- package/esm/infra/cli/commands.js +1 -1
- package/esm/infra/orm/input-types.d.ts +4 -4
- package/esm/infra/orm/mutation/index.d.ts +5 -4
- package/esm/modules/cli/commands/billing-provider-module.js +110 -0
- package/esm/modules/cli/commands/blueprint-construction.js +0 -22
- package/esm/modules/cli/commands/catalog-module.js +44 -0
- package/esm/modules/cli/commands/construct-blueprint.js +1 -1
- package/esm/modules/cli/commands/provision-bucket.js +1 -1
- package/esm/modules/cli/commands/storage-module.js +22 -0
- package/esm/modules/cli/commands.js +1 -1
- package/esm/modules/orm/input-types.d.ts +72 -21
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/objects/cli/commands/provision-bucket.js +1 -1
- package/esm/objects/cli/commands.js +1 -1
- package/esm/objects/orm/input-types.d.ts +4 -4
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/remote/cli/commands/provision-bucket.js +1 -1
- package/esm/remote/cli/commands.js +1 -1
- package/esm/remote/orm/input-types.d.ts +4 -4
- package/esm/remote/orm/mutation/index.d.ts +5 -4
- package/esm/storage/cli/commands/bucket.js +23 -0
- package/esm/storage/cli/commands/platform-bucket.js +23 -0
- package/esm/storage/cli/commands/provision-bucket.js +1 -1
- package/esm/storage/cli/commands/upload-files.js +1 -1
- package/esm/storage/cli/commands/upload-platform-files.js +1 -1
- package/esm/storage/cli/commands.js +1 -1
- package/esm/storage/orm/input-types.d.ts +34 -6
- package/esm/storage/orm/mutation/index.d.ts +7 -6
- package/esm/usage/cli/commands/provision-bucket.js +1 -1
- package/esm/usage/cli/commands.js +1 -1
- package/esm/usage/orm/input-types.d.ts +4 -4
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/infra/cli/commands/provision-bucket.js +1 -1
- package/infra/cli/commands.js +1 -1
- package/infra/orm/input-types.d.ts +4 -4
- package/infra/orm/mutation/index.d.ts +5 -4
- package/modules/cli/commands/billing-provider-module.js +110 -0
- package/modules/cli/commands/blueprint-construction.js +0 -22
- package/modules/cli/commands/catalog-module.js +44 -0
- package/modules/cli/commands/construct-blueprint.js +1 -1
- package/modules/cli/commands/provision-bucket.js +1 -1
- package/modules/cli/commands/storage-module.js +22 -0
- package/modules/cli/commands.js +1 -1
- package/modules/orm/input-types.d.ts +72 -21
- package/modules/orm/mutation/index.d.ts +6 -5
- package/objects/cli/commands/provision-bucket.js +1 -1
- package/objects/cli/commands.js +1 -1
- package/objects/orm/input-types.d.ts +4 -4
- package/objects/orm/mutation/index.d.ts +5 -4
- package/package.json +4 -4
- package/remote/cli/commands/provision-bucket.js +1 -1
- package/remote/cli/commands.js +1 -1
- package/remote/orm/input-types.d.ts +4 -4
- package/remote/orm/mutation/index.d.ts +5 -4
- package/storage/cli/commands/bucket.js +23 -0
- package/storage/cli/commands/platform-bucket.js +23 -0
- package/storage/cli/commands/provision-bucket.js +1 -1
- package/storage/cli/commands/upload-files.js +1 -1
- package/storage/cli/commands/upload-platform-files.js +1 -1
- package/storage/cli/commands.js +1 -1
- package/storage/orm/input-types.d.ts +34 -6
- package/storage/orm/mutation/index.d.ts +7 -6
- package/usage/cli/commands/provision-bucket.js +1 -1
- package/usage/cli/commands.js +1 -1
- package/usage/orm/input-types.d.ts +4 -4
- package/usage/orm/mutation/index.d.ts +5 -4
- package/api/cli/commands/hostname-binding.js +0 -388
- package/api/cli/commands/route-binding.js +0 -476
- package/api/orm/models/hostnameBinding.d.ts +0 -54
- package/api/orm/models/hostnameBinding.js +0 -104
- package/api/orm/models/routeBinding.d.ts +0 -54
- package/api/orm/models/routeBinding.js +0 -104
- package/esm/api/cli/commands/hostname-binding.js +0 -386
- package/esm/api/cli/commands/route-binding.js +0 -474
- package/esm/api/orm/models/hostnameBinding.d.ts +0 -54
- package/esm/api/orm/models/hostnameBinding.js +0 -100
- package/esm/api/orm/models/routeBinding.d.ts +0 -54
- package/esm/api/orm/models/routeBinding.js +0 -100
|
@@ -32,7 +32,6 @@ export { ForeignKeyConstraintModel } from './foreignKeyConstraint';
|
|
|
32
32
|
export { FullTextSearchModel } from './fullTextSearch';
|
|
33
33
|
export { FunctionModel } from './function';
|
|
34
34
|
export { GetSitePreviewsRecordModel } from './getSitePreviewsRecord';
|
|
35
|
-
export { HostnameBindingModel } from './hostnameBinding';
|
|
36
35
|
export { IdentityProviderRegistryModel } from './identityProviderRegistry';
|
|
37
36
|
export { IndexModel } from './indexModel';
|
|
38
37
|
export { ListSuspendedDatabasesRecordModel } from './listSuspendedDatabasesRecord';
|
|
@@ -67,7 +66,6 @@ export { PrimaryKeyConstraintModel } from './primaryKeyConstraint';
|
|
|
67
66
|
export { PubkeySettingModel } from './pubkeySetting';
|
|
68
67
|
export { RedirectModel } from './redirect';
|
|
69
68
|
export { RlsSettingModel } from './rlsSetting';
|
|
70
|
-
export { RouteBindingModel } from './routeBinding';
|
|
71
69
|
export { RouteModel } from './route';
|
|
72
70
|
export { SchemaModel } from './schema';
|
|
73
71
|
export { SchemaGrantModel } from './schemaGrant';
|
package/api/orm/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlatformPageModel = exports.PlatformManagedDomainModel = exports.PlatformGetSitePreviewsRecordModel = exports.PlatformEmailSiteIdentityModel = exports.PlatformEmailProviderAccountModel = exports.PlatformEmailIdentityModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.PageModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.ListSuspendedDatabasesRecordModel = exports.IndexModel = exports.IdentityProviderRegistryModel = exports.
|
|
4
|
-
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteReleaseModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.
|
|
3
|
+
exports.PlatformSiteAppLinkModel = exports.PlatformPageModel = exports.PlatformManagedDomainModel = exports.PlatformGetSitePreviewsRecordModel = exports.PlatformEmailSiteIdentityModel = exports.PlatformEmailProviderAccountModel = exports.PlatformEmailIdentityModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PlatformApiModel = exports.PartitionModel = exports.PageModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.ListSuspendedDatabasesRecordModel = exports.IndexModel = exports.IdentityProviderRegistryModel = exports.GetSitePreviewsRecordModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.ForeignKeyConstraintBehaviorModel = exports.FieldModel = exports.FieldBehaviorModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.EmailSiteIdentityModel = exports.EmailProviderAccountModel = exports.EmailIdentityModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DeriveModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApiSettingModel = exports.ApiSchemaModel = exports.ApiModel = void 0;
|
|
4
|
+
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteReleaseModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RlsSettingModel = exports.RedirectModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = exports.PolicyModel = exports.PlatformSiteWebConfigModel = exports.PlatformSiteThemeModel = exports.PlatformSiteReleaseModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteErrorPageModel = exports.PlatformSiteDeepLinkModel = exports.PlatformSiteModel = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Models barrel export
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -65,8 +65,6 @@ var function_1 = require("./function");
|
|
|
65
65
|
Object.defineProperty(exports, "FunctionModel", { enumerable: true, get: function () { return function_1.FunctionModel; } });
|
|
66
66
|
var getSitePreviewsRecord_1 = require("./getSitePreviewsRecord");
|
|
67
67
|
Object.defineProperty(exports, "GetSitePreviewsRecordModel", { enumerable: true, get: function () { return getSitePreviewsRecord_1.GetSitePreviewsRecordModel; } });
|
|
68
|
-
var hostnameBinding_1 = require("./hostnameBinding");
|
|
69
|
-
Object.defineProperty(exports, "HostnameBindingModel", { enumerable: true, get: function () { return hostnameBinding_1.HostnameBindingModel; } });
|
|
70
68
|
var identityProviderRegistry_1 = require("./identityProviderRegistry");
|
|
71
69
|
Object.defineProperty(exports, "IdentityProviderRegistryModel", { enumerable: true, get: function () { return identityProviderRegistry_1.IdentityProviderRegistryModel; } });
|
|
72
70
|
var indexModel_1 = require("./indexModel");
|
|
@@ -135,8 +133,6 @@ var redirect_1 = require("./redirect");
|
|
|
135
133
|
Object.defineProperty(exports, "RedirectModel", { enumerable: true, get: function () { return redirect_1.RedirectModel; } });
|
|
136
134
|
var rlsSetting_1 = require("./rlsSetting");
|
|
137
135
|
Object.defineProperty(exports, "RlsSettingModel", { enumerable: true, get: function () { return rlsSetting_1.RlsSettingModel; } });
|
|
138
|
-
var routeBinding_1 = require("./routeBinding");
|
|
139
|
-
Object.defineProperty(exports, "RouteBindingModel", { enumerable: true, get: function () { return routeBinding_1.RouteBindingModel; } });
|
|
140
136
|
var route_1 = require("./route");
|
|
141
137
|
Object.defineProperty(exports, "RouteModel", { enumerable: true, get: function () { return route_1.RouteModel; } });
|
|
142
138
|
var schema_1 = require("./schema");
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AcceptDatabaseTransferInput, ApplyRlsInput, CancelDatabaseTransferInput, DeleteSitePreviewInput, DomainsAssignSubdomainInput, MintSitePreviewTokenInput, PagesInstallPagesInput, PlatformDeleteSitePreviewInput, PlatformDomainsAssignSubdomainInput, PlatformMintSitePreviewTokenInput, PlatformPagesInstallPagesInput, PlatformProvisionSitePreviewInput, PlatformSetSitePreviewInput, PlatformSiteMetadataInstallRobotsInput, PlatformSitesInstallContentPresetInput, PlatformSitesInstallMantraInput, PlatformSitesProvisionStaticSiteInput, ProvisionBucketInput, ProvisionSitePreviewInput, RejectDatabaseTransferInput, RequestDatabaseInput, SetFieldOrderInput, SetSitePreviewInput, SiteMetadataInstallRobotsInput, SitesInstallContentPresetInput, SitesInstallMantraInput, SitesProvisionStaticSiteInput, SuspendDatabaseInput, UnsuspendDatabaseInput, AcceptDatabaseTransferPayload, ApplyRlsPayload, CancelDatabaseTransferPayload, DeleteSitePreviewPayload, DomainsAssignSubdomainPayload, MintSitePreviewTokenPayload, PagesInstallPagesPayload, PlatformDeleteSitePreviewPayload, PlatformDomainsAssignSubdomainPayload, PlatformMintSitePreviewTokenPayload, PlatformPagesInstallPagesPayload, PlatformProvisionSitePreviewPayload, PlatformSetSitePreviewPayload, PlatformSiteMetadataInstallRobotsPayload, PlatformSitesInstallContentPresetPayload, PlatformSitesInstallMantraPayload, PlatformSitesProvisionStaticSitePayload, ProvisionBucketPayload, ProvisionSitePreviewPayload, RejectDatabaseTransferPayload, RequestDatabasePayload, SetFieldOrderPayload, SetSitePreviewPayload, SiteMetadataInstallRobotsPayload, SitesInstallContentPresetPayload, SitesInstallMantraPayload, SitesProvisionStaticSitePayload, SuspendDatabasePayload, UnsuspendDatabasePayload, AcceptDatabaseTransferPayloadSelect, ApplyRlsPayloadSelect, CancelDatabaseTransferPayloadSelect, DeleteSitePreviewPayloadSelect, DomainsAssignSubdomainPayloadSelect, MintSitePreviewTokenPayloadSelect, PagesInstallPagesPayloadSelect, PlatformDeleteSitePreviewPayloadSelect, PlatformDomainsAssignSubdomainPayloadSelect, PlatformMintSitePreviewTokenPayloadSelect, PlatformPagesInstallPagesPayloadSelect, PlatformProvisionSitePreviewPayloadSelect, PlatformSetSitePreviewPayloadSelect, PlatformSiteMetadataInstallRobotsPayloadSelect, PlatformSitesInstallContentPresetPayloadSelect, PlatformSitesInstallMantraPayloadSelect, PlatformSitesProvisionStaticSitePayloadSelect, ProvisionBucketPayloadSelect, ProvisionSitePreviewPayloadSelect, RejectDatabaseTransferPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect, SetSitePreviewPayloadSelect, SiteMetadataInstallRobotsPayloadSelect, SitesInstallContentPresetPayloadSelect, SitesInstallMantraPayloadSelect, SitesProvisionStaticSitePayloadSelect, SuspendDatabasePayloadSelect, UnsuspendDatabasePayloadSelect } from '../input-types';
|
|
9
|
+
import type { AcceptDatabaseTransferInput, ApplyRlsInput, CancelDatabaseTransferInput, CreateFunctionFromSourceInput, DeleteSitePreviewInput, DomainsAssignSubdomainInput, MintSitePreviewTokenInput, PagesInstallPagesInput, PlatformDeleteSitePreviewInput, PlatformDomainsAssignSubdomainInput, PlatformMintSitePreviewTokenInput, PlatformPagesInstallPagesInput, PlatformProvisionSitePreviewInput, PlatformSetSitePreviewInput, PlatformSiteMetadataInstallRobotsInput, PlatformSitesInstallContentPresetInput, PlatformSitesInstallMantraInput, PlatformSitesProvisionStaticSiteInput, ProvisionBucketInput, ProvisionSitePreviewInput, RejectDatabaseTransferInput, RequestDatabaseInput, SetFieldOrderInput, SetSitePreviewInput, SiteMetadataInstallRobotsInput, SitesInstallContentPresetInput, SitesInstallMantraInput, SitesProvisionStaticSiteInput, SuspendDatabaseInput, UnsuspendDatabaseInput, UpdateFunctionFromSourceInput, AcceptDatabaseTransferPayload, ApplyRlsPayload, CancelDatabaseTransferPayload, CreateFunctionPayload, DeleteSitePreviewPayload, DomainsAssignSubdomainPayload, MintSitePreviewTokenPayload, PagesInstallPagesPayload, PlatformDeleteSitePreviewPayload, PlatformDomainsAssignSubdomainPayload, PlatformMintSitePreviewTokenPayload, PlatformPagesInstallPagesPayload, PlatformProvisionSitePreviewPayload, PlatformSetSitePreviewPayload, PlatformSiteMetadataInstallRobotsPayload, PlatformSitesInstallContentPresetPayload, PlatformSitesInstallMantraPayload, PlatformSitesProvisionStaticSitePayload, ProvisionBucketPayload, ProvisionSitePreviewPayload, RejectDatabaseTransferPayload, RequestDatabasePayload, SetFieldOrderPayload, SetSitePreviewPayload, SiteMetadataInstallRobotsPayload, SitesInstallContentPresetPayload, SitesInstallMantraPayload, SitesProvisionStaticSitePayload, SuspendDatabasePayload, UnsuspendDatabasePayload, UpdateFunctionPayload, AcceptDatabaseTransferPayloadSelect, ApplyRlsPayloadSelect, CancelDatabaseTransferPayloadSelect, CreateFunctionPayloadSelect, DeleteSitePreviewPayloadSelect, DomainsAssignSubdomainPayloadSelect, MintSitePreviewTokenPayloadSelect, PagesInstallPagesPayloadSelect, PlatformDeleteSitePreviewPayloadSelect, PlatformDomainsAssignSubdomainPayloadSelect, PlatformMintSitePreviewTokenPayloadSelect, PlatformPagesInstallPagesPayloadSelect, PlatformProvisionSitePreviewPayloadSelect, PlatformSetSitePreviewPayloadSelect, PlatformSiteMetadataInstallRobotsPayloadSelect, PlatformSitesInstallContentPresetPayloadSelect, PlatformSitesInstallMantraPayloadSelect, PlatformSitesProvisionStaticSitePayloadSelect, ProvisionBucketPayloadSelect, ProvisionSitePreviewPayloadSelect, RejectDatabaseTransferPayloadSelect, RequestDatabasePayloadSelect, SetFieldOrderPayloadSelect, SetSitePreviewPayloadSelect, SiteMetadataInstallRobotsPayloadSelect, SitesInstallContentPresetPayloadSelect, SitesInstallMantraPayloadSelect, SitesProvisionStaticSitePayloadSelect, SuspendDatabasePayloadSelect, UnsuspendDatabasePayloadSelect, UpdateFunctionPayloadSelect } from '../input-types';
|
|
10
10
|
export interface AcceptDatabaseTransferVariables {
|
|
11
11
|
input: AcceptDatabaseTransferInput;
|
|
12
12
|
}
|
|
@@ -16,6 +16,13 @@ export interface ApplyRlsVariables {
|
|
|
16
16
|
export interface CancelDatabaseTransferVariables {
|
|
17
17
|
input: CancelDatabaseTransferInput;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Variables for createFunctionFromSource
|
|
21
|
+
* Creates a `Function` from its `CREATE FUNCTION` source text.
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateFunctionFromSourceVariables {
|
|
24
|
+
input: CreateFunctionFromSourceInput;
|
|
25
|
+
}
|
|
19
26
|
export interface DeleteSitePreviewVariables {
|
|
20
27
|
input: DeleteSitePreviewInput;
|
|
21
28
|
}
|
|
@@ -61,10 +68,11 @@ export interface PlatformSitesProvisionStaticSiteVariables {
|
|
|
61
68
|
/**
|
|
62
69
|
* Variables for provisionBucket
|
|
63
70
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
64
|
-
|
|
65
|
-
storage:provision_bucket job used
|
|
66
|
-
|
|
67
|
-
GraphQL
|
|
71
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
72
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
73
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
74
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
75
|
+
errors.
|
|
68
76
|
*/
|
|
69
77
|
export interface ProvisionBucketVariables {
|
|
70
78
|
input: ProvisionBucketInput;
|
|
@@ -113,6 +121,13 @@ export interface SuspendDatabaseVariables {
|
|
|
113
121
|
export interface UnsuspendDatabaseVariables {
|
|
114
122
|
input: UnsuspendDatabaseInput;
|
|
115
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Variables for updateFunctionFromSource
|
|
126
|
+
* Replaces a `Function`'s definition from its source text; its database, schema and exposure are unchanged.
|
|
127
|
+
*/
|
|
128
|
+
export interface UpdateFunctionFromSourceVariables {
|
|
129
|
+
input: UpdateFunctionFromSourceInput;
|
|
130
|
+
}
|
|
116
131
|
export declare function createMutationOperations(client: OrmClient): {
|
|
117
132
|
acceptDatabaseTransfer: <S extends AcceptDatabaseTransferPayloadSelect>(args: AcceptDatabaseTransferVariables, options: {
|
|
118
133
|
select: S;
|
|
@@ -129,6 +144,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
129
144
|
} & StrictSelect<S, CancelDatabaseTransferPayloadSelect>) => QueryBuilder<{
|
|
130
145
|
cancelDatabaseTransfer: InferSelectResult<CancelDatabaseTransferPayload, S> | null;
|
|
131
146
|
}>;
|
|
147
|
+
createFunctionFromSource: <S extends CreateFunctionPayloadSelect>(args: CreateFunctionFromSourceVariables, options: {
|
|
148
|
+
select: S;
|
|
149
|
+
} & StrictSelect<S, CreateFunctionPayloadSelect>) => QueryBuilder<{
|
|
150
|
+
createFunctionFromSource: InferSelectResult<CreateFunctionPayload, S> | null;
|
|
151
|
+
}>;
|
|
132
152
|
deleteSitePreview: <S extends DeleteSitePreviewPayloadSelect>(args: DeleteSitePreviewVariables, options: {
|
|
133
153
|
select: S;
|
|
134
154
|
} & StrictSelect<S, DeleteSitePreviewPayloadSelect>) => QueryBuilder<{
|
|
@@ -259,4 +279,9 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
259
279
|
} & StrictSelect<S, UnsuspendDatabasePayloadSelect>) => QueryBuilder<{
|
|
260
280
|
unsuspendDatabase: InferSelectResult<UnsuspendDatabasePayload, S> | null;
|
|
261
281
|
}>;
|
|
282
|
+
updateFunctionFromSource: <S extends UpdateFunctionPayloadSelect>(args: UpdateFunctionFromSourceVariables, options: {
|
|
283
|
+
select: S;
|
|
284
|
+
} & StrictSelect<S, UpdateFunctionPayloadSelect>) => QueryBuilder<{
|
|
285
|
+
updateFunctionFromSource: InferSelectResult<UpdateFunctionPayload, S> | null;
|
|
286
|
+
}>;
|
|
262
287
|
};
|
|
@@ -41,6 +41,18 @@ function createMutationOperations(client) {
|
|
|
41
41
|
},
|
|
42
42
|
], input_types_1.connectionFieldsMap, 'CancelDatabaseTransferPayload'),
|
|
43
43
|
}),
|
|
44
|
+
createFunctionFromSource: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
|
+
client,
|
|
46
|
+
operation: 'mutation',
|
|
47
|
+
operationName: 'CreateFunctionFromSource',
|
|
48
|
+
fieldName: 'createFunctionFromSource',
|
|
49
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CreateFunctionFromSource', 'createFunctionFromSource', options.select, args, [
|
|
50
|
+
{
|
|
51
|
+
name: 'input',
|
|
52
|
+
type: 'CreateFunctionFromSourceInput!',
|
|
53
|
+
},
|
|
54
|
+
], input_types_1.connectionFieldsMap, 'CreateFunctionPayload'),
|
|
55
|
+
}),
|
|
44
56
|
deleteSitePreview: (args, options) => new query_builder_1.QueryBuilder({
|
|
45
57
|
client,
|
|
46
58
|
operation: 'mutation',
|
|
@@ -353,5 +365,17 @@ function createMutationOperations(client) {
|
|
|
353
365
|
},
|
|
354
366
|
], input_types_1.connectionFieldsMap, 'UnsuspendDatabasePayload'),
|
|
355
367
|
}),
|
|
368
|
+
updateFunctionFromSource: (args, options) => new query_builder_1.QueryBuilder({
|
|
369
|
+
client,
|
|
370
|
+
operation: 'mutation',
|
|
371
|
+
operationName: 'UpdateFunctionFromSource',
|
|
372
|
+
fieldName: 'updateFunctionFromSource',
|
|
373
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'UpdateFunctionFromSource', 'updateFunctionFromSource', options.select, args, [
|
|
374
|
+
{
|
|
375
|
+
name: 'input',
|
|
376
|
+
type: 'UpdateFunctionFromSourceInput!',
|
|
377
|
+
},
|
|
378
|
+
], input_types_1.connectionFieldsMap, 'UpdateFunctionPayload'),
|
|
379
|
+
}),
|
|
356
380
|
};
|
|
357
381
|
}
|
package/api/orm/query/index.d.ts
CHANGED
|
@@ -83,6 +83,11 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
83
83
|
}) => QueryBuilder<{
|
|
84
84
|
applyRegistryDefaults: unknown | null;
|
|
85
85
|
}>;
|
|
86
|
+
emailSharedAccount: (options?: {
|
|
87
|
+
select?: Record<string, unknown>;
|
|
88
|
+
}) => QueryBuilder<{
|
|
89
|
+
emailSharedAccount: unknown | null;
|
|
90
|
+
}>;
|
|
86
91
|
getSitePreviewCommit: (args: GetSitePreviewCommitVariables, options?: {
|
|
87
92
|
select?: Record<string, unknown>;
|
|
88
93
|
}) => QueryBuilder<{
|
package/api/orm/query/index.js
CHANGED
|
@@ -33,6 +33,13 @@ function createQueryOperations(client) {
|
|
|
33
33
|
},
|
|
34
34
|
], input_types_1.connectionFieldsMap, undefined),
|
|
35
35
|
}),
|
|
36
|
+
emailSharedAccount: (options) => new query_builder_1.QueryBuilder({
|
|
37
|
+
client,
|
|
38
|
+
operation: 'query',
|
|
39
|
+
operationName: 'EmailSharedAccount',
|
|
40
|
+
fieldName: 'emailSharedAccount',
|
|
41
|
+
...(0, query_builder_1.buildCustomDocument)('query', 'EmailSharedAccount', 'emailSharedAccount', options?.select, undefined, [], input_types_1.connectionFieldsMap, undefined),
|
|
42
|
+
}),
|
|
36
43
|
getSitePreviewCommit: (args, options) => new query_builder_1.QueryBuilder({
|
|
37
44
|
client,
|
|
38
45
|
operation: 'query',
|
|
@@ -5,7 +5,7 @@ const utils_1 = require("../utils");
|
|
|
5
5
|
exports.default = async (argv, prompter, _options) => {
|
|
6
6
|
try {
|
|
7
7
|
if (argv.help || argv.h) {
|
|
8
|
-
console.log(
|
|
8
|
+
console.log("provision-bucket - Reconcile an S3 bucket for a logical bucket in the database.\nRecords the request on the bucket row via RLS; the bucket's job\ntrigger then enqueues the same storage:provision_bucket job used on\nINSERT, and repeated requests collapse into one pending job. This is\nidempotent for an already-reconciled bucket; failures become GraphQL\nerrors.\n\nUsage: provision-bucket [OPTIONS]\n");
|
|
9
9
|
process.exit(0);
|
|
10
10
|
}
|
|
11
11
|
const answers = await prompter.prompt(argv, [
|
package/auth/cli/commands.js
CHANGED
|
@@ -168,7 +168,7 @@ const createCommandMap = () => ({
|
|
|
168
168
|
'verify-step-up-code': verify_step_up_code_1.default,
|
|
169
169
|
'verify-totp': verify_totp_1.default,
|
|
170
170
|
});
|
|
171
|
-
const usage =
|
|
171
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n audit-log-auth auditLogAuth CRUD operations\n crypto-address cryptoAddress CRUD operations\n email email CRUD operations\n identity-provider identityProvider CRUD operations\n org-api-key-list orgApiKeyList CRUD operations\n phone-number phoneNumber CRUD operations\n principal principal CRUD operations\n principal-entity principalEntity CRUD operations\n principal-scope-override principalScopeOverride CRUD operations\n role-type roleType CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n user user CRUD operations\n user-setting userSetting CRUD operations\n user-settings-security userSettingsSecurity CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n current-ip-address currentIpAddress\n current-user currentUser\n current-user-agent currentUserAgent\n current-user-id currentUserId\n get-mfa-status getMfaStatus\n require-step-up requireStepUp\n approve-device approveDevice\n check-password checkPassword\n complete-mfa-challenge completeMfaChallenge\n confirm-delete-account confirmDeleteAccount\n confirm-totp-setup confirmTotpSetup\n create-api-key createApiKey\n create-child-principal createChildPrincipal\n create-org-api-key createOrgApiKey\n create-org-principal createOrgPrincipal\n create-principal-from-preset createPrincipalFromPreset\n delete-org-principal deleteOrgPrincipal\n delete-principal deletePrincipal\n disable-email-mfa disableEmailMfa\n disable-sms-mfa disableSmsMfa\n disable-totp disableTotp\n disconnect-account disconnectAccount\n enable-email-mfa enableEmailMfa\n enable-sms-mfa enableSmsMfa\n enable-totp enableTotp\n extend-token-expires extendTokenExpires\n forgot-password forgotPassword\n generate-backup-codes generateBackupCodes\n link-identity linkIdentity\n mint-access-token mintAccessToken\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nRecords the request on the bucket row via RLS; the bucket's job\ntrigger then enqueues the same storage:provision_bucket job used on\nINSERT, and repeated requests collapse into one pending job. This is\nidempotent for an already-reconciled bucket; failures become GraphQL\nerrors.\n refresh-access-token refreshAccessToken\n request-cross-origin-token requestCrossOriginToken\n request-magic-link requestMagicLink\n reset-password resetPassword\n revoke-api-key revokeApiKey\n revoke-org-api-key revokeOrgApiKey\n revoke-session revokeSession\n send-account-deletion-email sendAccountDeletionEmail\n send-mfa-challenge-code sendMfaChallengeCode\n send-phone-verification-code sendPhoneVerificationCode\n send-sms-otp sendSmsOtp\n send-step-up-code sendStepUpCode\n send-verification-email sendVerificationEmail\n set-password setPassword\n set-principal-entities setPrincipalEntities\n set-principal-scope setPrincipalScope\n sign-in signIn\n sign-in-cross-origin signInCrossOrigin\n sign-in-magic-link signInMagicLink\n sign-in-sms-otp signInSmsOtp\n sign-out signOut\n sign-up signUp\n sign-up-magic-link signUpMagicLink\n sign-up-sms signUpSms\n update-principal updatePrincipal\n verify-email verifyEmail\n verify-password verifyPassword\n verify-phone verifyPhone\n verify-step-up-code verifyStepUpCode\n verify-totp verifyTotp\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
172
172
|
const commands = async (argv, prompter, options) => {
|
|
173
173
|
if (argv.help || argv.h) {
|
|
174
174
|
console.log(usage);
|
|
@@ -1847,6 +1847,7 @@ export interface RequestCrossOriginTokenInput {
|
|
|
1847
1847
|
export interface RequestMagicLinkInput {
|
|
1848
1848
|
clientMutationId?: string;
|
|
1849
1849
|
email?: string;
|
|
1850
|
+
next?: string;
|
|
1850
1851
|
}
|
|
1851
1852
|
export interface ResetPasswordInput {
|
|
1852
1853
|
clientMutationId?: string;
|
|
@@ -1945,13 +1946,10 @@ export interface SignOutInput {
|
|
|
1945
1946
|
}
|
|
1946
1947
|
export interface SignUpInput {
|
|
1947
1948
|
clientMutationId?: string;
|
|
1948
|
-
credentialKind?: string;
|
|
1949
1949
|
csrfToken?: string;
|
|
1950
|
-
deviceToken?: string;
|
|
1951
1950
|
email?: string;
|
|
1952
1951
|
inviteToken?: string;
|
|
1953
1952
|
password?: string;
|
|
1954
|
-
rememberMe?: boolean;
|
|
1955
1953
|
}
|
|
1956
1954
|
export interface SignUpMagicLinkInput {
|
|
1957
1955
|
clientMutationId?: string;
|
|
@@ -3525,19 +3523,19 @@ export type MintAccessTokenPayloadSelect = {
|
|
|
3525
3523
|
};
|
|
3526
3524
|
};
|
|
3527
3525
|
export interface ProvisionBucketPayload {
|
|
3528
|
-
/** The logical bucket row
|
|
3526
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
3529
3527
|
bucketId: string;
|
|
3530
3528
|
bucketKey: string;
|
|
3531
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
3532
|
-
jobId: string;
|
|
3533
3529
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
3534
3530
|
physicalName?: string | null;
|
|
3531
|
+
/** When reconciliation was last requested for this bucket. */
|
|
3532
|
+
provisionRequestedAt: string;
|
|
3535
3533
|
}
|
|
3536
3534
|
export type ProvisionBucketPayloadSelect = {
|
|
3537
3535
|
bucketId?: boolean;
|
|
3538
3536
|
bucketKey?: boolean;
|
|
3539
|
-
jobId?: boolean;
|
|
3540
3537
|
physicalName?: boolean;
|
|
3538
|
+
provisionRequestedAt?: boolean;
|
|
3541
3539
|
};
|
|
3542
3540
|
export interface RefreshAccessTokenPayload {
|
|
3543
3541
|
clientMutationId?: string | null;
|
|
@@ -3715,13 +3713,9 @@ export type SignOutPayloadSelect = {
|
|
|
3715
3713
|
};
|
|
3716
3714
|
export interface SignUpPayload {
|
|
3717
3715
|
clientMutationId?: string | null;
|
|
3718
|
-
result?: SignUpRecord | null;
|
|
3719
3716
|
}
|
|
3720
3717
|
export type SignUpPayloadSelect = {
|
|
3721
3718
|
clientMutationId?: boolean;
|
|
3722
|
-
result?: {
|
|
3723
|
-
select: SignUpRecordSelect;
|
|
3724
|
-
};
|
|
3725
3719
|
};
|
|
3726
3720
|
export interface SignUpMagicLinkPayload {
|
|
3727
3721
|
clientMutationId?: string | null;
|
|
@@ -4362,24 +4356,6 @@ export type SignInSmsOtpRecordSelect = {
|
|
|
4362
4356
|
outDeviceToken?: boolean;
|
|
4363
4357
|
userId?: boolean;
|
|
4364
4358
|
};
|
|
4365
|
-
export interface SignUpRecord {
|
|
4366
|
-
accessToken?: string | null;
|
|
4367
|
-
accessTokenExpiresAt?: string | null;
|
|
4368
|
-
id?: string | null;
|
|
4369
|
-
isVerified?: boolean | null;
|
|
4370
|
-
outDeviceToken?: string | null;
|
|
4371
|
-
totpEnabled?: boolean | null;
|
|
4372
|
-
userId?: string | null;
|
|
4373
|
-
}
|
|
4374
|
-
export type SignUpRecordSelect = {
|
|
4375
|
-
accessToken?: boolean;
|
|
4376
|
-
accessTokenExpiresAt?: boolean;
|
|
4377
|
-
id?: boolean;
|
|
4378
|
-
isVerified?: boolean;
|
|
4379
|
-
outDeviceToken?: boolean;
|
|
4380
|
-
totpEnabled?: boolean;
|
|
4381
|
-
userId?: boolean;
|
|
4382
|
-
};
|
|
4383
4359
|
export interface SignUpMagicLinkRecord {
|
|
4384
4360
|
accessToken?: string | null;
|
|
4385
4361
|
accessTokenExpiresAt?: string | null;
|
|
@@ -82,10 +82,11 @@ export interface MintAccessTokenVariables {
|
|
|
82
82
|
/**
|
|
83
83
|
* Variables for provisionBucket
|
|
84
84
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
85
|
-
|
|
86
|
-
storage:provision_bucket job used
|
|
87
|
-
|
|
88
|
-
GraphQL
|
|
85
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
86
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
87
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
88
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
89
|
+
errors.
|
|
89
90
|
*/
|
|
90
91
|
export interface ProvisionBucketVariables {
|
|
91
92
|
input: ProvisionBucketInput;
|
|
@@ -25,11 +25,13 @@ const fieldSchema = {
|
|
|
25
25
|
graphExecutionId: 'uuid',
|
|
26
26
|
id: 'uuid',
|
|
27
27
|
jobId: 'int',
|
|
28
|
+
jobKey: 'string',
|
|
28
29
|
organizationId: 'uuid',
|
|
29
30
|
parentInvocationId: 'uuid',
|
|
30
31
|
payload: 'json',
|
|
31
32
|
principalId: 'uuid',
|
|
32
33
|
provenance: 'json',
|
|
34
|
+
queueName: 'string',
|
|
33
35
|
result: 'json',
|
|
34
36
|
startedAt: 'string',
|
|
35
37
|
status: 'string',
|
|
@@ -93,11 +95,13 @@ async function handleList(argv, _prompter) {
|
|
|
93
95
|
graphExecutionId: true,
|
|
94
96
|
id: true,
|
|
95
97
|
jobId: true,
|
|
98
|
+
jobKey: true,
|
|
96
99
|
organizationId: true,
|
|
97
100
|
parentInvocationId: true,
|
|
98
101
|
payload: true,
|
|
99
102
|
principalId: true,
|
|
100
103
|
provenance: true,
|
|
104
|
+
queueName: true,
|
|
101
105
|
result: true,
|
|
102
106
|
startedAt: true,
|
|
103
107
|
status: true,
|
|
@@ -135,11 +139,13 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
135
139
|
graphExecutionId: true,
|
|
136
140
|
id: true,
|
|
137
141
|
jobId: true,
|
|
142
|
+
jobKey: true,
|
|
138
143
|
organizationId: true,
|
|
139
144
|
parentInvocationId: true,
|
|
140
145
|
payload: true,
|
|
141
146
|
principalId: true,
|
|
142
147
|
provenance: true,
|
|
148
|
+
queueName: true,
|
|
143
149
|
result: true,
|
|
144
150
|
startedAt: true,
|
|
145
151
|
status: true,
|
|
@@ -189,11 +195,13 @@ async function handleGet(argv, prompter) {
|
|
|
189
195
|
graphExecutionId: true,
|
|
190
196
|
id: true,
|
|
191
197
|
jobId: true,
|
|
198
|
+
jobKey: true,
|
|
192
199
|
organizationId: true,
|
|
193
200
|
parentInvocationId: true,
|
|
194
201
|
payload: true,
|
|
195
202
|
principalId: true,
|
|
196
203
|
provenance: true,
|
|
204
|
+
queueName: true,
|
|
197
205
|
result: true,
|
|
198
206
|
startedAt: true,
|
|
199
207
|
status: true,
|
|
@@ -310,6 +318,13 @@ async function handleCreate(argv, prompter) {
|
|
|
310
318
|
required: false,
|
|
311
319
|
skipPrompt: true,
|
|
312
320
|
},
|
|
321
|
+
{
|
|
322
|
+
type: 'text',
|
|
323
|
+
name: 'jobKey',
|
|
324
|
+
message: 'jobKey',
|
|
325
|
+
required: false,
|
|
326
|
+
skipPrompt: true,
|
|
327
|
+
},
|
|
313
328
|
{
|
|
314
329
|
type: 'text',
|
|
315
330
|
name: 'organizationId',
|
|
@@ -345,6 +360,13 @@ async function handleCreate(argv, prompter) {
|
|
|
345
360
|
required: false,
|
|
346
361
|
skipPrompt: true,
|
|
347
362
|
},
|
|
363
|
+
{
|
|
364
|
+
type: 'text',
|
|
365
|
+
name: 'queueName',
|
|
366
|
+
message: 'queueName',
|
|
367
|
+
required: false,
|
|
368
|
+
skipPrompt: true,
|
|
369
|
+
},
|
|
348
370
|
{
|
|
349
371
|
type: 'json',
|
|
350
372
|
name: 'result',
|
|
@@ -393,11 +415,13 @@ async function handleCreate(argv, prompter) {
|
|
|
393
415
|
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
394
416
|
graphExecutionId: cleanedData.graphExecutionId,
|
|
395
417
|
jobId: cleanedData.jobId,
|
|
418
|
+
jobKey: cleanedData.jobKey,
|
|
396
419
|
organizationId: cleanedData.organizationId,
|
|
397
420
|
parentInvocationId: cleanedData.parentInvocationId,
|
|
398
421
|
payload: cleanedData.payload,
|
|
399
422
|
principalId: cleanedData.principalId,
|
|
400
423
|
provenance: cleanedData.provenance,
|
|
424
|
+
queueName: cleanedData.queueName,
|
|
401
425
|
result: cleanedData.result,
|
|
402
426
|
startedAt: cleanedData.startedAt,
|
|
403
427
|
status: cleanedData.status,
|
|
@@ -420,11 +444,13 @@ async function handleCreate(argv, prompter) {
|
|
|
420
444
|
graphExecutionId: true,
|
|
421
445
|
id: true,
|
|
422
446
|
jobId: true,
|
|
447
|
+
jobKey: true,
|
|
423
448
|
organizationId: true,
|
|
424
449
|
parentInvocationId: true,
|
|
425
450
|
payload: true,
|
|
426
451
|
principalId: true,
|
|
427
452
|
provenance: true,
|
|
453
|
+
queueName: true,
|
|
428
454
|
result: true,
|
|
429
455
|
startedAt: true,
|
|
430
456
|
status: true,
|
|
@@ -553,6 +579,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
553
579
|
required: false,
|
|
554
580
|
skipPrompt: true,
|
|
555
581
|
},
|
|
582
|
+
{
|
|
583
|
+
type: 'text',
|
|
584
|
+
name: 'jobKey',
|
|
585
|
+
message: 'jobKey',
|
|
586
|
+
required: false,
|
|
587
|
+
skipPrompt: true,
|
|
588
|
+
},
|
|
556
589
|
{
|
|
557
590
|
type: 'text',
|
|
558
591
|
name: 'organizationId',
|
|
@@ -588,6 +621,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
588
621
|
required: false,
|
|
589
622
|
skipPrompt: true,
|
|
590
623
|
},
|
|
624
|
+
{
|
|
625
|
+
type: 'text',
|
|
626
|
+
name: 'queueName',
|
|
627
|
+
message: 'queueName',
|
|
628
|
+
required: false,
|
|
629
|
+
skipPrompt: true,
|
|
630
|
+
},
|
|
591
631
|
{
|
|
592
632
|
type: 'json',
|
|
593
633
|
name: 'result',
|
|
@@ -640,11 +680,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
640
680
|
functionDefinitionId: cleanedData.functionDefinitionId,
|
|
641
681
|
graphExecutionId: cleanedData.graphExecutionId,
|
|
642
682
|
jobId: cleanedData.jobId,
|
|
683
|
+
jobKey: cleanedData.jobKey,
|
|
643
684
|
organizationId: cleanedData.organizationId,
|
|
644
685
|
parentInvocationId: cleanedData.parentInvocationId,
|
|
645
686
|
payload: cleanedData.payload,
|
|
646
687
|
principalId: cleanedData.principalId,
|
|
647
688
|
provenance: cleanedData.provenance,
|
|
689
|
+
queueName: cleanedData.queueName,
|
|
648
690
|
result: cleanedData.result,
|
|
649
691
|
startedAt: cleanedData.startedAt,
|
|
650
692
|
status: cleanedData.status,
|
|
@@ -667,11 +709,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
667
709
|
graphExecutionId: true,
|
|
668
710
|
id: true,
|
|
669
711
|
jobId: true,
|
|
712
|
+
jobKey: true,
|
|
670
713
|
organizationId: true,
|
|
671
714
|
parentInvocationId: true,
|
|
672
715
|
payload: true,
|
|
673
716
|
principalId: true,
|
|
674
717
|
provenance: true,
|
|
718
|
+
queueName: true,
|
|
675
719
|
result: true,
|
|
676
720
|
startedAt: true,
|
|
677
721
|
status: true,
|