@constructive-sdk/cli 1.20.2 → 1.20.4
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 +2 -0
- package/admin/cli/commands/accept-app-invite.d.ts +8 -0
- package/admin/cli/commands/accept-app-invite.js +36 -0
- package/admin/cli/commands/accept-org-invite.d.ts +8 -0
- package/admin/cli/commands/accept-org-invite.js +36 -0
- package/admin/cli/commands/app-capability-default-capability.d.ts +8 -0
- package/admin/cli/commands/app-capability-default-capability.js +242 -0
- package/admin/cli/commands/app-capability-default-grant.d.ts +8 -0
- package/admin/cli/commands/app-capability-default-grant.js +286 -0
- package/admin/cli/commands/app-grant.js +22 -22
- package/admin/cli/commands/app-membership-default.js +44 -0
- package/admin/cli/commands/app-membership.js +64 -20
- package/admin/cli/commands/get-organization-id.d.ts +8 -0
- package/admin/cli/commands/get-organization-id.js +35 -0
- package/admin/cli/commands/my-pending-app-invites-record.d.ts +8 -0
- package/admin/cli/commands/my-pending-app-invites-record.js +145 -0
- package/admin/cli/commands/my-pending-org-invites-record.d.ts +8 -0
- package/admin/cli/commands/my-pending-org-invites-record.js +156 -0
- package/admin/cli/commands/org-capability-default-capability.d.ts +8 -0
- package/admin/cli/commands/org-capability-default-capability.js +262 -0
- package/admin/cli/commands/org-capability-default-grant.d.ts +8 -0
- package/admin/cli/commands/org-capability-default-grant.js +306 -0
- package/admin/cli/commands/org-grant.js +22 -22
- package/admin/cli/commands/org-membership-default.js +44 -0
- package/admin/cli/commands/org-membership-setting.js +88 -0
- package/admin/cli/commands/org-membership.js +64 -20
- package/admin/cli/commands/provision-app-user.d.ts +8 -0
- package/admin/cli/commands/provision-app-user.js +36 -0
- package/admin/cli/commands/provision-app-users-bulk.d.ts +8 -0
- package/admin/cli/commands/provision-app-users-bulk.js +36 -0
- package/admin/cli/commands/provision-bucket.js +1 -1
- package/admin/cli/commands/provision-org-user.d.ts +8 -0
- package/admin/cli/commands/provision-org-user.js +36 -0
- package/admin/cli/commands/provision-org-users-bulk.d.ts +8 -0
- package/admin/cli/commands/provision-org-users-bulk.js +36 -0
- package/admin/cli/commands.js +27 -33
- package/admin/cli/executor.d.ts +36 -43
- package/admin/orm/index.d.ts +42 -51
- package/admin/orm/index.js +12 -16
- package/admin/orm/input-types.d.ts +913 -1522
- package/admin/orm/input-types.js +1 -9
- package/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/appCapabilityDefaultCapability.js +104 -0
- package/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appCapabilityDefaultGrant.js +104 -0
- package/admin/orm/models/index.d.ts +6 -8
- package/admin/orm/models/index.js +13 -17
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingAppInvitesRecord.js +80 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.js +80 -0
- package/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/admin/orm/models/orgCapabilityDefaultCapability.js +104 -0
- package/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgCapabilityDefaultGrant.js +104 -0
- package/admin/orm/mutation/index.d.ts +54 -5
- package/admin/orm/mutation/index.js +72 -0
- package/admin/orm/query/index.d.ts +5 -79
- package/admin/orm/query/index.js +8 -112
- package/agent/cli/commands/agent-event.d.ts +8 -0
- package/agent/cli/commands/agent-event.js +347 -0
- package/agent/cli/commands/agent-message.js +38 -12
- package/agent/cli/commands/agent-persona.js +44 -0
- package/agent/cli/commands/agent-plan.js +1 -19
- package/agent/cli/commands/agent-prompt.js +44 -0
- package/agent/cli/commands/agent-resource-chunk.js +23 -0
- package/agent/cli/commands/agent-resource.js +46 -0
- package/agent/cli/commands/agent-run-workspace.d.ts +8 -0
- package/agent/cli/commands/agent-run-workspace.js +523 -0
- package/agent/cli/commands/agent-run.d.ts +8 -0
- package/agent/cli/commands/agent-run.js +684 -0
- package/agent/cli/commands/agent-task.js +1 -19
- package/agent/cli/commands/agent-thread.js +22 -0
- package/agent/cli/commands/platform-agent-event.d.ts +8 -0
- package/agent/cli/commands/platform-agent-event.js +346 -0
- package/agent/cli/commands/platform-agent-message.d.ts +8 -0
- package/agent/cli/commands/platform-agent-message.js +395 -0
- package/agent/cli/commands/platform-agent-persona.d.ts +8 -0
- package/agent/cli/commands/platform-agent-persona.js +460 -0
- package/agent/cli/commands/platform-agent-plan.d.ts +8 -0
- package/agent/cli/commands/platform-agent-plan.js +329 -0
- package/agent/cli/commands/platform-agent-prompt.d.ts +8 -0
- package/agent/cli/commands/platform-agent-prompt.js +416 -0
- package/agent/cli/commands/platform-agent-resource-chunk.d.ts +8 -0
- package/agent/cli/commands/platform-agent-resource-chunk.js +400 -0
- package/agent/cli/commands/platform-agent-resource.d.ts +8 -0
- package/agent/cli/commands/platform-agent-resource.js +654 -0
- package/agent/cli/commands/platform-agent-run-workspace.d.ts +8 -0
- package/agent/cli/commands/platform-agent-run-workspace.js +522 -0
- package/agent/cli/commands/platform-agent-run.d.ts +8 -0
- package/agent/cli/commands/platform-agent-run.js +705 -0
- package/agent/cli/commands/platform-agent-task.d.ts +8 -0
- package/agent/cli/commands/platform-agent-task.js +483 -0
- package/agent/cli/commands/platform-agent-thread.d.ts +8 -0
- package/agent/cli/commands/platform-agent-thread.js +508 -0
- package/agent/cli/commands/platform-agent.d.ts +8 -0
- package/agent/cli/commands/platform-agent.js +396 -0
- package/agent/cli/commands/provision-bucket.js +1 -1
- package/agent/cli/commands.js +31 -1
- package/agent/cli/executor.d.ts +15 -0
- package/agent/orm/index.d.ts +30 -0
- package/agent/orm/index.js +30 -0
- package/agent/orm/input-types.d.ts +6040 -1415
- package/agent/orm/input-types.js +34 -0
- package/agent/orm/models/agentEvent.d.ts +54 -0
- package/agent/orm/models/agentEvent.js +104 -0
- package/agent/orm/models/agentRun.d.ts +54 -0
- package/agent/orm/models/agentRun.js +104 -0
- package/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/agent/orm/models/agentRunWorkspace.js +104 -0
- package/agent/orm/models/index.d.ts +15 -0
- package/agent/orm/models/index.js +31 -1
- package/agent/orm/models/platformAgent.d.ts +54 -0
- package/agent/orm/models/platformAgent.js +104 -0
- package/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/agent/orm/models/platformAgentEvent.js +104 -0
- package/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/agent/orm/models/platformAgentMessage.js +104 -0
- package/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/agent/orm/models/platformAgentPersona.js +104 -0
- package/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/agent/orm/models/platformAgentPlan.js +104 -0
- package/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/agent/orm/models/platformAgentPrompt.js +104 -0
- package/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/agent/orm/models/platformAgentResource.js +104 -0
- package/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/agent/orm/models/platformAgentResourceChunk.js +104 -0
- package/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/agent/orm/models/platformAgentRun.js +104 -0
- package/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/agent/orm/models/platformAgentRunWorkspace.js +104 -0
- package/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/agent/orm/models/platformAgentTask.js +104 -0
- package/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/agent/orm/models/platformAgentThread.js +104 -0
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/cli/commands/api-setting.js +242 -0
- package/api/cli/commands/api.d.ts +8 -0
- package/api/cli/commands/api.js +372 -0
- package/api/cli/commands/database-setting.js +286 -0
- package/api/cli/commands/database.js +2 -0
- package/api/cli/commands/delete-site-preview.d.ts +8 -0
- package/api/cli/commands/delete-site-preview.js +36 -0
- package/api/cli/commands/derive.js +22 -0
- package/api/cli/commands/domain.js +44 -0
- package/api/cli/commands/email-identity.d.ts +8 -0
- package/api/cli/commands/email-identity.js +436 -0
- package/api/cli/commands/email-provider-account.d.ts +8 -0
- package/api/cli/commands/email-provider-account.js +500 -0
- package/api/cli/commands/email-site-identity.d.ts +8 -0
- package/api/cli/commands/email-site-identity.js +282 -0
- package/api/cli/commands/embedding-chunk.js +22 -0
- package/api/cli/commands/function.js +286 -0
- package/api/cli/commands/get-site-preview-commit.d.ts +8 -0
- package/api/cli/commands/get-site-preview-commit.js +35 -0
- package/api/cli/commands/get-site-previews-record.d.ts +8 -0
- package/api/cli/commands/get-site-previews-record.js +126 -0
- package/api/cli/commands/get-site-release-manifest.d.ts +8 -0
- package/api/cli/commands/get-site-release-manifest.js +35 -0
- package/api/cli/commands/identity-provider-registry.d.ts +8 -0
- package/api/cli/commands/identity-provider-registry.js +367 -0
- package/api/cli/commands/index.js +22 -0
- package/api/cli/commands/managed-domain.js +44 -0
- package/api/cli/commands/mint-site-preview-token.d.ts +8 -0
- package/api/cli/commands/mint-site-preview-token.js +36 -0
- package/api/cli/commands/page-published.d.ts +8 -0
- package/api/cli/commands/page-published.js +35 -0
- package/api/cli/commands/page.js +22 -0
- package/api/cli/commands/pages-install-pages.d.ts +8 -0
- package/api/cli/commands/pages-install-pages.js +36 -0
- package/api/cli/commands/platform-api-setting.js +242 -0
- package/api/cli/commands/platform-api.d.ts +8 -0
- package/api/cli/commands/platform-api.js +352 -0
- package/api/cli/commands/platform-delete-site-preview.d.ts +8 -0
- package/api/cli/commands/platform-delete-site-preview.js +36 -0
- package/api/cli/commands/platform-domain.js +44 -0
- package/api/cli/commands/platform-email-identity.d.ts +8 -0
- package/api/cli/commands/platform-email-identity.js +416 -0
- package/api/cli/commands/platform-email-provider-account.d.ts +8 -0
- package/api/cli/commands/platform-email-provider-account.js +480 -0
- package/api/cli/commands/platform-email-site-identity.d.ts +8 -0
- package/api/cli/commands/platform-email-site-identity.js +262 -0
- package/api/cli/commands/platform-get-site-preview-commit.d.ts +8 -0
- package/api/cli/commands/platform-get-site-preview-commit.js +35 -0
- package/api/cli/commands/platform-get-site-previews-record.d.ts +8 -0
- package/api/cli/commands/platform-get-site-previews-record.js +126 -0
- package/api/cli/commands/platform-get-site-release-manifest.d.ts +8 -0
- package/api/cli/commands/platform-get-site-release-manifest.js +35 -0
- package/api/cli/commands/platform-managed-domain.js +44 -0
- package/api/cli/commands/platform-mint-site-preview-token.d.ts +8 -0
- package/api/cli/commands/platform-mint-site-preview-token.js +36 -0
- package/api/cli/commands/platform-page-published.d.ts +8 -0
- package/api/cli/commands/platform-page-published.js +35 -0
- package/api/cli/commands/platform-page.js +22 -0
- package/api/cli/commands/platform-pages-install-pages.d.ts +8 -0
- package/api/cli/commands/platform-pages-install-pages.js +36 -0
- package/api/cli/commands/platform-provision-site-preview.d.ts +8 -0
- package/api/cli/commands/platform-provision-site-preview.js +36 -0
- package/api/cli/commands/platform-set-site-preview.d.ts +8 -0
- package/api/cli/commands/platform-set-site-preview.js +36 -0
- package/api/cli/commands/platform-site-app-link.js +12 -98
- package/api/cli/commands/platform-site-deep-link.js +22 -0
- package/api/cli/commands/platform-site-metadata-install-robots.d.ts +8 -0
- package/api/cli/commands/platform-site-metadata-install-robots.js +36 -0
- package/api/cli/commands/platform-site-metadatum.js +22 -0
- package/api/cli/commands/platform-site-release.d.ts +8 -0
- package/api/cli/commands/platform-site-release.js +306 -0
- package/api/cli/commands/platform-site.js +44 -0
- package/api/cli/commands/platform-sites-deep-link-url.d.ts +8 -0
- package/api/cli/commands/platform-sites-deep-link-url.js +35 -0
- package/api/cli/commands/platform-sites-install-content-preset.d.ts +8 -0
- package/api/cli/commands/platform-sites-install-content-preset.js +36 -0
- package/api/cli/commands/platform-sites-install-mantra.d.ts +8 -0
- package/api/cli/commands/platform-sites-install-mantra.js +36 -0
- package/api/cli/commands/platform-sites-site-origin.d.ts +8 -0
- package/api/cli/commands/platform-sites-site-origin.js +30 -0
- package/api/cli/commands/platform-verify-site-preview-token.d.ts +8 -0
- package/api/cli/commands/platform-verify-site-preview-token.js +35 -0
- package/api/cli/commands/policy.js +22 -0
- package/api/cli/commands/provision-bucket.js +1 -1
- package/api/cli/commands/provision-site-preview.d.ts +8 -0
- package/api/cli/commands/provision-site-preview.js +36 -0
- package/api/cli/commands/redirect.d.ts +8 -0
- package/api/cli/commands/redirect.js +370 -0
- package/api/cli/commands/request-database.js +1 -1
- package/api/cli/commands/route-binding.js +44 -0
- package/api/cli/commands/route.js +88 -0
- package/api/cli/commands/set-site-preview.d.ts +8 -0
- package/api/cli/commands/set-site-preview.js +36 -0
- package/api/cli/commands/site-app-link.js +12 -98
- package/api/cli/commands/site-deep-link.js +22 -0
- package/api/cli/commands/site-metadata-install-robots.d.ts +8 -0
- package/api/cli/commands/site-metadata-install-robots.js +36 -0
- package/api/cli/commands/site-metadatum.js +22 -0
- package/api/cli/commands/site-release.d.ts +8 -0
- package/api/cli/commands/site-release.js +326 -0
- package/api/cli/commands/site.js +44 -0
- package/api/cli/commands/sites-deep-link-url.d.ts +8 -0
- package/api/cli/commands/sites-deep-link-url.js +35 -0
- package/api/cli/commands/sites-install-content-preset.d.ts +8 -0
- package/api/cli/commands/sites-install-content-preset.js +36 -0
- package/api/cli/commands/sites-install-mantra.d.ts +8 -0
- package/api/cli/commands/sites-install-mantra.js +36 -0
- package/api/cli/commands/sites-site-origin.d.ts +8 -0
- package/api/cli/commands/sites-site-origin.js +30 -0
- package/api/cli/commands/suspend-database.d.ts +8 -0
- package/api/cli/commands/suspend-database.js +36 -0
- package/api/cli/commands/trigger.js +132 -0
- package/api/cli/commands/unsuspend-database.d.ts +8 -0
- package/api/cli/commands/unsuspend-database.js +36 -0
- package/api/cli/commands/verify-site-preview-token.d.ts +8 -0
- package/api/cli/commands/verify-site-preview-token.js +35 -0
- package/api/cli/commands.js +89 -9
- package/api/cli/executor.d.ts +164 -8
- package/api/orm/index.d.ts +178 -11
- package/api/orm/index.js +28 -6
- package/api/orm/input-types.d.ts +4333 -1173
- package/api/orm/input-types.js +23 -5
- package/api/orm/models/api.d.ts +54 -0
- package/api/orm/models/api.js +104 -0
- package/api/orm/models/emailIdentity.d.ts +54 -0
- package/api/orm/models/emailIdentity.js +104 -0
- package/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/api/orm/models/emailProviderAccount.js +104 -0
- package/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/api/orm/models/emailSiteIdentity.js +104 -0
- package/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/getSitePreviewsRecord.js +59 -0
- package/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/api/orm/models/identityProviderRegistry.js +104 -0
- package/api/orm/models/index.d.ts +14 -3
- package/api/orm/models/index.js +30 -8
- package/api/orm/models/platformApi.d.ts +54 -0
- package/api/orm/models/platformApi.js +104 -0
- package/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailIdentity.js +104 -0
- package/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/api/orm/models/platformEmailProviderAccount.js +104 -0
- package/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/api/orm/models/platformEmailSiteIdentity.js +104 -0
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/platformGetSitePreviewsRecord.js +59 -0
- package/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/api/orm/models/platformSiteRelease.js +104 -0
- package/api/orm/models/redirect.d.ts +54 -0
- package/api/orm/models/redirect.js +104 -0
- package/api/orm/models/siteRelease.d.ts +54 -0
- package/api/orm/models/siteRelease.js +104 -0
- package/api/orm/mutation/index.d.ts +152 -6
- package/api/orm/mutation/index.js +216 -0
- package/api/orm/query/index.d.ts +107 -11
- package/api/orm/query/index.js +177 -13
- package/auth/cli/commands/approve-device.d.ts +8 -0
- package/auth/cli/commands/approve-device.js +36 -0
- package/auth/cli/commands/audit-log-auth.js +22 -0
- package/auth/cli/commands/complete-mfa-challenge.d.ts +8 -0
- package/auth/cli/commands/complete-mfa-challenge.js +36 -0
- package/auth/cli/commands/confirm-totp-setup.d.ts +8 -0
- package/auth/cli/commands/confirm-totp-setup.js +36 -0
- package/auth/cli/commands/create-child-principal.d.ts +8 -0
- package/auth/cli/commands/create-child-principal.js +36 -0
- package/auth/cli/commands/create-principal-from-preset.d.ts +8 -0
- package/auth/cli/commands/create-principal-from-preset.js +36 -0
- package/auth/cli/commands/disable-email-mfa.d.ts +8 -0
- package/auth/cli/commands/disable-email-mfa.js +36 -0
- package/auth/cli/commands/disable-sms-mfa.d.ts +8 -0
- package/auth/cli/commands/disable-sms-mfa.js +36 -0
- package/auth/cli/commands/disable-totp.d.ts +8 -0
- package/auth/cli/commands/disable-totp.js +36 -0
- package/auth/cli/commands/enable-email-mfa.d.ts +8 -0
- package/auth/cli/commands/enable-email-mfa.js +36 -0
- package/auth/cli/commands/enable-sms-mfa.d.ts +8 -0
- package/auth/cli/commands/enable-sms-mfa.js +36 -0
- package/auth/cli/commands/enable-totp.d.ts +8 -0
- package/auth/cli/commands/enable-totp.js +36 -0
- package/auth/cli/commands/generate-backup-codes.d.ts +8 -0
- package/auth/cli/commands/generate-backup-codes.js +36 -0
- package/auth/cli/commands/get-mfa-status.d.ts +8 -0
- package/auth/cli/commands/get-mfa-status.js +27 -0
- package/auth/cli/commands/mint-access-token.d.ts +8 -0
- package/auth/cli/commands/mint-access-token.js +36 -0
- package/auth/cli/commands/principal-entity.js +2 -135
- package/auth/cli/commands/principal.js +55 -0
- package/auth/cli/commands/provision-bucket.js +1 -1
- package/auth/cli/commands/refresh-access-token.d.ts +8 -0
- package/auth/cli/commands/refresh-access-token.js +36 -0
- package/auth/cli/commands/send-phone-verification-code.d.ts +8 -0
- package/auth/cli/commands/send-phone-verification-code.js +36 -0
- package/auth/cli/commands/set-principal-entities.d.ts +8 -0
- package/auth/cli/commands/set-principal-entities.js +36 -0
- package/auth/cli/commands/set-principal-scope.d.ts +8 -0
- package/auth/cli/commands/set-principal-scope.js +36 -0
- package/auth/cli/commands/sign-in-magic-link.d.ts +8 -0
- package/auth/cli/commands/sign-in-magic-link.js +36 -0
- package/auth/cli/commands/sign-up-magic-link.d.ts +8 -0
- package/auth/cli/commands/sign-up-magic-link.js +36 -0
- package/auth/cli/commands/update-principal.d.ts +8 -0
- package/auth/cli/commands/update-principal.js +36 -0
- package/auth/cli/commands/user-setting.d.ts +8 -0
- package/auth/cli/commands/user-setting.js +244 -0
- package/auth/cli/commands/user-settings-security.d.ts +8 -0
- package/auth/cli/commands/user-settings-security.js +376 -0
- package/auth/cli/commands/verify-phone.d.ts +8 -0
- package/auth/cli/commands/verify-phone.js +36 -0
- package/auth/cli/commands.js +49 -1
- package/auth/cli/executor.d.ts +112 -0
- package/auth/orm/index.d.ts +114 -0
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +1076 -243
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/principalEntity.d.ts +2 -20
- package/auth/orm/models/principalEntity.js +0 -24
- package/auth/orm/models/userSetting.d.ts +54 -0
- package/auth/orm/models/userSetting.js +104 -0
- package/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/auth/orm/models/userSettingsSecurity.js +104 -0
- package/auth/orm/mutation/index.d.ts +174 -5
- package/auth/orm/mutation/index.js +252 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/compute/cli/commands/approve-node.d.ts +8 -0
- package/compute/cli/commands/approve-node.js +36 -0
- package/compute/cli/commands/build-step.d.ts +8 -0
- package/compute/cli/commands/build-step.js +519 -0
- package/compute/cli/commands/build.d.ts +8 -0
- package/compute/cli/commands/build.js +639 -0
- package/compute/cli/commands/builder-binding.d.ts +8 -0
- package/compute/cli/commands/builder-binding.js +480 -0
- package/compute/cli/commands/content-preset.d.ts +8 -0
- package/compute/cli/commands/content-preset.js +392 -0
- package/compute/cli/commands/database-add-edge-and-save.d.ts +8 -0
- package/compute/cli/commands/database-add-edge-and-save.js +36 -0
- package/compute/cli/commands/database-add-edge.d.ts +8 -0
- package/compute/cli/commands/database-add-edge.js +36 -0
- package/compute/cli/commands/database-add-node-and-save.d.ts +8 -0
- package/compute/cli/commands/database-add-node-and-save.js +36 -0
- package/compute/cli/commands/database-add-node.d.ts +8 -0
- package/compute/cli/commands/database-add-node.js +36 -0
- package/compute/cli/commands/database-approve-node.d.ts +8 -0
- package/compute/cli/commands/database-approve-node.js +36 -0
- package/compute/cli/commands/database-copy-graph.d.ts +8 -0
- package/compute/cli/commands/database-copy-graph.js +36 -0
- package/compute/cli/commands/database-create-function-graph.d.ts +8 -0
- package/compute/cli/commands/database-create-function-graph.js +36 -0
- package/compute/cli/commands/database-function-graph-execution-node-state.d.ts +8 -0
- package/compute/cli/commands/database-function-graph-execution-node-state.js +646 -0
- package/compute/cli/commands/database-function-graph-execution-output.d.ts +8 -0
- package/compute/cli/commands/database-function-graph-execution-output.js +294 -0
- package/compute/cli/commands/database-function-graph-execution.d.ts +8 -0
- package/compute/cli/commands/database-function-graph-execution.js +894 -0
- package/compute/cli/commands/database-function-graph.d.ts +8 -0
- package/compute/cli/commands/database-function-graph.js +402 -0
- package/compute/cli/commands/database-graph-commit.d.ts +8 -0
- package/compute/cli/commands/database-graph-commit.js +389 -0
- package/compute/cli/commands/database-graph-get-all-tree-nodes-record.d.ts +8 -0
- package/compute/cli/commands/database-graph-get-all-tree-nodes-record.js +128 -0
- package/compute/cli/commands/database-graph-init-empty-repo.d.ts +8 -0
- package/compute/cli/commands/database-graph-init-empty-repo.js +36 -0
- package/compute/cli/commands/database-graph-insert-node-at-path.d.ts +8 -0
- package/compute/cli/commands/database-graph-insert-node-at-path.js +36 -0
- package/compute/cli/commands/database-graph-insert-nodes-at-paths.d.ts +8 -0
- package/compute/cli/commands/database-graph-insert-nodes-at-paths.js +36 -0
- package/compute/cli/commands/database-graph-object.d.ts +8 -0
- package/compute/cli/commands/database-graph-object.js +309 -0
- package/compute/cli/commands/database-graph-ref.d.ts +8 -0
- package/compute/cli/commands/database-graph-ref.js +299 -0
- package/compute/cli/commands/database-graph-set-and-commit.d.ts +8 -0
- package/compute/cli/commands/database-graph-set-and-commit.js +36 -0
- package/compute/cli/commands/database-graph-set-data-at-path.d.ts +8 -0
- package/compute/cli/commands/database-graph-set-data-at-path.js +36 -0
- package/compute/cli/commands/database-graph-set-many-and-commit.d.ts +8 -0
- package/compute/cli/commands/database-graph-set-many-and-commit.js +36 -0
- package/compute/cli/commands/database-graph-store.d.ts +8 -0
- package/compute/cli/commands/database-graph-store.js +278 -0
- package/compute/cli/commands/database-import-definitions.d.ts +8 -0
- package/compute/cli/commands/database-import-definitions.js +36 -0
- package/compute/cli/commands/database-import-graph-json.d.ts +8 -0
- package/compute/cli/commands/database-import-graph-json.js +36 -0
- package/compute/cli/commands/database-read-function-graph.d.ts +8 -0
- package/compute/cli/commands/database-read-function-graph.js +30 -0
- package/compute/cli/commands/database-save-graph.d.ts +8 -0
- package/compute/cli/commands/database-save-graph.js +36 -0
- package/compute/cli/commands/database-start-execution.d.ts +8 -0
- package/compute/cli/commands/database-start-execution.js +36 -0
- package/compute/cli/commands/database-validate-function-graph.d.ts +8 -0
- package/compute/cli/commands/database-validate-function-graph.js +36 -0
- package/compute/cli/commands/function-definition.js +110 -0
- package/compute/cli/commands/function-deployment.js +66 -0
- package/compute/cli/commands/function-graph-execution-node-state.js +132 -0
- package/compute/cli/commands/function-invocation.js +111 -3
- package/compute/cli/commands/function-invocations-create-sync.d.ts +8 -0
- package/compute/cli/commands/function-invocations-create-sync.js +36 -0
- package/compute/cli/commands/image-grant.d.ts +8 -0
- package/compute/cli/commands/image-grant.js +412 -0
- package/compute/cli/commands/image.d.ts +8 -0
- package/compute/cli/commands/image.js +568 -0
- package/compute/cli/commands/infra-insert-nodes-at-paths.d.ts +8 -0
- package/compute/cli/commands/infra-insert-nodes-at-paths.js +36 -0
- package/compute/cli/commands/infra-set-and-commit.d.ts +8 -0
- package/compute/cli/commands/infra-set-and-commit.js +36 -0
- package/compute/cli/commands/infra-set-many-and-commit.d.ts +8 -0
- package/compute/cli/commands/infra-set-many-and-commit.js +36 -0
- package/compute/cli/commands/insert-nodes-at-paths.d.ts +8 -0
- package/compute/cli/commands/insert-nodes-at-paths.js +36 -0
- package/compute/cli/commands/namespace.js +22 -0
- package/compute/cli/commands/platform-build-step.d.ts +8 -0
- package/compute/cli/commands/platform-build-step.js +518 -0
- package/compute/cli/commands/platform-build.d.ts +8 -0
- package/compute/cli/commands/platform-build.js +638 -0
- package/compute/cli/commands/platform-builder-binding.d.ts +8 -0
- package/compute/cli/commands/platform-builder-binding.js +460 -0
- package/compute/cli/commands/platform-function-definition.js +110 -0
- package/compute/cli/commands/platform-function-deployment.js +66 -0
- package/compute/cli/commands/platform-function-invocation.js +111 -3
- package/compute/cli/commands/platform-function-invocations-create-sync.d.ts +8 -0
- package/compute/cli/commands/platform-function-invocations-create-sync.js +36 -0
- package/compute/cli/commands/platform-image-grant.d.ts +8 -0
- package/compute/cli/commands/platform-image-grant.js +392 -0
- package/compute/cli/commands/platform-image.d.ts +8 -0
- package/compute/cli/commands/platform-image.js +548 -0
- package/compute/cli/commands/platform-infra-insert-nodes-at-paths.d.ts +8 -0
- package/compute/cli/commands/platform-infra-insert-nodes-at-paths.js +36 -0
- package/compute/cli/commands/platform-infra-set-and-commit.d.ts +8 -0
- package/compute/cli/commands/platform-infra-set-and-commit.js +36 -0
- package/compute/cli/commands/platform-infra-set-many-and-commit.d.ts +8 -0
- package/compute/cli/commands/platform-infra-set-many-and-commit.js +36 -0
- package/compute/cli/commands/platform-k-8-s-resource-kind.d.ts +8 -0
- package/compute/cli/commands/platform-k-8-s-resource-kind.js +372 -0
- package/compute/cli/commands/platform-k-8-s-spec-rule.d.ts +8 -0
- package/compute/cli/commands/platform-k-8-s-spec-rule.js +372 -0
- package/compute/cli/commands/platform-namespace.js +22 -0
- package/compute/cli/commands/platform-proposal-comment.d.ts +8 -0
- package/compute/cli/commands/platform-proposal-comment.js +600 -0
- package/compute/cli/commands/platform-proposal-file-view.d.ts +8 -0
- package/compute/cli/commands/platform-proposal-file-view.js +368 -0
- package/compute/cli/commands/platform-proposal-reaction.d.ts +8 -0
- package/compute/cli/commands/platform-proposal-reaction.js +348 -0
- package/compute/cli/commands/platform-proposal-review.d.ts +8 -0
- package/compute/cli/commands/platform-proposal-review.js +448 -0
- package/compute/cli/commands/platform-proposal.d.ts +8 -0
- package/compute/cli/commands/platform-proposal.js +916 -0
- package/compute/cli/commands/platform-proposals-chunk.d.ts +8 -0
- package/compute/cli/commands/platform-proposals-chunk.js +423 -0
- package/compute/cli/commands/platform-registry-binding.d.ts +8 -0
- package/compute/cli/commands/platform-registry-binding.js +480 -0
- package/compute/cli/commands/platform-registry-grant.d.ts +8 -0
- package/compute/cli/commands/platform-registry-grant.js +392 -0
- package/compute/cli/commands/platform-registry.d.ts +8 -0
- package/compute/cli/commands/platform-registry.js +570 -0
- package/compute/cli/commands/platform-repository-event.d.ts +8 -0
- package/compute/cli/commands/platform-repository-event.js +438 -0
- package/compute/cli/commands/platform-repository-required-check.d.ts +8 -0
- package/compute/cli/commands/platform-repository-required-check.js +262 -0
- package/compute/cli/commands/platform-repository-workflow.d.ts +8 -0
- package/compute/cli/commands/platform-repository-workflow.js +544 -0
- package/compute/cli/commands/platform-repository.d.ts +8 -0
- package/compute/cli/commands/platform-repository.js +699 -0
- package/compute/cli/commands/platform-resource-declared-capacity.js +11 -0
- package/compute/cli/commands/platform-resource-definition.js +44 -0
- package/compute/cli/commands/platform-resource-installation.js +44 -0
- package/compute/cli/commands/platform-resource-observed-storage.d.ts +8 -0
- package/compute/cli/commands/platform-resource-observed-storage.js +302 -0
- package/compute/cli/commands/platform-resource.js +67 -0
- package/compute/cli/commands/platform-resources-health.js +44 -0
- package/compute/cli/commands/platform-webhook-endpoint.js +44 -0
- package/compute/cli/commands/proposal-comment.d.ts +8 -0
- package/compute/cli/commands/proposal-comment.js +601 -0
- package/compute/cli/commands/proposal-file-view.d.ts +8 -0
- package/compute/cli/commands/proposal-file-view.js +369 -0
- package/compute/cli/commands/proposal-reaction.d.ts +8 -0
- package/compute/cli/commands/proposal-reaction.js +349 -0
- package/compute/cli/commands/proposal-review.d.ts +8 -0
- package/compute/cli/commands/proposal-review.js +449 -0
- package/compute/cli/commands/proposal.d.ts +8 -0
- package/compute/cli/commands/proposal.js +917 -0
- package/compute/cli/commands/proposals-chunk.d.ts +8 -0
- package/compute/cli/commands/proposals-chunk.js +446 -0
- package/compute/cli/commands/provision-bucket.js +1 -1
- package/compute/cli/commands/registry-binding.d.ts +8 -0
- package/compute/cli/commands/registry-binding.js +500 -0
- package/compute/cli/commands/registry-grant.d.ts +8 -0
- package/compute/cli/commands/registry-grant.js +412 -0
- package/compute/cli/commands/registry.d.ts +8 -0
- package/compute/cli/commands/registry.js +590 -0
- package/compute/cli/commands/repository-event.d.ts +8 -0
- package/compute/cli/commands/repository-event.js +439 -0
- package/compute/cli/commands/repository-required-check.d.ts +8 -0
- package/compute/cli/commands/repository-required-check.js +282 -0
- package/compute/cli/commands/repository-workflow.d.ts +8 -0
- package/compute/cli/commands/repository-workflow.js +545 -0
- package/compute/cli/commands/repository.d.ts +8 -0
- package/compute/cli/commands/repository.js +720 -0
- package/compute/cli/commands/resource-declared-capacity.js +11 -0
- package/compute/cli/commands/resource-definition.js +44 -0
- package/compute/cli/commands/resource-installation.js +44 -0
- package/compute/cli/commands/resource-observed-storage.d.ts +8 -0
- package/compute/cli/commands/resource-observed-storage.js +302 -0
- package/compute/cli/commands/resource.js +67 -0
- package/compute/cli/commands/resources-health.js +44 -0
- package/compute/cli/commands/set-and-commit.d.ts +8 -0
- package/compute/cli/commands/set-and-commit.js +36 -0
- package/compute/cli/commands/set-many-and-commit.d.ts +8 -0
- package/compute/cli/commands/set-many-and-commit.js +36 -0
- package/compute/cli/commands/webhook-endpoint.js +44 -0
- package/compute/cli/commands.js +163 -1
- package/compute/cli/embedder.d.ts +61 -0
- package/compute/cli/embedder.js +141 -0
- package/compute/cli/executor.d.ts +205 -0
- package/compute/orm/index.d.ts +255 -0
- package/compute/orm/index.js +100 -0
- package/compute/orm/input-types.d.ts +23633 -8530
- package/compute/orm/input-types.js +78 -0
- package/compute/orm/models/build.d.ts +54 -0
- package/compute/orm/models/build.js +104 -0
- package/compute/orm/models/buildStep.d.ts +56 -0
- package/compute/orm/models/buildStep.js +107 -0
- package/compute/orm/models/builderBinding.d.ts +54 -0
- package/compute/orm/models/builderBinding.js +104 -0
- package/compute/orm/models/contentPreset.d.ts +54 -0
- package/compute/orm/models/contentPreset.js +104 -0
- package/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraph.js +104 -0
- package/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecution.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.js +107 -0
- package/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/compute/orm/models/databaseGraphCommit.js +107 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/compute/orm/models/databaseGraphObject.js +97 -0
- package/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/compute/orm/models/databaseGraphRef.js +107 -0
- package/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/compute/orm/models/databaseGraphStore.js +104 -0
- package/compute/orm/models/image.d.ts +54 -0
- package/compute/orm/models/image.js +104 -0
- package/compute/orm/models/imageGrant.d.ts +54 -0
- package/compute/orm/models/imageGrant.js +104 -0
- package/compute/orm/models/index.d.ts +50 -0
- package/compute/orm/models/index.js +103 -2
- package/compute/orm/models/platformBuild.d.ts +54 -0
- package/compute/orm/models/platformBuild.js +104 -0
- package/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/compute/orm/models/platformBuildStep.js +107 -0
- package/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/compute/orm/models/platformBuilderBinding.js +104 -0
- package/compute/orm/models/platformImage.d.ts +54 -0
- package/compute/orm/models/platformImage.js +104 -0
- package/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/compute/orm/models/platformImageGrant.js +104 -0
- package/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/compute/orm/models/platformK8sResourceKind.js +104 -0
- package/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/compute/orm/models/platformK8sSpecRule.js +104 -0
- package/compute/orm/models/platformProposal.d.ts +54 -0
- package/compute/orm/models/platformProposal.js +104 -0
- package/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/compute/orm/models/platformProposalComment.js +104 -0
- package/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/compute/orm/models/platformProposalFileView.js +104 -0
- package/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/compute/orm/models/platformProposalReaction.js +104 -0
- package/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/compute/orm/models/platformProposalReview.js +104 -0
- package/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/compute/orm/models/platformProposalsChunk.js +104 -0
- package/compute/orm/models/platformRegistry.d.ts +54 -0
- package/compute/orm/models/platformRegistry.js +104 -0
- package/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/compute/orm/models/platformRegistryBinding.js +104 -0
- package/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/compute/orm/models/platformRegistryGrant.js +104 -0
- package/compute/orm/models/platformRepository.d.ts +54 -0
- package/compute/orm/models/platformRepository.js +104 -0
- package/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/compute/orm/models/platformRepositoryEvent.js +104 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.js +104 -0
- package/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/platformRepositoryWorkflow.js +104 -0
- package/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/platformResourceObservedStorage.js +59 -0
- package/compute/orm/models/proposal.d.ts +54 -0
- package/compute/orm/models/proposal.js +104 -0
- package/compute/orm/models/proposalComment.d.ts +54 -0
- package/compute/orm/models/proposalComment.js +104 -0
- package/compute/orm/models/proposalFileView.d.ts +54 -0
- package/compute/orm/models/proposalFileView.js +104 -0
- package/compute/orm/models/proposalReaction.d.ts +54 -0
- package/compute/orm/models/proposalReaction.js +104 -0
- package/compute/orm/models/proposalReview.d.ts +54 -0
- package/compute/orm/models/proposalReview.js +104 -0
- package/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/compute/orm/models/proposalsChunk.js +104 -0
- package/compute/orm/models/registry.d.ts +54 -0
- package/compute/orm/models/registry.js +104 -0
- package/compute/orm/models/registryBinding.d.ts +54 -0
- package/compute/orm/models/registryBinding.js +104 -0
- package/compute/orm/models/registryGrant.d.ts +54 -0
- package/compute/orm/models/registryGrant.js +104 -0
- package/compute/orm/models/repository.d.ts +54 -0
- package/compute/orm/models/repository.js +104 -0
- package/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/compute/orm/models/repositoryEvent.js +104 -0
- package/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/repositoryRequiredCheck.js +104 -0
- package/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/repositoryWorkflow.js +104 -0
- package/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/resourceObservedStorage.js +59 -0
- package/compute/orm/mutation/index.d.ts +246 -5
- package/compute/orm/mutation/index.js +360 -0
- package/compute/orm/query/index.d.ts +8 -0
- package/compute/orm/query/index.js +12 -0
- package/config/cli/commands/app-internal-secret.d.ts +8 -0
- package/config/cli/commands/app-internal-secret.js +193 -0
- package/config/cli/commands/app-internal-secrets-del.d.ts +8 -0
- package/config/cli/commands/app-internal-secrets-del.js +36 -0
- package/config/cli/commands/app-internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/app-internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/app-internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/app-internal-secrets-rotate.js +36 -0
- package/config/cli/commands/app-internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/app-internal-secrets-set.js +36 -0
- package/config/cli/commands/config.js +44 -0
- package/config/cli/commands/internal-config.d.ts +8 -0
- package/config/cli/commands/internal-config.js +416 -0
- package/config/cli/commands/internal-secret.d.ts +8 -0
- package/config/cli/commands/internal-secret.js +204 -0
- package/config/cli/commands/internal-secrets-del.d.ts +8 -0
- package/config/cli/commands/internal-secrets-del.js +36 -0
- package/config/cli/commands/internal-secrets-remove-array.d.ts +8 -0
- package/config/cli/commands/internal-secrets-remove-array.js +36 -0
- package/config/cli/commands/internal-secrets-rotate.d.ts +8 -0
- package/config/cli/commands/internal-secrets-rotate.js +36 -0
- package/config/cli/commands/internal-secrets-set.d.ts +8 -0
- package/config/cli/commands/internal-secrets-set.js +36 -0
- package/config/cli/commands/platform-config.js +44 -0
- package/config/cli/commands/platform-internal-config.d.ts +8 -0
- package/config/cli/commands/platform-internal-config.js +396 -0
- package/config/cli/commands/platform-internal-secret.js +0 -11
- package/config/cli/commands/provision-bucket.js +1 -1
- package/config/cli/commands.js +25 -1
- package/config/cli/executor.d.ts +44 -0
- package/config/orm/index.d.ts +48 -0
- package/config/orm/index.js +8 -0
- package/config/orm/input-types.d.ts +711 -41
- package/config/orm/models/appInternalSecret.d.ts +36 -0
- package/config/orm/models/appInternalSecret.js +80 -0
- package/config/orm/models/index.d.ts +4 -0
- package/config/orm/models/index.js +9 -1
- package/config/orm/models/internalConfig.d.ts +54 -0
- package/config/orm/models/internalConfig.js +104 -0
- package/config/orm/models/internalSecret.d.ts +36 -0
- package/config/orm/models/internalSecret.js +80 -0
- package/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/config/orm/models/platformInternalConfig.js +104 -0
- package/config/orm/mutation/index.d.ts +70 -5
- package/config/orm/mutation/index.js +96 -0
- package/esm/admin/cli/commands/accept-app-invite.d.ts +8 -0
- package/esm/admin/cli/commands/accept-app-invite.js +34 -0
- package/esm/admin/cli/commands/accept-org-invite.d.ts +8 -0
- package/esm/admin/cli/commands/accept-org-invite.js +34 -0
- package/esm/admin/cli/commands/app-capability-default-capability.d.ts +8 -0
- package/esm/admin/cli/commands/app-capability-default-capability.js +240 -0
- package/esm/admin/cli/commands/app-capability-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/app-capability-default-grant.js +284 -0
- package/esm/admin/cli/commands/app-grant.js +22 -22
- package/esm/admin/cli/commands/app-membership-default.js +44 -0
- package/esm/admin/cli/commands/app-membership.js +64 -20
- package/esm/admin/cli/commands/get-organization-id.d.ts +8 -0
- package/esm/admin/cli/commands/get-organization-id.js +33 -0
- package/esm/admin/cli/commands/my-pending-app-invites-record.d.ts +8 -0
- package/esm/admin/cli/commands/my-pending-app-invites-record.js +143 -0
- package/esm/admin/cli/commands/my-pending-org-invites-record.d.ts +8 -0
- package/esm/admin/cli/commands/my-pending-org-invites-record.js +154 -0
- package/esm/admin/cli/commands/org-capability-default-capability.d.ts +8 -0
- package/esm/admin/cli/commands/org-capability-default-capability.js +260 -0
- package/esm/admin/cli/commands/org-capability-default-grant.d.ts +8 -0
- package/esm/admin/cli/commands/org-capability-default-grant.js +304 -0
- package/esm/admin/cli/commands/org-grant.js +22 -22
- package/esm/admin/cli/commands/org-membership-default.js +44 -0
- package/esm/admin/cli/commands/org-membership-setting.js +88 -0
- package/esm/admin/cli/commands/org-membership.js +64 -20
- package/esm/admin/cli/commands/provision-app-user.d.ts +8 -0
- package/esm/admin/cli/commands/provision-app-user.js +34 -0
- package/esm/admin/cli/commands/provision-app-users-bulk.d.ts +8 -0
- package/esm/admin/cli/commands/provision-app-users-bulk.js +34 -0
- package/esm/admin/cli/commands/provision-bucket.js +1 -1
- package/esm/admin/cli/commands/provision-org-user.d.ts +8 -0
- package/esm/admin/cli/commands/provision-org-user.js +34 -0
- package/esm/admin/cli/commands/provision-org-users-bulk.d.ts +8 -0
- package/esm/admin/cli/commands/provision-org-users-bulk.js +34 -0
- package/esm/admin/cli/commands.js +27 -33
- package/esm/admin/cli/executor.d.ts +36 -43
- package/esm/admin/orm/index.d.ts +42 -51
- package/esm/admin/orm/index.js +12 -16
- package/esm/admin/orm/input-types.d.ts +913 -1522
- package/esm/admin/orm/input-types.js +1 -9
- package/esm/admin/orm/models/appCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/appCapabilityDefaultCapability.js +100 -0
- package/esm/admin/orm/models/appCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appCapabilityDefaultGrant.js +100 -0
- package/esm/admin/orm/models/index.d.ts +6 -8
- package/esm/admin/orm/models/index.js +6 -8
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +76 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +76 -0
- package/esm/admin/orm/models/orgCapabilityDefaultCapability.d.ts +54 -0
- package/esm/admin/orm/models/orgCapabilityDefaultCapability.js +100 -0
- package/esm/admin/orm/models/orgCapabilityDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgCapabilityDefaultGrant.js +100 -0
- package/esm/admin/orm/mutation/index.d.ts +54 -5
- package/esm/admin/orm/mutation/index.js +72 -0
- package/esm/admin/orm/query/index.d.ts +5 -79
- package/esm/admin/orm/query/index.js +8 -112
- package/esm/agent/cli/commands/agent-event.d.ts +8 -0
- package/esm/agent/cli/commands/agent-event.js +345 -0
- package/esm/agent/cli/commands/agent-message.js +38 -12
- package/esm/agent/cli/commands/agent-persona.js +44 -0
- package/esm/agent/cli/commands/agent-plan.js +1 -19
- package/esm/agent/cli/commands/agent-prompt.js +44 -0
- package/esm/agent/cli/commands/agent-resource-chunk.js +23 -0
- package/esm/agent/cli/commands/agent-resource.js +46 -0
- package/esm/agent/cli/commands/agent-run-workspace.d.ts +8 -0
- package/esm/agent/cli/commands/agent-run-workspace.js +521 -0
- package/esm/agent/cli/commands/agent-run.d.ts +8 -0
- package/esm/agent/cli/commands/agent-run.js +682 -0
- package/esm/agent/cli/commands/agent-task.js +1 -19
- package/esm/agent/cli/commands/agent-thread.js +22 -0
- package/esm/agent/cli/commands/platform-agent-event.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-event.js +344 -0
- package/esm/agent/cli/commands/platform-agent-message.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-message.js +393 -0
- package/esm/agent/cli/commands/platform-agent-persona.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-persona.js +458 -0
- package/esm/agent/cli/commands/platform-agent-plan.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-plan.js +327 -0
- package/esm/agent/cli/commands/platform-agent-prompt.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-prompt.js +414 -0
- package/esm/agent/cli/commands/platform-agent-resource-chunk.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-resource-chunk.js +398 -0
- package/esm/agent/cli/commands/platform-agent-resource.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-resource.js +652 -0
- package/esm/agent/cli/commands/platform-agent-run-workspace.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-run-workspace.js +520 -0
- package/esm/agent/cli/commands/platform-agent-run.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-run.js +703 -0
- package/esm/agent/cli/commands/platform-agent-task.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-task.js +481 -0
- package/esm/agent/cli/commands/platform-agent-thread.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent-thread.js +506 -0
- package/esm/agent/cli/commands/platform-agent.d.ts +8 -0
- package/esm/agent/cli/commands/platform-agent.js +394 -0
- package/esm/agent/cli/commands/provision-bucket.js +1 -1
- package/esm/agent/cli/commands.js +31 -1
- package/esm/agent/cli/executor.d.ts +15 -0
- package/esm/agent/orm/index.d.ts +30 -0
- package/esm/agent/orm/index.js +30 -0
- package/esm/agent/orm/input-types.d.ts +6040 -1415
- package/esm/agent/orm/input-types.js +34 -0
- package/esm/agent/orm/models/agentEvent.d.ts +54 -0
- package/esm/agent/orm/models/agentEvent.js +100 -0
- package/esm/agent/orm/models/agentRun.d.ts +54 -0
- package/esm/agent/orm/models/agentRun.js +100 -0
- package/esm/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/esm/agent/orm/models/agentRunWorkspace.js +100 -0
- package/esm/agent/orm/models/index.d.ts +15 -0
- package/esm/agent/orm/models/index.js +15 -0
- package/esm/agent/orm/models/platformAgent.d.ts +54 -0
- package/esm/agent/orm/models/platformAgent.js +100 -0
- package/esm/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentEvent.js +100 -0
- package/esm/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentMessage.js +100 -0
- package/esm/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPersona.js +100 -0
- package/esm/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPlan.js +100 -0
- package/esm/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPrompt.js +100 -0
- package/esm/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResource.js +100 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.js +100 -0
- package/esm/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentRun.js +100 -0
- package/esm/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentRunWorkspace.js +100 -0
- package/esm/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentTask.js +100 -0
- package/esm/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentThread.js +100 -0
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/cli/commands/api-setting.js +242 -0
- package/esm/api/cli/commands/api.d.ts +8 -0
- package/esm/api/cli/commands/api.js +370 -0
- package/esm/api/cli/commands/database-setting.js +286 -0
- package/esm/api/cli/commands/database.js +2 -0
- package/esm/api/cli/commands/delete-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/delete-site-preview.js +34 -0
- package/esm/api/cli/commands/derive.js +22 -0
- package/esm/api/cli/commands/domain.js +44 -0
- package/esm/api/cli/commands/email-identity.d.ts +8 -0
- package/esm/api/cli/commands/email-identity.js +434 -0
- package/esm/api/cli/commands/email-provider-account.d.ts +8 -0
- package/esm/api/cli/commands/email-provider-account.js +498 -0
- package/esm/api/cli/commands/email-site-identity.d.ts +8 -0
- package/esm/api/cli/commands/email-site-identity.js +280 -0
- package/esm/api/cli/commands/embedding-chunk.js +22 -0
- package/esm/api/cli/commands/function.js +286 -0
- package/esm/api/cli/commands/get-site-preview-commit.d.ts +8 -0
- package/esm/api/cli/commands/get-site-preview-commit.js +33 -0
- package/esm/api/cli/commands/get-site-previews-record.d.ts +8 -0
- package/esm/api/cli/commands/get-site-previews-record.js +124 -0
- package/esm/api/cli/commands/get-site-release-manifest.d.ts +8 -0
- package/esm/api/cli/commands/get-site-release-manifest.js +33 -0
- package/esm/api/cli/commands/identity-provider-registry.d.ts +8 -0
- package/esm/api/cli/commands/identity-provider-registry.js +365 -0
- package/esm/api/cli/commands/index.js +22 -0
- package/esm/api/cli/commands/managed-domain.js +44 -0
- package/esm/api/cli/commands/mint-site-preview-token.d.ts +8 -0
- package/esm/api/cli/commands/mint-site-preview-token.js +34 -0
- package/esm/api/cli/commands/page-published.d.ts +8 -0
- package/esm/api/cli/commands/page-published.js +33 -0
- package/esm/api/cli/commands/page.js +22 -0
- package/esm/api/cli/commands/pages-install-pages.d.ts +8 -0
- package/esm/api/cli/commands/pages-install-pages.js +34 -0
- package/esm/api/cli/commands/platform-api-setting.js +242 -0
- package/esm/api/cli/commands/platform-api.d.ts +8 -0
- package/esm/api/cli/commands/platform-api.js +350 -0
- package/esm/api/cli/commands/platform-delete-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/platform-delete-site-preview.js +34 -0
- package/esm/api/cli/commands/platform-domain.js +44 -0
- package/esm/api/cli/commands/platform-email-identity.d.ts +8 -0
- package/esm/api/cli/commands/platform-email-identity.js +414 -0
- package/esm/api/cli/commands/platform-email-provider-account.d.ts +8 -0
- package/esm/api/cli/commands/platform-email-provider-account.js +478 -0
- package/esm/api/cli/commands/platform-email-site-identity.d.ts +8 -0
- package/esm/api/cli/commands/platform-email-site-identity.js +260 -0
- package/esm/api/cli/commands/platform-get-site-preview-commit.d.ts +8 -0
- package/esm/api/cli/commands/platform-get-site-preview-commit.js +33 -0
- package/esm/api/cli/commands/platform-get-site-previews-record.d.ts +8 -0
- package/esm/api/cli/commands/platform-get-site-previews-record.js +124 -0
- package/esm/api/cli/commands/platform-get-site-release-manifest.d.ts +8 -0
- package/esm/api/cli/commands/platform-get-site-release-manifest.js +33 -0
- package/esm/api/cli/commands/platform-managed-domain.js +44 -0
- package/esm/api/cli/commands/platform-mint-site-preview-token.d.ts +8 -0
- package/esm/api/cli/commands/platform-mint-site-preview-token.js +34 -0
- package/esm/api/cli/commands/platform-page-published.d.ts +8 -0
- package/esm/api/cli/commands/platform-page-published.js +33 -0
- package/esm/api/cli/commands/platform-page.js +22 -0
- package/esm/api/cli/commands/platform-pages-install-pages.d.ts +8 -0
- package/esm/api/cli/commands/platform-pages-install-pages.js +34 -0
- package/esm/api/cli/commands/platform-provision-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/platform-provision-site-preview.js +34 -0
- package/esm/api/cli/commands/platform-set-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/platform-set-site-preview.js +34 -0
- package/esm/api/cli/commands/platform-site-app-link.js +12 -98
- package/esm/api/cli/commands/platform-site-deep-link.js +22 -0
- package/esm/api/cli/commands/platform-site-metadata-install-robots.d.ts +8 -0
- package/esm/api/cli/commands/platform-site-metadata-install-robots.js +34 -0
- package/esm/api/cli/commands/platform-site-metadatum.js +22 -0
- package/esm/api/cli/commands/platform-site-release.d.ts +8 -0
- package/esm/api/cli/commands/platform-site-release.js +304 -0
- package/esm/api/cli/commands/platform-site.js +44 -0
- package/esm/api/cli/commands/platform-sites-deep-link-url.d.ts +8 -0
- package/esm/api/cli/commands/platform-sites-deep-link-url.js +33 -0
- package/esm/api/cli/commands/platform-sites-install-content-preset.d.ts +8 -0
- package/esm/api/cli/commands/platform-sites-install-content-preset.js +34 -0
- package/esm/api/cli/commands/platform-sites-install-mantra.d.ts +8 -0
- package/esm/api/cli/commands/platform-sites-install-mantra.js +34 -0
- package/esm/api/cli/commands/platform-sites-site-origin.d.ts +8 -0
- package/esm/api/cli/commands/platform-sites-site-origin.js +28 -0
- package/esm/api/cli/commands/platform-verify-site-preview-token.d.ts +8 -0
- package/esm/api/cli/commands/platform-verify-site-preview-token.js +33 -0
- package/esm/api/cli/commands/policy.js +22 -0
- package/esm/api/cli/commands/provision-bucket.js +1 -1
- package/esm/api/cli/commands/provision-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/provision-site-preview.js +34 -0
- package/esm/api/cli/commands/redirect.d.ts +8 -0
- package/esm/api/cli/commands/redirect.js +368 -0
- package/esm/api/cli/commands/request-database.js +1 -1
- package/esm/api/cli/commands/route-binding.js +44 -0
- package/esm/api/cli/commands/route.js +88 -0
- package/esm/api/cli/commands/set-site-preview.d.ts +8 -0
- package/esm/api/cli/commands/set-site-preview.js +34 -0
- package/esm/api/cli/commands/site-app-link.js +12 -98
- package/esm/api/cli/commands/site-deep-link.js +22 -0
- package/esm/api/cli/commands/site-metadata-install-robots.d.ts +8 -0
- package/esm/api/cli/commands/site-metadata-install-robots.js +34 -0
- package/esm/api/cli/commands/site-metadatum.js +22 -0
- package/esm/api/cli/commands/site-release.d.ts +8 -0
- package/esm/api/cli/commands/site-release.js +324 -0
- package/esm/api/cli/commands/site.js +44 -0
- package/esm/api/cli/commands/sites-deep-link-url.d.ts +8 -0
- package/esm/api/cli/commands/sites-deep-link-url.js +33 -0
- package/esm/api/cli/commands/sites-install-content-preset.d.ts +8 -0
- package/esm/api/cli/commands/sites-install-content-preset.js +34 -0
- package/esm/api/cli/commands/sites-install-mantra.d.ts +8 -0
- package/esm/api/cli/commands/sites-install-mantra.js +34 -0
- package/esm/api/cli/commands/sites-site-origin.d.ts +8 -0
- package/esm/api/cli/commands/sites-site-origin.js +28 -0
- package/esm/api/cli/commands/suspend-database.d.ts +8 -0
- package/esm/api/cli/commands/suspend-database.js +34 -0
- package/esm/api/cli/commands/trigger.js +132 -0
- package/esm/api/cli/commands/unsuspend-database.d.ts +8 -0
- package/esm/api/cli/commands/unsuspend-database.js +34 -0
- package/esm/api/cli/commands/verify-site-preview-token.d.ts +8 -0
- package/esm/api/cli/commands/verify-site-preview-token.js +33 -0
- package/esm/api/cli/commands.js +89 -9
- package/esm/api/cli/executor.d.ts +164 -8
- package/esm/api/orm/index.d.ts +178 -11
- package/esm/api/orm/index.js +28 -6
- package/esm/api/orm/input-types.d.ts +4333 -1173
- package/esm/api/orm/input-types.js +23 -5
- package/esm/api/orm/models/api.d.ts +54 -0
- package/esm/api/orm/models/api.js +100 -0
- package/esm/api/orm/models/emailIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailIdentity.js +100 -0
- package/esm/api/orm/models/emailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/emailProviderAccount.js +100 -0
- package/esm/api/orm/models/emailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/emailSiteIdentity.js +100 -0
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/getSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/esm/api/orm/models/identityProviderRegistry.js +100 -0
- package/esm/api/orm/models/index.d.ts +14 -3
- package/esm/api/orm/models/index.js +14 -3
- package/esm/api/orm/models/platformApi.d.ts +54 -0
- package/esm/api/orm/models/platformApi.js +100 -0
- package/esm/api/orm/models/platformEmailIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailIdentity.js +100 -0
- package/esm/api/orm/models/platformEmailProviderAccount.d.ts +54 -0
- package/esm/api/orm/models/platformEmailProviderAccount.js +100 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.d.ts +54 -0
- package/esm/api/orm/models/platformEmailSiteIdentity.js +100 -0
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/esm/api/orm/models/platformSiteRelease.js +100 -0
- package/esm/api/orm/models/redirect.d.ts +54 -0
- package/esm/api/orm/models/redirect.js +100 -0
- package/esm/api/orm/models/siteRelease.d.ts +54 -0
- package/esm/api/orm/models/siteRelease.js +100 -0
- package/esm/api/orm/mutation/index.d.ts +152 -6
- package/esm/api/orm/mutation/index.js +216 -0
- package/esm/api/orm/query/index.d.ts +107 -11
- package/esm/api/orm/query/index.js +177 -13
- package/esm/auth/cli/commands/approve-device.d.ts +8 -0
- package/esm/auth/cli/commands/approve-device.js +34 -0
- package/esm/auth/cli/commands/audit-log-auth.js +22 -0
- package/esm/auth/cli/commands/complete-mfa-challenge.d.ts +8 -0
- package/esm/auth/cli/commands/complete-mfa-challenge.js +34 -0
- package/esm/auth/cli/commands/confirm-totp-setup.d.ts +8 -0
- package/esm/auth/cli/commands/confirm-totp-setup.js +34 -0
- package/esm/auth/cli/commands/create-child-principal.d.ts +8 -0
- package/esm/auth/cli/commands/create-child-principal.js +34 -0
- package/esm/auth/cli/commands/create-principal-from-preset.d.ts +8 -0
- package/esm/auth/cli/commands/create-principal-from-preset.js +34 -0
- package/esm/auth/cli/commands/disable-email-mfa.d.ts +8 -0
- package/esm/auth/cli/commands/disable-email-mfa.js +34 -0
- package/esm/auth/cli/commands/disable-sms-mfa.d.ts +8 -0
- package/esm/auth/cli/commands/disable-sms-mfa.js +34 -0
- package/esm/auth/cli/commands/disable-totp.d.ts +8 -0
- package/esm/auth/cli/commands/disable-totp.js +34 -0
- package/esm/auth/cli/commands/enable-email-mfa.d.ts +8 -0
- package/esm/auth/cli/commands/enable-email-mfa.js +34 -0
- package/esm/auth/cli/commands/enable-sms-mfa.d.ts +8 -0
- package/esm/auth/cli/commands/enable-sms-mfa.js +34 -0
- package/esm/auth/cli/commands/enable-totp.d.ts +8 -0
- package/esm/auth/cli/commands/enable-totp.js +34 -0
- package/esm/auth/cli/commands/generate-backup-codes.d.ts +8 -0
- package/esm/auth/cli/commands/generate-backup-codes.js +34 -0
- package/esm/auth/cli/commands/get-mfa-status.d.ts +8 -0
- package/esm/auth/cli/commands/get-mfa-status.js +25 -0
- package/esm/auth/cli/commands/mint-access-token.d.ts +8 -0
- package/esm/auth/cli/commands/mint-access-token.js +34 -0
- package/esm/auth/cli/commands/principal-entity.js +2 -135
- package/esm/auth/cli/commands/principal.js +55 -0
- package/esm/auth/cli/commands/provision-bucket.js +1 -1
- package/esm/auth/cli/commands/refresh-access-token.d.ts +8 -0
- package/esm/auth/cli/commands/refresh-access-token.js +34 -0
- package/esm/auth/cli/commands/send-phone-verification-code.d.ts +8 -0
- package/esm/auth/cli/commands/send-phone-verification-code.js +34 -0
- package/esm/auth/cli/commands/set-principal-entities.d.ts +8 -0
- package/esm/auth/cli/commands/set-principal-entities.js +34 -0
- package/esm/auth/cli/commands/set-principal-scope.d.ts +8 -0
- package/esm/auth/cli/commands/set-principal-scope.js +34 -0
- package/esm/auth/cli/commands/sign-in-magic-link.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-magic-link.js +34 -0
- package/esm/auth/cli/commands/sign-up-magic-link.d.ts +8 -0
- package/esm/auth/cli/commands/sign-up-magic-link.js +34 -0
- package/esm/auth/cli/commands/update-principal.d.ts +8 -0
- package/esm/auth/cli/commands/update-principal.js +34 -0
- package/esm/auth/cli/commands/user-setting.d.ts +8 -0
- package/esm/auth/cli/commands/user-setting.js +242 -0
- package/esm/auth/cli/commands/user-settings-security.d.ts +8 -0
- package/esm/auth/cli/commands/user-settings-security.js +374 -0
- package/esm/auth/cli/commands/verify-phone.d.ts +8 -0
- package/esm/auth/cli/commands/verify-phone.js +34 -0
- package/esm/auth/cli/commands.js +49 -1
- package/esm/auth/cli/executor.d.ts +112 -0
- package/esm/auth/orm/index.d.ts +114 -0
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +1076 -243
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/principalEntity.d.ts +2 -20
- package/esm/auth/orm/models/principalEntity.js +1 -25
- package/esm/auth/orm/models/userSetting.d.ts +54 -0
- package/esm/auth/orm/models/userSetting.js +100 -0
- package/esm/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/esm/auth/orm/models/userSettingsSecurity.js +100 -0
- package/esm/auth/orm/mutation/index.d.ts +174 -5
- package/esm/auth/orm/mutation/index.js +252 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/compute/cli/commands/approve-node.d.ts +8 -0
- package/esm/compute/cli/commands/approve-node.js +34 -0
- package/esm/compute/cli/commands/build-step.d.ts +8 -0
- package/esm/compute/cli/commands/build-step.js +517 -0
- package/esm/compute/cli/commands/build.d.ts +8 -0
- package/esm/compute/cli/commands/build.js +637 -0
- package/esm/compute/cli/commands/builder-binding.d.ts +8 -0
- package/esm/compute/cli/commands/builder-binding.js +478 -0
- package/esm/compute/cli/commands/content-preset.d.ts +8 -0
- package/esm/compute/cli/commands/content-preset.js +390 -0
- package/esm/compute/cli/commands/database-add-edge-and-save.d.ts +8 -0
- package/esm/compute/cli/commands/database-add-edge-and-save.js +34 -0
- package/esm/compute/cli/commands/database-add-edge.d.ts +8 -0
- package/esm/compute/cli/commands/database-add-edge.js +34 -0
- package/esm/compute/cli/commands/database-add-node-and-save.d.ts +8 -0
- package/esm/compute/cli/commands/database-add-node-and-save.js +34 -0
- package/esm/compute/cli/commands/database-add-node.d.ts +8 -0
- package/esm/compute/cli/commands/database-add-node.js +34 -0
- package/esm/compute/cli/commands/database-approve-node.d.ts +8 -0
- package/esm/compute/cli/commands/database-approve-node.js +34 -0
- package/esm/compute/cli/commands/database-copy-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-copy-graph.js +34 -0
- package/esm/compute/cli/commands/database-create-function-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-create-function-graph.js +34 -0
- package/esm/compute/cli/commands/database-function-graph-execution-node-state.d.ts +8 -0
- package/esm/compute/cli/commands/database-function-graph-execution-node-state.js +644 -0
- package/esm/compute/cli/commands/database-function-graph-execution-output.d.ts +8 -0
- package/esm/compute/cli/commands/database-function-graph-execution-output.js +292 -0
- package/esm/compute/cli/commands/database-function-graph-execution.d.ts +8 -0
- package/esm/compute/cli/commands/database-function-graph-execution.js +892 -0
- package/esm/compute/cli/commands/database-function-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-function-graph.js +400 -0
- package/esm/compute/cli/commands/database-graph-commit.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-commit.js +387 -0
- package/esm/compute/cli/commands/database-graph-get-all-tree-nodes-record.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-get-all-tree-nodes-record.js +126 -0
- package/esm/compute/cli/commands/database-graph-init-empty-repo.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-init-empty-repo.js +34 -0
- package/esm/compute/cli/commands/database-graph-insert-node-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-insert-node-at-path.js +34 -0
- package/esm/compute/cli/commands/database-graph-insert-nodes-at-paths.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-insert-nodes-at-paths.js +34 -0
- package/esm/compute/cli/commands/database-graph-object.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-object.js +307 -0
- package/esm/compute/cli/commands/database-graph-ref.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-ref.js +297 -0
- package/esm/compute/cli/commands/database-graph-set-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-set-and-commit.js +34 -0
- package/esm/compute/cli/commands/database-graph-set-data-at-path.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-set-data-at-path.js +34 -0
- package/esm/compute/cli/commands/database-graph-set-many-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-set-many-and-commit.js +34 -0
- package/esm/compute/cli/commands/database-graph-store.d.ts +8 -0
- package/esm/compute/cli/commands/database-graph-store.js +276 -0
- package/esm/compute/cli/commands/database-import-definitions.d.ts +8 -0
- package/esm/compute/cli/commands/database-import-definitions.js +34 -0
- package/esm/compute/cli/commands/database-import-graph-json.d.ts +8 -0
- package/esm/compute/cli/commands/database-import-graph-json.js +34 -0
- package/esm/compute/cli/commands/database-read-function-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-read-function-graph.js +28 -0
- package/esm/compute/cli/commands/database-save-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-save-graph.js +34 -0
- package/esm/compute/cli/commands/database-start-execution.d.ts +8 -0
- package/esm/compute/cli/commands/database-start-execution.js +34 -0
- package/esm/compute/cli/commands/database-validate-function-graph.d.ts +8 -0
- package/esm/compute/cli/commands/database-validate-function-graph.js +34 -0
- package/esm/compute/cli/commands/function-definition.js +110 -0
- package/esm/compute/cli/commands/function-deployment.js +66 -0
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +132 -0
- package/esm/compute/cli/commands/function-invocation.js +111 -3
- package/esm/compute/cli/commands/function-invocations-create-sync.d.ts +8 -0
- package/esm/compute/cli/commands/function-invocations-create-sync.js +34 -0
- package/esm/compute/cli/commands/image-grant.d.ts +8 -0
- package/esm/compute/cli/commands/image-grant.js +410 -0
- package/esm/compute/cli/commands/image.d.ts +8 -0
- package/esm/compute/cli/commands/image.js +566 -0
- package/esm/compute/cli/commands/infra-insert-nodes-at-paths.d.ts +8 -0
- package/esm/compute/cli/commands/infra-insert-nodes-at-paths.js +34 -0
- package/esm/compute/cli/commands/infra-set-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-and-commit.js +34 -0
- package/esm/compute/cli/commands/infra-set-many-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/infra-set-many-and-commit.js +34 -0
- package/esm/compute/cli/commands/insert-nodes-at-paths.d.ts +8 -0
- package/esm/compute/cli/commands/insert-nodes-at-paths.js +34 -0
- package/esm/compute/cli/commands/namespace.js +22 -0
- package/esm/compute/cli/commands/platform-build-step.d.ts +8 -0
- package/esm/compute/cli/commands/platform-build-step.js +516 -0
- package/esm/compute/cli/commands/platform-build.d.ts +8 -0
- package/esm/compute/cli/commands/platform-build.js +636 -0
- package/esm/compute/cli/commands/platform-builder-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-builder-binding.js +458 -0
- package/esm/compute/cli/commands/platform-function-definition.js +110 -0
- package/esm/compute/cli/commands/platform-function-deployment.js +66 -0
- package/esm/compute/cli/commands/platform-function-invocation.js +111 -3
- package/esm/compute/cli/commands/platform-function-invocations-create-sync.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-invocations-create-sync.js +34 -0
- package/esm/compute/cli/commands/platform-image-grant.d.ts +8 -0
- package/esm/compute/cli/commands/platform-image-grant.js +390 -0
- package/esm/compute/cli/commands/platform-image.d.ts +8 -0
- package/esm/compute/cli/commands/platform-image.js +546 -0
- package/esm/compute/cli/commands/platform-infra-insert-nodes-at-paths.d.ts +8 -0
- package/esm/compute/cli/commands/platform-infra-insert-nodes-at-paths.js +34 -0
- package/esm/compute/cli/commands/platform-infra-set-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/platform-infra-set-and-commit.js +34 -0
- package/esm/compute/cli/commands/platform-infra-set-many-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/platform-infra-set-many-and-commit.js +34 -0
- package/esm/compute/cli/commands/platform-k-8-s-resource-kind.d.ts +8 -0
- package/esm/compute/cli/commands/platform-k-8-s-resource-kind.js +370 -0
- package/esm/compute/cli/commands/platform-k-8-s-spec-rule.d.ts +8 -0
- package/esm/compute/cli/commands/platform-k-8-s-spec-rule.js +370 -0
- package/esm/compute/cli/commands/platform-namespace.js +22 -0
- package/esm/compute/cli/commands/platform-proposal-comment.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposal-comment.js +598 -0
- package/esm/compute/cli/commands/platform-proposal-file-view.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposal-file-view.js +366 -0
- package/esm/compute/cli/commands/platform-proposal-reaction.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposal-reaction.js +346 -0
- package/esm/compute/cli/commands/platform-proposal-review.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposal-review.js +446 -0
- package/esm/compute/cli/commands/platform-proposal.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposal.js +914 -0
- package/esm/compute/cli/commands/platform-proposals-chunk.d.ts +8 -0
- package/esm/compute/cli/commands/platform-proposals-chunk.js +421 -0
- package/esm/compute/cli/commands/platform-registry-binding.d.ts +8 -0
- package/esm/compute/cli/commands/platform-registry-binding.js +478 -0
- package/esm/compute/cli/commands/platform-registry-grant.d.ts +8 -0
- package/esm/compute/cli/commands/platform-registry-grant.js +390 -0
- package/esm/compute/cli/commands/platform-registry.d.ts +8 -0
- package/esm/compute/cli/commands/platform-registry.js +568 -0
- package/esm/compute/cli/commands/platform-repository-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-repository-event.js +436 -0
- package/esm/compute/cli/commands/platform-repository-required-check.d.ts +8 -0
- package/esm/compute/cli/commands/platform-repository-required-check.js +260 -0
- package/esm/compute/cli/commands/platform-repository-workflow.d.ts +8 -0
- package/esm/compute/cli/commands/platform-repository-workflow.js +542 -0
- package/esm/compute/cli/commands/platform-repository.d.ts +8 -0
- package/esm/compute/cli/commands/platform-repository.js +697 -0
- package/esm/compute/cli/commands/platform-resource-declared-capacity.js +11 -0
- package/esm/compute/cli/commands/platform-resource-definition.js +44 -0
- package/esm/compute/cli/commands/platform-resource-installation.js +44 -0
- package/esm/compute/cli/commands/platform-resource-observed-storage.d.ts +8 -0
- package/esm/compute/cli/commands/platform-resource-observed-storage.js +300 -0
- package/esm/compute/cli/commands/platform-resource.js +67 -0
- package/esm/compute/cli/commands/platform-resources-health.js +44 -0
- package/esm/compute/cli/commands/platform-webhook-endpoint.js +44 -0
- package/esm/compute/cli/commands/proposal-comment.d.ts +8 -0
- package/esm/compute/cli/commands/proposal-comment.js +599 -0
- package/esm/compute/cli/commands/proposal-file-view.d.ts +8 -0
- package/esm/compute/cli/commands/proposal-file-view.js +367 -0
- package/esm/compute/cli/commands/proposal-reaction.d.ts +8 -0
- package/esm/compute/cli/commands/proposal-reaction.js +347 -0
- package/esm/compute/cli/commands/proposal-review.d.ts +8 -0
- package/esm/compute/cli/commands/proposal-review.js +447 -0
- package/esm/compute/cli/commands/proposal.d.ts +8 -0
- package/esm/compute/cli/commands/proposal.js +915 -0
- package/esm/compute/cli/commands/proposals-chunk.d.ts +8 -0
- package/esm/compute/cli/commands/proposals-chunk.js +444 -0
- package/esm/compute/cli/commands/provision-bucket.js +1 -1
- package/esm/compute/cli/commands/registry-binding.d.ts +8 -0
- package/esm/compute/cli/commands/registry-binding.js +498 -0
- package/esm/compute/cli/commands/registry-grant.d.ts +8 -0
- package/esm/compute/cli/commands/registry-grant.js +410 -0
- package/esm/compute/cli/commands/registry.d.ts +8 -0
- package/esm/compute/cli/commands/registry.js +588 -0
- package/esm/compute/cli/commands/repository-event.d.ts +8 -0
- package/esm/compute/cli/commands/repository-event.js +437 -0
- package/esm/compute/cli/commands/repository-required-check.d.ts +8 -0
- package/esm/compute/cli/commands/repository-required-check.js +280 -0
- package/esm/compute/cli/commands/repository-workflow.d.ts +8 -0
- package/esm/compute/cli/commands/repository-workflow.js +543 -0
- package/esm/compute/cli/commands/repository.d.ts +8 -0
- package/esm/compute/cli/commands/repository.js +718 -0
- package/esm/compute/cli/commands/resource-declared-capacity.js +11 -0
- package/esm/compute/cli/commands/resource-definition.js +44 -0
- package/esm/compute/cli/commands/resource-installation.js +44 -0
- package/esm/compute/cli/commands/resource-observed-storage.d.ts +8 -0
- package/esm/compute/cli/commands/resource-observed-storage.js +300 -0
- package/esm/compute/cli/commands/resource.js +67 -0
- package/esm/compute/cli/commands/resources-health.js +44 -0
- package/esm/compute/cli/commands/set-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/set-and-commit.js +34 -0
- package/esm/compute/cli/commands/set-many-and-commit.d.ts +8 -0
- package/esm/compute/cli/commands/set-many-and-commit.js +34 -0
- package/esm/compute/cli/commands/webhook-endpoint.js +44 -0
- package/esm/compute/cli/commands.js +163 -1
- package/esm/compute/cli/embedder.d.ts +61 -0
- package/esm/compute/cli/embedder.js +136 -0
- package/esm/compute/cli/executor.d.ts +205 -0
- package/esm/compute/orm/index.d.ts +255 -0
- package/esm/compute/orm/index.js +100 -0
- package/esm/compute/orm/input-types.d.ts +23633 -8530
- package/esm/compute/orm/input-types.js +78 -0
- package/esm/compute/orm/models/build.d.ts +54 -0
- package/esm/compute/orm/models/build.js +100 -0
- package/esm/compute/orm/models/buildStep.d.ts +56 -0
- package/esm/compute/orm/models/buildStep.js +103 -0
- package/esm/compute/orm/models/builderBinding.d.ts +54 -0
- package/esm/compute/orm/models/builderBinding.js +100 -0
- package/esm/compute/orm/models/contentPreset.d.ts +54 -0
- package/esm/compute/orm/models/contentPreset.js +100 -0
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/esm/compute/orm/models/databaseFunctionGraph.js +100 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecution.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.js +103 -0
- package/esm/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/esm/compute/orm/models/databaseGraphCommit.js +103 -0
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/esm/compute/orm/models/databaseGraphObject.js +93 -0
- package/esm/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/esm/compute/orm/models/databaseGraphRef.js +103 -0
- package/esm/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/esm/compute/orm/models/databaseGraphStore.js +100 -0
- package/esm/compute/orm/models/image.d.ts +54 -0
- package/esm/compute/orm/models/image.js +100 -0
- package/esm/compute/orm/models/imageGrant.d.ts +54 -0
- package/esm/compute/orm/models/imageGrant.js +100 -0
- package/esm/compute/orm/models/index.d.ts +50 -0
- package/esm/compute/orm/models/index.js +50 -0
- package/esm/compute/orm/models/platformBuild.d.ts +54 -0
- package/esm/compute/orm/models/platformBuild.js +100 -0
- package/esm/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/esm/compute/orm/models/platformBuildStep.js +103 -0
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformBuilderBinding.js +100 -0
- package/esm/compute/orm/models/platformImage.d.ts +54 -0
- package/esm/compute/orm/models/platformImage.js +100 -0
- package/esm/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformImageGrant.js +100 -0
- package/esm/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sResourceKind.js +100 -0
- package/esm/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sSpecRule.js +100 -0
- package/esm/compute/orm/models/platformProposal.d.ts +54 -0
- package/esm/compute/orm/models/platformProposal.js +100 -0
- package/esm/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalComment.js +100 -0
- package/esm/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalFileView.js +100 -0
- package/esm/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReaction.js +100 -0
- package/esm/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReview.js +100 -0
- package/esm/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalsChunk.js +100 -0
- package/esm/compute/orm/models/platformRegistry.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistry.js +100 -0
- package/esm/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryBinding.js +100 -0
- package/esm/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryGrant.js +100 -0
- package/esm/compute/orm/models/platformRepository.d.ts +54 -0
- package/esm/compute/orm/models/platformRepository.js +100 -0
- package/esm/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryEvent.js +100 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.js +100 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.js +100 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.js +55 -0
- package/esm/compute/orm/models/proposal.d.ts +54 -0
- package/esm/compute/orm/models/proposal.js +100 -0
- package/esm/compute/orm/models/proposalComment.d.ts +54 -0
- package/esm/compute/orm/models/proposalComment.js +100 -0
- package/esm/compute/orm/models/proposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/proposalFileView.js +100 -0
- package/esm/compute/orm/models/proposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/proposalReaction.js +100 -0
- package/esm/compute/orm/models/proposalReview.d.ts +54 -0
- package/esm/compute/orm/models/proposalReview.js +100 -0
- package/esm/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/proposalsChunk.js +100 -0
- package/esm/compute/orm/models/registry.d.ts +54 -0
- package/esm/compute/orm/models/registry.js +100 -0
- package/esm/compute/orm/models/registryBinding.d.ts +54 -0
- package/esm/compute/orm/models/registryBinding.js +100 -0
- package/esm/compute/orm/models/registryGrant.d.ts +54 -0
- package/esm/compute/orm/models/registryGrant.js +100 -0
- package/esm/compute/orm/models/repository.d.ts +54 -0
- package/esm/compute/orm/models/repository.js +100 -0
- package/esm/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/esm/compute/orm/models/repositoryEvent.js +100 -0
- package/esm/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/esm/compute/orm/models/repositoryRequiredCheck.js +100 -0
- package/esm/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/esm/compute/orm/models/repositoryWorkflow.js +100 -0
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/resourceObservedStorage.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +246 -5
- package/esm/compute/orm/mutation/index.js +360 -0
- package/esm/compute/orm/query/index.d.ts +8 -0
- package/esm/compute/orm/query/index.js +12 -0
- package/esm/config/cli/commands/app-internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/app-internal-secret.js +191 -0
- package/esm/config/cli/commands/app-internal-secrets-del.d.ts +8 -0
- package/esm/config/cli/commands/app-internal-secrets-del.js +34 -0
- package/esm/config/cli/commands/app-internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/app-internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/app-internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/app-internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/app-internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/app-internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/config.js +44 -0
- package/esm/config/cli/commands/internal-config.d.ts +8 -0
- package/esm/config/cli/commands/internal-config.js +414 -0
- package/esm/config/cli/commands/internal-secret.d.ts +8 -0
- package/esm/config/cli/commands/internal-secret.js +202 -0
- package/esm/config/cli/commands/internal-secrets-del.d.ts +8 -0
- package/esm/config/cli/commands/internal-secrets-del.js +34 -0
- package/esm/config/cli/commands/internal-secrets-remove-array.d.ts +8 -0
- package/esm/config/cli/commands/internal-secrets-remove-array.js +34 -0
- package/esm/config/cli/commands/internal-secrets-rotate.d.ts +8 -0
- package/esm/config/cli/commands/internal-secrets-rotate.js +34 -0
- package/esm/config/cli/commands/internal-secrets-set.d.ts +8 -0
- package/esm/config/cli/commands/internal-secrets-set.js +34 -0
- package/esm/config/cli/commands/platform-config.js +44 -0
- package/esm/config/cli/commands/platform-internal-config.d.ts +8 -0
- package/esm/config/cli/commands/platform-internal-config.js +394 -0
- package/esm/config/cli/commands/platform-internal-secret.js +0 -11
- package/esm/config/cli/commands/provision-bucket.js +1 -1
- package/esm/config/cli/commands.js +25 -1
- package/esm/config/cli/executor.d.ts +44 -0
- package/esm/config/orm/index.d.ts +48 -0
- package/esm/config/orm/index.js +8 -0
- package/esm/config/orm/input-types.d.ts +711 -41
- package/esm/config/orm/models/appInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/appInternalSecret.js +76 -0
- package/esm/config/orm/models/index.d.ts +4 -0
- package/esm/config/orm/models/index.js +4 -0
- package/esm/config/orm/models/internalConfig.d.ts +54 -0
- package/esm/config/orm/models/internalConfig.js +100 -0
- package/esm/config/orm/models/internalSecret.d.ts +36 -0
- package/esm/config/orm/models/internalSecret.js +76 -0
- package/esm/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/esm/config/orm/models/platformInternalConfig.js +100 -0
- package/esm/config/orm/mutation/index.d.ts +70 -5
- package/esm/config/orm/mutation/index.js +96 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/infra/cli/commands/content-preset.d.ts +8 -0
- package/esm/infra/cli/commands/content-preset.js +390 -0
- package/esm/infra/cli/commands/namespace.js +22 -0
- package/esm/infra/cli/commands/platform-infra-insert-nodes-at-paths.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-insert-nodes-at-paths.js +34 -0
- package/esm/infra/cli/commands/platform-infra-set-and-commit.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-set-and-commit.js +34 -0
- package/esm/infra/cli/commands/platform-infra-set-many-and-commit.d.ts +8 -0
- package/esm/infra/cli/commands/platform-infra-set-many-and-commit.js +34 -0
- package/esm/infra/cli/commands/platform-namespace.js +22 -0
- package/esm/infra/cli/commands/provision-bucket.js +1 -1
- package/esm/infra/cli/commands.js +9 -1
- package/esm/infra/cli/executor.d.ts +16 -0
- package/esm/infra/orm/index.d.ts +17 -0
- package/esm/infra/orm/index.js +2 -0
- package/esm/infra/orm/input-types.d.ts +297 -36
- package/esm/infra/orm/models/contentPreset.d.ts +54 -0
- package/esm/infra/orm/models/contentPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +1 -0
- package/esm/infra/orm/models/index.js +1 -0
- package/esm/infra/orm/mutation/index.d.ts +30 -5
- package/esm/infra/orm/mutation/index.js +36 -0
- package/esm/modules/cli/commands/agent-module.js +290 -26
- package/esm/modules/cli/commands/api-surface-module.js +12 -12
- package/esm/modules/cli/commands/app-module.js +34 -12
- package/esm/modules/cli/commands/billing-module.js +78 -12
- package/esm/modules/cli/commands/billing-provider-module.js +902 -0
- package/esm/modules/cli/commands/capabilities-module.d.ts +8 -0
- package/esm/modules/cli/commands/capabilities-module.js +666 -0
- package/esm/modules/cli/commands/catalog-module.js +232 -12
- package/esm/modules/cli/commands/cluster-module.d.ts +8 -0
- package/esm/modules/cli/commands/cluster-module.js +778 -0
- package/esm/modules/cli/commands/compute-log-module.js +22 -44
- package/esm/modules/cli/commands/construct-blueprint.js +1 -1
- package/esm/modules/cli/commands/content-preset-module.d.ts +8 -0
- package/esm/modules/cli/commands/content-preset-module.js +534 -0
- package/esm/modules/cli/commands/data-capabilities-field.d.ts +8 -0
- package/esm/modules/cli/commands/data-capabilities-field.js +420 -0
- package/esm/modules/cli/commands/database-provision-module.js +22 -0
- package/esm/modules/cli/commands/database-settings-module.js +12 -12
- package/esm/modules/cli/commands/db-usage-module.js +12 -12
- package/esm/modules/cli/commands/domain-module.js +12 -12
- package/esm/modules/cli/commands/email-sender-module.d.ts +8 -0
- package/esm/modules/cli/commands/email-sender-module.js +622 -0
- package/esm/modules/cli/commands/events-module.js +144 -12
- package/esm/modules/cli/commands/file-ref-field.d.ts +8 -0
- package/esm/modules/cli/commands/file-ref-field.js +376 -0
- package/esm/modules/cli/commands/function-deployment-module.js +12 -12
- package/esm/modules/cli/commands/function-invocation-module.js +12 -12
- package/esm/modules/cli/commands/function-module.js +34 -12
- package/esm/modules/cli/commands/graph-execution-module.js +12 -12
- package/esm/modules/cli/commands/graph-module.js +12 -12
- package/esm/modules/cli/commands/hierarchy-module.js +12 -12
- package/esm/modules/cli/commands/image-module.d.ts +8 -0
- package/esm/modules/cli/commands/image-module.js +688 -0
- package/esm/modules/cli/commands/inference-log-module.js +64 -42
- package/esm/modules/cli/commands/internal-config-module.d.ts +8 -0
- package/esm/modules/cli/commands/internal-config-module.js +534 -0
- package/esm/modules/cli/commands/k-8-s-admission-module.d.ts +8 -0
- package/esm/modules/cli/commands/k-8-s-admission-module.js +556 -0
- package/esm/modules/cli/commands/limits-module.js +22 -0
- package/esm/modules/cli/commands/machine-module.d.ts +8 -0
- package/esm/modules/cli/commands/machine-module.js +710 -0
- package/esm/modules/cli/commands/memberships-module.js +82 -82
- package/esm/modules/cli/commands/merkle-store-module.js +42 -20
- package/esm/modules/cli/commands/namespace-module.js +12 -12
- package/esm/modules/cli/commands/notifications-module.js +12 -12
- package/esm/modules/cli/commands/oauth-requests-module.d.ts +8 -0
- package/esm/modules/cli/commands/oauth-requests-module.js +446 -0
- package/esm/modules/cli/commands/pages-module.js +110 -0
- package/esm/modules/cli/commands/principal-auth-module.js +44 -0
- package/esm/modules/cli/commands/profiles-module.js +100 -56
- package/esm/modules/cli/commands/provision-bucket.js +1 -1
- package/esm/modules/cli/commands/rate-limit-meters-module.js +12 -12
- package/esm/modules/cli/commands/refusal-log-module.d.ts +8 -0
- package/esm/modules/cli/commands/refusal-log-module.js +688 -0
- package/esm/modules/cli/commands/repository-module.d.ts +8 -0
- package/esm/modules/cli/commands/repository-module.js +1062 -0
- package/esm/modules/cli/commands/resource-module.js +100 -12
- package/esm/modules/cli/commands/route-module.js +144 -12
- package/esm/modules/cli/commands/scope-types-module.d.ts +8 -0
- package/esm/modules/cli/commands/scope-types-module.js +294 -0
- package/esm/modules/cli/commands/secure-table-provision.js +44 -0
- package/esm/modules/cli/commands/site-surface-module.js +78 -12
- package/esm/modules/cli/commands/storage-log-module.js +22 -44
- package/esm/modules/cli/commands/storage-module.js +38 -16
- package/esm/modules/cli/commands/transfer-log-module.js +22 -44
- package/esm/modules/cli/commands/user-auth-module.js +88 -0
- package/esm/modules/cli/commands/user-settings-security-module.d.ts +8 -0
- package/esm/modules/cli/commands/user-settings-security-module.js +338 -0
- package/esm/modules/cli/commands/webhook-module.js +12 -12
- package/esm/modules/cli/commands.js +31 -25
- package/esm/modules/cli/executor.d.ts +15 -50
- package/esm/modules/orm/index.d.ts +30 -54
- package/esm/modules/orm/index.js +30 -9
- package/esm/modules/orm/input-types.d.ts +4996 -1448
- package/esm/modules/orm/input-types.js +7 -5
- package/esm/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/esm/modules/orm/models/capabilitiesModule.js +100 -0
- package/esm/modules/orm/models/clusterModule.d.ts +54 -0
- package/esm/modules/orm/models/clusterModule.js +100 -0
- package/esm/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/contentPresetModule.js +100 -0
- package/esm/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/esm/modules/orm/models/dataCapabilitiesField.js +100 -0
- package/esm/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/esm/modules/orm/models/emailSenderModule.js +100 -0
- package/esm/modules/orm/models/fileRefField.d.ts +54 -0
- package/esm/modules/orm/models/fileRefField.js +100 -0
- package/esm/modules/orm/models/imageModule.d.ts +54 -0
- package/esm/modules/orm/models/imageModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +15 -3
- package/esm/modules/orm/models/index.js +15 -3
- package/esm/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/internalConfigModule.js +100 -0
- package/esm/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/esm/modules/orm/models/k8sAdmissionModule.js +100 -0
- package/esm/modules/orm/models/machineModule.d.ts +54 -0
- package/esm/modules/orm/models/machineModule.js +100 -0
- package/esm/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/esm/modules/orm/models/oauthRequestsModule.js +100 -0
- package/esm/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/esm/modules/orm/models/refusalLogModule.js +100 -0
- package/esm/modules/orm/models/repositoryModule.d.ts +54 -0
- package/esm/modules/orm/models/repositoryModule.js +100 -0
- package/esm/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/esm/modules/orm/models/scopeTypesModule.js +100 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/esm/modules/orm/models/userSettingsSecurityModule.js +100 -0
- package/esm/modules/orm/mutation/index.d.ts +7 -90
- package/esm/modules/orm/mutation/index.js +0 -84
- package/esm/objects/cli/commands/insert-nodes-at-paths.d.ts +8 -0
- package/esm/objects/cli/commands/insert-nodes-at-paths.js +34 -0
- package/esm/objects/cli/commands/provision-bucket.js +1 -1
- package/esm/objects/cli/commands/set-and-commit.d.ts +8 -0
- package/esm/objects/cli/commands/set-and-commit.js +34 -0
- package/esm/objects/cli/commands/set-many-and-commit.d.ts +8 -0
- package/esm/objects/cli/commands/set-many-and-commit.js +34 -0
- package/esm/objects/cli/commands.js +7 -1
- package/esm/objects/cli/executor.d.ts +15 -0
- package/esm/objects/orm/index.d.ts +15 -0
- package/esm/objects/orm/input-types.d.ts +75 -18
- package/esm/objects/orm/mutation/index.d.ts +30 -5
- package/esm/objects/orm/mutation/index.js +36 -0
- package/esm/remote/cli/commands/auth.d.ts +8 -0
- package/esm/remote/cli/commands/auth.js +105 -0
- package/esm/remote/cli/commands/context.d.ts +8 -0
- package/esm/remote/cli/commands/context.js +156 -0
- package/esm/remote/cli/commands/machine-message.d.ts +8 -0
- package/esm/remote/cli/commands/machine-message.js +362 -0
- package/esm/remote/cli/commands/machine-session.d.ts +8 -0
- package/esm/remote/cli/commands/machine-session.js +745 -0
- package/esm/remote/cli/commands/machine.d.ts +8 -0
- package/esm/remote/cli/commands/machine.js +520 -0
- package/esm/remote/cli/commands/machines-enroll.d.ts +8 -0
- package/esm/remote/cli/commands/machines-enroll.js +34 -0
- package/esm/remote/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/remote/cli/commands/provision-bucket.js +34 -0
- package/esm/remote/cli/commands.d.ts +7 -0
- package/esm/remote/cli/commands.js +51 -0
- package/esm/remote/cli/executor.d.ts +18 -0
- package/esm/remote/cli/executor.js +37 -0
- package/esm/remote/cli/index.d.ts +1 -0
- package/esm/remote/cli/index.js +24 -0
- package/esm/remote/cli/utils.d.ts +88 -0
- package/esm/remote/cli/utils.js +281 -0
- package/esm/remote/index.d.ts +6 -0
- package/esm/remote/index.js +6 -0
- package/esm/remote/orm/client.d.ts +97 -0
- package/esm/remote/orm/client.js +155 -0
- package/esm/remote/orm/index.d.ts +50 -0
- package/esm/remote/orm/index.js +47 -0
- package/esm/remote/orm/input-types.d.ts +1482 -0
- package/esm/remote/orm/input-types.js +9 -0
- package/esm/remote/orm/models/index.d.ts +8 -0
- package/esm/remote/orm/models/index.js +8 -0
- package/esm/remote/orm/models/machine.d.ts +54 -0
- package/esm/remote/orm/models/machine.js +100 -0
- package/esm/remote/orm/models/machineMessage.d.ts +56 -0
- package/esm/remote/orm/models/machineMessage.js +103 -0
- package/esm/remote/orm/models/machineSession.d.ts +54 -0
- package/esm/remote/orm/models/machineSession.js +100 -0
- package/esm/remote/orm/mutation/index.d.ts +35 -0
- package/esm/remote/orm/mutation/index.js +30 -0
- package/esm/remote/orm/query-builder.d.ts +110 -0
- package/esm/remote/orm/query-builder.js +705 -0
- package/esm/remote/orm/realtime.d.ts +142 -0
- package/esm/remote/orm/realtime.js +100 -0
- package/esm/remote/orm/select-types.d.ts +125 -0
- package/esm/remote/orm/select-types.js +1 -0
- package/esm/remote/orm/types.d.ts +6 -0
- package/esm/remote/orm/types.js +7 -0
- package/esm/storage/cli/commands/auth.d.ts +8 -0
- package/esm/storage/cli/commands/auth.js +105 -0
- package/esm/storage/cli/commands/bucket.d.ts +8 -0
- package/esm/storage/cli/commands/bucket.js +522 -0
- package/esm/storage/cli/commands/context.d.ts +8 -0
- package/esm/storage/cli/commands/context.js +156 -0
- package/esm/storage/cli/commands/file.d.ts +8 -0
- package/esm/storage/cli/commands/file.js +500 -0
- package/esm/storage/cli/commands/files-rename.d.ts +8 -0
- package/esm/storage/cli/commands/files-rename.js +34 -0
- package/esm/storage/cli/commands/platform-bucket.d.ts +8 -0
- package/esm/storage/cli/commands/platform-bucket.js +502 -0
- package/esm/storage/cli/commands/platform-file.d.ts +8 -0
- package/esm/storage/cli/commands/platform-file.js +499 -0
- package/esm/storage/cli/commands/platform-files-rename.d.ts +8 -0
- package/esm/storage/cli/commands/platform-files-rename.js +34 -0
- package/esm/storage/cli/commands/provision-bucket.d.ts +8 -0
- package/esm/storage/cli/commands/provision-bucket.js +34 -0
- package/esm/storage/cli/commands/upload-file.d.ts +8 -0
- package/esm/storage/cli/commands/upload-file.js +34 -0
- package/esm/storage/cli/commands/upload-files.d.ts +8 -0
- package/esm/storage/cli/commands/upload-files.js +34 -0
- package/esm/storage/cli/commands/upload-platform-file.d.ts +8 -0
- package/esm/storage/cli/commands/upload-platform-file.js +34 -0
- package/esm/storage/cli/commands/upload-platform-files.d.ts +8 -0
- package/esm/storage/cli/commands/upload-platform-files.js +34 -0
- package/esm/storage/cli/commands.d.ts +7 -0
- package/esm/storage/cli/commands.js +63 -0
- package/esm/storage/cli/executor.d.ts +44 -0
- package/esm/storage/cli/executor.js +37 -0
- package/esm/storage/cli/index.d.ts +1 -0
- package/esm/storage/cli/index.js +24 -0
- package/esm/storage/cli/utils.d.ts +88 -0
- package/esm/storage/cli/utils.js +281 -0
- package/esm/storage/index.d.ts +6 -0
- package/esm/storage/index.js +6 -0
- package/esm/storage/orm/client.d.ts +97 -0
- package/esm/storage/orm/client.js +155 -0
- package/esm/storage/orm/index.d.ts +77 -0
- package/esm/storage/orm/index.js +49 -0
- package/esm/storage/orm/input-types.d.ts +2076 -0
- package/esm/storage/orm/input-types.js +11 -0
- package/esm/storage/orm/models/bucket.d.ts +54 -0
- package/esm/storage/orm/models/bucket.js +100 -0
- package/esm/storage/orm/models/file.d.ts +54 -0
- package/esm/storage/orm/models/file.js +100 -0
- package/esm/storage/orm/models/index.d.ts +9 -0
- package/esm/storage/orm/models/index.js +9 -0
- package/esm/storage/orm/models/platformBucket.d.ts +54 -0
- package/esm/storage/orm/models/platformBucket.js +100 -0
- package/esm/storage/orm/models/platformFile.d.ts +54 -0
- package/esm/storage/orm/models/platformFile.js +100 -0
- package/esm/storage/orm/mutation/index.d.ts +91 -0
- package/esm/storage/orm/mutation/index.js +90 -0
- package/esm/storage/orm/query-builder.d.ts +110 -0
- package/esm/storage/orm/query-builder.js +705 -0
- package/esm/storage/orm/realtime.d.ts +142 -0
- package/esm/storage/orm/realtime.js +100 -0
- package/esm/storage/orm/select-types.d.ts +125 -0
- package/esm/storage/orm/select-types.js +1 -0
- package/esm/storage/orm/types.d.ts +6 -0
- package/esm/storage/orm/types.js +7 -0
- package/esm/usage/cli/commands/capture-app-limit-defaults.d.ts +8 -0
- package/esm/usage/cli/commands/capture-app-limit-defaults.js +19 -0
- package/esm/usage/cli/commands/capture-org-limit-defaults.d.ts +8 -0
- package/esm/usage/cli/commands/capture-org-limit-defaults.js +19 -0
- package/esm/usage/cli/commands/provision-bucket.js +1 -1
- package/esm/usage/cli/commands.js +5 -1
- package/esm/usage/cli/executor.d.ts +12 -0
- package/esm/usage/orm/index.d.ts +13 -0
- package/esm/usage/orm/index.js +3 -0
- package/esm/usage/orm/input-types.d.ts +18 -25
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/esm/usage/orm/query/index.d.ts +19 -0
- package/esm/usage/orm/query/index.js +20 -0
- package/index.d.ts +2 -0
- package/index.js +3 -1
- package/infra/cli/commands/content-preset.d.ts +8 -0
- package/infra/cli/commands/content-preset.js +392 -0
- package/infra/cli/commands/namespace.js +22 -0
- package/infra/cli/commands/platform-infra-insert-nodes-at-paths.d.ts +8 -0
- package/infra/cli/commands/platform-infra-insert-nodes-at-paths.js +36 -0
- package/infra/cli/commands/platform-infra-set-and-commit.d.ts +8 -0
- package/infra/cli/commands/platform-infra-set-and-commit.js +36 -0
- package/infra/cli/commands/platform-infra-set-many-and-commit.d.ts +8 -0
- package/infra/cli/commands/platform-infra-set-many-and-commit.js +36 -0
- package/infra/cli/commands/platform-namespace.js +22 -0
- package/infra/cli/commands/provision-bucket.js +1 -1
- package/infra/cli/commands.js +9 -1
- package/infra/cli/executor.d.ts +16 -0
- package/infra/orm/index.d.ts +17 -0
- package/infra/orm/index.js +2 -0
- package/infra/orm/input-types.d.ts +297 -36
- package/infra/orm/models/contentPreset.d.ts +54 -0
- package/infra/orm/models/contentPreset.js +104 -0
- package/infra/orm/models/index.d.ts +1 -0
- package/infra/orm/models/index.js +3 -1
- package/infra/orm/mutation/index.d.ts +30 -5
- package/infra/orm/mutation/index.js +36 -0
- package/modules/cli/commands/agent-module.js +290 -26
- package/modules/cli/commands/api-surface-module.js +12 -12
- package/modules/cli/commands/app-module.js +34 -12
- package/modules/cli/commands/billing-module.js +78 -12
- package/modules/cli/commands/billing-provider-module.js +902 -0
- package/modules/cli/commands/capabilities-module.d.ts +8 -0
- package/modules/cli/commands/capabilities-module.js +668 -0
- package/modules/cli/commands/catalog-module.js +232 -12
- package/modules/cli/commands/cluster-module.d.ts +8 -0
- package/modules/cli/commands/cluster-module.js +780 -0
- package/modules/cli/commands/compute-log-module.js +22 -44
- package/modules/cli/commands/construct-blueprint.js +1 -1
- package/modules/cli/commands/content-preset-module.d.ts +8 -0
- package/modules/cli/commands/content-preset-module.js +536 -0
- package/modules/cli/commands/data-capabilities-field.d.ts +8 -0
- package/modules/cli/commands/data-capabilities-field.js +422 -0
- package/modules/cli/commands/database-provision-module.js +22 -0
- package/modules/cli/commands/database-settings-module.js +12 -12
- package/modules/cli/commands/db-usage-module.js +12 -12
- package/modules/cli/commands/domain-module.js +12 -12
- package/modules/cli/commands/email-sender-module.d.ts +8 -0
- package/modules/cli/commands/email-sender-module.js +624 -0
- package/modules/cli/commands/events-module.js +144 -12
- package/modules/cli/commands/file-ref-field.d.ts +8 -0
- package/modules/cli/commands/file-ref-field.js +378 -0
- package/modules/cli/commands/function-deployment-module.js +12 -12
- package/modules/cli/commands/function-invocation-module.js +12 -12
- package/modules/cli/commands/function-module.js +34 -12
- package/modules/cli/commands/graph-execution-module.js +12 -12
- package/modules/cli/commands/graph-module.js +12 -12
- package/modules/cli/commands/hierarchy-module.js +12 -12
- package/modules/cli/commands/image-module.d.ts +8 -0
- package/modules/cli/commands/image-module.js +690 -0
- package/modules/cli/commands/inference-log-module.js +64 -42
- package/modules/cli/commands/internal-config-module.d.ts +8 -0
- package/modules/cli/commands/internal-config-module.js +536 -0
- package/modules/cli/commands/k-8-s-admission-module.d.ts +8 -0
- package/modules/cli/commands/k-8-s-admission-module.js +558 -0
- package/modules/cli/commands/limits-module.js +22 -0
- package/modules/cli/commands/machine-module.d.ts +8 -0
- package/modules/cli/commands/machine-module.js +712 -0
- package/modules/cli/commands/memberships-module.js +82 -82
- package/modules/cli/commands/merkle-store-module.js +42 -20
- package/modules/cli/commands/namespace-module.js +12 -12
- package/modules/cli/commands/notifications-module.js +12 -12
- package/modules/cli/commands/oauth-requests-module.d.ts +8 -0
- package/modules/cli/commands/oauth-requests-module.js +448 -0
- package/modules/cli/commands/pages-module.js +110 -0
- package/modules/cli/commands/principal-auth-module.js +44 -0
- package/modules/cli/commands/profiles-module.js +100 -56
- package/modules/cli/commands/provision-bucket.js +1 -1
- package/modules/cli/commands/rate-limit-meters-module.js +12 -12
- package/modules/cli/commands/refusal-log-module.d.ts +8 -0
- package/modules/cli/commands/refusal-log-module.js +690 -0
- package/modules/cli/commands/repository-module.d.ts +8 -0
- package/modules/cli/commands/repository-module.js +1064 -0
- package/modules/cli/commands/resource-module.js +100 -12
- package/modules/cli/commands/route-module.js +144 -12
- package/modules/cli/commands/scope-types-module.d.ts +8 -0
- package/modules/cli/commands/scope-types-module.js +296 -0
- package/modules/cli/commands/secure-table-provision.js +44 -0
- package/modules/cli/commands/site-surface-module.js +78 -12
- package/modules/cli/commands/storage-log-module.js +22 -44
- package/modules/cli/commands/storage-module.js +38 -16
- package/modules/cli/commands/transfer-log-module.js +22 -44
- package/modules/cli/commands/user-auth-module.js +88 -0
- package/modules/cli/commands/user-settings-security-module.d.ts +8 -0
- package/modules/cli/commands/user-settings-security-module.js +340 -0
- package/modules/cli/commands/webhook-module.js +12 -12
- package/modules/cli/commands.js +31 -25
- package/modules/cli/executor.d.ts +15 -50
- package/modules/orm/index.d.ts +30 -54
- package/modules/orm/index.js +31 -11
- package/modules/orm/input-types.d.ts +4996 -1448
- package/modules/orm/input-types.js +7 -5
- package/modules/orm/models/capabilitiesModule.d.ts +54 -0
- package/modules/orm/models/capabilitiesModule.js +104 -0
- package/modules/orm/models/clusterModule.d.ts +54 -0
- package/modules/orm/models/clusterModule.js +104 -0
- package/modules/orm/models/contentPresetModule.d.ts +54 -0
- package/modules/orm/models/contentPresetModule.js +104 -0
- package/modules/orm/models/dataCapabilitiesField.d.ts +54 -0
- package/modules/orm/models/dataCapabilitiesField.js +104 -0
- package/modules/orm/models/emailSenderModule.d.ts +54 -0
- package/modules/orm/models/emailSenderModule.js +104 -0
- package/modules/orm/models/fileRefField.d.ts +54 -0
- package/modules/orm/models/fileRefField.js +104 -0
- package/modules/orm/models/imageModule.d.ts +54 -0
- package/modules/orm/models/imageModule.js +104 -0
- package/modules/orm/models/index.d.ts +15 -3
- package/modules/orm/models/index.js +32 -8
- package/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/modules/orm/models/internalConfigModule.js +104 -0
- package/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/modules/orm/models/k8sAdmissionModule.js +104 -0
- package/modules/orm/models/machineModule.d.ts +54 -0
- package/modules/orm/models/machineModule.js +104 -0
- package/modules/orm/models/oauthRequestsModule.d.ts +54 -0
- package/modules/orm/models/oauthRequestsModule.js +104 -0
- package/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/modules/orm/models/refusalLogModule.js +104 -0
- package/modules/orm/models/repositoryModule.d.ts +54 -0
- package/modules/orm/models/repositoryModule.js +104 -0
- package/modules/orm/models/scopeTypesModule.d.ts +54 -0
- package/modules/orm/models/scopeTypesModule.js +104 -0
- package/modules/orm/models/userSettingsSecurityModule.d.ts +54 -0
- package/modules/orm/models/userSettingsSecurityModule.js +104 -0
- package/modules/orm/mutation/index.d.ts +7 -90
- package/modules/orm/mutation/index.js +0 -84
- package/objects/cli/commands/insert-nodes-at-paths.d.ts +8 -0
- package/objects/cli/commands/insert-nodes-at-paths.js +36 -0
- package/objects/cli/commands/provision-bucket.js +1 -1
- package/objects/cli/commands/set-and-commit.d.ts +8 -0
- package/objects/cli/commands/set-and-commit.js +36 -0
- package/objects/cli/commands/set-many-and-commit.d.ts +8 -0
- package/objects/cli/commands/set-many-and-commit.js +36 -0
- package/objects/cli/commands.js +7 -1
- package/objects/cli/executor.d.ts +15 -0
- package/objects/orm/index.d.ts +15 -0
- package/objects/orm/input-types.d.ts +75 -18
- package/objects/orm/mutation/index.d.ts +30 -5
- package/objects/orm/mutation/index.js +36 -0
- package/package.json +5 -5
- package/remote/cli/commands/auth.d.ts +8 -0
- package/remote/cli/commands/auth.js +107 -0
- package/remote/cli/commands/context.d.ts +8 -0
- package/remote/cli/commands/context.js +158 -0
- package/remote/cli/commands/machine-message.d.ts +8 -0
- package/remote/cli/commands/machine-message.js +364 -0
- package/remote/cli/commands/machine-session.d.ts +8 -0
- package/remote/cli/commands/machine-session.js +747 -0
- package/remote/cli/commands/machine.d.ts +8 -0
- package/remote/cli/commands/machine.js +522 -0
- package/remote/cli/commands/machines-enroll.d.ts +8 -0
- package/remote/cli/commands/machines-enroll.js +36 -0
- package/remote/cli/commands/provision-bucket.d.ts +8 -0
- package/remote/cli/commands/provision-bucket.js +36 -0
- package/remote/cli/commands.d.ts +7 -0
- package/remote/cli/commands.js +58 -0
- package/remote/cli/executor.d.ts +18 -0
- package/remote/cli/executor.js +42 -0
- package/remote/cli/index.d.ts +1 -0
- package/remote/cli/index.js +26 -0
- package/remote/cli/utils.d.ts +88 -0
- package/remote/cli/utils.js +297 -0
- package/remote/index.d.ts +6 -0
- package/remote/index.js +22 -0
- package/remote/orm/client.d.ts +97 -0
- package/remote/orm/client.js +162 -0
- package/remote/orm/index.d.ts +50 -0
- package/remote/orm/index.js +69 -0
- package/remote/orm/input-types.d.ts +1482 -0
- package/remote/orm/input-types.js +12 -0
- package/remote/orm/models/index.d.ts +8 -0
- package/remote/orm/models/index.js +14 -0
- package/remote/orm/models/machine.d.ts +54 -0
- package/remote/orm/models/machine.js +104 -0
- package/remote/orm/models/machineMessage.d.ts +56 -0
- package/remote/orm/models/machineMessage.js +107 -0
- package/remote/orm/models/machineSession.d.ts +54 -0
- package/remote/orm/models/machineSession.js +104 -0
- package/remote/orm/mutation/index.d.ts +35 -0
- package/remote/orm/mutation/index.js +33 -0
- package/remote/orm/query-builder.d.ts +110 -0
- package/remote/orm/query-builder.js +757 -0
- package/remote/orm/realtime.d.ts +142 -0
- package/remote/orm/realtime.js +104 -0
- package/remote/orm/select-types.d.ts +125 -0
- package/remote/orm/select-types.js +2 -0
- package/remote/orm/types.d.ts +6 -0
- package/remote/orm/types.js +23 -0
- package/storage/cli/commands/auth.d.ts +8 -0
- package/storage/cli/commands/auth.js +107 -0
- package/storage/cli/commands/bucket.d.ts +8 -0
- package/storage/cli/commands/bucket.js +524 -0
- package/storage/cli/commands/context.d.ts +8 -0
- package/storage/cli/commands/context.js +158 -0
- package/storage/cli/commands/file.d.ts +8 -0
- package/storage/cli/commands/file.js +502 -0
- package/storage/cli/commands/files-rename.d.ts +8 -0
- package/storage/cli/commands/files-rename.js +36 -0
- package/storage/cli/commands/platform-bucket.d.ts +8 -0
- package/storage/cli/commands/platform-bucket.js +504 -0
- package/storage/cli/commands/platform-file.d.ts +8 -0
- package/storage/cli/commands/platform-file.js +501 -0
- package/storage/cli/commands/platform-files-rename.d.ts +8 -0
- package/storage/cli/commands/platform-files-rename.js +36 -0
- package/storage/cli/commands/provision-bucket.d.ts +8 -0
- package/storage/cli/commands/provision-bucket.js +36 -0
- package/storage/cli/commands/upload-file.d.ts +8 -0
- package/storage/cli/commands/upload-file.js +36 -0
- package/storage/cli/commands/upload-files.d.ts +8 -0
- package/storage/cli/commands/upload-files.js +36 -0
- package/storage/cli/commands/upload-platform-file.d.ts +8 -0
- package/storage/cli/commands/upload-platform-file.js +36 -0
- package/storage/cli/commands/upload-platform-files.d.ts +8 -0
- package/storage/cli/commands/upload-platform-files.js +36 -0
- package/storage/cli/commands.d.ts +7 -0
- package/storage/cli/commands.js +70 -0
- package/storage/cli/executor.d.ts +44 -0
- package/storage/cli/executor.js +42 -0
- package/storage/cli/index.d.ts +1 -0
- package/storage/cli/index.js +26 -0
- package/storage/cli/utils.d.ts +88 -0
- package/storage/cli/utils.js +297 -0
- package/storage/index.d.ts +6 -0
- package/storage/index.js +22 -0
- package/storage/orm/client.d.ts +97 -0
- package/storage/orm/client.js +162 -0
- package/storage/orm/index.d.ts +77 -0
- package/storage/orm/index.js +71 -0
- package/storage/orm/input-types.d.ts +2076 -0
- package/storage/orm/input-types.js +14 -0
- package/storage/orm/models/bucket.d.ts +54 -0
- package/storage/orm/models/bucket.js +104 -0
- package/storage/orm/models/file.d.ts +54 -0
- package/storage/orm/models/file.js +104 -0
- package/storage/orm/models/index.d.ts +9 -0
- package/storage/orm/models/index.js +16 -0
- package/storage/orm/models/platformBucket.d.ts +54 -0
- package/storage/orm/models/platformBucket.js +104 -0
- package/storage/orm/models/platformFile.d.ts +54 -0
- package/storage/orm/models/platformFile.js +104 -0
- package/storage/orm/mutation/index.d.ts +91 -0
- package/storage/orm/mutation/index.js +93 -0
- package/storage/orm/query-builder.d.ts +110 -0
- package/storage/orm/query-builder.js +757 -0
- package/storage/orm/realtime.d.ts +142 -0
- package/storage/orm/realtime.js +104 -0
- package/storage/orm/select-types.d.ts +125 -0
- package/storage/orm/select-types.js +2 -0
- package/storage/orm/types.d.ts +6 -0
- package/storage/orm/types.js +23 -0
- package/usage/cli/commands/capture-app-limit-defaults.d.ts +8 -0
- package/usage/cli/commands/capture-app-limit-defaults.js +21 -0
- package/usage/cli/commands/capture-org-limit-defaults.d.ts +8 -0
- package/usage/cli/commands/capture-org-limit-defaults.js +21 -0
- package/usage/cli/commands/provision-bucket.js +1 -1
- package/usage/cli/commands.js +5 -1
- package/usage/cli/executor.d.ts +12 -0
- package/usage/orm/index.d.ts +13 -0
- package/usage/orm/index.js +5 -1
- package/usage/orm/input-types.d.ts +18 -25
- package/usage/orm/mutation/index.d.ts +5 -4
- package/usage/orm/query/index.d.ts +19 -0
- package/usage/orm/query/index.js +23 -0
- package/admin/cli/commands/app-permission-default-grant.d.ts +0 -8
- package/admin/cli/commands/app-permission-default-grant.js +0 -286
- package/admin/cli/commands/app-permission-default-permission.d.ts +0 -8
- package/admin/cli/commands/app-permission-default-permission.js +0 -242
- package/admin/cli/commands/app-permission-default.d.ts +0 -8
- package/admin/cli/commands/app-permission-default.js +0 -232
- package/admin/cli/commands/app-permission.d.ts +0 -8
- package/admin/cli/commands/app-permission.js +0 -298
- package/admin/cli/commands/app-permissions-get-by-mask.d.ts +0 -8
- package/admin/cli/commands/app-permissions-get-by-mask.js +0 -49
- package/admin/cli/commands/app-permissions-get-mask-by-names.d.ts +0 -8
- package/admin/cli/commands/app-permissions-get-mask-by-names.js +0 -30
- package/admin/cli/commands/app-permissions-get-mask.d.ts +0 -8
- package/admin/cli/commands/app-permissions-get-mask.js +0 -30
- package/admin/cli/commands/app-permissions-get-padded-mask.d.ts +0 -8
- package/admin/cli/commands/app-permissions-get-padded-mask.js +0 -30
- package/admin/cli/commands/org-permission-default-grant.d.ts +0 -8
- package/admin/cli/commands/org-permission-default-grant.js +0 -306
- package/admin/cli/commands/org-permission-default-permission.d.ts +0 -8
- package/admin/cli/commands/org-permission-default-permission.js +0 -262
- package/admin/cli/commands/org-permission-default.d.ts +0 -8
- package/admin/cli/commands/org-permission-default.js +0 -252
- package/admin/cli/commands/org-permission.d.ts +0 -8
- package/admin/cli/commands/org-permission.js +0 -298
- package/admin/cli/commands/org-permissions-get-by-mask.d.ts +0 -8
- package/admin/cli/commands/org-permissions-get-by-mask.js +0 -49
- package/admin/cli/commands/org-permissions-get-mask-by-names.d.ts +0 -8
- package/admin/cli/commands/org-permissions-get-mask-by-names.js +0 -30
- package/admin/cli/commands/org-permissions-get-mask.d.ts +0 -8
- package/admin/cli/commands/org-permissions-get-mask.js +0 -30
- package/admin/cli/commands/org-permissions-get-padded-mask.d.ts +0 -8
- package/admin/cli/commands/org-permissions-get-padded-mask.js +0 -30
- package/admin/orm/models/appPermission.d.ts +0 -54
- package/admin/orm/models/appPermission.js +0 -104
- package/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/admin/orm/models/appPermissionDefault.js +0 -104
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultGrant.js +0 -104
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/admin/orm/models/appPermissionDefaultPermission.js +0 -104
- package/admin/orm/models/orgPermission.d.ts +0 -54
- package/admin/orm/models/orgPermission.js +0 -104
- package/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefault.js +0 -104
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultGrant.js +0 -104
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/admin/orm/models/orgPermissionDefaultPermission.js +0 -104
- package/api/cli/commands/apis.d.ts +0 -8
- package/api/cli/commands/apis.js +0 -372
- package/api/cli/commands/http-route.d.ts +0 -8
- package/api/cli/commands/http-route.js +0 -434
- package/api/cli/commands/platform-apis.d.ts +0 -8
- package/api/cli/commands/platform-apis.js +0 -352
- package/api/cli/commands/resolve-http-route.d.ts +0 -8
- package/api/cli/commands/resolve-http-route.js +0 -44
- package/api/orm/models/apis.d.ts +0 -54
- package/api/orm/models/apis.js +0 -104
- package/api/orm/models/httpRoute.d.ts +0 -54
- package/api/orm/models/httpRoute.js +0 -104
- package/api/orm/models/platformApis.d.ts +0 -54
- package/api/orm/models/platformApis.js +0 -104
- package/esm/admin/cli/commands/app-permission-default-grant.d.ts +0 -8
- package/esm/admin/cli/commands/app-permission-default-grant.js +0 -284
- package/esm/admin/cli/commands/app-permission-default-permission.d.ts +0 -8
- package/esm/admin/cli/commands/app-permission-default-permission.js +0 -240
- package/esm/admin/cli/commands/app-permission-default.d.ts +0 -8
- package/esm/admin/cli/commands/app-permission-default.js +0 -230
- package/esm/admin/cli/commands/app-permission.d.ts +0 -8
- package/esm/admin/cli/commands/app-permission.js +0 -296
- package/esm/admin/cli/commands/app-permissions-get-by-mask.d.ts +0 -8
- package/esm/admin/cli/commands/app-permissions-get-by-mask.js +0 -47
- package/esm/admin/cli/commands/app-permissions-get-mask-by-names.d.ts +0 -8
- package/esm/admin/cli/commands/app-permissions-get-mask-by-names.js +0 -28
- package/esm/admin/cli/commands/app-permissions-get-mask.d.ts +0 -8
- package/esm/admin/cli/commands/app-permissions-get-mask.js +0 -28
- package/esm/admin/cli/commands/app-permissions-get-padded-mask.d.ts +0 -8
- package/esm/admin/cli/commands/app-permissions-get-padded-mask.js +0 -28
- package/esm/admin/cli/commands/org-permission-default-grant.d.ts +0 -8
- package/esm/admin/cli/commands/org-permission-default-grant.js +0 -304
- package/esm/admin/cli/commands/org-permission-default-permission.d.ts +0 -8
- package/esm/admin/cli/commands/org-permission-default-permission.js +0 -260
- package/esm/admin/cli/commands/org-permission-default.d.ts +0 -8
- package/esm/admin/cli/commands/org-permission-default.js +0 -250
- package/esm/admin/cli/commands/org-permission.d.ts +0 -8
- package/esm/admin/cli/commands/org-permission.js +0 -296
- package/esm/admin/cli/commands/org-permissions-get-by-mask.d.ts +0 -8
- package/esm/admin/cli/commands/org-permissions-get-by-mask.js +0 -47
- package/esm/admin/cli/commands/org-permissions-get-mask-by-names.d.ts +0 -8
- package/esm/admin/cli/commands/org-permissions-get-mask-by-names.js +0 -28
- package/esm/admin/cli/commands/org-permissions-get-mask.d.ts +0 -8
- package/esm/admin/cli/commands/org-permissions-get-mask.js +0 -28
- package/esm/admin/cli/commands/org-permissions-get-padded-mask.d.ts +0 -8
- package/esm/admin/cli/commands/org-permissions-get-padded-mask.js +0 -28
- package/esm/admin/orm/models/appPermission.d.ts +0 -54
- package/esm/admin/orm/models/appPermission.js +0 -100
- package/esm/admin/orm/models/appPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefault.js +0 -100
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +0 -100
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +0 -54
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +0 -100
- package/esm/admin/orm/models/orgPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermission.js +0 -100
- package/esm/admin/orm/models/orgPermissionDefault.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefault.js +0 -100
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +0 -100
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +0 -54
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +0 -100
- package/esm/api/cli/commands/apis.d.ts +0 -8
- package/esm/api/cli/commands/apis.js +0 -370
- package/esm/api/cli/commands/http-route.d.ts +0 -8
- package/esm/api/cli/commands/http-route.js +0 -432
- package/esm/api/cli/commands/platform-apis.d.ts +0 -8
- package/esm/api/cli/commands/platform-apis.js +0 -350
- package/esm/api/cli/commands/resolve-http-route.d.ts +0 -8
- package/esm/api/cli/commands/resolve-http-route.js +0 -42
- package/esm/api/orm/models/apis.d.ts +0 -54
- package/esm/api/orm/models/apis.js +0 -100
- package/esm/api/orm/models/httpRoute.d.ts +0 -54
- package/esm/api/orm/models/httpRoute.js +0 -100
- package/esm/api/orm/models/platformApis.d.ts +0 -54
- package/esm/api/orm/models/platformApis.js +0 -100
- package/esm/modules/cli/commands/config-secrets-user-module.d.ts +0 -8
- package/esm/modules/cli/commands/config-secrets-user-module.js +0 -360
- package/esm/modules/cli/commands/http-route-module.d.ts +0 -8
- package/esm/modules/cli/commands/http-route-module.js +0 -644
- package/esm/modules/cli/commands/permissions-module.d.ts +0 -8
- package/esm/modules/cli/commands/permissions-module.js +0 -666
- package/esm/modules/cli/commands/provision-check-constraint.d.ts +0 -8
- package/esm/modules/cli/commands/provision-check-constraint.js +0 -34
- package/esm/modules/cli/commands/provision-full-text-search.d.ts +0 -8
- package/esm/modules/cli/commands/provision-full-text-search.js +0 -34
- package/esm/modules/cli/commands/provision-index.d.ts +0 -8
- package/esm/modules/cli/commands/provision-index.js +0 -34
- package/esm/modules/cli/commands/provision-relation.d.ts +0 -8
- package/esm/modules/cli/commands/provision-relation.js +0 -34
- package/esm/modules/cli/commands/provision-spatial-relation.d.ts +0 -8
- package/esm/modules/cli/commands/provision-spatial-relation.js +0 -34
- package/esm/modules/cli/commands/provision-table.d.ts +0 -8
- package/esm/modules/cli/commands/provision-table.js +0 -34
- package/esm/modules/cli/commands/provision-unique-constraint.d.ts +0 -8
- package/esm/modules/cli/commands/provision-unique-constraint.js +0 -34
- package/esm/modules/cli/commands/resolve-blueprint-field.d.ts +0 -8
- package/esm/modules/cli/commands/resolve-blueprint-field.js +0 -38
- package/esm/modules/cli/commands/resolve-blueprint-table.d.ts +0 -8
- package/esm/modules/cli/commands/resolve-blueprint-table.js +0 -48
- package/esm/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsUserModule.js +0 -100
- package/esm/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/esm/modules/orm/models/httpRouteModule.js +0 -100
- package/esm/modules/orm/models/permissionsModule.d.ts +0 -54
- package/esm/modules/orm/models/permissionsModule.js +0 -100
- package/esm/modules/orm/query/index.d.ts +0 -39
- package/esm/modules/orm/query/index.js +0 -54
- package/modules/cli/commands/config-secrets-user-module.d.ts +0 -8
- package/modules/cli/commands/config-secrets-user-module.js +0 -362
- package/modules/cli/commands/http-route-module.d.ts +0 -8
- package/modules/cli/commands/http-route-module.js +0 -646
- package/modules/cli/commands/permissions-module.d.ts +0 -8
- package/modules/cli/commands/permissions-module.js +0 -668
- package/modules/cli/commands/provision-check-constraint.d.ts +0 -8
- package/modules/cli/commands/provision-check-constraint.js +0 -36
- package/modules/cli/commands/provision-full-text-search.d.ts +0 -8
- package/modules/cli/commands/provision-full-text-search.js +0 -36
- package/modules/cli/commands/provision-index.d.ts +0 -8
- package/modules/cli/commands/provision-index.js +0 -36
- package/modules/cli/commands/provision-relation.d.ts +0 -8
- package/modules/cli/commands/provision-relation.js +0 -36
- package/modules/cli/commands/provision-spatial-relation.d.ts +0 -8
- package/modules/cli/commands/provision-spatial-relation.js +0 -36
- package/modules/cli/commands/provision-table.d.ts +0 -8
- package/modules/cli/commands/provision-table.js +0 -36
- package/modules/cli/commands/provision-unique-constraint.d.ts +0 -8
- package/modules/cli/commands/provision-unique-constraint.js +0 -36
- package/modules/cli/commands/resolve-blueprint-field.d.ts +0 -8
- package/modules/cli/commands/resolve-blueprint-field.js +0 -40
- package/modules/cli/commands/resolve-blueprint-table.d.ts +0 -8
- package/modules/cli/commands/resolve-blueprint-table.js +0 -50
- package/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/modules/orm/models/configSecretsUserModule.js +0 -104
- package/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/modules/orm/models/httpRouteModule.js +0 -104
- package/modules/orm/models/permissionsModule.d.ts +0 -54
- package/modules/orm/models/permissionsModule.js +0 -104
- package/modules/orm/query/index.d.ts +0 -39
- package/modules/orm/query/index.js +0 -57
|
@@ -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('upload-platform-file - Upload a file: resolves the bucket by key, creates the file row, and returns a presigned PUT URL.\n\nUsage: upload-platform-file [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
|
+
.uploadPlatformFile(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: uploadPlatformFile');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation uploadPlatformFiles
|
|
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('upload-platform-files - Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each.\n\nUsage: upload-platform-files [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
|
+
.uploadPlatformFiles(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: uploadPlatformFiles');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command map and entry point
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
export declare const commands: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, options: CLIOptions) => Promise<Partial<Record<string, unknown>>>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.commands = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* CLI command map and entry point
|
|
9
|
+
* @generated by @constructive-io/graphql-codegen
|
|
10
|
+
* DO NOT EDIT - changes will be overwritten
|
|
11
|
+
*/
|
|
12
|
+
const inquirerer_1 = require("inquirerer");
|
|
13
|
+
const context_1 = __importDefault(require("./commands/context"));
|
|
14
|
+
const auth_1 = __importDefault(require("./commands/auth"));
|
|
15
|
+
const bucket_1 = __importDefault(require("./commands/bucket"));
|
|
16
|
+
const file_1 = __importDefault(require("./commands/file"));
|
|
17
|
+
const platform_bucket_1 = __importDefault(require("./commands/platform-bucket"));
|
|
18
|
+
const platform_file_1 = __importDefault(require("./commands/platform-file"));
|
|
19
|
+
const files_rename_1 = __importDefault(require("./commands/files-rename"));
|
|
20
|
+
const platform_files_rename_1 = __importDefault(require("./commands/platform-files-rename"));
|
|
21
|
+
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
22
|
+
const upload_file_1 = __importDefault(require("./commands/upload-file"));
|
|
23
|
+
const upload_files_1 = __importDefault(require("./commands/upload-files"));
|
|
24
|
+
const upload_platform_file_1 = __importDefault(require("./commands/upload-platform-file"));
|
|
25
|
+
const upload_platform_files_1 = __importDefault(require("./commands/upload-platform-files"));
|
|
26
|
+
const createCommandMap = () => ({
|
|
27
|
+
context: context_1.default,
|
|
28
|
+
auth: auth_1.default,
|
|
29
|
+
bucket: bucket_1.default,
|
|
30
|
+
file: file_1.default,
|
|
31
|
+
'platform-bucket': platform_bucket_1.default,
|
|
32
|
+
'platform-file': platform_file_1.default,
|
|
33
|
+
'files-rename': files_rename_1.default,
|
|
34
|
+
'platform-files-rename': platform_files_rename_1.default,
|
|
35
|
+
'provision-bucket': provision_bucket_1.default,
|
|
36
|
+
'upload-file': upload_file_1.default,
|
|
37
|
+
'upload-files': upload_files_1.default,
|
|
38
|
+
'upload-platform-file': upload_platform_file_1.default,
|
|
39
|
+
'upload-platform-files': upload_platform_files_1.default,
|
|
40
|
+
});
|
|
41
|
+
const usage = '\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n bucket bucket CRUD operations\n file file CRUD operations\n platform-bucket platformBucket CRUD operations\n platform-file platformFile CRUD operations\n files-rename filesRename\n platform-files-rename platformFilesRename\n provision-bucket Reconcile an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then enqueues the same\nstorage:provision_bucket job used by the INSERT trigger. This is\nidempotent for an already-reconciled bucket; enqueue failures become\nGraphQL errors.\n upload-file Upload a file: resolves the bucket by key, creates the file row, and returns a presigned PUT URL.\n upload-files Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each.\n upload-platform-file Upload a file: resolves the bucket by key, creates the file row, and returns a presigned PUT URL.\n upload-platform-files Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each.\n\n --help, -h Show this help message\n --version, -v Show version\n';
|
|
42
|
+
const commands = async (argv, prompter, options) => {
|
|
43
|
+
if (argv.help || argv.h) {
|
|
44
|
+
console.log(usage);
|
|
45
|
+
process.exit(0);
|
|
46
|
+
}
|
|
47
|
+
let { first: command, newArgv } = (0, inquirerer_1.extractFirst)(argv);
|
|
48
|
+
const commandMap = createCommandMap();
|
|
49
|
+
if (!command) {
|
|
50
|
+
const answer = await prompter.prompt(argv, [
|
|
51
|
+
{
|
|
52
|
+
type: 'autocomplete',
|
|
53
|
+
name: 'command',
|
|
54
|
+
message: 'What do you want to do?',
|
|
55
|
+
options: Object.keys(commandMap),
|
|
56
|
+
},
|
|
57
|
+
]);
|
|
58
|
+
command = answer.command;
|
|
59
|
+
}
|
|
60
|
+
const commandFn = commandMap[command];
|
|
61
|
+
if (!commandFn) {
|
|
62
|
+
console.log(usage);
|
|
63
|
+
console.error(`Unknown command: ${command}`);
|
|
64
|
+
process.exit(1);
|
|
65
|
+
}
|
|
66
|
+
await commandFn(newArgv, prompter, options);
|
|
67
|
+
prompter.close();
|
|
68
|
+
return argv;
|
|
69
|
+
};
|
|
70
|
+
exports.commands = commands;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const getStore: () => import("appstash").ConfigStore;
|
|
2
|
+
export declare function getClient(contextName?: string): {
|
|
3
|
+
bucket: import("../orm").BucketModel;
|
|
4
|
+
file: import("../orm").FileModel;
|
|
5
|
+
platformBucket: import("../orm").PlatformBucketModel;
|
|
6
|
+
platformFile: import("../orm").PlatformFileModel;
|
|
7
|
+
mutation: {
|
|
8
|
+
filesRename: <S extends import("../orm/input-types").FilesRenamePayloadSelect>(args: import("../orm/mutation").FilesRenameVariables, options: {
|
|
9
|
+
select: S;
|
|
10
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").FilesRenamePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
11
|
+
filesRename: import("../orm").InferSelectResult<import("../orm/input-types").FilesRenamePayload, S> | null;
|
|
12
|
+
}>;
|
|
13
|
+
platformFilesRename: <S extends import("../orm/input-types").PlatformFilesRenamePayloadSelect>(args: import("../orm/mutation").PlatformFilesRenameVariables, options: {
|
|
14
|
+
select: S;
|
|
15
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").PlatformFilesRenamePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
16
|
+
platformFilesRename: import("../orm").InferSelectResult<import("../orm/input-types").PlatformFilesRenamePayload, S> | null;
|
|
17
|
+
}>;
|
|
18
|
+
provisionBucket: <S extends import("../orm/input-types").ProvisionBucketPayloadSelect>(args: import("../orm/mutation").ProvisionBucketVariables, options: {
|
|
19
|
+
select: S;
|
|
20
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
21
|
+
provisionBucket: import("../orm").InferSelectResult<import("../orm/input-types").ProvisionBucketPayload, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
uploadFile: <S extends import("../orm/input-types").UploadFilePayloadSelect>(args: import("../orm/mutation").UploadFileVariables, options: {
|
|
24
|
+
select: S;
|
|
25
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").UploadFilePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
26
|
+
uploadFile: import("../orm").InferSelectResult<import("../orm/input-types").UploadFilePayload, S> | null;
|
|
27
|
+
}>;
|
|
28
|
+
uploadFiles: <S extends import("../orm/input-types").UploadFileBulkPayloadSelect>(args: import("../orm/mutation").UploadFilesVariables, options: {
|
|
29
|
+
select: S;
|
|
30
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").UploadFileBulkPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
31
|
+
uploadFiles: import("../orm").InferSelectResult<import("../orm/input-types").UploadFileBulkPayload, S> | null;
|
|
32
|
+
}>;
|
|
33
|
+
uploadPlatformFile: <S extends import("../orm/input-types").UploadPlatformFilePayloadSelect>(args: import("../orm/mutation").UploadPlatformFileVariables, options: {
|
|
34
|
+
select: S;
|
|
35
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").UploadPlatformFilePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
36
|
+
uploadPlatformFile: import("../orm").InferSelectResult<import("../orm/input-types").UploadPlatformFilePayload, S> | null;
|
|
37
|
+
}>;
|
|
38
|
+
uploadPlatformFiles: <S extends import("../orm/input-types").UploadPlatformFileBulkPayloadSelect>(args: import("../orm/mutation").UploadPlatformFilesVariables, options: {
|
|
39
|
+
select: S;
|
|
40
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").UploadPlatformFileBulkPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
41
|
+
uploadPlatformFiles: import("../orm").InferSelectResult<import("../orm/input-types").UploadPlatformFileBulkPayload, S> | null;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getStore = void 0;
|
|
4
|
+
exports.getClient = getClient;
|
|
5
|
+
/**
|
|
6
|
+
* Executor and config store for CLI
|
|
7
|
+
* @generated by @constructive-io/graphql-codegen
|
|
8
|
+
* DO NOT EDIT - changes will be overwritten
|
|
9
|
+
*/
|
|
10
|
+
const appstash_1 = require("appstash");
|
|
11
|
+
const orm_1 = require("../orm");
|
|
12
|
+
const store = (0, appstash_1.createConfigStore)('csdk', {
|
|
13
|
+
stashName: 'constructive',
|
|
14
|
+
});
|
|
15
|
+
const getStore = () => store;
|
|
16
|
+
exports.getStore = getStore;
|
|
17
|
+
function getClient(contextName) {
|
|
18
|
+
let ctx = null;
|
|
19
|
+
if (contextName) {
|
|
20
|
+
ctx = store.loadContext(contextName);
|
|
21
|
+
if (!ctx) {
|
|
22
|
+
throw new Error(`Context "${contextName}" not found.`);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
ctx = store.getCurrentContext();
|
|
27
|
+
if (!ctx) {
|
|
28
|
+
throw new Error('No active context. Run "context create" or "context use" first.');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
const headers = {};
|
|
32
|
+
if (store.hasValidCredentials(ctx.name)) {
|
|
33
|
+
const creds = store.getCredentials(ctx.name);
|
|
34
|
+
if (creds?.token) {
|
|
35
|
+
headers.Authorization = `Bearer ${creds.token}`;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return (0, orm_1.createClient)({
|
|
39
|
+
endpoint: ctx.endpoint,
|
|
40
|
+
headers: headers,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* CLI entry point
|
|
5
|
+
* @generated by @constructive-io/graphql-codegen
|
|
6
|
+
* DO NOT EDIT - changes will be overwritten
|
|
7
|
+
*/
|
|
8
|
+
const inquirerer_1 = require("inquirerer");
|
|
9
|
+
const commands_1 = require("./commands");
|
|
10
|
+
if (process.argv.includes('--version') || process.argv.includes('-v')) {
|
|
11
|
+
const pkg = (0, inquirerer_1.getPackageJson)(__dirname);
|
|
12
|
+
console.log(pkg.version);
|
|
13
|
+
process.exit(0);
|
|
14
|
+
}
|
|
15
|
+
// Check for --tty false or --no-tty to enable non-interactive mode (noTty)
|
|
16
|
+
const ttyIdx = process.argv.indexOf('--tty');
|
|
17
|
+
const noTty = (ttyIdx !== -1 && process.argv[ttyIdx + 1] === 'false') || process.argv.includes('--no-tty');
|
|
18
|
+
const options = {
|
|
19
|
+
noTty,
|
|
20
|
+
minimistOpts: { alias: { v: 'version', h: 'help' } },
|
|
21
|
+
};
|
|
22
|
+
const app = new inquirerer_1.CLI(commands_1.commands, options);
|
|
23
|
+
app.run().catch((e) => {
|
|
24
|
+
console.error('Unexpected error:', e);
|
|
25
|
+
process.exit(1);
|
|
26
|
+
});
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export type FieldType = 'string' | 'boolean' | 'int' | 'float' | 'json' | 'uuid' | 'enum';
|
|
2
|
+
export interface FieldSchema {
|
|
3
|
+
[fieldName: string]: FieldType;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Coerce CLI string arguments to their proper GraphQL types based on a field schema.
|
|
7
|
+
* CLI args always arrive as strings from minimist, but GraphQL expects
|
|
8
|
+
* Boolean, Int, Float, JSON, etc.
|
|
9
|
+
*/
|
|
10
|
+
export declare function coerceAnswers(answers: Record<string, unknown>, schema: FieldSchema): Record<string, unknown>;
|
|
11
|
+
/**
|
|
12
|
+
* Strip undefined values and filter to only schema-defined keys.
|
|
13
|
+
* This removes extra fields injected by minimist (like _, tty, etc.)
|
|
14
|
+
* and any fields that were coerced to undefined.
|
|
15
|
+
*/
|
|
16
|
+
export declare function stripUndefined(obj: Record<string, unknown>, schema?: FieldSchema): Record<string, unknown>;
|
|
17
|
+
/**
|
|
18
|
+
* Parse mutation input from CLI.
|
|
19
|
+
* Custom mutation commands receive an `input` field as a JSON string
|
|
20
|
+
* from the CLI prompt. This parses it into a proper object.
|
|
21
|
+
*/
|
|
22
|
+
export declare function parseMutationInput(answers: Record<string, unknown>): Record<string, unknown>;
|
|
23
|
+
/**
|
|
24
|
+
* Reconstruct nested objects from dot-notation CLI answers.
|
|
25
|
+
* When INPUT_OBJECT args are flattened to dot-notation questions
|
|
26
|
+
* (e.g. `--input.email foo --input.password bar`), this function
|
|
27
|
+
* rebuilds the nested structure expected by the ORM:
|
|
28
|
+
*
|
|
29
|
+
* { 'input.email': 'foo', 'input.password': 'bar' }
|
|
30
|
+
* → { input: { email: 'foo', password: 'bar' } }
|
|
31
|
+
*
|
|
32
|
+
* Non-dotted keys are passed through unchanged.
|
|
33
|
+
* Uses `nested-obj` for safe nested property setting.
|
|
34
|
+
*/
|
|
35
|
+
export declare function unflattenDotNotation(answers: Record<string, unknown>): Record<string, unknown>;
|
|
36
|
+
/**
|
|
37
|
+
* Build a select object from a comma-separated list of dot-notation paths.
|
|
38
|
+
* Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
|
|
39
|
+
* into the nested structure expected by the ORM:
|
|
40
|
+
*
|
|
41
|
+
* { clientMutationId: true, result: { select: { accessToken: true, userId: true } } }
|
|
42
|
+
*
|
|
43
|
+
* Paths without dots set the key to `true` (scalar select).
|
|
44
|
+
* Paths with dots create nested `{ select: { ... } }` wrappers, matching the
|
|
45
|
+
* ORM's expected structure for OBJECT sub-fields (e.g. `SignUpPayloadSelect.result`).
|
|
46
|
+
*
|
|
47
|
+
* @param paths - Comma-separated dot-notation field paths (e.g. 'clientMutationId,result.accessToken')
|
|
48
|
+
* @returns The nested select object for the ORM
|
|
49
|
+
*/
|
|
50
|
+
/**
|
|
51
|
+
* Parse a CLI flag as an integer.
|
|
52
|
+
* Handles minimist delivering numbers or strings depending on the input.
|
|
53
|
+
* Returns undefined when the flag is missing or not a valid number.
|
|
54
|
+
*/
|
|
55
|
+
export declare function parseIntFlag(argv: Record<string, unknown>, name: string): number | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Parse a CLI flag as a string.
|
|
58
|
+
* Returns undefined when the flag is missing or not a string.
|
|
59
|
+
*/
|
|
60
|
+
export declare function parseStringFlag(argv: Record<string, unknown>, name: string): string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Parse --orderBy flag as a comma-separated list of enum values.
|
|
63
|
+
* e.g. --orderBy NAME_ASC,CREATED_AT_DESC → ['NAME_ASC', 'CREATED_AT_DESC']
|
|
64
|
+
*/
|
|
65
|
+
export declare function parseOrderByFlag(argv: Record<string, unknown>): string[] | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Parse --select flag into a select object, falling back to a default.
|
|
68
|
+
* e.g. --select id,name → { id: true, name: true }
|
|
69
|
+
*/
|
|
70
|
+
export declare function parseSelectFlag(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>): Record<string, unknown>;
|
|
71
|
+
/**
|
|
72
|
+
* Build the full findManyArgs object from CLI argv.
|
|
73
|
+
* Parses all pagination, filtering, ordering, and field selection flags
|
|
74
|
+
* in one call. Accepts an optional `extraWhere` to merge with dot-notation
|
|
75
|
+
* --where flags (used by the search handler to inject search clauses).
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* const findManyArgs = parseFindManyArgs(argv, { id: true, name: true });
|
|
79
|
+
* const result = await client.user.findMany(findManyArgs).execute();
|
|
80
|
+
*/
|
|
81
|
+
export declare function parseFindManyArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>, extraWhere?: Record<string, unknown>): T;
|
|
82
|
+
/**
|
|
83
|
+
* Build findFirst args from CLI argv.
|
|
84
|
+
* Like parseFindManyArgs but without pagination flags (no limit/offset/after/before/last)
|
|
85
|
+
* — findFirst returns the first matching record. Supports select, where, and orderBy.
|
|
86
|
+
*/
|
|
87
|
+
export declare function parseFindFirstArgs<T = Record<string, unknown>>(argv: Record<string, unknown>, defaultSelect: Record<string, unknown>): T;
|
|
88
|
+
export declare function buildSelectFromPaths(paths: string): Record<string, unknown>;
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.coerceAnswers = coerceAnswers;
|
|
7
|
+
exports.stripUndefined = stripUndefined;
|
|
8
|
+
exports.parseMutationInput = parseMutationInput;
|
|
9
|
+
exports.unflattenDotNotation = unflattenDotNotation;
|
|
10
|
+
exports.parseIntFlag = parseIntFlag;
|
|
11
|
+
exports.parseStringFlag = parseStringFlag;
|
|
12
|
+
exports.parseOrderByFlag = parseOrderByFlag;
|
|
13
|
+
exports.parseSelectFlag = parseSelectFlag;
|
|
14
|
+
exports.parseFindManyArgs = parseFindManyArgs;
|
|
15
|
+
exports.parseFindFirstArgs = parseFindFirstArgs;
|
|
16
|
+
exports.buildSelectFromPaths = buildSelectFromPaths;
|
|
17
|
+
/**
|
|
18
|
+
* CLI utility functions for type coercion and input handling
|
|
19
|
+
* @generated by @constructive-io/graphql-codegen
|
|
20
|
+
* DO NOT EDIT - changes will be overwritten
|
|
21
|
+
*/
|
|
22
|
+
const nested_obj_1 = __importDefault(require("nested-obj"));
|
|
23
|
+
/**
|
|
24
|
+
* Coerce CLI string arguments to their proper GraphQL types based on a field schema.
|
|
25
|
+
* CLI args always arrive as strings from minimist, but GraphQL expects
|
|
26
|
+
* Boolean, Int, Float, JSON, etc.
|
|
27
|
+
*/
|
|
28
|
+
function coerceAnswers(answers, schema) {
|
|
29
|
+
const result = { ...answers };
|
|
30
|
+
for (const [key, value] of Object.entries(result)) {
|
|
31
|
+
const fieldType = schema[key];
|
|
32
|
+
if (!fieldType || value === undefined || value === null)
|
|
33
|
+
continue;
|
|
34
|
+
const strValue = String(value);
|
|
35
|
+
// Empty strings become undefined for non-string types
|
|
36
|
+
if (strValue === '' && fieldType !== 'string') {
|
|
37
|
+
result[key] = undefined;
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
switch (fieldType) {
|
|
41
|
+
case 'boolean':
|
|
42
|
+
if (typeof value === 'boolean')
|
|
43
|
+
break;
|
|
44
|
+
result[key] = strValue === 'true' || strValue === '1' || strValue === 'yes';
|
|
45
|
+
break;
|
|
46
|
+
case 'int':
|
|
47
|
+
if (typeof value === 'number')
|
|
48
|
+
break;
|
|
49
|
+
{
|
|
50
|
+
const parsed = parseInt(strValue, 10);
|
|
51
|
+
result[key] = isNaN(parsed) ? undefined : parsed;
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
case 'float':
|
|
55
|
+
if (typeof value === 'number')
|
|
56
|
+
break;
|
|
57
|
+
{
|
|
58
|
+
const parsed = parseFloat(strValue);
|
|
59
|
+
result[key] = isNaN(parsed) ? undefined : parsed;
|
|
60
|
+
}
|
|
61
|
+
break;
|
|
62
|
+
case 'json':
|
|
63
|
+
if (typeof value === 'object')
|
|
64
|
+
break;
|
|
65
|
+
if (strValue === '') {
|
|
66
|
+
result[key] = undefined;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
try {
|
|
70
|
+
result[key] = JSON.parse(strValue);
|
|
71
|
+
}
|
|
72
|
+
catch {
|
|
73
|
+
result[key] = undefined;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
case 'uuid':
|
|
78
|
+
// Empty UUIDs become undefined
|
|
79
|
+
if (strValue === '') {
|
|
80
|
+
result[key] = undefined;
|
|
81
|
+
}
|
|
82
|
+
break;
|
|
83
|
+
case 'enum':
|
|
84
|
+
// Enums stay as strings but empty ones become undefined
|
|
85
|
+
if (strValue === '') {
|
|
86
|
+
result[key] = undefined;
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
default:
|
|
90
|
+
// String type: empty strings also become undefined to avoid
|
|
91
|
+
// sending empty strings for optional fields
|
|
92
|
+
if (strValue === '') {
|
|
93
|
+
result[key] = undefined;
|
|
94
|
+
}
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return result;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Strip undefined values and filter to only schema-defined keys.
|
|
102
|
+
* This removes extra fields injected by minimist (like _, tty, etc.)
|
|
103
|
+
* and any fields that were coerced to undefined.
|
|
104
|
+
*/
|
|
105
|
+
function stripUndefined(obj, schema) {
|
|
106
|
+
const result = {};
|
|
107
|
+
const allowedKeys = schema ? new Set(Object.keys(schema)) : null;
|
|
108
|
+
for (const [key, value] of Object.entries(obj)) {
|
|
109
|
+
if (value === undefined)
|
|
110
|
+
continue;
|
|
111
|
+
if (allowedKeys && !allowedKeys.has(key))
|
|
112
|
+
continue;
|
|
113
|
+
result[key] = value;
|
|
114
|
+
}
|
|
115
|
+
return result;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Parse mutation input from CLI.
|
|
119
|
+
* Custom mutation commands receive an `input` field as a JSON string
|
|
120
|
+
* from the CLI prompt. This parses it into a proper object.
|
|
121
|
+
*/
|
|
122
|
+
function parseMutationInput(answers) {
|
|
123
|
+
if (typeof answers.input === 'string') {
|
|
124
|
+
try {
|
|
125
|
+
const parsed = JSON.parse(answers.input);
|
|
126
|
+
return { ...answers, input: parsed };
|
|
127
|
+
}
|
|
128
|
+
catch {
|
|
129
|
+
return answers;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return answers;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Reconstruct nested objects from dot-notation CLI answers.
|
|
136
|
+
* When INPUT_OBJECT args are flattened to dot-notation questions
|
|
137
|
+
* (e.g. `--input.email foo --input.password bar`), this function
|
|
138
|
+
* rebuilds the nested structure expected by the ORM:
|
|
139
|
+
*
|
|
140
|
+
* { 'input.email': 'foo', 'input.password': 'bar' }
|
|
141
|
+
* → { input: { email: 'foo', password: 'bar' } }
|
|
142
|
+
*
|
|
143
|
+
* Non-dotted keys are passed through unchanged.
|
|
144
|
+
* Uses `nested-obj` for safe nested property setting.
|
|
145
|
+
*/
|
|
146
|
+
function unflattenDotNotation(answers) {
|
|
147
|
+
const result = {};
|
|
148
|
+
for (const [key, value] of Object.entries(answers)) {
|
|
149
|
+
if (key.includes('.')) {
|
|
150
|
+
nested_obj_1.default.set(result, key, value);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
result[key] = value;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return result;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Build a select object from a comma-separated list of dot-notation paths.
|
|
160
|
+
* Uses `nested-obj` to parse paths like 'clientMutationId,result.accessToken,result.userId'
|
|
161
|
+
* into the nested structure expected by the ORM:
|
|
162
|
+
*
|
|
163
|
+
* { clientMutationId: true, result: { select: { accessToken: true, userId: true } } }
|
|
164
|
+
*
|
|
165
|
+
* Paths without dots set the key to `true` (scalar select).
|
|
166
|
+
* Paths with dots create nested `{ select: { ... } }` wrappers, matching the
|
|
167
|
+
* ORM's expected structure for OBJECT sub-fields (e.g. `SignUpPayloadSelect.result`).
|
|
168
|
+
*
|
|
169
|
+
* @param paths - Comma-separated dot-notation field paths (e.g. 'clientMutationId,result.accessToken')
|
|
170
|
+
* @returns The nested select object for the ORM
|
|
171
|
+
*/
|
|
172
|
+
/**
|
|
173
|
+
* Parse a CLI flag as an integer.
|
|
174
|
+
* Handles minimist delivering numbers or strings depending on the input.
|
|
175
|
+
* Returns undefined when the flag is missing or not a valid number.
|
|
176
|
+
*/
|
|
177
|
+
function parseIntFlag(argv, name) {
|
|
178
|
+
const val = argv[name];
|
|
179
|
+
if (typeof val === 'number')
|
|
180
|
+
return val;
|
|
181
|
+
if (typeof val === 'string') {
|
|
182
|
+
const n = parseInt(val, 10);
|
|
183
|
+
return isNaN(n) ? undefined : n;
|
|
184
|
+
}
|
|
185
|
+
return undefined;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Parse a CLI flag as a string.
|
|
189
|
+
* Returns undefined when the flag is missing or not a string.
|
|
190
|
+
*/
|
|
191
|
+
function parseStringFlag(argv, name) {
|
|
192
|
+
const val = argv[name];
|
|
193
|
+
return typeof val === 'string' ? val : undefined;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Parse --orderBy flag as a comma-separated list of enum values.
|
|
197
|
+
* e.g. --orderBy NAME_ASC,CREATED_AT_DESC → ['NAME_ASC', 'CREATED_AT_DESC']
|
|
198
|
+
*/
|
|
199
|
+
function parseOrderByFlag(argv) {
|
|
200
|
+
const val = argv.orderBy;
|
|
201
|
+
return typeof val === 'string' ? val.split(',') : undefined;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Parse --select flag into a select object, falling back to a default.
|
|
205
|
+
* e.g. --select id,name → { id: true, name: true }
|
|
206
|
+
*/
|
|
207
|
+
function parseSelectFlag(argv, defaultSelect) {
|
|
208
|
+
const raw = argv.select;
|
|
209
|
+
return typeof raw === 'string' ? buildSelectFromPaths(raw) : defaultSelect;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Build the full findManyArgs object from CLI argv.
|
|
213
|
+
* Parses all pagination, filtering, ordering, and field selection flags
|
|
214
|
+
* in one call. Accepts an optional `extraWhere` to merge with dot-notation
|
|
215
|
+
* --where flags (used by the search handler to inject search clauses).
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* const findManyArgs = parseFindManyArgs(argv, { id: true, name: true });
|
|
219
|
+
* const result = await client.user.findMany(findManyArgs).execute();
|
|
220
|
+
*/
|
|
221
|
+
function parseFindManyArgs(argv, defaultSelect, extraWhere) {
|
|
222
|
+
const limit = parseIntFlag(argv, 'limit');
|
|
223
|
+
const last = parseIntFlag(argv, 'last');
|
|
224
|
+
const offset = parseIntFlag(argv, 'offset');
|
|
225
|
+
const after = parseStringFlag(argv, 'after');
|
|
226
|
+
const before = parseStringFlag(argv, 'before');
|
|
227
|
+
const select = parseSelectFlag(argv, defaultSelect);
|
|
228
|
+
const parsed = unflattenDotNotation(argv);
|
|
229
|
+
const where = (parsed.where ?? extraWhere)
|
|
230
|
+
? { ...(extraWhere ?? {}), ...(parsed.where ?? {}) }
|
|
231
|
+
: undefined;
|
|
232
|
+
const orderBy = parseOrderByFlag(argv);
|
|
233
|
+
return {
|
|
234
|
+
select,
|
|
235
|
+
...(limit !== undefined ? { first: limit } : {}),
|
|
236
|
+
...(after !== undefined ? { after } : {}),
|
|
237
|
+
...(last !== undefined ? { last } : {}),
|
|
238
|
+
...(before !== undefined ? { before } : {}),
|
|
239
|
+
...(offset !== undefined ? { offset } : {}),
|
|
240
|
+
...(where !== undefined ? { where } : {}),
|
|
241
|
+
...(orderBy !== undefined ? { orderBy } : {}),
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Build findFirst args from CLI argv.
|
|
246
|
+
* Like parseFindManyArgs but without pagination flags (no limit/offset/after/before/last)
|
|
247
|
+
* — findFirst returns the first matching record. Supports select, where, and orderBy.
|
|
248
|
+
*/
|
|
249
|
+
function parseFindFirstArgs(argv, defaultSelect) {
|
|
250
|
+
const select = parseSelectFlag(argv, defaultSelect);
|
|
251
|
+
const parsed = unflattenDotNotation(argv);
|
|
252
|
+
const where = parsed.where;
|
|
253
|
+
const orderBy = parseOrderByFlag(argv);
|
|
254
|
+
return {
|
|
255
|
+
select,
|
|
256
|
+
...(where !== undefined ? { where } : {}),
|
|
257
|
+
...(orderBy !== undefined ? { orderBy } : {}),
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
function buildSelectFromPaths(paths) {
|
|
261
|
+
const result = {};
|
|
262
|
+
const trimmedPaths = paths
|
|
263
|
+
.split(',')
|
|
264
|
+
.map((p) => p.trim())
|
|
265
|
+
.filter((p) => p.length > 0);
|
|
266
|
+
for (const path of trimmedPaths) {
|
|
267
|
+
if (!path.includes('.')) {
|
|
268
|
+
// Simple scalar field: clientMutationId -> { clientMutationId: true }
|
|
269
|
+
result[path] = true;
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
// Nested path: result.accessToken -> { result: { select: { accessToken: true } } }
|
|
273
|
+
// Convert dot-notation to ORM's { select: { ... } } nesting pattern
|
|
274
|
+
const parts = path.split('.');
|
|
275
|
+
let current = result;
|
|
276
|
+
for (let i = 0; i < parts.length; i++) {
|
|
277
|
+
const part = parts[i];
|
|
278
|
+
if (i === parts.length - 1) {
|
|
279
|
+
// Leaf node: set to true
|
|
280
|
+
nested_obj_1.default.set(current, part, true);
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
// Intermediate node: ensure { select: { ... } } wrapper exists
|
|
284
|
+
if (!current[part] || typeof current[part] !== 'object') {
|
|
285
|
+
current[part] = { select: {} };
|
|
286
|
+
}
|
|
287
|
+
const wrapper = current[part];
|
|
288
|
+
if (!wrapper.select || typeof wrapper.select !== 'object') {
|
|
289
|
+
wrapper.select = {};
|
|
290
|
+
}
|
|
291
|
+
current = wrapper.select;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return result;
|
|
297
|
+
}
|