@highstate/backend 0.19.1 → 0.20.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/dist/{chunk-V2NILDHS.js → chunk-52MY2TCE.js} +347 -19
- package/dist/chunk-52MY2TCE.js.map +1 -0
- package/dist/{chunk-I7BWSAN6.js → chunk-UAWBPTDW.js} +3 -3
- package/dist/{chunk-I7BWSAN6.js.map → chunk-UAWBPTDW.js.map} +1 -1
- package/dist/highstate.manifest.json +4 -4
- package/dist/index.js +4159 -785
- package/dist/index.js.map +1 -1
- package/dist/library/worker/main.js +5 -2
- package/dist/library/worker/main.js.map +1 -1
- package/dist/shared/index.js +2 -2
- package/package.json +7 -7
- package/prisma/backend/_schema/object.prisma +12 -0
- package/prisma/backend/sqlite/migrations/20260222113554_add_object_tracking/migration.sql +7 -0
- package/prisma/project/artifact.prisma +3 -0
- package/prisma/project/entity.prisma +125 -0
- package/prisma/project/instance.prisma +6 -0
- package/prisma/project/migrations/20260301210131_add_entity_tracking/migration.sql +70 -0
- package/prisma/project/migrations/20260302212734_add_resource_hooks_flag/migration.sql +1 -0
- package/prisma/project/operation.prisma +3 -0
- package/src/business/artifact.test.ts +22 -2
- package/src/business/artifact.ts +7 -1
- package/src/business/entity-snapshot.test.ts +684 -0
- package/src/business/entity-snapshot.ts +904 -0
- package/src/business/evaluation.test.ts +56 -0
- package/src/business/evaluation.ts +102 -22
- package/src/business/global-search.test.ts +344 -0
- package/src/business/global-search.ts +902 -0
- package/src/business/index.ts +4 -0
- package/src/business/instance-lock.ts +58 -74
- package/src/business/instance-state.test.ts +15 -1
- package/src/business/instance-state.ts +37 -14
- package/src/business/object-ref-index.test.ts +140 -0
- package/src/business/object-ref-index.ts +193 -0
- package/src/business/operation.test.ts +15 -1
- package/src/business/operation.ts +4 -0
- package/src/business/project-model.ts +154 -13
- package/src/business/project-unlock.ts +25 -2
- package/src/business/project.ts +9 -0
- package/src/business/secret.test.ts +35 -2
- package/src/business/secret.ts +32 -9
- package/src/business/settings.ts +761 -0
- package/src/business/unit-output.test.ts +477 -0
- package/src/business/unit-output.ts +461 -0
- package/src/business/worker.ts +55 -4
- package/src/database/_generated/backend/postgresql/browser.ts +6 -0
- package/src/database/_generated/backend/postgresql/client.ts +6 -0
- package/src/database/_generated/backend/postgresql/internal/class.ts +23 -5
- package/src/database/_generated/backend/postgresql/internal/prismaNamespace.ts +89 -5
- package/src/database/_generated/backend/postgresql/internal/prismaNamespaceBrowser.ts +9 -0
- package/src/database/_generated/backend/postgresql/models/Object.ts +1076 -0
- package/src/database/_generated/backend/postgresql/models.ts +1 -0
- package/src/database/_generated/backend/sqlite/browser.ts +6 -0
- package/src/database/_generated/backend/sqlite/client.ts +6 -0
- package/src/database/_generated/backend/sqlite/internal/class.ts +23 -5
- package/src/database/_generated/backend/sqlite/internal/prismaNamespace.ts +89 -5
- package/src/database/_generated/backend/sqlite/internal/prismaNamespaceBrowser.ts +9 -0
- package/src/database/_generated/backend/sqlite/models/Object.ts +1074 -0
- package/src/database/_generated/backend/sqlite/models.ts +1 -0
- package/src/database/_generated/project/browser.ts +23 -0
- package/src/database/_generated/project/client.ts +23 -0
- package/src/database/_generated/project/commonInputTypes.ts +87 -53
- package/src/database/_generated/project/enums.ts +8 -0
- package/src/database/_generated/project/internal/class.ts +53 -5
- package/src/database/_generated/project/internal/prismaNamespace.ts +367 -13
- package/src/database/_generated/project/internal/prismaNamespaceBrowser.ts +48 -1
- package/src/database/_generated/project/models/Artifact.ts +199 -11
- package/src/database/_generated/project/models/Entity.ts +1274 -0
- package/src/database/_generated/project/models/EntitySnapshot.ts +2389 -0
- package/src/database/_generated/project/models/EntitySnapshotContent.ts +1260 -0
- package/src/database/_generated/project/models/EntitySnapshotReference.ts +1449 -0
- package/src/database/_generated/project/models/InstanceState.ts +361 -1
- package/src/database/_generated/project/models/Operation.ts +148 -3
- package/src/database/_generated/project/models/OperationLog.ts +0 -4
- package/src/database/_generated/project/models.ts +4 -0
- package/src/database/migration.ts +3 -0
- package/src/library/worker/evaluator.ts +7 -1
- package/src/orchestrator/manager.ts +7 -0
- package/src/orchestrator/operation-context.captured-outputs.test.ts +118 -0
- package/src/orchestrator/operation-context.ts +154 -16
- package/src/orchestrator/operation-plan.destroy.test.md +33 -12
- package/src/orchestrator/operation-plan.destroy.test.ts +140 -2
- package/src/orchestrator/operation-plan.fixtures.ts +2 -0
- package/src/orchestrator/operation-plan.md +4 -1
- package/src/orchestrator/operation-plan.ts +286 -92
- package/src/orchestrator/operation-plan.update.test.md +286 -11
- package/src/orchestrator/operation-plan.update.test.ts +656 -5
- package/src/orchestrator/operation-workset.ts +72 -22
- package/src/orchestrator/operation.cancel.test.ts +4 -0
- package/src/orchestrator/operation.composite.test.ts +341 -0
- package/src/orchestrator/operation.destroy.test.ts +4 -0
- package/src/orchestrator/operation.output-validation.failure.test.ts +124 -0
- package/src/orchestrator/operation.preview.test.ts +4 -0
- package/src/orchestrator/operation.refresh.test.ts +4 -0
- package/src/orchestrator/operation.test-utils.ts +52 -13
- package/src/orchestrator/operation.ts +228 -68
- package/src/orchestrator/operation.update.failure.test.ts +4 -0
- package/src/orchestrator/operation.update.skip.test.ts +110 -0
- package/src/orchestrator/operation.update.test.ts +4 -0
- package/src/orchestrator/plan-test-builder.ts +1 -0
- package/src/orchestrator/unit-input-values.test.ts +450 -0
- package/src/orchestrator/unit-input-values.ts +281 -0
- package/src/pubsub/manager.ts +3 -0
- package/src/runner/abstractions.ts +23 -54
- package/src/runner/local.ts +109 -85
- package/src/services.ts +52 -1
- package/src/shared/models/prisma.ts +1 -0
- package/src/shared/models/project/entity.ts +121 -0
- package/src/shared/models/project/index.ts +1 -0
- package/src/shared/models/project/operation.ts +61 -3
- package/src/shared/models/project/state.ts +10 -0
- package/src/shared/models/project/worker.ts +7 -0
- package/src/shared/resolvers/effective-output-type.test.ts +494 -0
- package/src/shared/resolvers/effective-output-type.ts +162 -0
- package/src/shared/resolvers/index.ts +1 -0
- package/src/shared/resolvers/input.ts +59 -9
- package/src/shared/utils/index.ts +1 -0
- package/src/shared/utils/stable-json.ts +41 -0
- package/src/terminal/manager.ts +6 -0
- package/src/worker/manager.ts +97 -1
- package/dist/chunk-V2NILDHS.js.map +0 -1
|
@@ -0,0 +1,1449 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `EntitySnapshotReference` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type * as PJTG from '../pjtg.ts';
|
|
13
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
14
|
+
import type * as $Enums from "../enums.ts"
|
|
15
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Model EntitySnapshotReference
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export type EntitySnapshotReferenceModel = runtime.Types.Result.DefaultSelection<Prisma.$EntitySnapshotReferencePayload>
|
|
22
|
+
|
|
23
|
+
export type AggregateEntitySnapshotReference = {
|
|
24
|
+
_count: EntitySnapshotReferenceCountAggregateOutputType | null
|
|
25
|
+
_min: EntitySnapshotReferenceMinAggregateOutputType | null
|
|
26
|
+
_max: EntitySnapshotReferenceMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type EntitySnapshotReferenceMinAggregateOutputType = {
|
|
30
|
+
fromId: string | null
|
|
31
|
+
toId: string | null
|
|
32
|
+
kind: $Enums.EntityReferenceKind | null
|
|
33
|
+
group: string | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type EntitySnapshotReferenceMaxAggregateOutputType = {
|
|
37
|
+
fromId: string | null
|
|
38
|
+
toId: string | null
|
|
39
|
+
kind: $Enums.EntityReferenceKind | null
|
|
40
|
+
group: string | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type EntitySnapshotReferenceCountAggregateOutputType = {
|
|
44
|
+
fromId: number
|
|
45
|
+
toId: number
|
|
46
|
+
kind: number
|
|
47
|
+
group: number
|
|
48
|
+
_all: number
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
export type EntitySnapshotReferenceMinAggregateInputType = {
|
|
53
|
+
fromId?: true
|
|
54
|
+
toId?: true
|
|
55
|
+
kind?: true
|
|
56
|
+
group?: true
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type EntitySnapshotReferenceMaxAggregateInputType = {
|
|
60
|
+
fromId?: true
|
|
61
|
+
toId?: true
|
|
62
|
+
kind?: true
|
|
63
|
+
group?: true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type EntitySnapshotReferenceCountAggregateInputType = {
|
|
67
|
+
fromId?: true
|
|
68
|
+
toId?: true
|
|
69
|
+
kind?: true
|
|
70
|
+
group?: true
|
|
71
|
+
_all?: true
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type EntitySnapshotReferenceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
75
|
+
/**
|
|
76
|
+
* Filter which EntitySnapshotReference to aggregate.
|
|
77
|
+
*/
|
|
78
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
79
|
+
/**
|
|
80
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
81
|
+
*
|
|
82
|
+
* Determine the order of EntitySnapshotReferences to fetch.
|
|
83
|
+
*/
|
|
84
|
+
orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
87
|
+
*
|
|
88
|
+
* Sets the start position
|
|
89
|
+
*/
|
|
90
|
+
cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
93
|
+
*
|
|
94
|
+
* Take `±n` EntitySnapshotReferences from the position of the cursor.
|
|
95
|
+
*/
|
|
96
|
+
take?: number
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
99
|
+
*
|
|
100
|
+
* Skip the first `n` EntitySnapshotReferences.
|
|
101
|
+
*/
|
|
102
|
+
skip?: number
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105
|
+
*
|
|
106
|
+
* Count returned EntitySnapshotReferences
|
|
107
|
+
**/
|
|
108
|
+
_count?: true | EntitySnapshotReferenceCountAggregateInputType
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Select which fields to find the minimum value
|
|
113
|
+
**/
|
|
114
|
+
_min?: EntitySnapshotReferenceMinAggregateInputType
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Select which fields to find the maximum value
|
|
119
|
+
**/
|
|
120
|
+
_max?: EntitySnapshotReferenceMaxAggregateInputType
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type GetEntitySnapshotReferenceAggregateType<T extends EntitySnapshotReferenceAggregateArgs> = {
|
|
124
|
+
[P in keyof T & keyof AggregateEntitySnapshotReference]: P extends '_count' | 'count'
|
|
125
|
+
? T[P] extends true
|
|
126
|
+
? number
|
|
127
|
+
: Prisma.GetScalarType<T[P], AggregateEntitySnapshotReference[P]>
|
|
128
|
+
: Prisma.GetScalarType<T[P], AggregateEntitySnapshotReference[P]>
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
export type EntitySnapshotReferenceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
136
|
+
orderBy?: Prisma.EntitySnapshotReferenceOrderByWithAggregationInput | Prisma.EntitySnapshotReferenceOrderByWithAggregationInput[]
|
|
137
|
+
by: Prisma.EntitySnapshotReferenceScalarFieldEnum[] | Prisma.EntitySnapshotReferenceScalarFieldEnum
|
|
138
|
+
having?: Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput
|
|
139
|
+
take?: number
|
|
140
|
+
skip?: number
|
|
141
|
+
_count?: EntitySnapshotReferenceCountAggregateInputType | true
|
|
142
|
+
_min?: EntitySnapshotReferenceMinAggregateInputType
|
|
143
|
+
_max?: EntitySnapshotReferenceMaxAggregateInputType
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export type EntitySnapshotReferenceGroupByOutputType = {
|
|
147
|
+
fromId: string
|
|
148
|
+
toId: string
|
|
149
|
+
kind: $Enums.EntityReferenceKind
|
|
150
|
+
group: string
|
|
151
|
+
_count: EntitySnapshotReferenceCountAggregateOutputType | null
|
|
152
|
+
_min: EntitySnapshotReferenceMinAggregateOutputType | null
|
|
153
|
+
_max: EntitySnapshotReferenceMaxAggregateOutputType | null
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
type GetEntitySnapshotReferenceGroupByPayload<T extends EntitySnapshotReferenceGroupByArgs> = Prisma.PrismaPromise<
|
|
157
|
+
Array<
|
|
158
|
+
Prisma.PickEnumerable<EntitySnapshotReferenceGroupByOutputType, T['by']> &
|
|
159
|
+
{
|
|
160
|
+
[P in ((keyof T) & (keyof EntitySnapshotReferenceGroupByOutputType))]: P extends '_count'
|
|
161
|
+
? T[P] extends boolean
|
|
162
|
+
? number
|
|
163
|
+
: Prisma.GetScalarType<T[P], EntitySnapshotReferenceGroupByOutputType[P]>
|
|
164
|
+
: Prisma.GetScalarType<T[P], EntitySnapshotReferenceGroupByOutputType[P]>
|
|
165
|
+
}
|
|
166
|
+
>
|
|
167
|
+
>
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
export type EntitySnapshotReferenceWhereInput = {
|
|
172
|
+
AND?: Prisma.EntitySnapshotReferenceWhereInput | Prisma.EntitySnapshotReferenceWhereInput[]
|
|
173
|
+
OR?: Prisma.EntitySnapshotReferenceWhereInput[]
|
|
174
|
+
NOT?: Prisma.EntitySnapshotReferenceWhereInput | Prisma.EntitySnapshotReferenceWhereInput[]
|
|
175
|
+
fromId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
176
|
+
toId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
177
|
+
kind?: Prisma.EnumEntityReferenceKindFilter<"EntitySnapshotReference"> | $Enums.EntityReferenceKind
|
|
178
|
+
group?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
179
|
+
from?: Prisma.XOR<Prisma.EntitySnapshotScalarRelationFilter, Prisma.EntitySnapshotWhereInput>
|
|
180
|
+
to?: Prisma.XOR<Prisma.EntitySnapshotScalarRelationFilter, Prisma.EntitySnapshotWhereInput>
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type EntitySnapshotReferenceOrderByWithRelationInput = {
|
|
184
|
+
fromId?: Prisma.SortOrder
|
|
185
|
+
toId?: Prisma.SortOrder
|
|
186
|
+
kind?: Prisma.SortOrder
|
|
187
|
+
group?: Prisma.SortOrder
|
|
188
|
+
from?: Prisma.EntitySnapshotOrderByWithRelationInput
|
|
189
|
+
to?: Prisma.EntitySnapshotOrderByWithRelationInput
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type EntitySnapshotReferenceWhereUniqueInput = Prisma.AtLeast<{
|
|
193
|
+
fromId_toId_kind_group?: Prisma.EntitySnapshotReferenceFromIdToIdKindGroupCompoundUniqueInput
|
|
194
|
+
AND?: Prisma.EntitySnapshotReferenceWhereInput | Prisma.EntitySnapshotReferenceWhereInput[]
|
|
195
|
+
OR?: Prisma.EntitySnapshotReferenceWhereInput[]
|
|
196
|
+
NOT?: Prisma.EntitySnapshotReferenceWhereInput | Prisma.EntitySnapshotReferenceWhereInput[]
|
|
197
|
+
fromId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
198
|
+
toId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
199
|
+
kind?: Prisma.EnumEntityReferenceKindFilter<"EntitySnapshotReference"> | $Enums.EntityReferenceKind
|
|
200
|
+
group?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
201
|
+
from?: Prisma.XOR<Prisma.EntitySnapshotScalarRelationFilter, Prisma.EntitySnapshotWhereInput>
|
|
202
|
+
to?: Prisma.XOR<Prisma.EntitySnapshotScalarRelationFilter, Prisma.EntitySnapshotWhereInput>
|
|
203
|
+
}, "fromId_toId_kind_group">
|
|
204
|
+
|
|
205
|
+
export type EntitySnapshotReferenceOrderByWithAggregationInput = {
|
|
206
|
+
fromId?: Prisma.SortOrder
|
|
207
|
+
toId?: Prisma.SortOrder
|
|
208
|
+
kind?: Prisma.SortOrder
|
|
209
|
+
group?: Prisma.SortOrder
|
|
210
|
+
_count?: Prisma.EntitySnapshotReferenceCountOrderByAggregateInput
|
|
211
|
+
_max?: Prisma.EntitySnapshotReferenceMaxOrderByAggregateInput
|
|
212
|
+
_min?: Prisma.EntitySnapshotReferenceMinOrderByAggregateInput
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type EntitySnapshotReferenceScalarWhereWithAggregatesInput = {
|
|
216
|
+
AND?: Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput | Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput[]
|
|
217
|
+
OR?: Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput[]
|
|
218
|
+
NOT?: Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput | Prisma.EntitySnapshotReferenceScalarWhereWithAggregatesInput[]
|
|
219
|
+
fromId?: Prisma.StringWithAggregatesFilter<"EntitySnapshotReference"> | string
|
|
220
|
+
toId?: Prisma.StringWithAggregatesFilter<"EntitySnapshotReference"> | string
|
|
221
|
+
kind?: Prisma.EnumEntityReferenceKindWithAggregatesFilter<"EntitySnapshotReference"> | $Enums.EntityReferenceKind
|
|
222
|
+
group?: Prisma.StringWithAggregatesFilter<"EntitySnapshotReference"> | string
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export type EntitySnapshotReferenceCreateInput = {
|
|
226
|
+
kind: $Enums.EntityReferenceKind
|
|
227
|
+
group: string
|
|
228
|
+
from: Prisma.EntitySnapshotCreateNestedOneWithoutReferencesInput
|
|
229
|
+
to: Prisma.EntitySnapshotCreateNestedOneWithoutReferencedByInput
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type EntitySnapshotReferenceUncheckedCreateInput = {
|
|
233
|
+
fromId: string
|
|
234
|
+
toId: string
|
|
235
|
+
kind: $Enums.EntityReferenceKind
|
|
236
|
+
group: string
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export type EntitySnapshotReferenceUpdateInput = {
|
|
240
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
241
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
242
|
+
from?: Prisma.EntitySnapshotUpdateOneRequiredWithoutReferencesNestedInput
|
|
243
|
+
to?: Prisma.EntitySnapshotUpdateOneRequiredWithoutReferencedByNestedInput
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export type EntitySnapshotReferenceUncheckedUpdateInput = {
|
|
247
|
+
fromId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
248
|
+
toId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
249
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
250
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type EntitySnapshotReferenceCreateManyInput = {
|
|
254
|
+
fromId: string
|
|
255
|
+
toId: string
|
|
256
|
+
kind: $Enums.EntityReferenceKind
|
|
257
|
+
group: string
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type EntitySnapshotReferenceUpdateManyMutationInput = {
|
|
261
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
262
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type EntitySnapshotReferenceUncheckedUpdateManyInput = {
|
|
266
|
+
fromId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
267
|
+
toId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
268
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
269
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type EntitySnapshotReferenceListRelationFilter = {
|
|
273
|
+
every?: Prisma.EntitySnapshotReferenceWhereInput
|
|
274
|
+
some?: Prisma.EntitySnapshotReferenceWhereInput
|
|
275
|
+
none?: Prisma.EntitySnapshotReferenceWhereInput
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export type EntitySnapshotReferenceOrderByRelationAggregateInput = {
|
|
279
|
+
_count?: Prisma.SortOrder
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type EntitySnapshotReferenceFromIdToIdKindGroupCompoundUniqueInput = {
|
|
283
|
+
fromId: string
|
|
284
|
+
toId: string
|
|
285
|
+
kind: $Enums.EntityReferenceKind
|
|
286
|
+
group: string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type EntitySnapshotReferenceCountOrderByAggregateInput = {
|
|
290
|
+
fromId?: Prisma.SortOrder
|
|
291
|
+
toId?: Prisma.SortOrder
|
|
292
|
+
kind?: Prisma.SortOrder
|
|
293
|
+
group?: Prisma.SortOrder
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type EntitySnapshotReferenceMaxOrderByAggregateInput = {
|
|
297
|
+
fromId?: Prisma.SortOrder
|
|
298
|
+
toId?: Prisma.SortOrder
|
|
299
|
+
kind?: Prisma.SortOrder
|
|
300
|
+
group?: Prisma.SortOrder
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type EntitySnapshotReferenceMinOrderByAggregateInput = {
|
|
304
|
+
fromId?: Prisma.SortOrder
|
|
305
|
+
toId?: Prisma.SortOrder
|
|
306
|
+
kind?: Prisma.SortOrder
|
|
307
|
+
group?: Prisma.SortOrder
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type EntitySnapshotReferenceCreateNestedManyWithoutFromInput = {
|
|
311
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput> | Prisma.EntitySnapshotReferenceCreateWithoutFromInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput[]
|
|
312
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput[]
|
|
313
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyFromInputEnvelope
|
|
314
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export type EntitySnapshotReferenceCreateNestedManyWithoutToInput = {
|
|
318
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput> | Prisma.EntitySnapshotReferenceCreateWithoutToInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput[]
|
|
319
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput[]
|
|
320
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyToInputEnvelope
|
|
321
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type EntitySnapshotReferenceUncheckedCreateNestedManyWithoutFromInput = {
|
|
325
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput> | Prisma.EntitySnapshotReferenceCreateWithoutFromInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput[]
|
|
326
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput[]
|
|
327
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyFromInputEnvelope
|
|
328
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type EntitySnapshotReferenceUncheckedCreateNestedManyWithoutToInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput> | Prisma.EntitySnapshotReferenceCreateWithoutToInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput[]
|
|
333
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput[]
|
|
334
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyToInputEnvelope
|
|
335
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type EntitySnapshotReferenceUpdateManyWithoutFromNestedInput = {
|
|
339
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput> | Prisma.EntitySnapshotReferenceCreateWithoutFromInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput[]
|
|
340
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput[]
|
|
341
|
+
upsert?: Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutFromInput | Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutFromInput[]
|
|
342
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyFromInputEnvelope
|
|
343
|
+
set?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
344
|
+
disconnect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
345
|
+
delete?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
346
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
347
|
+
update?: Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutFromInput | Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutFromInput[]
|
|
348
|
+
updateMany?: Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutFromInput | Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutFromInput[]
|
|
349
|
+
deleteMany?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type EntitySnapshotReferenceUpdateManyWithoutToNestedInput = {
|
|
353
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput> | Prisma.EntitySnapshotReferenceCreateWithoutToInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput[]
|
|
354
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput[]
|
|
355
|
+
upsert?: Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutToInput | Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutToInput[]
|
|
356
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyToInputEnvelope
|
|
357
|
+
set?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
358
|
+
disconnect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
359
|
+
delete?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
360
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
361
|
+
update?: Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutToInput | Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutToInput[]
|
|
362
|
+
updateMany?: Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutToInput | Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutToInput[]
|
|
363
|
+
deleteMany?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export type EntitySnapshotReferenceUncheckedUpdateManyWithoutFromNestedInput = {
|
|
367
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput> | Prisma.EntitySnapshotReferenceCreateWithoutFromInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput[]
|
|
368
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutFromInput[]
|
|
369
|
+
upsert?: Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutFromInput | Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutFromInput[]
|
|
370
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyFromInputEnvelope
|
|
371
|
+
set?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
372
|
+
disconnect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
373
|
+
delete?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
374
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
375
|
+
update?: Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutFromInput | Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutFromInput[]
|
|
376
|
+
updateMany?: Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutFromInput | Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutFromInput[]
|
|
377
|
+
deleteMany?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export type EntitySnapshotReferenceUncheckedUpdateManyWithoutToNestedInput = {
|
|
381
|
+
create?: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput> | Prisma.EntitySnapshotReferenceCreateWithoutToInput[] | Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput[]
|
|
382
|
+
connectOrCreate?: Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput | Prisma.EntitySnapshotReferenceCreateOrConnectWithoutToInput[]
|
|
383
|
+
upsert?: Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutToInput | Prisma.EntitySnapshotReferenceUpsertWithWhereUniqueWithoutToInput[]
|
|
384
|
+
createMany?: Prisma.EntitySnapshotReferenceCreateManyToInputEnvelope
|
|
385
|
+
set?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
386
|
+
disconnect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
387
|
+
delete?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
388
|
+
connect?: Prisma.EntitySnapshotReferenceWhereUniqueInput | Prisma.EntitySnapshotReferenceWhereUniqueInput[]
|
|
389
|
+
update?: Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutToInput | Prisma.EntitySnapshotReferenceUpdateWithWhereUniqueWithoutToInput[]
|
|
390
|
+
updateMany?: Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutToInput | Prisma.EntitySnapshotReferenceUpdateManyWithWhereWithoutToInput[]
|
|
391
|
+
deleteMany?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type EnumEntityReferenceKindFieldUpdateOperationsInput = {
|
|
395
|
+
set?: $Enums.EntityReferenceKind
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type EntitySnapshotReferenceCreateWithoutFromInput = {
|
|
399
|
+
kind: $Enums.EntityReferenceKind
|
|
400
|
+
group: string
|
|
401
|
+
to: Prisma.EntitySnapshotCreateNestedOneWithoutReferencedByInput
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type EntitySnapshotReferenceUncheckedCreateWithoutFromInput = {
|
|
405
|
+
toId: string
|
|
406
|
+
kind: $Enums.EntityReferenceKind
|
|
407
|
+
group: string
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type EntitySnapshotReferenceCreateOrConnectWithoutFromInput = {
|
|
411
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
412
|
+
create: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput>
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type EntitySnapshotReferenceCreateManyFromInputEnvelope = {
|
|
416
|
+
data: Prisma.EntitySnapshotReferenceCreateManyFromInput | Prisma.EntitySnapshotReferenceCreateManyFromInput[]
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type EntitySnapshotReferenceCreateWithoutToInput = {
|
|
420
|
+
kind: $Enums.EntityReferenceKind
|
|
421
|
+
group: string
|
|
422
|
+
from: Prisma.EntitySnapshotCreateNestedOneWithoutReferencesInput
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type EntitySnapshotReferenceUncheckedCreateWithoutToInput = {
|
|
426
|
+
fromId: string
|
|
427
|
+
kind: $Enums.EntityReferenceKind
|
|
428
|
+
group: string
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export type EntitySnapshotReferenceCreateOrConnectWithoutToInput = {
|
|
432
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
433
|
+
create: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput>
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type EntitySnapshotReferenceCreateManyToInputEnvelope = {
|
|
437
|
+
data: Prisma.EntitySnapshotReferenceCreateManyToInput | Prisma.EntitySnapshotReferenceCreateManyToInput[]
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type EntitySnapshotReferenceUpsertWithWhereUniqueWithoutFromInput = {
|
|
441
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
442
|
+
update: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedUpdateWithoutFromInput>
|
|
443
|
+
create: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutFromInput>
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type EntitySnapshotReferenceUpdateWithWhereUniqueWithoutFromInput = {
|
|
447
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
448
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateWithoutFromInput, Prisma.EntitySnapshotReferenceUncheckedUpdateWithoutFromInput>
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type EntitySnapshotReferenceUpdateManyWithWhereWithoutFromInput = {
|
|
452
|
+
where: Prisma.EntitySnapshotReferenceScalarWhereInput
|
|
453
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateManyMutationInput, Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutFromInput>
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type EntitySnapshotReferenceScalarWhereInput = {
|
|
457
|
+
AND?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
458
|
+
OR?: Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
459
|
+
NOT?: Prisma.EntitySnapshotReferenceScalarWhereInput | Prisma.EntitySnapshotReferenceScalarWhereInput[]
|
|
460
|
+
fromId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
461
|
+
toId?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
462
|
+
kind?: Prisma.EnumEntityReferenceKindFilter<"EntitySnapshotReference"> | $Enums.EntityReferenceKind
|
|
463
|
+
group?: Prisma.StringFilter<"EntitySnapshotReference"> | string
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type EntitySnapshotReferenceUpsertWithWhereUniqueWithoutToInput = {
|
|
467
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
468
|
+
update: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedUpdateWithoutToInput>
|
|
469
|
+
create: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedCreateWithoutToInput>
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export type EntitySnapshotReferenceUpdateWithWhereUniqueWithoutToInput = {
|
|
473
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
474
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateWithoutToInput, Prisma.EntitySnapshotReferenceUncheckedUpdateWithoutToInput>
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type EntitySnapshotReferenceUpdateManyWithWhereWithoutToInput = {
|
|
478
|
+
where: Prisma.EntitySnapshotReferenceScalarWhereInput
|
|
479
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateManyMutationInput, Prisma.EntitySnapshotReferenceUncheckedUpdateManyWithoutToInput>
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type EntitySnapshotReferenceCreateManyFromInput = {
|
|
483
|
+
toId: string
|
|
484
|
+
kind: $Enums.EntityReferenceKind
|
|
485
|
+
group: string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type EntitySnapshotReferenceCreateManyToInput = {
|
|
489
|
+
fromId: string
|
|
490
|
+
kind: $Enums.EntityReferenceKind
|
|
491
|
+
group: string
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type EntitySnapshotReferenceUpdateWithoutFromInput = {
|
|
495
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
496
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
497
|
+
to?: Prisma.EntitySnapshotUpdateOneRequiredWithoutReferencedByNestedInput
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type EntitySnapshotReferenceUncheckedUpdateWithoutFromInput = {
|
|
501
|
+
toId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
503
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export type EntitySnapshotReferenceUncheckedUpdateManyWithoutFromInput = {
|
|
507
|
+
toId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
509
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type EntitySnapshotReferenceUpdateWithoutToInput = {
|
|
513
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
514
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
515
|
+
from?: Prisma.EntitySnapshotUpdateOneRequiredWithoutReferencesNestedInput
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type EntitySnapshotReferenceUncheckedUpdateWithoutToInput = {
|
|
519
|
+
fromId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
521
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type EntitySnapshotReferenceUncheckedUpdateManyWithoutToInput = {
|
|
525
|
+
fromId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
526
|
+
kind?: Prisma.EnumEntityReferenceKindFieldUpdateOperationsInput | $Enums.EntityReferenceKind
|
|
527
|
+
group?: Prisma.StringFieldUpdateOperationsInput | string
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
export type EntitySnapshotReferenceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
533
|
+
fromId?: boolean
|
|
534
|
+
toId?: boolean
|
|
535
|
+
kind?: boolean
|
|
536
|
+
group?: boolean
|
|
537
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
538
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
539
|
+
}, ExtArgs["result"]["entitySnapshotReference"]>
|
|
540
|
+
|
|
541
|
+
export type EntitySnapshotReferenceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
542
|
+
fromId?: boolean
|
|
543
|
+
toId?: boolean
|
|
544
|
+
kind?: boolean
|
|
545
|
+
group?: boolean
|
|
546
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
547
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
548
|
+
}, ExtArgs["result"]["entitySnapshotReference"]>
|
|
549
|
+
|
|
550
|
+
export type EntitySnapshotReferenceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
551
|
+
fromId?: boolean
|
|
552
|
+
toId?: boolean
|
|
553
|
+
kind?: boolean
|
|
554
|
+
group?: boolean
|
|
555
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
556
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
557
|
+
}, ExtArgs["result"]["entitySnapshotReference"]>
|
|
558
|
+
|
|
559
|
+
export type EntitySnapshotReferenceSelectScalar = {
|
|
560
|
+
fromId?: boolean
|
|
561
|
+
toId?: boolean
|
|
562
|
+
kind?: boolean
|
|
563
|
+
group?: boolean
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type EntitySnapshotReferenceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fromId" | "toId" | "kind" | "group", ExtArgs["result"]["entitySnapshotReference"]>
|
|
567
|
+
export type EntitySnapshotReferenceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
568
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
569
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
570
|
+
}
|
|
571
|
+
export type EntitySnapshotReferenceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
572
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
573
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
574
|
+
}
|
|
575
|
+
export type EntitySnapshotReferenceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
576
|
+
from?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
577
|
+
to?: boolean | Prisma.EntitySnapshotDefaultArgs<ExtArgs>
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export type $EntitySnapshotReferencePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
581
|
+
name: "EntitySnapshotReference"
|
|
582
|
+
objects: {
|
|
583
|
+
/**
|
|
584
|
+
* The entity snapshot that holds the reference.
|
|
585
|
+
*/
|
|
586
|
+
from: Prisma.$EntitySnapshotPayload<ExtArgs>
|
|
587
|
+
/**
|
|
588
|
+
* The entity snapshot that is referenced.
|
|
589
|
+
*/
|
|
590
|
+
to: Prisma.$EntitySnapshotPayload<ExtArgs>
|
|
591
|
+
}
|
|
592
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
593
|
+
/**
|
|
594
|
+
* The CUIDv2 of the entity snapshot relation.
|
|
595
|
+
*/
|
|
596
|
+
fromId: string
|
|
597
|
+
/**
|
|
598
|
+
* The CUIDv2 of the referenced entity snapshot.
|
|
599
|
+
*/
|
|
600
|
+
toId: string
|
|
601
|
+
/**
|
|
602
|
+
* The kind of the reference, which can be either explicit or inclusion (implicit).
|
|
603
|
+
*/
|
|
604
|
+
kind: $Enums.EntityReferenceKind
|
|
605
|
+
/**
|
|
606
|
+
* The group of the references.
|
|
607
|
+
* It can be either the exlicit group name provided by the entity explicit reference,
|
|
608
|
+
* or name of the inclusion field of the parent entity for implicit references.
|
|
609
|
+
*/
|
|
610
|
+
group: string
|
|
611
|
+
}, ExtArgs["result"]["entitySnapshotReference"]>
|
|
612
|
+
composites: {}
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export type EntitySnapshotReferenceGetPayload<S extends boolean | null | undefined | EntitySnapshotReferenceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload, S>
|
|
616
|
+
|
|
617
|
+
export type EntitySnapshotReferenceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
618
|
+
Omit<EntitySnapshotReferenceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
619
|
+
select?: EntitySnapshotReferenceCountAggregateInputType | true
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export interface EntitySnapshotReferenceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
623
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EntitySnapshotReference'], meta: { name: 'EntitySnapshotReference' } }
|
|
624
|
+
/**
|
|
625
|
+
* Find zero or one EntitySnapshotReference that matches the filter.
|
|
626
|
+
* @param {EntitySnapshotReferenceFindUniqueArgs} args - Arguments to find a EntitySnapshotReference
|
|
627
|
+
* @example
|
|
628
|
+
* // Get one EntitySnapshotReference
|
|
629
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.findUnique({
|
|
630
|
+
* where: {
|
|
631
|
+
* // ... provide filter here
|
|
632
|
+
* }
|
|
633
|
+
* })
|
|
634
|
+
*/
|
|
635
|
+
findUnique<T extends EntitySnapshotReferenceFindUniqueArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* Find one EntitySnapshotReference that matches the filter or throw an error with `error.code='P2025'`
|
|
639
|
+
* if no matches were found.
|
|
640
|
+
* @param {EntitySnapshotReferenceFindUniqueOrThrowArgs} args - Arguments to find a EntitySnapshotReference
|
|
641
|
+
* @example
|
|
642
|
+
* // Get one EntitySnapshotReference
|
|
643
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.findUniqueOrThrow({
|
|
644
|
+
* where: {
|
|
645
|
+
* // ... provide filter here
|
|
646
|
+
* }
|
|
647
|
+
* })
|
|
648
|
+
*/
|
|
649
|
+
findUniqueOrThrow<T extends EntitySnapshotReferenceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Find the first EntitySnapshotReference that matches the filter.
|
|
653
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
654
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
655
|
+
* @param {EntitySnapshotReferenceFindFirstArgs} args - Arguments to find a EntitySnapshotReference
|
|
656
|
+
* @example
|
|
657
|
+
* // Get one EntitySnapshotReference
|
|
658
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.findFirst({
|
|
659
|
+
* where: {
|
|
660
|
+
* // ... provide filter here
|
|
661
|
+
* }
|
|
662
|
+
* })
|
|
663
|
+
*/
|
|
664
|
+
findFirst<T extends EntitySnapshotReferenceFindFirstArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Find the first EntitySnapshotReference that matches the filter or
|
|
668
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
669
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
670
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
671
|
+
* @param {EntitySnapshotReferenceFindFirstOrThrowArgs} args - Arguments to find a EntitySnapshotReference
|
|
672
|
+
* @example
|
|
673
|
+
* // Get one EntitySnapshotReference
|
|
674
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.findFirstOrThrow({
|
|
675
|
+
* where: {
|
|
676
|
+
* // ... provide filter here
|
|
677
|
+
* }
|
|
678
|
+
* })
|
|
679
|
+
*/
|
|
680
|
+
findFirstOrThrow<T extends EntitySnapshotReferenceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Find zero or more EntitySnapshotReferences that matches the filter.
|
|
684
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
685
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
686
|
+
* @param {EntitySnapshotReferenceFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
687
|
+
* @example
|
|
688
|
+
* // Get all EntitySnapshotReferences
|
|
689
|
+
* const entitySnapshotReferences = await prisma.entitySnapshotReference.findMany()
|
|
690
|
+
*
|
|
691
|
+
* // Get first 10 EntitySnapshotReferences
|
|
692
|
+
* const entitySnapshotReferences = await prisma.entitySnapshotReference.findMany({ take: 10 })
|
|
693
|
+
*
|
|
694
|
+
* // Only select the `fromId`
|
|
695
|
+
* const entitySnapshotReferenceWithFromIdOnly = await prisma.entitySnapshotReference.findMany({ select: { fromId: true } })
|
|
696
|
+
*
|
|
697
|
+
*/
|
|
698
|
+
findMany<T extends EntitySnapshotReferenceFindManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Create a EntitySnapshotReference.
|
|
702
|
+
* @param {EntitySnapshotReferenceCreateArgs} args - Arguments to create a EntitySnapshotReference.
|
|
703
|
+
* @example
|
|
704
|
+
* // Create one EntitySnapshotReference
|
|
705
|
+
* const EntitySnapshotReference = await prisma.entitySnapshotReference.create({
|
|
706
|
+
* data: {
|
|
707
|
+
* // ... data to create a EntitySnapshotReference
|
|
708
|
+
* }
|
|
709
|
+
* })
|
|
710
|
+
*
|
|
711
|
+
*/
|
|
712
|
+
create<T extends EntitySnapshotReferenceCreateArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceCreateArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Create many EntitySnapshotReferences.
|
|
716
|
+
* @param {EntitySnapshotReferenceCreateManyArgs} args - Arguments to create many EntitySnapshotReferences.
|
|
717
|
+
* @example
|
|
718
|
+
* // Create many EntitySnapshotReferences
|
|
719
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.createMany({
|
|
720
|
+
* data: [
|
|
721
|
+
* // ... provide data here
|
|
722
|
+
* ]
|
|
723
|
+
* })
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
createMany<T extends EntitySnapshotReferenceCreateManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Create many EntitySnapshotReferences and returns the data saved in the database.
|
|
730
|
+
* @param {EntitySnapshotReferenceCreateManyAndReturnArgs} args - Arguments to create many EntitySnapshotReferences.
|
|
731
|
+
* @example
|
|
732
|
+
* // Create many EntitySnapshotReferences
|
|
733
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.createManyAndReturn({
|
|
734
|
+
* data: [
|
|
735
|
+
* // ... provide data here
|
|
736
|
+
* ]
|
|
737
|
+
* })
|
|
738
|
+
*
|
|
739
|
+
* // Create many EntitySnapshotReferences and only return the `fromId`
|
|
740
|
+
* const entitySnapshotReferenceWithFromIdOnly = await prisma.entitySnapshotReference.createManyAndReturn({
|
|
741
|
+
* select: { fromId: true },
|
|
742
|
+
* data: [
|
|
743
|
+
* // ... provide data here
|
|
744
|
+
* ]
|
|
745
|
+
* })
|
|
746
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
747
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
748
|
+
*
|
|
749
|
+
*/
|
|
750
|
+
createManyAndReturn<T extends EntitySnapshotReferenceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Delete a EntitySnapshotReference.
|
|
754
|
+
* @param {EntitySnapshotReferenceDeleteArgs} args - Arguments to delete one EntitySnapshotReference.
|
|
755
|
+
* @example
|
|
756
|
+
* // Delete one EntitySnapshotReference
|
|
757
|
+
* const EntitySnapshotReference = await prisma.entitySnapshotReference.delete({
|
|
758
|
+
* where: {
|
|
759
|
+
* // ... filter to delete one EntitySnapshotReference
|
|
760
|
+
* }
|
|
761
|
+
* })
|
|
762
|
+
*
|
|
763
|
+
*/
|
|
764
|
+
delete<T extends EntitySnapshotReferenceDeleteArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceDeleteArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Update one EntitySnapshotReference.
|
|
768
|
+
* @param {EntitySnapshotReferenceUpdateArgs} args - Arguments to update one EntitySnapshotReference.
|
|
769
|
+
* @example
|
|
770
|
+
* // Update one EntitySnapshotReference
|
|
771
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.update({
|
|
772
|
+
* where: {
|
|
773
|
+
* // ... provide filter here
|
|
774
|
+
* },
|
|
775
|
+
* data: {
|
|
776
|
+
* // ... provide data here
|
|
777
|
+
* }
|
|
778
|
+
* })
|
|
779
|
+
*
|
|
780
|
+
*/
|
|
781
|
+
update<T extends EntitySnapshotReferenceUpdateArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceUpdateArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Delete zero or more EntitySnapshotReferences.
|
|
785
|
+
* @param {EntitySnapshotReferenceDeleteManyArgs} args - Arguments to filter EntitySnapshotReferences to delete.
|
|
786
|
+
* @example
|
|
787
|
+
* // Delete a few EntitySnapshotReferences
|
|
788
|
+
* const { count } = await prisma.entitySnapshotReference.deleteMany({
|
|
789
|
+
* where: {
|
|
790
|
+
* // ... provide filter here
|
|
791
|
+
* }
|
|
792
|
+
* })
|
|
793
|
+
*
|
|
794
|
+
*/
|
|
795
|
+
deleteMany<T extends EntitySnapshotReferenceDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntitySnapshotReferenceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Update zero or more EntitySnapshotReferences.
|
|
799
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
800
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
801
|
+
* @param {EntitySnapshotReferenceUpdateManyArgs} args - Arguments to update one or more rows.
|
|
802
|
+
* @example
|
|
803
|
+
* // Update many EntitySnapshotReferences
|
|
804
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.updateMany({
|
|
805
|
+
* where: {
|
|
806
|
+
* // ... provide filter here
|
|
807
|
+
* },
|
|
808
|
+
* data: {
|
|
809
|
+
* // ... provide data here
|
|
810
|
+
* }
|
|
811
|
+
* })
|
|
812
|
+
*
|
|
813
|
+
*/
|
|
814
|
+
updateMany<T extends EntitySnapshotReferenceUpdateManyArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Update zero or more EntitySnapshotReferences and returns the data updated in the database.
|
|
818
|
+
* @param {EntitySnapshotReferenceUpdateManyAndReturnArgs} args - Arguments to update many EntitySnapshotReferences.
|
|
819
|
+
* @example
|
|
820
|
+
* // Update many EntitySnapshotReferences
|
|
821
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.updateManyAndReturn({
|
|
822
|
+
* where: {
|
|
823
|
+
* // ... provide filter here
|
|
824
|
+
* },
|
|
825
|
+
* data: [
|
|
826
|
+
* // ... provide data here
|
|
827
|
+
* ]
|
|
828
|
+
* })
|
|
829
|
+
*
|
|
830
|
+
* // Update zero or more EntitySnapshotReferences and only return the `fromId`
|
|
831
|
+
* const entitySnapshotReferenceWithFromIdOnly = await prisma.entitySnapshotReference.updateManyAndReturn({
|
|
832
|
+
* select: { fromId: true },
|
|
833
|
+
* where: {
|
|
834
|
+
* // ... provide filter here
|
|
835
|
+
* },
|
|
836
|
+
* data: [
|
|
837
|
+
* // ... provide data here
|
|
838
|
+
* ]
|
|
839
|
+
* })
|
|
840
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
841
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
842
|
+
*
|
|
843
|
+
*/
|
|
844
|
+
updateManyAndReturn<T extends EntitySnapshotReferenceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Create or update one EntitySnapshotReference.
|
|
848
|
+
* @param {EntitySnapshotReferenceUpsertArgs} args - Arguments to update or create a EntitySnapshotReference.
|
|
849
|
+
* @example
|
|
850
|
+
* // Update or create a EntitySnapshotReference
|
|
851
|
+
* const entitySnapshotReference = await prisma.entitySnapshotReference.upsert({
|
|
852
|
+
* create: {
|
|
853
|
+
* // ... data to create a EntitySnapshotReference
|
|
854
|
+
* },
|
|
855
|
+
* update: {
|
|
856
|
+
* // ... in case it already exists, update
|
|
857
|
+
* },
|
|
858
|
+
* where: {
|
|
859
|
+
* // ... the filter for the EntitySnapshotReference we want to update
|
|
860
|
+
* }
|
|
861
|
+
* })
|
|
862
|
+
*/
|
|
863
|
+
upsert<T extends EntitySnapshotReferenceUpsertArgs>(args: Prisma.SelectSubset<T, EntitySnapshotReferenceUpsertArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotReferenceClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotReferencePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Count the number of EntitySnapshotReferences.
|
|
868
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
869
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
870
|
+
* @param {EntitySnapshotReferenceCountArgs} args - Arguments to filter EntitySnapshotReferences to count.
|
|
871
|
+
* @example
|
|
872
|
+
* // Count the number of EntitySnapshotReferences
|
|
873
|
+
* const count = await prisma.entitySnapshotReference.count({
|
|
874
|
+
* where: {
|
|
875
|
+
* // ... the filter for the EntitySnapshotReferences we want to count
|
|
876
|
+
* }
|
|
877
|
+
* })
|
|
878
|
+
**/
|
|
879
|
+
count<T extends EntitySnapshotReferenceCountArgs>(
|
|
880
|
+
args?: Prisma.Subset<T, EntitySnapshotReferenceCountArgs>,
|
|
881
|
+
): Prisma.PrismaPromise<
|
|
882
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
883
|
+
? T['select'] extends true
|
|
884
|
+
? number
|
|
885
|
+
: Prisma.GetScalarType<T['select'], EntitySnapshotReferenceCountAggregateOutputType>
|
|
886
|
+
: number
|
|
887
|
+
>
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* Allows you to perform aggregations operations on a EntitySnapshotReference.
|
|
891
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
892
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
893
|
+
* @param {EntitySnapshotReferenceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
894
|
+
* @example
|
|
895
|
+
* // Ordered by age ascending
|
|
896
|
+
* // Where email contains prisma.io
|
|
897
|
+
* // Limited to the 10 users
|
|
898
|
+
* const aggregations = await prisma.user.aggregate({
|
|
899
|
+
* _avg: {
|
|
900
|
+
* age: true,
|
|
901
|
+
* },
|
|
902
|
+
* where: {
|
|
903
|
+
* email: {
|
|
904
|
+
* contains: "prisma.io",
|
|
905
|
+
* },
|
|
906
|
+
* },
|
|
907
|
+
* orderBy: {
|
|
908
|
+
* age: "asc",
|
|
909
|
+
* },
|
|
910
|
+
* take: 10,
|
|
911
|
+
* })
|
|
912
|
+
**/
|
|
913
|
+
aggregate<T extends EntitySnapshotReferenceAggregateArgs>(args: Prisma.Subset<T, EntitySnapshotReferenceAggregateArgs>): Prisma.PrismaPromise<GetEntitySnapshotReferenceAggregateType<T>>
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* Group by EntitySnapshotReference.
|
|
917
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
918
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
919
|
+
* @param {EntitySnapshotReferenceGroupByArgs} args - Group by arguments.
|
|
920
|
+
* @example
|
|
921
|
+
* // Group by city, order by createdAt, get count
|
|
922
|
+
* const result = await prisma.user.groupBy({
|
|
923
|
+
* by: ['city', 'createdAt'],
|
|
924
|
+
* orderBy: {
|
|
925
|
+
* createdAt: true
|
|
926
|
+
* },
|
|
927
|
+
* _count: {
|
|
928
|
+
* _all: true
|
|
929
|
+
* },
|
|
930
|
+
* })
|
|
931
|
+
*
|
|
932
|
+
**/
|
|
933
|
+
groupBy<
|
|
934
|
+
T extends EntitySnapshotReferenceGroupByArgs,
|
|
935
|
+
HasSelectOrTake extends Prisma.Or<
|
|
936
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
937
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
938
|
+
>,
|
|
939
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
940
|
+
? { orderBy: EntitySnapshotReferenceGroupByArgs['orderBy'] }
|
|
941
|
+
: { orderBy?: EntitySnapshotReferenceGroupByArgs['orderBy'] },
|
|
942
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
943
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
944
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
945
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
946
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
947
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
948
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
949
|
+
? `Error: "by" must not be empty.`
|
|
950
|
+
: HavingValid extends Prisma.False
|
|
951
|
+
? {
|
|
952
|
+
[P in HavingFields]: P extends ByFields
|
|
953
|
+
? never
|
|
954
|
+
: P extends string
|
|
955
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
956
|
+
: [
|
|
957
|
+
Error,
|
|
958
|
+
'Field ',
|
|
959
|
+
P,
|
|
960
|
+
` in "having" needs to be provided in "by"`,
|
|
961
|
+
]
|
|
962
|
+
}[HavingFields]
|
|
963
|
+
: 'take' extends Prisma.Keys<T>
|
|
964
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
965
|
+
? ByValid extends Prisma.True
|
|
966
|
+
? {}
|
|
967
|
+
: {
|
|
968
|
+
[P in OrderFields]: P extends ByFields
|
|
969
|
+
? never
|
|
970
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
971
|
+
}[OrderFields]
|
|
972
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
973
|
+
: 'skip' extends Prisma.Keys<T>
|
|
974
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
975
|
+
? ByValid extends Prisma.True
|
|
976
|
+
? {}
|
|
977
|
+
: {
|
|
978
|
+
[P in OrderFields]: P extends ByFields
|
|
979
|
+
? never
|
|
980
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
981
|
+
}[OrderFields]
|
|
982
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
983
|
+
: ByValid extends Prisma.True
|
|
984
|
+
? {}
|
|
985
|
+
: {
|
|
986
|
+
[P in OrderFields]: P extends ByFields
|
|
987
|
+
? never
|
|
988
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
989
|
+
}[OrderFields]
|
|
990
|
+
>(args: Prisma.SubsetIntersection<T, EntitySnapshotReferenceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntitySnapshotReferenceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
991
|
+
/**
|
|
992
|
+
* Fields of the EntitySnapshotReference model
|
|
993
|
+
*/
|
|
994
|
+
readonly fields: EntitySnapshotReferenceFieldRefs;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* The delegate class that acts as a "Promise-like" for EntitySnapshotReference.
|
|
999
|
+
* Why is this prefixed with `Prisma__`?
|
|
1000
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1001
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1002
|
+
*/
|
|
1003
|
+
export interface Prisma__EntitySnapshotReferenceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1004
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1005
|
+
from<T extends Prisma.EntitySnapshotDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshotDefaultArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1006
|
+
to<T extends Prisma.EntitySnapshotDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntitySnapshotDefaultArgs<ExtArgs>>): Prisma.Prisma__EntitySnapshotClient<runtime.Types.Result.GetResult<Prisma.$EntitySnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1007
|
+
/**
|
|
1008
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1009
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1010
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1011
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1012
|
+
*/
|
|
1013
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1014
|
+
/**
|
|
1015
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1016
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1017
|
+
* @returns A Promise for the completion of the callback.
|
|
1018
|
+
*/
|
|
1019
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1020
|
+
/**
|
|
1021
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1022
|
+
* resolved value cannot be modified from the callback.
|
|
1023
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1024
|
+
* @returns A Promise for the completion of the callback.
|
|
1025
|
+
*/
|
|
1026
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Fields of the EntitySnapshotReference model
|
|
1034
|
+
*/
|
|
1035
|
+
export interface EntitySnapshotReferenceFieldRefs {
|
|
1036
|
+
readonly fromId: Prisma.FieldRef<"EntitySnapshotReference", 'String'>
|
|
1037
|
+
readonly toId: Prisma.FieldRef<"EntitySnapshotReference", 'String'>
|
|
1038
|
+
readonly kind: Prisma.FieldRef<"EntitySnapshotReference", 'EntityReferenceKind'>
|
|
1039
|
+
readonly group: Prisma.FieldRef<"EntitySnapshotReference", 'String'>
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
// Custom InputTypes
|
|
1044
|
+
/**
|
|
1045
|
+
* EntitySnapshotReference findUnique
|
|
1046
|
+
*/
|
|
1047
|
+
export type EntitySnapshotReferenceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1048
|
+
/**
|
|
1049
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1050
|
+
*/
|
|
1051
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1052
|
+
/**
|
|
1053
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1054
|
+
*/
|
|
1055
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1056
|
+
/**
|
|
1057
|
+
* Choose, which related nodes to fetch as well
|
|
1058
|
+
*/
|
|
1059
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1060
|
+
/**
|
|
1061
|
+
* Filter, which EntitySnapshotReference to fetch.
|
|
1062
|
+
*/
|
|
1063
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* EntitySnapshotReference findUniqueOrThrow
|
|
1068
|
+
*/
|
|
1069
|
+
export type EntitySnapshotReferenceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1072
|
+
*/
|
|
1073
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1074
|
+
/**
|
|
1075
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1076
|
+
*/
|
|
1077
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1078
|
+
/**
|
|
1079
|
+
* Choose, which related nodes to fetch as well
|
|
1080
|
+
*/
|
|
1081
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1082
|
+
/**
|
|
1083
|
+
* Filter, which EntitySnapshotReference to fetch.
|
|
1084
|
+
*/
|
|
1085
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* EntitySnapshotReference findFirst
|
|
1090
|
+
*/
|
|
1091
|
+
export type EntitySnapshotReferenceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1092
|
+
/**
|
|
1093
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1094
|
+
*/
|
|
1095
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1096
|
+
/**
|
|
1097
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1098
|
+
*/
|
|
1099
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1100
|
+
/**
|
|
1101
|
+
* Choose, which related nodes to fetch as well
|
|
1102
|
+
*/
|
|
1103
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1104
|
+
/**
|
|
1105
|
+
* Filter, which EntitySnapshotReference to fetch.
|
|
1106
|
+
*/
|
|
1107
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1108
|
+
/**
|
|
1109
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1110
|
+
*
|
|
1111
|
+
* Determine the order of EntitySnapshotReferences to fetch.
|
|
1112
|
+
*/
|
|
1113
|
+
orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
|
|
1114
|
+
/**
|
|
1115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1116
|
+
*
|
|
1117
|
+
* Sets the position for searching for EntitySnapshotReferences.
|
|
1118
|
+
*/
|
|
1119
|
+
cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1120
|
+
/**
|
|
1121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1122
|
+
*
|
|
1123
|
+
* Take `±n` EntitySnapshotReferences from the position of the cursor.
|
|
1124
|
+
*/
|
|
1125
|
+
take?: number
|
|
1126
|
+
/**
|
|
1127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1128
|
+
*
|
|
1129
|
+
* Skip the first `n` EntitySnapshotReferences.
|
|
1130
|
+
*/
|
|
1131
|
+
skip?: number
|
|
1132
|
+
/**
|
|
1133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1134
|
+
*
|
|
1135
|
+
* Filter by unique combinations of EntitySnapshotReferences.
|
|
1136
|
+
*/
|
|
1137
|
+
distinct?: Prisma.EntitySnapshotReferenceScalarFieldEnum | Prisma.EntitySnapshotReferenceScalarFieldEnum[]
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* EntitySnapshotReference findFirstOrThrow
|
|
1142
|
+
*/
|
|
1143
|
+
export type EntitySnapshotReferenceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1144
|
+
/**
|
|
1145
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1146
|
+
*/
|
|
1147
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1148
|
+
/**
|
|
1149
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1150
|
+
*/
|
|
1151
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1152
|
+
/**
|
|
1153
|
+
* Choose, which related nodes to fetch as well
|
|
1154
|
+
*/
|
|
1155
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1156
|
+
/**
|
|
1157
|
+
* Filter, which EntitySnapshotReference to fetch.
|
|
1158
|
+
*/
|
|
1159
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1160
|
+
/**
|
|
1161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1162
|
+
*
|
|
1163
|
+
* Determine the order of EntitySnapshotReferences to fetch.
|
|
1164
|
+
*/
|
|
1165
|
+
orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
|
|
1166
|
+
/**
|
|
1167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1168
|
+
*
|
|
1169
|
+
* Sets the position for searching for EntitySnapshotReferences.
|
|
1170
|
+
*/
|
|
1171
|
+
cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1172
|
+
/**
|
|
1173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1174
|
+
*
|
|
1175
|
+
* Take `±n` EntitySnapshotReferences from the position of the cursor.
|
|
1176
|
+
*/
|
|
1177
|
+
take?: number
|
|
1178
|
+
/**
|
|
1179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1180
|
+
*
|
|
1181
|
+
* Skip the first `n` EntitySnapshotReferences.
|
|
1182
|
+
*/
|
|
1183
|
+
skip?: number
|
|
1184
|
+
/**
|
|
1185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1186
|
+
*
|
|
1187
|
+
* Filter by unique combinations of EntitySnapshotReferences.
|
|
1188
|
+
*/
|
|
1189
|
+
distinct?: Prisma.EntitySnapshotReferenceScalarFieldEnum | Prisma.EntitySnapshotReferenceScalarFieldEnum[]
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* EntitySnapshotReference findMany
|
|
1194
|
+
*/
|
|
1195
|
+
export type EntitySnapshotReferenceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1196
|
+
/**
|
|
1197
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1198
|
+
*/
|
|
1199
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1200
|
+
/**
|
|
1201
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1202
|
+
*/
|
|
1203
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1204
|
+
/**
|
|
1205
|
+
* Choose, which related nodes to fetch as well
|
|
1206
|
+
*/
|
|
1207
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1208
|
+
/**
|
|
1209
|
+
* Filter, which EntitySnapshotReferences to fetch.
|
|
1210
|
+
*/
|
|
1211
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1212
|
+
/**
|
|
1213
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1214
|
+
*
|
|
1215
|
+
* Determine the order of EntitySnapshotReferences to fetch.
|
|
1216
|
+
*/
|
|
1217
|
+
orderBy?: Prisma.EntitySnapshotReferenceOrderByWithRelationInput | Prisma.EntitySnapshotReferenceOrderByWithRelationInput[]
|
|
1218
|
+
/**
|
|
1219
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1220
|
+
*
|
|
1221
|
+
* Sets the position for listing EntitySnapshotReferences.
|
|
1222
|
+
*/
|
|
1223
|
+
cursor?: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1224
|
+
/**
|
|
1225
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1226
|
+
*
|
|
1227
|
+
* Take `±n` EntitySnapshotReferences from the position of the cursor.
|
|
1228
|
+
*/
|
|
1229
|
+
take?: number
|
|
1230
|
+
/**
|
|
1231
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1232
|
+
*
|
|
1233
|
+
* Skip the first `n` EntitySnapshotReferences.
|
|
1234
|
+
*/
|
|
1235
|
+
skip?: number
|
|
1236
|
+
distinct?: Prisma.EntitySnapshotReferenceScalarFieldEnum | Prisma.EntitySnapshotReferenceScalarFieldEnum[]
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* EntitySnapshotReference create
|
|
1241
|
+
*/
|
|
1242
|
+
export type EntitySnapshotReferenceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1243
|
+
/**
|
|
1244
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1245
|
+
*/
|
|
1246
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1247
|
+
/**
|
|
1248
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1249
|
+
*/
|
|
1250
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Choose, which related nodes to fetch as well
|
|
1253
|
+
*/
|
|
1254
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1255
|
+
/**
|
|
1256
|
+
* The data needed to create a EntitySnapshotReference.
|
|
1257
|
+
*/
|
|
1258
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateInput, Prisma.EntitySnapshotReferenceUncheckedCreateInput>
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* EntitySnapshotReference createMany
|
|
1263
|
+
*/
|
|
1264
|
+
export type EntitySnapshotReferenceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1265
|
+
/**
|
|
1266
|
+
* The data used to create many EntitySnapshotReferences.
|
|
1267
|
+
*/
|
|
1268
|
+
data: Prisma.EntitySnapshotReferenceCreateManyInput | Prisma.EntitySnapshotReferenceCreateManyInput[]
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* EntitySnapshotReference createManyAndReturn
|
|
1273
|
+
*/
|
|
1274
|
+
export type EntitySnapshotReferenceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1277
|
+
*/
|
|
1278
|
+
select?: Prisma.EntitySnapshotReferenceSelectCreateManyAndReturn<ExtArgs> | null
|
|
1279
|
+
/**
|
|
1280
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1281
|
+
*/
|
|
1282
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1283
|
+
/**
|
|
1284
|
+
* The data used to create many EntitySnapshotReferences.
|
|
1285
|
+
*/
|
|
1286
|
+
data: Prisma.EntitySnapshotReferenceCreateManyInput | Prisma.EntitySnapshotReferenceCreateManyInput[]
|
|
1287
|
+
/**
|
|
1288
|
+
* Choose, which related nodes to fetch as well
|
|
1289
|
+
*/
|
|
1290
|
+
include?: Prisma.EntitySnapshotReferenceIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* EntitySnapshotReference update
|
|
1295
|
+
*/
|
|
1296
|
+
export type EntitySnapshotReferenceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1299
|
+
*/
|
|
1300
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1301
|
+
/**
|
|
1302
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1303
|
+
*/
|
|
1304
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1305
|
+
/**
|
|
1306
|
+
* Choose, which related nodes to fetch as well
|
|
1307
|
+
*/
|
|
1308
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1309
|
+
/**
|
|
1310
|
+
* The data needed to update a EntitySnapshotReference.
|
|
1311
|
+
*/
|
|
1312
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateInput, Prisma.EntitySnapshotReferenceUncheckedUpdateInput>
|
|
1313
|
+
/**
|
|
1314
|
+
* Choose, which EntitySnapshotReference to update.
|
|
1315
|
+
*/
|
|
1316
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* EntitySnapshotReference updateMany
|
|
1321
|
+
*/
|
|
1322
|
+
export type EntitySnapshotReferenceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1323
|
+
/**
|
|
1324
|
+
* The data used to update EntitySnapshotReferences.
|
|
1325
|
+
*/
|
|
1326
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateManyMutationInput, Prisma.EntitySnapshotReferenceUncheckedUpdateManyInput>
|
|
1327
|
+
/**
|
|
1328
|
+
* Filter which EntitySnapshotReferences to update
|
|
1329
|
+
*/
|
|
1330
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1331
|
+
/**
|
|
1332
|
+
* Limit how many EntitySnapshotReferences to update.
|
|
1333
|
+
*/
|
|
1334
|
+
limit?: number
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* EntitySnapshotReference updateManyAndReturn
|
|
1339
|
+
*/
|
|
1340
|
+
export type EntitySnapshotReferenceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1343
|
+
*/
|
|
1344
|
+
select?: Prisma.EntitySnapshotReferenceSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1347
|
+
*/
|
|
1348
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* The data used to update EntitySnapshotReferences.
|
|
1351
|
+
*/
|
|
1352
|
+
data: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateManyMutationInput, Prisma.EntitySnapshotReferenceUncheckedUpdateManyInput>
|
|
1353
|
+
/**
|
|
1354
|
+
* Filter which EntitySnapshotReferences to update
|
|
1355
|
+
*/
|
|
1356
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1357
|
+
/**
|
|
1358
|
+
* Limit how many EntitySnapshotReferences to update.
|
|
1359
|
+
*/
|
|
1360
|
+
limit?: number
|
|
1361
|
+
/**
|
|
1362
|
+
* Choose, which related nodes to fetch as well
|
|
1363
|
+
*/
|
|
1364
|
+
include?: Prisma.EntitySnapshotReferenceIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* EntitySnapshotReference upsert
|
|
1369
|
+
*/
|
|
1370
|
+
export type EntitySnapshotReferenceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1371
|
+
/**
|
|
1372
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1373
|
+
*/
|
|
1374
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1375
|
+
/**
|
|
1376
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1377
|
+
*/
|
|
1378
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1379
|
+
/**
|
|
1380
|
+
* Choose, which related nodes to fetch as well
|
|
1381
|
+
*/
|
|
1382
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1383
|
+
/**
|
|
1384
|
+
* The filter to search for the EntitySnapshotReference to update in case it exists.
|
|
1385
|
+
*/
|
|
1386
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1387
|
+
/**
|
|
1388
|
+
* In case the EntitySnapshotReference found by the `where` argument doesn't exist, create a new EntitySnapshotReference with this data.
|
|
1389
|
+
*/
|
|
1390
|
+
create: Prisma.XOR<Prisma.EntitySnapshotReferenceCreateInput, Prisma.EntitySnapshotReferenceUncheckedCreateInput>
|
|
1391
|
+
/**
|
|
1392
|
+
* In case the EntitySnapshotReference was found with the provided `where` argument, update it with this data.
|
|
1393
|
+
*/
|
|
1394
|
+
update: Prisma.XOR<Prisma.EntitySnapshotReferenceUpdateInput, Prisma.EntitySnapshotReferenceUncheckedUpdateInput>
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* EntitySnapshotReference delete
|
|
1399
|
+
*/
|
|
1400
|
+
export type EntitySnapshotReferenceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1401
|
+
/**
|
|
1402
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1403
|
+
*/
|
|
1404
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1405
|
+
/**
|
|
1406
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1407
|
+
*/
|
|
1408
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1409
|
+
/**
|
|
1410
|
+
* Choose, which related nodes to fetch as well
|
|
1411
|
+
*/
|
|
1412
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1413
|
+
/**
|
|
1414
|
+
* Filter which EntitySnapshotReference to delete.
|
|
1415
|
+
*/
|
|
1416
|
+
where: Prisma.EntitySnapshotReferenceWhereUniqueInput
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* EntitySnapshotReference deleteMany
|
|
1421
|
+
*/
|
|
1422
|
+
export type EntitySnapshotReferenceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1423
|
+
/**
|
|
1424
|
+
* Filter which EntitySnapshotReferences to delete
|
|
1425
|
+
*/
|
|
1426
|
+
where?: Prisma.EntitySnapshotReferenceWhereInput
|
|
1427
|
+
/**
|
|
1428
|
+
* Limit how many EntitySnapshotReferences to delete.
|
|
1429
|
+
*/
|
|
1430
|
+
limit?: number
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* EntitySnapshotReference without action
|
|
1435
|
+
*/
|
|
1436
|
+
export type EntitySnapshotReferenceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
/**
|
|
1438
|
+
* Select specific fields to fetch from the EntitySnapshotReference
|
|
1439
|
+
*/
|
|
1440
|
+
select?: Prisma.EntitySnapshotReferenceSelect<ExtArgs> | null
|
|
1441
|
+
/**
|
|
1442
|
+
* Omit specific fields from the EntitySnapshotReference
|
|
1443
|
+
*/
|
|
1444
|
+
omit?: Prisma.EntitySnapshotReferenceOmit<ExtArgs> | null
|
|
1445
|
+
/**
|
|
1446
|
+
* Choose, which related nodes to fetch as well
|
|
1447
|
+
*/
|
|
1448
|
+
include?: Prisma.EntitySnapshotReferenceInclude<ExtArgs> | null
|
|
1449
|
+
}
|