@prenta/core 1.1.1 → 2.2.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/CHANGELOG.md +18 -0
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +0 -2
- package/dist/api/handlers.js.map +1 -1
- package/dist/api/routes/media.d.ts.map +1 -1
- package/dist/api/routes/media.js +73 -104
- package/dist/api/routes/media.js.map +1 -1
- package/dist/api/routes/saved-sections.d.ts.map +1 -1
- package/dist/api/routes/saved-sections.js +20 -300
- package/dist/api/routes/saved-sections.js.map +1 -1
- package/dist/appearance/resolve.js +1 -1
- package/dist/appearance/resolve.js.map +1 -1
- package/dist/collections/presets.d.ts +2 -2
- package/dist/collections/presets.js +2 -2
- package/dist/config/runtime.d.ts +1 -2
- package/dist/config/runtime.d.ts.map +1 -1
- package/dist/config/runtime.js.map +1 -1
- package/dist/config/types.d.ts +0 -3
- package/dist/config/types.d.ts.map +1 -1
- package/dist/db/model-types.d.ts +67 -26
- package/dist/db/model-types.d.ts.map +1 -1
- package/dist/generated/browser.d.ts +16 -0
- package/dist/generated/client.d.ts +16 -0
- package/dist/generated/commonInputTypes.d.ts +30 -0
- package/dist/generated/internal/class.d.ts +33 -0
- package/dist/generated/internal/class.js +4 -4
- package/dist/generated/internal/prismaNamespace.d.ts +294 -1
- package/dist/generated/internal/prismaNamespace.js +55 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +60 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +55 -1
- package/dist/generated/models/DocumentCRDT.d.ts +1110 -0
- package/dist/generated/models/DocumentCRDT.js +1 -0
- package/dist/generated/models/DocumentComment.d.ts +1722 -0
- package/dist/generated/models/DocumentComment.js +1 -0
- package/dist/generated/models/DocumentNotification.d.ts +1289 -0
- package/dist/generated/models/DocumentNotification.js +1 -0
- package/dist/generated/models/User.d.ts +552 -0
- package/dist/generated/models.d.ts +3 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/media/index.d.ts +2 -0
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +1 -0
- package/dist/media/index.js.map +1 -1
- package/dist/media/optimize.d.ts.map +1 -1
- package/dist/media/optimize.js +19 -12
- package/dist/media/optimize.js.map +1 -1
- package/dist/media/reoptimize.d.ts +61 -0
- package/dist/media/reoptimize.d.ts.map +1 -0
- package/dist/media/reoptimize.js +371 -0
- package/dist/media/reoptimize.js.map +1 -0
- package/dist/sections/index.d.ts +1 -2
- package/dist/sections/index.d.ts.map +1 -1
- package/dist/sections/index.js +1 -2
- package/dist/sections/index.js.map +1 -1
- package/dist/sections/types.d.ts +2 -3
- package/dist/sections/types.d.ts.map +1 -1
- package/dist/sections/types.js +2 -3
- package/dist/sections/types.js.map +1 -1
- package/dist/security/api-key-enhanced.d.ts +2 -2
- package/package.json +1 -6
- package/prisma/migrations/0013_document_collab_models/migration.sql +68 -0
- package/prisma/schema.prisma +66 -5
- package/dist/api/routes/page-templates.d.ts +0 -3
- package/dist/api/routes/page-templates.d.ts.map +0 -1
- package/dist/api/routes/page-templates.js +0 -265
- package/dist/api/routes/page-templates.js.map +0 -1
- package/dist/page-builder/a11y-fix.d.ts +0 -20
- package/dist/page-builder/a11y-fix.d.ts.map +0 -1
- package/dist/page-builder/a11y-fix.js +0 -182
- package/dist/page-builder/a11y-fix.js.map +0 -1
- package/dist/page-builder/ai-pipeline.d.ts +0 -43
- package/dist/page-builder/ai-pipeline.d.ts.map +0 -1
- package/dist/page-builder/ai-pipeline.js +0 -165
- package/dist/page-builder/ai-pipeline.js.map +0 -1
- package/dist/page-builder/blocks.d.ts +0 -27
- package/dist/page-builder/blocks.d.ts.map +0 -1
- package/dist/page-builder/blocks.js +0 -313
- package/dist/page-builder/blocks.js.map +0 -1
- package/dist/page-builder/design-scorer.d.ts +0 -27
- package/dist/page-builder/design-scorer.d.ts.map +0 -1
- package/dist/page-builder/design-scorer.js +0 -612
- package/dist/page-builder/design-scorer.js.map +0 -1
- package/dist/page-builder/index.d.ts +0 -16
- package/dist/page-builder/index.d.ts.map +0 -1
- package/dist/page-builder/index.js +0 -18
- package/dist/page-builder/index.js.map +0 -1
- package/dist/page-builder/schema.d.ts +0 -107
- package/dist/page-builder/schema.d.ts.map +0 -1
- package/dist/page-builder/schema.js +0 -90
- package/dist/page-builder/schema.js.map +0 -1
- package/dist/page-builder/templates.d.ts +0 -9
- package/dist/page-builder/templates.d.ts.map +0 -1
- package/dist/page-builder/templates.js +0 -742
- package/dist/page-builder/templates.js.map +0 -1
- package/dist/page-builder/tree.d.ts +0 -17
- package/dist/page-builder/tree.d.ts.map +0 -1
- package/dist/page-builder/tree.js +0 -160
- package/dist/page-builder/tree.js.map +0 -1
- package/dist/page-builder/types.d.ts +0 -112
- package/dist/page-builder/types.d.ts.map +0 -1
- package/dist/page-builder/types.js +0 -4
- package/dist/page-builder/types.js.map +0 -1
- package/dist/page-builder/validate.d.ts +0 -6
- package/dist/page-builder/validate.d.ts.map +0 -1
- package/dist/page-builder/validate.js +0 -87
- package/dist/page-builder/validate.js.map +0 -1
|
@@ -0,0 +1,1722 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model DocumentComment
|
|
5
|
+
* Threaded inline comment. Soft-deletes keep replies attached. Optional.
|
|
6
|
+
*/
|
|
7
|
+
export type DocumentCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$DocumentCommentPayload>;
|
|
8
|
+
export type AggregateDocumentComment = {
|
|
9
|
+
_count: DocumentCommentCountAggregateOutputType | null;
|
|
10
|
+
_min: DocumentCommentMinAggregateOutputType | null;
|
|
11
|
+
_max: DocumentCommentMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type DocumentCommentMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
documentId: string | null;
|
|
16
|
+
parentId: string | null;
|
|
17
|
+
userId: string | null;
|
|
18
|
+
body: string | null;
|
|
19
|
+
resolvedAt: Date | null;
|
|
20
|
+
resolvedById: string | null;
|
|
21
|
+
deletedAt: Date | null;
|
|
22
|
+
createdAt: Date | null;
|
|
23
|
+
updatedAt: Date | null;
|
|
24
|
+
};
|
|
25
|
+
export type DocumentCommentMaxAggregateOutputType = {
|
|
26
|
+
id: string | null;
|
|
27
|
+
documentId: string | null;
|
|
28
|
+
parentId: string | null;
|
|
29
|
+
userId: string | null;
|
|
30
|
+
body: string | null;
|
|
31
|
+
resolvedAt: Date | null;
|
|
32
|
+
resolvedById: string | null;
|
|
33
|
+
deletedAt: Date | null;
|
|
34
|
+
createdAt: Date | null;
|
|
35
|
+
updatedAt: Date | null;
|
|
36
|
+
};
|
|
37
|
+
export type DocumentCommentCountAggregateOutputType = {
|
|
38
|
+
id: number;
|
|
39
|
+
documentId: number;
|
|
40
|
+
parentId: number;
|
|
41
|
+
userId: number;
|
|
42
|
+
body: number;
|
|
43
|
+
anchor: number;
|
|
44
|
+
resolvedAt: number;
|
|
45
|
+
resolvedById: number;
|
|
46
|
+
deletedAt: number;
|
|
47
|
+
createdAt: number;
|
|
48
|
+
updatedAt: number;
|
|
49
|
+
_all: number;
|
|
50
|
+
};
|
|
51
|
+
export type DocumentCommentMinAggregateInputType = {
|
|
52
|
+
id?: true;
|
|
53
|
+
documentId?: true;
|
|
54
|
+
parentId?: true;
|
|
55
|
+
userId?: true;
|
|
56
|
+
body?: true;
|
|
57
|
+
resolvedAt?: true;
|
|
58
|
+
resolvedById?: true;
|
|
59
|
+
deletedAt?: true;
|
|
60
|
+
createdAt?: true;
|
|
61
|
+
updatedAt?: true;
|
|
62
|
+
};
|
|
63
|
+
export type DocumentCommentMaxAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
documentId?: true;
|
|
66
|
+
parentId?: true;
|
|
67
|
+
userId?: true;
|
|
68
|
+
body?: true;
|
|
69
|
+
resolvedAt?: true;
|
|
70
|
+
resolvedById?: true;
|
|
71
|
+
deletedAt?: true;
|
|
72
|
+
createdAt?: true;
|
|
73
|
+
updatedAt?: true;
|
|
74
|
+
};
|
|
75
|
+
export type DocumentCommentCountAggregateInputType = {
|
|
76
|
+
id?: true;
|
|
77
|
+
documentId?: true;
|
|
78
|
+
parentId?: true;
|
|
79
|
+
userId?: true;
|
|
80
|
+
body?: true;
|
|
81
|
+
anchor?: true;
|
|
82
|
+
resolvedAt?: true;
|
|
83
|
+
resolvedById?: true;
|
|
84
|
+
deletedAt?: true;
|
|
85
|
+
createdAt?: true;
|
|
86
|
+
updatedAt?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type DocumentCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which DocumentComment to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of DocumentComments to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.DocumentCommentOrderByWithRelationInput | Prisma.DocumentCommentOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.DocumentCommentWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` DocumentComments from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` DocumentComments.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned DocumentComments
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | DocumentCommentCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the minimum value
|
|
128
|
+
**/
|
|
129
|
+
_min?: DocumentCommentMinAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the maximum value
|
|
134
|
+
**/
|
|
135
|
+
_max?: DocumentCommentMaxAggregateInputType;
|
|
136
|
+
};
|
|
137
|
+
export type GetDocumentCommentAggregateType<T extends DocumentCommentAggregateArgs> = {
|
|
138
|
+
[P in keyof T & keyof AggregateDocumentComment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDocumentComment[P]> : Prisma.GetScalarType<T[P], AggregateDocumentComment[P]>;
|
|
139
|
+
};
|
|
140
|
+
export type DocumentCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
141
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
142
|
+
orderBy?: Prisma.DocumentCommentOrderByWithAggregationInput | Prisma.DocumentCommentOrderByWithAggregationInput[];
|
|
143
|
+
by: Prisma.DocumentCommentScalarFieldEnum[] | Prisma.DocumentCommentScalarFieldEnum;
|
|
144
|
+
having?: Prisma.DocumentCommentScalarWhereWithAggregatesInput;
|
|
145
|
+
take?: number;
|
|
146
|
+
skip?: number;
|
|
147
|
+
_count?: DocumentCommentCountAggregateInputType | true;
|
|
148
|
+
_min?: DocumentCommentMinAggregateInputType;
|
|
149
|
+
_max?: DocumentCommentMaxAggregateInputType;
|
|
150
|
+
};
|
|
151
|
+
export type DocumentCommentGroupByOutputType = {
|
|
152
|
+
id: string;
|
|
153
|
+
documentId: string;
|
|
154
|
+
parentId: string | null;
|
|
155
|
+
userId: string | null;
|
|
156
|
+
body: string;
|
|
157
|
+
anchor: runtime.JsonValue | null;
|
|
158
|
+
resolvedAt: Date | null;
|
|
159
|
+
resolvedById: string | null;
|
|
160
|
+
deletedAt: Date | null;
|
|
161
|
+
createdAt: Date;
|
|
162
|
+
updatedAt: Date;
|
|
163
|
+
_count: DocumentCommentCountAggregateOutputType | null;
|
|
164
|
+
_min: DocumentCommentMinAggregateOutputType | null;
|
|
165
|
+
_max: DocumentCommentMaxAggregateOutputType | null;
|
|
166
|
+
};
|
|
167
|
+
export type GetDocumentCommentGroupByPayload<T extends DocumentCommentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DocumentCommentGroupByOutputType, T['by']> & {
|
|
168
|
+
[P in ((keyof T) & (keyof DocumentCommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DocumentCommentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DocumentCommentGroupByOutputType[P]>;
|
|
169
|
+
}>>;
|
|
170
|
+
export type DocumentCommentWhereInput = {
|
|
171
|
+
AND?: Prisma.DocumentCommentWhereInput | Prisma.DocumentCommentWhereInput[];
|
|
172
|
+
OR?: Prisma.DocumentCommentWhereInput[];
|
|
173
|
+
NOT?: Prisma.DocumentCommentWhereInput | Prisma.DocumentCommentWhereInput[];
|
|
174
|
+
id?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
175
|
+
documentId?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
176
|
+
parentId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
177
|
+
userId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
178
|
+
body?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
179
|
+
anchor?: Prisma.JsonNullableFilter<"DocumentComment">;
|
|
180
|
+
resolvedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
181
|
+
resolvedById?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
182
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
183
|
+
createdAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
184
|
+
updatedAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
185
|
+
parent?: Prisma.XOR<Prisma.DocumentCommentNullableScalarRelationFilter, Prisma.DocumentCommentWhereInput> | null;
|
|
186
|
+
replies?: Prisma.DocumentCommentListRelationFilter;
|
|
187
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
188
|
+
};
|
|
189
|
+
export type DocumentCommentOrderByWithRelationInput = {
|
|
190
|
+
id?: Prisma.SortOrder;
|
|
191
|
+
documentId?: Prisma.SortOrder;
|
|
192
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
193
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
194
|
+
body?: Prisma.SortOrder;
|
|
195
|
+
anchor?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
196
|
+
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
197
|
+
resolvedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
198
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
199
|
+
createdAt?: Prisma.SortOrder;
|
|
200
|
+
updatedAt?: Prisma.SortOrder;
|
|
201
|
+
parent?: Prisma.DocumentCommentOrderByWithRelationInput;
|
|
202
|
+
replies?: Prisma.DocumentCommentOrderByRelationAggregateInput;
|
|
203
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
204
|
+
_relevance?: Prisma.DocumentCommentOrderByRelevanceInput;
|
|
205
|
+
};
|
|
206
|
+
export type DocumentCommentWhereUniqueInput = Prisma.AtLeast<{
|
|
207
|
+
id?: string;
|
|
208
|
+
AND?: Prisma.DocumentCommentWhereInput | Prisma.DocumentCommentWhereInput[];
|
|
209
|
+
OR?: Prisma.DocumentCommentWhereInput[];
|
|
210
|
+
NOT?: Prisma.DocumentCommentWhereInput | Prisma.DocumentCommentWhereInput[];
|
|
211
|
+
documentId?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
212
|
+
parentId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
213
|
+
userId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
214
|
+
body?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
215
|
+
anchor?: Prisma.JsonNullableFilter<"DocumentComment">;
|
|
216
|
+
resolvedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
217
|
+
resolvedById?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
218
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
219
|
+
createdAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
220
|
+
updatedAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
221
|
+
parent?: Prisma.XOR<Prisma.DocumentCommentNullableScalarRelationFilter, Prisma.DocumentCommentWhereInput> | null;
|
|
222
|
+
replies?: Prisma.DocumentCommentListRelationFilter;
|
|
223
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
224
|
+
}, "id">;
|
|
225
|
+
export type DocumentCommentOrderByWithAggregationInput = {
|
|
226
|
+
id?: Prisma.SortOrder;
|
|
227
|
+
documentId?: Prisma.SortOrder;
|
|
228
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
body?: Prisma.SortOrder;
|
|
231
|
+
anchor?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
|
+
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
233
|
+
resolvedById?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
|
+
createdAt?: Prisma.SortOrder;
|
|
236
|
+
updatedAt?: Prisma.SortOrder;
|
|
237
|
+
_count?: Prisma.DocumentCommentCountOrderByAggregateInput;
|
|
238
|
+
_max?: Prisma.DocumentCommentMaxOrderByAggregateInput;
|
|
239
|
+
_min?: Prisma.DocumentCommentMinOrderByAggregateInput;
|
|
240
|
+
};
|
|
241
|
+
export type DocumentCommentScalarWhereWithAggregatesInput = {
|
|
242
|
+
AND?: Prisma.DocumentCommentScalarWhereWithAggregatesInput | Prisma.DocumentCommentScalarWhereWithAggregatesInput[];
|
|
243
|
+
OR?: Prisma.DocumentCommentScalarWhereWithAggregatesInput[];
|
|
244
|
+
NOT?: Prisma.DocumentCommentScalarWhereWithAggregatesInput | Prisma.DocumentCommentScalarWhereWithAggregatesInput[];
|
|
245
|
+
id?: Prisma.StringWithAggregatesFilter<"DocumentComment"> | string;
|
|
246
|
+
documentId?: Prisma.StringWithAggregatesFilter<"DocumentComment"> | string;
|
|
247
|
+
parentId?: Prisma.StringNullableWithAggregatesFilter<"DocumentComment"> | string | null;
|
|
248
|
+
userId?: Prisma.StringNullableWithAggregatesFilter<"DocumentComment"> | string | null;
|
|
249
|
+
body?: Prisma.StringWithAggregatesFilter<"DocumentComment"> | string;
|
|
250
|
+
anchor?: Prisma.JsonNullableWithAggregatesFilter<"DocumentComment">;
|
|
251
|
+
resolvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DocumentComment"> | Date | string | null;
|
|
252
|
+
resolvedById?: Prisma.StringNullableWithAggregatesFilter<"DocumentComment"> | string | null;
|
|
253
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DocumentComment"> | Date | string | null;
|
|
254
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentComment"> | Date | string;
|
|
255
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentComment"> | Date | string;
|
|
256
|
+
};
|
|
257
|
+
export type DocumentCommentCreateInput = {
|
|
258
|
+
id?: string;
|
|
259
|
+
documentId: string;
|
|
260
|
+
body: string;
|
|
261
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
262
|
+
resolvedAt?: Date | string | null;
|
|
263
|
+
resolvedById?: string | null;
|
|
264
|
+
deletedAt?: Date | string | null;
|
|
265
|
+
createdAt?: Date | string;
|
|
266
|
+
updatedAt?: Date | string;
|
|
267
|
+
parent?: Prisma.DocumentCommentCreateNestedOneWithoutRepliesInput;
|
|
268
|
+
replies?: Prisma.DocumentCommentCreateNestedManyWithoutParentInput;
|
|
269
|
+
user?: Prisma.UserCreateNestedOneWithoutDocumentCommentsInput;
|
|
270
|
+
};
|
|
271
|
+
export type DocumentCommentUncheckedCreateInput = {
|
|
272
|
+
id?: string;
|
|
273
|
+
documentId: string;
|
|
274
|
+
parentId?: string | null;
|
|
275
|
+
userId?: string | null;
|
|
276
|
+
body: string;
|
|
277
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
278
|
+
resolvedAt?: Date | string | null;
|
|
279
|
+
resolvedById?: string | null;
|
|
280
|
+
deletedAt?: Date | string | null;
|
|
281
|
+
createdAt?: Date | string;
|
|
282
|
+
updatedAt?: Date | string;
|
|
283
|
+
replies?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutParentInput;
|
|
284
|
+
};
|
|
285
|
+
export type DocumentCommentUpdateInput = {
|
|
286
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
287
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
288
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
290
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
291
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
292
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
293
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
294
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
295
|
+
parent?: Prisma.DocumentCommentUpdateOneWithoutRepliesNestedInput;
|
|
296
|
+
replies?: Prisma.DocumentCommentUpdateManyWithoutParentNestedInput;
|
|
297
|
+
user?: Prisma.UserUpdateOneWithoutDocumentCommentsNestedInput;
|
|
298
|
+
};
|
|
299
|
+
export type DocumentCommentUncheckedUpdateInput = {
|
|
300
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
302
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
303
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
304
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
305
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
306
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
307
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
308
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
309
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
310
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
311
|
+
replies?: Prisma.DocumentCommentUncheckedUpdateManyWithoutParentNestedInput;
|
|
312
|
+
};
|
|
313
|
+
export type DocumentCommentCreateManyInput = {
|
|
314
|
+
id?: string;
|
|
315
|
+
documentId: string;
|
|
316
|
+
parentId?: string | null;
|
|
317
|
+
userId?: string | null;
|
|
318
|
+
body: string;
|
|
319
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
320
|
+
resolvedAt?: Date | string | null;
|
|
321
|
+
resolvedById?: string | null;
|
|
322
|
+
deletedAt?: Date | string | null;
|
|
323
|
+
createdAt?: Date | string;
|
|
324
|
+
updatedAt?: Date | string;
|
|
325
|
+
};
|
|
326
|
+
export type DocumentCommentUpdateManyMutationInput = {
|
|
327
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
328
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
329
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
330
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
331
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
332
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
333
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
334
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
335
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
336
|
+
};
|
|
337
|
+
export type DocumentCommentUncheckedUpdateManyInput = {
|
|
338
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
339
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
340
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
341
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
342
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
343
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
344
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
345
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
346
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
347
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
348
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
349
|
+
};
|
|
350
|
+
export type DocumentCommentListRelationFilter = {
|
|
351
|
+
every?: Prisma.DocumentCommentWhereInput;
|
|
352
|
+
some?: Prisma.DocumentCommentWhereInput;
|
|
353
|
+
none?: Prisma.DocumentCommentWhereInput;
|
|
354
|
+
};
|
|
355
|
+
export type DocumentCommentOrderByRelationAggregateInput = {
|
|
356
|
+
_count?: Prisma.SortOrder;
|
|
357
|
+
};
|
|
358
|
+
export type DocumentCommentNullableScalarRelationFilter = {
|
|
359
|
+
is?: Prisma.DocumentCommentWhereInput | null;
|
|
360
|
+
isNot?: Prisma.DocumentCommentWhereInput | null;
|
|
361
|
+
};
|
|
362
|
+
export type DocumentCommentOrderByRelevanceInput = {
|
|
363
|
+
fields: Prisma.DocumentCommentOrderByRelevanceFieldEnum | Prisma.DocumentCommentOrderByRelevanceFieldEnum[];
|
|
364
|
+
sort: Prisma.SortOrder;
|
|
365
|
+
search: string;
|
|
366
|
+
};
|
|
367
|
+
export type DocumentCommentCountOrderByAggregateInput = {
|
|
368
|
+
id?: Prisma.SortOrder;
|
|
369
|
+
documentId?: Prisma.SortOrder;
|
|
370
|
+
parentId?: Prisma.SortOrder;
|
|
371
|
+
userId?: Prisma.SortOrder;
|
|
372
|
+
body?: Prisma.SortOrder;
|
|
373
|
+
anchor?: Prisma.SortOrder;
|
|
374
|
+
resolvedAt?: Prisma.SortOrder;
|
|
375
|
+
resolvedById?: Prisma.SortOrder;
|
|
376
|
+
deletedAt?: Prisma.SortOrder;
|
|
377
|
+
createdAt?: Prisma.SortOrder;
|
|
378
|
+
updatedAt?: Prisma.SortOrder;
|
|
379
|
+
};
|
|
380
|
+
export type DocumentCommentMaxOrderByAggregateInput = {
|
|
381
|
+
id?: Prisma.SortOrder;
|
|
382
|
+
documentId?: Prisma.SortOrder;
|
|
383
|
+
parentId?: Prisma.SortOrder;
|
|
384
|
+
userId?: Prisma.SortOrder;
|
|
385
|
+
body?: Prisma.SortOrder;
|
|
386
|
+
resolvedAt?: Prisma.SortOrder;
|
|
387
|
+
resolvedById?: Prisma.SortOrder;
|
|
388
|
+
deletedAt?: Prisma.SortOrder;
|
|
389
|
+
createdAt?: Prisma.SortOrder;
|
|
390
|
+
updatedAt?: Prisma.SortOrder;
|
|
391
|
+
};
|
|
392
|
+
export type DocumentCommentMinOrderByAggregateInput = {
|
|
393
|
+
id?: Prisma.SortOrder;
|
|
394
|
+
documentId?: Prisma.SortOrder;
|
|
395
|
+
parentId?: Prisma.SortOrder;
|
|
396
|
+
userId?: Prisma.SortOrder;
|
|
397
|
+
body?: Prisma.SortOrder;
|
|
398
|
+
resolvedAt?: Prisma.SortOrder;
|
|
399
|
+
resolvedById?: Prisma.SortOrder;
|
|
400
|
+
deletedAt?: Prisma.SortOrder;
|
|
401
|
+
createdAt?: Prisma.SortOrder;
|
|
402
|
+
updatedAt?: Prisma.SortOrder;
|
|
403
|
+
};
|
|
404
|
+
export type DocumentCommentCreateNestedManyWithoutUserInput = {
|
|
405
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput> | Prisma.DocumentCommentCreateWithoutUserInput[] | Prisma.DocumentCommentUncheckedCreateWithoutUserInput[];
|
|
406
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutUserInput | Prisma.DocumentCommentCreateOrConnectWithoutUserInput[];
|
|
407
|
+
createMany?: Prisma.DocumentCommentCreateManyUserInputEnvelope;
|
|
408
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
409
|
+
};
|
|
410
|
+
export type DocumentCommentUncheckedCreateNestedManyWithoutUserInput = {
|
|
411
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput> | Prisma.DocumentCommentCreateWithoutUserInput[] | Prisma.DocumentCommentUncheckedCreateWithoutUserInput[];
|
|
412
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutUserInput | Prisma.DocumentCommentCreateOrConnectWithoutUserInput[];
|
|
413
|
+
createMany?: Prisma.DocumentCommentCreateManyUserInputEnvelope;
|
|
414
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
415
|
+
};
|
|
416
|
+
export type DocumentCommentUpdateManyWithoutUserNestedInput = {
|
|
417
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput> | Prisma.DocumentCommentCreateWithoutUserInput[] | Prisma.DocumentCommentUncheckedCreateWithoutUserInput[];
|
|
418
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutUserInput | Prisma.DocumentCommentCreateOrConnectWithoutUserInput[];
|
|
419
|
+
upsert?: Prisma.DocumentCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.DocumentCommentUpsertWithWhereUniqueWithoutUserInput[];
|
|
420
|
+
createMany?: Prisma.DocumentCommentCreateManyUserInputEnvelope;
|
|
421
|
+
set?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
422
|
+
disconnect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
423
|
+
delete?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
424
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
425
|
+
update?: Prisma.DocumentCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.DocumentCommentUpdateWithWhereUniqueWithoutUserInput[];
|
|
426
|
+
updateMany?: Prisma.DocumentCommentUpdateManyWithWhereWithoutUserInput | Prisma.DocumentCommentUpdateManyWithWhereWithoutUserInput[];
|
|
427
|
+
deleteMany?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
428
|
+
};
|
|
429
|
+
export type DocumentCommentUncheckedUpdateManyWithoutUserNestedInput = {
|
|
430
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput> | Prisma.DocumentCommentCreateWithoutUserInput[] | Prisma.DocumentCommentUncheckedCreateWithoutUserInput[];
|
|
431
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutUserInput | Prisma.DocumentCommentCreateOrConnectWithoutUserInput[];
|
|
432
|
+
upsert?: Prisma.DocumentCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.DocumentCommentUpsertWithWhereUniqueWithoutUserInput[];
|
|
433
|
+
createMany?: Prisma.DocumentCommentCreateManyUserInputEnvelope;
|
|
434
|
+
set?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
435
|
+
disconnect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
436
|
+
delete?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
437
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
438
|
+
update?: Prisma.DocumentCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.DocumentCommentUpdateWithWhereUniqueWithoutUserInput[];
|
|
439
|
+
updateMany?: Prisma.DocumentCommentUpdateManyWithWhereWithoutUserInput | Prisma.DocumentCommentUpdateManyWithWhereWithoutUserInput[];
|
|
440
|
+
deleteMany?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
441
|
+
};
|
|
442
|
+
export type DocumentCommentCreateNestedOneWithoutRepliesInput = {
|
|
443
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutRepliesInput, Prisma.DocumentCommentUncheckedCreateWithoutRepliesInput>;
|
|
444
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutRepliesInput;
|
|
445
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput;
|
|
446
|
+
};
|
|
447
|
+
export type DocumentCommentCreateNestedManyWithoutParentInput = {
|
|
448
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput> | Prisma.DocumentCommentCreateWithoutParentInput[] | Prisma.DocumentCommentUncheckedCreateWithoutParentInput[];
|
|
449
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutParentInput | Prisma.DocumentCommentCreateOrConnectWithoutParentInput[];
|
|
450
|
+
createMany?: Prisma.DocumentCommentCreateManyParentInputEnvelope;
|
|
451
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
452
|
+
};
|
|
453
|
+
export type DocumentCommentUncheckedCreateNestedManyWithoutParentInput = {
|
|
454
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput> | Prisma.DocumentCommentCreateWithoutParentInput[] | Prisma.DocumentCommentUncheckedCreateWithoutParentInput[];
|
|
455
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutParentInput | Prisma.DocumentCommentCreateOrConnectWithoutParentInput[];
|
|
456
|
+
createMany?: Prisma.DocumentCommentCreateManyParentInputEnvelope;
|
|
457
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
458
|
+
};
|
|
459
|
+
export type DocumentCommentUpdateOneWithoutRepliesNestedInput = {
|
|
460
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutRepliesInput, Prisma.DocumentCommentUncheckedCreateWithoutRepliesInput>;
|
|
461
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutRepliesInput;
|
|
462
|
+
upsert?: Prisma.DocumentCommentUpsertWithoutRepliesInput;
|
|
463
|
+
disconnect?: Prisma.DocumentCommentWhereInput | boolean;
|
|
464
|
+
delete?: Prisma.DocumentCommentWhereInput | boolean;
|
|
465
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput;
|
|
466
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DocumentCommentUpdateToOneWithWhereWithoutRepliesInput, Prisma.DocumentCommentUpdateWithoutRepliesInput>, Prisma.DocumentCommentUncheckedUpdateWithoutRepliesInput>;
|
|
467
|
+
};
|
|
468
|
+
export type DocumentCommentUpdateManyWithoutParentNestedInput = {
|
|
469
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput> | Prisma.DocumentCommentCreateWithoutParentInput[] | Prisma.DocumentCommentUncheckedCreateWithoutParentInput[];
|
|
470
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutParentInput | Prisma.DocumentCommentCreateOrConnectWithoutParentInput[];
|
|
471
|
+
upsert?: Prisma.DocumentCommentUpsertWithWhereUniqueWithoutParentInput | Prisma.DocumentCommentUpsertWithWhereUniqueWithoutParentInput[];
|
|
472
|
+
createMany?: Prisma.DocumentCommentCreateManyParentInputEnvelope;
|
|
473
|
+
set?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
474
|
+
disconnect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
475
|
+
delete?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
476
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
477
|
+
update?: Prisma.DocumentCommentUpdateWithWhereUniqueWithoutParentInput | Prisma.DocumentCommentUpdateWithWhereUniqueWithoutParentInput[];
|
|
478
|
+
updateMany?: Prisma.DocumentCommentUpdateManyWithWhereWithoutParentInput | Prisma.DocumentCommentUpdateManyWithWhereWithoutParentInput[];
|
|
479
|
+
deleteMany?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
480
|
+
};
|
|
481
|
+
export type DocumentCommentUncheckedUpdateManyWithoutParentNestedInput = {
|
|
482
|
+
create?: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput> | Prisma.DocumentCommentCreateWithoutParentInput[] | Prisma.DocumentCommentUncheckedCreateWithoutParentInput[];
|
|
483
|
+
connectOrCreate?: Prisma.DocumentCommentCreateOrConnectWithoutParentInput | Prisma.DocumentCommentCreateOrConnectWithoutParentInput[];
|
|
484
|
+
upsert?: Prisma.DocumentCommentUpsertWithWhereUniqueWithoutParentInput | Prisma.DocumentCommentUpsertWithWhereUniqueWithoutParentInput[];
|
|
485
|
+
createMany?: Prisma.DocumentCommentCreateManyParentInputEnvelope;
|
|
486
|
+
set?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
487
|
+
disconnect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
488
|
+
delete?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
489
|
+
connect?: Prisma.DocumentCommentWhereUniqueInput | Prisma.DocumentCommentWhereUniqueInput[];
|
|
490
|
+
update?: Prisma.DocumentCommentUpdateWithWhereUniqueWithoutParentInput | Prisma.DocumentCommentUpdateWithWhereUniqueWithoutParentInput[];
|
|
491
|
+
updateMany?: Prisma.DocumentCommentUpdateManyWithWhereWithoutParentInput | Prisma.DocumentCommentUpdateManyWithWhereWithoutParentInput[];
|
|
492
|
+
deleteMany?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
493
|
+
};
|
|
494
|
+
export type DocumentCommentCreateWithoutUserInput = {
|
|
495
|
+
id?: string;
|
|
496
|
+
documentId: string;
|
|
497
|
+
body: string;
|
|
498
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
499
|
+
resolvedAt?: Date | string | null;
|
|
500
|
+
resolvedById?: string | null;
|
|
501
|
+
deletedAt?: Date | string | null;
|
|
502
|
+
createdAt?: Date | string;
|
|
503
|
+
updatedAt?: Date | string;
|
|
504
|
+
parent?: Prisma.DocumentCommentCreateNestedOneWithoutRepliesInput;
|
|
505
|
+
replies?: Prisma.DocumentCommentCreateNestedManyWithoutParentInput;
|
|
506
|
+
};
|
|
507
|
+
export type DocumentCommentUncheckedCreateWithoutUserInput = {
|
|
508
|
+
id?: string;
|
|
509
|
+
documentId: string;
|
|
510
|
+
parentId?: string | null;
|
|
511
|
+
body: string;
|
|
512
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
513
|
+
resolvedAt?: Date | string | null;
|
|
514
|
+
resolvedById?: string | null;
|
|
515
|
+
deletedAt?: Date | string | null;
|
|
516
|
+
createdAt?: Date | string;
|
|
517
|
+
updatedAt?: Date | string;
|
|
518
|
+
replies?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutParentInput;
|
|
519
|
+
};
|
|
520
|
+
export type DocumentCommentCreateOrConnectWithoutUserInput = {
|
|
521
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
522
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput>;
|
|
523
|
+
};
|
|
524
|
+
export type DocumentCommentCreateManyUserInputEnvelope = {
|
|
525
|
+
data: Prisma.DocumentCommentCreateManyUserInput | Prisma.DocumentCommentCreateManyUserInput[];
|
|
526
|
+
skipDuplicates?: boolean;
|
|
527
|
+
};
|
|
528
|
+
export type DocumentCommentUpsertWithWhereUniqueWithoutUserInput = {
|
|
529
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
530
|
+
update: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutUserInput, Prisma.DocumentCommentUncheckedUpdateWithoutUserInput>;
|
|
531
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutUserInput, Prisma.DocumentCommentUncheckedCreateWithoutUserInput>;
|
|
532
|
+
};
|
|
533
|
+
export type DocumentCommentUpdateWithWhereUniqueWithoutUserInput = {
|
|
534
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
535
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutUserInput, Prisma.DocumentCommentUncheckedUpdateWithoutUserInput>;
|
|
536
|
+
};
|
|
537
|
+
export type DocumentCommentUpdateManyWithWhereWithoutUserInput = {
|
|
538
|
+
where: Prisma.DocumentCommentScalarWhereInput;
|
|
539
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateManyMutationInput, Prisma.DocumentCommentUncheckedUpdateManyWithoutUserInput>;
|
|
540
|
+
};
|
|
541
|
+
export type DocumentCommentScalarWhereInput = {
|
|
542
|
+
AND?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
543
|
+
OR?: Prisma.DocumentCommentScalarWhereInput[];
|
|
544
|
+
NOT?: Prisma.DocumentCommentScalarWhereInput | Prisma.DocumentCommentScalarWhereInput[];
|
|
545
|
+
id?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
546
|
+
documentId?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
547
|
+
parentId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
548
|
+
userId?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
549
|
+
body?: Prisma.StringFilter<"DocumentComment"> | string;
|
|
550
|
+
anchor?: Prisma.JsonNullableFilter<"DocumentComment">;
|
|
551
|
+
resolvedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
552
|
+
resolvedById?: Prisma.StringNullableFilter<"DocumentComment"> | string | null;
|
|
553
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"DocumentComment"> | Date | string | null;
|
|
554
|
+
createdAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
555
|
+
updatedAt?: Prisma.DateTimeFilter<"DocumentComment"> | Date | string;
|
|
556
|
+
};
|
|
557
|
+
export type DocumentCommentCreateWithoutRepliesInput = {
|
|
558
|
+
id?: string;
|
|
559
|
+
documentId: string;
|
|
560
|
+
body: string;
|
|
561
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
562
|
+
resolvedAt?: Date | string | null;
|
|
563
|
+
resolvedById?: string | null;
|
|
564
|
+
deletedAt?: Date | string | null;
|
|
565
|
+
createdAt?: Date | string;
|
|
566
|
+
updatedAt?: Date | string;
|
|
567
|
+
parent?: Prisma.DocumentCommentCreateNestedOneWithoutRepliesInput;
|
|
568
|
+
user?: Prisma.UserCreateNestedOneWithoutDocumentCommentsInput;
|
|
569
|
+
};
|
|
570
|
+
export type DocumentCommentUncheckedCreateWithoutRepliesInput = {
|
|
571
|
+
id?: string;
|
|
572
|
+
documentId: string;
|
|
573
|
+
parentId?: string | null;
|
|
574
|
+
userId?: string | null;
|
|
575
|
+
body: string;
|
|
576
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
577
|
+
resolvedAt?: Date | string | null;
|
|
578
|
+
resolvedById?: string | null;
|
|
579
|
+
deletedAt?: Date | string | null;
|
|
580
|
+
createdAt?: Date | string;
|
|
581
|
+
updatedAt?: Date | string;
|
|
582
|
+
};
|
|
583
|
+
export type DocumentCommentCreateOrConnectWithoutRepliesInput = {
|
|
584
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
585
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutRepliesInput, Prisma.DocumentCommentUncheckedCreateWithoutRepliesInput>;
|
|
586
|
+
};
|
|
587
|
+
export type DocumentCommentCreateWithoutParentInput = {
|
|
588
|
+
id?: string;
|
|
589
|
+
documentId: string;
|
|
590
|
+
body: string;
|
|
591
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
592
|
+
resolvedAt?: Date | string | null;
|
|
593
|
+
resolvedById?: string | null;
|
|
594
|
+
deletedAt?: Date | string | null;
|
|
595
|
+
createdAt?: Date | string;
|
|
596
|
+
updatedAt?: Date | string;
|
|
597
|
+
replies?: Prisma.DocumentCommentCreateNestedManyWithoutParentInput;
|
|
598
|
+
user?: Prisma.UserCreateNestedOneWithoutDocumentCommentsInput;
|
|
599
|
+
};
|
|
600
|
+
export type DocumentCommentUncheckedCreateWithoutParentInput = {
|
|
601
|
+
id?: string;
|
|
602
|
+
documentId: string;
|
|
603
|
+
userId?: string | null;
|
|
604
|
+
body: string;
|
|
605
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
606
|
+
resolvedAt?: Date | string | null;
|
|
607
|
+
resolvedById?: string | null;
|
|
608
|
+
deletedAt?: Date | string | null;
|
|
609
|
+
createdAt?: Date | string;
|
|
610
|
+
updatedAt?: Date | string;
|
|
611
|
+
replies?: Prisma.DocumentCommentUncheckedCreateNestedManyWithoutParentInput;
|
|
612
|
+
};
|
|
613
|
+
export type DocumentCommentCreateOrConnectWithoutParentInput = {
|
|
614
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
615
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput>;
|
|
616
|
+
};
|
|
617
|
+
export type DocumentCommentCreateManyParentInputEnvelope = {
|
|
618
|
+
data: Prisma.DocumentCommentCreateManyParentInput | Prisma.DocumentCommentCreateManyParentInput[];
|
|
619
|
+
skipDuplicates?: boolean;
|
|
620
|
+
};
|
|
621
|
+
export type DocumentCommentUpsertWithoutRepliesInput = {
|
|
622
|
+
update: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutRepliesInput, Prisma.DocumentCommentUncheckedUpdateWithoutRepliesInput>;
|
|
623
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutRepliesInput, Prisma.DocumentCommentUncheckedCreateWithoutRepliesInput>;
|
|
624
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
625
|
+
};
|
|
626
|
+
export type DocumentCommentUpdateToOneWithWhereWithoutRepliesInput = {
|
|
627
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
628
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutRepliesInput, Prisma.DocumentCommentUncheckedUpdateWithoutRepliesInput>;
|
|
629
|
+
};
|
|
630
|
+
export type DocumentCommentUpdateWithoutRepliesInput = {
|
|
631
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
632
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
633
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
634
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
635
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
636
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
637
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
638
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
639
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
640
|
+
parent?: Prisma.DocumentCommentUpdateOneWithoutRepliesNestedInput;
|
|
641
|
+
user?: Prisma.UserUpdateOneWithoutDocumentCommentsNestedInput;
|
|
642
|
+
};
|
|
643
|
+
export type DocumentCommentUncheckedUpdateWithoutRepliesInput = {
|
|
644
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
645
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
646
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
647
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
648
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
649
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
650
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
651
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
652
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
653
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
654
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
655
|
+
};
|
|
656
|
+
export type DocumentCommentUpsertWithWhereUniqueWithoutParentInput = {
|
|
657
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
658
|
+
update: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutParentInput, Prisma.DocumentCommentUncheckedUpdateWithoutParentInput>;
|
|
659
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateWithoutParentInput, Prisma.DocumentCommentUncheckedCreateWithoutParentInput>;
|
|
660
|
+
};
|
|
661
|
+
export type DocumentCommentUpdateWithWhereUniqueWithoutParentInput = {
|
|
662
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
663
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateWithoutParentInput, Prisma.DocumentCommentUncheckedUpdateWithoutParentInput>;
|
|
664
|
+
};
|
|
665
|
+
export type DocumentCommentUpdateManyWithWhereWithoutParentInput = {
|
|
666
|
+
where: Prisma.DocumentCommentScalarWhereInput;
|
|
667
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateManyMutationInput, Prisma.DocumentCommentUncheckedUpdateManyWithoutParentInput>;
|
|
668
|
+
};
|
|
669
|
+
export type DocumentCommentCreateManyUserInput = {
|
|
670
|
+
id?: string;
|
|
671
|
+
documentId: string;
|
|
672
|
+
parentId?: string | null;
|
|
673
|
+
body: string;
|
|
674
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
675
|
+
resolvedAt?: Date | string | null;
|
|
676
|
+
resolvedById?: string | null;
|
|
677
|
+
deletedAt?: Date | string | null;
|
|
678
|
+
createdAt?: Date | string;
|
|
679
|
+
updatedAt?: Date | string;
|
|
680
|
+
};
|
|
681
|
+
export type DocumentCommentUpdateWithoutUserInput = {
|
|
682
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
683
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
684
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
685
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
686
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
687
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
688
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
689
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
690
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
691
|
+
parent?: Prisma.DocumentCommentUpdateOneWithoutRepliesNestedInput;
|
|
692
|
+
replies?: Prisma.DocumentCommentUpdateManyWithoutParentNestedInput;
|
|
693
|
+
};
|
|
694
|
+
export type DocumentCommentUncheckedUpdateWithoutUserInput = {
|
|
695
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
696
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
697
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
698
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
699
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
700
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
701
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
702
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
703
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
704
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
705
|
+
replies?: Prisma.DocumentCommentUncheckedUpdateManyWithoutParentNestedInput;
|
|
706
|
+
};
|
|
707
|
+
export type DocumentCommentUncheckedUpdateManyWithoutUserInput = {
|
|
708
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
709
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
710
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
711
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
712
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
713
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
714
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
715
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
716
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
717
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
718
|
+
};
|
|
719
|
+
export type DocumentCommentCreateManyParentInput = {
|
|
720
|
+
id?: string;
|
|
721
|
+
documentId: string;
|
|
722
|
+
userId?: string | null;
|
|
723
|
+
body: string;
|
|
724
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
725
|
+
resolvedAt?: Date | string | null;
|
|
726
|
+
resolvedById?: string | null;
|
|
727
|
+
deletedAt?: Date | string | null;
|
|
728
|
+
createdAt?: Date | string;
|
|
729
|
+
updatedAt?: Date | string;
|
|
730
|
+
};
|
|
731
|
+
export type DocumentCommentUpdateWithoutParentInput = {
|
|
732
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
733
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
734
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
735
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
736
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
737
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
738
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
739
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
740
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
741
|
+
replies?: Prisma.DocumentCommentUpdateManyWithoutParentNestedInput;
|
|
742
|
+
user?: Prisma.UserUpdateOneWithoutDocumentCommentsNestedInput;
|
|
743
|
+
};
|
|
744
|
+
export type DocumentCommentUncheckedUpdateWithoutParentInput = {
|
|
745
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
746
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
747
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
748
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
749
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
750
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
751
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
752
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
753
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
754
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
755
|
+
replies?: Prisma.DocumentCommentUncheckedUpdateManyWithoutParentNestedInput;
|
|
756
|
+
};
|
|
757
|
+
export type DocumentCommentUncheckedUpdateManyWithoutParentInput = {
|
|
758
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
759
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
760
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
761
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
762
|
+
anchor?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
763
|
+
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
764
|
+
resolvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
765
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
766
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
767
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* Count Type DocumentCommentCountOutputType
|
|
771
|
+
*/
|
|
772
|
+
export type DocumentCommentCountOutputType = {
|
|
773
|
+
replies: number;
|
|
774
|
+
};
|
|
775
|
+
export type DocumentCommentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
776
|
+
replies?: boolean | DocumentCommentCountOutputTypeCountRepliesArgs;
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* DocumentCommentCountOutputType without action
|
|
780
|
+
*/
|
|
781
|
+
export type DocumentCommentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
782
|
+
/**
|
|
783
|
+
* Select specific fields to fetch from the DocumentCommentCountOutputType
|
|
784
|
+
*/
|
|
785
|
+
select?: Prisma.DocumentCommentCountOutputTypeSelect<ExtArgs> | null;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* DocumentCommentCountOutputType without action
|
|
789
|
+
*/
|
|
790
|
+
export type DocumentCommentCountOutputTypeCountRepliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
791
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
792
|
+
};
|
|
793
|
+
export type DocumentCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
794
|
+
id?: boolean;
|
|
795
|
+
documentId?: boolean;
|
|
796
|
+
parentId?: boolean;
|
|
797
|
+
userId?: boolean;
|
|
798
|
+
body?: boolean;
|
|
799
|
+
anchor?: boolean;
|
|
800
|
+
resolvedAt?: boolean;
|
|
801
|
+
resolvedById?: boolean;
|
|
802
|
+
deletedAt?: boolean;
|
|
803
|
+
createdAt?: boolean;
|
|
804
|
+
updatedAt?: boolean;
|
|
805
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
806
|
+
replies?: boolean | Prisma.DocumentComment$repliesArgs<ExtArgs>;
|
|
807
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
808
|
+
_count?: boolean | Prisma.DocumentCommentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
809
|
+
}, ExtArgs["result"]["documentComment"]>;
|
|
810
|
+
export type DocumentCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
811
|
+
id?: boolean;
|
|
812
|
+
documentId?: boolean;
|
|
813
|
+
parentId?: boolean;
|
|
814
|
+
userId?: boolean;
|
|
815
|
+
body?: boolean;
|
|
816
|
+
anchor?: boolean;
|
|
817
|
+
resolvedAt?: boolean;
|
|
818
|
+
resolvedById?: boolean;
|
|
819
|
+
deletedAt?: boolean;
|
|
820
|
+
createdAt?: boolean;
|
|
821
|
+
updatedAt?: boolean;
|
|
822
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
823
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
824
|
+
}, ExtArgs["result"]["documentComment"]>;
|
|
825
|
+
export type DocumentCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
826
|
+
id?: boolean;
|
|
827
|
+
documentId?: boolean;
|
|
828
|
+
parentId?: boolean;
|
|
829
|
+
userId?: boolean;
|
|
830
|
+
body?: boolean;
|
|
831
|
+
anchor?: boolean;
|
|
832
|
+
resolvedAt?: boolean;
|
|
833
|
+
resolvedById?: boolean;
|
|
834
|
+
deletedAt?: boolean;
|
|
835
|
+
createdAt?: boolean;
|
|
836
|
+
updatedAt?: boolean;
|
|
837
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
838
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
839
|
+
}, ExtArgs["result"]["documentComment"]>;
|
|
840
|
+
export type DocumentCommentSelectScalar = {
|
|
841
|
+
id?: boolean;
|
|
842
|
+
documentId?: boolean;
|
|
843
|
+
parentId?: boolean;
|
|
844
|
+
userId?: boolean;
|
|
845
|
+
body?: boolean;
|
|
846
|
+
anchor?: boolean;
|
|
847
|
+
resolvedAt?: boolean;
|
|
848
|
+
resolvedById?: boolean;
|
|
849
|
+
deletedAt?: boolean;
|
|
850
|
+
createdAt?: boolean;
|
|
851
|
+
updatedAt?: boolean;
|
|
852
|
+
};
|
|
853
|
+
export type DocumentCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "documentId" | "parentId" | "userId" | "body" | "anchor" | "resolvedAt" | "resolvedById" | "deletedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["documentComment"]>;
|
|
854
|
+
export type DocumentCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
855
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
856
|
+
replies?: boolean | Prisma.DocumentComment$repliesArgs<ExtArgs>;
|
|
857
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
858
|
+
_count?: boolean | Prisma.DocumentCommentCountOutputTypeDefaultArgs<ExtArgs>;
|
|
859
|
+
};
|
|
860
|
+
export type DocumentCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
861
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
862
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
863
|
+
};
|
|
864
|
+
export type DocumentCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
865
|
+
parent?: boolean | Prisma.DocumentComment$parentArgs<ExtArgs>;
|
|
866
|
+
user?: boolean | Prisma.DocumentComment$userArgs<ExtArgs>;
|
|
867
|
+
};
|
|
868
|
+
export type $DocumentCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
869
|
+
name: "DocumentComment";
|
|
870
|
+
objects: {
|
|
871
|
+
parent: Prisma.$DocumentCommentPayload<ExtArgs> | null;
|
|
872
|
+
replies: Prisma.$DocumentCommentPayload<ExtArgs>[];
|
|
873
|
+
user: Prisma.$UserPayload<ExtArgs> | null;
|
|
874
|
+
};
|
|
875
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
876
|
+
id: string;
|
|
877
|
+
documentId: string;
|
|
878
|
+
parentId: string | null;
|
|
879
|
+
userId: string | null;
|
|
880
|
+
body: string;
|
|
881
|
+
anchor: runtime.JsonValue | null;
|
|
882
|
+
resolvedAt: Date | null;
|
|
883
|
+
resolvedById: string | null;
|
|
884
|
+
deletedAt: Date | null;
|
|
885
|
+
createdAt: Date;
|
|
886
|
+
updatedAt: Date;
|
|
887
|
+
}, ExtArgs["result"]["documentComment"]>;
|
|
888
|
+
composites: {};
|
|
889
|
+
};
|
|
890
|
+
export type DocumentCommentGetPayload<S extends boolean | null | undefined | DocumentCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload, S>;
|
|
891
|
+
export type DocumentCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DocumentCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
|
|
892
|
+
select?: DocumentCommentCountAggregateInputType | true;
|
|
893
|
+
};
|
|
894
|
+
export interface DocumentCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
895
|
+
[K: symbol]: {
|
|
896
|
+
types: Prisma.TypeMap<ExtArgs>['model']['DocumentComment'];
|
|
897
|
+
meta: {
|
|
898
|
+
name: 'DocumentComment';
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Find zero or one DocumentComment that matches the filter.
|
|
903
|
+
* @param {DocumentCommentFindUniqueArgs} args - Arguments to find a DocumentComment
|
|
904
|
+
* @example
|
|
905
|
+
* // Get one DocumentComment
|
|
906
|
+
* const documentComment = await prisma.documentComment.findUnique({
|
|
907
|
+
* where: {
|
|
908
|
+
* // ... provide filter here
|
|
909
|
+
* }
|
|
910
|
+
* })
|
|
911
|
+
*/
|
|
912
|
+
findUnique<T extends DocumentCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, DocumentCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
913
|
+
/**
|
|
914
|
+
* Find one DocumentComment that matches the filter or throw an error with `error.code='P2025'`
|
|
915
|
+
* if no matches were found.
|
|
916
|
+
* @param {DocumentCommentFindUniqueOrThrowArgs} args - Arguments to find a DocumentComment
|
|
917
|
+
* @example
|
|
918
|
+
* // Get one DocumentComment
|
|
919
|
+
* const documentComment = await prisma.documentComment.findUniqueOrThrow({
|
|
920
|
+
* where: {
|
|
921
|
+
* // ... provide filter here
|
|
922
|
+
* }
|
|
923
|
+
* })
|
|
924
|
+
*/
|
|
925
|
+
findUniqueOrThrow<T extends DocumentCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DocumentCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
926
|
+
/**
|
|
927
|
+
* Find the first DocumentComment that matches the filter.
|
|
928
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
929
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
930
|
+
* @param {DocumentCommentFindFirstArgs} args - Arguments to find a DocumentComment
|
|
931
|
+
* @example
|
|
932
|
+
* // Get one DocumentComment
|
|
933
|
+
* const documentComment = await prisma.documentComment.findFirst({
|
|
934
|
+
* where: {
|
|
935
|
+
* // ... provide filter here
|
|
936
|
+
* }
|
|
937
|
+
* })
|
|
938
|
+
*/
|
|
939
|
+
findFirst<T extends DocumentCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, DocumentCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
940
|
+
/**
|
|
941
|
+
* Find the first DocumentComment that matches the filter or
|
|
942
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
943
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
944
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
945
|
+
* @param {DocumentCommentFindFirstOrThrowArgs} args - Arguments to find a DocumentComment
|
|
946
|
+
* @example
|
|
947
|
+
* // Get one DocumentComment
|
|
948
|
+
* const documentComment = await prisma.documentComment.findFirstOrThrow({
|
|
949
|
+
* where: {
|
|
950
|
+
* // ... provide filter here
|
|
951
|
+
* }
|
|
952
|
+
* })
|
|
953
|
+
*/
|
|
954
|
+
findFirstOrThrow<T extends DocumentCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DocumentCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
955
|
+
/**
|
|
956
|
+
* Find zero or more DocumentComments that matches the filter.
|
|
957
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
958
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
959
|
+
* @param {DocumentCommentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
960
|
+
* @example
|
|
961
|
+
* // Get all DocumentComments
|
|
962
|
+
* const documentComments = await prisma.documentComment.findMany()
|
|
963
|
+
*
|
|
964
|
+
* // Get first 10 DocumentComments
|
|
965
|
+
* const documentComments = await prisma.documentComment.findMany({ take: 10 })
|
|
966
|
+
*
|
|
967
|
+
* // Only select the `id`
|
|
968
|
+
* const documentCommentWithIdOnly = await prisma.documentComment.findMany({ select: { id: true } })
|
|
969
|
+
*
|
|
970
|
+
*/
|
|
971
|
+
findMany<T extends DocumentCommentFindManyArgs>(args?: Prisma.SelectSubset<T, DocumentCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
972
|
+
/**
|
|
973
|
+
* Create a DocumentComment.
|
|
974
|
+
* @param {DocumentCommentCreateArgs} args - Arguments to create a DocumentComment.
|
|
975
|
+
* @example
|
|
976
|
+
* // Create one DocumentComment
|
|
977
|
+
* const DocumentComment = await prisma.documentComment.create({
|
|
978
|
+
* data: {
|
|
979
|
+
* // ... data to create a DocumentComment
|
|
980
|
+
* }
|
|
981
|
+
* })
|
|
982
|
+
*
|
|
983
|
+
*/
|
|
984
|
+
create<T extends DocumentCommentCreateArgs>(args: Prisma.SelectSubset<T, DocumentCommentCreateArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
985
|
+
/**
|
|
986
|
+
* Create many DocumentComments.
|
|
987
|
+
* @param {DocumentCommentCreateManyArgs} args - Arguments to create many DocumentComments.
|
|
988
|
+
* @example
|
|
989
|
+
* // Create many DocumentComments
|
|
990
|
+
* const documentComment = await prisma.documentComment.createMany({
|
|
991
|
+
* data: [
|
|
992
|
+
* // ... provide data here
|
|
993
|
+
* ]
|
|
994
|
+
* })
|
|
995
|
+
*
|
|
996
|
+
*/
|
|
997
|
+
createMany<T extends DocumentCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, DocumentCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
998
|
+
/**
|
|
999
|
+
* Create many DocumentComments and returns the data saved in the database.
|
|
1000
|
+
* @param {DocumentCommentCreateManyAndReturnArgs} args - Arguments to create many DocumentComments.
|
|
1001
|
+
* @example
|
|
1002
|
+
* // Create many DocumentComments
|
|
1003
|
+
* const documentComment = await prisma.documentComment.createManyAndReturn({
|
|
1004
|
+
* data: [
|
|
1005
|
+
* // ... provide data here
|
|
1006
|
+
* ]
|
|
1007
|
+
* })
|
|
1008
|
+
*
|
|
1009
|
+
* // Create many DocumentComments and only return the `id`
|
|
1010
|
+
* const documentCommentWithIdOnly = await prisma.documentComment.createManyAndReturn({
|
|
1011
|
+
* select: { id: true },
|
|
1012
|
+
* data: [
|
|
1013
|
+
* // ... provide data here
|
|
1014
|
+
* ]
|
|
1015
|
+
* })
|
|
1016
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1017
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1018
|
+
*
|
|
1019
|
+
*/
|
|
1020
|
+
createManyAndReturn<T extends DocumentCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DocumentCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Delete a DocumentComment.
|
|
1023
|
+
* @param {DocumentCommentDeleteArgs} args - Arguments to delete one DocumentComment.
|
|
1024
|
+
* @example
|
|
1025
|
+
* // Delete one DocumentComment
|
|
1026
|
+
* const DocumentComment = await prisma.documentComment.delete({
|
|
1027
|
+
* where: {
|
|
1028
|
+
* // ... filter to delete one DocumentComment
|
|
1029
|
+
* }
|
|
1030
|
+
* })
|
|
1031
|
+
*
|
|
1032
|
+
*/
|
|
1033
|
+
delete<T extends DocumentCommentDeleteArgs>(args: Prisma.SelectSubset<T, DocumentCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1034
|
+
/**
|
|
1035
|
+
* Update one DocumentComment.
|
|
1036
|
+
* @param {DocumentCommentUpdateArgs} args - Arguments to update one DocumentComment.
|
|
1037
|
+
* @example
|
|
1038
|
+
* // Update one DocumentComment
|
|
1039
|
+
* const documentComment = await prisma.documentComment.update({
|
|
1040
|
+
* where: {
|
|
1041
|
+
* // ... provide filter here
|
|
1042
|
+
* },
|
|
1043
|
+
* data: {
|
|
1044
|
+
* // ... provide data here
|
|
1045
|
+
* }
|
|
1046
|
+
* })
|
|
1047
|
+
*
|
|
1048
|
+
*/
|
|
1049
|
+
update<T extends DocumentCommentUpdateArgs>(args: Prisma.SelectSubset<T, DocumentCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Delete zero or more DocumentComments.
|
|
1052
|
+
* @param {DocumentCommentDeleteManyArgs} args - Arguments to filter DocumentComments to delete.
|
|
1053
|
+
* @example
|
|
1054
|
+
* // Delete a few DocumentComments
|
|
1055
|
+
* const { count } = await prisma.documentComment.deleteMany({
|
|
1056
|
+
* where: {
|
|
1057
|
+
* // ... provide filter here
|
|
1058
|
+
* }
|
|
1059
|
+
* })
|
|
1060
|
+
*
|
|
1061
|
+
*/
|
|
1062
|
+
deleteMany<T extends DocumentCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, DocumentCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Update zero or more DocumentComments.
|
|
1065
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1066
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1067
|
+
* @param {DocumentCommentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1068
|
+
* @example
|
|
1069
|
+
* // Update many DocumentComments
|
|
1070
|
+
* const documentComment = await prisma.documentComment.updateMany({
|
|
1071
|
+
* where: {
|
|
1072
|
+
* // ... provide filter here
|
|
1073
|
+
* },
|
|
1074
|
+
* data: {
|
|
1075
|
+
* // ... provide data here
|
|
1076
|
+
* }
|
|
1077
|
+
* })
|
|
1078
|
+
*
|
|
1079
|
+
*/
|
|
1080
|
+
updateMany<T extends DocumentCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, DocumentCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Update zero or more DocumentComments and returns the data updated in the database.
|
|
1083
|
+
* @param {DocumentCommentUpdateManyAndReturnArgs} args - Arguments to update many DocumentComments.
|
|
1084
|
+
* @example
|
|
1085
|
+
* // Update many DocumentComments
|
|
1086
|
+
* const documentComment = await prisma.documentComment.updateManyAndReturn({
|
|
1087
|
+
* where: {
|
|
1088
|
+
* // ... provide filter here
|
|
1089
|
+
* },
|
|
1090
|
+
* data: [
|
|
1091
|
+
* // ... provide data here
|
|
1092
|
+
* ]
|
|
1093
|
+
* })
|
|
1094
|
+
*
|
|
1095
|
+
* // Update zero or more DocumentComments and only return the `id`
|
|
1096
|
+
* const documentCommentWithIdOnly = await prisma.documentComment.updateManyAndReturn({
|
|
1097
|
+
* select: { id: true },
|
|
1098
|
+
* where: {
|
|
1099
|
+
* // ... provide filter here
|
|
1100
|
+
* },
|
|
1101
|
+
* data: [
|
|
1102
|
+
* // ... provide data here
|
|
1103
|
+
* ]
|
|
1104
|
+
* })
|
|
1105
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1106
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
updateManyAndReturn<T extends DocumentCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DocumentCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Create or update one DocumentComment.
|
|
1112
|
+
* @param {DocumentCommentUpsertArgs} args - Arguments to update or create a DocumentComment.
|
|
1113
|
+
* @example
|
|
1114
|
+
* // Update or create a DocumentComment
|
|
1115
|
+
* const documentComment = await prisma.documentComment.upsert({
|
|
1116
|
+
* create: {
|
|
1117
|
+
* // ... data to create a DocumentComment
|
|
1118
|
+
* },
|
|
1119
|
+
* update: {
|
|
1120
|
+
* // ... in case it already exists, update
|
|
1121
|
+
* },
|
|
1122
|
+
* where: {
|
|
1123
|
+
* // ... the filter for the DocumentComment we want to update
|
|
1124
|
+
* }
|
|
1125
|
+
* })
|
|
1126
|
+
*/
|
|
1127
|
+
upsert<T extends DocumentCommentUpsertArgs>(args: Prisma.SelectSubset<T, DocumentCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Count the number of DocumentComments.
|
|
1130
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1131
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1132
|
+
* @param {DocumentCommentCountArgs} args - Arguments to filter DocumentComments to count.
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Count the number of DocumentComments
|
|
1135
|
+
* const count = await prisma.documentComment.count({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... the filter for the DocumentComments we want to count
|
|
1138
|
+
* }
|
|
1139
|
+
* })
|
|
1140
|
+
**/
|
|
1141
|
+
count<T extends DocumentCommentCountArgs>(args?: Prisma.Subset<T, DocumentCommentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DocumentCommentCountAggregateOutputType> : number>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Allows you to perform aggregations operations on a DocumentComment.
|
|
1144
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1145
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1146
|
+
* @param {DocumentCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1147
|
+
* @example
|
|
1148
|
+
* // Ordered by age ascending
|
|
1149
|
+
* // Where email contains prisma.io
|
|
1150
|
+
* // Limited to the 10 users
|
|
1151
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1152
|
+
* _avg: {
|
|
1153
|
+
* age: true,
|
|
1154
|
+
* },
|
|
1155
|
+
* where: {
|
|
1156
|
+
* email: {
|
|
1157
|
+
* contains: "prisma.io",
|
|
1158
|
+
* },
|
|
1159
|
+
* },
|
|
1160
|
+
* orderBy: {
|
|
1161
|
+
* age: "asc",
|
|
1162
|
+
* },
|
|
1163
|
+
* take: 10,
|
|
1164
|
+
* })
|
|
1165
|
+
**/
|
|
1166
|
+
aggregate<T extends DocumentCommentAggregateArgs>(args: Prisma.Subset<T, DocumentCommentAggregateArgs>): Prisma.PrismaPromise<GetDocumentCommentAggregateType<T>>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Group by DocumentComment.
|
|
1169
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1170
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1171
|
+
* @param {DocumentCommentGroupByArgs} args - Group by arguments.
|
|
1172
|
+
* @example
|
|
1173
|
+
* // Group by city, order by createdAt, get count
|
|
1174
|
+
* const result = await prisma.user.groupBy({
|
|
1175
|
+
* by: ['city', 'createdAt'],
|
|
1176
|
+
* orderBy: {
|
|
1177
|
+
* createdAt: true
|
|
1178
|
+
* },
|
|
1179
|
+
* _count: {
|
|
1180
|
+
* _all: true
|
|
1181
|
+
* },
|
|
1182
|
+
* })
|
|
1183
|
+
*
|
|
1184
|
+
**/
|
|
1185
|
+
groupBy<T extends DocumentCommentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1186
|
+
orderBy: DocumentCommentGroupByArgs['orderBy'];
|
|
1187
|
+
} : {
|
|
1188
|
+
orderBy?: DocumentCommentGroupByArgs['orderBy'];
|
|
1189
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1190
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1191
|
+
Error,
|
|
1192
|
+
'Field ',
|
|
1193
|
+
P,
|
|
1194
|
+
` in "having" needs to be provided in "by"`
|
|
1195
|
+
];
|
|
1196
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1197
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1198
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1199
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1200
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1201
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1202
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DocumentCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDocumentCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Fields of the DocumentComment model
|
|
1205
|
+
*/
|
|
1206
|
+
readonly fields: DocumentCommentFieldRefs;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* The delegate class that acts as a "Promise-like" for DocumentComment.
|
|
1210
|
+
* Why is this prefixed with `Prisma__`?
|
|
1211
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1212
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1213
|
+
*/
|
|
1214
|
+
export interface Prisma__DocumentCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1215
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1216
|
+
parent<T extends Prisma.DocumentComment$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentComment$parentArgs<ExtArgs>>): Prisma.Prisma__DocumentCommentClient<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1217
|
+
replies<T extends Prisma.DocumentComment$repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentComment$repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1218
|
+
user<T extends Prisma.DocumentComment$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentComment$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1219
|
+
/**
|
|
1220
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1221
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1222
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1223
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1224
|
+
*/
|
|
1225
|
+
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>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1228
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1229
|
+
* @returns A Promise for the completion of the callback.
|
|
1230
|
+
*/
|
|
1231
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1234
|
+
* resolved value cannot be modified from the callback.
|
|
1235
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1236
|
+
* @returns A Promise for the completion of the callback.
|
|
1237
|
+
*/
|
|
1238
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1239
|
+
}
|
|
1240
|
+
/**
|
|
1241
|
+
* Fields of the DocumentComment model
|
|
1242
|
+
*/
|
|
1243
|
+
export interface DocumentCommentFieldRefs {
|
|
1244
|
+
readonly id: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1245
|
+
readonly documentId: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1246
|
+
readonly parentId: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1247
|
+
readonly userId: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1248
|
+
readonly body: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1249
|
+
readonly anchor: Prisma.FieldRef<"DocumentComment", 'Json'>;
|
|
1250
|
+
readonly resolvedAt: Prisma.FieldRef<"DocumentComment", 'DateTime'>;
|
|
1251
|
+
readonly resolvedById: Prisma.FieldRef<"DocumentComment", 'String'>;
|
|
1252
|
+
readonly deletedAt: Prisma.FieldRef<"DocumentComment", 'DateTime'>;
|
|
1253
|
+
readonly createdAt: Prisma.FieldRef<"DocumentComment", 'DateTime'>;
|
|
1254
|
+
readonly updatedAt: Prisma.FieldRef<"DocumentComment", 'DateTime'>;
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* DocumentComment findUnique
|
|
1258
|
+
*/
|
|
1259
|
+
export type DocumentCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1260
|
+
/**
|
|
1261
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1262
|
+
*/
|
|
1263
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Omit specific fields from the DocumentComment
|
|
1266
|
+
*/
|
|
1267
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* Choose, which related nodes to fetch as well
|
|
1270
|
+
*/
|
|
1271
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1272
|
+
/**
|
|
1273
|
+
* Filter, which DocumentComment to fetch.
|
|
1274
|
+
*/
|
|
1275
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
1276
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1277
|
+
};
|
|
1278
|
+
/**
|
|
1279
|
+
* DocumentComment findUniqueOrThrow
|
|
1280
|
+
*/
|
|
1281
|
+
export type DocumentCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1282
|
+
/**
|
|
1283
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1284
|
+
*/
|
|
1285
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1286
|
+
/**
|
|
1287
|
+
* Omit specific fields from the DocumentComment
|
|
1288
|
+
*/
|
|
1289
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Choose, which related nodes to fetch as well
|
|
1292
|
+
*/
|
|
1293
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Filter, which DocumentComment to fetch.
|
|
1296
|
+
*/
|
|
1297
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
1298
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* DocumentComment findFirst
|
|
1302
|
+
*/
|
|
1303
|
+
export type DocumentCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1304
|
+
/**
|
|
1305
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1306
|
+
*/
|
|
1307
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1308
|
+
/**
|
|
1309
|
+
* Omit specific fields from the DocumentComment
|
|
1310
|
+
*/
|
|
1311
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1312
|
+
/**
|
|
1313
|
+
* Choose, which related nodes to fetch as well
|
|
1314
|
+
*/
|
|
1315
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1316
|
+
/**
|
|
1317
|
+
* Filter, which DocumentComment to fetch.
|
|
1318
|
+
*/
|
|
1319
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1320
|
+
/**
|
|
1321
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1322
|
+
*
|
|
1323
|
+
* Determine the order of DocumentComments to fetch.
|
|
1324
|
+
*/
|
|
1325
|
+
orderBy?: Prisma.DocumentCommentOrderByWithRelationInput | Prisma.DocumentCommentOrderByWithRelationInput[];
|
|
1326
|
+
/**
|
|
1327
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1328
|
+
*
|
|
1329
|
+
* Sets the position for searching for DocumentComments.
|
|
1330
|
+
*/
|
|
1331
|
+
cursor?: Prisma.DocumentCommentWhereUniqueInput;
|
|
1332
|
+
/**
|
|
1333
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1334
|
+
*
|
|
1335
|
+
* Take `±n` DocumentComments from the position of the cursor.
|
|
1336
|
+
*/
|
|
1337
|
+
take?: number;
|
|
1338
|
+
/**
|
|
1339
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1340
|
+
*
|
|
1341
|
+
* Skip the first `n` DocumentComments.
|
|
1342
|
+
*/
|
|
1343
|
+
skip?: number;
|
|
1344
|
+
/**
|
|
1345
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1346
|
+
*
|
|
1347
|
+
* Filter by unique combinations of DocumentComments.
|
|
1348
|
+
*/
|
|
1349
|
+
distinct?: Prisma.DocumentCommentScalarFieldEnum | Prisma.DocumentCommentScalarFieldEnum[];
|
|
1350
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1351
|
+
};
|
|
1352
|
+
/**
|
|
1353
|
+
* DocumentComment findFirstOrThrow
|
|
1354
|
+
*/
|
|
1355
|
+
export type DocumentCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1356
|
+
/**
|
|
1357
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1358
|
+
*/
|
|
1359
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1360
|
+
/**
|
|
1361
|
+
* Omit specific fields from the DocumentComment
|
|
1362
|
+
*/
|
|
1363
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1364
|
+
/**
|
|
1365
|
+
* Choose, which related nodes to fetch as well
|
|
1366
|
+
*/
|
|
1367
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1368
|
+
/**
|
|
1369
|
+
* Filter, which DocumentComment to fetch.
|
|
1370
|
+
*/
|
|
1371
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1372
|
+
/**
|
|
1373
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1374
|
+
*
|
|
1375
|
+
* Determine the order of DocumentComments to fetch.
|
|
1376
|
+
*/
|
|
1377
|
+
orderBy?: Prisma.DocumentCommentOrderByWithRelationInput | Prisma.DocumentCommentOrderByWithRelationInput[];
|
|
1378
|
+
/**
|
|
1379
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1380
|
+
*
|
|
1381
|
+
* Sets the position for searching for DocumentComments.
|
|
1382
|
+
*/
|
|
1383
|
+
cursor?: Prisma.DocumentCommentWhereUniqueInput;
|
|
1384
|
+
/**
|
|
1385
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1386
|
+
*
|
|
1387
|
+
* Take `±n` DocumentComments from the position of the cursor.
|
|
1388
|
+
*/
|
|
1389
|
+
take?: number;
|
|
1390
|
+
/**
|
|
1391
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1392
|
+
*
|
|
1393
|
+
* Skip the first `n` DocumentComments.
|
|
1394
|
+
*/
|
|
1395
|
+
skip?: number;
|
|
1396
|
+
/**
|
|
1397
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1398
|
+
*
|
|
1399
|
+
* Filter by unique combinations of DocumentComments.
|
|
1400
|
+
*/
|
|
1401
|
+
distinct?: Prisma.DocumentCommentScalarFieldEnum | Prisma.DocumentCommentScalarFieldEnum[];
|
|
1402
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* DocumentComment findMany
|
|
1406
|
+
*/
|
|
1407
|
+
export type DocumentCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1408
|
+
/**
|
|
1409
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1410
|
+
*/
|
|
1411
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1412
|
+
/**
|
|
1413
|
+
* Omit specific fields from the DocumentComment
|
|
1414
|
+
*/
|
|
1415
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1416
|
+
/**
|
|
1417
|
+
* Choose, which related nodes to fetch as well
|
|
1418
|
+
*/
|
|
1419
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1420
|
+
/**
|
|
1421
|
+
* Filter, which DocumentComments to fetch.
|
|
1422
|
+
*/
|
|
1423
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1424
|
+
/**
|
|
1425
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1426
|
+
*
|
|
1427
|
+
* Determine the order of DocumentComments to fetch.
|
|
1428
|
+
*/
|
|
1429
|
+
orderBy?: Prisma.DocumentCommentOrderByWithRelationInput | Prisma.DocumentCommentOrderByWithRelationInput[];
|
|
1430
|
+
/**
|
|
1431
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1432
|
+
*
|
|
1433
|
+
* Sets the position for listing DocumentComments.
|
|
1434
|
+
*/
|
|
1435
|
+
cursor?: Prisma.DocumentCommentWhereUniqueInput;
|
|
1436
|
+
/**
|
|
1437
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1438
|
+
*
|
|
1439
|
+
* Take `±n` DocumentComments from the position of the cursor.
|
|
1440
|
+
*/
|
|
1441
|
+
take?: number;
|
|
1442
|
+
/**
|
|
1443
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1444
|
+
*
|
|
1445
|
+
* Skip the first `n` DocumentComments.
|
|
1446
|
+
*/
|
|
1447
|
+
skip?: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1450
|
+
*
|
|
1451
|
+
* Filter by unique combinations of DocumentComments.
|
|
1452
|
+
*/
|
|
1453
|
+
distinct?: Prisma.DocumentCommentScalarFieldEnum | Prisma.DocumentCommentScalarFieldEnum[];
|
|
1454
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1455
|
+
};
|
|
1456
|
+
/**
|
|
1457
|
+
* DocumentComment create
|
|
1458
|
+
*/
|
|
1459
|
+
export type DocumentCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1460
|
+
/**
|
|
1461
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1462
|
+
*/
|
|
1463
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1464
|
+
/**
|
|
1465
|
+
* Omit specific fields from the DocumentComment
|
|
1466
|
+
*/
|
|
1467
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1468
|
+
/**
|
|
1469
|
+
* Choose, which related nodes to fetch as well
|
|
1470
|
+
*/
|
|
1471
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* The data needed to create a DocumentComment.
|
|
1474
|
+
*/
|
|
1475
|
+
data: Prisma.XOR<Prisma.DocumentCommentCreateInput, Prisma.DocumentCommentUncheckedCreateInput>;
|
|
1476
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1477
|
+
};
|
|
1478
|
+
/**
|
|
1479
|
+
* DocumentComment createMany
|
|
1480
|
+
*/
|
|
1481
|
+
export type DocumentCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1482
|
+
/**
|
|
1483
|
+
* The data used to create many DocumentComments.
|
|
1484
|
+
*/
|
|
1485
|
+
data: Prisma.DocumentCommentCreateManyInput | Prisma.DocumentCommentCreateManyInput[];
|
|
1486
|
+
skipDuplicates?: boolean;
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* DocumentComment createManyAndReturn
|
|
1490
|
+
*/
|
|
1491
|
+
export type DocumentCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1492
|
+
/**
|
|
1493
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1494
|
+
*/
|
|
1495
|
+
select?: Prisma.DocumentCommentSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Omit specific fields from the DocumentComment
|
|
1498
|
+
*/
|
|
1499
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* The data used to create many DocumentComments.
|
|
1502
|
+
*/
|
|
1503
|
+
data: Prisma.DocumentCommentCreateManyInput | Prisma.DocumentCommentCreateManyInput[];
|
|
1504
|
+
skipDuplicates?: boolean;
|
|
1505
|
+
/**
|
|
1506
|
+
* Choose, which related nodes to fetch as well
|
|
1507
|
+
*/
|
|
1508
|
+
include?: Prisma.DocumentCommentIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1509
|
+
};
|
|
1510
|
+
/**
|
|
1511
|
+
* DocumentComment update
|
|
1512
|
+
*/
|
|
1513
|
+
export type DocumentCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1516
|
+
*/
|
|
1517
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1518
|
+
/**
|
|
1519
|
+
* Omit specific fields from the DocumentComment
|
|
1520
|
+
*/
|
|
1521
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* Choose, which related nodes to fetch as well
|
|
1524
|
+
*/
|
|
1525
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* The data needed to update a DocumentComment.
|
|
1528
|
+
*/
|
|
1529
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateInput, Prisma.DocumentCommentUncheckedUpdateInput>;
|
|
1530
|
+
/**
|
|
1531
|
+
* Choose, which DocumentComment to update.
|
|
1532
|
+
*/
|
|
1533
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
1534
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1535
|
+
};
|
|
1536
|
+
/**
|
|
1537
|
+
* DocumentComment updateMany
|
|
1538
|
+
*/
|
|
1539
|
+
export type DocumentCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1540
|
+
/**
|
|
1541
|
+
* The data used to update DocumentComments.
|
|
1542
|
+
*/
|
|
1543
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateManyMutationInput, Prisma.DocumentCommentUncheckedUpdateManyInput>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Filter which DocumentComments to update
|
|
1546
|
+
*/
|
|
1547
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1548
|
+
/**
|
|
1549
|
+
* Limit how many DocumentComments to update.
|
|
1550
|
+
*/
|
|
1551
|
+
limit?: number;
|
|
1552
|
+
};
|
|
1553
|
+
/**
|
|
1554
|
+
* DocumentComment updateManyAndReturn
|
|
1555
|
+
*/
|
|
1556
|
+
export type DocumentCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1557
|
+
/**
|
|
1558
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1559
|
+
*/
|
|
1560
|
+
select?: Prisma.DocumentCommentSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1561
|
+
/**
|
|
1562
|
+
* Omit specific fields from the DocumentComment
|
|
1563
|
+
*/
|
|
1564
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1565
|
+
/**
|
|
1566
|
+
* The data used to update DocumentComments.
|
|
1567
|
+
*/
|
|
1568
|
+
data: Prisma.XOR<Prisma.DocumentCommentUpdateManyMutationInput, Prisma.DocumentCommentUncheckedUpdateManyInput>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Filter which DocumentComments to update
|
|
1571
|
+
*/
|
|
1572
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1573
|
+
/**
|
|
1574
|
+
* Limit how many DocumentComments to update.
|
|
1575
|
+
*/
|
|
1576
|
+
limit?: number;
|
|
1577
|
+
/**
|
|
1578
|
+
* Choose, which related nodes to fetch as well
|
|
1579
|
+
*/
|
|
1580
|
+
include?: Prisma.DocumentCommentIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1581
|
+
};
|
|
1582
|
+
/**
|
|
1583
|
+
* DocumentComment upsert
|
|
1584
|
+
*/
|
|
1585
|
+
export type DocumentCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1586
|
+
/**
|
|
1587
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1588
|
+
*/
|
|
1589
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1590
|
+
/**
|
|
1591
|
+
* Omit specific fields from the DocumentComment
|
|
1592
|
+
*/
|
|
1593
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Choose, which related nodes to fetch as well
|
|
1596
|
+
*/
|
|
1597
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1598
|
+
/**
|
|
1599
|
+
* The filter to search for the DocumentComment to update in case it exists.
|
|
1600
|
+
*/
|
|
1601
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
1602
|
+
/**
|
|
1603
|
+
* In case the DocumentComment found by the `where` argument doesn't exist, create a new DocumentComment with this data.
|
|
1604
|
+
*/
|
|
1605
|
+
create: Prisma.XOR<Prisma.DocumentCommentCreateInput, Prisma.DocumentCommentUncheckedCreateInput>;
|
|
1606
|
+
/**
|
|
1607
|
+
* In case the DocumentComment was found with the provided `where` argument, update it with this data.
|
|
1608
|
+
*/
|
|
1609
|
+
update: Prisma.XOR<Prisma.DocumentCommentUpdateInput, Prisma.DocumentCommentUncheckedUpdateInput>;
|
|
1610
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1611
|
+
};
|
|
1612
|
+
/**
|
|
1613
|
+
* DocumentComment delete
|
|
1614
|
+
*/
|
|
1615
|
+
export type DocumentCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1618
|
+
*/
|
|
1619
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1620
|
+
/**
|
|
1621
|
+
* Omit specific fields from the DocumentComment
|
|
1622
|
+
*/
|
|
1623
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1624
|
+
/**
|
|
1625
|
+
* Choose, which related nodes to fetch as well
|
|
1626
|
+
*/
|
|
1627
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1628
|
+
/**
|
|
1629
|
+
* Filter which DocumentComment to delete.
|
|
1630
|
+
*/
|
|
1631
|
+
where: Prisma.DocumentCommentWhereUniqueInput;
|
|
1632
|
+
relationLoadStrategy?: Prisma.RelationLoadStrategy;
|
|
1633
|
+
};
|
|
1634
|
+
/**
|
|
1635
|
+
* DocumentComment deleteMany
|
|
1636
|
+
*/
|
|
1637
|
+
export type DocumentCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Filter which DocumentComments to delete
|
|
1640
|
+
*/
|
|
1641
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1642
|
+
/**
|
|
1643
|
+
* Limit how many DocumentComments to delete.
|
|
1644
|
+
*/
|
|
1645
|
+
limit?: number;
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* DocumentComment.parent
|
|
1649
|
+
*/
|
|
1650
|
+
export type DocumentComment$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1651
|
+
/**
|
|
1652
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1653
|
+
*/
|
|
1654
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1655
|
+
/**
|
|
1656
|
+
* Omit specific fields from the DocumentComment
|
|
1657
|
+
*/
|
|
1658
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1659
|
+
/**
|
|
1660
|
+
* Choose, which related nodes to fetch as well
|
|
1661
|
+
*/
|
|
1662
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1663
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1664
|
+
};
|
|
1665
|
+
/**
|
|
1666
|
+
* DocumentComment.replies
|
|
1667
|
+
*/
|
|
1668
|
+
export type DocumentComment$repliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1669
|
+
/**
|
|
1670
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1671
|
+
*/
|
|
1672
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1673
|
+
/**
|
|
1674
|
+
* Omit specific fields from the DocumentComment
|
|
1675
|
+
*/
|
|
1676
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* Choose, which related nodes to fetch as well
|
|
1679
|
+
*/
|
|
1680
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1681
|
+
where?: Prisma.DocumentCommentWhereInput;
|
|
1682
|
+
orderBy?: Prisma.DocumentCommentOrderByWithRelationInput | Prisma.DocumentCommentOrderByWithRelationInput[];
|
|
1683
|
+
cursor?: Prisma.DocumentCommentWhereUniqueInput;
|
|
1684
|
+
take?: number;
|
|
1685
|
+
skip?: number;
|
|
1686
|
+
distinct?: Prisma.DocumentCommentScalarFieldEnum | Prisma.DocumentCommentScalarFieldEnum[];
|
|
1687
|
+
};
|
|
1688
|
+
/**
|
|
1689
|
+
* DocumentComment.user
|
|
1690
|
+
*/
|
|
1691
|
+
export type DocumentComment$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1692
|
+
/**
|
|
1693
|
+
* Select specific fields to fetch from the User
|
|
1694
|
+
*/
|
|
1695
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1696
|
+
/**
|
|
1697
|
+
* Omit specific fields from the User
|
|
1698
|
+
*/
|
|
1699
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1700
|
+
/**
|
|
1701
|
+
* Choose, which related nodes to fetch as well
|
|
1702
|
+
*/
|
|
1703
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1704
|
+
where?: Prisma.UserWhereInput;
|
|
1705
|
+
};
|
|
1706
|
+
/**
|
|
1707
|
+
* DocumentComment without action
|
|
1708
|
+
*/
|
|
1709
|
+
export type DocumentCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1710
|
+
/**
|
|
1711
|
+
* Select specific fields to fetch from the DocumentComment
|
|
1712
|
+
*/
|
|
1713
|
+
select?: Prisma.DocumentCommentSelect<ExtArgs> | null;
|
|
1714
|
+
/**
|
|
1715
|
+
* Omit specific fields from the DocumentComment
|
|
1716
|
+
*/
|
|
1717
|
+
omit?: Prisma.DocumentCommentOmit<ExtArgs> | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Choose, which related nodes to fetch as well
|
|
1720
|
+
*/
|
|
1721
|
+
include?: Prisma.DocumentCommentInclude<ExtArgs> | null;
|
|
1722
|
+
};
|