@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,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Realtime Manager - WebSocket subscription support
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
interface WsGraphQLError {
|
|
7
|
+
readonly message: string;
|
|
8
|
+
readonly [key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
interface WsExecutionResult<TData = Record<string, unknown>> {
|
|
11
|
+
data?: TData | null;
|
|
12
|
+
errors?: readonly WsGraphQLError[];
|
|
13
|
+
extensions?: Record<string, unknown>;
|
|
14
|
+
}
|
|
15
|
+
interface WsSink<T> {
|
|
16
|
+
next(value: T): void;
|
|
17
|
+
error(error: unknown): void;
|
|
18
|
+
complete(): void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Minimal interface matching the graphql-ws Client.
|
|
22
|
+
* Consumers pass a concrete instance via RealtimeConfig.client.
|
|
23
|
+
*/
|
|
24
|
+
export interface WsClient {
|
|
25
|
+
subscribe<TData = Record<string, unknown>>(payload: {
|
|
26
|
+
query: string;
|
|
27
|
+
variables?: Record<string, unknown>;
|
|
28
|
+
}, sink: WsSink<WsExecutionResult<TData>>): () => void;
|
|
29
|
+
dispose(): void;
|
|
30
|
+
}
|
|
31
|
+
/** The DML operation that triggered the subscription event */
|
|
32
|
+
export type SubscriptionOperation = 'INSERT' | 'UPDATE' | 'DELETE';
|
|
33
|
+
/** Connection state of the WebSocket */
|
|
34
|
+
export type ConnectionState = 'disconnected' | 'connecting' | 'connected' | 'reconnecting';
|
|
35
|
+
/** Listener for connection state changes */
|
|
36
|
+
export type ConnectionStateListener = (state: ConnectionState) => void;
|
|
37
|
+
/** Function returned by subscribe() to cancel the subscription */
|
|
38
|
+
export type Unsubscribe = () => void;
|
|
39
|
+
/**
|
|
40
|
+
* A realtime subscription event delivered to the client.
|
|
41
|
+
*
|
|
42
|
+
* @typeParam T - The row type of the subscribed table
|
|
43
|
+
*/
|
|
44
|
+
export interface SubscriptionEvent<T> {
|
|
45
|
+
/** The DML operation that triggered this event */
|
|
46
|
+
operation: SubscriptionOperation;
|
|
47
|
+
/** The current row data (null for DELETE if row is no longer visible) */
|
|
48
|
+
data: T | null;
|
|
49
|
+
/** Previous field values (populated on UPDATE when available) */
|
|
50
|
+
previousValues?: Partial<T>;
|
|
51
|
+
/** Server-side timestamp of when the change occurred */
|
|
52
|
+
timestamp: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Options for creating a subscription.
|
|
56
|
+
*
|
|
57
|
+
* @typeParam T - The row type of the subscribed table
|
|
58
|
+
* @typeParam TFilter - The filter type for the table
|
|
59
|
+
*/
|
|
60
|
+
export interface SubscribeOptions<T, TFilter = Record<string, unknown>> {
|
|
61
|
+
/** Server-side filter to limit which events are delivered */
|
|
62
|
+
filter?: TFilter;
|
|
63
|
+
/** Called when a subscription event is received */
|
|
64
|
+
onEvent: (event: SubscriptionEvent<T>) => void;
|
|
65
|
+
/** Called when the subscription encounters an error */
|
|
66
|
+
onError?: (error: Error) => void;
|
|
67
|
+
/** Called when the subscription completes (server-initiated close) */
|
|
68
|
+
onComplete?: () => void;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Metadata about a subscription field, used internally to map
|
|
72
|
+
* table names to GraphQL subscription field names and types.
|
|
73
|
+
*/
|
|
74
|
+
export interface SubscriptionFieldMeta {
|
|
75
|
+
/** The GraphQL subscription field name (e.g., 'onContactChanged') */
|
|
76
|
+
fieldName: string;
|
|
77
|
+
/** The table name in the source schema (e.g., 'contact') */
|
|
78
|
+
tableName: string;
|
|
79
|
+
/** The data field name inside the subscription payload (e.g., 'contact') */
|
|
80
|
+
dataFieldName: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Configuration for the realtime (WebSocket) connection.
|
|
84
|
+
* Pass this as the `realtime` option in OrmClientConfig.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* import { createClient } from 'graphql-ws';
|
|
89
|
+
*
|
|
90
|
+
* const client = createOrmClient({
|
|
91
|
+
* endpoint: 'https://api.example.com/graphql',
|
|
92
|
+
* realtime: {
|
|
93
|
+
* client: createClient({ url: 'wss://api.example.com/graphql' }),
|
|
94
|
+
* },
|
|
95
|
+
* });
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
export interface RealtimeConfig {
|
|
99
|
+
/**
|
|
100
|
+
* A graphql-ws Client instance (or any object satisfying WsClient).
|
|
101
|
+
* The consumer creates this themselves, giving full control over
|
|
102
|
+
* connection options, auth, and transport.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```ts
|
|
106
|
+
* import { createClient } from 'graphql-ws';
|
|
107
|
+
* const wsClient = createClient({ url: 'wss://...' });
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
client: WsClient;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Manages a graphql-ws WebSocket client and multiplexes
|
|
114
|
+
* subscriptions over it. Created by OrmClient when `realtime`
|
|
115
|
+
* config is provided.
|
|
116
|
+
*/
|
|
117
|
+
export declare class RealtimeManager {
|
|
118
|
+
private wsClient;
|
|
119
|
+
private connectionState;
|
|
120
|
+
private stateListeners;
|
|
121
|
+
private activeSubscriptions;
|
|
122
|
+
constructor(config: RealtimeConfig);
|
|
123
|
+
/**
|
|
124
|
+
* Subscribe to a GraphQL subscription operation.
|
|
125
|
+
* Models call this with typed metadata and documents.
|
|
126
|
+
*/
|
|
127
|
+
subscribe<T>(meta: SubscriptionFieldMeta, document: string, variables: Record<string, unknown>, options: {
|
|
128
|
+
onEvent: (event: SubscriptionEvent<T>) => void;
|
|
129
|
+
onError?: (error: Error) => void;
|
|
130
|
+
onComplete?: () => void;
|
|
131
|
+
}): Unsubscribe;
|
|
132
|
+
/** Register a listener for connection state changes */
|
|
133
|
+
onConnectionStateChange(listener: ConnectionStateListener): Unsubscribe;
|
|
134
|
+
/** Get current connection state */
|
|
135
|
+
getConnectionState(): ConnectionState;
|
|
136
|
+
/** Number of active subscriptions */
|
|
137
|
+
getActiveSubscriptionCount(): number;
|
|
138
|
+
/** Dispose the manager and close the WebSocket connection */
|
|
139
|
+
dispose(): void;
|
|
140
|
+
private setConnectionState;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Realtime Manager - WebSocket subscription support
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
// Minimal type shims so this module compiles without graphql-ws
|
|
8
|
+
// installed. Consumers supply a WsClient via RealtimeConfig;
|
|
9
|
+
// the SDK itself never imports or requires graphql-ws.
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.RealtimeManager = void 0;
|
|
12
|
+
// ============================================================================
|
|
13
|
+
// RealtimeManager
|
|
14
|
+
// ============================================================================
|
|
15
|
+
/**
|
|
16
|
+
* Manages a graphql-ws WebSocket client and multiplexes
|
|
17
|
+
* subscriptions over it. Created by OrmClient when `realtime`
|
|
18
|
+
* config is provided.
|
|
19
|
+
*/
|
|
20
|
+
class RealtimeManager {
|
|
21
|
+
wsClient;
|
|
22
|
+
connectionState = 'disconnected';
|
|
23
|
+
stateListeners = new Set();
|
|
24
|
+
activeSubscriptions = 0;
|
|
25
|
+
constructor(config) {
|
|
26
|
+
this.wsClient = config.client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Subscribe to a GraphQL subscription operation.
|
|
30
|
+
* Models call this with typed metadata and documents.
|
|
31
|
+
*/
|
|
32
|
+
subscribe(meta, document, variables, options) {
|
|
33
|
+
this.activeSubscriptions++;
|
|
34
|
+
let disposed = false;
|
|
35
|
+
const cleanup = this.wsClient.subscribe({ query: document, variables }, {
|
|
36
|
+
next: (result) => {
|
|
37
|
+
if (disposed)
|
|
38
|
+
return;
|
|
39
|
+
if (result.errors) {
|
|
40
|
+
options.onError?.(new Error(result.errors.map((e) => e.message).join('; ')));
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
const payload = result.data?.[meta.fieldName];
|
|
44
|
+
if (!payload)
|
|
45
|
+
return;
|
|
46
|
+
const event = {
|
|
47
|
+
operation: payload.event ?? 'UPDATE',
|
|
48
|
+
data: payload[meta.dataFieldName] ?? null,
|
|
49
|
+
previousValues: payload.previousValues,
|
|
50
|
+
timestamp: payload.timestamp ?? new Date().toISOString(),
|
|
51
|
+
};
|
|
52
|
+
options.onEvent(event);
|
|
53
|
+
},
|
|
54
|
+
error: (err) => {
|
|
55
|
+
if (disposed)
|
|
56
|
+
return;
|
|
57
|
+
options.onError?.(err instanceof Error ? err : new Error(String(err)));
|
|
58
|
+
},
|
|
59
|
+
complete: () => {
|
|
60
|
+
if (disposed)
|
|
61
|
+
return;
|
|
62
|
+
options.onComplete?.();
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
return () => {
|
|
66
|
+
if (disposed)
|
|
67
|
+
return;
|
|
68
|
+
disposed = true;
|
|
69
|
+
this.activeSubscriptions--;
|
|
70
|
+
cleanup();
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/** Register a listener for connection state changes */
|
|
74
|
+
onConnectionStateChange(listener) {
|
|
75
|
+
this.stateListeners.add(listener);
|
|
76
|
+
return () => {
|
|
77
|
+
this.stateListeners.delete(listener);
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
/** Get current connection state */
|
|
81
|
+
getConnectionState() {
|
|
82
|
+
return this.connectionState;
|
|
83
|
+
}
|
|
84
|
+
/** Number of active subscriptions */
|
|
85
|
+
getActiveSubscriptionCount() {
|
|
86
|
+
return this.activeSubscriptions;
|
|
87
|
+
}
|
|
88
|
+
/** Dispose the manager and close the WebSocket connection */
|
|
89
|
+
dispose() {
|
|
90
|
+
this.wsClient.dispose();
|
|
91
|
+
this.stateListeners.clear();
|
|
92
|
+
this.activeSubscriptions = 0;
|
|
93
|
+
this.setConnectionState('disconnected');
|
|
94
|
+
}
|
|
95
|
+
setConnectionState(state) {
|
|
96
|
+
if (this.connectionState === state)
|
|
97
|
+
return;
|
|
98
|
+
this.connectionState = state;
|
|
99
|
+
for (const listener of this.stateListeners) {
|
|
100
|
+
listener(state);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.RealtimeManager = RealtimeManager;
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type utilities for select inference
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
export interface ConnectionResult<T> {
|
|
7
|
+
nodes: T[];
|
|
8
|
+
totalCount: number;
|
|
9
|
+
pageInfo: PageInfo;
|
|
10
|
+
}
|
|
11
|
+
export interface PageInfo {
|
|
12
|
+
hasNextPage: boolean;
|
|
13
|
+
hasPreviousPage: boolean;
|
|
14
|
+
startCursor?: string | null;
|
|
15
|
+
endCursor?: string | null;
|
|
16
|
+
}
|
|
17
|
+
export interface FindManyArgs<TSelect, TWhere, TOrderBy> {
|
|
18
|
+
select?: TSelect;
|
|
19
|
+
where?: TWhere;
|
|
20
|
+
orderBy?: TOrderBy[];
|
|
21
|
+
first?: number;
|
|
22
|
+
last?: number;
|
|
23
|
+
after?: string;
|
|
24
|
+
before?: string;
|
|
25
|
+
offset?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface FindFirstArgs<TSelect, TWhere, TOrderBy> {
|
|
28
|
+
select?: TSelect;
|
|
29
|
+
where?: TWhere;
|
|
30
|
+
orderBy?: TOrderBy[];
|
|
31
|
+
}
|
|
32
|
+
export interface CreateArgs<TSelect, TData> {
|
|
33
|
+
data: TData;
|
|
34
|
+
select?: TSelect;
|
|
35
|
+
}
|
|
36
|
+
export interface UpdateArgs<TSelect, TWhere, TData> {
|
|
37
|
+
where: TWhere;
|
|
38
|
+
data: TData;
|
|
39
|
+
select?: TSelect;
|
|
40
|
+
}
|
|
41
|
+
export type FindOneArgs<TSelect, TIdName extends string = 'id', TId = string> = {
|
|
42
|
+
select?: TSelect;
|
|
43
|
+
} & Record<TIdName, TId>;
|
|
44
|
+
export interface DeleteArgs<TWhere, TSelect = undefined> {
|
|
45
|
+
where: TWhere;
|
|
46
|
+
select?: TSelect;
|
|
47
|
+
}
|
|
48
|
+
export interface BulkInsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
49
|
+
data: TData[];
|
|
50
|
+
select?: TSelect;
|
|
51
|
+
onConflict?: TOnConflict;
|
|
52
|
+
}
|
|
53
|
+
export interface BulkUpsertArgs<TSelect, TData, TOnConflict = unknown> {
|
|
54
|
+
data: TData[];
|
|
55
|
+
select?: TSelect;
|
|
56
|
+
onConflict: TOnConflict;
|
|
57
|
+
}
|
|
58
|
+
export interface BulkUpdateArgs<TSelect, TWhere, TData> {
|
|
59
|
+
where: TWhere;
|
|
60
|
+
data: TData;
|
|
61
|
+
select?: TSelect;
|
|
62
|
+
}
|
|
63
|
+
export interface BulkDeleteArgs<TSelect, TWhere> {
|
|
64
|
+
where: TWhere;
|
|
65
|
+
select?: TSelect;
|
|
66
|
+
}
|
|
67
|
+
export interface BulkMutationResult<T> {
|
|
68
|
+
affectedCount: number;
|
|
69
|
+
returning: T[];
|
|
70
|
+
}
|
|
71
|
+
type DepthLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
72
|
+
type DecrementDepth = {
|
|
73
|
+
0: 0;
|
|
74
|
+
1: 0;
|
|
75
|
+
2: 1;
|
|
76
|
+
3: 2;
|
|
77
|
+
4: 3;
|
|
78
|
+
5: 4;
|
|
79
|
+
6: 5;
|
|
80
|
+
7: 6;
|
|
81
|
+
8: 7;
|
|
82
|
+
9: 8;
|
|
83
|
+
10: 9;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Recursively validates select objects, rejecting unknown keys.
|
|
87
|
+
*
|
|
88
|
+
* NOTE: Depth is intentionally capped to avoid circular-instantiation issues
|
|
89
|
+
* in very large cyclic schemas.
|
|
90
|
+
*/
|
|
91
|
+
export type DeepExact<T, Shape, Depth extends DepthLevel = 10> = Depth extends 0 ? T extends Shape ? T : never : T extends Shape ? Exclude<keyof T, keyof Shape> extends never ? {
|
|
92
|
+
[K in keyof T]: K extends keyof Shape ? T[K] extends {
|
|
93
|
+
select: infer NS;
|
|
94
|
+
} ? Extract<Shape[K], {
|
|
95
|
+
select?: unknown;
|
|
96
|
+
}> extends {
|
|
97
|
+
select?: infer ShapeNS;
|
|
98
|
+
} ? DeepExact<Omit<T[K], 'select'> & {
|
|
99
|
+
select: DeepExact<NS, NonNullable<ShapeNS>, DecrementDepth[Depth]>;
|
|
100
|
+
}, Extract<Shape[K], {
|
|
101
|
+
select?: unknown;
|
|
102
|
+
}>, DecrementDepth[Depth]> : never : T[K] : never;
|
|
103
|
+
} : never : never;
|
|
104
|
+
/**
|
|
105
|
+
* Enforces exact select shape while keeping contextual typing on `S extends XxxSelect`.
|
|
106
|
+
* Use this as an intersection in overloads:
|
|
107
|
+
* `{ select: S } & StrictSelect<S, XxxSelect>`.
|
|
108
|
+
*/
|
|
109
|
+
export type StrictSelect<S, Shape> = S extends DeepExact<S, Shape> ? {} : never;
|
|
110
|
+
/**
|
|
111
|
+
* Hook-optimized strict select variant.
|
|
112
|
+
*
|
|
113
|
+
* Uses a shallower recursion depth to keep editor autocomplete responsive
|
|
114
|
+
* in large schemas while still validating common nested-select mistakes.
|
|
115
|
+
*/
|
|
116
|
+
export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} : never;
|
|
117
|
+
/**
|
|
118
|
+
* Infer result type from select configuration
|
|
119
|
+
*/
|
|
120
|
+
export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
|
|
121
|
+
[K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
|
|
122
|
+
select: infer NestedSelect;
|
|
123
|
+
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
124
|
+
};
|
|
125
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Types re-export
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
// Re-export all types from input-types
|
|
23
|
+
__exportStar(require("./input-types"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Authentication commands
|
|
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,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* Authentication commands
|
|
5
|
+
* @generated by @constructive-io/graphql-codegen
|
|
6
|
+
* DO NOT EDIT - changes will be overwritten
|
|
7
|
+
*/
|
|
8
|
+
const inquirerer_1 = require("inquirerer");
|
|
9
|
+
const executor_1 = require("../executor");
|
|
10
|
+
const usage = '\ncsdk auth <command>\n\nCommands:\n set-token <token> Set API token for the current context\n status Show authentication status\n logout Remove credentials for the current context\n\nOptions:\n --context <name> Specify context (defaults to current context)\n\n --help, -h Show this help message\n';
|
|
11
|
+
exports.default = async (argv, prompter, _options) => {
|
|
12
|
+
if (argv.help || argv.h) {
|
|
13
|
+
console.log(usage);
|
|
14
|
+
process.exit(0);
|
|
15
|
+
}
|
|
16
|
+
const store = (0, executor_1.getStore)();
|
|
17
|
+
const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
|
|
18
|
+
if (!subcommand) {
|
|
19
|
+
const answer = await prompter.prompt(argv, [
|
|
20
|
+
{
|
|
21
|
+
type: 'autocomplete',
|
|
22
|
+
name: 'subcommand',
|
|
23
|
+
message: 'What do you want to do?',
|
|
24
|
+
options: ['set-token', 'status', 'logout'],
|
|
25
|
+
},
|
|
26
|
+
]);
|
|
27
|
+
return handleAuthSubcommand(answer.subcommand, newArgv, prompter, store);
|
|
28
|
+
}
|
|
29
|
+
return handleAuthSubcommand(subcommand, newArgv, prompter, store);
|
|
30
|
+
};
|
|
31
|
+
async function handleAuthSubcommand(subcommand, argv, prompter, store) {
|
|
32
|
+
switch (subcommand) {
|
|
33
|
+
case 'set-token':
|
|
34
|
+
return handleSetToken(argv, prompter, store);
|
|
35
|
+
case 'status':
|
|
36
|
+
return handleStatus(store);
|
|
37
|
+
case 'logout':
|
|
38
|
+
return handleLogout(argv, prompter, store);
|
|
39
|
+
default:
|
|
40
|
+
console.log(usage);
|
|
41
|
+
process.exit(1);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
async function handleSetToken(argv, prompter, store) {
|
|
45
|
+
const current = store.getCurrentContext();
|
|
46
|
+
if (!current) {
|
|
47
|
+
console.error('No active context. Run "context create" first.');
|
|
48
|
+
process.exit(1);
|
|
49
|
+
}
|
|
50
|
+
const { first: token } = (0, inquirerer_1.extractFirst)(argv);
|
|
51
|
+
let tokenValue = token;
|
|
52
|
+
if (!tokenValue) {
|
|
53
|
+
const answer = await prompter.prompt(argv, [
|
|
54
|
+
{
|
|
55
|
+
type: 'password',
|
|
56
|
+
name: 'token',
|
|
57
|
+
message: 'API Token',
|
|
58
|
+
required: true,
|
|
59
|
+
},
|
|
60
|
+
]);
|
|
61
|
+
tokenValue = answer.token;
|
|
62
|
+
}
|
|
63
|
+
store.setCredentials(current.name, {
|
|
64
|
+
token: String(tokenValue || '').trim(),
|
|
65
|
+
});
|
|
66
|
+
console.log(`Token saved for context: ${current.name}`);
|
|
67
|
+
}
|
|
68
|
+
function handleStatus(store) {
|
|
69
|
+
const contexts = store.listContexts();
|
|
70
|
+
const settings = store.loadSettings();
|
|
71
|
+
if (contexts.length === 0) {
|
|
72
|
+
console.log('No contexts configured.');
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
console.log('Authentication Status:');
|
|
76
|
+
for (const ctx of contexts) {
|
|
77
|
+
const isCurrent = ctx.name === settings.currentContext;
|
|
78
|
+
const hasAuth = store.hasValidCredentials(ctx.name);
|
|
79
|
+
const marker = isCurrent ? '* ' : ' ';
|
|
80
|
+
const status = hasAuth ? 'authenticated' : 'no token';
|
|
81
|
+
console.log(`${marker}${ctx.name} [${status}]`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
async function handleLogout(argv, prompter, store) {
|
|
85
|
+
const current = store.getCurrentContext();
|
|
86
|
+
if (!current) {
|
|
87
|
+
console.log('No active context.');
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const confirm = await prompter.prompt(argv, [
|
|
91
|
+
{
|
|
92
|
+
type: 'confirm',
|
|
93
|
+
name: 'confirm',
|
|
94
|
+
message: `Remove credentials for "${current.name}"?`,
|
|
95
|
+
default: false,
|
|
96
|
+
},
|
|
97
|
+
]);
|
|
98
|
+
if (!confirm.confirm) {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (store.removeCredentials(current.name)) {
|
|
102
|
+
console.log(`Credentials removed for: ${current.name}`);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
console.log(`No credentials found for: ${current.name}`);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for Bucket
|
|
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;
|