@constructive-io/sdk 0.25.16 → 0.26.0
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/orm/models/appAdminGrant.js +1 -1
- package/admin/orm/models/appClaimedInvite.js +1 -1
- package/admin/orm/models/appGrant.js +1 -1
- package/admin/orm/models/appInvite.js +1 -1
- package/admin/orm/models/appMembership.js +1 -1
- package/admin/orm/models/appMembershipDefault.js +1 -1
- package/admin/orm/models/appOwnerGrant.js +1 -1
- package/admin/orm/models/appPermission.js +1 -1
- package/admin/orm/models/appPermissionDefault.js +1 -1
- package/admin/orm/models/appPermissionDefaultGrant.js +1 -1
- package/admin/orm/models/appPermissionDefaultPermission.js +1 -1
- package/admin/orm/models/membershipType.js +1 -1
- package/admin/orm/models/orgAdminGrant.js +1 -1
- package/admin/orm/models/orgChartEdge.js +1 -1
- package/admin/orm/models/orgChartEdgeGrant.js +1 -1
- package/admin/orm/models/orgClaimedInvite.js +1 -1
- package/admin/orm/models/orgGrant.js +1 -1
- package/admin/orm/models/orgInvite.js +1 -1
- package/admin/orm/models/orgMember.js +1 -1
- package/admin/orm/models/orgMemberProfile.js +1 -1
- package/admin/orm/models/orgMembership.js +1 -1
- package/admin/orm/models/orgMembershipDefault.js +1 -1
- package/admin/orm/models/orgMembershipSetting.js +1 -1
- package/admin/orm/models/orgOwnerGrant.js +1 -1
- package/admin/orm/models/orgPermission.js +1 -1
- package/admin/orm/models/orgPermissionDefault.js +1 -1
- package/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
- package/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
- package/admin/orm/query-builder.d.ts +1 -1
- package/admin/orm/query-builder.js +2 -1
- package/agent/orm/input-types.d.ts +14 -2
- package/agent/orm/models/agent.js +1 -1
- package/agent/orm/models/agentMessage.js +1 -1
- package/agent/orm/models/agentPersona.js +1 -1
- package/agent/orm/models/agentPlan.js +1 -1
- package/agent/orm/models/agentPrompt.js +1 -1
- package/agent/orm/models/agentResource.js +1 -1
- package/agent/orm/models/agentResourceChunk.js +1 -1
- package/agent/orm/models/agentTask.js +1 -1
- package/agent/orm/models/agentThread.js +1 -1
- package/agent/orm/query-builder.d.ts +1 -1
- package/agent/orm/query-builder.js +2 -1
- package/api/orm/input-types.d.ts +36 -1
- package/api/orm/models/api.js +1 -1
- package/api/orm/models/apiModule.js +1 -1
- package/api/orm/models/apiSchema.js +1 -1
- package/api/orm/models/apiSetting.js +1 -1
- package/api/orm/models/app.js +1 -1
- package/api/orm/models/checkConstraint.js +1 -1
- package/api/orm/models/compositeType.js +1 -1
- package/api/orm/models/corsSetting.js +1 -1
- package/api/orm/models/database.js +1 -1
- package/api/orm/models/databaseSetting.js +1 -1
- package/api/orm/models/databaseTransfer.js +1 -1
- package/api/orm/models/defaultPrivilege.js +1 -1
- package/api/orm/models/domain.js +1 -1
- package/api/orm/models/embeddingChunk.js +1 -1
- package/api/orm/models/enum.js +1 -1
- package/api/orm/models/field.js +1 -1
- package/api/orm/models/foreignKeyConstraint.js +1 -1
- package/api/orm/models/fullTextSearch.js +1 -1
- package/api/orm/models/function.js +1 -1
- package/api/orm/models/indexModel.js +1 -1
- package/api/orm/models/nodeTypeRegistry.js +1 -1
- package/api/orm/models/partition.js +1 -1
- package/api/orm/models/policy.js +1 -1
- package/api/orm/models/primaryKeyConstraint.js +1 -1
- package/api/orm/models/pubkeySetting.js +1 -1
- package/api/orm/models/rlsSetting.js +1 -1
- package/api/orm/models/schema.js +1 -1
- package/api/orm/models/schemaGrant.js +1 -1
- package/api/orm/models/site.js +1 -1
- package/api/orm/models/siteMetadatum.js +1 -1
- package/api/orm/models/siteModule.js +1 -1
- package/api/orm/models/siteTheme.js +1 -1
- package/api/orm/models/spatialRelation.js +1 -1
- package/api/orm/models/table.js +1 -1
- package/api/orm/models/tableGrant.js +1 -1
- package/api/orm/models/trigger.js +1 -1
- package/api/orm/models/triggerFunction.js +1 -1
- package/api/orm/models/uniqueConstraint.js +1 -1
- package/api/orm/models/view.js +1 -1
- package/api/orm/models/viewGrant.js +1 -1
- package/api/orm/models/viewRule.js +1 -1
- package/api/orm/models/viewTable.js +1 -1
- package/api/orm/models/webauthnSetting.js +1 -1
- package/api/orm/query-builder.d.ts +1 -1
- package/api/orm/query-builder.js +2 -1
- package/auth/orm/input-types.d.ts +4 -2
- package/auth/orm/models/auditLogAuth.d.ts +2 -0
- package/auth/orm/models/auditLogAuth.js +4 -1
- package/auth/orm/models/cryptoAddress.js +1 -1
- package/auth/orm/models/email.js +1 -1
- package/auth/orm/models/phoneNumber.js +1 -1
- package/auth/orm/models/roleType.js +1 -1
- package/auth/orm/models/user.js +1 -1
- package/auth/orm/models/webauthnCredential.js +1 -1
- package/auth/orm/query-builder.d.ts +1 -1
- package/auth/orm/query-builder.js +2 -1
- package/compute/index.d.ts +5 -0
- package/compute/index.js +21 -0
- package/compute/orm/client.d.ts +97 -0
- package/compute/orm/client.js +152 -0
- package/compute/orm/index.d.ts +148 -0
- package/compute/orm/index.js +103 -0
- package/compute/orm/input-types.d.ts +4243 -0
- package/compute/orm/input-types.js +10 -0
- package/compute/orm/models/functionApiBinding.d.ts +54 -0
- package/compute/orm/models/functionApiBinding.js +104 -0
- package/compute/orm/models/functionDefinition.d.ts +54 -0
- package/compute/orm/models/functionDefinition.js +104 -0
- package/compute/orm/models/functionDeployment.d.ts +54 -0
- package/compute/orm/models/functionDeployment.js +104 -0
- package/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/functionDeploymentEvent.js +107 -0
- package/compute/orm/models/functionExecutionLog.d.ts +56 -0
- package/compute/orm/models/functionExecutionLog.js +107 -0
- package/compute/orm/models/functionGraph.d.ts +54 -0
- package/compute/orm/models/functionGraph.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +56 -0
- package/compute/orm/models/functionGraphCommit.js +107 -0
- package/compute/orm/models/functionGraphExecution.d.ts +56 -0
- package/compute/orm/models/functionGraphExecution.js +107 -0
- package/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
- package/compute/orm/models/functionGraphExecutionNodeState.js +107 -0
- package/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
- package/compute/orm/models/functionGraphExecutionOutput.js +107 -0
- package/compute/orm/models/functionGraphObject.d.ts +56 -0
- package/compute/orm/models/functionGraphObject.js +97 -0
- package/compute/orm/models/functionGraphRef.d.ts +56 -0
- package/compute/orm/models/functionGraphRef.js +107 -0
- package/compute/orm/models/functionGraphStore.d.ts +54 -0
- package/compute/orm/models/functionGraphStore.js +104 -0
- package/compute/orm/models/functionInvocation.d.ts +56 -0
- package/compute/orm/models/functionInvocation.js +107 -0
- package/compute/orm/models/getAllRecord.d.ts +30 -0
- package/compute/orm/models/getAllRecord.js +59 -0
- package/compute/orm/models/index.d.ts +23 -0
- package/compute/orm/models/index.js +44 -0
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/orgFunctionExecutionLog.js +107 -0
- package/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/orgFunctionInvocation.js +107 -0
- package/compute/orm/models/secretDefinition.d.ts +54 -0
- package/compute/orm/models/secretDefinition.js +104 -0
- package/compute/orm/mutation/index.d.ts +130 -0
- package/compute/orm/mutation/index.js +177 -0
- package/compute/orm/query/index.d.ts +17 -0
- package/compute/orm/query/index.js +21 -0
- package/compute/orm/query-builder.d.ts +110 -0
- package/compute/orm/query-builder.js +757 -0
- package/compute/orm/realtime.d.ts +142 -0
- package/compute/orm/realtime.js +104 -0
- package/compute/orm/select-types.d.ts +125 -0
- package/compute/orm/select-types.js +2 -0
- package/compute/orm/types.d.ts +6 -0
- package/compute/orm/types.js +23 -0
- package/config/index.d.ts +5 -0
- package/config/index.js +21 -0
- package/config/orm/client.d.ts +97 -0
- package/config/orm/client.js +152 -0
- package/config/orm/index.d.ts +83 -0
- package/config/orm/index.js +67 -0
- package/config/orm/input-types.d.ts +719 -0
- package/config/orm/input-types.js +5 -0
- package/config/orm/models/index.d.ts +7 -0
- package/config/orm/models/index.js +12 -0
- package/config/orm/models/platformConfig.d.ts +54 -0
- package/config/orm/models/platformConfig.js +104 -0
- package/config/orm/models/platformConfigDefinition.d.ts +54 -0
- package/config/orm/models/platformConfigDefinition.js +104 -0
- package/config/orm/mutation/index.d.ts +90 -0
- package/config/orm/mutation/index.js +117 -0
- package/config/orm/query-builder.d.ts +110 -0
- package/config/orm/query-builder.js +757 -0
- package/config/orm/realtime.d.ts +142 -0
- package/config/orm/realtime.js +104 -0
- package/config/orm/select-types.d.ts +125 -0
- package/config/orm/select-types.js +2 -0
- package/config/orm/types.d.ts +6 -0
- package/config/orm/types.js +23 -0
- package/esm/admin/orm/models/appAdminGrant.js +1 -1
- package/esm/admin/orm/models/appClaimedInvite.js +1 -1
- package/esm/admin/orm/models/appGrant.js +1 -1
- package/esm/admin/orm/models/appInvite.js +1 -1
- package/esm/admin/orm/models/appMembership.js +1 -1
- package/esm/admin/orm/models/appMembershipDefault.js +1 -1
- package/esm/admin/orm/models/appOwnerGrant.js +1 -1
- package/esm/admin/orm/models/appPermission.js +1 -1
- package/esm/admin/orm/models/appPermissionDefault.js +1 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +1 -1
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +1 -1
- package/esm/admin/orm/models/membershipType.js +1 -1
- package/esm/admin/orm/models/orgAdminGrant.js +1 -1
- package/esm/admin/orm/models/orgChartEdge.js +1 -1
- package/esm/admin/orm/models/orgChartEdgeGrant.js +1 -1
- package/esm/admin/orm/models/orgClaimedInvite.js +1 -1
- package/esm/admin/orm/models/orgGrant.js +1 -1
- package/esm/admin/orm/models/orgInvite.js +1 -1
- package/esm/admin/orm/models/orgMember.js +1 -1
- package/esm/admin/orm/models/orgMemberProfile.js +1 -1
- package/esm/admin/orm/models/orgMembership.js +1 -1
- package/esm/admin/orm/models/orgMembershipDefault.js +1 -1
- package/esm/admin/orm/models/orgMembershipSetting.js +1 -1
- package/esm/admin/orm/models/orgOwnerGrant.js +1 -1
- package/esm/admin/orm/models/orgPermission.js +1 -1
- package/esm/admin/orm/models/orgPermissionDefault.js +1 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
- package/esm/admin/orm/query-builder.d.ts +1 -1
- package/esm/admin/orm/query-builder.js +2 -1
- package/esm/agent/orm/input-types.d.ts +14 -2
- package/esm/agent/orm/models/agent.js +1 -1
- package/esm/agent/orm/models/agentMessage.js +1 -1
- package/esm/agent/orm/models/agentPersona.js +1 -1
- package/esm/agent/orm/models/agentPlan.js +1 -1
- package/esm/agent/orm/models/agentPrompt.js +1 -1
- package/esm/agent/orm/models/agentResource.js +1 -1
- package/esm/agent/orm/models/agentResourceChunk.js +1 -1
- package/esm/agent/orm/models/agentTask.js +1 -1
- package/esm/agent/orm/models/agentThread.js +1 -1
- package/esm/agent/orm/query-builder.d.ts +1 -1
- package/esm/agent/orm/query-builder.js +2 -1
- package/esm/api/orm/input-types.d.ts +36 -1
- package/esm/api/orm/models/api.js +1 -1
- package/esm/api/orm/models/apiModule.js +1 -1
- package/esm/api/orm/models/apiSchema.js +1 -1
- package/esm/api/orm/models/apiSetting.js +1 -1
- package/esm/api/orm/models/app.js +1 -1
- package/esm/api/orm/models/checkConstraint.js +1 -1
- package/esm/api/orm/models/compositeType.js +1 -1
- package/esm/api/orm/models/corsSetting.js +1 -1
- package/esm/api/orm/models/database.js +1 -1
- package/esm/api/orm/models/databaseSetting.js +1 -1
- package/esm/api/orm/models/databaseTransfer.js +1 -1
- package/esm/api/orm/models/defaultPrivilege.js +1 -1
- package/esm/api/orm/models/domain.js +1 -1
- package/esm/api/orm/models/embeddingChunk.js +1 -1
- package/esm/api/orm/models/enum.js +1 -1
- package/esm/api/orm/models/field.js +1 -1
- package/esm/api/orm/models/foreignKeyConstraint.js +1 -1
- package/esm/api/orm/models/fullTextSearch.js +1 -1
- package/esm/api/orm/models/function.js +1 -1
- package/esm/api/orm/models/indexModel.js +1 -1
- package/esm/api/orm/models/nodeTypeRegistry.js +1 -1
- package/esm/api/orm/models/partition.js +1 -1
- package/esm/api/orm/models/policy.js +1 -1
- package/esm/api/orm/models/primaryKeyConstraint.js +1 -1
- package/esm/api/orm/models/pubkeySetting.js +1 -1
- package/esm/api/orm/models/rlsSetting.js +1 -1
- package/esm/api/orm/models/schema.js +1 -1
- package/esm/api/orm/models/schemaGrant.js +1 -1
- package/esm/api/orm/models/site.js +1 -1
- package/esm/api/orm/models/siteMetadatum.js +1 -1
- package/esm/api/orm/models/siteModule.js +1 -1
- package/esm/api/orm/models/siteTheme.js +1 -1
- package/esm/api/orm/models/spatialRelation.js +1 -1
- package/esm/api/orm/models/table.js +1 -1
- package/esm/api/orm/models/tableGrant.js +1 -1
- package/esm/api/orm/models/trigger.js +1 -1
- package/esm/api/orm/models/triggerFunction.js +1 -1
- package/esm/api/orm/models/uniqueConstraint.js +1 -1
- package/esm/api/orm/models/view.js +1 -1
- package/esm/api/orm/models/viewGrant.js +1 -1
- package/esm/api/orm/models/viewRule.js +1 -1
- package/esm/api/orm/models/viewTable.js +1 -1
- package/esm/api/orm/models/webauthnSetting.js +1 -1
- package/esm/api/orm/query-builder.d.ts +1 -1
- package/esm/api/orm/query-builder.js +2 -1
- package/esm/auth/orm/input-types.d.ts +4 -2
- package/esm/auth/orm/models/auditLogAuth.d.ts +2 -0
- package/esm/auth/orm/models/auditLogAuth.js +4 -1
- package/esm/auth/orm/models/cryptoAddress.js +1 -1
- package/esm/auth/orm/models/email.js +1 -1
- package/esm/auth/orm/models/phoneNumber.js +1 -1
- package/esm/auth/orm/models/roleType.js +1 -1
- package/esm/auth/orm/models/user.js +1 -1
- package/esm/auth/orm/models/webauthnCredential.js +1 -1
- package/esm/auth/orm/query-builder.d.ts +1 -1
- package/esm/auth/orm/query-builder.js +2 -1
- package/esm/compute/index.d.ts +5 -0
- package/esm/compute/index.js +5 -0
- package/esm/compute/orm/client.d.ts +97 -0
- package/esm/compute/orm/client.js +145 -0
- package/esm/compute/orm/index.d.ts +148 -0
- package/esm/compute/orm/index.js +80 -0
- package/esm/compute/orm/input-types.d.ts +4243 -0
- package/esm/compute/orm/input-types.js +7 -0
- package/esm/compute/orm/models/functionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/functionApiBinding.js +100 -0
- package/esm/compute/orm/models/functionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/functionDefinition.js +100 -0
- package/esm/compute/orm/models/functionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/functionDeployment.js +100 -0
- package/esm/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/functionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/functionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/functionExecutionLog.js +103 -0
- package/esm/compute/orm/models/functionGraph.d.ts +54 -0
- package/esm/compute/orm/models/functionGraph.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphCommit.js +103 -0
- package/esm/compute/orm/models/functionGraphExecution.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphExecution.js +103 -0
- package/esm/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphExecutionNodeState.js +103 -0
- package/esm/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphExecutionOutput.js +103 -0
- package/esm/compute/orm/models/functionGraphObject.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphObject.js +93 -0
- package/esm/compute/orm/models/functionGraphRef.d.ts +56 -0
- package/esm/compute/orm/models/functionGraphRef.js +103 -0
- package/esm/compute/orm/models/functionGraphStore.d.ts +54 -0
- package/esm/compute/orm/models/functionGraphStore.js +100 -0
- package/esm/compute/orm/models/functionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/functionInvocation.js +103 -0
- package/esm/compute/orm/models/getAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/getAllRecord.js +55 -0
- package/esm/compute/orm/models/index.d.ts +23 -0
- package/esm/compute/orm/models/index.js +23 -0
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/orgFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/orgFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/secretDefinition.d.ts +54 -0
- package/esm/compute/orm/models/secretDefinition.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +130 -0
- package/esm/compute/orm/mutation/index.js +174 -0
- package/esm/compute/orm/query/index.d.ts +17 -0
- package/esm/compute/orm/query/index.js +18 -0
- package/esm/compute/orm/query-builder.d.ts +110 -0
- package/esm/compute/orm/query-builder.js +705 -0
- package/esm/compute/orm/realtime.d.ts +142 -0
- package/esm/compute/orm/realtime.js +100 -0
- package/esm/compute/orm/select-types.d.ts +125 -0
- package/esm/compute/orm/select-types.js +1 -0
- package/esm/compute/orm/types.d.ts +6 -0
- package/esm/compute/orm/types.js +7 -0
- package/esm/config/index.d.ts +5 -0
- package/esm/config/index.js +5 -0
- package/esm/config/orm/client.d.ts +97 -0
- package/esm/config/orm/client.js +145 -0
- package/esm/config/orm/index.d.ts +83 -0
- package/esm/config/orm/index.js +45 -0
- package/esm/config/orm/input-types.d.ts +719 -0
- package/esm/config/orm/input-types.js +2 -0
- package/esm/config/orm/models/index.d.ts +7 -0
- package/esm/config/orm/models/index.js +7 -0
- package/esm/config/orm/models/platformConfig.d.ts +54 -0
- package/esm/config/orm/models/platformConfig.js +100 -0
- package/esm/config/orm/models/platformConfigDefinition.d.ts +54 -0
- package/esm/config/orm/models/platformConfigDefinition.js +100 -0
- package/esm/config/orm/mutation/index.d.ts +90 -0
- package/esm/config/orm/mutation/index.js +114 -0
- package/esm/config/orm/query-builder.d.ts +110 -0
- package/esm/config/orm/query-builder.js +705 -0
- package/esm/config/orm/realtime.d.ts +142 -0
- package/esm/config/orm/realtime.js +100 -0
- package/esm/config/orm/select-types.d.ts +125 -0
- package/esm/config/orm/select-types.js +1 -0
- package/esm/config/orm/types.d.ts +6 -0
- package/esm/config/orm/types.js +7 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/modules/orm/index.d.ts +6 -2
- package/esm/modules/orm/index.js +6 -2
- package/esm/modules/orm/input-types.d.ts +722 -239
- package/esm/modules/orm/models/agentModule.js +1 -1
- package/esm/modules/orm/models/billingModule.js +1 -1
- package/esm/modules/orm/models/billingProviderModule.js +1 -1
- package/esm/modules/orm/models/blueprint.js +1 -1
- package/esm/modules/orm/models/blueprintConstruction.js +1 -1
- package/esm/modules/orm/models/blueprintTemplate.js +1 -1
- package/esm/modules/orm/models/computeLogModule.js +1 -1
- package/esm/modules/orm/models/configSecretsModule.js +1 -1
- package/esm/modules/orm/models/configSecretsOrgModule.js +1 -1
- package/esm/modules/orm/models/configSecretsUserModule.js +1 -1
- package/esm/modules/orm/models/connectedAccountsModule.js +1 -1
- package/esm/modules/orm/models/cryptoAddressesModule.js +1 -1
- package/esm/modules/orm/models/cryptoAuthModule.js +1 -1
- package/esm/modules/orm/models/databaseProvisionModule.js +1 -1
- package/esm/modules/orm/models/dbUsageModule.js +1 -1
- package/esm/modules/orm/models/defaultIdsModule.js +1 -1
- package/esm/modules/orm/models/denormalizedTableField.js +1 -1
- package/esm/modules/orm/models/devicesModule.js +1 -1
- package/esm/modules/orm/models/emailsModule.js +1 -1
- package/esm/modules/orm/models/entityTypeProvision.js +1 -1
- package/esm/modules/orm/models/eventsModule.js +1 -1
- package/esm/modules/orm/models/functionDeploymentModule.d.ts +54 -0
- package/esm/modules/orm/models/functionDeploymentModule.js +100 -0
- package/esm/modules/orm/models/functionInvocationModule.js +1 -1
- package/esm/modules/orm/models/functionModule.js +1 -1
- package/esm/modules/orm/models/graphExecutionModule.d.ts +54 -0
- package/esm/modules/orm/models/graphExecutionModule.js +100 -0
- package/esm/modules/orm/models/graphModule.js +1 -1
- package/esm/modules/orm/models/hierarchyModule.js +1 -1
- package/esm/modules/orm/models/i18NModule.js +1 -1
- package/esm/modules/orm/models/identityProvidersModule.js +1 -1
- package/esm/modules/orm/models/index.d.ts +3 -1
- package/esm/modules/orm/models/index.js +3 -1
- package/esm/modules/orm/models/inferenceLogModule.js +1 -1
- package/esm/modules/orm/models/invitesModule.js +1 -1
- package/esm/modules/orm/models/limitsModule.js +1 -1
- package/esm/modules/orm/models/membershipTypesModule.js +1 -1
- package/esm/modules/orm/models/membershipsModule.js +1 -1
- package/esm/modules/orm/models/merkleStoreModule.js +1 -1
- package/esm/modules/orm/models/namespaceModule.js +1 -1
- package/esm/modules/orm/models/notificationsModule.js +1 -1
- package/esm/modules/orm/models/permissionsModule.js +1 -1
- package/esm/modules/orm/models/phoneNumbersModule.js +1 -1
- package/esm/modules/orm/models/plansModule.js +1 -1
- package/esm/modules/orm/models/profilesModule.js +1 -1
- package/esm/modules/orm/models/rateLimitMetersModule.js +1 -1
- package/esm/modules/orm/models/rateLimitsModule.js +1 -1
- package/esm/modules/orm/models/realtimeModule.js +1 -1
- package/esm/modules/orm/models/relationProvision.js +1 -1
- package/esm/modules/orm/models/rlsModule.js +1 -1
- package/esm/modules/orm/models/secureTableProvision.js +1 -1
- package/esm/modules/orm/models/sessionSecretsModule.js +1 -1
- package/esm/modules/orm/models/sessionsModule.js +1 -1
- package/esm/modules/orm/models/storageLogModule.js +1 -1
- package/esm/modules/orm/models/storageModule.js +1 -1
- package/esm/modules/orm/models/transferLogModule.js +1 -1
- package/esm/modules/orm/models/userAuthModule.js +1 -1
- package/esm/modules/orm/models/userCredentialsModule.js +1 -1
- package/esm/modules/orm/models/userSettingsModule.js +1 -1
- package/esm/modules/orm/models/userStateModule.js +1 -1
- package/esm/modules/orm/models/usersModule.js +1 -1
- package/esm/modules/orm/models/webauthnAuthModule.js +1 -1
- package/esm/modules/orm/models/webauthnCredentialsModule.js +1 -1
- package/esm/modules/orm/query-builder.d.ts +1 -1
- package/esm/modules/orm/query-builder.js +2 -1
- package/esm/objects/orm/models/commit.d.ts +2 -0
- package/esm/objects/orm/models/commit.js +4 -1
- package/esm/objects/orm/models/object.d.ts +2 -0
- package/esm/objects/orm/models/object.js +4 -1
- package/esm/objects/orm/models/ref.d.ts +2 -0
- package/esm/objects/orm/models/ref.js +4 -1
- package/esm/objects/orm/models/store.js +1 -1
- package/esm/objects/orm/query-builder.d.ts +1 -1
- package/esm/objects/orm/query-builder.js +2 -1
- package/esm/usage/orm/models/appLimit.js +1 -1
- package/esm/usage/orm/models/appLimitCap.js +1 -1
- package/esm/usage/orm/models/appLimitCapsDefault.js +1 -1
- package/esm/usage/orm/models/appLimitCredit.js +1 -1
- package/esm/usage/orm/models/appLimitCreditCode.js +1 -1
- package/esm/usage/orm/models/appLimitCreditCodeItem.js +1 -1
- package/esm/usage/orm/models/appLimitCreditRedemption.js +1 -1
- package/esm/usage/orm/models/appLimitDefault.js +1 -1
- package/esm/usage/orm/models/appLimitEvent.d.ts +2 -0
- package/esm/usage/orm/models/appLimitEvent.js +4 -1
- package/esm/usage/orm/models/appLimitWarning.js +1 -1
- package/esm/usage/orm/models/orgLimit.js +1 -1
- package/esm/usage/orm/models/orgLimitAggregate.js +1 -1
- package/esm/usage/orm/models/orgLimitCap.js +1 -1
- package/esm/usage/orm/models/orgLimitCapsDefault.js +1 -1
- package/esm/usage/orm/models/orgLimitCredit.js +1 -1
- package/esm/usage/orm/models/orgLimitDefault.js +1 -1
- package/esm/usage/orm/models/orgLimitEvent.d.ts +2 -0
- package/esm/usage/orm/models/orgLimitEvent.js +4 -1
- package/esm/usage/orm/models/orgLimitWarning.js +1 -1
- package/esm/usage/orm/query-builder.d.ts +1 -1
- package/esm/usage/orm/query-builder.js +2 -1
- package/index.d.ts +2 -0
- package/index.js +3 -1
- package/modules/orm/index.d.ts +6 -2
- package/modules/orm/index.js +6 -2
- package/modules/orm/input-types.d.ts +722 -239
- package/modules/orm/models/agentModule.js +1 -1
- package/modules/orm/models/billingModule.js +1 -1
- package/modules/orm/models/billingProviderModule.js +1 -1
- package/modules/orm/models/blueprint.js +1 -1
- package/modules/orm/models/blueprintConstruction.js +1 -1
- package/modules/orm/models/blueprintTemplate.js +1 -1
- package/modules/orm/models/computeLogModule.js +1 -1
- package/modules/orm/models/configSecretsModule.js +1 -1
- package/modules/orm/models/configSecretsOrgModule.js +1 -1
- package/modules/orm/models/configSecretsUserModule.js +1 -1
- package/modules/orm/models/connectedAccountsModule.js +1 -1
- package/modules/orm/models/cryptoAddressesModule.js +1 -1
- package/modules/orm/models/cryptoAuthModule.js +1 -1
- package/modules/orm/models/databaseProvisionModule.js +1 -1
- package/modules/orm/models/dbUsageModule.js +1 -1
- package/modules/orm/models/defaultIdsModule.js +1 -1
- package/modules/orm/models/denormalizedTableField.js +1 -1
- package/modules/orm/models/devicesModule.js +1 -1
- package/modules/orm/models/emailsModule.js +1 -1
- package/modules/orm/models/entityTypeProvision.js +1 -1
- package/modules/orm/models/eventsModule.js +1 -1
- package/modules/orm/models/functionDeploymentModule.d.ts +54 -0
- package/modules/orm/models/functionDeploymentModule.js +104 -0
- package/modules/orm/models/functionInvocationModule.js +1 -1
- package/modules/orm/models/functionModule.js +1 -1
- package/modules/orm/models/graphExecutionModule.d.ts +54 -0
- package/modules/orm/models/graphExecutionModule.js +104 -0
- package/modules/orm/models/graphModule.js +1 -1
- package/modules/orm/models/hierarchyModule.js +1 -1
- package/modules/orm/models/i18NModule.js +1 -1
- package/modules/orm/models/identityProvidersModule.js +1 -1
- package/modules/orm/models/index.d.ts +3 -1
- package/modules/orm/models/index.js +8 -4
- package/modules/orm/models/inferenceLogModule.js +1 -1
- package/modules/orm/models/invitesModule.js +1 -1
- package/modules/orm/models/limitsModule.js +1 -1
- package/modules/orm/models/membershipTypesModule.js +1 -1
- package/modules/orm/models/membershipsModule.js +1 -1
- package/modules/orm/models/merkleStoreModule.js +1 -1
- package/modules/orm/models/namespaceModule.js +1 -1
- package/modules/orm/models/notificationsModule.js +1 -1
- package/modules/orm/models/permissionsModule.js +1 -1
- package/modules/orm/models/phoneNumbersModule.js +1 -1
- package/modules/orm/models/plansModule.js +1 -1
- package/modules/orm/models/profilesModule.js +1 -1
- package/modules/orm/models/rateLimitMetersModule.js +1 -1
- package/modules/orm/models/rateLimitsModule.js +1 -1
- package/modules/orm/models/realtimeModule.js +1 -1
- package/modules/orm/models/relationProvision.js +1 -1
- package/modules/orm/models/rlsModule.js +1 -1
- package/modules/orm/models/secureTableProvision.js +1 -1
- package/modules/orm/models/sessionSecretsModule.js +1 -1
- package/modules/orm/models/sessionsModule.js +1 -1
- package/modules/orm/models/storageLogModule.js +1 -1
- package/modules/orm/models/storageModule.js +1 -1
- package/modules/orm/models/transferLogModule.js +1 -1
- package/modules/orm/models/userAuthModule.js +1 -1
- package/modules/orm/models/userCredentialsModule.js +1 -1
- package/modules/orm/models/userSettingsModule.js +1 -1
- package/modules/orm/models/userStateModule.js +1 -1
- package/modules/orm/models/usersModule.js +1 -1
- package/modules/orm/models/webauthnAuthModule.js +1 -1
- package/modules/orm/models/webauthnCredentialsModule.js +1 -1
- package/modules/orm/query-builder.d.ts +1 -1
- package/modules/orm/query-builder.js +2 -1
- package/objects/orm/models/commit.d.ts +2 -0
- package/objects/orm/models/commit.js +4 -1
- package/objects/orm/models/object.d.ts +2 -0
- package/objects/orm/models/object.js +4 -1
- package/objects/orm/models/ref.d.ts +2 -0
- package/objects/orm/models/ref.js +4 -1
- package/objects/orm/models/store.js +1 -1
- package/objects/orm/query-builder.d.ts +1 -1
- package/objects/orm/query-builder.js +2 -1
- package/package.json +4 -4
- package/usage/orm/models/appLimit.js +1 -1
- package/usage/orm/models/appLimitCap.js +1 -1
- package/usage/orm/models/appLimitCapsDefault.js +1 -1
- package/usage/orm/models/appLimitCredit.js +1 -1
- package/usage/orm/models/appLimitCreditCode.js +1 -1
- package/usage/orm/models/appLimitCreditCodeItem.js +1 -1
- package/usage/orm/models/appLimitCreditRedemption.js +1 -1
- package/usage/orm/models/appLimitDefault.js +1 -1
- package/usage/orm/models/appLimitEvent.d.ts +2 -0
- package/usage/orm/models/appLimitEvent.js +4 -1
- package/usage/orm/models/appLimitWarning.js +1 -1
- package/usage/orm/models/orgLimit.js +1 -1
- package/usage/orm/models/orgLimitAggregate.js +1 -1
- package/usage/orm/models/orgLimitCap.js +1 -1
- package/usage/orm/models/orgLimitCapsDefault.js +1 -1
- package/usage/orm/models/orgLimitCredit.js +1 -1
- package/usage/orm/models/orgLimitDefault.js +1 -1
- package/usage/orm/models/orgLimitEvent.d.ts +2 -0
- package/usage/orm/models/orgLimitEvent.js +4 -1
- package/usage/orm/models/orgLimitWarning.js +1 -1
- package/usage/orm/query-builder.d.ts +1 -1
- package/usage/orm/query-builder.js +2 -1
|
@@ -74,7 +74,7 @@ export class NodeTypeRegistryModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('NodeTypeRegistry', 'updateNodeTypeRegistry', 'nodeTypeRegistry', args.select, args.where.name, args.data, 'UpdateNodeTypeRegistryInput', 'name', 'nodeTypeRegistryPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('NodeTypeRegistry', 'updateNodeTypeRegistry', 'nodeTypeRegistry', args.select, args.where.name, args.data, 'UpdateNodeTypeRegistryInput', 'name', 'nodeTypeRegistryPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class PartitionModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Partition', 'updatePartition', 'partition', args.select, args.where.id, args.data, 'UpdatePartitionInput', 'id', 'partitionPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Partition', 'updatePartition', 'partition', args.select, args.where.id, args.data, 'UpdatePartitionInput', 'id', 'partitionPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class PolicyModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Policy', 'updatePolicy', 'policy', args.select, args.where.id, args.data, 'UpdatePolicyInput', 'id', 'policyPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Policy', 'updatePolicy', 'policy', args.select, args.where.id, args.data, 'UpdatePolicyInput', 'id', 'policyPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class PrimaryKeyConstraintModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('PrimaryKeyConstraint', 'updatePrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.where.id, args.data, 'UpdatePrimaryKeyConstraintInput', 'id', 'primaryKeyConstraintPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PrimaryKeyConstraint', 'updatePrimaryKeyConstraint', 'primaryKeyConstraint', args.select, args.where.id, args.data, 'UpdatePrimaryKeyConstraintInput', 'id', 'primaryKeyConstraintPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class PubkeySettingModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('PubkeySetting', 'updatePubkeySetting', 'pubkeySetting', args.select, args.where.id, args.data, 'UpdatePubkeySettingInput', 'id', 'pubkeySettingPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PubkeySetting', 'updatePubkeySetting', 'pubkeySetting', args.select, args.where.id, args.data, 'UpdatePubkeySettingInput', 'id', 'pubkeySettingPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class RlsSettingModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('RlsSetting', 'updateRlsSetting', 'rlsSetting', args.select, args.where.id, args.data, 'UpdateRlsSettingInput', 'id', 'rlsSettingPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('RlsSetting', 'updateRlsSetting', 'rlsSetting', args.select, args.where.id, args.data, 'UpdateRlsSettingInput', 'id', 'rlsSettingPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SchemaModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Schema', 'updateSchema', 'schema', args.select, args.where.id, args.data, 'UpdateSchemaInput', 'id', 'schemaPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Schema', 'updateSchema', 'schema', args.select, args.where.id, args.data, 'UpdateSchemaInput', 'id', 'schemaPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SchemaGrantModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('SchemaGrant', 'updateSchemaGrant', 'schemaGrant', args.select, args.where.id, args.data, 'UpdateSchemaGrantInput', 'id', 'schemaGrantPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SchemaGrant', 'updateSchemaGrant', 'schemaGrant', args.select, args.where.id, args.data, 'UpdateSchemaGrantInput', 'id', 'schemaGrantPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SiteModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Site', 'updateSite', 'site', args.select, args.where.id, args.data, 'UpdateSiteInput', 'id', 'sitePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Site', 'updateSite', 'site', args.select, args.where.id, args.data, 'UpdateSiteInput', 'id', 'sitePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SiteMetadatumModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('SiteMetadatum', 'updateSiteMetadatum', 'siteMetadatum', args.select, args.where.id, args.data, 'UpdateSiteMetadatumInput', 'id', 'siteMetadatumPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SiteMetadatum', 'updateSiteMetadatum', 'siteMetadatum', args.select, args.where.id, args.data, 'UpdateSiteMetadatumInput', 'id', 'siteMetadatumPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SiteModuleModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('SiteModule', 'updateSiteModule', 'siteModule', args.select, args.where.id, args.data, 'UpdateSiteModuleInput', 'id', 'siteModulePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SiteModule', 'updateSiteModule', 'siteModule', args.select, args.where.id, args.data, 'UpdateSiteModuleInput', 'id', 'siteModulePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SiteThemeModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('SiteTheme', 'updateSiteTheme', 'siteTheme', args.select, args.where.id, args.data, 'UpdateSiteThemeInput', 'id', 'siteThemePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SiteTheme', 'updateSiteTheme', 'siteTheme', args.select, args.where.id, args.data, 'UpdateSiteThemeInput', 'id', 'siteThemePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class SpatialRelationModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('SpatialRelation', 'updateSpatialRelation', 'spatialRelation', args.select, args.where.id, args.data, 'UpdateSpatialRelationInput', 'id', 'spatialRelationPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('SpatialRelation', 'updateSpatialRelation', 'spatialRelation', args.select, args.where.id, args.data, 'UpdateSpatialRelationInput', 'id', 'spatialRelationPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class TableModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Table', 'updateTable', 'table', args.select, args.where.id, args.data, 'UpdateTableInput', 'id', 'tablePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Table', 'updateTable', 'table', args.select, args.where.id, args.data, 'UpdateTableInput', 'id', 'tablePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class TableGrantModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('TableGrant', 'updateTableGrant', 'tableGrant', args.select, args.where.id, args.data, 'UpdateTableGrantInput', 'id', 'tableGrantPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('TableGrant', 'updateTableGrant', 'tableGrant', args.select, args.where.id, args.data, 'UpdateTableGrantInput', 'id', 'tableGrantPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class TriggerModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Trigger', 'updateTrigger', 'trigger', args.select, args.where.id, args.data, 'UpdateTriggerInput', 'id', 'triggerPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Trigger', 'updateTrigger', 'trigger', args.select, args.where.id, args.data, 'UpdateTriggerInput', 'id', 'triggerPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class TriggerFunctionModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('TriggerFunction', 'updateTriggerFunction', 'triggerFunction', args.select, args.where.id, args.data, 'UpdateTriggerFunctionInput', 'id', 'triggerFunctionPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('TriggerFunction', 'updateTriggerFunction', 'triggerFunction', args.select, args.where.id, args.data, 'UpdateTriggerFunctionInput', 'id', 'triggerFunctionPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class UniqueConstraintModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('UniqueConstraint', 'updateUniqueConstraint', 'uniqueConstraint', args.select, args.where.id, args.data, 'UpdateUniqueConstraintInput', 'id', 'uniqueConstraintPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('UniqueConstraint', 'updateUniqueConstraint', 'uniqueConstraint', args.select, args.where.id, args.data, 'UpdateUniqueConstraintInput', 'id', 'uniqueConstraintPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class ViewModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('View', 'updateView', 'view', args.select, args.where.id, args.data, 'UpdateViewInput', 'id', 'viewPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('View', 'updateView', 'view', args.select, args.where.id, args.data, 'UpdateViewInput', 'id', 'viewPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class ViewGrantModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('ViewGrant', 'updateViewGrant', 'viewGrant', args.select, args.where.id, args.data, 'UpdateViewGrantInput', 'id', 'viewGrantPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ViewGrant', 'updateViewGrant', 'viewGrant', args.select, args.where.id, args.data, 'UpdateViewGrantInput', 'id', 'viewGrantPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class ViewRuleModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('ViewRule', 'updateViewRule', 'viewRule', args.select, args.where.id, args.data, 'UpdateViewRuleInput', 'id', 'viewRulePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ViewRule', 'updateViewRule', 'viewRule', args.select, args.where.id, args.data, 'UpdateViewRuleInput', 'id', 'viewRulePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class ViewTableModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('ViewTable', 'updateViewTable', 'viewTable', args.select, args.where.id, args.data, 'UpdateViewTableInput', 'id', 'viewTablePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('ViewTable', 'updateViewTable', 'viewTable', args.select, args.where.id, args.data, 'UpdateViewTableInput', 'id', 'viewTablePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class WebauthnSettingModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('WebauthnSetting', 'updateWebauthnSetting', 'webauthnSetting', args.select, args.where.id, args.data, 'UpdateWebauthnSettingInput', 'id', 'webauthnSettingPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('WebauthnSetting', 'updateWebauthnSetting', 'webauthnSetting', args.select, args.where.id, args.data, 'UpdateWebauthnSettingInput', 'id', 'webauthnSettingPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -63,7 +63,7 @@ export declare function buildUpdateDocument<TSelect, TWhere extends {
|
|
|
63
63
|
document: string;
|
|
64
64
|
variables: Record<string, unknown>;
|
|
65
65
|
};
|
|
66
|
-
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string
|
|
66
|
+
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>, extraKeys?: Record<string, unknown>): {
|
|
67
67
|
document: string;
|
|
68
68
|
variables: Record<string, unknown>;
|
|
69
69
|
};
|
|
@@ -292,7 +292,7 @@ export function buildUpdateDocument(operationName, mutationField, entityField, s
|
|
|
292
292
|
},
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap) {
|
|
295
|
+
export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap, extraKeys) {
|
|
296
296
|
const selections = select
|
|
297
297
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
298
298
|
: [t.field({ name: 'id' })];
|
|
@@ -311,6 +311,7 @@ export function buildUpdateByPkDocument(operationName, mutationField, entityFiel
|
|
|
311
311
|
variables: {
|
|
312
312
|
input: {
|
|
313
313
|
[idFieldName]: id,
|
|
314
|
+
...extraKeys,
|
|
314
315
|
[patchFieldName]: data,
|
|
315
316
|
},
|
|
316
317
|
},
|
|
@@ -802,7 +802,8 @@ export interface UserFilter {
|
|
|
802
802
|
/**
|
|
803
803
|
* Composite unified search. Provide a search string and it will be dispatched to
|
|
804
804
|
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
805
|
-
* simultaneously.
|
|
805
|
+
* simultaneously. When the LLM plugin is active, pgvector also participates via
|
|
806
|
+
* auto-embedding. Rows matching ANY algorithm are returned. All matching score
|
|
806
807
|
* fields are populated.
|
|
807
808
|
*/
|
|
808
809
|
unifiedSearch?: string;
|
|
@@ -2034,7 +2035,8 @@ export interface UserFilter {
|
|
|
2034
2035
|
/**
|
|
2035
2036
|
* Composite unified search. Provide a search string and it will be dispatched to
|
|
2036
2037
|
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
2037
|
-
* simultaneously.
|
|
2038
|
+
* simultaneously. When the LLM plugin is active, pgvector also participates via
|
|
2039
|
+
* auto-embedding. Rows matching ANY algorithm are returned. All matching score
|
|
2038
2040
|
* fields are populated.
|
|
2039
2041
|
*/
|
|
2040
2042
|
unifiedSearch?: string;
|
|
@@ -35,6 +35,7 @@ export declare class AuditLogAuthModel {
|
|
|
35
35
|
}>;
|
|
36
36
|
update<S extends AuditLogAuthSelect>(args: UpdateArgs<S, {
|
|
37
37
|
id: string;
|
|
38
|
+
createdAt: string;
|
|
38
39
|
}, AuditLogAuthPatch> & {
|
|
39
40
|
select: S;
|
|
40
41
|
} & StrictSelect<S, AuditLogAuthSelect>): QueryBuilder<{
|
|
@@ -44,6 +45,7 @@ export declare class AuditLogAuthModel {
|
|
|
44
45
|
}>;
|
|
45
46
|
delete<S extends AuditLogAuthSelect>(args: DeleteArgs<{
|
|
46
47
|
id: string;
|
|
48
|
+
createdAt: string;
|
|
47
49
|
}, S> & {
|
|
48
50
|
select: S;
|
|
49
51
|
} & StrictSelect<S, AuditLogAuthSelect>): QueryBuilder<{
|
|
@@ -74,7 +74,9 @@ export class AuditLogAuthModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('AuditLogAuth', 'updateAuditLogAuth', 'auditLogAuth', args.select, args.where.id, args.data, 'UpdateAuditLogAuthInput', 'id', 'auditLogAuthPatch', connectionFieldsMap
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('AuditLogAuth', 'updateAuditLogAuth', 'auditLogAuth', args.select, args.where.id, args.data, 'UpdateAuditLogAuthInput', 'id', 'auditLogAuthPatch', connectionFieldsMap, {
|
|
78
|
+
createdAt: args.where.createdAt,
|
|
79
|
+
});
|
|
78
80
|
return new QueryBuilder({
|
|
79
81
|
client: this.client,
|
|
80
82
|
operation: 'mutation',
|
|
@@ -87,6 +89,7 @@ export class AuditLogAuthModel {
|
|
|
87
89
|
delete(args) {
|
|
88
90
|
const { document, variables } = buildDeleteByPkDocument('AuditLogAuth', 'deleteAuditLogAuth', 'auditLogAuth', {
|
|
89
91
|
id: args.where.id,
|
|
92
|
+
createdAt: args.where.createdAt,
|
|
90
93
|
}, 'DeleteAuditLogAuthInput', args.select, connectionFieldsMap);
|
|
91
94
|
return new QueryBuilder({
|
|
92
95
|
client: this.client,
|
|
@@ -74,7 +74,7 @@ export class CryptoAddressModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('CryptoAddress', 'updateCryptoAddress', 'cryptoAddress', args.select, args.where.id, args.data, 'UpdateCryptoAddressInput', 'id', 'cryptoAddressPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('CryptoAddress', 'updateCryptoAddress', 'cryptoAddress', args.select, args.where.id, args.data, 'UpdateCryptoAddressInput', 'id', 'cryptoAddressPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class EmailModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('Email', 'updateEmail', 'email', args.select, args.where.id, args.data, 'UpdateEmailInput', 'id', 'emailPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Email', 'updateEmail', 'email', args.select, args.where.id, args.data, 'UpdateEmailInput', 'id', 'emailPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class PhoneNumberModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('PhoneNumber', 'updatePhoneNumber', 'phoneNumber', args.select, args.where.id, args.data, 'UpdatePhoneNumberInput', 'id', 'phoneNumberPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PhoneNumber', 'updatePhoneNumber', 'phoneNumber', args.select, args.where.id, args.data, 'UpdatePhoneNumberInput', 'id', 'phoneNumberPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class RoleTypeModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('RoleType', 'updateRoleType', 'roleType', args.select, args.where.id, args.data, 'UpdateRoleTypeInput', 'id', 'roleTypePatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('RoleType', 'updateRoleType', 'roleType', args.select, args.where.id, args.data, 'UpdateRoleTypeInput', 'id', 'roleTypePatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class UserModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('User', 'updateUser', 'user', args.select, args.where.id, args.data, 'UpdateUserInput', 'id', 'userPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('User', 'updateUser', 'user', args.select, args.where.id, args.data, 'UpdateUserInput', 'id', 'userPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -74,7 +74,7 @@ export class WebauthnCredentialModel {
|
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('WebauthnCredential', 'updateWebauthnCredential', 'webauthnCredential', args.select, args.where.id, args.data, 'UpdateWebauthnCredentialInput', 'id', 'webauthnCredentialPatch', connectionFieldsMap);
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('WebauthnCredential', 'updateWebauthnCredential', 'webauthnCredential', args.select, args.where.id, args.data, 'UpdateWebauthnCredentialInput', 'id', 'webauthnCredentialPatch', connectionFieldsMap, undefined);
|
|
78
78
|
return new QueryBuilder({
|
|
79
79
|
client: this.client,
|
|
80
80
|
operation: 'mutation',
|
|
@@ -63,7 +63,7 @@ export declare function buildUpdateDocument<TSelect, TWhere extends {
|
|
|
63
63
|
document: string;
|
|
64
64
|
variables: Record<string, unknown>;
|
|
65
65
|
};
|
|
66
|
-
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string
|
|
66
|
+
export declare function buildUpdateByPkDocument<TSelect, TData>(operationName: string, mutationField: string, entityField: string, select: TSelect, id: string | number, data: TData, inputTypeName: string, idFieldName: string, patchFieldName: string, connectionFieldsMap?: Record<string, Record<string, string>>, extraKeys?: Record<string, unknown>): {
|
|
67
67
|
document: string;
|
|
68
68
|
variables: Record<string, unknown>;
|
|
69
69
|
};
|
|
@@ -292,7 +292,7 @@ export function buildUpdateDocument(operationName, mutationField, entityField, s
|
|
|
292
292
|
},
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap) {
|
|
295
|
+
export function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap, extraKeys) {
|
|
296
296
|
const selections = select
|
|
297
297
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
298
298
|
: [t.field({ name: 'id' })];
|
|
@@ -311,6 +311,7 @@ export function buildUpdateByPkDocument(operationName, mutationField, entityFiel
|
|
|
311
311
|
variables: {
|
|
312
312
|
input: {
|
|
313
313
|
[idFieldName]: id,
|
|
314
|
+
...extraKeys,
|
|
314
315
|
[patchFieldName]: data,
|
|
315
316
|
},
|
|
316
317
|
},
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ORM Client - Runtime GraphQL executor
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { GraphQLAdapter, GraphQLError, QueryResult } from '@constructive-io/graphql-query/runtime';
|
|
7
|
+
import type { ConnectionState, ConnectionStateListener, RealtimeConfig, SubscriptionEvent, SubscriptionFieldMeta, Unsubscribe } from './realtime';
|
|
8
|
+
export type { GraphQLAdapter, GraphQLError, QueryResult, } from '@constructive-io/graphql-query/runtime';
|
|
9
|
+
export type { ConnectionState, ConnectionStateListener, RealtimeConfig, SubscribeOptions, SubscriptionEvent, SubscriptionFieldMeta, SubscriptionOperation, Unsubscribe, WsClient, } from './realtime';
|
|
10
|
+
export { RealtimeManager } from './realtime';
|
|
11
|
+
/**
|
|
12
|
+
* Default adapter that uses fetch for HTTP requests.
|
|
13
|
+
*
|
|
14
|
+
* When no custom fetch is provided, uses @constructive-io/fetch which
|
|
15
|
+
* handles *.localhost DNS rewriting and Host header preservation in
|
|
16
|
+
* Node.js. Pass a custom fetch to override for test mocking or custom
|
|
17
|
+
* proxy/credentials.
|
|
18
|
+
*/
|
|
19
|
+
export declare class FetchAdapter implements GraphQLAdapter {
|
|
20
|
+
private endpoint;
|
|
21
|
+
private headers;
|
|
22
|
+
private fetchFn;
|
|
23
|
+
constructor(endpoint: string, headers?: Record<string, string>, fetchFn?: typeof globalThis.fetch);
|
|
24
|
+
execute<T>(document: string, variables?: Record<string, unknown>): Promise<QueryResult<T>>;
|
|
25
|
+
setHeaders(headers: Record<string, string>): void;
|
|
26
|
+
getEndpoint(): string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Configuration for creating an ORM client.
|
|
30
|
+
* Either provide endpoint (and optional headers/fetch) for HTTP requests,
|
|
31
|
+
* or provide a custom adapter for alternative execution strategies.
|
|
32
|
+
*/
|
|
33
|
+
export interface OrmClientConfig {
|
|
34
|
+
/** GraphQL endpoint URL (required if adapter not provided) */
|
|
35
|
+
endpoint?: string;
|
|
36
|
+
/** Default headers for HTTP requests (only used with endpoint) */
|
|
37
|
+
headers?: Record<string, string>;
|
|
38
|
+
/**
|
|
39
|
+
* Custom fetch implementation. Defaults to createFetch() from
|
|
40
|
+
* @constructive-io/graphql-query/runtime which handles *.localhost
|
|
41
|
+
* DNS and Host headers in Node.js. Pass your own for test mocking
|
|
42
|
+
* or custom proxy/credentials.
|
|
43
|
+
*/
|
|
44
|
+
fetch?: typeof globalThis.fetch;
|
|
45
|
+
/** Custom adapter for GraphQL execution (overrides endpoint/headers/fetch) */
|
|
46
|
+
adapter?: GraphQLAdapter;
|
|
47
|
+
/**
|
|
48
|
+
* Optional realtime (WebSocket) configuration.
|
|
49
|
+
* When provided, enables subscription methods on models.
|
|
50
|
+
* The WebSocket connection is created lazily on first subscribe().
|
|
51
|
+
*/
|
|
52
|
+
realtime?: RealtimeConfig;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Error thrown when GraphQL request fails
|
|
56
|
+
*/
|
|
57
|
+
export declare class GraphQLRequestError extends Error {
|
|
58
|
+
readonly errors: GraphQLError[];
|
|
59
|
+
readonly data: unknown;
|
|
60
|
+
constructor(errors: GraphQLError[], data?: unknown);
|
|
61
|
+
}
|
|
62
|
+
export declare class OrmClient {
|
|
63
|
+
private adapter;
|
|
64
|
+
private realtimeManager?;
|
|
65
|
+
constructor(config: OrmClientConfig);
|
|
66
|
+
execute<T>(document: string, variables?: Record<string, unknown>): Promise<QueryResult<T>>;
|
|
67
|
+
/**
|
|
68
|
+
* Subscribe to a GraphQL subscription operation.
|
|
69
|
+
* Used by generated model subscribe() methods.
|
|
70
|
+
* @throws Error if realtime is not configured
|
|
71
|
+
*/
|
|
72
|
+
subscribe<T>(meta: SubscriptionFieldMeta, document: string, variables: Record<string, unknown>, options: {
|
|
73
|
+
onEvent: (event: SubscriptionEvent<T>) => void;
|
|
74
|
+
onError?: (error: Error) => void;
|
|
75
|
+
onComplete?: () => void;
|
|
76
|
+
}): Unsubscribe;
|
|
77
|
+
/**
|
|
78
|
+
* Set headers for requests.
|
|
79
|
+
* Only works if the adapter supports headers.
|
|
80
|
+
*/
|
|
81
|
+
setHeaders(headers: Record<string, string>): void;
|
|
82
|
+
/**
|
|
83
|
+
* Get the endpoint URL.
|
|
84
|
+
* Returns empty string if the adapter doesn't have an endpoint.
|
|
85
|
+
*/
|
|
86
|
+
getEndpoint(): string;
|
|
87
|
+
/** Get current WebSocket connection state */
|
|
88
|
+
getConnectionState(): ConnectionState;
|
|
89
|
+
/** Register a listener for WebSocket connection state changes */
|
|
90
|
+
onConnectionStateChange(listener: ConnectionStateListener): Unsubscribe;
|
|
91
|
+
/** Number of active subscriptions */
|
|
92
|
+
getActiveSubscriptionCount(): number;
|
|
93
|
+
/** Whether realtime is configured */
|
|
94
|
+
get isRealtimeEnabled(): boolean;
|
|
95
|
+
/** Dispose the realtime manager (close WebSocket) */
|
|
96
|
+
dispose(): void;
|
|
97
|
+
}
|