@constructive-sdk/cli 0.29.0 → 0.29.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/api/cli/commands/api.js +44 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.js +0 -22
- package/api/cli/commands/database-setting.js +44 -0
- package/api/cli/commands/domain.js +66 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/site.js +44 -0
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +0 -22
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view.js +0 -22
- package/api/orm/input-types.d.ts +144 -171
- package/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/auth/cli/commands/create-org-api-key.js +36 -0
- package/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/auth/cli/commands/create-org-principal.js +36 -0
- package/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/auth/cli/commands/delete-org-principal.js +36 -0
- package/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/auth/cli/commands/org-api-key-list.js +224 -0
- package/auth/cli/commands/principal-entity.d.ts +8 -0
- package/auth/cli/commands/principal-entity.js +282 -0
- package/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/auth/cli/commands/principal-scope-override.js +171 -0
- package/auth/cli/commands/principal.d.ts +8 -0
- package/auth/cli/commands/principal.js +171 -0
- package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/auth/cli/commands/revoke-org-api-key.js +36 -0
- package/auth/cli/commands.js +19 -3
- package/auth/cli/executor.d.ts +28 -4
- package/auth/orm/index.d.ts +32 -4
- package/auth/orm/index.js +8 -0
- package/auth/orm/input-types.d.ts +915 -145
- package/auth/orm/input-types.js +7 -0
- package/auth/orm/models/index.d.ts +4 -0
- package/auth/orm/models/index.js +9 -1
- package/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/auth/orm/models/orgApiKeyList.js +80 -0
- package/auth/orm/models/principal.d.ts +45 -0
- package/auth/orm/models/principal.js +93 -0
- package/auth/orm/models/principalEntity.d.ts +54 -0
- package/auth/orm/models/principalEntity.js +104 -0
- package/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/auth/orm/models/principalScopeOverride.js +80 -0
- package/auth/orm/mutation/index.d.ts +33 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +4 -4
- package/auth/orm/query/index.js +7 -7
- package/compute/cli/commands/function-graph-execution.js +0 -22
- package/compute/cli/commands/function-graph.js +0 -20
- package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/compute/cli/commands/platform-namespace-event.js +510 -0
- package/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/compute/cli/commands/platform-namespace.js +436 -0
- package/compute/cli/commands/resource-event.d.ts +8 -0
- package/compute/cli/commands/resource-event.js +356 -0
- package/compute/cli/commands/resource.d.ts +8 -0
- package/compute/cli/commands/resource.js +520 -0
- package/compute/cli/commands.js +13 -5
- package/compute/cli/executor.d.ts +10 -6
- package/compute/orm/index.d.ts +15 -7
- package/compute/orm/index.js +10 -2
- package/compute/orm/input-types.d.ts +1159 -221
- package/compute/orm/input-types.js +4 -0
- package/compute/orm/models/index.d.ts +5 -1
- package/compute/orm/models/index.js +11 -3
- package/compute/orm/models/platformNamespace.d.ts +54 -0
- package/compute/orm/models/platformNamespace.js +104 -0
- package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/compute/orm/models/platformNamespaceEvent.js +107 -0
- package/compute/orm/models/resource.d.ts +54 -0
- package/compute/orm/models/resource.js +104 -0
- package/compute/orm/models/resourceEvent.d.ts +56 -0
- package/compute/orm/models/resourceEvent.js +107 -0
- package/compute/orm/mutation/index.d.ts +9 -9
- package/compute/orm/mutation/index.js +12 -12
- package/esm/api/cli/commands/api.js +44 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.js +0 -22
- package/esm/api/cli/commands/database-setting.js +44 -0
- package/esm/api/cli/commands/domain.js +66 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/site.js +44 -0
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +0 -22
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/orm/input-types.d.ts +144 -171
- package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-api-key.js +34 -0
- package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-principal.js +34 -0
- package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/delete-org-principal.js +34 -0
- package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/esm/auth/cli/commands/org-api-key-list.js +222 -0
- package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
- package/esm/auth/cli/commands/principal-entity.js +280 -0
- package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/esm/auth/cli/commands/principal-scope-override.js +169 -0
- package/esm/auth/cli/commands/principal.d.ts +8 -0
- package/esm/auth/cli/commands/principal.js +169 -0
- package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
- package/esm/auth/cli/commands.js +19 -3
- package/esm/auth/cli/executor.d.ts +28 -4
- package/esm/auth/orm/index.d.ts +32 -4
- package/esm/auth/orm/index.js +8 -0
- package/esm/auth/orm/input-types.d.ts +915 -145
- package/esm/auth/orm/input-types.js +7 -0
- package/esm/auth/orm/models/index.d.ts +4 -0
- package/esm/auth/orm/models/index.js +4 -0
- package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/esm/auth/orm/models/orgApiKeyList.js +76 -0
- package/esm/auth/orm/models/principal.d.ts +45 -0
- package/esm/auth/orm/models/principal.js +89 -0
- package/esm/auth/orm/models/principalEntity.d.ts +54 -0
- package/esm/auth/orm/models/principalEntity.js +100 -0
- package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/esm/auth/orm/models/principalScopeOverride.js +76 -0
- package/esm/auth/orm/mutation/index.d.ts +33 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +4 -4
- package/esm/auth/orm/query/index.js +7 -7
- package/esm/compute/cli/commands/function-graph-execution.js +0 -22
- package/esm/compute/cli/commands/function-graph.js +0 -20
- package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
- package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace.js +434 -0
- package/esm/compute/cli/commands/resource-event.d.ts +8 -0
- package/esm/compute/cli/commands/resource-event.js +354 -0
- package/esm/compute/cli/commands/resource.d.ts +8 -0
- package/esm/compute/cli/commands/resource.js +518 -0
- package/esm/compute/cli/commands.js +13 -5
- package/esm/compute/cli/executor.d.ts +10 -6
- package/esm/compute/orm/index.d.ts +15 -7
- package/esm/compute/orm/index.js +10 -2
- package/esm/compute/orm/input-types.d.ts +1159 -221
- package/esm/compute/orm/input-types.js +4 -0
- package/esm/compute/orm/models/index.d.ts +5 -1
- package/esm/compute/orm/models/index.js +5 -1
- package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
- package/esm/compute/orm/models/platformNamespace.js +100 -0
- package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/compute/orm/models/resource.d.ts +54 -0
- package/esm/compute/orm/models/resource.js +100 -0
- package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/resourceEvent.js +103 -0
- package/esm/compute/orm/mutation/index.d.ts +9 -9
- package/esm/compute/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/esm/modules/cli/commands/principal-auth-module.js +580 -0
- package/esm/modules/cli/commands/resource-module.d.ts +8 -0
- package/esm/modules/cli/commands/resource-module.js +602 -0
- package/esm/modules/cli/commands.js +9 -5
- package/esm/modules/cli/executor.d.ts +4 -2
- package/esm/modules/orm/index.d.ts +8 -4
- package/esm/modules/orm/index.js +8 -4
- package/esm/modules/orm/input-types.d.ts +868 -411
- package/esm/modules/orm/models/index.d.ts +4 -2
- package/esm/modules/orm/models/index.js +4 -2
- package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/esm/modules/orm/models/principalAuthModule.js +100 -0
- package/esm/modules/orm/models/resourceModule.d.ts +54 -0
- package/esm/modules/orm/models/resourceModule.js +100 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/modules/cli/commands/principal-auth-module.js +582 -0
- package/modules/cli/commands/resource-module.d.ts +8 -0
- package/modules/cli/commands/resource-module.js +604 -0
- package/modules/cli/commands.js +9 -5
- package/modules/cli/executor.d.ts +4 -2
- package/modules/orm/index.d.ts +8 -4
- package/modules/orm/index.js +8 -4
- package/modules/orm/input-types.d.ts +868 -411
- package/modules/orm/models/index.d.ts +4 -2
- package/modules/orm/models/index.js +10 -6
- package/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/modules/orm/models/principalAuthModule.js +104 -0
- package/modules/orm/models/resourceModule.d.ts +54 -0
- package/modules/orm/models/resourceModule.js +104 -0
- package/package.json +5 -5
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
// ============ Connection Fields Map ============
|
|
2
2
|
export const connectionFieldsMap = {
|
|
3
|
+
PlatformNamespace: {
|
|
4
|
+
functionDeploymentsByNamespaceId: 'FunctionDeployment',
|
|
5
|
+
resourcesByNamespaceId: 'Resource',
|
|
6
|
+
},
|
|
3
7
|
FunctionDefinition: {
|
|
4
8
|
functionApiBindings: 'FunctionApiBinding',
|
|
5
9
|
functionDeployments: 'FunctionDeployment',
|
|
@@ -6,18 +6,22 @@
|
|
|
6
6
|
export { GetAllRecordModel } from './getAllRecord';
|
|
7
7
|
export { FunctionApiBindingModel } from './functionApiBinding';
|
|
8
8
|
export { FunctionDeploymentModel } from './functionDeployment';
|
|
9
|
+
export { ResourceModel } from './resource';
|
|
9
10
|
export { FunctionGraphRefModel } from './functionGraphRef';
|
|
10
11
|
export { FunctionGraphStoreModel } from './functionGraphStore';
|
|
11
12
|
export { FunctionGraphObjectModel } from './functionGraphObject';
|
|
12
13
|
export { FunctionDeploymentEventModel } from './functionDeploymentEvent';
|
|
13
14
|
export { OrgFunctionExecutionLogModel } from './orgFunctionExecutionLog';
|
|
15
|
+
export { ResourceEventModel } from './resourceEvent';
|
|
14
16
|
export { FunctionGraphExecutionOutputModel } from './functionGraphExecutionOutput';
|
|
15
17
|
export { FunctionGraphCommitModel } from './functionGraphCommit';
|
|
16
18
|
export { SecretDefinitionModel } from './secretDefinition';
|
|
17
19
|
export { FunctionExecutionLogModel } from './functionExecutionLog';
|
|
18
|
-
export { FunctionGraphExecutionNodeStateModel } from './functionGraphExecutionNodeState';
|
|
19
20
|
export { FunctionGraphModel } from './functionGraph';
|
|
21
|
+
export { FunctionGraphExecutionNodeStateModel } from './functionGraphExecutionNodeState';
|
|
22
|
+
export { PlatformNamespaceModel } from './platformNamespace';
|
|
20
23
|
export { OrgFunctionInvocationModel } from './orgFunctionInvocation';
|
|
21
24
|
export { FunctionInvocationModel } from './functionInvocation';
|
|
25
|
+
export { PlatformNamespaceEventModel } from './platformNamespaceEvent';
|
|
22
26
|
export { FunctionGraphExecutionModel } from './functionGraphExecution';
|
|
23
27
|
export { FunctionDefinitionModel } from './functionDefinition';
|
|
@@ -6,18 +6,22 @@
|
|
|
6
6
|
export { GetAllRecordModel } from './getAllRecord';
|
|
7
7
|
export { FunctionApiBindingModel } from './functionApiBinding';
|
|
8
8
|
export { FunctionDeploymentModel } from './functionDeployment';
|
|
9
|
+
export { ResourceModel } from './resource';
|
|
9
10
|
export { FunctionGraphRefModel } from './functionGraphRef';
|
|
10
11
|
export { FunctionGraphStoreModel } from './functionGraphStore';
|
|
11
12
|
export { FunctionGraphObjectModel } from './functionGraphObject';
|
|
12
13
|
export { FunctionDeploymentEventModel } from './functionDeploymentEvent';
|
|
13
14
|
export { OrgFunctionExecutionLogModel } from './orgFunctionExecutionLog';
|
|
15
|
+
export { ResourceEventModel } from './resourceEvent';
|
|
14
16
|
export { FunctionGraphExecutionOutputModel } from './functionGraphExecutionOutput';
|
|
15
17
|
export { FunctionGraphCommitModel } from './functionGraphCommit';
|
|
16
18
|
export { SecretDefinitionModel } from './secretDefinition';
|
|
17
19
|
export { FunctionExecutionLogModel } from './functionExecutionLog';
|
|
18
|
-
export { FunctionGraphExecutionNodeStateModel } from './functionGraphExecutionNodeState';
|
|
19
20
|
export { FunctionGraphModel } from './functionGraph';
|
|
21
|
+
export { FunctionGraphExecutionNodeStateModel } from './functionGraphExecutionNodeState';
|
|
22
|
+
export { PlatformNamespaceModel } from './platformNamespace';
|
|
20
23
|
export { OrgFunctionInvocationModel } from './orgFunctionInvocation';
|
|
21
24
|
export { FunctionInvocationModel } from './functionInvocation';
|
|
25
|
+
export { PlatformNamespaceEventModel } from './platformNamespaceEvent';
|
|
22
26
|
export { FunctionGraphExecutionModel } from './functionGraphExecution';
|
|
23
27
|
export { FunctionDefinitionModel } from './functionDefinition';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformNamespace model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PlatformNamespaceWithRelations, PlatformNamespaceSelect, PlatformNamespaceFilter, PlatformNamespaceOrderBy, CreatePlatformNamespaceInput, PlatformNamespacePatch } from '../input-types';
|
|
10
|
+
export declare class PlatformNamespaceModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformNamespaceSelect>(args: FindManyArgs<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
16
|
+
platformNamespaces: ConnectionResult<InferSelectResult<PlatformNamespaceWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformNamespaceSelect>(args: FindFirstArgs<S, PlatformNamespaceFilter, PlatformNamespaceOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
21
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformNamespaceSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
27
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformNamespaceSelect>(args: CreateArgs<S, CreatePlatformNamespaceInput['platformNamespace']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformNamespace: {
|
|
33
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformNamespaceSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformNamespacePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformNamespace: {
|
|
42
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformNamespaceSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformNamespaceSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformNamespace: {
|
|
51
|
+
platformNamespace: InferSelectResult<PlatformNamespaceWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlatformNamespaceModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlatformNamespace',
|
|
22
|
+
fieldName: 'platformNamespaces',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlatformNamespace',
|
|
36
|
+
fieldName: 'platformNamespace',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlatformNamespace', 'platformNamespaces', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlatformNamespaceFilter', 'PlatformNamespaceOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlatformNamespace',
|
|
57
|
+
fieldName: 'platformNamespace',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
platformNamespace: data.platformNamespaces?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlatformNamespace', 'createPlatformNamespace', 'platformNamespace', args.select, args.data, 'CreatePlatformNamespaceInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlatformNamespace',
|
|
71
|
+
fieldName: 'createPlatformNamespace',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlatformNamespace', 'updatePlatformNamespace', 'platformNamespace', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceInput', 'id', 'platformNamespacePatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PlatformNamespace',
|
|
82
|
+
fieldName: 'updatePlatformNamespace',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PlatformNamespace', 'deletePlatformNamespace', 'platformNamespace', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePlatformNamespaceInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PlatformNamespace',
|
|
95
|
+
fieldName: 'deletePlatformNamespace',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformNamespaceEvent model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PlatformNamespaceEventWithRelations, PlatformNamespaceEventSelect, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy, CreatePlatformNamespaceEventInput, PlatformNamespaceEventPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformNamespaceEventModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformNamespaceEventSelect>(args: FindManyArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
16
|
+
platformNamespaceEvents: ConnectionResult<InferSelectResult<PlatformNamespaceEventWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformNamespaceEventSelect>(args: FindFirstArgs<S, PlatformNamespaceEventFilter, PlatformNamespaceEventOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
21
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformNamespaceEventSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
27
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformNamespaceEventSelect>(args: CreateArgs<S, CreatePlatformNamespaceEventInput['platformNamespaceEvent']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformNamespaceEvent: {
|
|
33
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformNamespaceEventSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
}, PlatformNamespaceEventPatch> & {
|
|
40
|
+
select: S;
|
|
41
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
42
|
+
updatePlatformNamespaceEvent: {
|
|
43
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
delete<S extends PlatformNamespaceEventSelect>(args: DeleteArgs<{
|
|
47
|
+
id: string;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, PlatformNamespaceEventSelect>): QueryBuilder<{
|
|
52
|
+
deletePlatformNamespaceEvent: {
|
|
53
|
+
platformNamespaceEvent: InferSelectResult<PlatformNamespaceEventWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PlatformNamespaceEventModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PlatformNamespaceEvent',
|
|
22
|
+
fieldName: 'platformNamespaceEvents',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PlatformNamespaceEvent',
|
|
36
|
+
fieldName: 'platformNamespaceEvent',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PlatformNamespaceEvent', 'platformNamespaceEvents', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PlatformNamespaceEventFilter', 'PlatformNamespaceEventOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PlatformNamespaceEvent',
|
|
57
|
+
fieldName: 'platformNamespaceEvent',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
platformNamespaceEvent: data.platformNamespaceEvents?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PlatformNamespaceEvent', 'createPlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.data, 'CreatePlatformNamespaceEventInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PlatformNamespaceEvent',
|
|
71
|
+
fieldName: 'createPlatformNamespaceEvent',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PlatformNamespaceEvent', 'updatePlatformNamespaceEvent', 'platformNamespaceEvent', args.select, args.where.id, args.data, 'UpdatePlatformNamespaceEventInput', 'id', 'platformNamespaceEventPatch', connectionFieldsMap, {
|
|
78
|
+
createdAt: args.where.createdAt,
|
|
79
|
+
});
|
|
80
|
+
return new QueryBuilder({
|
|
81
|
+
client: this.client,
|
|
82
|
+
operation: 'mutation',
|
|
83
|
+
operationName: 'PlatformNamespaceEvent',
|
|
84
|
+
fieldName: 'updatePlatformNamespaceEvent',
|
|
85
|
+
document,
|
|
86
|
+
variables,
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
delete(args) {
|
|
90
|
+
const { document, variables } = buildDeleteByPkDocument('PlatformNamespaceEvent', 'deletePlatformNamespaceEvent', 'platformNamespaceEvent', {
|
|
91
|
+
id: args.where.id,
|
|
92
|
+
createdAt: args.where.createdAt,
|
|
93
|
+
}, 'DeletePlatformNamespaceEventInput', args.select, connectionFieldsMap);
|
|
94
|
+
return new QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PlatformNamespaceEvent',
|
|
98
|
+
fieldName: 'deletePlatformNamespaceEvent',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { ResourceWithRelations, ResourceSelect, ResourceFilter, ResourceOrderBy, CreateResourceInput, ResourcePatch } from '../input-types';
|
|
10
|
+
export declare class ResourceModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ResourceSelect>(args: FindManyArgs<S, ResourceFilter, ResourceOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
16
|
+
resources: ConnectionResult<InferSelectResult<ResourceWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ResourceSelect>(args: FindFirstArgs<S, ResourceFilter, ResourceOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
21
|
+
resource: InferSelectResult<ResourceWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ResourceSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
27
|
+
resource: InferSelectResult<ResourceWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ResourceSelect>(args: CreateArgs<S, CreateResourceInput['resource']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
32
|
+
createResource: {
|
|
33
|
+
resource: InferSelectResult<ResourceWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ResourceSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ResourcePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
41
|
+
updateResource: {
|
|
42
|
+
resource: InferSelectResult<ResourceWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ResourceSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ResourceSelect>): QueryBuilder<{
|
|
50
|
+
deleteResource: {
|
|
51
|
+
resource: InferSelectResult<ResourceWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class ResourceModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('Resource', 'resources', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'ResourceFilter', 'ResourceOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'Resource',
|
|
22
|
+
fieldName: 'resources',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('Resource', 'resources', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'ResourceFilter', 'ResourceOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'Resource',
|
|
36
|
+
fieldName: 'resource',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
resource: data.resources?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('Resource', 'resources', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'ResourceFilter', 'ResourceOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'Resource',
|
|
57
|
+
fieldName: 'resource',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
resource: data.resources?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('Resource', 'createResource', 'resource', args.select, args.data, 'CreateResourceInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'Resource',
|
|
71
|
+
fieldName: 'createResource',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('Resource', 'updateResource', 'resource', args.select, args.where.id, args.data, 'UpdateResourceInput', 'id', 'resourcePatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'Resource',
|
|
82
|
+
fieldName: 'updateResource',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('Resource', 'deleteResource', 'resource', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeleteResourceInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'Resource',
|
|
95
|
+
fieldName: 'deleteResource',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ResourceEvent model for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { OrmClient } from '../client';
|
|
7
|
+
import { QueryBuilder } from '../query-builder';
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { ResourceEventWithRelations, ResourceEventSelect, ResourceEventFilter, ResourceEventOrderBy, CreateResourceEventInput, ResourceEventPatch } from '../input-types';
|
|
10
|
+
export declare class ResourceEventModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ResourceEventSelect>(args: FindManyArgs<S, ResourceEventFilter, ResourceEventOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
16
|
+
resourceEvents: ConnectionResult<InferSelectResult<ResourceEventWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ResourceEventSelect>(args: FindFirstArgs<S, ResourceEventFilter, ResourceEventOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
21
|
+
resourceEvent: InferSelectResult<ResourceEventWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ResourceEventSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
27
|
+
resourceEvent: InferSelectResult<ResourceEventWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ResourceEventSelect>(args: CreateArgs<S, CreateResourceEventInput['resourceEvent']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
32
|
+
createResourceEvent: {
|
|
33
|
+
resourceEvent: InferSelectResult<ResourceEventWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ResourceEventSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
createdAt: string;
|
|
39
|
+
}, ResourceEventPatch> & {
|
|
40
|
+
select: S;
|
|
41
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
42
|
+
updateResourceEvent: {
|
|
43
|
+
resourceEvent: InferSelectResult<ResourceEventWithRelations, S>;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
delete<S extends ResourceEventSelect>(args: DeleteArgs<{
|
|
47
|
+
id: string;
|
|
48
|
+
createdAt: string;
|
|
49
|
+
}, S> & {
|
|
50
|
+
select: S;
|
|
51
|
+
} & StrictSelect<S, ResourceEventSelect>): QueryBuilder<{
|
|
52
|
+
deleteResourceEvent: {
|
|
53
|
+
resourceEvent: InferSelectResult<ResourceEventWithRelations, S>;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
}
|