@constructive-io/sdk 0.30.3 → 0.31.1
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
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// ============ Connection Fields Map ============
|
|
2
2
|
export const connectionFieldsMap = {
|
|
3
|
+
AppLimitCreditCode: {
|
|
4
|
+
appLimitCreditCodeItemsByCreditCodeId: 'AppLimitCreditCodeItem',
|
|
5
|
+
appLimitCreditRedemptionsByCreditCodeId: 'AppLimitCreditRedemption',
|
|
6
|
+
},
|
|
3
7
|
AppLimitDefault: {
|
|
4
|
-
appLimitCreditsByDefaultLimitId: 'AppLimitCredit',
|
|
5
8
|
appLimitCreditCodeItemsByDefaultLimitId: 'AppLimitCreditCodeItem',
|
|
9
|
+
appLimitCreditsByDefaultLimitId: 'AppLimitCredit',
|
|
6
10
|
},
|
|
7
11
|
OrgLimitDefault: {
|
|
8
12
|
orgLimitCreditsByDefaultLimitId: 'OrgLimitCredit',
|
|
9
13
|
},
|
|
10
|
-
AppLimitCreditCode: {
|
|
11
|
-
appLimitCreditCodeItemsByCreditCodeId: 'AppLimitCreditCodeItem',
|
|
12
|
-
appLimitCreditRedemptionsByCreditCodeId: 'AppLimitCreditRedemption',
|
|
13
|
-
},
|
|
14
14
|
};
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { AppLimitCapsDefaultModel } from './appLimitCapsDefault';
|
|
7
|
-
export { OrgLimitCapsDefaultModel } from './orgLimitCapsDefault';
|
|
8
6
|
export { AppLimitCapModel } from './appLimitCap';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
7
|
+
export { AppLimitCapsDefaultModel } from './appLimitCapsDefault';
|
|
8
|
+
export { AppLimitModel } from './appLimit';
|
|
9
|
+
export { AppLimitCreditCodeModel } from './appLimitCreditCode';
|
|
12
10
|
export { AppLimitCreditCodeItemModel } from './appLimitCreditCodeItem';
|
|
11
|
+
export { AppLimitCreditModel } from './appLimitCredit';
|
|
13
12
|
export { AppLimitCreditRedemptionModel } from './appLimitCreditRedemption';
|
|
14
|
-
export {
|
|
15
|
-
export { OrgLimitCreditModel } from './orgLimitCredit';
|
|
16
|
-
export { AppLimitWarningModel } from './appLimitWarning';
|
|
17
|
-
export { OrgLimitWarningModel } from './orgLimitWarning';
|
|
18
|
-
export { AppLimitCreditCodeModel } from './appLimitCreditCode';
|
|
13
|
+
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
19
14
|
export { AppLimitEventModel } from './appLimitEvent';
|
|
20
|
-
export {
|
|
21
|
-
export { AppLimitModel } from './appLimit';
|
|
15
|
+
export { AppLimitWarningModel } from './appLimitWarning';
|
|
22
16
|
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
17
|
+
export { OrgLimitCapModel } from './orgLimitCap';
|
|
18
|
+
export { OrgLimitCapsDefaultModel } from './orgLimitCapsDefault';
|
|
23
19
|
export { OrgLimitModel } from './orgLimit';
|
|
20
|
+
export { OrgLimitCreditModel } from './orgLimitCredit';
|
|
21
|
+
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
22
|
+
export { OrgLimitEventModel } from './orgLimitEvent';
|
|
23
|
+
export { OrgLimitWarningModel } from './orgLimitWarning';
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { AppLimitCapsDefaultModel } from './appLimitCapsDefault';
|
|
7
|
-
export { OrgLimitCapsDefaultModel } from './orgLimitCapsDefault';
|
|
8
6
|
export { AppLimitCapModel } from './appLimitCap';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
7
|
+
export { AppLimitCapsDefaultModel } from './appLimitCapsDefault';
|
|
8
|
+
export { AppLimitModel } from './appLimit';
|
|
9
|
+
export { AppLimitCreditCodeModel } from './appLimitCreditCode';
|
|
12
10
|
export { AppLimitCreditCodeItemModel } from './appLimitCreditCodeItem';
|
|
11
|
+
export { AppLimitCreditModel } from './appLimitCredit';
|
|
13
12
|
export { AppLimitCreditRedemptionModel } from './appLimitCreditRedemption';
|
|
14
|
-
export {
|
|
15
|
-
export { OrgLimitCreditModel } from './orgLimitCredit';
|
|
16
|
-
export { AppLimitWarningModel } from './appLimitWarning';
|
|
17
|
-
export { OrgLimitWarningModel } from './orgLimitWarning';
|
|
18
|
-
export { AppLimitCreditCodeModel } from './appLimitCreditCode';
|
|
13
|
+
export { AppLimitDefaultModel } from './appLimitDefault';
|
|
19
14
|
export { AppLimitEventModel } from './appLimitEvent';
|
|
20
|
-
export {
|
|
21
|
-
export { AppLimitModel } from './appLimit';
|
|
15
|
+
export { AppLimitWarningModel } from './appLimitWarning';
|
|
22
16
|
export { OrgLimitAggregateModel } from './orgLimitAggregate';
|
|
17
|
+
export { OrgLimitCapModel } from './orgLimitCap';
|
|
18
|
+
export { OrgLimitCapsDefaultModel } from './orgLimitCapsDefault';
|
|
23
19
|
export { OrgLimitModel } from './orgLimit';
|
|
20
|
+
export { OrgLimitCreditModel } from './orgLimitCredit';
|
|
21
|
+
export { OrgLimitDefaultModel } from './orgLimitDefault';
|
|
22
|
+
export { OrgLimitEventModel } from './orgLimitEvent';
|
|
23
|
+
export { OrgLimitWarningModel } from './orgLimitWarning';
|
|
@@ -6,7 +6,17 @@
|
|
|
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 { SeedAppLimitCapsDefaultsInput, SeedAppLimitDefaultsInput, SeedOrgLimitCapsDefaultsInput, SeedOrgLimitDefaultsInput,
|
|
9
|
+
import type { ProvisionBucketInput, SeedAppLimitCapsDefaultsInput, SeedAppLimitDefaultsInput, SeedOrgLimitCapsDefaultsInput, SeedOrgLimitDefaultsInput, ProvisionBucketPayload, SeedAppLimitCapsDefaultsPayload, SeedAppLimitDefaultsPayload, SeedOrgLimitCapsDefaultsPayload, SeedOrgLimitDefaultsPayload, ProvisionBucketPayloadSelect, SeedAppLimitCapsDefaultsPayloadSelect, SeedAppLimitDefaultsPayloadSelect, SeedOrgLimitCapsDefaultsPayloadSelect, SeedOrgLimitDefaultsPayloadSelect } from '../input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Variables for provisionBucket
|
|
12
|
+
* Provision an S3 bucket for a logical bucket in the database.
|
|
13
|
+
Reads the bucket config via RLS, then creates and configures
|
|
14
|
+
the S3 bucket with the appropriate privacy policies, CORS rules,
|
|
15
|
+
and lifecycle settings.
|
|
16
|
+
*/
|
|
17
|
+
export interface ProvisionBucketVariables {
|
|
18
|
+
input: ProvisionBucketInput;
|
|
19
|
+
}
|
|
10
20
|
export interface SeedAppLimitCapsDefaultsVariables {
|
|
11
21
|
input: SeedAppLimitCapsDefaultsInput;
|
|
12
22
|
}
|
|
@@ -19,17 +29,12 @@ export interface SeedOrgLimitCapsDefaultsVariables {
|
|
|
19
29
|
export interface SeedOrgLimitDefaultsVariables {
|
|
20
30
|
input: SeedOrgLimitDefaultsInput;
|
|
21
31
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Variables for provisionBucket
|
|
24
|
-
* Provision an S3 bucket for a logical bucket in the database.
|
|
25
|
-
Reads the bucket config via RLS, then creates and configures
|
|
26
|
-
the S3 bucket with the appropriate privacy policies, CORS rules,
|
|
27
|
-
and lifecycle settings.
|
|
28
|
-
*/
|
|
29
|
-
export interface ProvisionBucketVariables {
|
|
30
|
-
input: ProvisionBucketInput;
|
|
31
|
-
}
|
|
32
32
|
export declare function createMutationOperations(client: OrmClient): {
|
|
33
|
+
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
34
|
+
select: S;
|
|
35
|
+
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
36
|
+
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
37
|
+
}>;
|
|
33
38
|
seedAppLimitCapsDefaults: <S extends SeedAppLimitCapsDefaultsPayloadSelect>(args: SeedAppLimitCapsDefaultsVariables, options: {
|
|
34
39
|
select: S;
|
|
35
40
|
} & StrictSelect<S, SeedAppLimitCapsDefaultsPayloadSelect>) => QueryBuilder<{
|
|
@@ -50,9 +55,4 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
50
55
|
} & StrictSelect<S, SeedOrgLimitDefaultsPayloadSelect>) => QueryBuilder<{
|
|
51
56
|
seedOrgLimitDefaults: InferSelectResult<SeedOrgLimitDefaultsPayload, S> | null;
|
|
52
57
|
}>;
|
|
53
|
-
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
54
|
-
select: S;
|
|
55
|
-
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
56
|
-
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
57
|
-
}>;
|
|
58
58
|
};
|
|
@@ -2,6 +2,18 @@ import { QueryBuilder, buildCustomDocument } from '../query-builder';
|
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export function createMutationOperations(client) {
|
|
4
4
|
return {
|
|
5
|
+
provisionBucket: (args, options) => new QueryBuilder({
|
|
6
|
+
client,
|
|
7
|
+
operation: 'mutation',
|
|
8
|
+
operationName: 'ProvisionBucket',
|
|
9
|
+
fieldName: 'provisionBucket',
|
|
10
|
+
...buildCustomDocument('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
|
|
11
|
+
{
|
|
12
|
+
name: 'input',
|
|
13
|
+
type: 'ProvisionBucketInput!',
|
|
14
|
+
},
|
|
15
|
+
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
16
|
+
}),
|
|
5
17
|
seedAppLimitCapsDefaults: (args, options) => new QueryBuilder({
|
|
6
18
|
client,
|
|
7
19
|
operation: 'mutation',
|
|
@@ -50,17 +62,5 @@ export function createMutationOperations(client) {
|
|
|
50
62
|
},
|
|
51
63
|
], connectionFieldsMap, 'SeedOrgLimitDefaultsPayload'),
|
|
52
64
|
}),
|
|
53
|
-
provisionBucket: (args, options) => new QueryBuilder({
|
|
54
|
-
client,
|
|
55
|
-
operation: 'mutation',
|
|
56
|
-
operationName: 'ProvisionBucket',
|
|
57
|
-
fieldName: 'provisionBucket',
|
|
58
|
-
...buildCustomDocument('mutation', 'ProvisionBucket', 'provisionBucket', options.select, args, [
|
|
59
|
-
{
|
|
60
|
-
name: 'input',
|
|
61
|
-
type: 'ProvisionBucketInput!',
|
|
62
|
-
},
|
|
63
|
-
], connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
64
|
-
}),
|
|
65
65
|
};
|
|
66
66
|
}
|
package/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/infra/orm/index.js
CHANGED
|
@@ -22,16 +22,16 @@ exports.createClient = createClient;
|
|
|
22
22
|
* DO NOT EDIT - changes will be overwritten
|
|
23
23
|
*/
|
|
24
24
|
const client_1 = require("./client");
|
|
25
|
+
const dbPreset_1 = require("./models/dbPreset");
|
|
26
|
+
const infraCommit_1 = require("./models/infraCommit");
|
|
25
27
|
const infraGetAllRecord_1 = require("./models/infraGetAllRecord");
|
|
28
|
+
const infraObject_1 = require("./models/infraObject");
|
|
26
29
|
const infraRef_1 = require("./models/infraRef");
|
|
27
30
|
const infraStore_1 = require("./models/infraStore");
|
|
28
|
-
const infraObject_1 = require("./models/infraObject");
|
|
29
|
-
const infraCommit_1 = require("./models/infraCommit");
|
|
30
|
-
const dbPreset_1 = require("./models/dbPreset");
|
|
31
|
-
const platformNamespace_1 = require("./models/platformNamespace");
|
|
32
31
|
const namespace_1 = require("./models/namespace");
|
|
33
|
-
const platformNamespaceEvent_1 = require("./models/platformNamespaceEvent");
|
|
34
32
|
const namespaceEvent_1 = require("./models/namespaceEvent");
|
|
33
|
+
const platformNamespace_1 = require("./models/platformNamespace");
|
|
34
|
+
const platformNamespaceEvent_1 = require("./models/platformNamespaceEvent");
|
|
35
35
|
const mutation_1 = require("./mutation");
|
|
36
36
|
var client_2 = require("./client");
|
|
37
37
|
Object.defineProperty(exports, "GraphQLRequestError", { enumerable: true, get: function () { return client_2.GraphQLRequestError; } });
|
|
@@ -68,16 +68,16 @@ Object.defineProperty(exports, "createMutationOperations", { enumerable: true, g
|
|
|
68
68
|
function createClient(config) {
|
|
69
69
|
const client = new client_1.OrmClient(config);
|
|
70
70
|
return {
|
|
71
|
+
dbPreset: new dbPreset_1.DbPresetModel(client),
|
|
72
|
+
infraCommit: new infraCommit_1.InfraCommitModel(client),
|
|
71
73
|
infraGetAllRecord: new infraGetAllRecord_1.InfraGetAllRecordModel(client),
|
|
74
|
+
infraObject: new infraObject_1.InfraObjectModel(client),
|
|
72
75
|
infraRef: new infraRef_1.InfraRefModel(client),
|
|
73
76
|
infraStore: new infraStore_1.InfraStoreModel(client),
|
|
74
|
-
infraObject: new infraObject_1.InfraObjectModel(client),
|
|
75
|
-
infraCommit: new infraCommit_1.InfraCommitModel(client),
|
|
76
|
-
dbPreset: new dbPreset_1.DbPresetModel(client),
|
|
77
|
-
platformNamespace: new platformNamespace_1.PlatformNamespaceModel(client),
|
|
78
77
|
namespace: new namespace_1.NamespaceModel(client),
|
|
79
|
-
platformNamespaceEvent: new platformNamespaceEvent_1.PlatformNamespaceEventModel(client),
|
|
80
78
|
namespaceEvent: new namespaceEvent_1.NamespaceEventModel(client),
|
|
79
|
+
platformNamespace: new platformNamespace_1.PlatformNamespaceModel(client),
|
|
80
|
+
platformNamespaceEvent: new platformNamespaceEvent_1.PlatformNamespaceEventModel(client),
|
|
81
81
|
mutation: (0, mutation_1.createMutationOperations)(client),
|
|
82
82
|
};
|
|
83
83
|
}
|