@constructive-io/sdk 0.30.2 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/package.json +4 -4
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { PlatformConfigModel } from './platformConfig';
|
|
7
6
|
export { ConfigModel } from './config';
|
|
7
|
+
export { PlatformConfigModel } from './platformConfig';
|
|
8
8
|
export { PlatformInternalSecretModel } from './platformInternalSecret';
|
|
9
9
|
export { PlatformSecretModel } from './platformSecret';
|
|
10
10
|
export { SecretModel } from './secret';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { PlatformConfigModel } from './platformConfig';
|
|
7
6
|
export { ConfigModel } from './config';
|
|
7
|
+
export { PlatformConfigModel } from './platformConfig';
|
|
8
8
|
export { PlatformInternalSecretModel } from './platformInternalSecret';
|
|
9
9
|
export { PlatformSecretModel } from './platformSecret';
|
|
10
10
|
export { SecretModel } from './secret';
|
|
@@ -6,43 +6,43 @@
|
|
|
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 {
|
|
10
|
-
export interface PlatformInternalSecretsDelVariables {
|
|
11
|
-
input: PlatformInternalSecretsDelInput;
|
|
12
|
-
}
|
|
13
|
-
export interface PlatformSecretsDelVariables {
|
|
14
|
-
input: PlatformSecretsDelInput;
|
|
15
|
-
}
|
|
9
|
+
import type { _SecretsDelInput, _SecretsRemoveArrayInput, _SecretsRotateInput, _SecretsSetInput, PlatformInternalSecretsDelInput, PlatformInternalSecretsRemoveArrayInput, PlatformInternalSecretsRotateInput, PlatformInternalSecretsSetInput, PlatformSecretsDelInput, PlatformSecretsRemoveArrayInput, PlatformSecretsRotateInput, PlatformSecretsSetInput, ProvisionBucketInput, _SecretsDelPayload, _SecretsRemoveArrayPayload, _SecretsRotatePayload, _SecretsSetPayload, PlatformInternalSecretsDelPayload, PlatformInternalSecretsRemoveArrayPayload, PlatformInternalSecretsRotatePayload, PlatformInternalSecretsSetPayload, PlatformSecretsDelPayload, PlatformSecretsRemoveArrayPayload, PlatformSecretsRotatePayload, PlatformSecretsSetPayload, ProvisionBucketPayload, _SecretsDelPayloadSelect, _SecretsRemoveArrayPayloadSelect, _SecretsRotatePayloadSelect, _SecretsSetPayloadSelect, PlatformInternalSecretsDelPayloadSelect, PlatformInternalSecretsRemoveArrayPayloadSelect, PlatformInternalSecretsRotatePayloadSelect, PlatformInternalSecretsSetPayloadSelect, PlatformSecretsDelPayloadSelect, PlatformSecretsRemoveArrayPayloadSelect, PlatformSecretsRotatePayloadSelect, PlatformSecretsSetPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
16
10
|
export interface _secretsDelVariables {
|
|
17
11
|
input: _SecretsDelInput;
|
|
18
12
|
}
|
|
19
|
-
export interface PlatformInternalSecretsRemoveArrayVariables {
|
|
20
|
-
input: PlatformInternalSecretsRemoveArrayInput;
|
|
21
|
-
}
|
|
22
|
-
export interface PlatformSecretsRemoveArrayVariables {
|
|
23
|
-
input: PlatformSecretsRemoveArrayInput;
|
|
24
|
-
}
|
|
25
13
|
export interface _secretsRemoveArrayVariables {
|
|
26
14
|
input: _SecretsRemoveArrayInput;
|
|
27
15
|
}
|
|
16
|
+
export interface _secretsRotateVariables {
|
|
17
|
+
input: _SecretsRotateInput;
|
|
18
|
+
}
|
|
19
|
+
export interface _secretsSetVariables {
|
|
20
|
+
input: _SecretsSetInput;
|
|
21
|
+
}
|
|
22
|
+
export interface PlatformInternalSecretsDelVariables {
|
|
23
|
+
input: PlatformInternalSecretsDelInput;
|
|
24
|
+
}
|
|
25
|
+
export interface PlatformInternalSecretsRemoveArrayVariables {
|
|
26
|
+
input: PlatformInternalSecretsRemoveArrayInput;
|
|
27
|
+
}
|
|
28
28
|
export interface PlatformInternalSecretsRotateVariables {
|
|
29
29
|
input: PlatformInternalSecretsRotateInput;
|
|
30
30
|
}
|
|
31
31
|
export interface PlatformInternalSecretsSetVariables {
|
|
32
32
|
input: PlatformInternalSecretsSetInput;
|
|
33
33
|
}
|
|
34
|
+
export interface PlatformSecretsDelVariables {
|
|
35
|
+
input: PlatformSecretsDelInput;
|
|
36
|
+
}
|
|
37
|
+
export interface PlatformSecretsRemoveArrayVariables {
|
|
38
|
+
input: PlatformSecretsRemoveArrayInput;
|
|
39
|
+
}
|
|
34
40
|
export interface PlatformSecretsRotateVariables {
|
|
35
41
|
input: PlatformSecretsRotateInput;
|
|
36
42
|
}
|
|
37
|
-
export interface _secretsRotateVariables {
|
|
38
|
-
input: _SecretsRotateInput;
|
|
39
|
-
}
|
|
40
43
|
export interface PlatformSecretsSetVariables {
|
|
41
44
|
input: PlatformSecretsSetInput;
|
|
42
45
|
}
|
|
43
|
-
export interface _secretsSetVariables {
|
|
44
|
-
input: _SecretsSetInput;
|
|
45
|
-
}
|
|
46
46
|
/**
|
|
47
47
|
* Variables for provisionBucket
|
|
48
48
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -54,35 +54,35 @@ export interface ProvisionBucketVariables {
|
|
|
54
54
|
input: ProvisionBucketInput;
|
|
55
55
|
}
|
|
56
56
|
export declare function createMutationOperations(client: OrmClient): {
|
|
57
|
-
|
|
57
|
+
_secretsDel: <S extends _SecretsDelPayloadSelect>(args: _secretsDelVariables, options: {
|
|
58
58
|
select: S;
|
|
59
|
-
} & StrictSelect<S,
|
|
60
|
-
|
|
59
|
+
} & StrictSelect<S, _SecretsDelPayloadSelect>) => QueryBuilder<{
|
|
60
|
+
_secretsDel: InferSelectResult<_SecretsDelPayload, S> | null;
|
|
61
61
|
}>;
|
|
62
|
-
|
|
62
|
+
_secretsRemoveArray: <S extends _SecretsRemoveArrayPayloadSelect>(args: _secretsRemoveArrayVariables, options: {
|
|
63
63
|
select: S;
|
|
64
|
-
} & StrictSelect<S,
|
|
65
|
-
|
|
64
|
+
} & StrictSelect<S, _SecretsRemoveArrayPayloadSelect>) => QueryBuilder<{
|
|
65
|
+
_secretsRemoveArray: InferSelectResult<_SecretsRemoveArrayPayload, S> | null;
|
|
66
66
|
}>;
|
|
67
|
-
|
|
67
|
+
_secretsRotate: <S extends _SecretsRotatePayloadSelect>(args: _secretsRotateVariables, options: {
|
|
68
68
|
select: S;
|
|
69
|
-
} & StrictSelect<S,
|
|
70
|
-
|
|
69
|
+
} & StrictSelect<S, _SecretsRotatePayloadSelect>) => QueryBuilder<{
|
|
70
|
+
_secretsRotate: InferSelectResult<_SecretsRotatePayload, S> | null;
|
|
71
71
|
}>;
|
|
72
|
-
|
|
72
|
+
_secretsSet: <S extends _SecretsSetPayloadSelect>(args: _secretsSetVariables, options: {
|
|
73
73
|
select: S;
|
|
74
|
-
} & StrictSelect<S,
|
|
75
|
-
|
|
74
|
+
} & StrictSelect<S, _SecretsSetPayloadSelect>) => QueryBuilder<{
|
|
75
|
+
_secretsSet: InferSelectResult<_SecretsSetPayload, S> | null;
|
|
76
76
|
}>;
|
|
77
|
-
|
|
77
|
+
platformInternalSecretsDel: <S extends PlatformInternalSecretsDelPayloadSelect>(args: PlatformInternalSecretsDelVariables, options: {
|
|
78
78
|
select: S;
|
|
79
|
-
} & StrictSelect<S,
|
|
80
|
-
|
|
79
|
+
} & StrictSelect<S, PlatformInternalSecretsDelPayloadSelect>) => QueryBuilder<{
|
|
80
|
+
platformInternalSecretsDel: InferSelectResult<PlatformInternalSecretsDelPayload, S> | null;
|
|
81
81
|
}>;
|
|
82
|
-
|
|
82
|
+
platformInternalSecretsRemoveArray: <S extends PlatformInternalSecretsRemoveArrayPayloadSelect>(args: PlatformInternalSecretsRemoveArrayVariables, options: {
|
|
83
83
|
select: S;
|
|
84
|
-
} & StrictSelect<S,
|
|
85
|
-
|
|
84
|
+
} & StrictSelect<S, PlatformInternalSecretsRemoveArrayPayloadSelect>) => QueryBuilder<{
|
|
85
|
+
platformInternalSecretsRemoveArray: InferSelectResult<PlatformInternalSecretsRemoveArrayPayload, S> | null;
|
|
86
86
|
}>;
|
|
87
87
|
platformInternalSecretsRotate: <S extends PlatformInternalSecretsRotatePayloadSelect>(args: PlatformInternalSecretsRotateVariables, options: {
|
|
88
88
|
select: S;
|
|
@@ -94,26 +94,26 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
94
94
|
} & StrictSelect<S, PlatformInternalSecretsSetPayloadSelect>) => QueryBuilder<{
|
|
95
95
|
platformInternalSecretsSet: InferSelectResult<PlatformInternalSecretsSetPayload, S> | null;
|
|
96
96
|
}>;
|
|
97
|
+
platformSecretsDel: <S extends PlatformSecretsDelPayloadSelect>(args: PlatformSecretsDelVariables, options: {
|
|
98
|
+
select: S;
|
|
99
|
+
} & StrictSelect<S, PlatformSecretsDelPayloadSelect>) => QueryBuilder<{
|
|
100
|
+
platformSecretsDel: InferSelectResult<PlatformSecretsDelPayload, S> | null;
|
|
101
|
+
}>;
|
|
102
|
+
platformSecretsRemoveArray: <S extends PlatformSecretsRemoveArrayPayloadSelect>(args: PlatformSecretsRemoveArrayVariables, options: {
|
|
103
|
+
select: S;
|
|
104
|
+
} & StrictSelect<S, PlatformSecretsRemoveArrayPayloadSelect>) => QueryBuilder<{
|
|
105
|
+
platformSecretsRemoveArray: InferSelectResult<PlatformSecretsRemoveArrayPayload, S> | null;
|
|
106
|
+
}>;
|
|
97
107
|
platformSecretsRotate: <S extends PlatformSecretsRotatePayloadSelect>(args: PlatformSecretsRotateVariables, options: {
|
|
98
108
|
select: S;
|
|
99
109
|
} & StrictSelect<S, PlatformSecretsRotatePayloadSelect>) => QueryBuilder<{
|
|
100
110
|
platformSecretsRotate: InferSelectResult<PlatformSecretsRotatePayload, S> | null;
|
|
101
111
|
}>;
|
|
102
|
-
_secretsRotate: <S extends _SecretsRotatePayloadSelect>(args: _secretsRotateVariables, options: {
|
|
103
|
-
select: S;
|
|
104
|
-
} & StrictSelect<S, _SecretsRotatePayloadSelect>) => QueryBuilder<{
|
|
105
|
-
_secretsRotate: InferSelectResult<_SecretsRotatePayload, S> | null;
|
|
106
|
-
}>;
|
|
107
112
|
platformSecretsSet: <S extends PlatformSecretsSetPayloadSelect>(args: PlatformSecretsSetVariables, options: {
|
|
108
113
|
select: S;
|
|
109
114
|
} & StrictSelect<S, PlatformSecretsSetPayloadSelect>) => QueryBuilder<{
|
|
110
115
|
platformSecretsSet: InferSelectResult<PlatformSecretsSetPayload, S> | null;
|
|
111
116
|
}>;
|
|
112
|
-
_secretsSet: <S extends _SecretsSetPayloadSelect>(args: _secretsSetVariables, options: {
|
|
113
|
-
select: S;
|
|
114
|
-
} & StrictSelect<S, _SecretsSetPayloadSelect>) => QueryBuilder<{
|
|
115
|
-
_secretsSet: InferSelectResult<_SecretsSetPayload, S> | null;
|
|
116
|
-
}>;
|
|
117
117
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
118
118
|
select: S;
|
|
119
119
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -2,77 +2,77 @@ import { QueryBuilder, buildCustomDocument } from '../query-builder';
|
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export function createMutationOperations(client) {
|
|
4
4
|
return {
|
|
5
|
-
|
|
5
|
+
_secretsDel: (args, options) => new QueryBuilder({
|
|
6
6
|
client,
|
|
7
7
|
operation: 'mutation',
|
|
8
|
-
operationName: '
|
|
9
|
-
fieldName: '
|
|
10
|
-
...buildCustomDocument('mutation', '
|
|
8
|
+
operationName: '_secretsDel',
|
|
9
|
+
fieldName: '_secretsDel',
|
|
10
|
+
...buildCustomDocument('mutation', '_secretsDel', '_secretsDel', options.select, args, [
|
|
11
11
|
{
|
|
12
12
|
name: 'input',
|
|
13
|
-
type: '
|
|
13
|
+
type: '_SecretsDelInput!',
|
|
14
14
|
},
|
|
15
|
-
], connectionFieldsMap, '
|
|
15
|
+
], connectionFieldsMap, '_SecretsDelPayload'),
|
|
16
16
|
}),
|
|
17
|
-
|
|
17
|
+
_secretsRemoveArray: (args, options) => new QueryBuilder({
|
|
18
18
|
client,
|
|
19
19
|
operation: 'mutation',
|
|
20
|
-
operationName: '
|
|
21
|
-
fieldName: '
|
|
22
|
-
...buildCustomDocument('mutation', '
|
|
20
|
+
operationName: '_secretsRemoveArray',
|
|
21
|
+
fieldName: '_secretsRemoveArray',
|
|
22
|
+
...buildCustomDocument('mutation', '_secretsRemoveArray', '_secretsRemoveArray', options.select, args, [
|
|
23
23
|
{
|
|
24
24
|
name: 'input',
|
|
25
|
-
type: '
|
|
25
|
+
type: '_SecretsRemoveArrayInput!',
|
|
26
26
|
},
|
|
27
|
-
], connectionFieldsMap, '
|
|
27
|
+
], connectionFieldsMap, '_SecretsRemoveArrayPayload'),
|
|
28
28
|
}),
|
|
29
|
-
|
|
29
|
+
_secretsRotate: (args, options) => new QueryBuilder({
|
|
30
30
|
client,
|
|
31
31
|
operation: 'mutation',
|
|
32
|
-
operationName: '
|
|
33
|
-
fieldName: '
|
|
34
|
-
...buildCustomDocument('mutation', '
|
|
32
|
+
operationName: '_secretsRotate',
|
|
33
|
+
fieldName: '_secretsRotate',
|
|
34
|
+
...buildCustomDocument('mutation', '_secretsRotate', '_secretsRotate', options.select, args, [
|
|
35
35
|
{
|
|
36
36
|
name: 'input',
|
|
37
|
-
type: '
|
|
37
|
+
type: '_SecretsRotateInput!',
|
|
38
38
|
},
|
|
39
|
-
], connectionFieldsMap, '
|
|
39
|
+
], connectionFieldsMap, '_SecretsRotatePayload'),
|
|
40
40
|
}),
|
|
41
|
-
|
|
41
|
+
_secretsSet: (args, options) => new QueryBuilder({
|
|
42
42
|
client,
|
|
43
43
|
operation: 'mutation',
|
|
44
|
-
operationName: '
|
|
45
|
-
fieldName: '
|
|
46
|
-
...buildCustomDocument('mutation', '
|
|
44
|
+
operationName: '_secretsSet',
|
|
45
|
+
fieldName: '_secretsSet',
|
|
46
|
+
...buildCustomDocument('mutation', '_secretsSet', '_secretsSet', options.select, args, [
|
|
47
47
|
{
|
|
48
48
|
name: 'input',
|
|
49
|
-
type: '
|
|
49
|
+
type: '_SecretsSetInput!',
|
|
50
50
|
},
|
|
51
|
-
], connectionFieldsMap, '
|
|
51
|
+
], connectionFieldsMap, '_SecretsSetPayload'),
|
|
52
52
|
}),
|
|
53
|
-
|
|
53
|
+
platformInternalSecretsDel: (args, options) => new QueryBuilder({
|
|
54
54
|
client,
|
|
55
55
|
operation: 'mutation',
|
|
56
|
-
operationName: '
|
|
57
|
-
fieldName: '
|
|
58
|
-
...buildCustomDocument('mutation', '
|
|
56
|
+
operationName: 'PlatformInternalSecretsDel',
|
|
57
|
+
fieldName: 'platformInternalSecretsDel',
|
|
58
|
+
...buildCustomDocument('mutation', 'PlatformInternalSecretsDel', 'platformInternalSecretsDel', options.select, args, [
|
|
59
59
|
{
|
|
60
60
|
name: 'input',
|
|
61
|
-
type: '
|
|
61
|
+
type: 'PlatformInternalSecretsDelInput!',
|
|
62
62
|
},
|
|
63
|
-
], connectionFieldsMap, '
|
|
63
|
+
], connectionFieldsMap, 'PlatformInternalSecretsDelPayload'),
|
|
64
64
|
}),
|
|
65
|
-
|
|
65
|
+
platformInternalSecretsRemoveArray: (args, options) => new QueryBuilder({
|
|
66
66
|
client,
|
|
67
67
|
operation: 'mutation',
|
|
68
|
-
operationName: '
|
|
69
|
-
fieldName: '
|
|
70
|
-
...buildCustomDocument('mutation', '
|
|
68
|
+
operationName: 'PlatformInternalSecretsRemoveArray',
|
|
69
|
+
fieldName: 'platformInternalSecretsRemoveArray',
|
|
70
|
+
...buildCustomDocument('mutation', 'PlatformInternalSecretsRemoveArray', 'platformInternalSecretsRemoveArray', options.select, args, [
|
|
71
71
|
{
|
|
72
72
|
name: 'input',
|
|
73
|
-
type: '
|
|
73
|
+
type: 'PlatformInternalSecretsRemoveArrayInput!',
|
|
74
74
|
},
|
|
75
|
-
], connectionFieldsMap, '
|
|
75
|
+
], connectionFieldsMap, 'PlatformInternalSecretsRemoveArrayPayload'),
|
|
76
76
|
}),
|
|
77
77
|
platformInternalSecretsRotate: (args, options) => new QueryBuilder({
|
|
78
78
|
client,
|
|
@@ -98,53 +98,53 @@ export function createMutationOperations(client) {
|
|
|
98
98
|
},
|
|
99
99
|
], connectionFieldsMap, 'PlatformInternalSecretsSetPayload'),
|
|
100
100
|
}),
|
|
101
|
-
|
|
101
|
+
platformSecretsDel: (args, options) => new QueryBuilder({
|
|
102
102
|
client,
|
|
103
103
|
operation: 'mutation',
|
|
104
|
-
operationName: '
|
|
105
|
-
fieldName: '
|
|
106
|
-
...buildCustomDocument('mutation', '
|
|
104
|
+
operationName: 'PlatformSecretsDel',
|
|
105
|
+
fieldName: 'platformSecretsDel',
|
|
106
|
+
...buildCustomDocument('mutation', 'PlatformSecretsDel', 'platformSecretsDel', options.select, args, [
|
|
107
107
|
{
|
|
108
108
|
name: 'input',
|
|
109
|
-
type: '
|
|
109
|
+
type: 'PlatformSecretsDelInput!',
|
|
110
110
|
},
|
|
111
|
-
], connectionFieldsMap, '
|
|
111
|
+
], connectionFieldsMap, 'PlatformSecretsDelPayload'),
|
|
112
112
|
}),
|
|
113
|
-
|
|
113
|
+
platformSecretsRemoveArray: (args, options) => new QueryBuilder({
|
|
114
114
|
client,
|
|
115
115
|
operation: 'mutation',
|
|
116
|
-
operationName: '
|
|
117
|
-
fieldName: '
|
|
118
|
-
...buildCustomDocument('mutation', '
|
|
116
|
+
operationName: 'PlatformSecretsRemoveArray',
|
|
117
|
+
fieldName: 'platformSecretsRemoveArray',
|
|
118
|
+
...buildCustomDocument('mutation', 'PlatformSecretsRemoveArray', 'platformSecretsRemoveArray', options.select, args, [
|
|
119
119
|
{
|
|
120
120
|
name: 'input',
|
|
121
|
-
type: '
|
|
121
|
+
type: 'PlatformSecretsRemoveArrayInput!',
|
|
122
122
|
},
|
|
123
|
-
], connectionFieldsMap, '
|
|
123
|
+
], connectionFieldsMap, 'PlatformSecretsRemoveArrayPayload'),
|
|
124
124
|
}),
|
|
125
|
-
|
|
125
|
+
platformSecretsRotate: (args, options) => new QueryBuilder({
|
|
126
126
|
client,
|
|
127
127
|
operation: 'mutation',
|
|
128
|
-
operationName: '
|
|
129
|
-
fieldName: '
|
|
130
|
-
...buildCustomDocument('mutation', '
|
|
128
|
+
operationName: 'PlatformSecretsRotate',
|
|
129
|
+
fieldName: 'platformSecretsRotate',
|
|
130
|
+
...buildCustomDocument('mutation', 'PlatformSecretsRotate', 'platformSecretsRotate', options.select, args, [
|
|
131
131
|
{
|
|
132
132
|
name: 'input',
|
|
133
|
-
type: '
|
|
133
|
+
type: 'PlatformSecretsRotateInput!',
|
|
134
134
|
},
|
|
135
|
-
], connectionFieldsMap, '
|
|
135
|
+
], connectionFieldsMap, 'PlatformSecretsRotatePayload'),
|
|
136
136
|
}),
|
|
137
|
-
|
|
137
|
+
platformSecretsSet: (args, options) => new QueryBuilder({
|
|
138
138
|
client,
|
|
139
139
|
operation: 'mutation',
|
|
140
|
-
operationName: '
|
|
141
|
-
fieldName: '
|
|
142
|
-
...buildCustomDocument('mutation', '
|
|
140
|
+
operationName: 'PlatformSecretsSet',
|
|
141
|
+
fieldName: 'platformSecretsSet',
|
|
142
|
+
...buildCustomDocument('mutation', 'PlatformSecretsSet', 'platformSecretsSet', options.select, args, [
|
|
143
143
|
{
|
|
144
144
|
name: 'input',
|
|
145
|
-
type: '
|
|
145
|
+
type: 'PlatformSecretsSetInput!',
|
|
146
146
|
},
|
|
147
|
-
], connectionFieldsMap, '
|
|
147
|
+
], connectionFieldsMap, 'PlatformSecretsSetPayload'),
|
|
148
148
|
}),
|
|
149
149
|
provisionBucket: (args, options) => new QueryBuilder({
|
|
150
150
|
client,
|
package/esm/infra/orm/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { OrmClientConfig } from './client';
|
|
2
|
+
import { DbPresetModel } from './models/dbPreset';
|
|
3
|
+
import { InfraCommitModel } from './models/infraCommit';
|
|
2
4
|
import { InfraGetAllRecordModel } from './models/infraGetAllRecord';
|
|
5
|
+
import { InfraObjectModel } from './models/infraObject';
|
|
3
6
|
import { InfraRefModel } from './models/infraRef';
|
|
4
7
|
import { InfraStoreModel } from './models/infraStore';
|
|
5
|
-
import { InfraObjectModel } from './models/infraObject';
|
|
6
|
-
import { InfraCommitModel } from './models/infraCommit';
|
|
7
|
-
import { DbPresetModel } from './models/dbPreset';
|
|
8
|
-
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
9
8
|
import { NamespaceModel } from './models/namespace';
|
|
10
|
-
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
11
9
|
import { NamespaceEventModel } from './models/namespaceEvent';
|
|
10
|
+
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
11
|
+
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
12
12
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
13
13
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
14
14
|
export { QueryBuilder } from './query-builder';
|
|
@@ -39,32 +39,32 @@ export { createMutationOperations } from './mutation';
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export declare function createClient(config: OrmClientConfig): {
|
|
42
|
+
dbPreset: DbPresetModel;
|
|
43
|
+
infraCommit: InfraCommitModel;
|
|
42
44
|
infraGetAllRecord: InfraGetAllRecordModel;
|
|
45
|
+
infraObject: InfraObjectModel;
|
|
43
46
|
infraRef: InfraRefModel;
|
|
44
47
|
infraStore: InfraStoreModel;
|
|
45
|
-
infraObject: InfraObjectModel;
|
|
46
|
-
infraCommit: InfraCommitModel;
|
|
47
|
-
dbPreset: DbPresetModel;
|
|
48
|
-
platformNamespace: PlatformNamespaceModel;
|
|
49
48
|
namespace: NamespaceModel;
|
|
50
|
-
platformNamespaceEvent: PlatformNamespaceEventModel;
|
|
51
49
|
namespaceEvent: NamespaceEventModel;
|
|
50
|
+
platformNamespace: PlatformNamespaceModel;
|
|
51
|
+
platformNamespaceEvent: PlatformNamespaceEventModel;
|
|
52
52
|
mutation: {
|
|
53
53
|
infraInitEmptyRepo: <S extends import("./input-types").InfraInitEmptyRepoPayloadSelect>(args: import("./mutation").InfraInitEmptyRepoVariables, options: {
|
|
54
54
|
select: S;
|
|
55
55
|
} & import("./select-types").StrictSelect<S, import("./input-types").InfraInitEmptyRepoPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
56
56
|
infraInitEmptyRepo: import("./select-types").InferSelectResult<import("./input-types").InfraInitEmptyRepoPayload, S> | null;
|
|
57
57
|
}>;
|
|
58
|
-
infraSetDataAtPath: <S extends import("./input-types").InfraSetDataAtPathPayloadSelect>(args: import("./mutation").InfraSetDataAtPathVariables, options: {
|
|
59
|
-
select: S;
|
|
60
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").InfraSetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
61
|
-
infraSetDataAtPath: import("./select-types").InferSelectResult<import("./input-types").InfraSetDataAtPathPayload, S> | null;
|
|
62
|
-
}>;
|
|
63
58
|
infraInsertNodeAtPath: <S extends import("./input-types").InfraInsertNodeAtPathPayloadSelect>(args: import("./mutation").InfraInsertNodeAtPathVariables, options: {
|
|
64
59
|
select: S;
|
|
65
60
|
} & import("./select-types").StrictSelect<S, import("./input-types").InfraInsertNodeAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
66
61
|
infraInsertNodeAtPath: import("./select-types").InferSelectResult<import("./input-types").InfraInsertNodeAtPathPayload, S> | null;
|
|
67
62
|
}>;
|
|
63
|
+
infraSetDataAtPath: <S extends import("./input-types").InfraSetDataAtPathPayloadSelect>(args: import("./mutation").InfraSetDataAtPathVariables, options: {
|
|
64
|
+
select: S;
|
|
65
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").InfraSetDataAtPathPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
66
|
+
infraSetDataAtPath: import("./select-types").InferSelectResult<import("./input-types").InfraSetDataAtPathPayload, S> | null;
|
|
67
|
+
}>;
|
|
68
68
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
69
69
|
select: S;
|
|
70
70
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
package/esm/infra/orm/index.js
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from './client';
|
|
7
|
+
import { DbPresetModel } from './models/dbPreset';
|
|
8
|
+
import { InfraCommitModel } from './models/infraCommit';
|
|
7
9
|
import { InfraGetAllRecordModel } from './models/infraGetAllRecord';
|
|
10
|
+
import { InfraObjectModel } from './models/infraObject';
|
|
8
11
|
import { InfraRefModel } from './models/infraRef';
|
|
9
12
|
import { InfraStoreModel } from './models/infraStore';
|
|
10
|
-
import { InfraObjectModel } from './models/infraObject';
|
|
11
|
-
import { InfraCommitModel } from './models/infraCommit';
|
|
12
|
-
import { DbPresetModel } from './models/dbPreset';
|
|
13
|
-
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
14
13
|
import { NamespaceModel } from './models/namespace';
|
|
15
|
-
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
16
14
|
import { NamespaceEventModel } from './models/namespaceEvent';
|
|
15
|
+
import { PlatformNamespaceModel } from './models/platformNamespace';
|
|
16
|
+
import { PlatformNamespaceEventModel } from './models/platformNamespaceEvent';
|
|
17
17
|
import { createMutationOperations } from './mutation';
|
|
18
18
|
export { GraphQLRequestError, FetchAdapter } from './client';
|
|
19
19
|
export { QueryBuilder } from './query-builder';
|
|
@@ -46,16 +46,16 @@ export { createMutationOperations } from './mutation';
|
|
|
46
46
|
export function createClient(config) {
|
|
47
47
|
const client = new OrmClient(config);
|
|
48
48
|
return {
|
|
49
|
+
dbPreset: new DbPresetModel(client),
|
|
50
|
+
infraCommit: new InfraCommitModel(client),
|
|
49
51
|
infraGetAllRecord: new InfraGetAllRecordModel(client),
|
|
52
|
+
infraObject: new InfraObjectModel(client),
|
|
50
53
|
infraRef: new InfraRefModel(client),
|
|
51
54
|
infraStore: new InfraStoreModel(client),
|
|
52
|
-
infraObject: new InfraObjectModel(client),
|
|
53
|
-
infraCommit: new InfraCommitModel(client),
|
|
54
|
-
dbPreset: new DbPresetModel(client),
|
|
55
|
-
platformNamespace: new PlatformNamespaceModel(client),
|
|
56
55
|
namespace: new NamespaceModel(client),
|
|
57
|
-
platformNamespaceEvent: new PlatformNamespaceEventModel(client),
|
|
58
56
|
namespaceEvent: new NamespaceEventModel(client),
|
|
57
|
+
platformNamespace: new PlatformNamespaceModel(client),
|
|
58
|
+
platformNamespaceEvent: new PlatformNamespaceEventModel(client),
|
|
59
59
|
mutation: createMutationOperations(client),
|
|
60
60
|
};
|
|
61
61
|
}
|