@env-hopper/backend-core 2.0.1-alpha → 2.0.1-alpha-20260224145405
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/index.d.ts +2059 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2571 -0
- package/dist/index.js.map +1 -0
- package/package.json +26 -11
- package/prisma/migrations/20250526183023_init/migration.sql +71 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +149 -0
- package/src/db/client.ts +42 -0
- package/src/db/index.ts +21 -0
- package/src/db/syncAppCatalog.ts +310 -0
- package/src/db/tableSyncMagazine.ts +32 -0
- package/src/db/tableSyncPrismaAdapter.ts +203 -0
- package/src/generated/prisma/client.d.ts +1 -0
- package/src/generated/prisma/client.js +4 -0
- package/src/generated/prisma/default.d.ts +1 -0
- package/src/generated/prisma/default.js +4 -0
- package/src/generated/prisma/edge.d.ts +1 -0
- package/src/generated/prisma/edge.js +227 -0
- package/src/generated/prisma/index-browser.js +214 -0
- package/src/generated/prisma/index.d.ts +4212 -0
- package/src/generated/prisma/index.js +248 -0
- package/src/generated/prisma/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/src/generated/prisma/package.json +183 -0
- package/src/generated/prisma/query_engine_bg.js +2 -0
- package/src/generated/prisma/query_engine_bg.wasm +0 -0
- package/src/generated/prisma/runtime/edge-esm.js +34 -0
- package/src/generated/prisma/runtime/edge.js +34 -0
- package/src/generated/prisma/runtime/index-browser.d.ts +370 -0
- package/src/generated/prisma/runtime/index-browser.js +16 -0
- package/src/generated/prisma/runtime/library.d.ts +3982 -0
- package/src/generated/prisma/runtime/library.js +146 -0
- package/src/generated/prisma/runtime/react-native.js +83 -0
- package/src/generated/prisma/runtime/wasm-compiler-edge.js +84 -0
- package/src/generated/prisma/runtime/wasm-engine-edge.js +36 -0
- package/src/generated/prisma/schema.prisma +49 -0
- package/src/generated/prisma/wasm-edge-light-loader.mjs +4 -0
- package/src/generated/prisma/wasm-worker-loader.mjs +4 -0
- package/src/generated/prisma/wasm.d.ts +1 -0
- package/src/generated/prisma/wasm.js +234 -0
- package/src/index.ts +109 -1
- package/src/middleware/backendResolver.ts +49 -0
- package/src/middleware/createEhMiddleware.ts +171 -0
- package/src/middleware/database.ts +62 -0
- package/src/middleware/featureRegistry.ts +173 -0
- package/src/middleware/index.ts +43 -0
- package/src/middleware/types.ts +202 -0
- package/src/modules/admin/chat/createAdminChatHandler.ts +152 -0
- package/src/modules/admin/chat/createDatabaseTools.ts +261 -0
- package/src/modules/appCatalog/service.ts +130 -0
- package/src/modules/appCatalogAdmin/appCatalogAdminRouter.ts +187 -0
- package/src/modules/appCatalogAdmin/catalogBackupController.ts +213 -0
- package/src/modules/approvalMethod/approvalMethodRouter.ts +169 -0
- package/src/modules/approvalMethod/slugUtils.ts +17 -0
- package/src/modules/approvalMethod/syncApprovalMethods.ts +38 -0
- package/src/modules/assets/assetRestController.ts +271 -0
- package/src/modules/assets/assetUtils.ts +114 -0
- package/src/modules/assets/screenshotRestController.ts +195 -0
- package/src/modules/assets/screenshotRouter.ts +112 -0
- package/src/modules/assets/syncAssets.ts +277 -0
- package/src/modules/assets/upsertAsset.ts +46 -0
- package/src/modules/auth/auth.ts +51 -0
- package/src/modules/auth/authProviders.ts +40 -0
- package/src/modules/auth/authRouter.ts +75 -0
- package/src/modules/auth/authorizationUtils.ts +132 -0
- package/src/modules/auth/devMockUserUtils.ts +49 -0
- package/src/modules/auth/registerAuthRoutes.ts +33 -0
- package/src/modules/icons/iconRestController.ts +171 -0
- package/src/modules/icons/iconRouter.ts +180 -0
- package/src/modules/icons/iconService.ts +73 -0
- package/src/modules/icons/iconUtils.ts +46 -0
- package/src/prisma-json-types.d.ts +34 -0
- package/src/server/controller.ts +103 -44
- package/src/server/ehStaticControllerContract.ts +8 -1
- package/src/server/ehTrpcContext.ts +9 -6
- package/src/server/trpcSetup.ts +89 -0
- package/src/types/backend/api.ts +1 -14
- package/src/types/backend/companySpecificBackend.ts +17 -0
- package/src/types/common/appCatalogTypes.ts +56 -10
- package/src/types/common/approvalMethodTypes.ts +149 -0
- package/src/types/common/dataRootTypes.ts +72 -10
- package/src/types/index.ts +3 -0
- package/dist/esm/__tests__/dummy.test.d.ts +0 -1
- package/dist/esm/index.d.ts +0 -7
- package/dist/esm/index.js +0 -9
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/server/controller.d.ts +0 -32
- package/dist/esm/server/controller.js +0 -35
- package/dist/esm/server/controller.js.map +0 -1
- package/dist/esm/server/db.d.ts +0 -2
- package/dist/esm/server/ehStaticControllerContract.d.ts +0 -9
- package/dist/esm/server/ehStaticControllerContract.js +0 -12
- package/dist/esm/server/ehStaticControllerContract.js.map +0 -1
- package/dist/esm/server/ehTrpcContext.d.ts +0 -8
- package/dist/esm/server/ehTrpcContext.js +0 -11
- package/dist/esm/server/ehTrpcContext.js.map +0 -1
- package/dist/esm/types/backend/api.d.ts +0 -71
- package/dist/esm/types/backend/common.d.ts +0 -9
- package/dist/esm/types/backend/dataSources.d.ts +0 -20
- package/dist/esm/types/backend/deployments.d.ts +0 -34
- package/dist/esm/types/common/app/appTypes.d.ts +0 -12
- package/dist/esm/types/common/app/ui/appUiTypes.d.ts +0 -10
- package/dist/esm/types/common/appCatalogTypes.d.ts +0 -16
- package/dist/esm/types/common/dataRootTypes.d.ts +0 -32
- package/dist/esm/types/common/env/envTypes.d.ts +0 -6
- package/dist/esm/types/common/resourceTypes.d.ts +0 -8
- package/dist/esm/types/common/sharedTypes.d.ts +0 -4
- package/dist/esm/types/index.d.ts +0 -11
- package/src/server/db.ts +0 -4
|
@@ -0,0 +1,4212 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Client
|
|
4
|
+
**/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
declare global {
|
|
8
|
+
namespace PrismaJson {
|
|
9
|
+
// This namespace will always be empty. Definitions should be done by
|
|
10
|
+
// you manually, and merged automatically by typescript. Make sure that
|
|
11
|
+
// your declaration merging file is included in your tsconfig.json
|
|
12
|
+
//
|
|
13
|
+
// Learn more: https://github.com/arthurfiorette/prisma-json-types-generator/issues/143
|
|
14
|
+
// Declaration Merging: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** A filter to be used against nullable List types. */
|
|
19
|
+
export type NullableListFilter<T> = {
|
|
20
|
+
equals?: T | T[] | null;
|
|
21
|
+
has?: T | null;
|
|
22
|
+
hasEvery?: T[];
|
|
23
|
+
hasSome?: T[];
|
|
24
|
+
isEmpty?: boolean;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** A type to determine how to update a json field */
|
|
28
|
+
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T;
|
|
29
|
+
|
|
30
|
+
/** A type to determine how to update a json[] field */
|
|
31
|
+
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] };
|
|
32
|
+
|
|
33
|
+
/** A type to determine how to create a json[] input */
|
|
34
|
+
export type CreateManyInput<T> = T | T[] | { set?: T[] };
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* A typed version of NestedStringFilter, allowing narrowing of string types to
|
|
38
|
+
* discriminated unions.
|
|
39
|
+
*/
|
|
40
|
+
export type TypedNestedStringFilter<S extends string> =
|
|
41
|
+
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
|
42
|
+
Prisma.StringFilter & {
|
|
43
|
+
equals?: S;
|
|
44
|
+
in?: S[];
|
|
45
|
+
notIn?: S[];
|
|
46
|
+
not?: TypedNestedStringFilter<S> | S;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* A typed version of StringFilter, allowing narrowing of string types to discriminated
|
|
51
|
+
* unions.
|
|
52
|
+
*/
|
|
53
|
+
export type TypedStringFilter<S extends string> =
|
|
54
|
+
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
|
55
|
+
Prisma.StringFilter & {
|
|
56
|
+
equals?: S;
|
|
57
|
+
in?: S[];
|
|
58
|
+
notIn?: S[];
|
|
59
|
+
not?: TypedNestedStringFilter<S> | S;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* A typed version of NestedStringNullableFilter, allowing narrowing of string types to
|
|
64
|
+
* discriminated unions.
|
|
65
|
+
*/
|
|
66
|
+
export type TypedNestedStringNullableFilter<S extends string> =
|
|
67
|
+
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
|
68
|
+
Prisma.StringNullableFilter & {
|
|
69
|
+
equals?: S | null;
|
|
70
|
+
in?: S[] | null;
|
|
71
|
+
notIn?: S[] | null;
|
|
72
|
+
not?: TypedNestedStringNullableFilter<S> | S | null;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* A typed version of StringNullableFilter, allowing narrowing of string types to
|
|
77
|
+
* discriminated unions.
|
|
78
|
+
*/
|
|
79
|
+
export type TypedStringNullableFilter<S extends string> =
|
|
80
|
+
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
|
81
|
+
Prisma.StringNullableFilter & {
|
|
82
|
+
equals?: S | null;
|
|
83
|
+
in?: S[] | null;
|
|
84
|
+
notIn?: S[] | null;
|
|
85
|
+
not?: TypedNestedStringNullableFilter<S> | S | null;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types
|
|
90
|
+
* to discriminated unions.
|
|
91
|
+
*/
|
|
92
|
+
export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
|
93
|
+
//@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used
|
|
94
|
+
Prisma.NestedStringWithAggregatesFilter & {
|
|
95
|
+
equals?: S;
|
|
96
|
+
in?: S[];
|
|
97
|
+
notIn?: S[];
|
|
98
|
+
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A typed version of StringWithAggregatesFilter, allowing narrowing of string types to
|
|
103
|
+
* discriminated unions.
|
|
104
|
+
*/
|
|
105
|
+
export type TypedStringWithAggregatesFilter<S extends string> =
|
|
106
|
+
//@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used
|
|
107
|
+
Prisma.StringWithAggregatesFilter & {
|
|
108
|
+
equals?: S;
|
|
109
|
+
in?: S[];
|
|
110
|
+
notIn?: S[];
|
|
111
|
+
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of
|
|
116
|
+
* string types to discriminated unions.
|
|
117
|
+
*/
|
|
118
|
+
export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
|
119
|
+
//@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used
|
|
120
|
+
Prisma.NestedStringNullableWithAggregatesFilter & {
|
|
121
|
+
equals?: S | null;
|
|
122
|
+
in?: S[] | null;
|
|
123
|
+
notIn?: S[] | null;
|
|
124
|
+
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string
|
|
129
|
+
* types to discriminated unions.
|
|
130
|
+
*/
|
|
131
|
+
export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
|
132
|
+
//@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used
|
|
133
|
+
Prisma.StringNullableWithAggregatesFilter & {
|
|
134
|
+
equals?: S | null;
|
|
135
|
+
in?: S[] | null;
|
|
136
|
+
notIn?: S[] | null;
|
|
137
|
+
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types
|
|
142
|
+
* to discriminated unions.
|
|
143
|
+
*/
|
|
144
|
+
export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
|
145
|
+
//@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used
|
|
146
|
+
Prisma.StringFieldUpdateOperationsInput & {
|
|
147
|
+
set?: S;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of
|
|
152
|
+
* string types to discriminated unions.
|
|
153
|
+
*/
|
|
154
|
+
export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
|
155
|
+
//@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used
|
|
156
|
+
Prisma.NullableStringFieldUpdateOperationsInput & {
|
|
157
|
+
set?: S | null;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* A typed version of StringNullableListFilter, allowing narrowing of string types to
|
|
162
|
+
* discriminated unions.
|
|
163
|
+
*/
|
|
164
|
+
export type TypedStringNullableListFilter<S extends string> =
|
|
165
|
+
//@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used
|
|
166
|
+
Prisma.StringNullableListFilter & {
|
|
167
|
+
equals?: S[] | null;
|
|
168
|
+
has?: S | null;
|
|
169
|
+
hasEvery?: S[];
|
|
170
|
+
hasSome?: S[];
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* A typed version of the input type to update a string[] field, allowing narrowing of
|
|
175
|
+
* string types to discriminated unions.
|
|
176
|
+
*/
|
|
177
|
+
export type UpdateStringArrayInput<S extends string> = {
|
|
178
|
+
set?: S[];
|
|
179
|
+
push?: S | S[];
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* A typed version of the input type to create a string[] field, allowing narrowing of
|
|
184
|
+
* string types to discriminated unions.
|
|
185
|
+
*/
|
|
186
|
+
export type CreateStringArrayInput<S extends string> = {
|
|
187
|
+
set?: S[];
|
|
188
|
+
};
|
|
189
|
+
import * as runtime from './runtime/library.js';
|
|
190
|
+
import $Types = runtime.Types // general types
|
|
191
|
+
import $Public = runtime.Types.Public
|
|
192
|
+
import $Utils = runtime.Types.Utils
|
|
193
|
+
import $Extensions = runtime.Types.Extensions
|
|
194
|
+
import $Result = runtime.Types.Result
|
|
195
|
+
|
|
196
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Model DbAppForCatalog
|
|
201
|
+
*
|
|
202
|
+
*/
|
|
203
|
+
export type DbAppForCatalog = $Result.DefaultSelection<Prisma.$DbAppForCatalogPayload>
|
|
204
|
+
/**
|
|
205
|
+
* Model Icon
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
export type Icon = $Result.DefaultSelection<Prisma.$IconPayload>
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* ## Prisma Client ʲˢ
|
|
212
|
+
*
|
|
213
|
+
* Type-safe database client for TypeScript & Node.js
|
|
214
|
+
* @example
|
|
215
|
+
* ```
|
|
216
|
+
* const prisma = new PrismaClient()
|
|
217
|
+
* // Fetch zero or more DbAppForCatalogs
|
|
218
|
+
* const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany()
|
|
219
|
+
* ```
|
|
220
|
+
*
|
|
221
|
+
*
|
|
222
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
223
|
+
*/
|
|
224
|
+
export class PrismaClient<
|
|
225
|
+
ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
|
|
226
|
+
const U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
|
|
227
|
+
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
|
228
|
+
> {
|
|
229
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* ## Prisma Client ʲˢ
|
|
233
|
+
*
|
|
234
|
+
* Type-safe database client for TypeScript & Node.js
|
|
235
|
+
* @example
|
|
236
|
+
* ```
|
|
237
|
+
* const prisma = new PrismaClient()
|
|
238
|
+
* // Fetch zero or more DbAppForCatalogs
|
|
239
|
+
* const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany()
|
|
240
|
+
* ```
|
|
241
|
+
*
|
|
242
|
+
*
|
|
243
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
|
|
244
|
+
*/
|
|
245
|
+
|
|
246
|
+
constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
|
|
247
|
+
$on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Connect with the database
|
|
251
|
+
*/
|
|
252
|
+
$connect(): $Utils.JsPromise<void>;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Disconnect from the database
|
|
256
|
+
*/
|
|
257
|
+
$disconnect(): $Utils.JsPromise<void>;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Executes a prepared raw query and returns the number of affected rows.
|
|
261
|
+
* @example
|
|
262
|
+
* ```
|
|
263
|
+
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
264
|
+
* ```
|
|
265
|
+
*
|
|
266
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
267
|
+
*/
|
|
268
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Executes a raw query and returns the number of affected rows.
|
|
272
|
+
* Susceptible to SQL injections, see documentation.
|
|
273
|
+
* @example
|
|
274
|
+
* ```
|
|
275
|
+
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
276
|
+
* ```
|
|
277
|
+
*
|
|
278
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
279
|
+
*/
|
|
280
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Performs a prepared raw query and returns the `SELECT` data.
|
|
284
|
+
* @example
|
|
285
|
+
* ```
|
|
286
|
+
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
287
|
+
* ```
|
|
288
|
+
*
|
|
289
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
290
|
+
*/
|
|
291
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Performs a raw query and returns the `SELECT` data.
|
|
295
|
+
* Susceptible to SQL injections, see documentation.
|
|
296
|
+
* @example
|
|
297
|
+
* ```
|
|
298
|
+
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
299
|
+
* ```
|
|
300
|
+
*
|
|
301
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
302
|
+
*/
|
|
303
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
308
|
+
* @example
|
|
309
|
+
* ```
|
|
310
|
+
* const [george, bob, alice] = await prisma.$transaction([
|
|
311
|
+
* prisma.user.create({ data: { name: 'George' } }),
|
|
312
|
+
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
313
|
+
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
314
|
+
* ])
|
|
315
|
+
* ```
|
|
316
|
+
*
|
|
317
|
+
* Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
|
|
318
|
+
*/
|
|
319
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
320
|
+
|
|
321
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
$extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<ClientOptions>, ExtArgs, $Utils.Call<Prisma.TypeMapCb<ClientOptions>, {
|
|
325
|
+
extArgs: ExtArgs
|
|
326
|
+
}>>
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* `prisma.dbAppForCatalog`: Exposes CRUD operations for the **DbAppForCatalog** model.
|
|
330
|
+
* Example usage:
|
|
331
|
+
* ```ts
|
|
332
|
+
* // Fetch zero or more DbAppForCatalogs
|
|
333
|
+
* const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany()
|
|
334
|
+
* ```
|
|
335
|
+
*/
|
|
336
|
+
get dbAppForCatalog(): Prisma.DbAppForCatalogDelegate<ExtArgs, ClientOptions>;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* `prisma.icon`: Exposes CRUD operations for the **Icon** model.
|
|
340
|
+
* Example usage:
|
|
341
|
+
* ```ts
|
|
342
|
+
* // Fetch zero or more Icons
|
|
343
|
+
* const icons = await prisma.icon.findMany()
|
|
344
|
+
* ```
|
|
345
|
+
*/
|
|
346
|
+
get icon(): Prisma.IconDelegate<ExtArgs, ClientOptions>;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export namespace Prisma {
|
|
350
|
+
export import DMMF = runtime.DMMF
|
|
351
|
+
|
|
352
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Validator
|
|
356
|
+
*/
|
|
357
|
+
export import validator = runtime.Public.validator
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Prisma Errors
|
|
361
|
+
*/
|
|
362
|
+
export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
|
|
363
|
+
export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
|
|
364
|
+
export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
|
|
365
|
+
export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
|
|
366
|
+
export import PrismaClientValidationError = runtime.PrismaClientValidationError
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Re-export of sql-template-tag
|
|
370
|
+
*/
|
|
371
|
+
export import sql = runtime.sqltag
|
|
372
|
+
export import empty = runtime.empty
|
|
373
|
+
export import join = runtime.join
|
|
374
|
+
export import raw = runtime.raw
|
|
375
|
+
export import Sql = runtime.Sql
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Decimal.js
|
|
381
|
+
*/
|
|
382
|
+
export import Decimal = runtime.Decimal
|
|
383
|
+
|
|
384
|
+
export type DecimalJsLike = runtime.DecimalJsLike
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Metrics
|
|
388
|
+
*/
|
|
389
|
+
export type Metrics = runtime.Metrics
|
|
390
|
+
export type Metric<T> = runtime.Metric<T>
|
|
391
|
+
export type MetricHistogram = runtime.MetricHistogram
|
|
392
|
+
export type MetricHistogramBucket = runtime.MetricHistogramBucket
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Extensions
|
|
396
|
+
*/
|
|
397
|
+
export import Extension = $Extensions.UserArgs
|
|
398
|
+
export import getExtensionContext = runtime.Extensions.getExtensionContext
|
|
399
|
+
export import Args = $Public.Args
|
|
400
|
+
export import Payload = $Public.Payload
|
|
401
|
+
export import Result = $Public.Result
|
|
402
|
+
export import Exact = $Public.Exact
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Prisma Client JS version: 6.17.0
|
|
406
|
+
* Query Engine version: c0aafc03b8ef6cdced8654b9a817999e02457d6a
|
|
407
|
+
*/
|
|
408
|
+
export type PrismaVersion = {
|
|
409
|
+
client: string
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export const prismaVersion: PrismaVersion
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Utility Types
|
|
416
|
+
*/
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
export import JsonObject = runtime.JsonObject
|
|
420
|
+
export import JsonArray = runtime.JsonArray
|
|
421
|
+
export import JsonValue = runtime.JsonValue
|
|
422
|
+
export import InputJsonObject = runtime.InputJsonObject
|
|
423
|
+
export import InputJsonArray = runtime.InputJsonArray
|
|
424
|
+
export import InputJsonValue = runtime.InputJsonValue
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
|
|
428
|
+
*
|
|
429
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
430
|
+
*/
|
|
431
|
+
namespace NullTypes {
|
|
432
|
+
/**
|
|
433
|
+
* Type of `Prisma.DbNull`.
|
|
434
|
+
*
|
|
435
|
+
* You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
|
|
436
|
+
*
|
|
437
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
438
|
+
*/
|
|
439
|
+
class DbNull {
|
|
440
|
+
private DbNull: never
|
|
441
|
+
private constructor()
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Type of `Prisma.JsonNull`.
|
|
446
|
+
*
|
|
447
|
+
* You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
|
|
448
|
+
*
|
|
449
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
450
|
+
*/
|
|
451
|
+
class JsonNull {
|
|
452
|
+
private JsonNull: never
|
|
453
|
+
private constructor()
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Type of `Prisma.AnyNull`.
|
|
458
|
+
*
|
|
459
|
+
* You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
|
|
460
|
+
*
|
|
461
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
462
|
+
*/
|
|
463
|
+
class AnyNull {
|
|
464
|
+
private AnyNull: never
|
|
465
|
+
private constructor()
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
471
|
+
*
|
|
472
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
473
|
+
*/
|
|
474
|
+
export const DbNull: NullTypes.DbNull
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
478
|
+
*
|
|
479
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
480
|
+
*/
|
|
481
|
+
export const JsonNull: NullTypes.JsonNull
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
485
|
+
*
|
|
486
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
487
|
+
*/
|
|
488
|
+
export const AnyNull: NullTypes.AnyNull
|
|
489
|
+
|
|
490
|
+
type SelectAndInclude = {
|
|
491
|
+
select: any
|
|
492
|
+
include: any
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
type SelectAndOmit = {
|
|
496
|
+
select: any
|
|
497
|
+
omit: any
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Get the type of the value, that the Promise holds.
|
|
502
|
+
*/
|
|
503
|
+
export type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Get the return type of a function which returns a Promise.
|
|
507
|
+
*/
|
|
508
|
+
export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
512
|
+
*/
|
|
513
|
+
type Prisma__Pick<T, K extends keyof T> = {
|
|
514
|
+
[P in K]: T[P];
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
export type Enumerable<T> = T | Array<T>;
|
|
519
|
+
|
|
520
|
+
export type RequiredKeys<T> = {
|
|
521
|
+
[K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
|
|
522
|
+
}[keyof T]
|
|
523
|
+
|
|
524
|
+
export type TruthyKeys<T> = keyof {
|
|
525
|
+
[K in keyof T as T[K] extends false | undefined | null ? never : K]: K
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Subset
|
|
532
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
|
|
533
|
+
*/
|
|
534
|
+
export type Subset<T, U> = {
|
|
535
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* SelectSubset
|
|
540
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
|
|
541
|
+
* Additionally, it validates, if both select and include are present. If the case, it errors.
|
|
542
|
+
*/
|
|
543
|
+
export type SelectSubset<T, U> = {
|
|
544
|
+
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
545
|
+
} &
|
|
546
|
+
(T extends SelectAndInclude
|
|
547
|
+
? 'Please either choose `select` or `include`.'
|
|
548
|
+
: T extends SelectAndOmit
|
|
549
|
+
? 'Please either choose `select` or `omit`.'
|
|
550
|
+
: {})
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Subset + Intersection
|
|
554
|
+
* @desc From `T` pick properties that exist in `U` and intersect `K`
|
|
555
|
+
*/
|
|
556
|
+
export type SubsetIntersection<T, U, K> = {
|
|
557
|
+
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
558
|
+
} &
|
|
559
|
+
K
|
|
560
|
+
|
|
561
|
+
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* XOR is needed to have a real mutually exclusive union type
|
|
565
|
+
* https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
|
|
566
|
+
*/
|
|
567
|
+
type XOR<T, U> =
|
|
568
|
+
T extends object ?
|
|
569
|
+
U extends object ?
|
|
570
|
+
(Without<T, U> & U) | (Without<U, T> & T)
|
|
571
|
+
: U : T
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Is T a Record?
|
|
576
|
+
*/
|
|
577
|
+
type IsObject<T extends any> = T extends Array<any>
|
|
578
|
+
? False
|
|
579
|
+
: T extends Date
|
|
580
|
+
? False
|
|
581
|
+
: T extends Uint8Array
|
|
582
|
+
? False
|
|
583
|
+
: T extends BigInt
|
|
584
|
+
? False
|
|
585
|
+
: T extends object
|
|
586
|
+
? True
|
|
587
|
+
: False
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* If it's T[], return T
|
|
592
|
+
*/
|
|
593
|
+
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* From ts-toolbelt
|
|
597
|
+
*/
|
|
598
|
+
|
|
599
|
+
type __Either<O extends object, K extends Key> = Omit<O, K> &
|
|
600
|
+
{
|
|
601
|
+
// Merge all but K
|
|
602
|
+
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
|
|
603
|
+
}[K]
|
|
604
|
+
|
|
605
|
+
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
|
|
606
|
+
|
|
607
|
+
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
|
|
608
|
+
|
|
609
|
+
type _Either<
|
|
610
|
+
O extends object,
|
|
611
|
+
K extends Key,
|
|
612
|
+
strict extends Boolean
|
|
613
|
+
> = {
|
|
614
|
+
1: EitherStrict<O, K>
|
|
615
|
+
0: EitherLoose<O, K>
|
|
616
|
+
}[strict]
|
|
617
|
+
|
|
618
|
+
type Either<
|
|
619
|
+
O extends object,
|
|
620
|
+
K extends Key,
|
|
621
|
+
strict extends Boolean = 1
|
|
622
|
+
> = O extends unknown ? _Either<O, K, strict> : never
|
|
623
|
+
|
|
624
|
+
export type Union = any
|
|
625
|
+
|
|
626
|
+
type PatchUndefined<O extends object, O1 extends object> = {
|
|
627
|
+
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
|
|
628
|
+
} & {}
|
|
629
|
+
|
|
630
|
+
/** Helper Types for "Merge" **/
|
|
631
|
+
export type IntersectOf<U extends Union> = (
|
|
632
|
+
U extends unknown ? (k: U) => void : never
|
|
633
|
+
) extends (k: infer I) => void
|
|
634
|
+
? I
|
|
635
|
+
: never
|
|
636
|
+
|
|
637
|
+
export type Overwrite<O extends object, O1 extends object> = {
|
|
638
|
+
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
639
|
+
} & {};
|
|
640
|
+
|
|
641
|
+
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
642
|
+
[K in keyof U]-?: At<U, K>;
|
|
643
|
+
}>>;
|
|
644
|
+
|
|
645
|
+
type Key = string | number | symbol;
|
|
646
|
+
type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
|
|
647
|
+
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
648
|
+
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
649
|
+
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
650
|
+
1: AtStrict<O, K>;
|
|
651
|
+
0: AtLoose<O, K>;
|
|
652
|
+
}[strict];
|
|
653
|
+
|
|
654
|
+
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
655
|
+
[K in keyof A]: A[K];
|
|
656
|
+
} & {};
|
|
657
|
+
|
|
658
|
+
export type OptionalFlat<O> = {
|
|
659
|
+
[K in keyof O]?: O[K];
|
|
660
|
+
} & {};
|
|
661
|
+
|
|
662
|
+
type _Record<K extends keyof any, T> = {
|
|
663
|
+
[P in K]: T;
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
// cause typescript not to expand types and preserve names
|
|
667
|
+
type NoExpand<T> = T extends unknown ? T : never;
|
|
668
|
+
|
|
669
|
+
// this type assumes the passed object is entirely optional
|
|
670
|
+
type AtLeast<O extends object, K extends string> = NoExpand<
|
|
671
|
+
O extends unknown
|
|
672
|
+
? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
|
|
673
|
+
| {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
|
|
674
|
+
: never>;
|
|
675
|
+
|
|
676
|
+
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
677
|
+
|
|
678
|
+
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
679
|
+
/** End Helper Types for "Merge" **/
|
|
680
|
+
|
|
681
|
+
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
A [[Boolean]]
|
|
685
|
+
*/
|
|
686
|
+
export type Boolean = True | False
|
|
687
|
+
|
|
688
|
+
// /**
|
|
689
|
+
// 1
|
|
690
|
+
// */
|
|
691
|
+
export type True = 1
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
0
|
|
695
|
+
*/
|
|
696
|
+
export type False = 0
|
|
697
|
+
|
|
698
|
+
export type Not<B extends Boolean> = {
|
|
699
|
+
0: 1
|
|
700
|
+
1: 0
|
|
701
|
+
}[B]
|
|
702
|
+
|
|
703
|
+
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
|
|
704
|
+
? 0 // anything `never` is false
|
|
705
|
+
: A1 extends A2
|
|
706
|
+
? 1
|
|
707
|
+
: 0
|
|
708
|
+
|
|
709
|
+
export type Has<U extends Union, U1 extends Union> = Not<
|
|
710
|
+
Extends<Exclude<U1, U>, U1>
|
|
711
|
+
>
|
|
712
|
+
|
|
713
|
+
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
714
|
+
0: {
|
|
715
|
+
0: 0
|
|
716
|
+
1: 1
|
|
717
|
+
}
|
|
718
|
+
1: {
|
|
719
|
+
0: 1
|
|
720
|
+
1: 1
|
|
721
|
+
}
|
|
722
|
+
}[B1][B2]
|
|
723
|
+
|
|
724
|
+
export type Keys<U extends Union> = U extends unknown ? keyof U : never
|
|
725
|
+
|
|
726
|
+
type Cast<A, B> = A extends B ? A : B;
|
|
727
|
+
|
|
728
|
+
export const type: unique symbol;
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Used by group by
|
|
734
|
+
*/
|
|
735
|
+
|
|
736
|
+
export type GetScalarType<T, O> = O extends object ? {
|
|
737
|
+
[P in keyof T]: P extends keyof O
|
|
738
|
+
? O[P]
|
|
739
|
+
: never
|
|
740
|
+
} : never
|
|
741
|
+
|
|
742
|
+
type FieldPaths<
|
|
743
|
+
T,
|
|
744
|
+
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
|
|
745
|
+
> = IsObject<T> extends True ? U : T
|
|
746
|
+
|
|
747
|
+
type GetHavingFields<T> = {
|
|
748
|
+
[K in keyof T]: Or<
|
|
749
|
+
Or<Extends<'OR', K>, Extends<'AND', K>>,
|
|
750
|
+
Extends<'NOT', K>
|
|
751
|
+
> extends True
|
|
752
|
+
? // infer is only needed to not hit TS limit
|
|
753
|
+
// based on the brilliant idea of Pierre-Antoine Mills
|
|
754
|
+
// https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
|
|
755
|
+
T[K] extends infer TK
|
|
756
|
+
? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
|
|
757
|
+
: never
|
|
758
|
+
: {} extends FieldPaths<T[K]>
|
|
759
|
+
? never
|
|
760
|
+
: K
|
|
761
|
+
}[keyof T]
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Convert tuple to union
|
|
765
|
+
*/
|
|
766
|
+
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
|
|
767
|
+
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
|
|
768
|
+
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Like `Pick`, but additionally can also accept an array of keys
|
|
772
|
+
*/
|
|
773
|
+
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Exclude all keys with underscores
|
|
777
|
+
*/
|
|
778
|
+
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
|
|
782
|
+
|
|
783
|
+
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
export const ModelName: {
|
|
787
|
+
DbAppForCatalog: 'DbAppForCatalog',
|
|
788
|
+
Icon: 'Icon'
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
export type Datasources = {
|
|
795
|
+
db?: Datasource
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
interface TypeMapCb<ClientOptions = {}> extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record<string, any>> {
|
|
799
|
+
returns: Prisma.TypeMap<this['params']['extArgs'], ClientOptions extends { omit: infer OmitOptions } ? OmitOptions : {}>
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
803
|
+
globalOmitOptions: {
|
|
804
|
+
omit: GlobalOmitOptions
|
|
805
|
+
}
|
|
806
|
+
meta: {
|
|
807
|
+
modelProps: "dbAppForCatalog" | "icon"
|
|
808
|
+
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
809
|
+
}
|
|
810
|
+
model: {
|
|
811
|
+
DbAppForCatalog: {
|
|
812
|
+
payload: Prisma.$DbAppForCatalogPayload<ExtArgs>
|
|
813
|
+
fields: Prisma.DbAppForCatalogFieldRefs
|
|
814
|
+
operations: {
|
|
815
|
+
findUnique: {
|
|
816
|
+
args: Prisma.DbAppForCatalogFindUniqueArgs<ExtArgs>
|
|
817
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload> | null
|
|
818
|
+
}
|
|
819
|
+
findUniqueOrThrow: {
|
|
820
|
+
args: Prisma.DbAppForCatalogFindUniqueOrThrowArgs<ExtArgs>
|
|
821
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
822
|
+
}
|
|
823
|
+
findFirst: {
|
|
824
|
+
args: Prisma.DbAppForCatalogFindFirstArgs<ExtArgs>
|
|
825
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload> | null
|
|
826
|
+
}
|
|
827
|
+
findFirstOrThrow: {
|
|
828
|
+
args: Prisma.DbAppForCatalogFindFirstOrThrowArgs<ExtArgs>
|
|
829
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
830
|
+
}
|
|
831
|
+
findMany: {
|
|
832
|
+
args: Prisma.DbAppForCatalogFindManyArgs<ExtArgs>
|
|
833
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>[]
|
|
834
|
+
}
|
|
835
|
+
create: {
|
|
836
|
+
args: Prisma.DbAppForCatalogCreateArgs<ExtArgs>
|
|
837
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
838
|
+
}
|
|
839
|
+
createMany: {
|
|
840
|
+
args: Prisma.DbAppForCatalogCreateManyArgs<ExtArgs>
|
|
841
|
+
result: BatchPayload
|
|
842
|
+
}
|
|
843
|
+
createManyAndReturn: {
|
|
844
|
+
args: Prisma.DbAppForCatalogCreateManyAndReturnArgs<ExtArgs>
|
|
845
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>[]
|
|
846
|
+
}
|
|
847
|
+
delete: {
|
|
848
|
+
args: Prisma.DbAppForCatalogDeleteArgs<ExtArgs>
|
|
849
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
850
|
+
}
|
|
851
|
+
update: {
|
|
852
|
+
args: Prisma.DbAppForCatalogUpdateArgs<ExtArgs>
|
|
853
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
854
|
+
}
|
|
855
|
+
deleteMany: {
|
|
856
|
+
args: Prisma.DbAppForCatalogDeleteManyArgs<ExtArgs>
|
|
857
|
+
result: BatchPayload
|
|
858
|
+
}
|
|
859
|
+
updateMany: {
|
|
860
|
+
args: Prisma.DbAppForCatalogUpdateManyArgs<ExtArgs>
|
|
861
|
+
result: BatchPayload
|
|
862
|
+
}
|
|
863
|
+
updateManyAndReturn: {
|
|
864
|
+
args: Prisma.DbAppForCatalogUpdateManyAndReturnArgs<ExtArgs>
|
|
865
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>[]
|
|
866
|
+
}
|
|
867
|
+
upsert: {
|
|
868
|
+
args: Prisma.DbAppForCatalogUpsertArgs<ExtArgs>
|
|
869
|
+
result: $Utils.PayloadToResult<Prisma.$DbAppForCatalogPayload>
|
|
870
|
+
}
|
|
871
|
+
aggregate: {
|
|
872
|
+
args: Prisma.DbAppForCatalogAggregateArgs<ExtArgs>
|
|
873
|
+
result: $Utils.Optional<AggregateDbAppForCatalog>
|
|
874
|
+
}
|
|
875
|
+
groupBy: {
|
|
876
|
+
args: Prisma.DbAppForCatalogGroupByArgs<ExtArgs>
|
|
877
|
+
result: $Utils.Optional<DbAppForCatalogGroupByOutputType>[]
|
|
878
|
+
}
|
|
879
|
+
count: {
|
|
880
|
+
args: Prisma.DbAppForCatalogCountArgs<ExtArgs>
|
|
881
|
+
result: $Utils.Optional<DbAppForCatalogCountAggregateOutputType> | number
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
Icon: {
|
|
886
|
+
payload: Prisma.$IconPayload<ExtArgs>
|
|
887
|
+
fields: Prisma.IconFieldRefs
|
|
888
|
+
operations: {
|
|
889
|
+
findUnique: {
|
|
890
|
+
args: Prisma.IconFindUniqueArgs<ExtArgs>
|
|
891
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload> | null
|
|
892
|
+
}
|
|
893
|
+
findUniqueOrThrow: {
|
|
894
|
+
args: Prisma.IconFindUniqueOrThrowArgs<ExtArgs>
|
|
895
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
896
|
+
}
|
|
897
|
+
findFirst: {
|
|
898
|
+
args: Prisma.IconFindFirstArgs<ExtArgs>
|
|
899
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload> | null
|
|
900
|
+
}
|
|
901
|
+
findFirstOrThrow: {
|
|
902
|
+
args: Prisma.IconFindFirstOrThrowArgs<ExtArgs>
|
|
903
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
904
|
+
}
|
|
905
|
+
findMany: {
|
|
906
|
+
args: Prisma.IconFindManyArgs<ExtArgs>
|
|
907
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>[]
|
|
908
|
+
}
|
|
909
|
+
create: {
|
|
910
|
+
args: Prisma.IconCreateArgs<ExtArgs>
|
|
911
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
912
|
+
}
|
|
913
|
+
createMany: {
|
|
914
|
+
args: Prisma.IconCreateManyArgs<ExtArgs>
|
|
915
|
+
result: BatchPayload
|
|
916
|
+
}
|
|
917
|
+
createManyAndReturn: {
|
|
918
|
+
args: Prisma.IconCreateManyAndReturnArgs<ExtArgs>
|
|
919
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>[]
|
|
920
|
+
}
|
|
921
|
+
delete: {
|
|
922
|
+
args: Prisma.IconDeleteArgs<ExtArgs>
|
|
923
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
924
|
+
}
|
|
925
|
+
update: {
|
|
926
|
+
args: Prisma.IconUpdateArgs<ExtArgs>
|
|
927
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
928
|
+
}
|
|
929
|
+
deleteMany: {
|
|
930
|
+
args: Prisma.IconDeleteManyArgs<ExtArgs>
|
|
931
|
+
result: BatchPayload
|
|
932
|
+
}
|
|
933
|
+
updateMany: {
|
|
934
|
+
args: Prisma.IconUpdateManyArgs<ExtArgs>
|
|
935
|
+
result: BatchPayload
|
|
936
|
+
}
|
|
937
|
+
updateManyAndReturn: {
|
|
938
|
+
args: Prisma.IconUpdateManyAndReturnArgs<ExtArgs>
|
|
939
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>[]
|
|
940
|
+
}
|
|
941
|
+
upsert: {
|
|
942
|
+
args: Prisma.IconUpsertArgs<ExtArgs>
|
|
943
|
+
result: $Utils.PayloadToResult<Prisma.$IconPayload>
|
|
944
|
+
}
|
|
945
|
+
aggregate: {
|
|
946
|
+
args: Prisma.IconAggregateArgs<ExtArgs>
|
|
947
|
+
result: $Utils.Optional<AggregateIcon>
|
|
948
|
+
}
|
|
949
|
+
groupBy: {
|
|
950
|
+
args: Prisma.IconGroupByArgs<ExtArgs>
|
|
951
|
+
result: $Utils.Optional<IconGroupByOutputType>[]
|
|
952
|
+
}
|
|
953
|
+
count: {
|
|
954
|
+
args: Prisma.IconCountArgs<ExtArgs>
|
|
955
|
+
result: $Utils.Optional<IconCountAggregateOutputType> | number
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
} & {
|
|
961
|
+
other: {
|
|
962
|
+
payload: any
|
|
963
|
+
operations: {
|
|
964
|
+
$executeRaw: {
|
|
965
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
966
|
+
result: any
|
|
967
|
+
}
|
|
968
|
+
$executeRawUnsafe: {
|
|
969
|
+
args: [query: string, ...values: any[]],
|
|
970
|
+
result: any
|
|
971
|
+
}
|
|
972
|
+
$queryRaw: {
|
|
973
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
974
|
+
result: any
|
|
975
|
+
}
|
|
976
|
+
$queryRawUnsafe: {
|
|
977
|
+
args: [query: string, ...values: any[]],
|
|
978
|
+
result: any
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs>
|
|
984
|
+
export type DefaultPrismaClient = PrismaClient
|
|
985
|
+
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
|
986
|
+
export interface PrismaClientOptions {
|
|
987
|
+
/**
|
|
988
|
+
* Overwrites the datasource url from your schema.prisma file
|
|
989
|
+
*/
|
|
990
|
+
datasources?: Datasources
|
|
991
|
+
/**
|
|
992
|
+
* Overwrites the datasource url from your schema.prisma file
|
|
993
|
+
*/
|
|
994
|
+
datasourceUrl?: string
|
|
995
|
+
/**
|
|
996
|
+
* @default "colorless"
|
|
997
|
+
*/
|
|
998
|
+
errorFormat?: ErrorFormat
|
|
999
|
+
/**
|
|
1000
|
+
* @example
|
|
1001
|
+
* ```
|
|
1002
|
+
* // Shorthand for `emit: 'stdout'`
|
|
1003
|
+
* log: ['query', 'info', 'warn', 'error']
|
|
1004
|
+
*
|
|
1005
|
+
* // Emit as events only
|
|
1006
|
+
* log: [
|
|
1007
|
+
* { emit: 'event', level: 'query' },
|
|
1008
|
+
* { emit: 'event', level: 'info' },
|
|
1009
|
+
* { emit: 'event', level: 'warn' }
|
|
1010
|
+
* { emit: 'event', level: 'error' }
|
|
1011
|
+
* ]
|
|
1012
|
+
*
|
|
1013
|
+
* / Emit as events and log to stdout
|
|
1014
|
+
* og: [
|
|
1015
|
+
* { emit: 'stdout', level: 'query' },
|
|
1016
|
+
* { emit: 'stdout', level: 'info' },
|
|
1017
|
+
* { emit: 'stdout', level: 'warn' }
|
|
1018
|
+
* { emit: 'stdout', level: 'error' }
|
|
1019
|
+
*
|
|
1020
|
+
* ```
|
|
1021
|
+
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).
|
|
1022
|
+
*/
|
|
1023
|
+
log?: (LogLevel | LogDefinition)[]
|
|
1024
|
+
/**
|
|
1025
|
+
* The default values for transactionOptions
|
|
1026
|
+
* maxWait ?= 2000
|
|
1027
|
+
* timeout ?= 5000
|
|
1028
|
+
*/
|
|
1029
|
+
transactionOptions?: {
|
|
1030
|
+
maxWait?: number
|
|
1031
|
+
timeout?: number
|
|
1032
|
+
isolationLevel?: Prisma.TransactionIsolationLevel
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`
|
|
1036
|
+
*/
|
|
1037
|
+
adapter?: runtime.SqlDriverAdapterFactory | null
|
|
1038
|
+
/**
|
|
1039
|
+
* Global configuration for omitting model fields by default.
|
|
1040
|
+
*
|
|
1041
|
+
* @example
|
|
1042
|
+
* ```
|
|
1043
|
+
* const prisma = new PrismaClient({
|
|
1044
|
+
* omit: {
|
|
1045
|
+
* user: {
|
|
1046
|
+
* password: true
|
|
1047
|
+
* }
|
|
1048
|
+
* }
|
|
1049
|
+
* })
|
|
1050
|
+
* ```
|
|
1051
|
+
*/
|
|
1052
|
+
omit?: Prisma.GlobalOmitConfig
|
|
1053
|
+
}
|
|
1054
|
+
export type GlobalOmitConfig = {
|
|
1055
|
+
dbAppForCatalog?: DbAppForCatalogOmit
|
|
1056
|
+
icon?: IconOmit
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/* Types for Logging */
|
|
1060
|
+
export type LogLevel = 'info' | 'query' | 'warn' | 'error'
|
|
1061
|
+
export type LogDefinition = {
|
|
1062
|
+
level: LogLevel
|
|
1063
|
+
emit: 'stdout' | 'event'
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
|
|
1067
|
+
|
|
1068
|
+
export type GetLogType<T> = CheckIsLogLevel<
|
|
1069
|
+
T extends LogDefinition ? T['level'] : T
|
|
1070
|
+
>;
|
|
1071
|
+
|
|
1072
|
+
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
|
|
1073
|
+
? GetLogType<T[number]>
|
|
1074
|
+
: never;
|
|
1075
|
+
|
|
1076
|
+
export type QueryEvent = {
|
|
1077
|
+
timestamp: Date
|
|
1078
|
+
query: string
|
|
1079
|
+
params: string
|
|
1080
|
+
duration: number
|
|
1081
|
+
target: string
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
export type LogEvent = {
|
|
1085
|
+
timestamp: Date
|
|
1086
|
+
message: string
|
|
1087
|
+
target: string
|
|
1088
|
+
}
|
|
1089
|
+
/* End Types for Logging */
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
export type PrismaAction =
|
|
1093
|
+
| 'findUnique'
|
|
1094
|
+
| 'findUniqueOrThrow'
|
|
1095
|
+
| 'findMany'
|
|
1096
|
+
| 'findFirst'
|
|
1097
|
+
| 'findFirstOrThrow'
|
|
1098
|
+
| 'create'
|
|
1099
|
+
| 'createMany'
|
|
1100
|
+
| 'createManyAndReturn'
|
|
1101
|
+
| 'update'
|
|
1102
|
+
| 'updateMany'
|
|
1103
|
+
| 'updateManyAndReturn'
|
|
1104
|
+
| 'upsert'
|
|
1105
|
+
| 'delete'
|
|
1106
|
+
| 'deleteMany'
|
|
1107
|
+
| 'executeRaw'
|
|
1108
|
+
| 'queryRaw'
|
|
1109
|
+
| 'aggregate'
|
|
1110
|
+
| 'count'
|
|
1111
|
+
| 'runCommandRaw'
|
|
1112
|
+
| 'findRaw'
|
|
1113
|
+
| 'groupBy'
|
|
1114
|
+
|
|
1115
|
+
// tested in getLogLevel.test.ts
|
|
1116
|
+
export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* `PrismaClient` proxy available in interactive transactions.
|
|
1120
|
+
*/
|
|
1121
|
+
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
|
|
1122
|
+
|
|
1123
|
+
export type Datasource = {
|
|
1124
|
+
url?: string
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Count Types
|
|
1129
|
+
*/
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Models
|
|
1135
|
+
*/
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Model DbAppForCatalog
|
|
1139
|
+
*/
|
|
1140
|
+
|
|
1141
|
+
export type AggregateDbAppForCatalog = {
|
|
1142
|
+
_count: DbAppForCatalogCountAggregateOutputType | null
|
|
1143
|
+
_min: DbAppForCatalogMinAggregateOutputType | null
|
|
1144
|
+
_max: DbAppForCatalogMaxAggregateOutputType | null
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
export type DbAppForCatalogMinAggregateOutputType = {
|
|
1148
|
+
id: string | null
|
|
1149
|
+
name: string | null
|
|
1150
|
+
description: string | null
|
|
1151
|
+
approverName: string | null
|
|
1152
|
+
approverEmail: string | null
|
|
1153
|
+
notes: string | null
|
|
1154
|
+
appUrl: string | null
|
|
1155
|
+
confluenceUrl: string | null
|
|
1156
|
+
createdAt: Date | null
|
|
1157
|
+
updatedAt: Date | null
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export type DbAppForCatalogMaxAggregateOutputType = {
|
|
1161
|
+
id: string | null
|
|
1162
|
+
name: string | null
|
|
1163
|
+
description: string | null
|
|
1164
|
+
approverName: string | null
|
|
1165
|
+
approverEmail: string | null
|
|
1166
|
+
notes: string | null
|
|
1167
|
+
appUrl: string | null
|
|
1168
|
+
confluenceUrl: string | null
|
|
1169
|
+
createdAt: Date | null
|
|
1170
|
+
updatedAt: Date | null
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export type DbAppForCatalogCountAggregateOutputType = {
|
|
1174
|
+
id: number
|
|
1175
|
+
name: number
|
|
1176
|
+
description: number
|
|
1177
|
+
access: number
|
|
1178
|
+
teams: number
|
|
1179
|
+
roles: number
|
|
1180
|
+
approverName: number
|
|
1181
|
+
approverEmail: number
|
|
1182
|
+
notes: number
|
|
1183
|
+
tags: number
|
|
1184
|
+
appUrl: number
|
|
1185
|
+
confluenceUrl: number
|
|
1186
|
+
createdAt: number
|
|
1187
|
+
updatedAt: number
|
|
1188
|
+
_all: number
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
export type DbAppForCatalogMinAggregateInputType = {
|
|
1193
|
+
id?: true
|
|
1194
|
+
name?: true
|
|
1195
|
+
description?: true
|
|
1196
|
+
approverName?: true
|
|
1197
|
+
approverEmail?: true
|
|
1198
|
+
notes?: true
|
|
1199
|
+
appUrl?: true
|
|
1200
|
+
confluenceUrl?: true
|
|
1201
|
+
createdAt?: true
|
|
1202
|
+
updatedAt?: true
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export type DbAppForCatalogMaxAggregateInputType = {
|
|
1206
|
+
id?: true
|
|
1207
|
+
name?: true
|
|
1208
|
+
description?: true
|
|
1209
|
+
approverName?: true
|
|
1210
|
+
approverEmail?: true
|
|
1211
|
+
notes?: true
|
|
1212
|
+
appUrl?: true
|
|
1213
|
+
confluenceUrl?: true
|
|
1214
|
+
createdAt?: true
|
|
1215
|
+
updatedAt?: true
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export type DbAppForCatalogCountAggregateInputType = {
|
|
1219
|
+
id?: true
|
|
1220
|
+
name?: true
|
|
1221
|
+
description?: true
|
|
1222
|
+
access?: true
|
|
1223
|
+
teams?: true
|
|
1224
|
+
roles?: true
|
|
1225
|
+
approverName?: true
|
|
1226
|
+
approverEmail?: true
|
|
1227
|
+
notes?: true
|
|
1228
|
+
tags?: true
|
|
1229
|
+
appUrl?: true
|
|
1230
|
+
confluenceUrl?: true
|
|
1231
|
+
createdAt?: true
|
|
1232
|
+
updatedAt?: true
|
|
1233
|
+
_all?: true
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
export type DbAppForCatalogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1237
|
+
/**
|
|
1238
|
+
* Filter which DbAppForCatalog to aggregate.
|
|
1239
|
+
*/
|
|
1240
|
+
where?: DbAppForCatalogWhereInput
|
|
1241
|
+
/**
|
|
1242
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1243
|
+
*
|
|
1244
|
+
* Determine the order of DbAppForCatalogs to fetch.
|
|
1245
|
+
*/
|
|
1246
|
+
orderBy?: DbAppForCatalogOrderByWithRelationInput | DbAppForCatalogOrderByWithRelationInput[]
|
|
1247
|
+
/**
|
|
1248
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1249
|
+
*
|
|
1250
|
+
* Sets the start position
|
|
1251
|
+
*/
|
|
1252
|
+
cursor?: DbAppForCatalogWhereUniqueInput
|
|
1253
|
+
/**
|
|
1254
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1255
|
+
*
|
|
1256
|
+
* Take `±n` DbAppForCatalogs from the position of the cursor.
|
|
1257
|
+
*/
|
|
1258
|
+
take?: number
|
|
1259
|
+
/**
|
|
1260
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1261
|
+
*
|
|
1262
|
+
* Skip the first `n` DbAppForCatalogs.
|
|
1263
|
+
*/
|
|
1264
|
+
skip?: number
|
|
1265
|
+
/**
|
|
1266
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1267
|
+
*
|
|
1268
|
+
* Count returned DbAppForCatalogs
|
|
1269
|
+
**/
|
|
1270
|
+
_count?: true | DbAppForCatalogCountAggregateInputType
|
|
1271
|
+
/**
|
|
1272
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1273
|
+
*
|
|
1274
|
+
* Select which fields to find the minimum value
|
|
1275
|
+
**/
|
|
1276
|
+
_min?: DbAppForCatalogMinAggregateInputType
|
|
1277
|
+
/**
|
|
1278
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1279
|
+
*
|
|
1280
|
+
* Select which fields to find the maximum value
|
|
1281
|
+
**/
|
|
1282
|
+
_max?: DbAppForCatalogMaxAggregateInputType
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
export type GetDbAppForCatalogAggregateType<T extends DbAppForCatalogAggregateArgs> = {
|
|
1286
|
+
[P in keyof T & keyof AggregateDbAppForCatalog]: P extends '_count' | 'count'
|
|
1287
|
+
? T[P] extends true
|
|
1288
|
+
? number
|
|
1289
|
+
: GetScalarType<T[P], AggregateDbAppForCatalog[P]>
|
|
1290
|
+
: GetScalarType<T[P], AggregateDbAppForCatalog[P]>
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
export type DbAppForCatalogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1297
|
+
where?: DbAppForCatalogWhereInput
|
|
1298
|
+
orderBy?: DbAppForCatalogOrderByWithAggregationInput | DbAppForCatalogOrderByWithAggregationInput[]
|
|
1299
|
+
by: DbAppForCatalogScalarFieldEnum[] | DbAppForCatalogScalarFieldEnum
|
|
1300
|
+
having?: DbAppForCatalogScalarWhereWithAggregatesInput
|
|
1301
|
+
take?: number
|
|
1302
|
+
skip?: number
|
|
1303
|
+
_count?: DbAppForCatalogCountAggregateInputType | true
|
|
1304
|
+
_min?: DbAppForCatalogMinAggregateInputType
|
|
1305
|
+
_max?: DbAppForCatalogMaxAggregateInputType
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
export type DbAppForCatalogGroupByOutputType = {
|
|
1309
|
+
id: string
|
|
1310
|
+
name: string
|
|
1311
|
+
description: string
|
|
1312
|
+
access:PrismaJson.AccessMethod
|
|
1313
|
+
teams: string[]
|
|
1314
|
+
roles:PrismaJson.AppRole | null
|
|
1315
|
+
approverName: string | null
|
|
1316
|
+
approverEmail: string | null
|
|
1317
|
+
notes: string | null
|
|
1318
|
+
tags: string[]
|
|
1319
|
+
appUrl: string | null
|
|
1320
|
+
confluenceUrl: string | null
|
|
1321
|
+
createdAt: Date
|
|
1322
|
+
updatedAt: Date
|
|
1323
|
+
_count: DbAppForCatalogCountAggregateOutputType | null
|
|
1324
|
+
_min: DbAppForCatalogMinAggregateOutputType | null
|
|
1325
|
+
_max: DbAppForCatalogMaxAggregateOutputType | null
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
type GetDbAppForCatalogGroupByPayload<T extends DbAppForCatalogGroupByArgs> = Prisma.PrismaPromise<
|
|
1329
|
+
Array<
|
|
1330
|
+
PickEnumerable<DbAppForCatalogGroupByOutputType, T['by']> &
|
|
1331
|
+
{
|
|
1332
|
+
[P in ((keyof T) & (keyof DbAppForCatalogGroupByOutputType))]: P extends '_count'
|
|
1333
|
+
? T[P] extends boolean
|
|
1334
|
+
? number
|
|
1335
|
+
: GetScalarType<T[P], DbAppForCatalogGroupByOutputType[P]>
|
|
1336
|
+
: GetScalarType<T[P], DbAppForCatalogGroupByOutputType[P]>
|
|
1337
|
+
}
|
|
1338
|
+
>
|
|
1339
|
+
>
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
export type DbAppForCatalogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1343
|
+
id?: boolean
|
|
1344
|
+
name?: boolean
|
|
1345
|
+
description?: boolean
|
|
1346
|
+
access?: boolean
|
|
1347
|
+
teams?: boolean
|
|
1348
|
+
roles?: boolean
|
|
1349
|
+
approverName?: boolean
|
|
1350
|
+
approverEmail?: boolean
|
|
1351
|
+
notes?: boolean
|
|
1352
|
+
tags?: boolean
|
|
1353
|
+
appUrl?: boolean
|
|
1354
|
+
confluenceUrl?: boolean
|
|
1355
|
+
createdAt?: boolean
|
|
1356
|
+
updatedAt?: boolean
|
|
1357
|
+
}, ExtArgs["result"]["dbAppForCatalog"]>
|
|
1358
|
+
|
|
1359
|
+
export type DbAppForCatalogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1360
|
+
id?: boolean
|
|
1361
|
+
name?: boolean
|
|
1362
|
+
description?: boolean
|
|
1363
|
+
access?: boolean
|
|
1364
|
+
teams?: boolean
|
|
1365
|
+
roles?: boolean
|
|
1366
|
+
approverName?: boolean
|
|
1367
|
+
approverEmail?: boolean
|
|
1368
|
+
notes?: boolean
|
|
1369
|
+
tags?: boolean
|
|
1370
|
+
appUrl?: boolean
|
|
1371
|
+
confluenceUrl?: boolean
|
|
1372
|
+
createdAt?: boolean
|
|
1373
|
+
updatedAt?: boolean
|
|
1374
|
+
}, ExtArgs["result"]["dbAppForCatalog"]>
|
|
1375
|
+
|
|
1376
|
+
export type DbAppForCatalogSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1377
|
+
id?: boolean
|
|
1378
|
+
name?: boolean
|
|
1379
|
+
description?: boolean
|
|
1380
|
+
access?: boolean
|
|
1381
|
+
teams?: boolean
|
|
1382
|
+
roles?: boolean
|
|
1383
|
+
approverName?: boolean
|
|
1384
|
+
approverEmail?: boolean
|
|
1385
|
+
notes?: boolean
|
|
1386
|
+
tags?: boolean
|
|
1387
|
+
appUrl?: boolean
|
|
1388
|
+
confluenceUrl?: boolean
|
|
1389
|
+
createdAt?: boolean
|
|
1390
|
+
updatedAt?: boolean
|
|
1391
|
+
}, ExtArgs["result"]["dbAppForCatalog"]>
|
|
1392
|
+
|
|
1393
|
+
export type DbAppForCatalogSelectScalar = {
|
|
1394
|
+
id?: boolean
|
|
1395
|
+
name?: boolean
|
|
1396
|
+
description?: boolean
|
|
1397
|
+
access?: boolean
|
|
1398
|
+
teams?: boolean
|
|
1399
|
+
roles?: boolean
|
|
1400
|
+
approverName?: boolean
|
|
1401
|
+
approverEmail?: boolean
|
|
1402
|
+
notes?: boolean
|
|
1403
|
+
tags?: boolean
|
|
1404
|
+
appUrl?: boolean
|
|
1405
|
+
confluenceUrl?: boolean
|
|
1406
|
+
createdAt?: boolean
|
|
1407
|
+
updatedAt?: boolean
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
export type DbAppForCatalogOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "description" | "access" | "teams" | "roles" | "approverName" | "approverEmail" | "notes" | "tags" | "appUrl" | "confluenceUrl" | "createdAt" | "updatedAt", ExtArgs["result"]["dbAppForCatalog"]>
|
|
1411
|
+
|
|
1412
|
+
export type $DbAppForCatalogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1413
|
+
name: "DbAppForCatalog"
|
|
1414
|
+
objects: {}
|
|
1415
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
1416
|
+
id: string
|
|
1417
|
+
name: string
|
|
1418
|
+
description: string
|
|
1419
|
+
/**
|
|
1420
|
+
* [AccessMethod]
|
|
1421
|
+
*/
|
|
1422
|
+
access:PrismaJson.AccessMethod
|
|
1423
|
+
teams: string[]
|
|
1424
|
+
/**
|
|
1425
|
+
* [AppRole]
|
|
1426
|
+
*/
|
|
1427
|
+
roles:PrismaJson.AppRole | null
|
|
1428
|
+
approverName: string | null
|
|
1429
|
+
approverEmail: string | null
|
|
1430
|
+
notes: string | null
|
|
1431
|
+
tags: string[]
|
|
1432
|
+
appUrl: string | null
|
|
1433
|
+
confluenceUrl: string | null
|
|
1434
|
+
createdAt: Date
|
|
1435
|
+
updatedAt: Date
|
|
1436
|
+
}, ExtArgs["result"]["dbAppForCatalog"]>
|
|
1437
|
+
composites: {}
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
type DbAppForCatalogGetPayload<S extends boolean | null | undefined | DbAppForCatalogDefaultArgs> = $Result.GetResult<Prisma.$DbAppForCatalogPayload, S>
|
|
1441
|
+
|
|
1442
|
+
type DbAppForCatalogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
1443
|
+
Omit<DbAppForCatalogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1444
|
+
select?: DbAppForCatalogCountAggregateInputType | true
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
export interface DbAppForCatalogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1448
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbAppForCatalog'], meta: { name: 'DbAppForCatalog' } }
|
|
1449
|
+
/**
|
|
1450
|
+
* Find zero or one DbAppForCatalog that matches the filter.
|
|
1451
|
+
* @param {DbAppForCatalogFindUniqueArgs} args - Arguments to find a DbAppForCatalog
|
|
1452
|
+
* @example
|
|
1453
|
+
* // Get one DbAppForCatalog
|
|
1454
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.findUnique({
|
|
1455
|
+
* where: {
|
|
1456
|
+
* // ... provide filter here
|
|
1457
|
+
* }
|
|
1458
|
+
* })
|
|
1459
|
+
*/
|
|
1460
|
+
findUnique<T extends DbAppForCatalogFindUniqueArgs>(args: SelectSubset<T, DbAppForCatalogFindUniqueArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Find one DbAppForCatalog that matches the filter or throw an error with `error.code='P2025'`
|
|
1464
|
+
* if no matches were found.
|
|
1465
|
+
* @param {DbAppForCatalogFindUniqueOrThrowArgs} args - Arguments to find a DbAppForCatalog
|
|
1466
|
+
* @example
|
|
1467
|
+
* // Get one DbAppForCatalog
|
|
1468
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.findUniqueOrThrow({
|
|
1469
|
+
* where: {
|
|
1470
|
+
* // ... provide filter here
|
|
1471
|
+
* }
|
|
1472
|
+
* })
|
|
1473
|
+
*/
|
|
1474
|
+
findUniqueOrThrow<T extends DbAppForCatalogFindUniqueOrThrowArgs>(args: SelectSubset<T, DbAppForCatalogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* Find the first DbAppForCatalog that matches the filter.
|
|
1478
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1479
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1480
|
+
* @param {DbAppForCatalogFindFirstArgs} args - Arguments to find a DbAppForCatalog
|
|
1481
|
+
* @example
|
|
1482
|
+
* // Get one DbAppForCatalog
|
|
1483
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.findFirst({
|
|
1484
|
+
* where: {
|
|
1485
|
+
* // ... provide filter here
|
|
1486
|
+
* }
|
|
1487
|
+
* })
|
|
1488
|
+
*/
|
|
1489
|
+
findFirst<T extends DbAppForCatalogFindFirstArgs>(args?: SelectSubset<T, DbAppForCatalogFindFirstArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Find the first DbAppForCatalog that matches the filter or
|
|
1493
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1494
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1495
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1496
|
+
* @param {DbAppForCatalogFindFirstOrThrowArgs} args - Arguments to find a DbAppForCatalog
|
|
1497
|
+
* @example
|
|
1498
|
+
* // Get one DbAppForCatalog
|
|
1499
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.findFirstOrThrow({
|
|
1500
|
+
* where: {
|
|
1501
|
+
* // ... provide filter here
|
|
1502
|
+
* }
|
|
1503
|
+
* })
|
|
1504
|
+
*/
|
|
1505
|
+
findFirstOrThrow<T extends DbAppForCatalogFindFirstOrThrowArgs>(args?: SelectSubset<T, DbAppForCatalogFindFirstOrThrowArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Find zero or more DbAppForCatalogs that matches the filter.
|
|
1509
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1510
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1511
|
+
* @param {DbAppForCatalogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1512
|
+
* @example
|
|
1513
|
+
* // Get all DbAppForCatalogs
|
|
1514
|
+
* const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany()
|
|
1515
|
+
*
|
|
1516
|
+
* // Get first 10 DbAppForCatalogs
|
|
1517
|
+
* const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany({ take: 10 })
|
|
1518
|
+
*
|
|
1519
|
+
* // Only select the `id`
|
|
1520
|
+
* const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.findMany({ select: { id: true } })
|
|
1521
|
+
*
|
|
1522
|
+
*/
|
|
1523
|
+
findMany<T extends DbAppForCatalogFindManyArgs>(args?: SelectSubset<T, DbAppForCatalogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* Create a DbAppForCatalog.
|
|
1527
|
+
* @param {DbAppForCatalogCreateArgs} args - Arguments to create a DbAppForCatalog.
|
|
1528
|
+
* @example
|
|
1529
|
+
* // Create one DbAppForCatalog
|
|
1530
|
+
* const DbAppForCatalog = await prisma.dbAppForCatalog.create({
|
|
1531
|
+
* data: {
|
|
1532
|
+
* // ... data to create a DbAppForCatalog
|
|
1533
|
+
* }
|
|
1534
|
+
* })
|
|
1535
|
+
*
|
|
1536
|
+
*/
|
|
1537
|
+
create<T extends DbAppForCatalogCreateArgs>(args: SelectSubset<T, DbAppForCatalogCreateArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Create many DbAppForCatalogs.
|
|
1541
|
+
* @param {DbAppForCatalogCreateManyArgs} args - Arguments to create many DbAppForCatalogs.
|
|
1542
|
+
* @example
|
|
1543
|
+
* // Create many DbAppForCatalogs
|
|
1544
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.createMany({
|
|
1545
|
+
* data: [
|
|
1546
|
+
* // ... provide data here
|
|
1547
|
+
* ]
|
|
1548
|
+
* })
|
|
1549
|
+
*
|
|
1550
|
+
*/
|
|
1551
|
+
createMany<T extends DbAppForCatalogCreateManyArgs>(args?: SelectSubset<T, DbAppForCatalogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Create many DbAppForCatalogs and returns the data saved in the database.
|
|
1555
|
+
* @param {DbAppForCatalogCreateManyAndReturnArgs} args - Arguments to create many DbAppForCatalogs.
|
|
1556
|
+
* @example
|
|
1557
|
+
* // Create many DbAppForCatalogs
|
|
1558
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.createManyAndReturn({
|
|
1559
|
+
* data: [
|
|
1560
|
+
* // ... provide data here
|
|
1561
|
+
* ]
|
|
1562
|
+
* })
|
|
1563
|
+
*
|
|
1564
|
+
* // Create many DbAppForCatalogs and only return the `id`
|
|
1565
|
+
* const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.createManyAndReturn({
|
|
1566
|
+
* select: { id: true },
|
|
1567
|
+
* data: [
|
|
1568
|
+
* // ... provide data here
|
|
1569
|
+
* ]
|
|
1570
|
+
* })
|
|
1571
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1572
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1573
|
+
*
|
|
1574
|
+
*/
|
|
1575
|
+
createManyAndReturn<T extends DbAppForCatalogCreateManyAndReturnArgs>(args?: SelectSubset<T, DbAppForCatalogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Delete a DbAppForCatalog.
|
|
1579
|
+
* @param {DbAppForCatalogDeleteArgs} args - Arguments to delete one DbAppForCatalog.
|
|
1580
|
+
* @example
|
|
1581
|
+
* // Delete one DbAppForCatalog
|
|
1582
|
+
* const DbAppForCatalog = await prisma.dbAppForCatalog.delete({
|
|
1583
|
+
* where: {
|
|
1584
|
+
* // ... filter to delete one DbAppForCatalog
|
|
1585
|
+
* }
|
|
1586
|
+
* })
|
|
1587
|
+
*
|
|
1588
|
+
*/
|
|
1589
|
+
delete<T extends DbAppForCatalogDeleteArgs>(args: SelectSubset<T, DbAppForCatalogDeleteArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1590
|
+
|
|
1591
|
+
/**
|
|
1592
|
+
* Update one DbAppForCatalog.
|
|
1593
|
+
* @param {DbAppForCatalogUpdateArgs} args - Arguments to update one DbAppForCatalog.
|
|
1594
|
+
* @example
|
|
1595
|
+
* // Update one DbAppForCatalog
|
|
1596
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.update({
|
|
1597
|
+
* where: {
|
|
1598
|
+
* // ... provide filter here
|
|
1599
|
+
* },
|
|
1600
|
+
* data: {
|
|
1601
|
+
* // ... provide data here
|
|
1602
|
+
* }
|
|
1603
|
+
* })
|
|
1604
|
+
*
|
|
1605
|
+
*/
|
|
1606
|
+
update<T extends DbAppForCatalogUpdateArgs>(args: SelectSubset<T, DbAppForCatalogUpdateArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* Delete zero or more DbAppForCatalogs.
|
|
1610
|
+
* @param {DbAppForCatalogDeleteManyArgs} args - Arguments to filter DbAppForCatalogs to delete.
|
|
1611
|
+
* @example
|
|
1612
|
+
* // Delete a few DbAppForCatalogs
|
|
1613
|
+
* const { count } = await prisma.dbAppForCatalog.deleteMany({
|
|
1614
|
+
* where: {
|
|
1615
|
+
* // ... provide filter here
|
|
1616
|
+
* }
|
|
1617
|
+
* })
|
|
1618
|
+
*
|
|
1619
|
+
*/
|
|
1620
|
+
deleteMany<T extends DbAppForCatalogDeleteManyArgs>(args?: SelectSubset<T, DbAppForCatalogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Update zero or more DbAppForCatalogs.
|
|
1624
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1625
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1626
|
+
* @param {DbAppForCatalogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1627
|
+
* @example
|
|
1628
|
+
* // Update many DbAppForCatalogs
|
|
1629
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.updateMany({
|
|
1630
|
+
* where: {
|
|
1631
|
+
* // ... provide filter here
|
|
1632
|
+
* },
|
|
1633
|
+
* data: {
|
|
1634
|
+
* // ... provide data here
|
|
1635
|
+
* }
|
|
1636
|
+
* })
|
|
1637
|
+
*
|
|
1638
|
+
*/
|
|
1639
|
+
updateMany<T extends DbAppForCatalogUpdateManyArgs>(args: SelectSubset<T, DbAppForCatalogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1642
|
+
* Update zero or more DbAppForCatalogs and returns the data updated in the database.
|
|
1643
|
+
* @param {DbAppForCatalogUpdateManyAndReturnArgs} args - Arguments to update many DbAppForCatalogs.
|
|
1644
|
+
* @example
|
|
1645
|
+
* // Update many DbAppForCatalogs
|
|
1646
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.updateManyAndReturn({
|
|
1647
|
+
* where: {
|
|
1648
|
+
* // ... provide filter here
|
|
1649
|
+
* },
|
|
1650
|
+
* data: [
|
|
1651
|
+
* // ... provide data here
|
|
1652
|
+
* ]
|
|
1653
|
+
* })
|
|
1654
|
+
*
|
|
1655
|
+
* // Update zero or more DbAppForCatalogs and only return the `id`
|
|
1656
|
+
* const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.updateManyAndReturn({
|
|
1657
|
+
* select: { id: true },
|
|
1658
|
+
* where: {
|
|
1659
|
+
* // ... provide filter here
|
|
1660
|
+
* },
|
|
1661
|
+
* data: [
|
|
1662
|
+
* // ... provide data here
|
|
1663
|
+
* ]
|
|
1664
|
+
* })
|
|
1665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1667
|
+
*
|
|
1668
|
+
*/
|
|
1669
|
+
updateManyAndReturn<T extends DbAppForCatalogUpdateManyAndReturnArgs>(args: SelectSubset<T, DbAppForCatalogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* Create or update one DbAppForCatalog.
|
|
1673
|
+
* @param {DbAppForCatalogUpsertArgs} args - Arguments to update or create a DbAppForCatalog.
|
|
1674
|
+
* @example
|
|
1675
|
+
* // Update or create a DbAppForCatalog
|
|
1676
|
+
* const dbAppForCatalog = await prisma.dbAppForCatalog.upsert({
|
|
1677
|
+
* create: {
|
|
1678
|
+
* // ... data to create a DbAppForCatalog
|
|
1679
|
+
* },
|
|
1680
|
+
* update: {
|
|
1681
|
+
* // ... in case it already exists, update
|
|
1682
|
+
* },
|
|
1683
|
+
* where: {
|
|
1684
|
+
* // ... the filter for the DbAppForCatalog we want to update
|
|
1685
|
+
* }
|
|
1686
|
+
* })
|
|
1687
|
+
*/
|
|
1688
|
+
upsert<T extends DbAppForCatalogUpsertArgs>(args: SelectSubset<T, DbAppForCatalogUpsertArgs<ExtArgs>>): Prisma__DbAppForCatalogClient<$Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Count the number of DbAppForCatalogs.
|
|
1693
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1694
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1695
|
+
* @param {DbAppForCatalogCountArgs} args - Arguments to filter DbAppForCatalogs to count.
|
|
1696
|
+
* @example
|
|
1697
|
+
* // Count the number of DbAppForCatalogs
|
|
1698
|
+
* const count = await prisma.dbAppForCatalog.count({
|
|
1699
|
+
* where: {
|
|
1700
|
+
* // ... the filter for the DbAppForCatalogs we want to count
|
|
1701
|
+
* }
|
|
1702
|
+
* })
|
|
1703
|
+
**/
|
|
1704
|
+
count<T extends DbAppForCatalogCountArgs>(
|
|
1705
|
+
args?: Subset<T, DbAppForCatalogCountArgs>,
|
|
1706
|
+
): Prisma.PrismaPromise<
|
|
1707
|
+
T extends $Utils.Record<'select', any>
|
|
1708
|
+
? T['select'] extends true
|
|
1709
|
+
? number
|
|
1710
|
+
: GetScalarType<T['select'], DbAppForCatalogCountAggregateOutputType>
|
|
1711
|
+
: number
|
|
1712
|
+
>
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Allows you to perform aggregations operations on a DbAppForCatalog.
|
|
1716
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1717
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1718
|
+
* @param {DbAppForCatalogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1719
|
+
* @example
|
|
1720
|
+
* // Ordered by age ascending
|
|
1721
|
+
* // Where email contains prisma.io
|
|
1722
|
+
* // Limited to the 10 users
|
|
1723
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1724
|
+
* _avg: {
|
|
1725
|
+
* age: true,
|
|
1726
|
+
* },
|
|
1727
|
+
* where: {
|
|
1728
|
+
* email: {
|
|
1729
|
+
* contains: "prisma.io",
|
|
1730
|
+
* },
|
|
1731
|
+
* },
|
|
1732
|
+
* orderBy: {
|
|
1733
|
+
* age: "asc",
|
|
1734
|
+
* },
|
|
1735
|
+
* take: 10,
|
|
1736
|
+
* })
|
|
1737
|
+
**/
|
|
1738
|
+
aggregate<T extends DbAppForCatalogAggregateArgs>(args: Subset<T, DbAppForCatalogAggregateArgs>): Prisma.PrismaPromise<GetDbAppForCatalogAggregateType<T>>
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Group by DbAppForCatalog.
|
|
1742
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1743
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1744
|
+
* @param {DbAppForCatalogGroupByArgs} args - Group by arguments.
|
|
1745
|
+
* @example
|
|
1746
|
+
* // Group by city, order by createdAt, get count
|
|
1747
|
+
* const result = await prisma.user.groupBy({
|
|
1748
|
+
* by: ['city', 'createdAt'],
|
|
1749
|
+
* orderBy: {
|
|
1750
|
+
* createdAt: true
|
|
1751
|
+
* },
|
|
1752
|
+
* _count: {
|
|
1753
|
+
* _all: true
|
|
1754
|
+
* },
|
|
1755
|
+
* })
|
|
1756
|
+
*
|
|
1757
|
+
**/
|
|
1758
|
+
groupBy<
|
|
1759
|
+
T extends DbAppForCatalogGroupByArgs,
|
|
1760
|
+
HasSelectOrTake extends Or<
|
|
1761
|
+
Extends<'skip', Keys<T>>,
|
|
1762
|
+
Extends<'take', Keys<T>>
|
|
1763
|
+
>,
|
|
1764
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
1765
|
+
? { orderBy: DbAppForCatalogGroupByArgs['orderBy'] }
|
|
1766
|
+
: { orderBy?: DbAppForCatalogGroupByArgs['orderBy'] },
|
|
1767
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
1768
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
1769
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
1770
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
1771
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
1772
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
1773
|
+
InputErrors extends ByEmpty extends True
|
|
1774
|
+
? `Error: "by" must not be empty.`
|
|
1775
|
+
: HavingValid extends False
|
|
1776
|
+
? {
|
|
1777
|
+
[P in HavingFields]: P extends ByFields
|
|
1778
|
+
? never
|
|
1779
|
+
: P extends string
|
|
1780
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1781
|
+
: [
|
|
1782
|
+
Error,
|
|
1783
|
+
'Field ',
|
|
1784
|
+
P,
|
|
1785
|
+
` in "having" needs to be provided in "by"`,
|
|
1786
|
+
]
|
|
1787
|
+
}[HavingFields]
|
|
1788
|
+
: 'take' extends Keys<T>
|
|
1789
|
+
? 'orderBy' extends Keys<T>
|
|
1790
|
+
? ByValid extends True
|
|
1791
|
+
? {}
|
|
1792
|
+
: {
|
|
1793
|
+
[P in OrderFields]: P extends ByFields
|
|
1794
|
+
? never
|
|
1795
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1796
|
+
}[OrderFields]
|
|
1797
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1798
|
+
: 'skip' extends Keys<T>
|
|
1799
|
+
? 'orderBy' extends Keys<T>
|
|
1800
|
+
? ByValid extends True
|
|
1801
|
+
? {}
|
|
1802
|
+
: {
|
|
1803
|
+
[P in OrderFields]: P extends ByFields
|
|
1804
|
+
? never
|
|
1805
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1806
|
+
}[OrderFields]
|
|
1807
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1808
|
+
: ByValid extends True
|
|
1809
|
+
? {}
|
|
1810
|
+
: {
|
|
1811
|
+
[P in OrderFields]: P extends ByFields
|
|
1812
|
+
? never
|
|
1813
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1814
|
+
}[OrderFields]
|
|
1815
|
+
>(args: SubsetIntersection<T, DbAppForCatalogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbAppForCatalogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1816
|
+
/**
|
|
1817
|
+
* Fields of the DbAppForCatalog model
|
|
1818
|
+
*/
|
|
1819
|
+
readonly fields: DbAppForCatalogFieldRefs;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* The delegate class that acts as a "Promise-like" for DbAppForCatalog.
|
|
1824
|
+
* Why is this prefixed with `Prisma__`?
|
|
1825
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1826
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1827
|
+
*/
|
|
1828
|
+
export interface Prisma__DbAppForCatalogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1829
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1830
|
+
/**
|
|
1831
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1832
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1833
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1834
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1835
|
+
*/
|
|
1836
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
1837
|
+
/**
|
|
1838
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1839
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1840
|
+
* @returns A Promise for the completion of the callback.
|
|
1841
|
+
*/
|
|
1842
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
1843
|
+
/**
|
|
1844
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1845
|
+
* resolved value cannot be modified from the callback.
|
|
1846
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1847
|
+
* @returns A Promise for the completion of the callback.
|
|
1848
|
+
*/
|
|
1849
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* Fields of the DbAppForCatalog model
|
|
1857
|
+
*/
|
|
1858
|
+
interface DbAppForCatalogFieldRefs {
|
|
1859
|
+
readonly id: FieldRef<"DbAppForCatalog", 'String'>
|
|
1860
|
+
readonly name: FieldRef<"DbAppForCatalog", 'String'>
|
|
1861
|
+
readonly description: FieldRef<"DbAppForCatalog", 'String'>
|
|
1862
|
+
readonly access: FieldRef<"DbAppForCatalog", 'Json'>
|
|
1863
|
+
readonly teams: FieldRef<"DbAppForCatalog", 'String[]'>
|
|
1864
|
+
readonly roles: FieldRef<"DbAppForCatalog", 'Json'>
|
|
1865
|
+
readonly approverName: FieldRef<"DbAppForCatalog", 'String'>
|
|
1866
|
+
readonly approverEmail: FieldRef<"DbAppForCatalog", 'String'>
|
|
1867
|
+
readonly notes: FieldRef<"DbAppForCatalog", 'String'>
|
|
1868
|
+
readonly tags: FieldRef<"DbAppForCatalog", 'String[]'>
|
|
1869
|
+
readonly appUrl: FieldRef<"DbAppForCatalog", 'String'>
|
|
1870
|
+
readonly confluenceUrl: FieldRef<"DbAppForCatalog", 'String'>
|
|
1871
|
+
readonly createdAt: FieldRef<"DbAppForCatalog", 'DateTime'>
|
|
1872
|
+
readonly updatedAt: FieldRef<"DbAppForCatalog", 'DateTime'>
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
// Custom InputTypes
|
|
1877
|
+
/**
|
|
1878
|
+
* DbAppForCatalog findUnique
|
|
1879
|
+
*/
|
|
1880
|
+
export type DbAppForCatalogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1881
|
+
/**
|
|
1882
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
1883
|
+
*/
|
|
1884
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
1885
|
+
/**
|
|
1886
|
+
* Omit specific fields from the DbAppForCatalog
|
|
1887
|
+
*/
|
|
1888
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
1889
|
+
/**
|
|
1890
|
+
* Filter, which DbAppForCatalog to fetch.
|
|
1891
|
+
*/
|
|
1892
|
+
where: DbAppForCatalogWhereUniqueInput
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* DbAppForCatalog findUniqueOrThrow
|
|
1897
|
+
*/
|
|
1898
|
+
export type DbAppForCatalogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1899
|
+
/**
|
|
1900
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
1901
|
+
*/
|
|
1902
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
1903
|
+
/**
|
|
1904
|
+
* Omit specific fields from the DbAppForCatalog
|
|
1905
|
+
*/
|
|
1906
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
1907
|
+
/**
|
|
1908
|
+
* Filter, which DbAppForCatalog to fetch.
|
|
1909
|
+
*/
|
|
1910
|
+
where: DbAppForCatalogWhereUniqueInput
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* DbAppForCatalog findFirst
|
|
1915
|
+
*/
|
|
1916
|
+
export type DbAppForCatalogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
1919
|
+
*/
|
|
1920
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
1921
|
+
/**
|
|
1922
|
+
* Omit specific fields from the DbAppForCatalog
|
|
1923
|
+
*/
|
|
1924
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
1925
|
+
/**
|
|
1926
|
+
* Filter, which DbAppForCatalog to fetch.
|
|
1927
|
+
*/
|
|
1928
|
+
where?: DbAppForCatalogWhereInput
|
|
1929
|
+
/**
|
|
1930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1931
|
+
*
|
|
1932
|
+
* Determine the order of DbAppForCatalogs to fetch.
|
|
1933
|
+
*/
|
|
1934
|
+
orderBy?: DbAppForCatalogOrderByWithRelationInput | DbAppForCatalogOrderByWithRelationInput[]
|
|
1935
|
+
/**
|
|
1936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1937
|
+
*
|
|
1938
|
+
* Sets the position for searching for DbAppForCatalogs.
|
|
1939
|
+
*/
|
|
1940
|
+
cursor?: DbAppForCatalogWhereUniqueInput
|
|
1941
|
+
/**
|
|
1942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1943
|
+
*
|
|
1944
|
+
* Take `±n` DbAppForCatalogs from the position of the cursor.
|
|
1945
|
+
*/
|
|
1946
|
+
take?: number
|
|
1947
|
+
/**
|
|
1948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1949
|
+
*
|
|
1950
|
+
* Skip the first `n` DbAppForCatalogs.
|
|
1951
|
+
*/
|
|
1952
|
+
skip?: number
|
|
1953
|
+
/**
|
|
1954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1955
|
+
*
|
|
1956
|
+
* Filter by unique combinations of DbAppForCatalogs.
|
|
1957
|
+
*/
|
|
1958
|
+
distinct?: DbAppForCatalogScalarFieldEnum | DbAppForCatalogScalarFieldEnum[]
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* DbAppForCatalog findFirstOrThrow
|
|
1963
|
+
*/
|
|
1964
|
+
export type DbAppForCatalogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
1967
|
+
*/
|
|
1968
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
1969
|
+
/**
|
|
1970
|
+
* Omit specific fields from the DbAppForCatalog
|
|
1971
|
+
*/
|
|
1972
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
1973
|
+
/**
|
|
1974
|
+
* Filter, which DbAppForCatalog to fetch.
|
|
1975
|
+
*/
|
|
1976
|
+
where?: DbAppForCatalogWhereInput
|
|
1977
|
+
/**
|
|
1978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1979
|
+
*
|
|
1980
|
+
* Determine the order of DbAppForCatalogs to fetch.
|
|
1981
|
+
*/
|
|
1982
|
+
orderBy?: DbAppForCatalogOrderByWithRelationInput | DbAppForCatalogOrderByWithRelationInput[]
|
|
1983
|
+
/**
|
|
1984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1985
|
+
*
|
|
1986
|
+
* Sets the position for searching for DbAppForCatalogs.
|
|
1987
|
+
*/
|
|
1988
|
+
cursor?: DbAppForCatalogWhereUniqueInput
|
|
1989
|
+
/**
|
|
1990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1991
|
+
*
|
|
1992
|
+
* Take `±n` DbAppForCatalogs from the position of the cursor.
|
|
1993
|
+
*/
|
|
1994
|
+
take?: number
|
|
1995
|
+
/**
|
|
1996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1997
|
+
*
|
|
1998
|
+
* Skip the first `n` DbAppForCatalogs.
|
|
1999
|
+
*/
|
|
2000
|
+
skip?: number
|
|
2001
|
+
/**
|
|
2002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2003
|
+
*
|
|
2004
|
+
* Filter by unique combinations of DbAppForCatalogs.
|
|
2005
|
+
*/
|
|
2006
|
+
distinct?: DbAppForCatalogScalarFieldEnum | DbAppForCatalogScalarFieldEnum[]
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* DbAppForCatalog findMany
|
|
2011
|
+
*/
|
|
2012
|
+
export type DbAppForCatalogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2015
|
+
*/
|
|
2016
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2019
|
+
*/
|
|
2020
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2021
|
+
/**
|
|
2022
|
+
* Filter, which DbAppForCatalogs to fetch.
|
|
2023
|
+
*/
|
|
2024
|
+
where?: DbAppForCatalogWhereInput
|
|
2025
|
+
/**
|
|
2026
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2027
|
+
*
|
|
2028
|
+
* Determine the order of DbAppForCatalogs to fetch.
|
|
2029
|
+
*/
|
|
2030
|
+
orderBy?: DbAppForCatalogOrderByWithRelationInput | DbAppForCatalogOrderByWithRelationInput[]
|
|
2031
|
+
/**
|
|
2032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2033
|
+
*
|
|
2034
|
+
* Sets the position for listing DbAppForCatalogs.
|
|
2035
|
+
*/
|
|
2036
|
+
cursor?: DbAppForCatalogWhereUniqueInput
|
|
2037
|
+
/**
|
|
2038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2039
|
+
*
|
|
2040
|
+
* Take `±n` DbAppForCatalogs from the position of the cursor.
|
|
2041
|
+
*/
|
|
2042
|
+
take?: number
|
|
2043
|
+
/**
|
|
2044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2045
|
+
*
|
|
2046
|
+
* Skip the first `n` DbAppForCatalogs.
|
|
2047
|
+
*/
|
|
2048
|
+
skip?: number
|
|
2049
|
+
distinct?: DbAppForCatalogScalarFieldEnum | DbAppForCatalogScalarFieldEnum[]
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* DbAppForCatalog create
|
|
2054
|
+
*/
|
|
2055
|
+
export type DbAppForCatalogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2056
|
+
/**
|
|
2057
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2058
|
+
*/
|
|
2059
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2060
|
+
/**
|
|
2061
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2062
|
+
*/
|
|
2063
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2064
|
+
/**
|
|
2065
|
+
* The data needed to create a DbAppForCatalog.
|
|
2066
|
+
*/
|
|
2067
|
+
data: XOR<DbAppForCatalogCreateInput, DbAppForCatalogUncheckedCreateInput>
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* DbAppForCatalog createMany
|
|
2072
|
+
*/
|
|
2073
|
+
export type DbAppForCatalogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2074
|
+
/**
|
|
2075
|
+
* The data used to create many DbAppForCatalogs.
|
|
2076
|
+
*/
|
|
2077
|
+
data: DbAppForCatalogCreateManyInput | DbAppForCatalogCreateManyInput[]
|
|
2078
|
+
skipDuplicates?: boolean
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* DbAppForCatalog createManyAndReturn
|
|
2083
|
+
*/
|
|
2084
|
+
export type DbAppForCatalogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2085
|
+
/**
|
|
2086
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2087
|
+
*/
|
|
2088
|
+
select?: DbAppForCatalogSelectCreateManyAndReturn<ExtArgs> | null
|
|
2089
|
+
/**
|
|
2090
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2091
|
+
*/
|
|
2092
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2093
|
+
/**
|
|
2094
|
+
* The data used to create many DbAppForCatalogs.
|
|
2095
|
+
*/
|
|
2096
|
+
data: DbAppForCatalogCreateManyInput | DbAppForCatalogCreateManyInput[]
|
|
2097
|
+
skipDuplicates?: boolean
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* DbAppForCatalog update
|
|
2102
|
+
*/
|
|
2103
|
+
export type DbAppForCatalogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2104
|
+
/**
|
|
2105
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2106
|
+
*/
|
|
2107
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2108
|
+
/**
|
|
2109
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2110
|
+
*/
|
|
2111
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2112
|
+
/**
|
|
2113
|
+
* The data needed to update a DbAppForCatalog.
|
|
2114
|
+
*/
|
|
2115
|
+
data: XOR<DbAppForCatalogUpdateInput, DbAppForCatalogUncheckedUpdateInput>
|
|
2116
|
+
/**
|
|
2117
|
+
* Choose, which DbAppForCatalog to update.
|
|
2118
|
+
*/
|
|
2119
|
+
where: DbAppForCatalogWhereUniqueInput
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* DbAppForCatalog updateMany
|
|
2124
|
+
*/
|
|
2125
|
+
export type DbAppForCatalogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2126
|
+
/**
|
|
2127
|
+
* The data used to update DbAppForCatalogs.
|
|
2128
|
+
*/
|
|
2129
|
+
data: XOR<DbAppForCatalogUpdateManyMutationInput, DbAppForCatalogUncheckedUpdateManyInput>
|
|
2130
|
+
/**
|
|
2131
|
+
* Filter which DbAppForCatalogs to update
|
|
2132
|
+
*/
|
|
2133
|
+
where?: DbAppForCatalogWhereInput
|
|
2134
|
+
/**
|
|
2135
|
+
* Limit how many DbAppForCatalogs to update.
|
|
2136
|
+
*/
|
|
2137
|
+
limit?: number
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* DbAppForCatalog updateManyAndReturn
|
|
2142
|
+
*/
|
|
2143
|
+
export type DbAppForCatalogUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2144
|
+
/**
|
|
2145
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2146
|
+
*/
|
|
2147
|
+
select?: DbAppForCatalogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2148
|
+
/**
|
|
2149
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2150
|
+
*/
|
|
2151
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2152
|
+
/**
|
|
2153
|
+
* The data used to update DbAppForCatalogs.
|
|
2154
|
+
*/
|
|
2155
|
+
data: XOR<DbAppForCatalogUpdateManyMutationInput, DbAppForCatalogUncheckedUpdateManyInput>
|
|
2156
|
+
/**
|
|
2157
|
+
* Filter which DbAppForCatalogs to update
|
|
2158
|
+
*/
|
|
2159
|
+
where?: DbAppForCatalogWhereInput
|
|
2160
|
+
/**
|
|
2161
|
+
* Limit how many DbAppForCatalogs to update.
|
|
2162
|
+
*/
|
|
2163
|
+
limit?: number
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* DbAppForCatalog upsert
|
|
2168
|
+
*/
|
|
2169
|
+
export type DbAppForCatalogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2170
|
+
/**
|
|
2171
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2172
|
+
*/
|
|
2173
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2174
|
+
/**
|
|
2175
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2176
|
+
*/
|
|
2177
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2178
|
+
/**
|
|
2179
|
+
* The filter to search for the DbAppForCatalog to update in case it exists.
|
|
2180
|
+
*/
|
|
2181
|
+
where: DbAppForCatalogWhereUniqueInput
|
|
2182
|
+
/**
|
|
2183
|
+
* In case the DbAppForCatalog found by the `where` argument doesn't exist, create a new DbAppForCatalog with this data.
|
|
2184
|
+
*/
|
|
2185
|
+
create: XOR<DbAppForCatalogCreateInput, DbAppForCatalogUncheckedCreateInput>
|
|
2186
|
+
/**
|
|
2187
|
+
* In case the DbAppForCatalog was found with the provided `where` argument, update it with this data.
|
|
2188
|
+
*/
|
|
2189
|
+
update: XOR<DbAppForCatalogUpdateInput, DbAppForCatalogUncheckedUpdateInput>
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* DbAppForCatalog delete
|
|
2194
|
+
*/
|
|
2195
|
+
export type DbAppForCatalogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2196
|
+
/**
|
|
2197
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2198
|
+
*/
|
|
2199
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2200
|
+
/**
|
|
2201
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2202
|
+
*/
|
|
2203
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2204
|
+
/**
|
|
2205
|
+
* Filter which DbAppForCatalog to delete.
|
|
2206
|
+
*/
|
|
2207
|
+
where: DbAppForCatalogWhereUniqueInput
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* DbAppForCatalog deleteMany
|
|
2212
|
+
*/
|
|
2213
|
+
export type DbAppForCatalogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2214
|
+
/**
|
|
2215
|
+
* Filter which DbAppForCatalogs to delete
|
|
2216
|
+
*/
|
|
2217
|
+
where?: DbAppForCatalogWhereInput
|
|
2218
|
+
/**
|
|
2219
|
+
* Limit how many DbAppForCatalogs to delete.
|
|
2220
|
+
*/
|
|
2221
|
+
limit?: number
|
|
2222
|
+
}
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* DbAppForCatalog without action
|
|
2226
|
+
*/
|
|
2227
|
+
export type DbAppForCatalogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2228
|
+
/**
|
|
2229
|
+
* Select specific fields to fetch from the DbAppForCatalog
|
|
2230
|
+
*/
|
|
2231
|
+
select?: DbAppForCatalogSelect<ExtArgs> | null
|
|
2232
|
+
/**
|
|
2233
|
+
* Omit specific fields from the DbAppForCatalog
|
|
2234
|
+
*/
|
|
2235
|
+
omit?: DbAppForCatalogOmit<ExtArgs> | null
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* Model Icon
|
|
2241
|
+
*/
|
|
2242
|
+
|
|
2243
|
+
export type AggregateIcon = {
|
|
2244
|
+
_count: IconCountAggregateOutputType | null
|
|
2245
|
+
_min: IconMinAggregateOutputType | null
|
|
2246
|
+
_max: IconMaxAggregateOutputType | null
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
export type IconMinAggregateOutputType = {
|
|
2250
|
+
id: string | null
|
|
2251
|
+
name: string | null
|
|
2252
|
+
svgContent: string | null
|
|
2253
|
+
pngBase64: string | null
|
|
2254
|
+
createdAt: Date | null
|
|
2255
|
+
updatedAt: Date | null
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
export type IconMaxAggregateOutputType = {
|
|
2259
|
+
id: string | null
|
|
2260
|
+
name: string | null
|
|
2261
|
+
svgContent: string | null
|
|
2262
|
+
pngBase64: string | null
|
|
2263
|
+
createdAt: Date | null
|
|
2264
|
+
updatedAt: Date | null
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
export type IconCountAggregateOutputType = {
|
|
2268
|
+
id: number
|
|
2269
|
+
name: number
|
|
2270
|
+
svgContent: number
|
|
2271
|
+
pngBase64: number
|
|
2272
|
+
createdAt: number
|
|
2273
|
+
updatedAt: number
|
|
2274
|
+
_all: number
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
export type IconMinAggregateInputType = {
|
|
2279
|
+
id?: true
|
|
2280
|
+
name?: true
|
|
2281
|
+
svgContent?: true
|
|
2282
|
+
pngBase64?: true
|
|
2283
|
+
createdAt?: true
|
|
2284
|
+
updatedAt?: true
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
export type IconMaxAggregateInputType = {
|
|
2288
|
+
id?: true
|
|
2289
|
+
name?: true
|
|
2290
|
+
svgContent?: true
|
|
2291
|
+
pngBase64?: true
|
|
2292
|
+
createdAt?: true
|
|
2293
|
+
updatedAt?: true
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
export type IconCountAggregateInputType = {
|
|
2297
|
+
id?: true
|
|
2298
|
+
name?: true
|
|
2299
|
+
svgContent?: true
|
|
2300
|
+
pngBase64?: true
|
|
2301
|
+
createdAt?: true
|
|
2302
|
+
updatedAt?: true
|
|
2303
|
+
_all?: true
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
export type IconAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2307
|
+
/**
|
|
2308
|
+
* Filter which Icon to aggregate.
|
|
2309
|
+
*/
|
|
2310
|
+
where?: IconWhereInput
|
|
2311
|
+
/**
|
|
2312
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2313
|
+
*
|
|
2314
|
+
* Determine the order of Icons to fetch.
|
|
2315
|
+
*/
|
|
2316
|
+
orderBy?: IconOrderByWithRelationInput | IconOrderByWithRelationInput[]
|
|
2317
|
+
/**
|
|
2318
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2319
|
+
*
|
|
2320
|
+
* Sets the start position
|
|
2321
|
+
*/
|
|
2322
|
+
cursor?: IconWhereUniqueInput
|
|
2323
|
+
/**
|
|
2324
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2325
|
+
*
|
|
2326
|
+
* Take `±n` Icons from the position of the cursor.
|
|
2327
|
+
*/
|
|
2328
|
+
take?: number
|
|
2329
|
+
/**
|
|
2330
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2331
|
+
*
|
|
2332
|
+
* Skip the first `n` Icons.
|
|
2333
|
+
*/
|
|
2334
|
+
skip?: number
|
|
2335
|
+
/**
|
|
2336
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2337
|
+
*
|
|
2338
|
+
* Count returned Icons
|
|
2339
|
+
**/
|
|
2340
|
+
_count?: true | IconCountAggregateInputType
|
|
2341
|
+
/**
|
|
2342
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2343
|
+
*
|
|
2344
|
+
* Select which fields to find the minimum value
|
|
2345
|
+
**/
|
|
2346
|
+
_min?: IconMinAggregateInputType
|
|
2347
|
+
/**
|
|
2348
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2349
|
+
*
|
|
2350
|
+
* Select which fields to find the maximum value
|
|
2351
|
+
**/
|
|
2352
|
+
_max?: IconMaxAggregateInputType
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
export type GetIconAggregateType<T extends IconAggregateArgs> = {
|
|
2356
|
+
[P in keyof T & keyof AggregateIcon]: P extends '_count' | 'count'
|
|
2357
|
+
? T[P] extends true
|
|
2358
|
+
? number
|
|
2359
|
+
: GetScalarType<T[P], AggregateIcon[P]>
|
|
2360
|
+
: GetScalarType<T[P], AggregateIcon[P]>
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
export type IconGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2367
|
+
where?: IconWhereInput
|
|
2368
|
+
orderBy?: IconOrderByWithAggregationInput | IconOrderByWithAggregationInput[]
|
|
2369
|
+
by: IconScalarFieldEnum[] | IconScalarFieldEnum
|
|
2370
|
+
having?: IconScalarWhereWithAggregatesInput
|
|
2371
|
+
take?: number
|
|
2372
|
+
skip?: number
|
|
2373
|
+
_count?: IconCountAggregateInputType | true
|
|
2374
|
+
_min?: IconMinAggregateInputType
|
|
2375
|
+
_max?: IconMaxAggregateInputType
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export type IconGroupByOutputType = {
|
|
2379
|
+
id: string
|
|
2380
|
+
name: string
|
|
2381
|
+
svgContent: string | null
|
|
2382
|
+
pngBase64: string | null
|
|
2383
|
+
createdAt: Date
|
|
2384
|
+
updatedAt: Date
|
|
2385
|
+
_count: IconCountAggregateOutputType | null
|
|
2386
|
+
_min: IconMinAggregateOutputType | null
|
|
2387
|
+
_max: IconMaxAggregateOutputType | null
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
type GetIconGroupByPayload<T extends IconGroupByArgs> = Prisma.PrismaPromise<
|
|
2391
|
+
Array<
|
|
2392
|
+
PickEnumerable<IconGroupByOutputType, T['by']> &
|
|
2393
|
+
{
|
|
2394
|
+
[P in ((keyof T) & (keyof IconGroupByOutputType))]: P extends '_count'
|
|
2395
|
+
? T[P] extends boolean
|
|
2396
|
+
? number
|
|
2397
|
+
: GetScalarType<T[P], IconGroupByOutputType[P]>
|
|
2398
|
+
: GetScalarType<T[P], IconGroupByOutputType[P]>
|
|
2399
|
+
}
|
|
2400
|
+
>
|
|
2401
|
+
>
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
export type IconSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2405
|
+
id?: boolean
|
|
2406
|
+
name?: boolean
|
|
2407
|
+
svgContent?: boolean
|
|
2408
|
+
pngBase64?: boolean
|
|
2409
|
+
createdAt?: boolean
|
|
2410
|
+
updatedAt?: boolean
|
|
2411
|
+
}, ExtArgs["result"]["icon"]>
|
|
2412
|
+
|
|
2413
|
+
export type IconSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2414
|
+
id?: boolean
|
|
2415
|
+
name?: boolean
|
|
2416
|
+
svgContent?: boolean
|
|
2417
|
+
pngBase64?: boolean
|
|
2418
|
+
createdAt?: boolean
|
|
2419
|
+
updatedAt?: boolean
|
|
2420
|
+
}, ExtArgs["result"]["icon"]>
|
|
2421
|
+
|
|
2422
|
+
export type IconSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2423
|
+
id?: boolean
|
|
2424
|
+
name?: boolean
|
|
2425
|
+
svgContent?: boolean
|
|
2426
|
+
pngBase64?: boolean
|
|
2427
|
+
createdAt?: boolean
|
|
2428
|
+
updatedAt?: boolean
|
|
2429
|
+
}, ExtArgs["result"]["icon"]>
|
|
2430
|
+
|
|
2431
|
+
export type IconSelectScalar = {
|
|
2432
|
+
id?: boolean
|
|
2433
|
+
name?: boolean
|
|
2434
|
+
svgContent?: boolean
|
|
2435
|
+
pngBase64?: boolean
|
|
2436
|
+
createdAt?: boolean
|
|
2437
|
+
updatedAt?: boolean
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
export type IconOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "svgContent" | "pngBase64" | "createdAt" | "updatedAt", ExtArgs["result"]["icon"]>
|
|
2441
|
+
|
|
2442
|
+
export type $IconPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2443
|
+
name: "Icon"
|
|
2444
|
+
objects: {}
|
|
2445
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
2446
|
+
id: string
|
|
2447
|
+
name: string
|
|
2448
|
+
svgContent: string | null
|
|
2449
|
+
pngBase64: string | null
|
|
2450
|
+
createdAt: Date
|
|
2451
|
+
updatedAt: Date
|
|
2452
|
+
}, ExtArgs["result"]["icon"]>
|
|
2453
|
+
composites: {}
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
type IconGetPayload<S extends boolean | null | undefined | IconDefaultArgs> = $Result.GetResult<Prisma.$IconPayload, S>
|
|
2457
|
+
|
|
2458
|
+
type IconCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
2459
|
+
Omit<IconFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2460
|
+
select?: IconCountAggregateInputType | true
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
export interface IconDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2464
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Icon'], meta: { name: 'Icon' } }
|
|
2465
|
+
/**
|
|
2466
|
+
* Find zero or one Icon that matches the filter.
|
|
2467
|
+
* @param {IconFindUniqueArgs} args - Arguments to find a Icon
|
|
2468
|
+
* @example
|
|
2469
|
+
* // Get one Icon
|
|
2470
|
+
* const icon = await prisma.icon.findUnique({
|
|
2471
|
+
* where: {
|
|
2472
|
+
* // ... provide filter here
|
|
2473
|
+
* }
|
|
2474
|
+
* })
|
|
2475
|
+
*/
|
|
2476
|
+
findUnique<T extends IconFindUniqueArgs>(args: SelectSubset<T, IconFindUniqueArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Find one Icon that matches the filter or throw an error with `error.code='P2025'`
|
|
2480
|
+
* if no matches were found.
|
|
2481
|
+
* @param {IconFindUniqueOrThrowArgs} args - Arguments to find a Icon
|
|
2482
|
+
* @example
|
|
2483
|
+
* // Get one Icon
|
|
2484
|
+
* const icon = await prisma.icon.findUniqueOrThrow({
|
|
2485
|
+
* where: {
|
|
2486
|
+
* // ... provide filter here
|
|
2487
|
+
* }
|
|
2488
|
+
* })
|
|
2489
|
+
*/
|
|
2490
|
+
findUniqueOrThrow<T extends IconFindUniqueOrThrowArgs>(args: SelectSubset<T, IconFindUniqueOrThrowArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Find the first Icon that matches the filter.
|
|
2494
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2495
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2496
|
+
* @param {IconFindFirstArgs} args - Arguments to find a Icon
|
|
2497
|
+
* @example
|
|
2498
|
+
* // Get one Icon
|
|
2499
|
+
* const icon = await prisma.icon.findFirst({
|
|
2500
|
+
* where: {
|
|
2501
|
+
* // ... provide filter here
|
|
2502
|
+
* }
|
|
2503
|
+
* })
|
|
2504
|
+
*/
|
|
2505
|
+
findFirst<T extends IconFindFirstArgs>(args?: SelectSubset<T, IconFindFirstArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Find the first Icon that matches the filter or
|
|
2509
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2510
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2511
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2512
|
+
* @param {IconFindFirstOrThrowArgs} args - Arguments to find a Icon
|
|
2513
|
+
* @example
|
|
2514
|
+
* // Get one Icon
|
|
2515
|
+
* const icon = await prisma.icon.findFirstOrThrow({
|
|
2516
|
+
* where: {
|
|
2517
|
+
* // ... provide filter here
|
|
2518
|
+
* }
|
|
2519
|
+
* })
|
|
2520
|
+
*/
|
|
2521
|
+
findFirstOrThrow<T extends IconFindFirstOrThrowArgs>(args?: SelectSubset<T, IconFindFirstOrThrowArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* Find zero or more Icons that matches the filter.
|
|
2525
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2526
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2527
|
+
* @param {IconFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2528
|
+
* @example
|
|
2529
|
+
* // Get all Icons
|
|
2530
|
+
* const icons = await prisma.icon.findMany()
|
|
2531
|
+
*
|
|
2532
|
+
* // Get first 10 Icons
|
|
2533
|
+
* const icons = await prisma.icon.findMany({ take: 10 })
|
|
2534
|
+
*
|
|
2535
|
+
* // Only select the `id`
|
|
2536
|
+
* const iconWithIdOnly = await prisma.icon.findMany({ select: { id: true } })
|
|
2537
|
+
*
|
|
2538
|
+
*/
|
|
2539
|
+
findMany<T extends IconFindManyArgs>(args?: SelectSubset<T, IconFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* Create a Icon.
|
|
2543
|
+
* @param {IconCreateArgs} args - Arguments to create a Icon.
|
|
2544
|
+
* @example
|
|
2545
|
+
* // Create one Icon
|
|
2546
|
+
* const Icon = await prisma.icon.create({
|
|
2547
|
+
* data: {
|
|
2548
|
+
* // ... data to create a Icon
|
|
2549
|
+
* }
|
|
2550
|
+
* })
|
|
2551
|
+
*
|
|
2552
|
+
*/
|
|
2553
|
+
create<T extends IconCreateArgs>(args: SelectSubset<T, IconCreateArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Create many Icons.
|
|
2557
|
+
* @param {IconCreateManyArgs} args - Arguments to create many Icons.
|
|
2558
|
+
* @example
|
|
2559
|
+
* // Create many Icons
|
|
2560
|
+
* const icon = await prisma.icon.createMany({
|
|
2561
|
+
* data: [
|
|
2562
|
+
* // ... provide data here
|
|
2563
|
+
* ]
|
|
2564
|
+
* })
|
|
2565
|
+
*
|
|
2566
|
+
*/
|
|
2567
|
+
createMany<T extends IconCreateManyArgs>(args?: SelectSubset<T, IconCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* Create many Icons and returns the data saved in the database.
|
|
2571
|
+
* @param {IconCreateManyAndReturnArgs} args - Arguments to create many Icons.
|
|
2572
|
+
* @example
|
|
2573
|
+
* // Create many Icons
|
|
2574
|
+
* const icon = await prisma.icon.createManyAndReturn({
|
|
2575
|
+
* data: [
|
|
2576
|
+
* // ... provide data here
|
|
2577
|
+
* ]
|
|
2578
|
+
* })
|
|
2579
|
+
*
|
|
2580
|
+
* // Create many Icons and only return the `id`
|
|
2581
|
+
* const iconWithIdOnly = await prisma.icon.createManyAndReturn({
|
|
2582
|
+
* select: { id: true },
|
|
2583
|
+
* data: [
|
|
2584
|
+
* // ... provide data here
|
|
2585
|
+
* ]
|
|
2586
|
+
* })
|
|
2587
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2588
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2589
|
+
*
|
|
2590
|
+
*/
|
|
2591
|
+
createManyAndReturn<T extends IconCreateManyAndReturnArgs>(args?: SelectSubset<T, IconCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Delete a Icon.
|
|
2595
|
+
* @param {IconDeleteArgs} args - Arguments to delete one Icon.
|
|
2596
|
+
* @example
|
|
2597
|
+
* // Delete one Icon
|
|
2598
|
+
* const Icon = await prisma.icon.delete({
|
|
2599
|
+
* where: {
|
|
2600
|
+
* // ... filter to delete one Icon
|
|
2601
|
+
* }
|
|
2602
|
+
* })
|
|
2603
|
+
*
|
|
2604
|
+
*/
|
|
2605
|
+
delete<T extends IconDeleteArgs>(args: SelectSubset<T, IconDeleteArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Update one Icon.
|
|
2609
|
+
* @param {IconUpdateArgs} args - Arguments to update one Icon.
|
|
2610
|
+
* @example
|
|
2611
|
+
* // Update one Icon
|
|
2612
|
+
* const icon = await prisma.icon.update({
|
|
2613
|
+
* where: {
|
|
2614
|
+
* // ... provide filter here
|
|
2615
|
+
* },
|
|
2616
|
+
* data: {
|
|
2617
|
+
* // ... provide data here
|
|
2618
|
+
* }
|
|
2619
|
+
* })
|
|
2620
|
+
*
|
|
2621
|
+
*/
|
|
2622
|
+
update<T extends IconUpdateArgs>(args: SelectSubset<T, IconUpdateArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* Delete zero or more Icons.
|
|
2626
|
+
* @param {IconDeleteManyArgs} args - Arguments to filter Icons to delete.
|
|
2627
|
+
* @example
|
|
2628
|
+
* // Delete a few Icons
|
|
2629
|
+
* const { count } = await prisma.icon.deleteMany({
|
|
2630
|
+
* where: {
|
|
2631
|
+
* // ... provide filter here
|
|
2632
|
+
* }
|
|
2633
|
+
* })
|
|
2634
|
+
*
|
|
2635
|
+
*/
|
|
2636
|
+
deleteMany<T extends IconDeleteManyArgs>(args?: SelectSubset<T, IconDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2637
|
+
|
|
2638
|
+
/**
|
|
2639
|
+
* Update zero or more Icons.
|
|
2640
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2641
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2642
|
+
* @param {IconUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2643
|
+
* @example
|
|
2644
|
+
* // Update many Icons
|
|
2645
|
+
* const icon = await prisma.icon.updateMany({
|
|
2646
|
+
* where: {
|
|
2647
|
+
* // ... provide filter here
|
|
2648
|
+
* },
|
|
2649
|
+
* data: {
|
|
2650
|
+
* // ... provide data here
|
|
2651
|
+
* }
|
|
2652
|
+
* })
|
|
2653
|
+
*
|
|
2654
|
+
*/
|
|
2655
|
+
updateMany<T extends IconUpdateManyArgs>(args: SelectSubset<T, IconUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Update zero or more Icons and returns the data updated in the database.
|
|
2659
|
+
* @param {IconUpdateManyAndReturnArgs} args - Arguments to update many Icons.
|
|
2660
|
+
* @example
|
|
2661
|
+
* // Update many Icons
|
|
2662
|
+
* const icon = await prisma.icon.updateManyAndReturn({
|
|
2663
|
+
* where: {
|
|
2664
|
+
* // ... provide filter here
|
|
2665
|
+
* },
|
|
2666
|
+
* data: [
|
|
2667
|
+
* // ... provide data here
|
|
2668
|
+
* ]
|
|
2669
|
+
* })
|
|
2670
|
+
*
|
|
2671
|
+
* // Update zero or more Icons and only return the `id`
|
|
2672
|
+
* const iconWithIdOnly = await prisma.icon.updateManyAndReturn({
|
|
2673
|
+
* select: { id: true },
|
|
2674
|
+
* where: {
|
|
2675
|
+
* // ... provide filter here
|
|
2676
|
+
* },
|
|
2677
|
+
* data: [
|
|
2678
|
+
* // ... provide data here
|
|
2679
|
+
* ]
|
|
2680
|
+
* })
|
|
2681
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2682
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2683
|
+
*
|
|
2684
|
+
*/
|
|
2685
|
+
updateManyAndReturn<T extends IconUpdateManyAndReturnArgs>(args: SelectSubset<T, IconUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2686
|
+
|
|
2687
|
+
/**
|
|
2688
|
+
* Create or update one Icon.
|
|
2689
|
+
* @param {IconUpsertArgs} args - Arguments to update or create a Icon.
|
|
2690
|
+
* @example
|
|
2691
|
+
* // Update or create a Icon
|
|
2692
|
+
* const icon = await prisma.icon.upsert({
|
|
2693
|
+
* create: {
|
|
2694
|
+
* // ... data to create a Icon
|
|
2695
|
+
* },
|
|
2696
|
+
* update: {
|
|
2697
|
+
* // ... in case it already exists, update
|
|
2698
|
+
* },
|
|
2699
|
+
* where: {
|
|
2700
|
+
* // ... the filter for the Icon we want to update
|
|
2701
|
+
* }
|
|
2702
|
+
* })
|
|
2703
|
+
*/
|
|
2704
|
+
upsert<T extends IconUpsertArgs>(args: SelectSubset<T, IconUpsertArgs<ExtArgs>>): Prisma__IconClient<$Result.GetResult<Prisma.$IconPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
/**
|
|
2708
|
+
* Count the number of Icons.
|
|
2709
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2710
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2711
|
+
* @param {IconCountArgs} args - Arguments to filter Icons to count.
|
|
2712
|
+
* @example
|
|
2713
|
+
* // Count the number of Icons
|
|
2714
|
+
* const count = await prisma.icon.count({
|
|
2715
|
+
* where: {
|
|
2716
|
+
* // ... the filter for the Icons we want to count
|
|
2717
|
+
* }
|
|
2718
|
+
* })
|
|
2719
|
+
**/
|
|
2720
|
+
count<T extends IconCountArgs>(
|
|
2721
|
+
args?: Subset<T, IconCountArgs>,
|
|
2722
|
+
): Prisma.PrismaPromise<
|
|
2723
|
+
T extends $Utils.Record<'select', any>
|
|
2724
|
+
? T['select'] extends true
|
|
2725
|
+
? number
|
|
2726
|
+
: GetScalarType<T['select'], IconCountAggregateOutputType>
|
|
2727
|
+
: number
|
|
2728
|
+
>
|
|
2729
|
+
|
|
2730
|
+
/**
|
|
2731
|
+
* Allows you to perform aggregations operations on a Icon.
|
|
2732
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2733
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2734
|
+
* @param {IconAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2735
|
+
* @example
|
|
2736
|
+
* // Ordered by age ascending
|
|
2737
|
+
* // Where email contains prisma.io
|
|
2738
|
+
* // Limited to the 10 users
|
|
2739
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2740
|
+
* _avg: {
|
|
2741
|
+
* age: true,
|
|
2742
|
+
* },
|
|
2743
|
+
* where: {
|
|
2744
|
+
* email: {
|
|
2745
|
+
* contains: "prisma.io",
|
|
2746
|
+
* },
|
|
2747
|
+
* },
|
|
2748
|
+
* orderBy: {
|
|
2749
|
+
* age: "asc",
|
|
2750
|
+
* },
|
|
2751
|
+
* take: 10,
|
|
2752
|
+
* })
|
|
2753
|
+
**/
|
|
2754
|
+
aggregate<T extends IconAggregateArgs>(args: Subset<T, IconAggregateArgs>): Prisma.PrismaPromise<GetIconAggregateType<T>>
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* Group by Icon.
|
|
2758
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2759
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2760
|
+
* @param {IconGroupByArgs} args - Group by arguments.
|
|
2761
|
+
* @example
|
|
2762
|
+
* // Group by city, order by createdAt, get count
|
|
2763
|
+
* const result = await prisma.user.groupBy({
|
|
2764
|
+
* by: ['city', 'createdAt'],
|
|
2765
|
+
* orderBy: {
|
|
2766
|
+
* createdAt: true
|
|
2767
|
+
* },
|
|
2768
|
+
* _count: {
|
|
2769
|
+
* _all: true
|
|
2770
|
+
* },
|
|
2771
|
+
* })
|
|
2772
|
+
*
|
|
2773
|
+
**/
|
|
2774
|
+
groupBy<
|
|
2775
|
+
T extends IconGroupByArgs,
|
|
2776
|
+
HasSelectOrTake extends Or<
|
|
2777
|
+
Extends<'skip', Keys<T>>,
|
|
2778
|
+
Extends<'take', Keys<T>>
|
|
2779
|
+
>,
|
|
2780
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
2781
|
+
? { orderBy: IconGroupByArgs['orderBy'] }
|
|
2782
|
+
: { orderBy?: IconGroupByArgs['orderBy'] },
|
|
2783
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
2784
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
2785
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
2786
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
2787
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
2788
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
2789
|
+
InputErrors extends ByEmpty extends True
|
|
2790
|
+
? `Error: "by" must not be empty.`
|
|
2791
|
+
: HavingValid extends False
|
|
2792
|
+
? {
|
|
2793
|
+
[P in HavingFields]: P extends ByFields
|
|
2794
|
+
? never
|
|
2795
|
+
: P extends string
|
|
2796
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2797
|
+
: [
|
|
2798
|
+
Error,
|
|
2799
|
+
'Field ',
|
|
2800
|
+
P,
|
|
2801
|
+
` in "having" needs to be provided in "by"`,
|
|
2802
|
+
]
|
|
2803
|
+
}[HavingFields]
|
|
2804
|
+
: 'take' extends Keys<T>
|
|
2805
|
+
? 'orderBy' extends Keys<T>
|
|
2806
|
+
? ByValid extends True
|
|
2807
|
+
? {}
|
|
2808
|
+
: {
|
|
2809
|
+
[P in OrderFields]: P extends ByFields
|
|
2810
|
+
? never
|
|
2811
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2812
|
+
}[OrderFields]
|
|
2813
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2814
|
+
: 'skip' extends Keys<T>
|
|
2815
|
+
? 'orderBy' extends Keys<T>
|
|
2816
|
+
? ByValid extends True
|
|
2817
|
+
? {}
|
|
2818
|
+
: {
|
|
2819
|
+
[P in OrderFields]: P extends ByFields
|
|
2820
|
+
? never
|
|
2821
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2822
|
+
}[OrderFields]
|
|
2823
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2824
|
+
: ByValid extends True
|
|
2825
|
+
? {}
|
|
2826
|
+
: {
|
|
2827
|
+
[P in OrderFields]: P extends ByFields
|
|
2828
|
+
? never
|
|
2829
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2830
|
+
}[OrderFields]
|
|
2831
|
+
>(args: SubsetIntersection<T, IconGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIconGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2832
|
+
/**
|
|
2833
|
+
* Fields of the Icon model
|
|
2834
|
+
*/
|
|
2835
|
+
readonly fields: IconFieldRefs;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* The delegate class that acts as a "Promise-like" for Icon.
|
|
2840
|
+
* Why is this prefixed with `Prisma__`?
|
|
2841
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2842
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2843
|
+
*/
|
|
2844
|
+
export interface Prisma__IconClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2845
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2846
|
+
/**
|
|
2847
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2848
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2849
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2850
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2851
|
+
*/
|
|
2852
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
2853
|
+
/**
|
|
2854
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2855
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2856
|
+
* @returns A Promise for the completion of the callback.
|
|
2857
|
+
*/
|
|
2858
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
2859
|
+
/**
|
|
2860
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2861
|
+
* resolved value cannot be modified from the callback.
|
|
2862
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2863
|
+
* @returns A Promise for the completion of the callback.
|
|
2864
|
+
*/
|
|
2865
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* Fields of the Icon model
|
|
2873
|
+
*/
|
|
2874
|
+
interface IconFieldRefs {
|
|
2875
|
+
readonly id: FieldRef<"Icon", 'String'>
|
|
2876
|
+
readonly name: FieldRef<"Icon", 'String'>
|
|
2877
|
+
readonly svgContent: FieldRef<"Icon", 'String'>
|
|
2878
|
+
readonly pngBase64: FieldRef<"Icon", 'String'>
|
|
2879
|
+
readonly createdAt: FieldRef<"Icon", 'DateTime'>
|
|
2880
|
+
readonly updatedAt: FieldRef<"Icon", 'DateTime'>
|
|
2881
|
+
}
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
// Custom InputTypes
|
|
2885
|
+
/**
|
|
2886
|
+
* Icon findUnique
|
|
2887
|
+
*/
|
|
2888
|
+
export type IconFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2889
|
+
/**
|
|
2890
|
+
* Select specific fields to fetch from the Icon
|
|
2891
|
+
*/
|
|
2892
|
+
select?: IconSelect<ExtArgs> | null
|
|
2893
|
+
/**
|
|
2894
|
+
* Omit specific fields from the Icon
|
|
2895
|
+
*/
|
|
2896
|
+
omit?: IconOmit<ExtArgs> | null
|
|
2897
|
+
/**
|
|
2898
|
+
* Filter, which Icon to fetch.
|
|
2899
|
+
*/
|
|
2900
|
+
where: IconWhereUniqueInput
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* Icon findUniqueOrThrow
|
|
2905
|
+
*/
|
|
2906
|
+
export type IconFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2907
|
+
/**
|
|
2908
|
+
* Select specific fields to fetch from the Icon
|
|
2909
|
+
*/
|
|
2910
|
+
select?: IconSelect<ExtArgs> | null
|
|
2911
|
+
/**
|
|
2912
|
+
* Omit specific fields from the Icon
|
|
2913
|
+
*/
|
|
2914
|
+
omit?: IconOmit<ExtArgs> | null
|
|
2915
|
+
/**
|
|
2916
|
+
* Filter, which Icon to fetch.
|
|
2917
|
+
*/
|
|
2918
|
+
where: IconWhereUniqueInput
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Icon findFirst
|
|
2923
|
+
*/
|
|
2924
|
+
export type IconFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2925
|
+
/**
|
|
2926
|
+
* Select specific fields to fetch from the Icon
|
|
2927
|
+
*/
|
|
2928
|
+
select?: IconSelect<ExtArgs> | null
|
|
2929
|
+
/**
|
|
2930
|
+
* Omit specific fields from the Icon
|
|
2931
|
+
*/
|
|
2932
|
+
omit?: IconOmit<ExtArgs> | null
|
|
2933
|
+
/**
|
|
2934
|
+
* Filter, which Icon to fetch.
|
|
2935
|
+
*/
|
|
2936
|
+
where?: IconWhereInput
|
|
2937
|
+
/**
|
|
2938
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2939
|
+
*
|
|
2940
|
+
* Determine the order of Icons to fetch.
|
|
2941
|
+
*/
|
|
2942
|
+
orderBy?: IconOrderByWithRelationInput | IconOrderByWithRelationInput[]
|
|
2943
|
+
/**
|
|
2944
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2945
|
+
*
|
|
2946
|
+
* Sets the position for searching for Icons.
|
|
2947
|
+
*/
|
|
2948
|
+
cursor?: IconWhereUniqueInput
|
|
2949
|
+
/**
|
|
2950
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2951
|
+
*
|
|
2952
|
+
* Take `±n` Icons from the position of the cursor.
|
|
2953
|
+
*/
|
|
2954
|
+
take?: number
|
|
2955
|
+
/**
|
|
2956
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2957
|
+
*
|
|
2958
|
+
* Skip the first `n` Icons.
|
|
2959
|
+
*/
|
|
2960
|
+
skip?: number
|
|
2961
|
+
/**
|
|
2962
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2963
|
+
*
|
|
2964
|
+
* Filter by unique combinations of Icons.
|
|
2965
|
+
*/
|
|
2966
|
+
distinct?: IconScalarFieldEnum | IconScalarFieldEnum[]
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* Icon findFirstOrThrow
|
|
2971
|
+
*/
|
|
2972
|
+
export type IconFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2973
|
+
/**
|
|
2974
|
+
* Select specific fields to fetch from the Icon
|
|
2975
|
+
*/
|
|
2976
|
+
select?: IconSelect<ExtArgs> | null
|
|
2977
|
+
/**
|
|
2978
|
+
* Omit specific fields from the Icon
|
|
2979
|
+
*/
|
|
2980
|
+
omit?: IconOmit<ExtArgs> | null
|
|
2981
|
+
/**
|
|
2982
|
+
* Filter, which Icon to fetch.
|
|
2983
|
+
*/
|
|
2984
|
+
where?: IconWhereInput
|
|
2985
|
+
/**
|
|
2986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2987
|
+
*
|
|
2988
|
+
* Determine the order of Icons to fetch.
|
|
2989
|
+
*/
|
|
2990
|
+
orderBy?: IconOrderByWithRelationInput | IconOrderByWithRelationInput[]
|
|
2991
|
+
/**
|
|
2992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2993
|
+
*
|
|
2994
|
+
* Sets the position for searching for Icons.
|
|
2995
|
+
*/
|
|
2996
|
+
cursor?: IconWhereUniqueInput
|
|
2997
|
+
/**
|
|
2998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2999
|
+
*
|
|
3000
|
+
* Take `±n` Icons from the position of the cursor.
|
|
3001
|
+
*/
|
|
3002
|
+
take?: number
|
|
3003
|
+
/**
|
|
3004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3005
|
+
*
|
|
3006
|
+
* Skip the first `n` Icons.
|
|
3007
|
+
*/
|
|
3008
|
+
skip?: number
|
|
3009
|
+
/**
|
|
3010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3011
|
+
*
|
|
3012
|
+
* Filter by unique combinations of Icons.
|
|
3013
|
+
*/
|
|
3014
|
+
distinct?: IconScalarFieldEnum | IconScalarFieldEnum[]
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
/**
|
|
3018
|
+
* Icon findMany
|
|
3019
|
+
*/
|
|
3020
|
+
export type IconFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3021
|
+
/**
|
|
3022
|
+
* Select specific fields to fetch from the Icon
|
|
3023
|
+
*/
|
|
3024
|
+
select?: IconSelect<ExtArgs> | null
|
|
3025
|
+
/**
|
|
3026
|
+
* Omit specific fields from the Icon
|
|
3027
|
+
*/
|
|
3028
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3029
|
+
/**
|
|
3030
|
+
* Filter, which Icons to fetch.
|
|
3031
|
+
*/
|
|
3032
|
+
where?: IconWhereInput
|
|
3033
|
+
/**
|
|
3034
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3035
|
+
*
|
|
3036
|
+
* Determine the order of Icons to fetch.
|
|
3037
|
+
*/
|
|
3038
|
+
orderBy?: IconOrderByWithRelationInput | IconOrderByWithRelationInput[]
|
|
3039
|
+
/**
|
|
3040
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3041
|
+
*
|
|
3042
|
+
* Sets the position for listing Icons.
|
|
3043
|
+
*/
|
|
3044
|
+
cursor?: IconWhereUniqueInput
|
|
3045
|
+
/**
|
|
3046
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3047
|
+
*
|
|
3048
|
+
* Take `±n` Icons from the position of the cursor.
|
|
3049
|
+
*/
|
|
3050
|
+
take?: number
|
|
3051
|
+
/**
|
|
3052
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3053
|
+
*
|
|
3054
|
+
* Skip the first `n` Icons.
|
|
3055
|
+
*/
|
|
3056
|
+
skip?: number
|
|
3057
|
+
distinct?: IconScalarFieldEnum | IconScalarFieldEnum[]
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
/**
|
|
3061
|
+
* Icon create
|
|
3062
|
+
*/
|
|
3063
|
+
export type IconCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3064
|
+
/**
|
|
3065
|
+
* Select specific fields to fetch from the Icon
|
|
3066
|
+
*/
|
|
3067
|
+
select?: IconSelect<ExtArgs> | null
|
|
3068
|
+
/**
|
|
3069
|
+
* Omit specific fields from the Icon
|
|
3070
|
+
*/
|
|
3071
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3072
|
+
/**
|
|
3073
|
+
* The data needed to create a Icon.
|
|
3074
|
+
*/
|
|
3075
|
+
data: XOR<IconCreateInput, IconUncheckedCreateInput>
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* Icon createMany
|
|
3080
|
+
*/
|
|
3081
|
+
export type IconCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3082
|
+
/**
|
|
3083
|
+
* The data used to create many Icons.
|
|
3084
|
+
*/
|
|
3085
|
+
data: IconCreateManyInput | IconCreateManyInput[]
|
|
3086
|
+
skipDuplicates?: boolean
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
/**
|
|
3090
|
+
* Icon createManyAndReturn
|
|
3091
|
+
*/
|
|
3092
|
+
export type IconCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3093
|
+
/**
|
|
3094
|
+
* Select specific fields to fetch from the Icon
|
|
3095
|
+
*/
|
|
3096
|
+
select?: IconSelectCreateManyAndReturn<ExtArgs> | null
|
|
3097
|
+
/**
|
|
3098
|
+
* Omit specific fields from the Icon
|
|
3099
|
+
*/
|
|
3100
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3101
|
+
/**
|
|
3102
|
+
* The data used to create many Icons.
|
|
3103
|
+
*/
|
|
3104
|
+
data: IconCreateManyInput | IconCreateManyInput[]
|
|
3105
|
+
skipDuplicates?: boolean
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* Icon update
|
|
3110
|
+
*/
|
|
3111
|
+
export type IconUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3112
|
+
/**
|
|
3113
|
+
* Select specific fields to fetch from the Icon
|
|
3114
|
+
*/
|
|
3115
|
+
select?: IconSelect<ExtArgs> | null
|
|
3116
|
+
/**
|
|
3117
|
+
* Omit specific fields from the Icon
|
|
3118
|
+
*/
|
|
3119
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3120
|
+
/**
|
|
3121
|
+
* The data needed to update a Icon.
|
|
3122
|
+
*/
|
|
3123
|
+
data: XOR<IconUpdateInput, IconUncheckedUpdateInput>
|
|
3124
|
+
/**
|
|
3125
|
+
* Choose, which Icon to update.
|
|
3126
|
+
*/
|
|
3127
|
+
where: IconWhereUniqueInput
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* Icon updateMany
|
|
3132
|
+
*/
|
|
3133
|
+
export type IconUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3134
|
+
/**
|
|
3135
|
+
* The data used to update Icons.
|
|
3136
|
+
*/
|
|
3137
|
+
data: XOR<IconUpdateManyMutationInput, IconUncheckedUpdateManyInput>
|
|
3138
|
+
/**
|
|
3139
|
+
* Filter which Icons to update
|
|
3140
|
+
*/
|
|
3141
|
+
where?: IconWhereInput
|
|
3142
|
+
/**
|
|
3143
|
+
* Limit how many Icons to update.
|
|
3144
|
+
*/
|
|
3145
|
+
limit?: number
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
/**
|
|
3149
|
+
* Icon updateManyAndReturn
|
|
3150
|
+
*/
|
|
3151
|
+
export type IconUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3152
|
+
/**
|
|
3153
|
+
* Select specific fields to fetch from the Icon
|
|
3154
|
+
*/
|
|
3155
|
+
select?: IconSelectUpdateManyAndReturn<ExtArgs> | null
|
|
3156
|
+
/**
|
|
3157
|
+
* Omit specific fields from the Icon
|
|
3158
|
+
*/
|
|
3159
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3160
|
+
/**
|
|
3161
|
+
* The data used to update Icons.
|
|
3162
|
+
*/
|
|
3163
|
+
data: XOR<IconUpdateManyMutationInput, IconUncheckedUpdateManyInput>
|
|
3164
|
+
/**
|
|
3165
|
+
* Filter which Icons to update
|
|
3166
|
+
*/
|
|
3167
|
+
where?: IconWhereInput
|
|
3168
|
+
/**
|
|
3169
|
+
* Limit how many Icons to update.
|
|
3170
|
+
*/
|
|
3171
|
+
limit?: number
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
/**
|
|
3175
|
+
* Icon upsert
|
|
3176
|
+
*/
|
|
3177
|
+
export type IconUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3178
|
+
/**
|
|
3179
|
+
* Select specific fields to fetch from the Icon
|
|
3180
|
+
*/
|
|
3181
|
+
select?: IconSelect<ExtArgs> | null
|
|
3182
|
+
/**
|
|
3183
|
+
* Omit specific fields from the Icon
|
|
3184
|
+
*/
|
|
3185
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3186
|
+
/**
|
|
3187
|
+
* The filter to search for the Icon to update in case it exists.
|
|
3188
|
+
*/
|
|
3189
|
+
where: IconWhereUniqueInput
|
|
3190
|
+
/**
|
|
3191
|
+
* In case the Icon found by the `where` argument doesn't exist, create a new Icon with this data.
|
|
3192
|
+
*/
|
|
3193
|
+
create: XOR<IconCreateInput, IconUncheckedCreateInput>
|
|
3194
|
+
/**
|
|
3195
|
+
* In case the Icon was found with the provided `where` argument, update it with this data.
|
|
3196
|
+
*/
|
|
3197
|
+
update: XOR<IconUpdateInput, IconUncheckedUpdateInput>
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Icon delete
|
|
3202
|
+
*/
|
|
3203
|
+
export type IconDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3204
|
+
/**
|
|
3205
|
+
* Select specific fields to fetch from the Icon
|
|
3206
|
+
*/
|
|
3207
|
+
select?: IconSelect<ExtArgs> | null
|
|
3208
|
+
/**
|
|
3209
|
+
* Omit specific fields from the Icon
|
|
3210
|
+
*/
|
|
3211
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3212
|
+
/**
|
|
3213
|
+
* Filter which Icon to delete.
|
|
3214
|
+
*/
|
|
3215
|
+
where: IconWhereUniqueInput
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* Icon deleteMany
|
|
3220
|
+
*/
|
|
3221
|
+
export type IconDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3222
|
+
/**
|
|
3223
|
+
* Filter which Icons to delete
|
|
3224
|
+
*/
|
|
3225
|
+
where?: IconWhereInput
|
|
3226
|
+
/**
|
|
3227
|
+
* Limit how many Icons to delete.
|
|
3228
|
+
*/
|
|
3229
|
+
limit?: number
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
/**
|
|
3233
|
+
* Icon without action
|
|
3234
|
+
*/
|
|
3235
|
+
export type IconDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3236
|
+
/**
|
|
3237
|
+
* Select specific fields to fetch from the Icon
|
|
3238
|
+
*/
|
|
3239
|
+
select?: IconSelect<ExtArgs> | null
|
|
3240
|
+
/**
|
|
3241
|
+
* Omit specific fields from the Icon
|
|
3242
|
+
*/
|
|
3243
|
+
omit?: IconOmit<ExtArgs> | null
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
/**
|
|
3248
|
+
* Enums
|
|
3249
|
+
*/
|
|
3250
|
+
|
|
3251
|
+
export const TransactionIsolationLevel: {
|
|
3252
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
3253
|
+
ReadCommitted: 'ReadCommitted',
|
|
3254
|
+
RepeatableRead: 'RepeatableRead',
|
|
3255
|
+
Serializable: 'Serializable'
|
|
3256
|
+
};
|
|
3257
|
+
|
|
3258
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
export const DbAppForCatalogScalarFieldEnum: {
|
|
3262
|
+
id: 'id',
|
|
3263
|
+
name: 'name',
|
|
3264
|
+
description: 'description',
|
|
3265
|
+
access: 'access',
|
|
3266
|
+
teams: 'teams',
|
|
3267
|
+
roles: 'roles',
|
|
3268
|
+
approverName: 'approverName',
|
|
3269
|
+
approverEmail: 'approverEmail',
|
|
3270
|
+
notes: 'notes',
|
|
3271
|
+
tags: 'tags',
|
|
3272
|
+
appUrl: 'appUrl',
|
|
3273
|
+
confluenceUrl: 'confluenceUrl',
|
|
3274
|
+
createdAt: 'createdAt',
|
|
3275
|
+
updatedAt: 'updatedAt'
|
|
3276
|
+
};
|
|
3277
|
+
|
|
3278
|
+
export type DbAppForCatalogScalarFieldEnum = (typeof DbAppForCatalogScalarFieldEnum)[keyof typeof DbAppForCatalogScalarFieldEnum]
|
|
3279
|
+
|
|
3280
|
+
|
|
3281
|
+
export const IconScalarFieldEnum: {
|
|
3282
|
+
id: 'id',
|
|
3283
|
+
name: 'name',
|
|
3284
|
+
svgContent: 'svgContent',
|
|
3285
|
+
pngBase64: 'pngBase64',
|
|
3286
|
+
createdAt: 'createdAt',
|
|
3287
|
+
updatedAt: 'updatedAt'
|
|
3288
|
+
};
|
|
3289
|
+
|
|
3290
|
+
export type IconScalarFieldEnum = (typeof IconScalarFieldEnum)[keyof typeof IconScalarFieldEnum]
|
|
3291
|
+
|
|
3292
|
+
|
|
3293
|
+
export const SortOrder: {
|
|
3294
|
+
asc: 'asc',
|
|
3295
|
+
desc: 'desc'
|
|
3296
|
+
};
|
|
3297
|
+
|
|
3298
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
export const JsonNullValueInput: {
|
|
3302
|
+
JsonNull: typeof JsonNull
|
|
3303
|
+
};
|
|
3304
|
+
|
|
3305
|
+
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
export const NullableJsonNullValueInput: {
|
|
3309
|
+
DbNull: typeof DbNull,
|
|
3310
|
+
JsonNull: typeof JsonNull
|
|
3311
|
+
};
|
|
3312
|
+
|
|
3313
|
+
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
export const QueryMode: {
|
|
3317
|
+
default: 'default',
|
|
3318
|
+
insensitive: 'insensitive'
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
3322
|
+
|
|
3323
|
+
|
|
3324
|
+
export const JsonNullValueFilter: {
|
|
3325
|
+
DbNull: typeof DbNull,
|
|
3326
|
+
JsonNull: typeof JsonNull,
|
|
3327
|
+
AnyNull: typeof AnyNull
|
|
3328
|
+
};
|
|
3329
|
+
|
|
3330
|
+
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
3331
|
+
|
|
3332
|
+
|
|
3333
|
+
export const NullsOrder: {
|
|
3334
|
+
first: 'first',
|
|
3335
|
+
last: 'last'
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* Field references
|
|
3343
|
+
*/
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Reference to a field of type 'String'
|
|
3348
|
+
*/
|
|
3349
|
+
export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
|
|
3350
|
+
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
/**
|
|
3354
|
+
* Reference to a field of type 'String[]'
|
|
3355
|
+
*/
|
|
3356
|
+
export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* Reference to a field of type 'Json'
|
|
3362
|
+
*/
|
|
3363
|
+
export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
|
|
3364
|
+
|
|
3365
|
+
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* Reference to a field of type 'QueryMode'
|
|
3369
|
+
*/
|
|
3370
|
+
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
|
|
3371
|
+
|
|
3372
|
+
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* Reference to a field of type 'DateTime'
|
|
3376
|
+
*/
|
|
3377
|
+
export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* Reference to a field of type 'DateTime[]'
|
|
3383
|
+
*/
|
|
3384
|
+
export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
|
|
3388
|
+
/**
|
|
3389
|
+
* Reference to a field of type 'Int'
|
|
3390
|
+
*/
|
|
3391
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
3392
|
+
|
|
3393
|
+
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* Reference to a field of type 'Int[]'
|
|
3397
|
+
*/
|
|
3398
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* Deep Input Types
|
|
3402
|
+
*/
|
|
3403
|
+
|
|
3404
|
+
|
|
3405
|
+
export type DbAppForCatalogWhereInput = {
|
|
3406
|
+
AND?: DbAppForCatalogWhereInput | DbAppForCatalogWhereInput[]
|
|
3407
|
+
OR?: DbAppForCatalogWhereInput[]
|
|
3408
|
+
NOT?: DbAppForCatalogWhereInput | DbAppForCatalogWhereInput[]
|
|
3409
|
+
id?: StringFilter<"DbAppForCatalog"> | string
|
|
3410
|
+
name?: StringFilter<"DbAppForCatalog"> | string
|
|
3411
|
+
description?: StringFilter<"DbAppForCatalog"> | string
|
|
3412
|
+
access?: JsonFilter<"DbAppForCatalog">
|
|
3413
|
+
teams?: StringNullableListFilter<"DbAppForCatalog">
|
|
3414
|
+
roles?: JsonNullableFilter<"DbAppForCatalog">
|
|
3415
|
+
approverName?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3416
|
+
approverEmail?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3417
|
+
notes?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3418
|
+
tags?: StringNullableListFilter<"DbAppForCatalog">
|
|
3419
|
+
appUrl?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3420
|
+
confluenceUrl?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3421
|
+
createdAt?: DateTimeFilter<"DbAppForCatalog"> | Date | string
|
|
3422
|
+
updatedAt?: DateTimeFilter<"DbAppForCatalog"> | Date | string
|
|
3423
|
+
}
|
|
3424
|
+
|
|
3425
|
+
export type DbAppForCatalogOrderByWithRelationInput = {
|
|
3426
|
+
id?: SortOrder
|
|
3427
|
+
name?: SortOrder
|
|
3428
|
+
description?: SortOrder
|
|
3429
|
+
access?: SortOrder
|
|
3430
|
+
teams?: SortOrder
|
|
3431
|
+
roles?: SortOrderInput | SortOrder
|
|
3432
|
+
approverName?: SortOrderInput | SortOrder
|
|
3433
|
+
approverEmail?: SortOrderInput | SortOrder
|
|
3434
|
+
notes?: SortOrderInput | SortOrder
|
|
3435
|
+
tags?: SortOrder
|
|
3436
|
+
appUrl?: SortOrderInput | SortOrder
|
|
3437
|
+
confluenceUrl?: SortOrderInput | SortOrder
|
|
3438
|
+
createdAt?: SortOrder
|
|
3439
|
+
updatedAt?: SortOrder
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
export type DbAppForCatalogWhereUniqueInput = Prisma.AtLeast<{
|
|
3443
|
+
id?: string
|
|
3444
|
+
AND?: DbAppForCatalogWhereInput | DbAppForCatalogWhereInput[]
|
|
3445
|
+
OR?: DbAppForCatalogWhereInput[]
|
|
3446
|
+
NOT?: DbAppForCatalogWhereInput | DbAppForCatalogWhereInput[]
|
|
3447
|
+
name?: StringFilter<"DbAppForCatalog"> | string
|
|
3448
|
+
description?: StringFilter<"DbAppForCatalog"> | string
|
|
3449
|
+
access?: JsonFilter<"DbAppForCatalog">
|
|
3450
|
+
teams?: StringNullableListFilter<"DbAppForCatalog">
|
|
3451
|
+
roles?: JsonNullableFilter<"DbAppForCatalog">
|
|
3452
|
+
approverName?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3453
|
+
approverEmail?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3454
|
+
notes?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3455
|
+
tags?: StringNullableListFilter<"DbAppForCatalog">
|
|
3456
|
+
appUrl?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3457
|
+
confluenceUrl?: StringNullableFilter<"DbAppForCatalog"> | string | null
|
|
3458
|
+
createdAt?: DateTimeFilter<"DbAppForCatalog"> | Date | string
|
|
3459
|
+
updatedAt?: DateTimeFilter<"DbAppForCatalog"> | Date | string
|
|
3460
|
+
}, "id">
|
|
3461
|
+
|
|
3462
|
+
export type DbAppForCatalogOrderByWithAggregationInput = {
|
|
3463
|
+
id?: SortOrder
|
|
3464
|
+
name?: SortOrder
|
|
3465
|
+
description?: SortOrder
|
|
3466
|
+
access?: SortOrder
|
|
3467
|
+
teams?: SortOrder
|
|
3468
|
+
roles?: SortOrderInput | SortOrder
|
|
3469
|
+
approverName?: SortOrderInput | SortOrder
|
|
3470
|
+
approverEmail?: SortOrderInput | SortOrder
|
|
3471
|
+
notes?: SortOrderInput | SortOrder
|
|
3472
|
+
tags?: SortOrder
|
|
3473
|
+
appUrl?: SortOrderInput | SortOrder
|
|
3474
|
+
confluenceUrl?: SortOrderInput | SortOrder
|
|
3475
|
+
createdAt?: SortOrder
|
|
3476
|
+
updatedAt?: SortOrder
|
|
3477
|
+
_count?: DbAppForCatalogCountOrderByAggregateInput
|
|
3478
|
+
_max?: DbAppForCatalogMaxOrderByAggregateInput
|
|
3479
|
+
_min?: DbAppForCatalogMinOrderByAggregateInput
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
export type DbAppForCatalogScalarWhereWithAggregatesInput = {
|
|
3483
|
+
AND?: DbAppForCatalogScalarWhereWithAggregatesInput | DbAppForCatalogScalarWhereWithAggregatesInput[]
|
|
3484
|
+
OR?: DbAppForCatalogScalarWhereWithAggregatesInput[]
|
|
3485
|
+
NOT?: DbAppForCatalogScalarWhereWithAggregatesInput | DbAppForCatalogScalarWhereWithAggregatesInput[]
|
|
3486
|
+
id?: StringWithAggregatesFilter<"DbAppForCatalog"> | string
|
|
3487
|
+
name?: StringWithAggregatesFilter<"DbAppForCatalog"> | string
|
|
3488
|
+
description?: StringWithAggregatesFilter<"DbAppForCatalog"> | string
|
|
3489
|
+
access?: JsonWithAggregatesFilter<"DbAppForCatalog">
|
|
3490
|
+
teams?: StringNullableListFilter<"DbAppForCatalog">
|
|
3491
|
+
roles?: JsonNullableWithAggregatesFilter<"DbAppForCatalog">
|
|
3492
|
+
approverName?: StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
|
|
3493
|
+
approverEmail?: StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
|
|
3494
|
+
notes?: StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
|
|
3495
|
+
tags?: StringNullableListFilter<"DbAppForCatalog">
|
|
3496
|
+
appUrl?: StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
|
|
3497
|
+
confluenceUrl?: StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
|
|
3498
|
+
createdAt?: DateTimeWithAggregatesFilter<"DbAppForCatalog"> | Date | string
|
|
3499
|
+
updatedAt?: DateTimeWithAggregatesFilter<"DbAppForCatalog"> | Date | string
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
export type IconWhereInput = {
|
|
3503
|
+
AND?: IconWhereInput | IconWhereInput[]
|
|
3504
|
+
OR?: IconWhereInput[]
|
|
3505
|
+
NOT?: IconWhereInput | IconWhereInput[]
|
|
3506
|
+
id?: StringFilter<"Icon"> | string
|
|
3507
|
+
name?: StringFilter<"Icon"> | string
|
|
3508
|
+
svgContent?: StringNullableFilter<"Icon"> | string | null
|
|
3509
|
+
pngBase64?: StringNullableFilter<"Icon"> | string | null
|
|
3510
|
+
createdAt?: DateTimeFilter<"Icon"> | Date | string
|
|
3511
|
+
updatedAt?: DateTimeFilter<"Icon"> | Date | string
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
export type IconOrderByWithRelationInput = {
|
|
3515
|
+
id?: SortOrder
|
|
3516
|
+
name?: SortOrder
|
|
3517
|
+
svgContent?: SortOrderInput | SortOrder
|
|
3518
|
+
pngBase64?: SortOrderInput | SortOrder
|
|
3519
|
+
createdAt?: SortOrder
|
|
3520
|
+
updatedAt?: SortOrder
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
export type IconWhereUniqueInput = Prisma.AtLeast<{
|
|
3524
|
+
id?: string
|
|
3525
|
+
name?: string
|
|
3526
|
+
AND?: IconWhereInput | IconWhereInput[]
|
|
3527
|
+
OR?: IconWhereInput[]
|
|
3528
|
+
NOT?: IconWhereInput | IconWhereInput[]
|
|
3529
|
+
svgContent?: StringNullableFilter<"Icon"> | string | null
|
|
3530
|
+
pngBase64?: StringNullableFilter<"Icon"> | string | null
|
|
3531
|
+
createdAt?: DateTimeFilter<"Icon"> | Date | string
|
|
3532
|
+
updatedAt?: DateTimeFilter<"Icon"> | Date | string
|
|
3533
|
+
}, "id" | "name">
|
|
3534
|
+
|
|
3535
|
+
export type IconOrderByWithAggregationInput = {
|
|
3536
|
+
id?: SortOrder
|
|
3537
|
+
name?: SortOrder
|
|
3538
|
+
svgContent?: SortOrderInput | SortOrder
|
|
3539
|
+
pngBase64?: SortOrderInput | SortOrder
|
|
3540
|
+
createdAt?: SortOrder
|
|
3541
|
+
updatedAt?: SortOrder
|
|
3542
|
+
_count?: IconCountOrderByAggregateInput
|
|
3543
|
+
_max?: IconMaxOrderByAggregateInput
|
|
3544
|
+
_min?: IconMinOrderByAggregateInput
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
export type IconScalarWhereWithAggregatesInput = {
|
|
3548
|
+
AND?: IconScalarWhereWithAggregatesInput | IconScalarWhereWithAggregatesInput[]
|
|
3549
|
+
OR?: IconScalarWhereWithAggregatesInput[]
|
|
3550
|
+
NOT?: IconScalarWhereWithAggregatesInput | IconScalarWhereWithAggregatesInput[]
|
|
3551
|
+
id?: StringWithAggregatesFilter<"Icon"> | string
|
|
3552
|
+
name?: StringWithAggregatesFilter<"Icon"> | string
|
|
3553
|
+
svgContent?: StringNullableWithAggregatesFilter<"Icon"> | string | null
|
|
3554
|
+
pngBase64?: StringNullableWithAggregatesFilter<"Icon"> | string | null
|
|
3555
|
+
createdAt?: DateTimeWithAggregatesFilter<"Icon"> | Date | string
|
|
3556
|
+
updatedAt?: DateTimeWithAggregatesFilter<"Icon"> | Date | string
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
export type DbAppForCatalogCreateInput = {
|
|
3560
|
+
id?: string
|
|
3561
|
+
name: string
|
|
3562
|
+
description: string
|
|
3563
|
+
access:PrismaJson.AccessMethod
|
|
3564
|
+
teams?: DbAppForCatalogCreateteamsInput | string[]
|
|
3565
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3566
|
+
approverName?: string | null
|
|
3567
|
+
approverEmail?: string | null
|
|
3568
|
+
notes?: string | null
|
|
3569
|
+
tags?: DbAppForCatalogCreatetagsInput | string[]
|
|
3570
|
+
appUrl?: string | null
|
|
3571
|
+
confluenceUrl?: string | null
|
|
3572
|
+
createdAt?: Date | string
|
|
3573
|
+
updatedAt?: Date | string
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3576
|
+
export type DbAppForCatalogUncheckedCreateInput = {
|
|
3577
|
+
id?: string
|
|
3578
|
+
name: string
|
|
3579
|
+
description: string
|
|
3580
|
+
access:PrismaJson.AccessMethod
|
|
3581
|
+
teams?: DbAppForCatalogCreateteamsInput | string[]
|
|
3582
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3583
|
+
approverName?: string | null
|
|
3584
|
+
approverEmail?: string | null
|
|
3585
|
+
notes?: string | null
|
|
3586
|
+
tags?: DbAppForCatalogCreatetagsInput | string[]
|
|
3587
|
+
appUrl?: string | null
|
|
3588
|
+
confluenceUrl?: string | null
|
|
3589
|
+
createdAt?: Date | string
|
|
3590
|
+
updatedAt?: Date | string
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
export type DbAppForCatalogUpdateInput = {
|
|
3594
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3595
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3596
|
+
description?: StringFieldUpdateOperationsInput | string
|
|
3597
|
+
access?:PrismaJson.AccessMethod
|
|
3598
|
+
teams?: DbAppForCatalogUpdateteamsInput | string[]
|
|
3599
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3600
|
+
approverName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3601
|
+
approverEmail?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3602
|
+
notes?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3603
|
+
tags?: DbAppForCatalogUpdatetagsInput | string[]
|
|
3604
|
+
appUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3605
|
+
confluenceUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3606
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3607
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
export type DbAppForCatalogUncheckedUpdateInput = {
|
|
3611
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3612
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3613
|
+
description?: StringFieldUpdateOperationsInput | string
|
|
3614
|
+
access?:PrismaJson.AccessMethod
|
|
3615
|
+
teams?: DbAppForCatalogUpdateteamsInput | string[]
|
|
3616
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3617
|
+
approverName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3618
|
+
approverEmail?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3619
|
+
notes?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3620
|
+
tags?: DbAppForCatalogUpdatetagsInput | string[]
|
|
3621
|
+
appUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3622
|
+
confluenceUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3623
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3624
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
export type DbAppForCatalogCreateManyInput = {
|
|
3628
|
+
id?: string
|
|
3629
|
+
name: string
|
|
3630
|
+
description: string
|
|
3631
|
+
access:PrismaJson.AccessMethod
|
|
3632
|
+
teams?: DbAppForCatalogCreateteamsInput | string[]
|
|
3633
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3634
|
+
approverName?: string | null
|
|
3635
|
+
approverEmail?: string | null
|
|
3636
|
+
notes?: string | null
|
|
3637
|
+
tags?: DbAppForCatalogCreatetagsInput | string[]
|
|
3638
|
+
appUrl?: string | null
|
|
3639
|
+
confluenceUrl?: string | null
|
|
3640
|
+
createdAt?: Date | string
|
|
3641
|
+
updatedAt?: Date | string
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
export type DbAppForCatalogUpdateManyMutationInput = {
|
|
3645
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3646
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3647
|
+
description?: StringFieldUpdateOperationsInput | string
|
|
3648
|
+
access?:PrismaJson.AccessMethod
|
|
3649
|
+
teams?: DbAppForCatalogUpdateteamsInput | string[]
|
|
3650
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3651
|
+
approverName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3652
|
+
approverEmail?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3653
|
+
notes?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3654
|
+
tags?: DbAppForCatalogUpdatetagsInput | string[]
|
|
3655
|
+
appUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3656
|
+
confluenceUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3657
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3658
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
export type DbAppForCatalogUncheckedUpdateManyInput = {
|
|
3662
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3663
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3664
|
+
description?: StringFieldUpdateOperationsInput | string
|
|
3665
|
+
access?:PrismaJson.AccessMethod
|
|
3666
|
+
teams?: DbAppForCatalogUpdateteamsInput | string[]
|
|
3667
|
+
roles?:PrismaJson.AppRole | NullableJsonNullValueInput
|
|
3668
|
+
approverName?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3669
|
+
approverEmail?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3670
|
+
notes?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3671
|
+
tags?: DbAppForCatalogUpdatetagsInput | string[]
|
|
3672
|
+
appUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3673
|
+
confluenceUrl?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3674
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3675
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
export type IconCreateInput = {
|
|
3679
|
+
id?: string
|
|
3680
|
+
name: string
|
|
3681
|
+
svgContent?: string | null
|
|
3682
|
+
pngBase64?: string | null
|
|
3683
|
+
createdAt?: Date | string
|
|
3684
|
+
updatedAt?: Date | string
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
export type IconUncheckedCreateInput = {
|
|
3688
|
+
id?: string
|
|
3689
|
+
name: string
|
|
3690
|
+
svgContent?: string | null
|
|
3691
|
+
pngBase64?: string | null
|
|
3692
|
+
createdAt?: Date | string
|
|
3693
|
+
updatedAt?: Date | string
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
export type IconUpdateInput = {
|
|
3697
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3698
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3699
|
+
svgContent?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3700
|
+
pngBase64?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3701
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3702
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
export type IconUncheckedUpdateInput = {
|
|
3706
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3707
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3708
|
+
svgContent?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3709
|
+
pngBase64?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3710
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3711
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
export type IconCreateManyInput = {
|
|
3715
|
+
id?: string
|
|
3716
|
+
name: string
|
|
3717
|
+
svgContent?: string | null
|
|
3718
|
+
pngBase64?: string | null
|
|
3719
|
+
createdAt?: Date | string
|
|
3720
|
+
updatedAt?: Date | string
|
|
3721
|
+
}
|
|
3722
|
+
|
|
3723
|
+
export type IconUpdateManyMutationInput = {
|
|
3724
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3725
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3726
|
+
svgContent?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3727
|
+
pngBase64?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3728
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3729
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
export type IconUncheckedUpdateManyInput = {
|
|
3733
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3734
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
3735
|
+
svgContent?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3736
|
+
pngBase64?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3737
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3738
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3739
|
+
}
|
|
3740
|
+
|
|
3741
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
3742
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3743
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3744
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3745
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3746
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3747
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3748
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3749
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3750
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3751
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3752
|
+
mode?: QueryMode
|
|
3753
|
+
not?: NestedStringFilter<$PrismaModel> | string
|
|
3754
|
+
}
|
|
3755
|
+
export type JsonFilter<$PrismaModel = never> =
|
|
3756
|
+
| PatchUndefined<
|
|
3757
|
+
Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
3758
|
+
Required<JsonFilterBase<$PrismaModel>>
|
|
3759
|
+
>
|
|
3760
|
+
| OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
|
3761
|
+
|
|
3762
|
+
export type JsonFilterBase<$PrismaModel = never> = {
|
|
3763
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3764
|
+
path?: string[]
|
|
3765
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3766
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3767
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3768
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3769
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3770
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3771
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3772
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3773
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3774
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3775
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3776
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3777
|
+
}
|
|
3778
|
+
|
|
3779
|
+
export type StringNullableListFilter<$PrismaModel = never> = {
|
|
3780
|
+
equals?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3781
|
+
has?: string | StringFieldRefInput<$PrismaModel> | null
|
|
3782
|
+
hasEvery?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3783
|
+
hasSome?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3784
|
+
isEmpty?: boolean
|
|
3785
|
+
}
|
|
3786
|
+
export type JsonNullableFilter<$PrismaModel = never> =
|
|
3787
|
+
| PatchUndefined<
|
|
3788
|
+
Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
3789
|
+
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
3790
|
+
>
|
|
3791
|
+
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
3792
|
+
|
|
3793
|
+
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
3794
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3795
|
+
path?: string[]
|
|
3796
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3797
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3798
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3799
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3800
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3801
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3802
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3803
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3804
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3805
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3806
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3807
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3808
|
+
}
|
|
3809
|
+
|
|
3810
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
3811
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
3812
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3813
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3814
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3815
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3816
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3817
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3818
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3819
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3820
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3821
|
+
mode?: QueryMode
|
|
3822
|
+
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
3823
|
+
}
|
|
3824
|
+
|
|
3825
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
3826
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3827
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3828
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3829
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3830
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3831
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3832
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3833
|
+
not?: NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
export type SortOrderInput = {
|
|
3837
|
+
sort: SortOrder
|
|
3838
|
+
nulls?: NullsOrder
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
export type DbAppForCatalogCountOrderByAggregateInput = {
|
|
3842
|
+
id?: SortOrder
|
|
3843
|
+
name?: SortOrder
|
|
3844
|
+
description?: SortOrder
|
|
3845
|
+
access?: SortOrder
|
|
3846
|
+
teams?: SortOrder
|
|
3847
|
+
roles?: SortOrder
|
|
3848
|
+
approverName?: SortOrder
|
|
3849
|
+
approverEmail?: SortOrder
|
|
3850
|
+
notes?: SortOrder
|
|
3851
|
+
tags?: SortOrder
|
|
3852
|
+
appUrl?: SortOrder
|
|
3853
|
+
confluenceUrl?: SortOrder
|
|
3854
|
+
createdAt?: SortOrder
|
|
3855
|
+
updatedAt?: SortOrder
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
export type DbAppForCatalogMaxOrderByAggregateInput = {
|
|
3859
|
+
id?: SortOrder
|
|
3860
|
+
name?: SortOrder
|
|
3861
|
+
description?: SortOrder
|
|
3862
|
+
approverName?: SortOrder
|
|
3863
|
+
approverEmail?: SortOrder
|
|
3864
|
+
notes?: SortOrder
|
|
3865
|
+
appUrl?: SortOrder
|
|
3866
|
+
confluenceUrl?: SortOrder
|
|
3867
|
+
createdAt?: SortOrder
|
|
3868
|
+
updatedAt?: SortOrder
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
export type DbAppForCatalogMinOrderByAggregateInput = {
|
|
3872
|
+
id?: SortOrder
|
|
3873
|
+
name?: SortOrder
|
|
3874
|
+
description?: SortOrder
|
|
3875
|
+
approverName?: SortOrder
|
|
3876
|
+
approverEmail?: SortOrder
|
|
3877
|
+
notes?: SortOrder
|
|
3878
|
+
appUrl?: SortOrder
|
|
3879
|
+
confluenceUrl?: SortOrder
|
|
3880
|
+
createdAt?: SortOrder
|
|
3881
|
+
updatedAt?: SortOrder
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
3885
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3886
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3887
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3888
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3889
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3890
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3891
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3892
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3893
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3894
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3895
|
+
mode?: QueryMode
|
|
3896
|
+
not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
3897
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3898
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
3899
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
3900
|
+
}
|
|
3901
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
|
3902
|
+
| PatchUndefined<
|
|
3903
|
+
Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
3904
|
+
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
|
3905
|
+
>
|
|
3906
|
+
| OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
3907
|
+
|
|
3908
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
3909
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3910
|
+
path?: string[]
|
|
3911
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3912
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3913
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3914
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3915
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3916
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3917
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3918
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3919
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3920
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3921
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3922
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3923
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3924
|
+
_min?: NestedJsonFilter<$PrismaModel>
|
|
3925
|
+
_max?: NestedJsonFilter<$PrismaModel>
|
|
3926
|
+
}
|
|
3927
|
+
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
3928
|
+
| PatchUndefined<
|
|
3929
|
+
Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
3930
|
+
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
3931
|
+
>
|
|
3932
|
+
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
3933
|
+
|
|
3934
|
+
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
3935
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3936
|
+
path?: string[]
|
|
3937
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3938
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3939
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3940
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3941
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3942
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3943
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3944
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3945
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3946
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3947
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3948
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3949
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
3950
|
+
_min?: NestedJsonNullableFilter<$PrismaModel>
|
|
3951
|
+
_max?: NestedJsonNullableFilter<$PrismaModel>
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
3955
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
3956
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3957
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3958
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3959
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3960
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3961
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3962
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3963
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3964
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3965
|
+
mode?: QueryMode
|
|
3966
|
+
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
3967
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
3968
|
+
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
3969
|
+
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3972
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
3973
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3974
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3975
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3976
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3977
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3978
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3979
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3980
|
+
not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
3981
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3982
|
+
_min?: NestedDateTimeFilter<$PrismaModel>
|
|
3983
|
+
_max?: NestedDateTimeFilter<$PrismaModel>
|
|
3984
|
+
}
|
|
3985
|
+
|
|
3986
|
+
export type IconCountOrderByAggregateInput = {
|
|
3987
|
+
id?: SortOrder
|
|
3988
|
+
name?: SortOrder
|
|
3989
|
+
svgContent?: SortOrder
|
|
3990
|
+
pngBase64?: SortOrder
|
|
3991
|
+
createdAt?: SortOrder
|
|
3992
|
+
updatedAt?: SortOrder
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
export type IconMaxOrderByAggregateInput = {
|
|
3996
|
+
id?: SortOrder
|
|
3997
|
+
name?: SortOrder
|
|
3998
|
+
svgContent?: SortOrder
|
|
3999
|
+
pngBase64?: SortOrder
|
|
4000
|
+
createdAt?: SortOrder
|
|
4001
|
+
updatedAt?: SortOrder
|
|
4002
|
+
}
|
|
4003
|
+
|
|
4004
|
+
export type IconMinOrderByAggregateInput = {
|
|
4005
|
+
id?: SortOrder
|
|
4006
|
+
name?: SortOrder
|
|
4007
|
+
svgContent?: SortOrder
|
|
4008
|
+
pngBase64?: SortOrder
|
|
4009
|
+
createdAt?: SortOrder
|
|
4010
|
+
updatedAt?: SortOrder
|
|
4011
|
+
}
|
|
4012
|
+
|
|
4013
|
+
export type DbAppForCatalogCreateteamsInput = {
|
|
4014
|
+
set: string[]
|
|
4015
|
+
}
|
|
4016
|
+
|
|
4017
|
+
export type DbAppForCatalogCreatetagsInput = {
|
|
4018
|
+
set: string[]
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
export type StringFieldUpdateOperationsInput = {
|
|
4022
|
+
set?: string
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
export type DbAppForCatalogUpdateteamsInput = {
|
|
4026
|
+
set?: string[]
|
|
4027
|
+
push?: string | string[]
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
4031
|
+
set?: string | null
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
export type DbAppForCatalogUpdatetagsInput = {
|
|
4035
|
+
set?: string[]
|
|
4036
|
+
push?: string | string[]
|
|
4037
|
+
}
|
|
4038
|
+
|
|
4039
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
4040
|
+
set?: Date | string
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
4044
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
4045
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4046
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4047
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4048
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4049
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4050
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4051
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4052
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4053
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4054
|
+
not?: NestedStringFilter<$PrismaModel> | string
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
4058
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
4059
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4060
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4061
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4062
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4063
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4064
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4065
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4066
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4067
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4068
|
+
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
4069
|
+
}
|
|
4070
|
+
|
|
4071
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
4072
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4073
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4074
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4075
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4076
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4077
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4078
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4079
|
+
not?: NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
4083
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
4084
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4085
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4086
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4087
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4088
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4089
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4090
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4091
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4092
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4093
|
+
not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
4094
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
4095
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
4096
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
4100
|
+
equals?: number | IntFieldRefInput<$PrismaModel>
|
|
4101
|
+
in?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
4102
|
+
notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
4103
|
+
lt?: number | IntFieldRefInput<$PrismaModel>
|
|
4104
|
+
lte?: number | IntFieldRefInput<$PrismaModel>
|
|
4105
|
+
gt?: number | IntFieldRefInput<$PrismaModel>
|
|
4106
|
+
gte?: number | IntFieldRefInput<$PrismaModel>
|
|
4107
|
+
not?: NestedIntFilter<$PrismaModel> | number
|
|
4108
|
+
}
|
|
4109
|
+
export type NestedJsonFilter<$PrismaModel = never> =
|
|
4110
|
+
| PatchUndefined<
|
|
4111
|
+
Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
|
4112
|
+
Required<NestedJsonFilterBase<$PrismaModel>>
|
|
4113
|
+
>
|
|
4114
|
+
| OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
|
4115
|
+
|
|
4116
|
+
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
4117
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
4118
|
+
path?: string[]
|
|
4119
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
4120
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4121
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
4122
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
4123
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4124
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4125
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4126
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4127
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4128
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4129
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4130
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4133
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
4134
|
+
equals?: number | IntFieldRefInput<$PrismaModel> | null
|
|
4135
|
+
in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
|
|
4136
|
+
notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
|
|
4137
|
+
lt?: number | IntFieldRefInput<$PrismaModel>
|
|
4138
|
+
lte?: number | IntFieldRefInput<$PrismaModel>
|
|
4139
|
+
gt?: number | IntFieldRefInput<$PrismaModel>
|
|
4140
|
+
gte?: number | IntFieldRefInput<$PrismaModel>
|
|
4141
|
+
not?: NestedIntNullableFilter<$PrismaModel> | number | null
|
|
4142
|
+
}
|
|
4143
|
+
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
|
4144
|
+
| PatchUndefined<
|
|
4145
|
+
Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
4146
|
+
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
4147
|
+
>
|
|
4148
|
+
| OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
4149
|
+
|
|
4150
|
+
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
4151
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
4152
|
+
path?: string[]
|
|
4153
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
4154
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4155
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
4156
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
4157
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4158
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4159
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
4160
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4161
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4162
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4163
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
4164
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4167
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
4168
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
4169
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4170
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4171
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4172
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4173
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4174
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4175
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4176
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4177
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4178
|
+
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
4179
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
4180
|
+
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
4181
|
+
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
4185
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4186
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4187
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4188
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4189
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4190
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4191
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4192
|
+
not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
4193
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
4194
|
+
_min?: NestedDateTimeFilter<$PrismaModel>
|
|
4195
|
+
_max?: NestedDateTimeFilter<$PrismaModel>
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* Batch Payload for updateMany & deleteMany & createMany
|
|
4202
|
+
*/
|
|
4203
|
+
|
|
4204
|
+
export type BatchPayload = {
|
|
4205
|
+
count: number
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
/**
|
|
4209
|
+
* DMMF
|
|
4210
|
+
*/
|
|
4211
|
+
export const dmmf: runtime.BaseDMMF
|
|
4212
|
+
}
|