@valentine-efagene/qshelter-common 2.0.52 → 2.0.54
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/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +3 -1
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespace.js +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
- package/dist/generated/client/models/Contract.d.ts +484 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +18 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,916 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model Settings
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type SettingsModel = runtime.Types.Result.DefaultSelection<Prisma.$SettingsPayload>;
|
|
8
|
-
export type AggregateSettings = {
|
|
9
|
-
_count: SettingsCountAggregateOutputType | null;
|
|
10
|
-
_min: SettingsMinAggregateOutputType | null;
|
|
11
|
-
_max: SettingsMaxAggregateOutputType | null;
|
|
12
|
-
};
|
|
13
|
-
export type SettingsMinAggregateOutputType = {
|
|
14
|
-
id: string | null;
|
|
15
|
-
key: string | null;
|
|
16
|
-
value: string | null;
|
|
17
|
-
category: string | null;
|
|
18
|
-
createdAt: Date | null;
|
|
19
|
-
updatedAt: Date | null;
|
|
20
|
-
};
|
|
21
|
-
export type SettingsMaxAggregateOutputType = {
|
|
22
|
-
id: string | null;
|
|
23
|
-
key: string | null;
|
|
24
|
-
value: string | null;
|
|
25
|
-
category: string | null;
|
|
26
|
-
createdAt: Date | null;
|
|
27
|
-
updatedAt: Date | null;
|
|
28
|
-
};
|
|
29
|
-
export type SettingsCountAggregateOutputType = {
|
|
30
|
-
id: number;
|
|
31
|
-
key: number;
|
|
32
|
-
value: number;
|
|
33
|
-
category: number;
|
|
34
|
-
createdAt: number;
|
|
35
|
-
updatedAt: number;
|
|
36
|
-
_all: number;
|
|
37
|
-
};
|
|
38
|
-
export type SettingsMinAggregateInputType = {
|
|
39
|
-
id?: true;
|
|
40
|
-
key?: true;
|
|
41
|
-
value?: true;
|
|
42
|
-
category?: true;
|
|
43
|
-
createdAt?: true;
|
|
44
|
-
updatedAt?: true;
|
|
45
|
-
};
|
|
46
|
-
export type SettingsMaxAggregateInputType = {
|
|
47
|
-
id?: true;
|
|
48
|
-
key?: true;
|
|
49
|
-
value?: true;
|
|
50
|
-
category?: true;
|
|
51
|
-
createdAt?: true;
|
|
52
|
-
updatedAt?: true;
|
|
53
|
-
};
|
|
54
|
-
export type SettingsCountAggregateInputType = {
|
|
55
|
-
id?: true;
|
|
56
|
-
key?: true;
|
|
57
|
-
value?: true;
|
|
58
|
-
category?: true;
|
|
59
|
-
createdAt?: true;
|
|
60
|
-
updatedAt?: true;
|
|
61
|
-
_all?: true;
|
|
62
|
-
};
|
|
63
|
-
export type SettingsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
64
|
-
/**
|
|
65
|
-
* Filter which Settings to aggregate.
|
|
66
|
-
*/
|
|
67
|
-
where?: Prisma.SettingsWhereInput;
|
|
68
|
-
/**
|
|
69
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
70
|
-
*
|
|
71
|
-
* Determine the order of Settings to fetch.
|
|
72
|
-
*/
|
|
73
|
-
orderBy?: Prisma.SettingsOrderByWithRelationInput | Prisma.SettingsOrderByWithRelationInput[];
|
|
74
|
-
/**
|
|
75
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
76
|
-
*
|
|
77
|
-
* Sets the start position
|
|
78
|
-
*/
|
|
79
|
-
cursor?: Prisma.SettingsWhereUniqueInput;
|
|
80
|
-
/**
|
|
81
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
-
*
|
|
83
|
-
* Take `±n` Settings from the position of the cursor.
|
|
84
|
-
*/
|
|
85
|
-
take?: number;
|
|
86
|
-
/**
|
|
87
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
88
|
-
*
|
|
89
|
-
* Skip the first `n` Settings.
|
|
90
|
-
*/
|
|
91
|
-
skip?: number;
|
|
92
|
-
/**
|
|
93
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
-
*
|
|
95
|
-
* Count returned Settings
|
|
96
|
-
**/
|
|
97
|
-
_count?: true | SettingsCountAggregateInputType;
|
|
98
|
-
/**
|
|
99
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
-
*
|
|
101
|
-
* Select which fields to find the minimum value
|
|
102
|
-
**/
|
|
103
|
-
_min?: SettingsMinAggregateInputType;
|
|
104
|
-
/**
|
|
105
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
-
*
|
|
107
|
-
* Select which fields to find the maximum value
|
|
108
|
-
**/
|
|
109
|
-
_max?: SettingsMaxAggregateInputType;
|
|
110
|
-
};
|
|
111
|
-
export type GetSettingsAggregateType<T extends SettingsAggregateArgs> = {
|
|
112
|
-
[P in keyof T & keyof AggregateSettings]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSettings[P]> : Prisma.GetScalarType<T[P], AggregateSettings[P]>;
|
|
113
|
-
};
|
|
114
|
-
export type SettingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
115
|
-
where?: Prisma.SettingsWhereInput;
|
|
116
|
-
orderBy?: Prisma.SettingsOrderByWithAggregationInput | Prisma.SettingsOrderByWithAggregationInput[];
|
|
117
|
-
by: Prisma.SettingsScalarFieldEnum[] | Prisma.SettingsScalarFieldEnum;
|
|
118
|
-
having?: Prisma.SettingsScalarWhereWithAggregatesInput;
|
|
119
|
-
take?: number;
|
|
120
|
-
skip?: number;
|
|
121
|
-
_count?: SettingsCountAggregateInputType | true;
|
|
122
|
-
_min?: SettingsMinAggregateInputType;
|
|
123
|
-
_max?: SettingsMaxAggregateInputType;
|
|
124
|
-
};
|
|
125
|
-
export type SettingsGroupByOutputType = {
|
|
126
|
-
id: string;
|
|
127
|
-
key: string;
|
|
128
|
-
value: string;
|
|
129
|
-
category: string | null;
|
|
130
|
-
createdAt: Date;
|
|
131
|
-
updatedAt: Date;
|
|
132
|
-
_count: SettingsCountAggregateOutputType | null;
|
|
133
|
-
_min: SettingsMinAggregateOutputType | null;
|
|
134
|
-
_max: SettingsMaxAggregateOutputType | null;
|
|
135
|
-
};
|
|
136
|
-
type GetSettingsGroupByPayload<T extends SettingsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SettingsGroupByOutputType, T['by']> & {
|
|
137
|
-
[P in ((keyof T) & (keyof SettingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SettingsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SettingsGroupByOutputType[P]>;
|
|
138
|
-
}>>;
|
|
139
|
-
export type SettingsWhereInput = {
|
|
140
|
-
AND?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
141
|
-
OR?: Prisma.SettingsWhereInput[];
|
|
142
|
-
NOT?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
143
|
-
id?: Prisma.StringFilter<"Settings"> | string;
|
|
144
|
-
key?: Prisma.StringFilter<"Settings"> | string;
|
|
145
|
-
value?: Prisma.StringFilter<"Settings"> | string;
|
|
146
|
-
category?: Prisma.StringNullableFilter<"Settings"> | string | null;
|
|
147
|
-
createdAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
148
|
-
updatedAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
149
|
-
};
|
|
150
|
-
export type SettingsOrderByWithRelationInput = {
|
|
151
|
-
id?: Prisma.SortOrder;
|
|
152
|
-
key?: Prisma.SortOrder;
|
|
153
|
-
value?: Prisma.SortOrder;
|
|
154
|
-
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
155
|
-
createdAt?: Prisma.SortOrder;
|
|
156
|
-
updatedAt?: Prisma.SortOrder;
|
|
157
|
-
_relevance?: Prisma.SettingsOrderByRelevanceInput;
|
|
158
|
-
};
|
|
159
|
-
export type SettingsWhereUniqueInput = Prisma.AtLeast<{
|
|
160
|
-
id?: string;
|
|
161
|
-
key?: string;
|
|
162
|
-
AND?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
163
|
-
OR?: Prisma.SettingsWhereInput[];
|
|
164
|
-
NOT?: Prisma.SettingsWhereInput | Prisma.SettingsWhereInput[];
|
|
165
|
-
value?: Prisma.StringFilter<"Settings"> | string;
|
|
166
|
-
category?: Prisma.StringNullableFilter<"Settings"> | string | null;
|
|
167
|
-
createdAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
168
|
-
updatedAt?: Prisma.DateTimeFilter<"Settings"> | Date | string;
|
|
169
|
-
}, "id" | "key">;
|
|
170
|
-
export type SettingsOrderByWithAggregationInput = {
|
|
171
|
-
id?: Prisma.SortOrder;
|
|
172
|
-
key?: Prisma.SortOrder;
|
|
173
|
-
value?: Prisma.SortOrder;
|
|
174
|
-
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
175
|
-
createdAt?: Prisma.SortOrder;
|
|
176
|
-
updatedAt?: Prisma.SortOrder;
|
|
177
|
-
_count?: Prisma.SettingsCountOrderByAggregateInput;
|
|
178
|
-
_max?: Prisma.SettingsMaxOrderByAggregateInput;
|
|
179
|
-
_min?: Prisma.SettingsMinOrderByAggregateInput;
|
|
180
|
-
};
|
|
181
|
-
export type SettingsScalarWhereWithAggregatesInput = {
|
|
182
|
-
AND?: Prisma.SettingsScalarWhereWithAggregatesInput | Prisma.SettingsScalarWhereWithAggregatesInput[];
|
|
183
|
-
OR?: Prisma.SettingsScalarWhereWithAggregatesInput[];
|
|
184
|
-
NOT?: Prisma.SettingsScalarWhereWithAggregatesInput | Prisma.SettingsScalarWhereWithAggregatesInput[];
|
|
185
|
-
id?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
186
|
-
key?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
187
|
-
value?: Prisma.StringWithAggregatesFilter<"Settings"> | string;
|
|
188
|
-
category?: Prisma.StringNullableWithAggregatesFilter<"Settings"> | string | null;
|
|
189
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Settings"> | Date | string;
|
|
190
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Settings"> | Date | string;
|
|
191
|
-
};
|
|
192
|
-
export type SettingsCreateInput = {
|
|
193
|
-
id?: string;
|
|
194
|
-
key: string;
|
|
195
|
-
value: string;
|
|
196
|
-
category?: string | null;
|
|
197
|
-
createdAt?: Date | string;
|
|
198
|
-
updatedAt?: Date | string;
|
|
199
|
-
};
|
|
200
|
-
export type SettingsUncheckedCreateInput = {
|
|
201
|
-
id?: string;
|
|
202
|
-
key: string;
|
|
203
|
-
value: string;
|
|
204
|
-
category?: string | null;
|
|
205
|
-
createdAt?: Date | string;
|
|
206
|
-
updatedAt?: Date | string;
|
|
207
|
-
};
|
|
208
|
-
export type SettingsUpdateInput = {
|
|
209
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
210
|
-
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
211
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
212
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
213
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
214
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
215
|
-
};
|
|
216
|
-
export type SettingsUncheckedUpdateInput = {
|
|
217
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
218
|
-
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
221
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
222
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
223
|
-
};
|
|
224
|
-
export type SettingsCreateManyInput = {
|
|
225
|
-
id?: string;
|
|
226
|
-
key: string;
|
|
227
|
-
value: string;
|
|
228
|
-
category?: string | null;
|
|
229
|
-
createdAt?: Date | string;
|
|
230
|
-
updatedAt?: Date | string;
|
|
231
|
-
};
|
|
232
|
-
export type SettingsUpdateManyMutationInput = {
|
|
233
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
234
|
-
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
235
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
237
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
238
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
239
|
-
};
|
|
240
|
-
export type SettingsUncheckedUpdateManyInput = {
|
|
241
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
-
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
243
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
244
|
-
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
245
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
246
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
247
|
-
};
|
|
248
|
-
export type SettingsOrderByRelevanceInput = {
|
|
249
|
-
fields: Prisma.SettingsOrderByRelevanceFieldEnum | Prisma.SettingsOrderByRelevanceFieldEnum[];
|
|
250
|
-
sort: Prisma.SortOrder;
|
|
251
|
-
search: string;
|
|
252
|
-
};
|
|
253
|
-
export type SettingsCountOrderByAggregateInput = {
|
|
254
|
-
id?: Prisma.SortOrder;
|
|
255
|
-
key?: Prisma.SortOrder;
|
|
256
|
-
value?: Prisma.SortOrder;
|
|
257
|
-
category?: Prisma.SortOrder;
|
|
258
|
-
createdAt?: Prisma.SortOrder;
|
|
259
|
-
updatedAt?: Prisma.SortOrder;
|
|
260
|
-
};
|
|
261
|
-
export type SettingsMaxOrderByAggregateInput = {
|
|
262
|
-
id?: Prisma.SortOrder;
|
|
263
|
-
key?: Prisma.SortOrder;
|
|
264
|
-
value?: Prisma.SortOrder;
|
|
265
|
-
category?: Prisma.SortOrder;
|
|
266
|
-
createdAt?: Prisma.SortOrder;
|
|
267
|
-
updatedAt?: Prisma.SortOrder;
|
|
268
|
-
};
|
|
269
|
-
export type SettingsMinOrderByAggregateInput = {
|
|
270
|
-
id?: Prisma.SortOrder;
|
|
271
|
-
key?: Prisma.SortOrder;
|
|
272
|
-
value?: Prisma.SortOrder;
|
|
273
|
-
category?: Prisma.SortOrder;
|
|
274
|
-
createdAt?: Prisma.SortOrder;
|
|
275
|
-
updatedAt?: Prisma.SortOrder;
|
|
276
|
-
};
|
|
277
|
-
export type SettingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
278
|
-
id?: boolean;
|
|
279
|
-
key?: boolean;
|
|
280
|
-
value?: boolean;
|
|
281
|
-
category?: boolean;
|
|
282
|
-
createdAt?: boolean;
|
|
283
|
-
updatedAt?: boolean;
|
|
284
|
-
}, ExtArgs["result"]["settings"]>;
|
|
285
|
-
export type SettingsSelectScalar = {
|
|
286
|
-
id?: boolean;
|
|
287
|
-
key?: boolean;
|
|
288
|
-
value?: boolean;
|
|
289
|
-
category?: boolean;
|
|
290
|
-
createdAt?: boolean;
|
|
291
|
-
updatedAt?: boolean;
|
|
292
|
-
};
|
|
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"]>;
|
|
294
|
-
export type $SettingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
295
|
-
name: "Settings";
|
|
296
|
-
objects: {};
|
|
297
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
298
|
-
id: string;
|
|
299
|
-
key: string;
|
|
300
|
-
value: string;
|
|
301
|
-
category: string | null;
|
|
302
|
-
createdAt: Date;
|
|
303
|
-
updatedAt: Date;
|
|
304
|
-
}, ExtArgs["result"]["settings"]>;
|
|
305
|
-
composites: {};
|
|
306
|
-
};
|
|
307
|
-
export type SettingsGetPayload<S extends boolean | null | undefined | SettingsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SettingsPayload, S>;
|
|
308
|
-
export type SettingsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SettingsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
309
|
-
select?: SettingsCountAggregateInputType | true;
|
|
310
|
-
};
|
|
311
|
-
export interface SettingsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
312
|
-
[K: symbol]: {
|
|
313
|
-
types: Prisma.TypeMap<ExtArgs>['model']['Settings'];
|
|
314
|
-
meta: {
|
|
315
|
-
name: 'Settings';
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
/**
|
|
319
|
-
* Find zero or one Settings that matches the filter.
|
|
320
|
-
* @param {SettingsFindUniqueArgs} args - Arguments to find a Settings
|
|
321
|
-
* @example
|
|
322
|
-
* // Get one Settings
|
|
323
|
-
* const settings = await prisma.settings.findUnique({
|
|
324
|
-
* where: {
|
|
325
|
-
* // ... provide filter here
|
|
326
|
-
* }
|
|
327
|
-
* })
|
|
328
|
-
*/
|
|
329
|
-
findUnique<T extends SettingsFindUniqueArgs>(args: Prisma.SelectSubset<T, SettingsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
330
|
-
/**
|
|
331
|
-
* Find one Settings that matches the filter or throw an error with `error.code='P2025'`
|
|
332
|
-
* if no matches were found.
|
|
333
|
-
* @param {SettingsFindUniqueOrThrowArgs} args - Arguments to find a Settings
|
|
334
|
-
* @example
|
|
335
|
-
* // Get one Settings
|
|
336
|
-
* const settings = await prisma.settings.findUniqueOrThrow({
|
|
337
|
-
* where: {
|
|
338
|
-
* // ... provide filter here
|
|
339
|
-
* }
|
|
340
|
-
* })
|
|
341
|
-
*/
|
|
342
|
-
findUniqueOrThrow<T extends SettingsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
343
|
-
/**
|
|
344
|
-
* Find the first Settings that matches the filter.
|
|
345
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
346
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
347
|
-
* @param {SettingsFindFirstArgs} args - Arguments to find a Settings
|
|
348
|
-
* @example
|
|
349
|
-
* // Get one Settings
|
|
350
|
-
* const settings = await prisma.settings.findFirst({
|
|
351
|
-
* where: {
|
|
352
|
-
* // ... provide filter here
|
|
353
|
-
* }
|
|
354
|
-
* })
|
|
355
|
-
*/
|
|
356
|
-
findFirst<T extends SettingsFindFirstArgs>(args?: Prisma.SelectSubset<T, SettingsFindFirstArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
357
|
-
/**
|
|
358
|
-
* Find the first Settings that matches the filter or
|
|
359
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
360
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
361
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
362
|
-
* @param {SettingsFindFirstOrThrowArgs} args - Arguments to find a Settings
|
|
363
|
-
* @example
|
|
364
|
-
* // Get one Settings
|
|
365
|
-
* const settings = await prisma.settings.findFirstOrThrow({
|
|
366
|
-
* where: {
|
|
367
|
-
* // ... provide filter here
|
|
368
|
-
* }
|
|
369
|
-
* })
|
|
370
|
-
*/
|
|
371
|
-
findFirstOrThrow<T extends SettingsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
372
|
-
/**
|
|
373
|
-
* Find zero or more Settings that matches the filter.
|
|
374
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
375
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
376
|
-
* @param {SettingsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
377
|
-
* @example
|
|
378
|
-
* // Get all Settings
|
|
379
|
-
* const settings = await prisma.settings.findMany()
|
|
380
|
-
*
|
|
381
|
-
* // Get first 10 Settings
|
|
382
|
-
* const settings = await prisma.settings.findMany({ take: 10 })
|
|
383
|
-
*
|
|
384
|
-
* // Only select the `id`
|
|
385
|
-
* const settingsWithIdOnly = await prisma.settings.findMany({ select: { id: true } })
|
|
386
|
-
*
|
|
387
|
-
*/
|
|
388
|
-
findMany<T extends SettingsFindManyArgs>(args?: Prisma.SelectSubset<T, SettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
389
|
-
/**
|
|
390
|
-
* Create a Settings.
|
|
391
|
-
* @param {SettingsCreateArgs} args - Arguments to create a Settings.
|
|
392
|
-
* @example
|
|
393
|
-
* // Create one Settings
|
|
394
|
-
* const Settings = await prisma.settings.create({
|
|
395
|
-
* data: {
|
|
396
|
-
* // ... data to create a Settings
|
|
397
|
-
* }
|
|
398
|
-
* })
|
|
399
|
-
*
|
|
400
|
-
*/
|
|
401
|
-
create<T extends SettingsCreateArgs>(args: Prisma.SelectSubset<T, SettingsCreateArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
402
|
-
/**
|
|
403
|
-
* Create many Settings.
|
|
404
|
-
* @param {SettingsCreateManyArgs} args - Arguments to create many Settings.
|
|
405
|
-
* @example
|
|
406
|
-
* // Create many Settings
|
|
407
|
-
* const settings = await prisma.settings.createMany({
|
|
408
|
-
* data: [
|
|
409
|
-
* // ... provide data here
|
|
410
|
-
* ]
|
|
411
|
-
* })
|
|
412
|
-
*
|
|
413
|
-
*/
|
|
414
|
-
createMany<T extends SettingsCreateManyArgs>(args?: Prisma.SelectSubset<T, SettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
415
|
-
/**
|
|
416
|
-
* Delete a Settings.
|
|
417
|
-
* @param {SettingsDeleteArgs} args - Arguments to delete one Settings.
|
|
418
|
-
* @example
|
|
419
|
-
* // Delete one Settings
|
|
420
|
-
* const Settings = await prisma.settings.delete({
|
|
421
|
-
* where: {
|
|
422
|
-
* // ... filter to delete one Settings
|
|
423
|
-
* }
|
|
424
|
-
* })
|
|
425
|
-
*
|
|
426
|
-
*/
|
|
427
|
-
delete<T extends SettingsDeleteArgs>(args: Prisma.SelectSubset<T, SettingsDeleteArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
428
|
-
/**
|
|
429
|
-
* Update one Settings.
|
|
430
|
-
* @param {SettingsUpdateArgs} args - Arguments to update one Settings.
|
|
431
|
-
* @example
|
|
432
|
-
* // Update one Settings
|
|
433
|
-
* const settings = await prisma.settings.update({
|
|
434
|
-
* where: {
|
|
435
|
-
* // ... provide filter here
|
|
436
|
-
* },
|
|
437
|
-
* data: {
|
|
438
|
-
* // ... provide data here
|
|
439
|
-
* }
|
|
440
|
-
* })
|
|
441
|
-
*
|
|
442
|
-
*/
|
|
443
|
-
update<T extends SettingsUpdateArgs>(args: Prisma.SelectSubset<T, SettingsUpdateArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
444
|
-
/**
|
|
445
|
-
* Delete zero or more Settings.
|
|
446
|
-
* @param {SettingsDeleteManyArgs} args - Arguments to filter Settings to delete.
|
|
447
|
-
* @example
|
|
448
|
-
* // Delete a few Settings
|
|
449
|
-
* const { count } = await prisma.settings.deleteMany({
|
|
450
|
-
* where: {
|
|
451
|
-
* // ... provide filter here
|
|
452
|
-
* }
|
|
453
|
-
* })
|
|
454
|
-
*
|
|
455
|
-
*/
|
|
456
|
-
deleteMany<T extends SettingsDeleteManyArgs>(args?: Prisma.SelectSubset<T, SettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
457
|
-
/**
|
|
458
|
-
* Update zero or more Settings.
|
|
459
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
460
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
461
|
-
* @param {SettingsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
462
|
-
* @example
|
|
463
|
-
* // Update many Settings
|
|
464
|
-
* const settings = await prisma.settings.updateMany({
|
|
465
|
-
* where: {
|
|
466
|
-
* // ... provide filter here
|
|
467
|
-
* },
|
|
468
|
-
* data: {
|
|
469
|
-
* // ... provide data here
|
|
470
|
-
* }
|
|
471
|
-
* })
|
|
472
|
-
*
|
|
473
|
-
*/
|
|
474
|
-
updateMany<T extends SettingsUpdateManyArgs>(args: Prisma.SelectSubset<T, SettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
475
|
-
/**
|
|
476
|
-
* Create or update one Settings.
|
|
477
|
-
* @param {SettingsUpsertArgs} args - Arguments to update or create a Settings.
|
|
478
|
-
* @example
|
|
479
|
-
* // Update or create a Settings
|
|
480
|
-
* const settings = await prisma.settings.upsert({
|
|
481
|
-
* create: {
|
|
482
|
-
* // ... data to create a Settings
|
|
483
|
-
* },
|
|
484
|
-
* update: {
|
|
485
|
-
* // ... in case it already exists, update
|
|
486
|
-
* },
|
|
487
|
-
* where: {
|
|
488
|
-
* // ... the filter for the Settings we want to update
|
|
489
|
-
* }
|
|
490
|
-
* })
|
|
491
|
-
*/
|
|
492
|
-
upsert<T extends SettingsUpsertArgs>(args: Prisma.SelectSubset<T, SettingsUpsertArgs<ExtArgs>>): Prisma.Prisma__SettingsClient<runtime.Types.Result.GetResult<Prisma.$SettingsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
493
|
-
/**
|
|
494
|
-
* Count the number of Settings.
|
|
495
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
496
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
497
|
-
* @param {SettingsCountArgs} args - Arguments to filter Settings to count.
|
|
498
|
-
* @example
|
|
499
|
-
* // Count the number of Settings
|
|
500
|
-
* const count = await prisma.settings.count({
|
|
501
|
-
* where: {
|
|
502
|
-
* // ... the filter for the Settings we want to count
|
|
503
|
-
* }
|
|
504
|
-
* })
|
|
505
|
-
**/
|
|
506
|
-
count<T extends SettingsCountArgs>(args?: Prisma.Subset<T, SettingsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SettingsCountAggregateOutputType> : number>;
|
|
507
|
-
/**
|
|
508
|
-
* Allows you to perform aggregations operations on a Settings.
|
|
509
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
510
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
511
|
-
* @param {SettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
512
|
-
* @example
|
|
513
|
-
* // Ordered by age ascending
|
|
514
|
-
* // Where email contains prisma.io
|
|
515
|
-
* // Limited to the 10 users
|
|
516
|
-
* const aggregations = await prisma.user.aggregate({
|
|
517
|
-
* _avg: {
|
|
518
|
-
* age: true,
|
|
519
|
-
* },
|
|
520
|
-
* where: {
|
|
521
|
-
* email: {
|
|
522
|
-
* contains: "prisma.io",
|
|
523
|
-
* },
|
|
524
|
-
* },
|
|
525
|
-
* orderBy: {
|
|
526
|
-
* age: "asc",
|
|
527
|
-
* },
|
|
528
|
-
* take: 10,
|
|
529
|
-
* })
|
|
530
|
-
**/
|
|
531
|
-
aggregate<T extends SettingsAggregateArgs>(args: Prisma.Subset<T, SettingsAggregateArgs>): Prisma.PrismaPromise<GetSettingsAggregateType<T>>;
|
|
532
|
-
/**
|
|
533
|
-
* Group by Settings.
|
|
534
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
535
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
536
|
-
* @param {SettingsGroupByArgs} args - Group by arguments.
|
|
537
|
-
* @example
|
|
538
|
-
* // Group by city, order by createdAt, get count
|
|
539
|
-
* const result = await prisma.user.groupBy({
|
|
540
|
-
* by: ['city', 'createdAt'],
|
|
541
|
-
* orderBy: {
|
|
542
|
-
* createdAt: true
|
|
543
|
-
* },
|
|
544
|
-
* _count: {
|
|
545
|
-
* _all: true
|
|
546
|
-
* },
|
|
547
|
-
* })
|
|
548
|
-
*
|
|
549
|
-
**/
|
|
550
|
-
groupBy<T extends SettingsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
551
|
-
orderBy: SettingsGroupByArgs['orderBy'];
|
|
552
|
-
} : {
|
|
553
|
-
orderBy?: SettingsGroupByArgs['orderBy'];
|
|
554
|
-
}, 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 ? {
|
|
555
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
556
|
-
Error,
|
|
557
|
-
'Field ',
|
|
558
|
-
P,
|
|
559
|
-
` in "having" needs to be provided in "by"`
|
|
560
|
-
];
|
|
561
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
562
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
563
|
-
}[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 ? {} : {
|
|
564
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
565
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
566
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
567
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, SettingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSettingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
568
|
-
/**
|
|
569
|
-
* Fields of the Settings model
|
|
570
|
-
*/
|
|
571
|
-
readonly fields: SettingsFieldRefs;
|
|
572
|
-
}
|
|
573
|
-
/**
|
|
574
|
-
* The delegate class that acts as a "Promise-like" for Settings.
|
|
575
|
-
* Why is this prefixed with `Prisma__`?
|
|
576
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
577
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
578
|
-
*/
|
|
579
|
-
export interface Prisma__SettingsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
580
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
581
|
-
/**
|
|
582
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
583
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
584
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
585
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
586
|
-
*/
|
|
587
|
-
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>;
|
|
588
|
-
/**
|
|
589
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
590
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
591
|
-
* @returns A Promise for the completion of the callback.
|
|
592
|
-
*/
|
|
593
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
594
|
-
/**
|
|
595
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
596
|
-
* resolved value cannot be modified from the callback.
|
|
597
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
598
|
-
* @returns A Promise for the completion of the callback.
|
|
599
|
-
*/
|
|
600
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* Fields of the Settings model
|
|
604
|
-
*/
|
|
605
|
-
export interface SettingsFieldRefs {
|
|
606
|
-
readonly id: Prisma.FieldRef<"Settings", 'String'>;
|
|
607
|
-
readonly key: Prisma.FieldRef<"Settings", 'String'>;
|
|
608
|
-
readonly value: Prisma.FieldRef<"Settings", 'String'>;
|
|
609
|
-
readonly category: Prisma.FieldRef<"Settings", 'String'>;
|
|
610
|
-
readonly createdAt: Prisma.FieldRef<"Settings", 'DateTime'>;
|
|
611
|
-
readonly updatedAt: Prisma.FieldRef<"Settings", 'DateTime'>;
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* Settings findUnique
|
|
615
|
-
*/
|
|
616
|
-
export type SettingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
617
|
-
/**
|
|
618
|
-
* Select specific fields to fetch from the Settings
|
|
619
|
-
*/
|
|
620
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
621
|
-
/**
|
|
622
|
-
* Omit specific fields from the Settings
|
|
623
|
-
*/
|
|
624
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
625
|
-
/**
|
|
626
|
-
* Filter, which Settings to fetch.
|
|
627
|
-
*/
|
|
628
|
-
where: Prisma.SettingsWhereUniqueInput;
|
|
629
|
-
};
|
|
630
|
-
/**
|
|
631
|
-
* Settings findUniqueOrThrow
|
|
632
|
-
*/
|
|
633
|
-
export type SettingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
634
|
-
/**
|
|
635
|
-
* Select specific fields to fetch from the Settings
|
|
636
|
-
*/
|
|
637
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
638
|
-
/**
|
|
639
|
-
* Omit specific fields from the Settings
|
|
640
|
-
*/
|
|
641
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
642
|
-
/**
|
|
643
|
-
* Filter, which Settings to fetch.
|
|
644
|
-
*/
|
|
645
|
-
where: Prisma.SettingsWhereUniqueInput;
|
|
646
|
-
};
|
|
647
|
-
/**
|
|
648
|
-
* Settings findFirst
|
|
649
|
-
*/
|
|
650
|
-
export type SettingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
651
|
-
/**
|
|
652
|
-
* Select specific fields to fetch from the Settings
|
|
653
|
-
*/
|
|
654
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
655
|
-
/**
|
|
656
|
-
* Omit specific fields from the Settings
|
|
657
|
-
*/
|
|
658
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
659
|
-
/**
|
|
660
|
-
* Filter, which Settings to fetch.
|
|
661
|
-
*/
|
|
662
|
-
where?: Prisma.SettingsWhereInput;
|
|
663
|
-
/**
|
|
664
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
665
|
-
*
|
|
666
|
-
* Determine the order of Settings to fetch.
|
|
667
|
-
*/
|
|
668
|
-
orderBy?: Prisma.SettingsOrderByWithRelationInput | Prisma.SettingsOrderByWithRelationInput[];
|
|
669
|
-
/**
|
|
670
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
671
|
-
*
|
|
672
|
-
* Sets the position for searching for Settings.
|
|
673
|
-
*/
|
|
674
|
-
cursor?: Prisma.SettingsWhereUniqueInput;
|
|
675
|
-
/**
|
|
676
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
677
|
-
*
|
|
678
|
-
* Take `±n` Settings from the position of the cursor.
|
|
679
|
-
*/
|
|
680
|
-
take?: number;
|
|
681
|
-
/**
|
|
682
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
683
|
-
*
|
|
684
|
-
* Skip the first `n` Settings.
|
|
685
|
-
*/
|
|
686
|
-
skip?: number;
|
|
687
|
-
/**
|
|
688
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
689
|
-
*
|
|
690
|
-
* Filter by unique combinations of Settings.
|
|
691
|
-
*/
|
|
692
|
-
distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[];
|
|
693
|
-
};
|
|
694
|
-
/**
|
|
695
|
-
* Settings findFirstOrThrow
|
|
696
|
-
*/
|
|
697
|
-
export type SettingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
698
|
-
/**
|
|
699
|
-
* Select specific fields to fetch from the Settings
|
|
700
|
-
*/
|
|
701
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
702
|
-
/**
|
|
703
|
-
* Omit specific fields from the Settings
|
|
704
|
-
*/
|
|
705
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
706
|
-
/**
|
|
707
|
-
* Filter, which Settings to fetch.
|
|
708
|
-
*/
|
|
709
|
-
where?: Prisma.SettingsWhereInput;
|
|
710
|
-
/**
|
|
711
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
712
|
-
*
|
|
713
|
-
* Determine the order of Settings to fetch.
|
|
714
|
-
*/
|
|
715
|
-
orderBy?: Prisma.SettingsOrderByWithRelationInput | Prisma.SettingsOrderByWithRelationInput[];
|
|
716
|
-
/**
|
|
717
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
718
|
-
*
|
|
719
|
-
* Sets the position for searching for Settings.
|
|
720
|
-
*/
|
|
721
|
-
cursor?: Prisma.SettingsWhereUniqueInput;
|
|
722
|
-
/**
|
|
723
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
724
|
-
*
|
|
725
|
-
* Take `±n` Settings from the position of the cursor.
|
|
726
|
-
*/
|
|
727
|
-
take?: number;
|
|
728
|
-
/**
|
|
729
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
730
|
-
*
|
|
731
|
-
* Skip the first `n` Settings.
|
|
732
|
-
*/
|
|
733
|
-
skip?: number;
|
|
734
|
-
/**
|
|
735
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
736
|
-
*
|
|
737
|
-
* Filter by unique combinations of Settings.
|
|
738
|
-
*/
|
|
739
|
-
distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[];
|
|
740
|
-
};
|
|
741
|
-
/**
|
|
742
|
-
* Settings findMany
|
|
743
|
-
*/
|
|
744
|
-
export type SettingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
745
|
-
/**
|
|
746
|
-
* Select specific fields to fetch from the Settings
|
|
747
|
-
*/
|
|
748
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
749
|
-
/**
|
|
750
|
-
* Omit specific fields from the Settings
|
|
751
|
-
*/
|
|
752
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
753
|
-
/**
|
|
754
|
-
* Filter, which Settings to fetch.
|
|
755
|
-
*/
|
|
756
|
-
where?: Prisma.SettingsWhereInput;
|
|
757
|
-
/**
|
|
758
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
759
|
-
*
|
|
760
|
-
* Determine the order of Settings to fetch.
|
|
761
|
-
*/
|
|
762
|
-
orderBy?: Prisma.SettingsOrderByWithRelationInput | Prisma.SettingsOrderByWithRelationInput[];
|
|
763
|
-
/**
|
|
764
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
765
|
-
*
|
|
766
|
-
* Sets the position for listing Settings.
|
|
767
|
-
*/
|
|
768
|
-
cursor?: Prisma.SettingsWhereUniqueInput;
|
|
769
|
-
/**
|
|
770
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
771
|
-
*
|
|
772
|
-
* Take `±n` Settings from the position of the cursor.
|
|
773
|
-
*/
|
|
774
|
-
take?: number;
|
|
775
|
-
/**
|
|
776
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
777
|
-
*
|
|
778
|
-
* Skip the first `n` Settings.
|
|
779
|
-
*/
|
|
780
|
-
skip?: number;
|
|
781
|
-
distinct?: Prisma.SettingsScalarFieldEnum | Prisma.SettingsScalarFieldEnum[];
|
|
782
|
-
};
|
|
783
|
-
/**
|
|
784
|
-
* Settings create
|
|
785
|
-
*/
|
|
786
|
-
export type SettingsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
787
|
-
/**
|
|
788
|
-
* Select specific fields to fetch from the Settings
|
|
789
|
-
*/
|
|
790
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
791
|
-
/**
|
|
792
|
-
* Omit specific fields from the Settings
|
|
793
|
-
*/
|
|
794
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
795
|
-
/**
|
|
796
|
-
* The data needed to create a Settings.
|
|
797
|
-
*/
|
|
798
|
-
data: Prisma.XOR<Prisma.SettingsCreateInput, Prisma.SettingsUncheckedCreateInput>;
|
|
799
|
-
};
|
|
800
|
-
/**
|
|
801
|
-
* Settings createMany
|
|
802
|
-
*/
|
|
803
|
-
export type SettingsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
804
|
-
/**
|
|
805
|
-
* The data used to create many Settings.
|
|
806
|
-
*/
|
|
807
|
-
data: Prisma.SettingsCreateManyInput | Prisma.SettingsCreateManyInput[];
|
|
808
|
-
skipDuplicates?: boolean;
|
|
809
|
-
};
|
|
810
|
-
/**
|
|
811
|
-
* Settings update
|
|
812
|
-
*/
|
|
813
|
-
export type SettingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
814
|
-
/**
|
|
815
|
-
* Select specific fields to fetch from the Settings
|
|
816
|
-
*/
|
|
817
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
818
|
-
/**
|
|
819
|
-
* Omit specific fields from the Settings
|
|
820
|
-
*/
|
|
821
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
822
|
-
/**
|
|
823
|
-
* The data needed to update a Settings.
|
|
824
|
-
*/
|
|
825
|
-
data: Prisma.XOR<Prisma.SettingsUpdateInput, Prisma.SettingsUncheckedUpdateInput>;
|
|
826
|
-
/**
|
|
827
|
-
* Choose, which Settings to update.
|
|
828
|
-
*/
|
|
829
|
-
where: Prisma.SettingsWhereUniqueInput;
|
|
830
|
-
};
|
|
831
|
-
/**
|
|
832
|
-
* Settings updateMany
|
|
833
|
-
*/
|
|
834
|
-
export type SettingsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
835
|
-
/**
|
|
836
|
-
* The data used to update Settings.
|
|
837
|
-
*/
|
|
838
|
-
data: Prisma.XOR<Prisma.SettingsUpdateManyMutationInput, Prisma.SettingsUncheckedUpdateManyInput>;
|
|
839
|
-
/**
|
|
840
|
-
* Filter which Settings to update
|
|
841
|
-
*/
|
|
842
|
-
where?: Prisma.SettingsWhereInput;
|
|
843
|
-
/**
|
|
844
|
-
* Limit how many Settings to update.
|
|
845
|
-
*/
|
|
846
|
-
limit?: number;
|
|
847
|
-
};
|
|
848
|
-
/**
|
|
849
|
-
* Settings upsert
|
|
850
|
-
*/
|
|
851
|
-
export type SettingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
852
|
-
/**
|
|
853
|
-
* Select specific fields to fetch from the Settings
|
|
854
|
-
*/
|
|
855
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
856
|
-
/**
|
|
857
|
-
* Omit specific fields from the Settings
|
|
858
|
-
*/
|
|
859
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
860
|
-
/**
|
|
861
|
-
* The filter to search for the Settings to update in case it exists.
|
|
862
|
-
*/
|
|
863
|
-
where: Prisma.SettingsWhereUniqueInput;
|
|
864
|
-
/**
|
|
865
|
-
* In case the Settings found by the `where` argument doesn't exist, create a new Settings with this data.
|
|
866
|
-
*/
|
|
867
|
-
create: Prisma.XOR<Prisma.SettingsCreateInput, Prisma.SettingsUncheckedCreateInput>;
|
|
868
|
-
/**
|
|
869
|
-
* In case the Settings was found with the provided `where` argument, update it with this data.
|
|
870
|
-
*/
|
|
871
|
-
update: Prisma.XOR<Prisma.SettingsUpdateInput, Prisma.SettingsUncheckedUpdateInput>;
|
|
872
|
-
};
|
|
873
|
-
/**
|
|
874
|
-
* Settings delete
|
|
875
|
-
*/
|
|
876
|
-
export type SettingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
877
|
-
/**
|
|
878
|
-
* Select specific fields to fetch from the Settings
|
|
879
|
-
*/
|
|
880
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
881
|
-
/**
|
|
882
|
-
* Omit specific fields from the Settings
|
|
883
|
-
*/
|
|
884
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
885
|
-
/**
|
|
886
|
-
* Filter which Settings to delete.
|
|
887
|
-
*/
|
|
888
|
-
where: Prisma.SettingsWhereUniqueInput;
|
|
889
|
-
};
|
|
890
|
-
/**
|
|
891
|
-
* Settings deleteMany
|
|
892
|
-
*/
|
|
893
|
-
export type SettingsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
894
|
-
/**
|
|
895
|
-
* Filter which Settings to delete
|
|
896
|
-
*/
|
|
897
|
-
where?: Prisma.SettingsWhereInput;
|
|
898
|
-
/**
|
|
899
|
-
* Limit how many Settings to delete.
|
|
900
|
-
*/
|
|
901
|
-
limit?: number;
|
|
902
|
-
};
|
|
903
|
-
/**
|
|
904
|
-
* Settings without action
|
|
905
|
-
*/
|
|
906
|
-
export type SettingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
-
/**
|
|
908
|
-
* Select specific fields to fetch from the Settings
|
|
909
|
-
*/
|
|
910
|
-
select?: Prisma.SettingsSelect<ExtArgs> | null;
|
|
911
|
-
/**
|
|
912
|
-
* Omit specific fields from the Settings
|
|
913
|
-
*/
|
|
914
|
-
omit?: Prisma.SettingsOmit<ExtArgs> | null;
|
|
915
|
-
};
|
|
916
|
-
export {};
|