@constructive-io/sdk 0.25.16 → 0.25.17
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 +3 -3
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.EventsModuleModel = exports.StorageModuleModel = exports.EntityTypeProvisionModel = exports.MembershipsModuleModel = exports.LimitsModuleModel = exports.AgentModuleModel = exports.UserAuthModuleModel = void 0;
|
|
3
|
+
exports.ProfilesModuleModel = exports.NotificationsModuleModel = exports.PermissionsModuleModel = exports.HierarchyModuleModel = exports.GraphExecutionModuleModel = exports.DbUsageModuleModel = exports.BillingProviderModuleModel = exports.PlansModuleModel = exports.FunctionDeploymentModuleModel = exports.TransferLogModuleModel = exports.StorageLogModuleModel = exports.NamespaceModuleModel = exports.InferenceLogModuleModel = exports.ComputeLogModuleModel = exports.InvitesModuleModel = exports.FunctionModuleModel = exports.FunctionInvocationModuleModel = exports.WebauthnAuthModuleModel = exports.RealtimeModuleModel = exports.RateLimitMetersModuleModel = exports.ConfigSecretsModuleModel = exports.DatabaseProvisionModuleModel = exports.GraphModuleModel = exports.MerkleStoreModuleModel = exports.SecureTableProvisionModel = exports.SessionsModuleModel = exports.CryptoAuthModuleModel = exports.BlueprintConstructionModel = exports.BlueprintTemplateModel = exports.BlueprintModel = exports.RlsModuleModel = exports.IdentityProvidersModuleModel = exports.DenormalizedTableFieldModel = exports.CryptoAddressesModuleModel = exports.WebauthnCredentialsModuleModel = exports.UsersModuleModel = exports.RateLimitsModuleModel = exports.PhoneNumbersModuleModel = exports.EmailsModuleModel = exports.ConnectedAccountsModuleModel = exports.ConfigSecretsUserModuleModel = exports.UserSettingsModuleModel = exports.UserCredentialsModuleModel = exports.I18NModuleModel = exports.DevicesModuleModel = exports.ConfigSecretsOrgModuleModel = exports.SessionSecretsModuleModel = exports.UserStateModuleModel = exports.MembershipTypesModuleModel = exports.DefaultIdsModuleModel = void 0;
|
|
4
|
+
exports.EventsModuleModel = exports.StorageModuleModel = exports.EntityTypeProvisionModel = exports.MembershipsModuleModel = exports.LimitsModuleModel = exports.AgentModuleModel = exports.UserAuthModuleModel = exports.RelationProvisionModel = exports.BillingModuleModel = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Models barrel export
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
@@ -79,22 +79,26 @@ var functionModule_1 = require("./functionModule");
|
|
|
79
79
|
Object.defineProperty(exports, "FunctionModuleModel", { enumerable: true, get: function () { return functionModule_1.FunctionModuleModel; } });
|
|
80
80
|
var invitesModule_1 = require("./invitesModule");
|
|
81
81
|
Object.defineProperty(exports, "InvitesModuleModel", { enumerable: true, get: function () { return invitesModule_1.InvitesModuleModel; } });
|
|
82
|
-
var namespaceModule_1 = require("./namespaceModule");
|
|
83
|
-
Object.defineProperty(exports, "NamespaceModuleModel", { enumerable: true, get: function () { return namespaceModule_1.NamespaceModuleModel; } });
|
|
84
82
|
var computeLogModule_1 = require("./computeLogModule");
|
|
85
83
|
Object.defineProperty(exports, "ComputeLogModuleModel", { enumerable: true, get: function () { return computeLogModule_1.ComputeLogModuleModel; } });
|
|
86
84
|
var inferenceLogModule_1 = require("./inferenceLogModule");
|
|
87
85
|
Object.defineProperty(exports, "InferenceLogModuleModel", { enumerable: true, get: function () { return inferenceLogModule_1.InferenceLogModuleModel; } });
|
|
86
|
+
var namespaceModule_1 = require("./namespaceModule");
|
|
87
|
+
Object.defineProperty(exports, "NamespaceModuleModel", { enumerable: true, get: function () { return namespaceModule_1.NamespaceModuleModel; } });
|
|
88
88
|
var storageLogModule_1 = require("./storageLogModule");
|
|
89
89
|
Object.defineProperty(exports, "StorageLogModuleModel", { enumerable: true, get: function () { return storageLogModule_1.StorageLogModuleModel; } });
|
|
90
90
|
var transferLogModule_1 = require("./transferLogModule");
|
|
91
91
|
Object.defineProperty(exports, "TransferLogModuleModel", { enumerable: true, get: function () { return transferLogModule_1.TransferLogModuleModel; } });
|
|
92
|
+
var functionDeploymentModule_1 = require("./functionDeploymentModule");
|
|
93
|
+
Object.defineProperty(exports, "FunctionDeploymentModuleModel", { enumerable: true, get: function () { return functionDeploymentModule_1.FunctionDeploymentModuleModel; } });
|
|
92
94
|
var plansModule_1 = require("./plansModule");
|
|
93
95
|
Object.defineProperty(exports, "PlansModuleModel", { enumerable: true, get: function () { return plansModule_1.PlansModuleModel; } });
|
|
94
96
|
var billingProviderModule_1 = require("./billingProviderModule");
|
|
95
97
|
Object.defineProperty(exports, "BillingProviderModuleModel", { enumerable: true, get: function () { return billingProviderModule_1.BillingProviderModuleModel; } });
|
|
96
98
|
var dbUsageModule_1 = require("./dbUsageModule");
|
|
97
99
|
Object.defineProperty(exports, "DbUsageModuleModel", { enumerable: true, get: function () { return dbUsageModule_1.DbUsageModuleModel; } });
|
|
100
|
+
var graphExecutionModule_1 = require("./graphExecutionModule");
|
|
101
|
+
Object.defineProperty(exports, "GraphExecutionModuleModel", { enumerable: true, get: function () { return graphExecutionModule_1.GraphExecutionModuleModel; } });
|
|
98
102
|
var hierarchyModule_1 = require("./hierarchyModule");
|
|
99
103
|
Object.defineProperty(exports, "HierarchyModuleModel", { enumerable: true, get: function () { return hierarchyModule_1.HierarchyModuleModel; } });
|
|
100
104
|
var permissionsModule_1 = require("./permissionsModule");
|
|
@@ -77,7 +77,7 @@ class InferenceLogModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('InferenceLogModule', 'updateInferenceLogModule', 'inferenceLogModule', args.select, args.where.id, args.data, 'UpdateInferenceLogModuleInput', 'id', 'inferenceLogModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('InferenceLogModule', 'updateInferenceLogModule', 'inferenceLogModule', args.select, args.where.id, args.data, 'UpdateInferenceLogModuleInput', 'id', 'inferenceLogModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class InvitesModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('InvitesModule', 'updateInvitesModule', 'invitesModule', args.select, args.where.id, args.data, 'UpdateInvitesModuleInput', 'id', 'invitesModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('InvitesModule', 'updateInvitesModule', 'invitesModule', args.select, args.where.id, args.data, 'UpdateInvitesModuleInput', 'id', 'invitesModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class LimitsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('LimitsModule', 'updateLimitsModule', 'limitsModule', args.select, args.where.id, args.data, 'UpdateLimitsModuleInput', 'id', 'limitsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('LimitsModule', 'updateLimitsModule', 'limitsModule', args.select, args.where.id, args.data, 'UpdateLimitsModuleInput', 'id', 'limitsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class MembershipTypesModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MembershipTypesModule', 'updateMembershipTypesModule', 'membershipTypesModule', args.select, args.where.id, args.data, 'UpdateMembershipTypesModuleInput', 'id', 'membershipTypesModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MembershipTypesModule', 'updateMembershipTypesModule', 'membershipTypesModule', args.select, args.where.id, args.data, 'UpdateMembershipTypesModuleInput', 'id', 'membershipTypesModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class MembershipsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MembershipsModule', 'updateMembershipsModule', 'membershipsModule', args.select, args.where.id, args.data, 'UpdateMembershipsModuleInput', 'id', 'membershipsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MembershipsModule', 'updateMembershipsModule', 'membershipsModule', args.select, args.where.id, args.data, 'UpdateMembershipsModuleInput', 'id', 'membershipsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class MerkleStoreModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MerkleStoreModule', 'updateMerkleStoreModule', 'merkleStoreModule', args.select, args.where.id, args.data, 'UpdateMerkleStoreModuleInput', 'id', 'merkleStoreModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('MerkleStoreModule', 'updateMerkleStoreModule', 'merkleStoreModule', args.select, args.where.id, args.data, 'UpdateMerkleStoreModuleInput', 'id', 'merkleStoreModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class NamespaceModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('NamespaceModule', 'updateNamespaceModule', 'namespaceModule', args.select, args.where.id, args.data, 'UpdateNamespaceModuleInput', 'id', 'namespaceModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('NamespaceModule', 'updateNamespaceModule', 'namespaceModule', args.select, args.where.id, args.data, 'UpdateNamespaceModuleInput', 'id', 'namespaceModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class NotificationsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('NotificationsModule', 'updateNotificationsModule', 'notificationsModule', args.select, args.where.id, args.data, 'UpdateNotificationsModuleInput', 'id', 'notificationsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('NotificationsModule', 'updateNotificationsModule', 'notificationsModule', args.select, args.where.id, args.data, 'UpdateNotificationsModuleInput', 'id', 'notificationsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class PermissionsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PermissionsModule', 'updatePermissionsModule', 'permissionsModule', args.select, args.where.id, args.data, 'UpdatePermissionsModuleInput', 'id', 'permissionsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PermissionsModule', 'updatePermissionsModule', 'permissionsModule', args.select, args.where.id, args.data, 'UpdatePermissionsModuleInput', 'id', 'permissionsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class PhoneNumbersModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PhoneNumbersModule', 'updatePhoneNumbersModule', 'phoneNumbersModule', args.select, args.where.id, args.data, 'UpdatePhoneNumbersModuleInput', 'id', 'phoneNumbersModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PhoneNumbersModule', 'updatePhoneNumbersModule', 'phoneNumbersModule', args.select, args.where.id, args.data, 'UpdatePhoneNumbersModuleInput', 'id', 'phoneNumbersModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class PlansModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlansModule', 'updatePlansModule', 'plansModule', args.select, args.where.id, args.data, 'UpdatePlansModuleInput', 'id', 'plansModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PlansModule', 'updatePlansModule', 'plansModule', args.select, args.where.id, args.data, 'UpdatePlansModuleInput', 'id', 'plansModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class ProfilesModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ProfilesModule', 'updateProfilesModule', 'profilesModule', args.select, args.where.id, args.data, 'UpdateProfilesModuleInput', 'id', 'profilesModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ProfilesModule', 'updateProfilesModule', 'profilesModule', args.select, args.where.id, args.data, 'UpdateProfilesModuleInput', 'id', 'profilesModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class RateLimitMetersModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RateLimitMetersModule', 'updateRateLimitMetersModule', 'rateLimitMetersModule', args.select, args.where.id, args.data, 'UpdateRateLimitMetersModuleInput', 'id', 'rateLimitMetersModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RateLimitMetersModule', 'updateRateLimitMetersModule', 'rateLimitMetersModule', args.select, args.where.id, args.data, 'UpdateRateLimitMetersModuleInput', 'id', 'rateLimitMetersModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class RateLimitsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RateLimitsModule', 'updateRateLimitsModule', 'rateLimitsModule', args.select, args.where.id, args.data, 'UpdateRateLimitsModuleInput', 'id', 'rateLimitsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RateLimitsModule', 'updateRateLimitsModule', 'rateLimitsModule', args.select, args.where.id, args.data, 'UpdateRateLimitsModuleInput', 'id', 'rateLimitsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class RealtimeModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RealtimeModule', 'updateRealtimeModule', 'realtimeModule', args.select, args.where.id, args.data, 'UpdateRealtimeModuleInput', 'id', 'realtimeModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RealtimeModule', 'updateRealtimeModule', 'realtimeModule', args.select, args.where.id, args.data, 'UpdateRealtimeModuleInput', 'id', 'realtimeModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class RelationProvisionModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RelationProvision', 'updateRelationProvision', 'relationProvision', args.select, args.where.id, args.data, 'UpdateRelationProvisionInput', 'id', 'relationProvisionPatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RelationProvision', 'updateRelationProvision', 'relationProvision', args.select, args.where.id, args.data, 'UpdateRelationProvisionInput', 'id', 'relationProvisionPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class RlsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RlsModule', 'updateRlsModule', 'rlsModule', args.select, args.where.id, args.data, 'UpdateRlsModuleInput', 'id', 'rlsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('RlsModule', 'updateRlsModule', 'rlsModule', args.select, args.where.id, args.data, 'UpdateRlsModuleInput', 'id', 'rlsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class SecureTableProvisionModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SecureTableProvision', 'updateSecureTableProvision', 'secureTableProvision', args.select, args.where.id, args.data, 'UpdateSecureTableProvisionInput', 'id', 'secureTableProvisionPatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SecureTableProvision', 'updateSecureTableProvision', 'secureTableProvision', args.select, args.where.id, args.data, 'UpdateSecureTableProvisionInput', 'id', 'secureTableProvisionPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class SessionSecretsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SessionSecretsModule', 'updateSessionSecretsModule', 'sessionSecretsModule', args.select, args.where.id, args.data, 'UpdateSessionSecretsModuleInput', 'id', 'sessionSecretsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SessionSecretsModule', 'updateSessionSecretsModule', 'sessionSecretsModule', args.select, args.where.id, args.data, 'UpdateSessionSecretsModuleInput', 'id', 'sessionSecretsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class SessionsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SessionsModule', 'updateSessionsModule', 'sessionsModule', args.select, args.where.id, args.data, 'UpdateSessionsModuleInput', 'id', 'sessionsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('SessionsModule', 'updateSessionsModule', 'sessionsModule', args.select, args.where.id, args.data, 'UpdateSessionsModuleInput', 'id', 'sessionsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class StorageLogModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('StorageLogModule', 'updateStorageLogModule', 'storageLogModule', args.select, args.where.id, args.data, 'UpdateStorageLogModuleInput', 'id', 'storageLogModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('StorageLogModule', 'updateStorageLogModule', 'storageLogModule', args.select, args.where.id, args.data, 'UpdateStorageLogModuleInput', 'id', 'storageLogModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class StorageModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('StorageModule', 'updateStorageModule', 'storageModule', args.select, args.where.id, args.data, 'UpdateStorageModuleInput', 'id', 'storageModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('StorageModule', 'updateStorageModule', 'storageModule', args.select, args.where.id, args.data, 'UpdateStorageModuleInput', 'id', 'storageModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class TransferLogModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('TransferLogModule', 'updateTransferLogModule', 'transferLogModule', args.select, args.where.id, args.data, 'UpdateTransferLogModuleInput', 'id', 'transferLogModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('TransferLogModule', 'updateTransferLogModule', 'transferLogModule', args.select, args.where.id, args.data, 'UpdateTransferLogModuleInput', 'id', 'transferLogModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class UserAuthModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserAuthModule', 'updateUserAuthModule', 'userAuthModule', args.select, args.where.id, args.data, 'UpdateUserAuthModuleInput', 'id', 'userAuthModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserAuthModule', 'updateUserAuthModule', 'userAuthModule', args.select, args.where.id, args.data, 'UpdateUserAuthModuleInput', 'id', 'userAuthModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class UserCredentialsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserCredentialsModule', 'updateUserCredentialsModule', 'userCredentialsModule', args.select, args.where.id, args.data, 'UpdateUserCredentialsModuleInput', 'id', 'userCredentialsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserCredentialsModule', 'updateUserCredentialsModule', 'userCredentialsModule', args.select, args.where.id, args.data, 'UpdateUserCredentialsModuleInput', 'id', 'userCredentialsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class UserSettingsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserSettingsModule', 'updateUserSettingsModule', 'userSettingsModule', args.select, args.where.id, args.data, 'UpdateUserSettingsModuleInput', 'id', 'userSettingsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserSettingsModule', 'updateUserSettingsModule', 'userSettingsModule', args.select, args.where.id, args.data, 'UpdateUserSettingsModuleInput', 'id', 'userSettingsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class UserStateModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserStateModule', 'updateUserStateModule', 'userStateModule', args.select, args.where.id, args.data, 'UpdateUserStateModuleInput', 'id', 'userStateModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UserStateModule', 'updateUserStateModule', 'userStateModule', args.select, args.where.id, args.data, 'UpdateUserStateModuleInput', 'id', 'userStateModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class UsersModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UsersModule', 'updateUsersModule', 'usersModule', args.select, args.where.id, args.data, 'UpdateUsersModuleInput', 'id', 'usersModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('UsersModule', 'updateUsersModule', 'usersModule', args.select, args.where.id, args.data, 'UpdateUsersModuleInput', 'id', 'usersModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class WebauthnAuthModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('WebauthnAuthModule', 'updateWebauthnAuthModule', 'webauthnAuthModule', args.select, args.where.id, args.data, 'UpdateWebauthnAuthModuleInput', 'id', 'webauthnAuthModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('WebauthnAuthModule', 'updateWebauthnAuthModule', 'webauthnAuthModule', args.select, args.where.id, args.data, 'UpdateWebauthnAuthModuleInput', 'id', 'webauthnAuthModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class WebauthnCredentialsModuleModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('WebauthnCredentialsModule', 'updateWebauthnCredentialsModule', 'webauthnCredentialsModule', args.select, args.where.id, args.data, 'UpdateWebauthnCredentialsModuleInput', 'id', 'webauthnCredentialsModulePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('WebauthnCredentialsModule', 'updateWebauthnCredentialsModule', 'webauthnCredentialsModule', args.select, args.where.id, args.data, 'UpdateWebauthnCredentialsModuleInput', 'id', 'webauthnCredentialsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
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
|
};
|
|
@@ -344,7 +344,7 @@ function buildUpdateDocument(operationName, mutationField, entityField, select,
|
|
|
344
344
|
},
|
|
345
345
|
};
|
|
346
346
|
}
|
|
347
|
-
function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap) {
|
|
347
|
+
function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap, extraKeys) {
|
|
348
348
|
const selections = select
|
|
349
349
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
350
350
|
: [t.field({ name: 'id' })];
|
|
@@ -363,6 +363,7 @@ function buildUpdateByPkDocument(operationName, mutationField, entityField, sele
|
|
|
363
363
|
variables: {
|
|
364
364
|
input: {
|
|
365
365
|
[idFieldName]: id,
|
|
366
|
+
...extraKeys,
|
|
366
367
|
[patchFieldName]: data,
|
|
367
368
|
},
|
|
368
369
|
},
|
|
@@ -35,6 +35,7 @@ export declare class CommitModel {
|
|
|
35
35
|
}>;
|
|
36
36
|
update<S extends CommitSelect>(args: UpdateArgs<S, {
|
|
37
37
|
id: string;
|
|
38
|
+
databaseId: string;
|
|
38
39
|
}, CommitPatch> & {
|
|
39
40
|
select: S;
|
|
40
41
|
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
@@ -44,6 +45,7 @@ export declare class CommitModel {
|
|
|
44
45
|
}>;
|
|
45
46
|
delete<S extends CommitSelect>(args: DeleteArgs<{
|
|
46
47
|
id: string;
|
|
48
|
+
databaseId: string;
|
|
47
49
|
}, S> & {
|
|
48
50
|
select: S;
|
|
49
51
|
} & StrictSelect<S, CommitSelect>): QueryBuilder<{
|
|
@@ -77,7 +77,9 @@ class CommitModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Commit', 'updateCommit', 'commit', args.select, args.where.id, args.data, 'UpdateCommitInput', 'id', 'commitPatch', input_types_1.connectionFieldsMap
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Commit', 'updateCommit', 'commit', args.select, args.where.id, args.data, 'UpdateCommitInput', 'id', 'commitPatch', input_types_1.connectionFieldsMap, {
|
|
81
|
+
databaseId: args.where.databaseId,
|
|
82
|
+
});
|
|
81
83
|
return new query_builder_1.QueryBuilder({
|
|
82
84
|
client: this.client,
|
|
83
85
|
operation: 'mutation',
|
|
@@ -90,6 +92,7 @@ class CommitModel {
|
|
|
90
92
|
delete(args) {
|
|
91
93
|
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Commit', 'deleteCommit', 'commit', {
|
|
92
94
|
id: args.where.id,
|
|
95
|
+
databaseId: args.where.databaseId,
|
|
93
96
|
}, 'DeleteCommitInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
97
|
return new query_builder_1.QueryBuilder({
|
|
95
98
|
client: this.client,
|
|
@@ -35,6 +35,7 @@ export declare class ObjectModel {
|
|
|
35
35
|
}>;
|
|
36
36
|
update<S extends ObjectSelect>(args: UpdateArgs<S, {
|
|
37
37
|
id: string;
|
|
38
|
+
databaseId: string;
|
|
38
39
|
}, ObjectPatch> & {
|
|
39
40
|
select: S;
|
|
40
41
|
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
@@ -44,6 +45,7 @@ export declare class ObjectModel {
|
|
|
44
45
|
}>;
|
|
45
46
|
delete<S extends ObjectSelect>(args: DeleteArgs<{
|
|
46
47
|
id: string;
|
|
48
|
+
databaseId: string;
|
|
47
49
|
}, S> & {
|
|
48
50
|
select: S;
|
|
49
51
|
} & StrictSelect<S, ObjectSelect>): QueryBuilder<{
|
|
@@ -67,7 +67,9 @@ class ObjectModel {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
update(args) {
|
|
70
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Object', 'updateObject', 'object', args.select, args.where.id, args.data, 'UpdateObjectInput', 'id', 'objectPatch', input_types_1.connectionFieldsMap
|
|
70
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Object', 'updateObject', 'object', args.select, args.where.id, args.data, 'UpdateObjectInput', 'id', 'objectPatch', input_types_1.connectionFieldsMap, {
|
|
71
|
+
databaseId: args.where.databaseId,
|
|
72
|
+
});
|
|
71
73
|
return new query_builder_1.QueryBuilder({
|
|
72
74
|
client: this.client,
|
|
73
75
|
operation: 'mutation',
|
|
@@ -80,6 +82,7 @@ class ObjectModel {
|
|
|
80
82
|
delete(args) {
|
|
81
83
|
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Object', 'deleteObject', 'object', {
|
|
82
84
|
id: args.where.id,
|
|
85
|
+
databaseId: args.where.databaseId,
|
|
83
86
|
}, 'DeleteObjectInput', args.select, input_types_1.connectionFieldsMap);
|
|
84
87
|
return new query_builder_1.QueryBuilder({
|
|
85
88
|
client: this.client,
|
|
@@ -35,6 +35,7 @@ export declare class RefModel {
|
|
|
35
35
|
}>;
|
|
36
36
|
update<S extends RefSelect>(args: UpdateArgs<S, {
|
|
37
37
|
id: string;
|
|
38
|
+
databaseId: string;
|
|
38
39
|
}, RefPatch> & {
|
|
39
40
|
select: S;
|
|
40
41
|
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
@@ -44,6 +45,7 @@ export declare class RefModel {
|
|
|
44
45
|
}>;
|
|
45
46
|
delete<S extends RefSelect>(args: DeleteArgs<{
|
|
46
47
|
id: string;
|
|
48
|
+
databaseId: string;
|
|
47
49
|
}, S> & {
|
|
48
50
|
select: S;
|
|
49
51
|
} & StrictSelect<S, RefSelect>): QueryBuilder<{
|
|
@@ -77,7 +77,9 @@ class RefModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Ref', 'updateRef', 'ref', args.select, args.where.id, args.data, 'UpdateRefInput', 'id', 'refPatch', input_types_1.connectionFieldsMap
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Ref', 'updateRef', 'ref', args.select, args.where.id, args.data, 'UpdateRefInput', 'id', 'refPatch', input_types_1.connectionFieldsMap, {
|
|
81
|
+
databaseId: args.where.databaseId,
|
|
82
|
+
});
|
|
81
83
|
return new query_builder_1.QueryBuilder({
|
|
82
84
|
client: this.client,
|
|
83
85
|
operation: 'mutation',
|
|
@@ -90,6 +92,7 @@ class RefModel {
|
|
|
90
92
|
delete(args) {
|
|
91
93
|
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Ref', 'deleteRef', 'ref', {
|
|
92
94
|
id: args.where.id,
|
|
95
|
+
databaseId: args.where.databaseId,
|
|
93
96
|
}, 'DeleteRefInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
97
|
return new query_builder_1.QueryBuilder({
|
|
95
98
|
client: this.client,
|
|
@@ -77,7 +77,7 @@ class StoreModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Store', 'updateStore', 'store', args.select, args.where.id, args.data, 'UpdateStoreInput', 'id', 'storePatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Store', 'updateStore', 'store', args.select, args.where.id, args.data, 'UpdateStoreInput', 'id', 'storePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
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
|
};
|
|
@@ -344,7 +344,7 @@ function buildUpdateDocument(operationName, mutationField, entityField, select,
|
|
|
344
344
|
},
|
|
345
345
|
};
|
|
346
346
|
}
|
|
347
|
-
function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap) {
|
|
347
|
+
function buildUpdateByPkDocument(operationName, mutationField, entityField, select, id, data, inputTypeName, idFieldName, patchFieldName, connectionFieldsMap, extraKeys) {
|
|
348
348
|
const selections = select
|
|
349
349
|
? buildSelections(select, connectionFieldsMap, operationName)
|
|
350
350
|
: [t.field({ name: 'id' })];
|
|
@@ -363,6 +363,7 @@ function buildUpdateByPkDocument(operationName, mutationField, entityField, sele
|
|
|
363
363
|
variables: {
|
|
364
364
|
input: {
|
|
365
365
|
[idFieldName]: id,
|
|
366
|
+
...extraKeys,
|
|
366
367
|
[patchFieldName]: data,
|
|
367
368
|
},
|
|
368
369
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/sdk",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.17",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive SDK - Auto-generated GraphQL types and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"graphql": "16.13.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@constructive-io/graphql-codegen": "^4.47.
|
|
50
|
+
"@constructive-io/graphql-codegen": "^4.47.16",
|
|
51
51
|
"@types/node": "^22.19.11",
|
|
52
52
|
"makage": "^0.3.0",
|
|
53
53
|
"tsx": "^4.19.0",
|
|
54
54
|
"typescript": "^5.9.3"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "18401477360e5f3e350ecbbe1f35e92c56e83353"
|
|
57
57
|
}
|
|
@@ -77,7 +77,7 @@ class AppLimitModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimit', 'updateAppLimit', 'appLimit', args.select, args.where.id, args.data, 'UpdateAppLimitInput', 'id', 'appLimitPatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimit', 'updateAppLimit', 'appLimit', args.select, args.where.id, args.data, 'UpdateAppLimitInput', 'id', 'appLimitPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class AppLimitCapModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCap', 'updateAppLimitCap', 'appLimitCap', args.select, args.where.id, args.data, 'UpdateAppLimitCapInput', 'id', 'appLimitCapPatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCap', 'updateAppLimitCap', 'appLimitCap', args.select, args.where.id, args.data, 'UpdateAppLimitCapInput', 'id', 'appLimitCapPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|
|
@@ -77,7 +77,7 @@ class AppLimitCapsDefaultModel {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
update(args) {
|
|
80
|
-
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCapsDefault', 'updateAppLimitCapsDefault', 'appLimitCapsDefault', args.select, args.where.id, args.data, 'UpdateAppLimitCapsDefaultInput', 'id', 'appLimitCapsDefaultPatch', input_types_1.connectionFieldsMap);
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('AppLimitCapsDefault', 'updateAppLimitCapsDefault', 'appLimitCapsDefault', args.select, args.where.id, args.data, 'UpdateAppLimitCapsDefaultInput', 'id', 'appLimitCapsDefaultPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
81
|
return new query_builder_1.QueryBuilder({
|
|
82
82
|
client: this.client,
|
|
83
83
|
operation: 'mutation',
|