@valentine-efagene/qshelter-common 2.0.101 → 2.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespace.js +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +10 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +10 -0
- package/dist/generated/client/models/DomainEvent.d.ts +281 -2
- package/dist/generated/client/models/Settings.d.ts +211 -4
- package/dist/generated/client/models/Social.d.ts +147 -1
- package/dist/generated/client/models/Tenant.d.ts +3705 -639
- package/dist/generated/client/models/Transaction.d.ts +178 -14
- package/dist/generated/client/models/Wallet.d.ts +169 -1
- package/dist/generated/client/models/WorkflowBlocker.d.ts +299 -4
- package/dist/src/prisma/tenant.js +0 -8
- package/package.json +1 -1
- package/prisma/migrations/20260113122855_add_tenant_to_remaining_models/migration.sql +64 -0
- package/prisma/schema.prisma +25 -2
|
@@ -12,6 +12,7 @@ export type AggregateSettings = {
|
|
|
12
12
|
};
|
|
13
13
|
export type SettingsMinAggregateOutputType = {
|
|
14
14
|
id: string | null;
|
|
15
|
+
tenantId: string | null;
|
|
15
16
|
key: string | null;
|
|
16
17
|
value: string | null;
|
|
17
18
|
category: string | null;
|
|
@@ -20,6 +21,7 @@ export type SettingsMinAggregateOutputType = {
|
|
|
20
21
|
};
|
|
21
22
|
export type SettingsMaxAggregateOutputType = {
|
|
22
23
|
id: string | null;
|
|
24
|
+
tenantId: string | null;
|
|
23
25
|
key: string | null;
|
|
24
26
|
value: string | null;
|
|
25
27
|
category: string | null;
|
|
@@ -28,6 +30,7 @@ export type SettingsMaxAggregateOutputType = {
|
|
|
28
30
|
};
|
|
29
31
|
export type SettingsCountAggregateOutputType = {
|
|
30
32
|
id: number;
|
|
33
|
+
tenantId: number;
|
|
31
34
|
key: number;
|
|
32
35
|
value: number;
|
|
33
36
|
category: number;
|
|
@@ -37,6 +40,7 @@ export type SettingsCountAggregateOutputType = {
|
|
|
37
40
|
};
|
|
38
41
|
export type SettingsMinAggregateInputType = {
|
|
39
42
|
id?: true;
|
|
43
|
+
tenantId?: true;
|
|
40
44
|
key?: true;
|
|
41
45
|
value?: true;
|
|
42
46
|
category?: true;
|
|
@@ -45,6 +49,7 @@ export type SettingsMinAggregateInputType = {
|
|
|
45
49
|
};
|
|
46
50
|
export type SettingsMaxAggregateInputType = {
|
|
47
51
|
id?: true;
|
|
52
|
+
tenantId?: true;
|
|
48
53
|
key?: true;
|
|
49
54
|
value?: true;
|
|
50
55
|
category?: true;
|
|
@@ -53,6 +58,7 @@ export type SettingsMaxAggregateInputType = {
|
|
|
53
58
|
};
|
|
54
59
|
export type SettingsCountAggregateInputType = {
|
|
55
60
|
id?: true;
|
|
61
|
+
tenantId?: true;
|
|
56
62
|
key?: true;
|
|
57
63
|
value?: true;
|
|
58
64
|
category?: true;
|
|
@@ -124,6 +130,7 @@ export type SettingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
124
130
|
};
|
|
125
131
|
export type SettingsGroupByOutputType = {
|
|
126
132
|
id: string;
|
|
133
|
+
tenantId: string;
|
|
127
134
|
key: string;
|
|
128
135
|
value: string;
|
|
129
136
|
category: string | null;
|
|
@@ -141,34 +148,42 @@ export type SettingsWhereInput = {
|
|
|
141
148
|
OR?: Prisma.SettingsWhereInput[];
|
|
142
149
|
NOT?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
143
150
|
id?: Prisma.StringFilter<"Settings"> | string;
|
|
151
|
+
tenantId?: Prisma.StringFilter<"Settings"> | string;
|
|
144
152
|
key?: Prisma.StringFilter<"Settings"> | string;
|
|
145
153
|
value?: Prisma.StringFilter<"Settings"> | string;
|
|
146
154
|
category?: Prisma.StringNullableFilter<"Settings"> | string | null;
|
|
147
155
|
createdAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
148
156
|
updatedAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
157
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
149
158
|
};
|
|
150
159
|
export type SettingsOrderByWithRelationInput = {
|
|
151
160
|
id?: Prisma.SortOrder;
|
|
161
|
+
tenantId?: Prisma.SortOrder;
|
|
152
162
|
key?: Prisma.SortOrder;
|
|
153
163
|
value?: Prisma.SortOrder;
|
|
154
164
|
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
155
165
|
createdAt?: Prisma.SortOrder;
|
|
156
166
|
updatedAt?: Prisma.SortOrder;
|
|
167
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
157
168
|
_relevance?: Prisma.SettingsOrderByRelevanceInput;
|
|
158
169
|
};
|
|
159
170
|
export type SettingsWhereUniqueInput = Prisma.AtLeast<{
|
|
160
171
|
id?: string;
|
|
161
|
-
|
|
172
|
+
tenantId_key?: Prisma.SettingsTenantIdKeyCompoundUniqueInput;
|
|
162
173
|
AND?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
163
174
|
OR?: Prisma.SettingsWhereInput[];
|
|
164
175
|
NOT?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
176
|
+
tenantId?: Prisma.StringFilter<"Settings"> | string;
|
|
177
|
+
key?: Prisma.StringFilter<"Settings"> | string;
|
|
165
178
|
value?: Prisma.StringFilter<"Settings"> | string;
|
|
166
179
|
category?: Prisma.StringNullableFilter<"Settings"> | string | null;
|
|
167
180
|
createdAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
168
181
|
updatedAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
169
|
-
|
|
182
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
183
|
+
}, "id" | "tenantId_key">;
|
|
170
184
|
export type SettingsOrderByWithAggregationInput = {
|
|
171
185
|
id?: Prisma.SortOrder;
|
|
186
|
+
tenantId?: Prisma.SortOrder;
|
|
172
187
|
key?: Prisma.SortOrder;
|
|
173
188
|
value?: Prisma.SortOrder;
|
|
174
189
|
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -183,6 +198,7 @@ export type SettingsScalarWhereWithAggregatesInput = {
|
|
|
183
198
|
OR?: Prisma.SettingsScalarWhereWithAggregatesInput[];
|
|
184
199
|
NOT?: Prisma.SettingsScalarWhereWithAggregatesInput | Prisma.SettingsScalarWhereWithAggregatesInput[];
|
|
185
200
|
id?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
201
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
186
202
|
key?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
187
203
|
value?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
188
204
|
category?: Prisma.StringNullableWithAggregatesFilter<"Settings"> | string | null;
|
|
@@ -196,9 +212,11 @@ export type SettingsCreateInput = {
|
|
|
196
212
|
category?: string | null;
|
|
197
213
|
createdAt?: Date | string;
|
|
198
214
|
updatedAt?: Date | string;
|
|
215
|
+
tenant: Prisma.TenantCreateNestedOneWithoutSettingsInput;
|
|
199
216
|
};
|
|
200
217
|
export type SettingsUncheckedCreateInput = {
|
|
201
218
|
id?: string;
|
|
219
|
+
tenantId: string;
|
|
202
220
|
key: string;
|
|
203
221
|
value: string;
|
|
204
222
|
category?: string | null;
|
|
@@ -212,9 +230,11 @@ export type SettingsUpdateInput = {
|
|
|
212
230
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
213
231
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
214
232
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
233
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutSettingsNestedInput;
|
|
215
234
|
};
|
|
216
235
|
export type SettingsUncheckedUpdateInput = {
|
|
217
236
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
237
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
218
238
|
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
239
|
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
240
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -223,6 +243,7 @@ export type SettingsUncheckedUpdateInput = {
|
|
|
223
243
|
};
|
|
224
244
|
export type SettingsCreateManyInput = {
|
|
225
245
|
id?: string;
|
|
246
|
+
tenantId: string;
|
|
226
247
|
key: string;
|
|
227
248
|
value: string;
|
|
228
249
|
category?: string | null;
|
|
@@ -239,19 +260,33 @@ export type SettingsUpdateManyMutationInput = {
|
|
|
239
260
|
};
|
|
240
261
|
export type SettingsUncheckedUpdateManyInput = {
|
|
241
262
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
264
|
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
265
|
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
244
266
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
245
267
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
246
268
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
247
269
|
};
|
|
270
|
+
export type SettingsListRelationFilter = {
|
|
271
|
+
every?: Prisma.SettingsWhereInput;
|
|
272
|
+
some?: Prisma.SettingsWhereInput;
|
|
273
|
+
none?: Prisma.SettingsWhereInput;
|
|
274
|
+
};
|
|
275
|
+
export type SettingsOrderByRelationAggregateInput = {
|
|
276
|
+
_count?: Prisma.SortOrder;
|
|
277
|
+
};
|
|
248
278
|
export type SettingsOrderByRelevanceInput = {
|
|
249
279
|
fields: Prisma.SettingsOrderByRelevanceFieldEnum | Prisma.SettingsOrderByRelevanceFieldEnum[];
|
|
250
280
|
sort: Prisma.SortOrder;
|
|
251
281
|
search: string;
|
|
252
282
|
};
|
|
283
|
+
export type SettingsTenantIdKeyCompoundUniqueInput = {
|
|
284
|
+
tenantId: string;
|
|
285
|
+
key: string;
|
|
286
|
+
};
|
|
253
287
|
export type SettingsCountOrderByAggregateInput = {
|
|
254
288
|
id?: Prisma.SortOrder;
|
|
289
|
+
tenantId?: Prisma.SortOrder;
|
|
255
290
|
key?: Prisma.SortOrder;
|
|
256
291
|
value?: Prisma.SortOrder;
|
|
257
292
|
category?: Prisma.SortOrder;
|
|
@@ -260,6 +295,7 @@ export type SettingsCountOrderByAggregateInput = {
|
|
|
260
295
|
};
|
|
261
296
|
export type SettingsMaxOrderByAggregateInput = {
|
|
262
297
|
id?: Prisma.SortOrder;
|
|
298
|
+
tenantId?: Prisma.SortOrder;
|
|
263
299
|
key?: Prisma.SortOrder;
|
|
264
300
|
value?: Prisma.SortOrder;
|
|
265
301
|
category?: Prisma.SortOrder;
|
|
@@ -268,34 +304,163 @@ export type SettingsMaxOrderByAggregateInput = {
|
|
|
268
304
|
};
|
|
269
305
|
export type SettingsMinOrderByAggregateInput = {
|
|
270
306
|
id?: Prisma.SortOrder;
|
|
307
|
+
tenantId?: Prisma.SortOrder;
|
|
271
308
|
key?: Prisma.SortOrder;
|
|
272
309
|
value?: Prisma.SortOrder;
|
|
273
310
|
category?: Prisma.SortOrder;
|
|
274
311
|
createdAt?: Prisma.SortOrder;
|
|
275
312
|
updatedAt?: Prisma.SortOrder;
|
|
276
313
|
};
|
|
314
|
+
export type SettingsCreateNestedManyWithoutTenantInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput> | Prisma.SettingsCreateWithoutTenantInput[] | Prisma.SettingsUncheckedCreateWithoutTenantInput[];
|
|
316
|
+
connectOrCreate?: Prisma.SettingsCreateOrConnectWithoutTenantInput | Prisma.SettingsCreateOrConnectWithoutTenantInput[];
|
|
317
|
+
createMany?: Prisma.SettingsCreateManyTenantInputEnvelope;
|
|
318
|
+
connect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
319
|
+
};
|
|
320
|
+
export type SettingsUncheckedCreateNestedManyWithoutTenantInput = {
|
|
321
|
+
create?: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput> | Prisma.SettingsCreateWithoutTenantInput[] | Prisma.SettingsUncheckedCreateWithoutTenantInput[];
|
|
322
|
+
connectOrCreate?: Prisma.SettingsCreateOrConnectWithoutTenantInput | Prisma.SettingsCreateOrConnectWithoutTenantInput[];
|
|
323
|
+
createMany?: Prisma.SettingsCreateManyTenantInputEnvelope;
|
|
324
|
+
connect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
325
|
+
};
|
|
326
|
+
export type SettingsUpdateManyWithoutTenantNestedInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput> | Prisma.SettingsCreateWithoutTenantInput[] | Prisma.SettingsUncheckedCreateWithoutTenantInput[];
|
|
328
|
+
connectOrCreate?: Prisma.SettingsCreateOrConnectWithoutTenantInput | Prisma.SettingsCreateOrConnectWithoutTenantInput[];
|
|
329
|
+
upsert?: Prisma.SettingsUpsertWithWhereUniqueWithoutTenantInput | Prisma.SettingsUpsertWithWhereUniqueWithoutTenantInput[];
|
|
330
|
+
createMany?: Prisma.SettingsCreateManyTenantInputEnvelope;
|
|
331
|
+
set?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
332
|
+
disconnect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
333
|
+
delete?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
334
|
+
connect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
335
|
+
update?: Prisma.SettingsUpdateWithWhereUniqueWithoutTenantInput | Prisma.SettingsUpdateWithWhereUniqueWithoutTenantInput[];
|
|
336
|
+
updateMany?: Prisma.SettingsUpdateManyWithWhereWithoutTenantInput | Prisma.SettingsUpdateManyWithWhereWithoutTenantInput[];
|
|
337
|
+
deleteMany?: Prisma.SettingsScalarWhereInput | Prisma.SettingsScalarWhereInput[];
|
|
338
|
+
};
|
|
339
|
+
export type SettingsUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
340
|
+
create?: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput> | Prisma.SettingsCreateWithoutTenantInput[] | Prisma.SettingsUncheckedCreateWithoutTenantInput[];
|
|
341
|
+
connectOrCreate?: Prisma.SettingsCreateOrConnectWithoutTenantInput | Prisma.SettingsCreateOrConnectWithoutTenantInput[];
|
|
342
|
+
upsert?: Prisma.SettingsUpsertWithWhereUniqueWithoutTenantInput | Prisma.SettingsUpsertWithWhereUniqueWithoutTenantInput[];
|
|
343
|
+
createMany?: Prisma.SettingsCreateManyTenantInputEnvelope;
|
|
344
|
+
set?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
345
|
+
disconnect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
346
|
+
delete?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
347
|
+
connect?: Prisma.SettingsWhereUniqueInput | Prisma.SettingsWhereUniqueInput[];
|
|
348
|
+
update?: Prisma.SettingsUpdateWithWhereUniqueWithoutTenantInput | Prisma.SettingsUpdateWithWhereUniqueWithoutTenantInput[];
|
|
349
|
+
updateMany?: Prisma.SettingsUpdateManyWithWhereWithoutTenantInput | Prisma.SettingsUpdateManyWithWhereWithoutTenantInput[];
|
|
350
|
+
deleteMany?: Prisma.SettingsScalarWhereInput | Prisma.SettingsScalarWhereInput[];
|
|
351
|
+
};
|
|
352
|
+
export type SettingsCreateWithoutTenantInput = {
|
|
353
|
+
id?: string;
|
|
354
|
+
key: string;
|
|
355
|
+
value: string;
|
|
356
|
+
category?: string | null;
|
|
357
|
+
createdAt?: Date | string;
|
|
358
|
+
updatedAt?: Date | string;
|
|
359
|
+
};
|
|
360
|
+
export type SettingsUncheckedCreateWithoutTenantInput = {
|
|
361
|
+
id?: string;
|
|
362
|
+
key: string;
|
|
363
|
+
value: string;
|
|
364
|
+
category?: string | null;
|
|
365
|
+
createdAt?: Date | string;
|
|
366
|
+
updatedAt?: Date | string;
|
|
367
|
+
};
|
|
368
|
+
export type SettingsCreateOrConnectWithoutTenantInput = {
|
|
369
|
+
where: Prisma.SettingsWhereUniqueInput;
|
|
370
|
+
create: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput>;
|
|
371
|
+
};
|
|
372
|
+
export type SettingsCreateManyTenantInputEnvelope = {
|
|
373
|
+
data: Prisma.SettingsCreateManyTenantInput | Prisma.SettingsCreateManyTenantInput[];
|
|
374
|
+
skipDuplicates?: boolean;
|
|
375
|
+
};
|
|
376
|
+
export type SettingsUpsertWithWhereUniqueWithoutTenantInput = {
|
|
377
|
+
where: Prisma.SettingsWhereUniqueInput;
|
|
378
|
+
update: Prisma.XOR<Prisma.SettingsUpdateWithoutTenantInput, Prisma.SettingsUncheckedUpdateWithoutTenantInput>;
|
|
379
|
+
create: Prisma.XOR<Prisma.SettingsCreateWithoutTenantInput, Prisma.SettingsUncheckedCreateWithoutTenantInput>;
|
|
380
|
+
};
|
|
381
|
+
export type SettingsUpdateWithWhereUniqueWithoutTenantInput = {
|
|
382
|
+
where: Prisma.SettingsWhereUniqueInput;
|
|
383
|
+
data: Prisma.XOR<Prisma.SettingsUpdateWithoutTenantInput, Prisma.SettingsUncheckedUpdateWithoutTenantInput>;
|
|
384
|
+
};
|
|
385
|
+
export type SettingsUpdateManyWithWhereWithoutTenantInput = {
|
|
386
|
+
where: Prisma.SettingsScalarWhereInput;
|
|
387
|
+
data: Prisma.XOR<Prisma.SettingsUpdateManyMutationInput, Prisma.SettingsUncheckedUpdateManyWithoutTenantInput>;
|
|
388
|
+
};
|
|
389
|
+
export type SettingsScalarWhereInput = {
|
|
390
|
+
AND?: Prisma.SettingsScalarWhereInput | Prisma.SettingsScalarWhereInput[];
|
|
391
|
+
OR?: Prisma.SettingsScalarWhereInput[];
|
|
392
|
+
NOT?: Prisma.SettingsScalarWhereInput | Prisma.SettingsScalarWhereInput[];
|
|
393
|
+
id?: Prisma.StringFilter<"Settings"> | string;
|
|
394
|
+
tenantId?: Prisma.StringFilter<"Settings"> | string;
|
|
395
|
+
key?: Prisma.StringFilter<"Settings"> | string;
|
|
396
|
+
value?: Prisma.StringFilter<"Settings"> | string;
|
|
397
|
+
category?: Prisma.StringNullableFilter<"Settings"> | string | null;
|
|
398
|
+
createdAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
399
|
+
updatedAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
400
|
+
};
|
|
401
|
+
export type SettingsCreateManyTenantInput = {
|
|
402
|
+
id?: string;
|
|
403
|
+
key: string;
|
|
404
|
+
value: string;
|
|
405
|
+
category?: string | null;
|
|
406
|
+
createdAt?: Date | string;
|
|
407
|
+
updatedAt?: Date | string;
|
|
408
|
+
};
|
|
409
|
+
export type SettingsUpdateWithoutTenantInput = {
|
|
410
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
412
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
413
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
414
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
415
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
|
+
};
|
|
417
|
+
export type SettingsUncheckedUpdateWithoutTenantInput = {
|
|
418
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
419
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
420
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
423
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
424
|
+
};
|
|
425
|
+
export type SettingsUncheckedUpdateManyWithoutTenantInput = {
|
|
426
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
427
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
428
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
429
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
431
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
|
+
};
|
|
277
433
|
export type SettingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
278
434
|
id?: boolean;
|
|
435
|
+
tenantId?: boolean;
|
|
279
436
|
key?: boolean;
|
|
280
437
|
value?: boolean;
|
|
281
438
|
category?: boolean;
|
|
282
439
|
createdAt?: boolean;
|
|
283
440
|
updatedAt?: boolean;
|
|
441
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
284
442
|
}, ExtArgs["result"]["settings"]>;
|
|
285
443
|
export type SettingsSelectScalar = {
|
|
286
444
|
id?: boolean;
|
|
445
|
+
tenantId?: boolean;
|
|
287
446
|
key?: boolean;
|
|
288
447
|
value?: boolean;
|
|
289
448
|
category?: boolean;
|
|
290
449
|
createdAt?: boolean;
|
|
291
450
|
updatedAt?: boolean;
|
|
292
451
|
};
|
|
293
|
-
export type SettingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "category" | "createdAt" | "updatedAt", ExtArgs["result"]["settings"]>;
|
|
452
|
+
export type SettingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "key" | "value" | "category" | "createdAt" | "updatedAt", ExtArgs["result"]["settings"]>;
|
|
453
|
+
export type SettingsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
454
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
455
|
+
};
|
|
294
456
|
export type $SettingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
295
457
|
name: "Settings";
|
|
296
|
-
objects: {
|
|
458
|
+
objects: {
|
|
459
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
460
|
+
};
|
|
297
461
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
298
462
|
id: string;
|
|
463
|
+
tenantId: string;
|
|
299
464
|
key: string;
|
|
300
465
|
value: string;
|
|
301
466
|
category: string | null;
|
|
@@ -578,6 +743,7 @@ export interface SettingsDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
578
743
|
*/
|
|
579
744
|
export interface Prisma__SettingsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
580
745
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
746
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
581
747
|
/**
|
|
582
748
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
583
749
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -604,6 +770,7 @@ export interface Prisma__SettingsClient<T, Null = never, ExtArgs extends runtime
|
|
|
604
770
|
*/
|
|
605
771
|
export interface SettingsFieldRefs {
|
|
606
772
|
readonly id: Prisma.FieldRef<"Settings", 'String'>;
|
|
773
|
+
readonly tenantId: Prisma.FieldRef<"Settings", 'String'>;
|
|
607
774
|
readonly key: Prisma.FieldRef<"Settings", 'String'>;
|
|
608
775
|
readonly value: Prisma.FieldRef<"Settings", 'String'>;
|
|
609
776
|
readonly category: Prisma.FieldRef<"Settings", 'String'>;
|
|
@@ -622,6 +789,10 @@ export type SettingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
622
789
|
* Omit specific fields from the Settings
|
|
623
790
|
*/
|
|
624
791
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
792
|
+
/**
|
|
793
|
+
* Choose, which related nodes to fetch as well
|
|
794
|
+
*/
|
|
795
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
625
796
|
/**
|
|
626
797
|
* Filter, which Settings to fetch.
|
|
627
798
|
*/
|
|
@@ -639,6 +810,10 @@ export type SettingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
639
810
|
* Omit specific fields from the Settings
|
|
640
811
|
*/
|
|
641
812
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
813
|
+
/**
|
|
814
|
+
* Choose, which related nodes to fetch as well
|
|
815
|
+
*/
|
|
816
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
642
817
|
/**
|
|
643
818
|
* Filter, which Settings to fetch.
|
|
644
819
|
*/
|
|
@@ -656,6 +831,10 @@ export type SettingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
656
831
|
* Omit specific fields from the Settings
|
|
657
832
|
*/
|
|
658
833
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
834
|
+
/**
|
|
835
|
+
* Choose, which related nodes to fetch as well
|
|
836
|
+
*/
|
|
837
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
659
838
|
/**
|
|
660
839
|
* Filter, which Settings to fetch.
|
|
661
840
|
*/
|
|
@@ -703,6 +882,10 @@ export type SettingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extension
|
|
|
703
882
|
* Omit specific fields from the Settings
|
|
704
883
|
*/
|
|
705
884
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
885
|
+
/**
|
|
886
|
+
* Choose, which related nodes to fetch as well
|
|
887
|
+
*/
|
|
888
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
706
889
|
/**
|
|
707
890
|
* Filter, which Settings to fetch.
|
|
708
891
|
*/
|
|
@@ -750,6 +933,10 @@ export type SettingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
750
933
|
* Omit specific fields from the Settings
|
|
751
934
|
*/
|
|
752
935
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
936
|
+
/**
|
|
937
|
+
* Choose, which related nodes to fetch as well
|
|
938
|
+
*/
|
|
939
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
753
940
|
/**
|
|
754
941
|
* Filter, which Settings to fetch.
|
|
755
942
|
*/
|
|
@@ -792,6 +979,10 @@ export type SettingsCreateArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
792
979
|
* Omit specific fields from the Settings
|
|
793
980
|
*/
|
|
794
981
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
982
|
+
/**
|
|
983
|
+
* Choose, which related nodes to fetch as well
|
|
984
|
+
*/
|
|
985
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
795
986
|
/**
|
|
796
987
|
* The data needed to create a Settings.
|
|
797
988
|
*/
|
|
@@ -819,6 +1010,10 @@ export type SettingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
819
1010
|
* Omit specific fields from the Settings
|
|
820
1011
|
*/
|
|
821
1012
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
1013
|
+
/**
|
|
1014
|
+
* Choose, which related nodes to fetch as well
|
|
1015
|
+
*/
|
|
1016
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
822
1017
|
/**
|
|
823
1018
|
* The data needed to update a Settings.
|
|
824
1019
|
*/
|
|
@@ -857,6 +1052,10 @@ export type SettingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
857
1052
|
* Omit specific fields from the Settings
|
|
858
1053
|
*/
|
|
859
1054
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Choose, which related nodes to fetch as well
|
|
1057
|
+
*/
|
|
1058
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
860
1059
|
/**
|
|
861
1060
|
* The filter to search for the Settings to update in case it exists.
|
|
862
1061
|
*/
|
|
@@ -882,6 +1081,10 @@ export type SettingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
882
1081
|
* Omit specific fields from the Settings
|
|
883
1082
|
*/
|
|
884
1083
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Choose, which related nodes to fetch as well
|
|
1086
|
+
*/
|
|
1087
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
885
1088
|
/**
|
|
886
1089
|
* Filter which Settings to delete.
|
|
887
1090
|
*/
|
|
@@ -912,5 +1115,9 @@ export type SettingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
912
1115
|
* Omit specific fields from the Settings
|
|
913
1116
|
*/
|
|
914
1117
|
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Choose, which related nodes to fetch as well
|
|
1120
|
+
*/
|
|
1121
|
+
include?: Prisma.SettingsInclude<ExtArgs> | null;
|
|
915
1122
|
};
|
|
916
1123
|
export {};
|