@constructive-io/sdk 0.32.2 → 0.32.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/orm/input-types.d.ts +24 -0
- package/agent/orm/input-types.js +3 -0
- package/api/orm/index.d.ts +9 -2
- package/api/orm/index.js +4 -2
- package/api/orm/input-types.d.ts +498 -143
- package/api/orm/input-types.js +4 -0
- package/api/orm/models/httpRoute.d.ts +54 -0
- package/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +27 -30
- package/api/orm/models/index.d.ts +2 -1
- package/api/orm/models/index.js +5 -3
- package/api/orm/models/managedDomain.d.ts +54 -0
- package/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +27 -30
- package/api/orm/query/index.d.ts +12 -0
- package/api/orm/query/index.js +20 -0
- package/auth/orm/input-types.d.ts +155 -182
- package/auth/orm/input-types.js +4 -0
- package/compute/orm/index.d.ts +101 -4
- package/compute/orm/index.js +46 -4
- package/compute/orm/input-types.d.ts +5356 -772
- package/compute/orm/input-types.js +34 -2
- package/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/compute/orm/models/{infraGetAllRecord.js → declaredCapacity.js} +15 -15
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/{objects/orm/models/getAllRecord.js → compute/orm/models/getAllTreeNodesRecord.js} +15 -15
- package/compute/orm/models/index.d.ts +23 -2
- package/compute/orm/models/index.js +48 -5
- package/compute/orm/models/infraCommit.d.ts +2 -2
- package/compute/orm/models/infraCommit.js +2 -2
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +2 -2
- package/compute/orm/models/infraObject.js +2 -2
- package/compute/orm/models/infraRef.d.ts +2 -2
- package/compute/orm/models/infraRef.js +2 -2
- package/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/compute/orm/models/{getAllRecord.js → platformDeclaredCapacity.js} +15 -15
- package/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/compute/orm/models/platformInfraCommit.js +107 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +25 -25
- package/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/compute/orm/models/platformInfraRef.js +107 -0
- package/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/compute/orm/models/platformInfraStore.js +104 -0
- package/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/compute/orm/models/platformResourceInstallation.js +104 -0
- package/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageLog.js +107 -0
- package/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageSummary.js +107 -0
- package/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/platformResourceUtilizationDaily.js +59 -0
- package/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/compute/orm/models/platformResourcesHealth.js +80 -0
- package/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/compute/orm/models/platformWebhookEndpoint.js +104 -0
- package/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/compute/orm/models/platformWebhookEvent.js +104 -0
- package/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/compute/orm/models/resourceInstallation.js +104 -0
- package/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/compute/orm/models/resourceUsageLog.js +107 -0
- package/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/resourceUsageSummary.js +107 -0
- package/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/resourceUtilizationDaily.js +59 -0
- package/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +20 -20
- package/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/compute/orm/models/webhookEndpoint.js +104 -0
- package/compute/orm/models/webhookEvent.d.ts +54 -0
- package/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +27 -27
- package/compute/orm/mutation/index.d.ts +89 -1
- package/compute/orm/mutation/index.js +132 -0
- package/config/orm/input-types.d.ts +4 -79
- package/esm/agent/orm/input-types.d.ts +24 -0
- package/esm/agent/orm/input-types.js +3 -0
- package/esm/api/orm/index.d.ts +9 -2
- package/esm/api/orm/index.js +4 -2
- package/esm/api/orm/input-types.d.ts +498 -143
- package/esm/api/orm/input-types.js +4 -0
- package/esm/api/orm/models/httpRoute.d.ts +54 -0
- package/esm/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +25 -28
- package/esm/api/orm/models/index.d.ts +2 -1
- package/esm/api/orm/models/index.js +2 -1
- package/esm/api/orm/models/managedDomain.d.ts +54 -0
- package/esm/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +25 -28
- package/esm/api/orm/query/index.d.ts +12 -0
- package/esm/api/orm/query/index.js +20 -0
- package/esm/auth/orm/input-types.d.ts +155 -182
- package/esm/auth/orm/input-types.js +4 -0
- package/esm/compute/orm/index.d.ts +101 -4
- package/esm/compute/orm/index.js +46 -4
- package/esm/compute/orm/input-types.d.ts +5356 -772
- package/esm/compute/orm/input-types.js +34 -2
- package/esm/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/esm/{infra/orm/models/infraGetAllRecord.js → compute/orm/models/declaredCapacity.js} +13 -13
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/index.d.ts +23 -2
- package/esm/compute/orm/models/index.js +23 -2
- package/esm/compute/orm/models/infraCommit.d.ts +2 -2
- package/esm/compute/orm/models/infraCommit.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/{infraGetAllRecord.js → infraGetAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/infraObject.d.ts +2 -2
- package/esm/compute/orm/models/infraObject.js +2 -2
- package/esm/compute/orm/models/infraRef.d.ts +2 -2
- package/esm/compute/orm/models/infraRef.js +2 -2
- package/esm/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/esm/compute/orm/models/platformDeclaredCapacity.js +55 -0
- package/esm/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraCommit.js +103 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +23 -23
- package/esm/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraRef.js +103 -0
- package/esm/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/compute/orm/models/platformInfraStore.js +100 -0
- package/esm/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceInstallation.js +100 -0
- package/esm/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageLog.js +103 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/esm/compute/orm/models/platformResourcesHealth.js +76 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.js +100 -0
- package/esm/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEvent.js +100 -0
- package/esm/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/resourceInstallation.js +100 -0
- package/esm/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageLog.js +103 -0
- package/esm/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/esm/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +18 -18
- package/esm/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/webhookEndpoint.js +100 -0
- package/esm/compute/orm/models/webhookEvent.d.ts +54 -0
- package/esm/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +89 -1
- package/esm/compute/orm/mutation/index.js +132 -0
- package/esm/config/orm/input-types.d.ts +4 -79
- package/esm/infra/orm/index.d.ts +19 -19
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +542 -668
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraCommit.js +103 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraObject.js +93 -0
- package/esm/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraRef.js +103 -0
- package/esm/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/infra/orm/models/platformInfraStore.js +100 -0
- package/esm/infra/orm/mutation/index.d.ts +16 -16
- package/esm/infra/orm/mutation/index.js +18 -18
- package/esm/modules/orm/index.d.ts +4 -0
- package/esm/modules/orm/index.js +4 -0
- package/esm/modules/orm/input-types.d.ts +802 -166
- package/esm/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/esm/modules/orm/models/httpRouteModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +2 -0
- package/esm/modules/orm/models/index.js +2 -0
- package/esm/modules/orm/models/webhookModule.d.ts +54 -0
- package/esm/modules/orm/models/webhookModule.js +100 -0
- package/esm/objects/orm/index.d.ts +2 -2
- package/esm/objects/orm/index.js +2 -2
- package/esm/objects/orm/input-types.d.ts +15 -15
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/objects/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
- package/esm/objects/orm/models/index.d.ts +1 -1
- package/esm/objects/orm/models/index.js +1 -1
- package/infra/orm/index.d.ts +19 -19
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +542 -668
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/infra/orm/models/platformInfraCommit.js +107 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/infra/orm/models/platformInfraObject.js +97 -0
- package/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/infra/orm/models/platformInfraRef.js +107 -0
- package/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/infra/orm/models/platformInfraStore.js +104 -0
- package/infra/orm/mutation/index.d.ts +16 -16
- package/infra/orm/mutation/index.js +18 -18
- package/modules/orm/index.d.ts +4 -0
- package/modules/orm/index.js +4 -0
- package/modules/orm/input-types.d.ts +802 -166
- package/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/modules/orm/models/httpRouteModule.js +104 -0
- package/modules/orm/models/index.d.ts +2 -0
- package/modules/orm/models/index.js +6 -2
- package/modules/orm/models/webhookModule.d.ts +54 -0
- package/modules/orm/models/webhookModule.js +104 -0
- package/objects/orm/index.d.ts +2 -2
- package/objects/orm/index.js +2 -2
- package/objects/orm/input-types.d.ts +15 -15
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/{infra/orm/models/infraGetAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +15 -15
- package/objects/orm/models/index.d.ts +1 -1
- package/objects/orm/models/index.js +3 -3
- package/package.json +5 -5
- package/api/orm/models/migrateFile.d.ts +0 -36
- package/compute/orm/models/getAllRecord.d.ts +0 -30
- package/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/api/orm/models/migrateFile.d.ts +0 -36
- package/esm/compute/orm/models/getAllRecord.d.ts +0 -30
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/orm/models/infraCommit.d.ts +0 -56
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/orm/models/infraObject.d.ts +0 -56
- package/esm/infra/orm/models/infraRef.d.ts +0 -56
- package/esm/infra/orm/models/infraStore.d.ts +0 -54
- package/esm/objects/orm/models/getAllRecord.d.ts +0 -30
- package/infra/orm/models/infraCommit.d.ts +0 -56
- package/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/infra/orm/models/infraObject.d.ts +0 -56
- package/infra/orm/models/infraRef.d.ts +0 -56
- package/infra/orm/models/infraStore.d.ts +0 -54
- package/objects/orm/models/getAllRecord.d.ts +0 -30
|
@@ -638,7 +638,7 @@ export interface CreatePlatformInternalSecretInput {
|
|
|
638
638
|
description?: string;
|
|
639
639
|
labels?: Record<string, unknown>;
|
|
640
640
|
name?: string;
|
|
641
|
-
namespaceId
|
|
641
|
+
namespaceId: string;
|
|
642
642
|
retiredAt?: string;
|
|
643
643
|
rotatedAt?: string;
|
|
644
644
|
};
|
|
@@ -668,7 +668,7 @@ export interface CreatePlatformSecretInput {
|
|
|
668
668
|
description?: string;
|
|
669
669
|
labels?: Record<string, unknown>;
|
|
670
670
|
name?: string;
|
|
671
|
-
namespaceId
|
|
671
|
+
namespaceId: string;
|
|
672
672
|
provider?: string;
|
|
673
673
|
retiredAt?: string;
|
|
674
674
|
rotatedAt?: string;
|
|
@@ -697,11 +697,11 @@ export interface CreateSecretInput {
|
|
|
697
697
|
clientMutationId?: string;
|
|
698
698
|
secret: {
|
|
699
699
|
annotations?: Record<string, unknown>;
|
|
700
|
-
databaseId
|
|
700
|
+
databaseId: string;
|
|
701
701
|
description?: string;
|
|
702
702
|
labels?: Record<string, unknown>;
|
|
703
703
|
name?: string;
|
|
704
|
-
namespaceId
|
|
704
|
+
namespaceId: string;
|
|
705
705
|
provider?: string;
|
|
706
706
|
retiredAt?: string;
|
|
707
707
|
rotatedAt?: string;
|
|
@@ -863,48 +863,6 @@ export interface PlatformConfigInput {
|
|
|
863
863
|
/** Plaintext config value */
|
|
864
864
|
value?: string;
|
|
865
865
|
}
|
|
866
|
-
/** An input for mutations affecting `PlatformInternalSecret` */
|
|
867
|
-
export interface PlatformInternalSecretInput {
|
|
868
|
-
annotations?: Record<string, unknown>;
|
|
869
|
-
createdAt?: string;
|
|
870
|
-
description?: string;
|
|
871
|
-
id?: string;
|
|
872
|
-
labels?: Record<string, unknown>;
|
|
873
|
-
name?: string;
|
|
874
|
-
namespaceId?: string;
|
|
875
|
-
retiredAt?: string;
|
|
876
|
-
rotatedAt?: string;
|
|
877
|
-
updatedAt?: string;
|
|
878
|
-
}
|
|
879
|
-
/** An input for mutations affecting `PlatformSecret` */
|
|
880
|
-
export interface PlatformSecretInput {
|
|
881
|
-
annotations?: Record<string, unknown>;
|
|
882
|
-
createdAt?: string;
|
|
883
|
-
description?: string;
|
|
884
|
-
id?: string;
|
|
885
|
-
labels?: Record<string, unknown>;
|
|
886
|
-
name?: string;
|
|
887
|
-
namespaceId?: string;
|
|
888
|
-
provider?: string;
|
|
889
|
-
retiredAt?: string;
|
|
890
|
-
rotatedAt?: string;
|
|
891
|
-
updatedAt?: string;
|
|
892
|
-
}
|
|
893
|
-
/** An input for mutations affecting `Secret` */
|
|
894
|
-
export interface SecretInput {
|
|
895
|
-
annotations?: Record<string, unknown>;
|
|
896
|
-
createdAt?: string;
|
|
897
|
-
databaseId?: string;
|
|
898
|
-
description?: string;
|
|
899
|
-
id?: string;
|
|
900
|
-
labels?: Record<string, unknown>;
|
|
901
|
-
name?: string;
|
|
902
|
-
namespaceId?: string;
|
|
903
|
-
provider?: string;
|
|
904
|
-
retiredAt?: string;
|
|
905
|
-
rotatedAt?: string;
|
|
906
|
-
updatedAt?: string;
|
|
907
|
-
}
|
|
908
866
|
export interface _SecretsDelPayload {
|
|
909
867
|
clientMutationId?: string | null;
|
|
910
868
|
}
|
|
@@ -1101,39 +1059,6 @@ export type DeletePlatformConfigPayloadSelect = {
|
|
|
1101
1059
|
select: PlatformConfigEdgeSelect;
|
|
1102
1060
|
};
|
|
1103
1061
|
};
|
|
1104
|
-
export interface CreatePlatformInternalSecretPayload {
|
|
1105
|
-
clientMutationId?: string | null;
|
|
1106
|
-
/** The `PlatformInternalSecret` that was created by this mutation. */
|
|
1107
|
-
platformInternalSecret?: PlatformInternalSecret | null;
|
|
1108
|
-
}
|
|
1109
|
-
export type CreatePlatformInternalSecretPayloadSelect = {
|
|
1110
|
-
clientMutationId?: boolean;
|
|
1111
|
-
platformInternalSecret?: {
|
|
1112
|
-
select: PlatformInternalSecretSelect;
|
|
1113
|
-
};
|
|
1114
|
-
};
|
|
1115
|
-
export interface CreatePlatformSecretPayload {
|
|
1116
|
-
clientMutationId?: string | null;
|
|
1117
|
-
/** The `PlatformSecret` that was created by this mutation. */
|
|
1118
|
-
platformSecret?: PlatformSecret | null;
|
|
1119
|
-
}
|
|
1120
|
-
export type CreatePlatformSecretPayloadSelect = {
|
|
1121
|
-
clientMutationId?: boolean;
|
|
1122
|
-
platformSecret?: {
|
|
1123
|
-
select: PlatformSecretSelect;
|
|
1124
|
-
};
|
|
1125
|
-
};
|
|
1126
|
-
export interface CreateSecretPayload {
|
|
1127
|
-
clientMutationId?: string | null;
|
|
1128
|
-
/** The `Secret` that was created by this mutation. */
|
|
1129
|
-
secret?: Secret | null;
|
|
1130
|
-
}
|
|
1131
|
-
export type CreateSecretPayloadSelect = {
|
|
1132
|
-
clientMutationId?: boolean;
|
|
1133
|
-
secret?: {
|
|
1134
|
-
select: SecretSelect;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
1062
|
/** A `Config` edge in the connection. */
|
|
1138
1063
|
export interface ConfigEdge {
|
|
1139
1064
|
cursor?: string | null;
|
package/esm/infra/orm/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
2
|
import { DbPresetModel } from './models/dbPreset';
|
|
3
|
-
import { InfraCommitModel } from './models/infraCommit';
|
|
4
|
-
import { InfraGetAllRecordModel } from './models/infraGetAllRecord';
|
|
5
|
-
import { InfraObjectModel } from './models/infraObject';
|
|
6
|
-
import { InfraRefModel } from './models/infraRef';
|
|
7
|
-
import { InfraStoreModel } from './models/infraStore';
|
|
8
3
|
import { NamespaceModel } from './models/namespace';
|
|
9
4
|
import { NamespaceEventModel } from './models/namespaceEvent';
|
|
5
|
+
import { PlatformInfraCommitModel } from './models/platformInfraCommit';
|
|
6
|
+
import { PlatformInfraGetAllTreeNodesRecordModel } from './models/platformInfraGetAllTreeNodesRecord';
|
|
7
|
+
import { PlatformInfraObjectModel } from './models/platformInfraObject';
|
|
8
|
+
import { PlatformInfraRefModel } from './models/platformInfraRef';
|
|
9
|
+
import { PlatformInfraStoreModel } from './models/platformInfraStore';
|
|
10
10
|
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
11
11
|
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
12
12
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
@@ -40,30 +40,30 @@ export { createMutationOperations } from './mutation';
|
|
|
40
40
|
*/
|
|
41
41
|
export declare function createClient(config: OrmClientConfig): {
|
|
42
42
|
dbPreset: DbPresetModel;
|
|
43
|
-
infraCommit: InfraCommitModel;
|
|
44
|
-
infraGetAllRecord: InfraGetAllRecordModel;
|
|
45
|
-
infraObject: InfraObjectModel;
|
|
46
|
-
infraRef: InfraRefModel;
|
|
47
|
-
infraStore: InfraStoreModel;
|
|
48
43
|
namespace: NamespaceModel;
|
|
49
44
|
namespaceEvent: NamespaceEventModel;
|
|
45
|
+
platformInfraCommit: PlatformInfraCommitModel;
|
|
46
|
+
platformInfraGetAllTreeNodesRecord: PlatformInfraGetAllTreeNodesRecordModel;
|
|
47
|
+
platformInfraObject: PlatformInfraObjectModel;
|
|
48
|
+
platformInfraRef: PlatformInfraRefModel;
|
|
49
|
+
platformInfraStore: PlatformInfraStoreModel;
|
|
50
50
|
platformNamespace: PlatformNamespaceModel;
|
|
51
51
|
platformNamespaceEvent: PlatformNamespaceEventModel;
|
|
52
52
|
mutation: {
|
|
53
|
-
|
|
53
|
+
platformInfraInitEmptyRepo: <S extends import("./input-types").PlatformInfraInitEmptyRepoPayloadSelect>(args: import("./mutation").PlatformInfraInitEmptyRepoVariables, options: {
|
|
54
54
|
select: S;
|
|
55
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
56
|
-
|
|
55
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInfraInitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
56
|
+
platformInfraInitEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").PlatformInfraInitEmptyRepoPayload, S> | null;
|
|
57
57
|
}>;
|
|
58
|
-
|
|
58
|
+
platformInfraInsertNodeAtPath: <S extends import("./input-types").PlatformInfraInsertNodeAtPathPayloadSelect>(args: import("./mutation").PlatformInfraInsertNodeAtPathVariables, options: {
|
|
59
59
|
select: S;
|
|
60
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
61
|
-
|
|
60
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInfraInsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
|
+
platformInfraInsertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").PlatformInfraInsertNodeAtPathPayload, S> | null;
|
|
62
62
|
}>;
|
|
63
|
-
|
|
63
|
+
platformInfraSetDataAtPath: <S extends import("./input-types").PlatformInfraSetDataAtPathPayloadSelect>(args: import("./mutation").PlatformInfraSetDataAtPathVariables, options: {
|
|
64
64
|
select: S;
|
|
65
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").
|
|
66
|
-
|
|
65
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").PlatformInfraSetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
66
|
+
platformInfraSetDataAtPath: import("./select-types").InferSelectResult<import("./input-types").PlatformInfraSetDataAtPathPayload, S> | null;
|
|
67
67
|
}>;
|
|
68
68
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
69
69
|
select: S;
|
package/esm/infra/orm/index.js
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
7
|
import { DbPresetModel } from './models/dbPreset';
|
|
8
|
-
import { InfraCommitModel } from './models/infraCommit';
|
|
9
|
-
import { InfraGetAllRecordModel } from './models/infraGetAllRecord';
|
|
10
|
-
import { InfraObjectModel } from './models/infraObject';
|
|
11
|
-
import { InfraRefModel } from './models/infraRef';
|
|
12
|
-
import { InfraStoreModel } from './models/infraStore';
|
|
13
8
|
import { NamespaceModel } from './models/namespace';
|
|
14
9
|
import { NamespaceEventModel } from './models/namespaceEvent';
|
|
10
|
+
import { PlatformInfraCommitModel } from './models/platformInfraCommit';
|
|
11
|
+
import { PlatformInfraGetAllTreeNodesRecordModel } from './models/platformInfraGetAllTreeNodesRecord';
|
|
12
|
+
import { PlatformInfraObjectModel } from './models/platformInfraObject';
|
|
13
|
+
import { PlatformInfraRefModel } from './models/platformInfraRef';
|
|
14
|
+
import { PlatformInfraStoreModel } from './models/platformInfraStore';
|
|
15
15
|
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
16
16
|
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
17
17
|
import { createMutationOperations } from './mutation';
|
|
@@ -47,13 +47,13 @@ export function createClient(config) {
|
|
|
47
47
|
const client = new OrmClient(config);
|
|
48
48
|
return {
|
|
49
49
|
dbPreset: new DbPresetModel(client),
|
|
50
|
-
infraCommit: new InfraCommitModel(client),
|
|
51
|
-
infraGetAllRecord: new InfraGetAllRecordModel(client),
|
|
52
|
-
infraObject: new InfraObjectModel(client),
|
|
53
|
-
infraRef: new InfraRefModel(client),
|
|
54
|
-
infraStore: new InfraStoreModel(client),
|
|
55
50
|
namespace: new NamespaceModel(client),
|
|
56
51
|
namespaceEvent: new NamespaceEventModel(client),
|
|
52
|
+
platformInfraCommit: new PlatformInfraCommitModel(client),
|
|
53
|
+
platformInfraGetAllTreeNodesRecord: new PlatformInfraGetAllTreeNodesRecordModel(client),
|
|
54
|
+
platformInfraObject: new PlatformInfraObjectModel(client),
|
|
55
|
+
platformInfraRef: new PlatformInfraRefModel(client),
|
|
56
|
+
platformInfraStore: new PlatformInfraStoreModel(client),
|
|
57
57
|
platformNamespace: new PlatformNamespaceModel(client),
|
|
58
58
|
platformNamespaceEvent: new PlatformNamespaceEventModel(client),
|
|
59
59
|
mutation: createMutationOperations(client),
|