@constructive-io/sdk 0.30.0 → 0.30.2
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 +1 -0
- package/agent/orm/input-types.d.ts +96 -8
- package/api/orm/index.d.ts +5 -15
- package/api/orm/index.js +2 -2
- package/api/orm/input-types.d.ts +250 -231
- package/api/orm/models/index.d.ts +1 -1
- package/api/orm/models/index.js +3 -3
- package/api/orm/mutation/index.d.ts +11 -36
- package/api/orm/mutation/index.js +6 -30
- package/auth/orm/index.d.ts +10 -5
- package/auth/orm/input-types.d.ts +54 -45
- package/auth/orm/models/principal.d.ts +1 -10
- package/auth/orm/models/principal.js +0 -13
- package/auth/orm/mutation/index.d.ts +17 -9
- package/auth/orm/mutation/index.js +24 -12
- package/compute/orm/index.d.ts +76 -17
- package/compute/orm/index.js +56 -12
- package/compute/orm/input-types.d.ts +5893 -1343
- package/compute/orm/input-types.js +17 -3
- package/compute/orm/models/dbPreset.d.ts +54 -0
- package/compute/orm/models/dbPreset.js +104 -0
- package/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/compute/orm/models/functionGraphCommit.js +2 -2
- package/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/compute/orm/models/functionGraphObject.js +2 -2
- package/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/compute/orm/models/functionGraphRef.js +2 -2
- package/compute/orm/models/index.d.ts +28 -6
- package/compute/orm/models/index.js +57 -13
- package/compute/orm/models/infraCommit.d.ts +56 -0
- package/compute/orm/models/infraCommit.js +107 -0
- package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +56 -0
- package/compute/orm/models/infraObject.js +97 -0
- package/compute/orm/models/infraRef.d.ts +56 -0
- package/compute/orm/models/infraRef.js +107 -0
- package/compute/orm/models/infraStore.d.ts +54 -0
- package/compute/orm/models/infraStore.js +104 -0
- package/compute/orm/models/integrationProvider.d.ts +54 -0
- package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
- package/compute/orm/models/namespace.d.ts +54 -0
- package/compute/orm/models/namespace.js +104 -0
- package/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
- package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionApiBinding.js +104 -0
- package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/compute/orm/models/platformFunctionDefinition.js +104 -0
- package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/compute/orm/models/platformFunctionDeployment.js +104 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
- package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
- package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/compute/orm/models/platformFunctionInvocation.js +107 -0
- package/compute/orm/models/platformResource.d.ts +54 -0
- package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
- package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/compute/orm/models/platformResourceDefinition.js +104 -0
- package/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
- package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/platformResourceStatusCheck.js +104 -0
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
- package/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/compute/orm/models/resourceDefinition.js +104 -0
- package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/compute/orm/models/resourceStatusCheck.js +104 -0
- package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/compute/orm/models/resourcesRequirementsState.js +59 -0
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
- package/compute/orm/mutation/index.d.ts +33 -9
- package/compute/orm/mutation/index.js +48 -12
- package/config/orm/index.d.ts +42 -16
- package/config/orm/index.js +8 -2
- package/config/orm/input-types.d.ts +595 -154
- package/config/orm/models/config.d.ts +54 -0
- package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
- package/config/orm/models/index.d.ts +4 -1
- package/config/orm/models/index.js +9 -3
- package/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/config/orm/models/platformInternalSecret.js +80 -0
- package/config/orm/models/platformSecret.d.ts +36 -0
- package/config/orm/models/platformSecret.js +80 -0
- package/config/orm/models/secret.d.ts +36 -0
- package/config/orm/models/secret.js +80 -0
- package/config/orm/mutation/index.d.ts +56 -24
- package/config/orm/mutation/index.js +78 -30
- package/esm/agent/orm/input-types.d.ts +96 -8
- package/esm/api/orm/index.d.ts +5 -15
- package/esm/api/orm/index.js +2 -2
- package/esm/api/orm/input-types.d.ts +250 -231
- package/esm/api/orm/models/index.d.ts +1 -1
- package/esm/api/orm/models/index.js +1 -1
- package/esm/api/orm/mutation/index.d.ts +11 -36
- package/esm/api/orm/mutation/index.js +6 -30
- package/esm/auth/orm/index.d.ts +10 -5
- package/esm/auth/orm/input-types.d.ts +54 -45
- package/esm/auth/orm/models/principal.d.ts +1 -10
- package/esm/auth/orm/models/principal.js +1 -14
- package/esm/auth/orm/mutation/index.d.ts +17 -9
- package/esm/auth/orm/mutation/index.js +24 -12
- package/esm/compute/orm/index.d.ts +76 -17
- package/esm/compute/orm/index.js +56 -12
- package/esm/compute/orm/input-types.d.ts +5893 -1343
- package/esm/compute/orm/input-types.js +17 -3
- package/esm/compute/orm/models/dbPreset.d.ts +54 -0
- package/esm/compute/orm/models/dbPreset.js +100 -0
- package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphCommit.js +2 -2
- package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphObject.js +2 -2
- package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
- package/esm/compute/orm/models/functionGraphRef.js +2 -2
- package/esm/compute/orm/models/index.d.ts +28 -6
- package/esm/compute/orm/models/index.js +28 -6
- package/esm/compute/orm/models/infraCommit.d.ts +56 -0
- package/esm/compute/orm/models/infraCommit.js +103 -0
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
- package/esm/compute/orm/models/infraObject.d.ts +56 -0
- package/esm/compute/orm/models/infraObject.js +93 -0
- package/esm/compute/orm/models/infraRef.d.ts +56 -0
- package/esm/compute/orm/models/infraRef.js +103 -0
- package/esm/compute/orm/models/infraStore.d.ts +54 -0
- package/esm/compute/orm/models/infraStore.js +100 -0
- package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
- package/esm/compute/orm/models/integrationProvider.js +100 -0
- package/esm/compute/orm/models/namespace.d.ts +54 -0
- package/esm/compute/orm/models/namespace.js +100 -0
- package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
- package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
- package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
- package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
- package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
- package/esm/compute/orm/models/platformResource.d.ts +54 -0
- package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
- package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
- package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
- package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
- package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
- package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
- package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +33 -9
- package/esm/compute/orm/mutation/index.js +48 -12
- package/esm/config/orm/index.d.ts +42 -16
- package/esm/config/orm/index.js +8 -2
- package/esm/config/orm/input-types.d.ts +595 -154
- package/esm/config/orm/models/config.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
- package/esm/config/orm/models/index.d.ts +4 -1
- package/esm/config/orm/models/index.js +4 -1
- package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/platformInternalSecret.js +76 -0
- package/esm/config/orm/models/platformSecret.d.ts +36 -0
- package/esm/config/orm/models/platformSecret.js +76 -0
- package/esm/config/orm/models/secret.d.ts +36 -0
- package/esm/config/orm/models/secret.js +76 -0
- package/esm/config/orm/mutation/index.d.ts +56 -24
- package/esm/config/orm/mutation/index.js +78 -30
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/infra/index.d.ts +5 -0
- package/esm/infra/index.js +5 -0
- package/esm/infra/orm/client.d.ts +97 -0
- package/esm/infra/orm/client.js +145 -0
- package/esm/infra/orm/index.d.ts +74 -0
- package/esm/infra/orm/index.js +61 -0
- package/esm/infra/orm/input-types.d.ts +1953 -0
- package/esm/infra/orm/input-types.js +2 -0
- package/esm/infra/orm/models/dbPreset.d.ts +54 -0
- package/esm/infra/orm/models/dbPreset.js +100 -0
- package/esm/infra/orm/models/index.d.ts +15 -0
- package/esm/infra/orm/models/index.js +15 -0
- package/esm/infra/orm/models/infraCommit.d.ts +56 -0
- package/esm/infra/orm/models/infraCommit.js +103 -0
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
- package/esm/infra/orm/models/infraObject.d.ts +56 -0
- package/esm/infra/orm/models/infraObject.js +93 -0
- package/esm/infra/orm/models/infraRef.d.ts +56 -0
- package/esm/infra/orm/models/infraRef.js +103 -0
- package/esm/infra/orm/models/infraStore.d.ts +54 -0
- package/esm/infra/orm/models/infraStore.js +100 -0
- package/esm/infra/orm/models/namespace.d.ts +54 -0
- package/esm/infra/orm/models/namespace.js +100 -0
- package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/namespaceEvent.js +103 -0
- package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
- package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
- package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/infra/orm/mutation/index.d.ts +50 -0
- package/esm/infra/orm/mutation/index.js +54 -0
- package/esm/infra/orm/query-builder.d.ts +110 -0
- package/esm/infra/orm/query-builder.js +705 -0
- package/esm/infra/orm/realtime.d.ts +142 -0
- package/esm/infra/orm/realtime.js +100 -0
- package/esm/infra/orm/select-types.d.ts +125 -0
- package/esm/infra/orm/select-types.js +1 -0
- package/esm/infra/orm/types.d.ts +6 -0
- package/esm/infra/orm/types.js +7 -0
- package/esm/modules/orm/index.d.ts +48 -38
- package/esm/modules/orm/index.js +48 -38
- package/esm/modules/orm/input-types.d.ts +5378 -4022
- package/esm/modules/orm/input-types.js +1 -0
- package/esm/modules/orm/models/dbPool.d.ts +54 -0
- package/esm/modules/orm/models/dbPool.js +100 -0
- package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/esm/modules/orm/models/dbPoolConfig.js +100 -0
- package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/esm/modules/orm/models/dbPresetModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +24 -19
- package/esm/modules/orm/models/index.js +24 -19
- package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/esm/modules/orm/models/infraConfigModule.js +100 -0
- package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/infraSecretsModule.js +100 -0
- package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
- package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/esm/modules/orm/models/internalSecretsModule.js +100 -0
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/infra/index.d.ts +5 -0
- package/infra/index.js +21 -0
- package/infra/orm/client.d.ts +97 -0
- package/infra/orm/client.js +152 -0
- package/infra/orm/index.d.ts +74 -0
- package/infra/orm/index.js +83 -0
- package/infra/orm/input-types.d.ts +1953 -0
- package/infra/orm/input-types.js +5 -0
- package/infra/orm/models/dbPreset.d.ts +54 -0
- package/infra/orm/models/dbPreset.js +104 -0
- package/infra/orm/models/index.d.ts +15 -0
- package/infra/orm/models/index.js +28 -0
- package/infra/orm/models/infraCommit.d.ts +56 -0
- package/infra/orm/models/infraCommit.js +107 -0
- package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
- package/infra/orm/models/infraGetAllRecord.js +59 -0
- package/infra/orm/models/infraObject.d.ts +56 -0
- package/infra/orm/models/infraObject.js +97 -0
- package/infra/orm/models/infraRef.d.ts +56 -0
- package/infra/orm/models/infraRef.js +107 -0
- package/infra/orm/models/infraStore.d.ts +54 -0
- package/infra/orm/models/infraStore.js +104 -0
- package/infra/orm/models/namespace.d.ts +54 -0
- package/infra/orm/models/namespace.js +104 -0
- package/infra/orm/models/namespaceEvent.d.ts +56 -0
- package/infra/orm/models/namespaceEvent.js +107 -0
- package/infra/orm/models/platformNamespace.d.ts +54 -0
- package/infra/orm/models/platformNamespace.js +104 -0
- package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
- package/infra/orm/mutation/index.d.ts +50 -0
- package/infra/orm/mutation/index.js +57 -0
- package/infra/orm/query-builder.d.ts +110 -0
- package/infra/orm/query-builder.js +757 -0
- package/infra/orm/realtime.d.ts +142 -0
- package/infra/orm/realtime.js +104 -0
- package/infra/orm/select-types.d.ts +125 -0
- package/infra/orm/select-types.js +2 -0
- package/infra/orm/types.d.ts +6 -0
- package/infra/orm/types.js +23 -0
- package/modules/orm/index.d.ts +48 -38
- package/modules/orm/index.js +48 -38
- package/modules/orm/input-types.d.ts +5378 -4022
- package/modules/orm/input-types.js +1 -0
- package/modules/orm/models/dbPool.d.ts +54 -0
- package/modules/orm/models/dbPool.js +104 -0
- package/modules/orm/models/dbPoolConfig.d.ts +54 -0
- package/modules/orm/models/dbPoolConfig.js +104 -0
- package/modules/orm/models/dbPresetModule.d.ts +54 -0
- package/modules/orm/models/dbPresetModule.js +104 -0
- package/modules/orm/models/index.d.ts +24 -19
- package/modules/orm/models/index.js +50 -40
- package/modules/orm/models/infraConfigModule.d.ts +54 -0
- package/modules/orm/models/infraConfigModule.js +104 -0
- package/modules/orm/models/infraSecretsModule.d.ts +54 -0
- package/modules/orm/models/infraSecretsModule.js +104 -0
- package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
- package/modules/orm/models/integrationProvidersModule.js +104 -0
- package/modules/orm/models/internalSecretsModule.d.ts +54 -0
- package/modules/orm/models/internalSecretsModule.js +104 -0
- package/package.json +4 -4
- package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/compute/orm/models/secretDefinition.d.ts +0 -54
- package/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
- package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
- package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
- package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
- package/modules/orm/models/configSecretsModule.d.ts +0 -54
- package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
|
@@ -6,19 +6,25 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ValidateFunctionGraphInput,
|
|
9
|
+
import type { ValidateFunctionGraphInput, InfraInitEmptyRepoInput, InitEmptyRepoInput, ImportDefinitionsInput, InfraSetDataAtPathInput, SetDataAtPathInput, CopyGraphInput, SaveGraphInput, AddEdgeAndSaveInput, AddNodeAndSaveInput, ImportGraphJsonInput, AddEdgeInput, AddNodeInput, InfraInsertNodeAtPathInput, InsertNodeAtPathInput, StartExecutionInput, ProvisionBucketInput, ValidateFunctionGraphPayload, InfraInitEmptyRepoPayload, InitEmptyRepoPayload, ImportDefinitionsPayload, InfraSetDataAtPathPayload, SetDataAtPathPayload, CopyGraphPayload, SaveGraphPayload, AddEdgeAndSavePayload, AddNodeAndSavePayload, ImportGraphJsonPayload, AddEdgePayload, AddNodePayload, InfraInsertNodeAtPathPayload, InsertNodeAtPathPayload, StartExecutionPayload, ProvisionBucketPayload, ValidateFunctionGraphPayloadSelect, InfraInitEmptyRepoPayloadSelect, InitEmptyRepoPayloadSelect, ImportDefinitionsPayloadSelect, InfraSetDataAtPathPayloadSelect, SetDataAtPathPayloadSelect, CopyGraphPayloadSelect, SaveGraphPayloadSelect, AddEdgeAndSavePayloadSelect, AddNodeAndSavePayloadSelect, ImportGraphJsonPayloadSelect, AddEdgePayloadSelect, AddNodePayloadSelect, InfraInsertNodeAtPathPayloadSelect, InsertNodeAtPathPayloadSelect, StartExecutionPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ValidateFunctionGraphVariables {
|
|
11
11
|
input: ValidateFunctionGraphInput;
|
|
12
12
|
}
|
|
13
|
+
export interface InfraInitEmptyRepoVariables {
|
|
14
|
+
input: InfraInitEmptyRepoInput;
|
|
15
|
+
}
|
|
13
16
|
export interface InitEmptyRepoVariables {
|
|
14
17
|
input: InitEmptyRepoInput;
|
|
15
18
|
}
|
|
16
|
-
export interface SetDataAtPathVariables {
|
|
17
|
-
input: SetDataAtPathInput;
|
|
18
|
-
}
|
|
19
19
|
export interface ImportDefinitionsVariables {
|
|
20
20
|
input: ImportDefinitionsInput;
|
|
21
21
|
}
|
|
22
|
+
export interface InfraSetDataAtPathVariables {
|
|
23
|
+
input: InfraSetDataAtPathInput;
|
|
24
|
+
}
|
|
25
|
+
export interface SetDataAtPathVariables {
|
|
26
|
+
input: SetDataAtPathInput;
|
|
27
|
+
}
|
|
22
28
|
export interface CopyGraphVariables {
|
|
23
29
|
input: CopyGraphInput;
|
|
24
30
|
}
|
|
@@ -40,6 +46,9 @@ export interface AddEdgeVariables {
|
|
|
40
46
|
export interface AddNodeVariables {
|
|
41
47
|
input: AddNodeInput;
|
|
42
48
|
}
|
|
49
|
+
export interface InfraInsertNodeAtPathVariables {
|
|
50
|
+
input: InfraInsertNodeAtPathInput;
|
|
51
|
+
}
|
|
43
52
|
export interface InsertNodeAtPathVariables {
|
|
44
53
|
input: InsertNodeAtPathInput;
|
|
45
54
|
}
|
|
@@ -62,21 +71,31 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
62
71
|
} & StrictSelect<S, ValidateFunctionGraphPayloadSelect>) => QueryBuilder<{
|
|
63
72
|
validateFunctionGraph: InferSelectResult<ValidateFunctionGraphPayload, S> | null;
|
|
64
73
|
}>;
|
|
74
|
+
infraInitEmptyRepo: <S extends InfraInitEmptyRepoPayloadSelect>(args: InfraInitEmptyRepoVariables, options: {
|
|
75
|
+
select: S;
|
|
76
|
+
} & StrictSelect<S, InfraInitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
77
|
+
infraInitEmptyRepo: InferSelectResult<InfraInitEmptyRepoPayload, S> | null;
|
|
78
|
+
}>;
|
|
65
79
|
initEmptyRepo: <S extends InitEmptyRepoPayloadSelect>(args: InitEmptyRepoVariables, options: {
|
|
66
80
|
select: S;
|
|
67
81
|
} & StrictSelect<S, InitEmptyRepoPayloadSelect>) => QueryBuilder<{
|
|
68
82
|
initEmptyRepo: InferSelectResult<InitEmptyRepoPayload, S> | null;
|
|
69
83
|
}>;
|
|
70
|
-
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
71
|
-
select: S;
|
|
72
|
-
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
73
|
-
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
74
|
-
}>;
|
|
75
84
|
importDefinitions: <S extends ImportDefinitionsPayloadSelect>(args: ImportDefinitionsVariables, options: {
|
|
76
85
|
select: S;
|
|
77
86
|
} & StrictSelect<S, ImportDefinitionsPayloadSelect>) => QueryBuilder<{
|
|
78
87
|
importDefinitions: InferSelectResult<ImportDefinitionsPayload, S> | null;
|
|
79
88
|
}>;
|
|
89
|
+
infraSetDataAtPath: <S extends InfraSetDataAtPathPayloadSelect>(args: InfraSetDataAtPathVariables, options: {
|
|
90
|
+
select: S;
|
|
91
|
+
} & StrictSelect<S, InfraSetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
92
|
+
infraSetDataAtPath: InferSelectResult<InfraSetDataAtPathPayload, S> | null;
|
|
93
|
+
}>;
|
|
94
|
+
setDataAtPath: <S extends SetDataAtPathPayloadSelect>(args: SetDataAtPathVariables, options: {
|
|
95
|
+
select: S;
|
|
96
|
+
} & StrictSelect<S, SetDataAtPathPayloadSelect>) => QueryBuilder<{
|
|
97
|
+
setDataAtPath: InferSelectResult<SetDataAtPathPayload, S> | null;
|
|
98
|
+
}>;
|
|
80
99
|
copyGraph: <S extends CopyGraphPayloadSelect>(args: CopyGraphVariables, options: {
|
|
81
100
|
select: S;
|
|
82
101
|
} & StrictSelect<S, CopyGraphPayloadSelect>) => QueryBuilder<{
|
|
@@ -112,6 +131,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
112
131
|
} & StrictSelect<S, AddNodePayloadSelect>) => QueryBuilder<{
|
|
113
132
|
addNode: InferSelectResult<AddNodePayload, S> | null;
|
|
114
133
|
}>;
|
|
134
|
+
infraInsertNodeAtPath: <S extends InfraInsertNodeAtPathPayloadSelect>(args: InfraInsertNodeAtPathVariables, options: {
|
|
135
|
+
select: S;
|
|
136
|
+
} & StrictSelect<S, InfraInsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
137
|
+
infraInsertNodeAtPath: InferSelectResult<InfraInsertNodeAtPathPayload, S> | null;
|
|
138
|
+
}>;
|
|
115
139
|
insertNodeAtPath: <S extends InsertNodeAtPathPayloadSelect>(args: InsertNodeAtPathVariables, options: {
|
|
116
140
|
select: S;
|
|
117
141
|
} & StrictSelect<S, InsertNodeAtPathPayloadSelect>) => QueryBuilder<{
|
|
@@ -14,29 +14,29 @@ export function createMutationOperations(client) {
|
|
|
14
14
|
},
|
|
15
15
|
], connectionFieldsMap, 'ValidateFunctionGraphPayload'),
|
|
16
16
|
}),
|
|
17
|
-
|
|
17
|
+
infraInitEmptyRepo: (args, options) => new QueryBuilder({
|
|
18
18
|
client,
|
|
19
19
|
operation: 'mutation',
|
|
20
|
-
operationName: '
|
|
21
|
-
fieldName: '
|
|
22
|
-
...buildCustomDocument('mutation', '
|
|
20
|
+
operationName: 'InfraInitEmptyRepo',
|
|
21
|
+
fieldName: 'infraInitEmptyRepo',
|
|
22
|
+
...buildCustomDocument('mutation', 'InfraInitEmptyRepo', 'infraInitEmptyRepo', options.select, args, [
|
|
23
23
|
{
|
|
24
24
|
name: 'input',
|
|
25
|
-
type: '
|
|
25
|
+
type: 'InfraInitEmptyRepoInput!',
|
|
26
26
|
},
|
|
27
|
-
], connectionFieldsMap, '
|
|
27
|
+
], connectionFieldsMap, 'InfraInitEmptyRepoPayload'),
|
|
28
28
|
}),
|
|
29
|
-
|
|
29
|
+
initEmptyRepo: (args, options) => new QueryBuilder({
|
|
30
30
|
client,
|
|
31
31
|
operation: 'mutation',
|
|
32
|
-
operationName: '
|
|
33
|
-
fieldName: '
|
|
34
|
-
...buildCustomDocument('mutation', '
|
|
32
|
+
operationName: 'InitEmptyRepo',
|
|
33
|
+
fieldName: 'initEmptyRepo',
|
|
34
|
+
...buildCustomDocument('mutation', 'InitEmptyRepo', 'initEmptyRepo', options.select, args, [
|
|
35
35
|
{
|
|
36
36
|
name: 'input',
|
|
37
|
-
type: '
|
|
37
|
+
type: 'InitEmptyRepoInput!',
|
|
38
38
|
},
|
|
39
|
-
], connectionFieldsMap, '
|
|
39
|
+
], connectionFieldsMap, 'InitEmptyRepoPayload'),
|
|
40
40
|
}),
|
|
41
41
|
importDefinitions: (args, options) => new QueryBuilder({
|
|
42
42
|
client,
|
|
@@ -50,6 +50,30 @@ export function createMutationOperations(client) {
|
|
|
50
50
|
},
|
|
51
51
|
], connectionFieldsMap, 'ImportDefinitionsPayload'),
|
|
52
52
|
}),
|
|
53
|
+
infraSetDataAtPath: (args, options) => new QueryBuilder({
|
|
54
|
+
client,
|
|
55
|
+
operation: 'mutation',
|
|
56
|
+
operationName: 'InfraSetDataAtPath',
|
|
57
|
+
fieldName: 'infraSetDataAtPath',
|
|
58
|
+
...buildCustomDocument('mutation', 'InfraSetDataAtPath', 'infraSetDataAtPath', options.select, args, [
|
|
59
|
+
{
|
|
60
|
+
name: 'input',
|
|
61
|
+
type: 'InfraSetDataAtPathInput!',
|
|
62
|
+
},
|
|
63
|
+
], connectionFieldsMap, 'InfraSetDataAtPathPayload'),
|
|
64
|
+
}),
|
|
65
|
+
setDataAtPath: (args, options) => new QueryBuilder({
|
|
66
|
+
client,
|
|
67
|
+
operation: 'mutation',
|
|
68
|
+
operationName: 'SetDataAtPath',
|
|
69
|
+
fieldName: 'setDataAtPath',
|
|
70
|
+
...buildCustomDocument('mutation', 'SetDataAtPath', 'setDataAtPath', options.select, args, [
|
|
71
|
+
{
|
|
72
|
+
name: 'input',
|
|
73
|
+
type: 'SetDataAtPathInput!',
|
|
74
|
+
},
|
|
75
|
+
], connectionFieldsMap, 'SetDataAtPathPayload'),
|
|
76
|
+
}),
|
|
53
77
|
copyGraph: (args, options) => new QueryBuilder({
|
|
54
78
|
client,
|
|
55
79
|
operation: 'mutation',
|
|
@@ -134,6 +158,18 @@ export function createMutationOperations(client) {
|
|
|
134
158
|
},
|
|
135
159
|
], connectionFieldsMap, 'AddNodePayload'),
|
|
136
160
|
}),
|
|
161
|
+
infraInsertNodeAtPath: (args, options) => new QueryBuilder({
|
|
162
|
+
client,
|
|
163
|
+
operation: 'mutation',
|
|
164
|
+
operationName: 'InfraInsertNodeAtPath',
|
|
165
|
+
fieldName: 'infraInsertNodeAtPath',
|
|
166
|
+
...buildCustomDocument('mutation', 'InfraInsertNodeAtPath', 'infraInsertNodeAtPath', options.select, args, [
|
|
167
|
+
{
|
|
168
|
+
name: 'input',
|
|
169
|
+
type: 'InfraInsertNodeAtPathInput!',
|
|
170
|
+
},
|
|
171
|
+
], connectionFieldsMap, 'InfraInsertNodeAtPathPayload'),
|
|
172
|
+
}),
|
|
137
173
|
insertNodeAtPath: (args, options) => new QueryBuilder({
|
|
138
174
|
client,
|
|
139
175
|
operation: 'mutation',
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
-
import { PlatformConfigDefinitionModel } from './models/platformConfigDefinition';
|
|
3
2
|
import { PlatformConfigModel } from './models/platformConfig';
|
|
3
|
+
import { ConfigModel } from './models/config';
|
|
4
|
+
import { PlatformInternalSecretModel } from './models/platformInternalSecret';
|
|
5
|
+
import { PlatformSecretModel } from './models/platformSecret';
|
|
6
|
+
import { SecretModel } from './models/secret';
|
|
4
7
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
5
8
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
6
9
|
export { QueryBuilder } from './query-builder';
|
|
@@ -31,48 +34,71 @@ export { createMutationOperations } from './mutation';
|
|
|
31
34
|
* ```
|
|
32
35
|
*/
|
|
33
36
|
export declare function createClient(config: OrmClientConfig): {
|
|
34
|
-
platformConfigDefinition: PlatformConfigDefinitionModel;
|
|
35
37
|
platformConfig: PlatformConfigModel;
|
|
38
|
+
config: ConfigModel;
|
|
39
|
+
platformInternalSecret: PlatformInternalSecretModel;
|
|
40
|
+
platformSecret: PlatformSecretModel;
|
|
41
|
+
secret: SecretModel;
|
|
36
42
|
mutation: {
|
|
43
|
+
platformInternalSecretsDel: <S extends import("./input-types").PlatformInternalSecretsDelPayloadSelect>(args: import("./mutation").PlatformInternalSecretsDelVariables, options: {
|
|
44
|
+
select: S;
|
|
45
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
46
|
+
platformInternalSecretsDel: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsDelPayload, S> | null;
|
|
47
|
+
}>;
|
|
37
48
|
platformSecretsDel: <S extends import("./input-types").PlatformSecretsDelPayloadSelect>(args: import("./mutation").PlatformSecretsDelVariables, options: {
|
|
38
49
|
select: S;
|
|
39
50
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
40
51
|
platformSecretsDel: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsDelPayload, S> | null;
|
|
41
52
|
}>;
|
|
42
|
-
|
|
53
|
+
_secretsDel: <S extends import("./input-types")._SecretsDelPayloadSelect>(args: import("./mutation")._secretsDelVariables, options: {
|
|
54
|
+
select: S;
|
|
55
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsDelPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
56
|
+
_secretsDel: import("./select-types").InferSelectResult<import("./input-types")._SecretsDelPayload, S> | null;
|
|
57
|
+
}>;
|
|
58
|
+
platformInternalSecretsRemoveArray: <S extends import("./input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>(args: import("./mutation").PlatformInternalSecretsRemoveArrayVariables, options: {
|
|
43
59
|
select: S;
|
|
44
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
45
|
-
|
|
60
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
|
+
platformInternalSecretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsRemoveArrayPayload, S> | null;
|
|
46
62
|
}>;
|
|
47
63
|
platformSecretsRemoveArray: <S extends import("./input-types").PlatformSecretsRemoveArrayPayloadSelect>(args: import("./mutation").PlatformSecretsRemoveArrayVariables, options: {
|
|
48
64
|
select: S;
|
|
49
65
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
50
66
|
platformSecretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsRemoveArrayPayload, S> | null;
|
|
51
67
|
}>;
|
|
52
|
-
|
|
68
|
+
_secretsRemoveArray: <S extends import("./input-types")._SecretsRemoveArrayPayloadSelect>(args: import("./mutation")._secretsRemoveArrayVariables, options: {
|
|
69
|
+
select: S;
|
|
70
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsRemoveArrayPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
71
|
+
_secretsRemoveArray: import("./select-types").InferSelectResult<import("./input-types")._SecretsRemoveArrayPayload, S> | null;
|
|
72
|
+
}>;
|
|
73
|
+
platformInternalSecretsRotate: <S extends import("./input-types").PlatformInternalSecretsRotatePayloadSelect>(args: import("./mutation").PlatformInternalSecretsRotateVariables, options: {
|
|
53
74
|
select: S;
|
|
54
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
55
|
-
|
|
75
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
76
|
+
platformInternalSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsRotatePayload, S> | null;
|
|
77
|
+
}>;
|
|
78
|
+
platformInternalSecretsSet: <S extends import("./input-types").PlatformInternalSecretsSetPayloadSelect>(args: import("./mutation").PlatformInternalSecretsSetVariables, options: {
|
|
79
|
+
select: S;
|
|
80
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInternalSecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
81
|
+
platformInternalSecretsSet: import("./select-types").InferSelectResult<import("./input-types").PlatformInternalSecretsSetPayload, S> | null;
|
|
56
82
|
}>;
|
|
57
83
|
platformSecretsRotate: <S extends import("./input-types").PlatformSecretsRotatePayloadSelect>(args: import("./mutation").PlatformSecretsRotateVariables, options: {
|
|
58
84
|
select: S;
|
|
59
85
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
60
86
|
platformSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsRotatePayload, S> | null;
|
|
61
87
|
}>;
|
|
88
|
+
_secretsRotate: <S extends import("./input-types")._SecretsRotatePayloadSelect>(args: import("./mutation")._secretsRotateVariables, options: {
|
|
89
|
+
select: S;
|
|
90
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
91
|
+
_secretsRotate: import("./select-types").InferSelectResult<import("./input-types")._SecretsRotatePayload, S> | null;
|
|
92
|
+
}>;
|
|
62
93
|
platformSecretsSet: <S extends import("./input-types").PlatformSecretsSetPayloadSelect>(args: import("./mutation").PlatformSecretsSetVariables, options: {
|
|
63
94
|
select: S;
|
|
64
95
|
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformSecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
65
96
|
platformSecretsSet: import("./select-types").InferSelectResult<import("./input-types").PlatformSecretsSetPayload, S> | null;
|
|
66
97
|
}>;
|
|
67
|
-
|
|
68
|
-
select: S;
|
|
69
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").OrgSecretsRotatePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
70
|
-
orgSecretsRotate: import("./select-types").InferSelectResult<import("./input-types").OrgSecretsRotatePayload, S> | null;
|
|
71
|
-
}>;
|
|
72
|
-
orgSecretsSet: <S extends import("./input-types").OrgSecretsSetPayloadSelect>(args: import("./mutation").OrgSecretsSetVariables, options: {
|
|
98
|
+
_secretsSet: <S extends import("./input-types")._SecretsSetPayloadSelect>(args: import("./mutation")._secretsSetVariables, options: {
|
|
73
99
|
select: S;
|
|
74
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
75
|
-
|
|
100
|
+
} & import("./select-types").StrictSelect<S, import("./input-types")._SecretsSetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
101
|
+
_secretsSet: import("./select-types").InferSelectResult<import("./input-types")._SecretsSetPayload, S> | null;
|
|
76
102
|
}>;
|
|
77
103
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
78
104
|
select: S;
|
package/esm/config/orm/index.js
CHANGED
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
-
import { PlatformConfigDefinitionModel } from './models/platformConfigDefinition';
|
|
8
7
|
import { PlatformConfigModel } from './models/platformConfig';
|
|
8
|
+
import { ConfigModel } from './models/config';
|
|
9
|
+
import { PlatformInternalSecretModel } from './models/platformInternalSecret';
|
|
10
|
+
import { PlatformSecretModel } from './models/platformSecret';
|
|
11
|
+
import { SecretModel } from './models/secret';
|
|
9
12
|
import { createMutationOperations } from './mutation';
|
|
10
13
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
11
14
|
export { QueryBuilder } from './query-builder';
|
|
@@ -38,8 +41,11 @@ export { createMutationOperations } from './mutation';
|
|
|
38
41
|
export function createClient(config) {
|
|
39
42
|
const client = new OrmClient(config);
|
|
40
43
|
return {
|
|
41
|
-
platformConfigDefinition: new PlatformConfigDefinitionModel(client),
|
|
42
44
|
platformConfig: new PlatformConfigModel(client),
|
|
45
|
+
config: new ConfigModel(client),
|
|
46
|
+
platformInternalSecret: new PlatformInternalSecretModel(client),
|
|
47
|
+
platformSecret: new PlatformSecretModel(client),
|
|
48
|
+
secret: new SecretModel(client),
|
|
43
49
|
mutation: createMutationOperations(client),
|
|
44
50
|
};
|
|
45
51
|
}
|