lapeh 2.3.6 → 2.3.8
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/bin/index.js +39 -56
- package/dist/generated/prisma/browser.d.ts +80 -0
- package/dist/generated/prisma/browser.d.ts.map +1 -0
- package/dist/generated/prisma/browser.js +56 -0
- package/dist/generated/prisma/client.d.ts +97 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +68 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +486 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +11 -0
- package/dist/generated/prisma/enums.d.ts +2 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +11 -0
- package/dist/generated/prisma/internal/class.d.ts +281 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +76 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +1734 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +260 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +200 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +231 -0
- package/dist/generated/prisma/models/cache.d.ts +986 -0
- package/dist/generated/prisma/models/cache.d.ts.map +1 -0
- package/dist/generated/prisma/models/cache.js +2 -0
- package/dist/generated/prisma/models/cache_locks.d.ts +976 -0
- package/dist/generated/prisma/models/cache_locks.d.ts.map +1 -0
- package/dist/generated/prisma/models/cache_locks.js +2 -0
- package/dist/generated/prisma/models/failed_jobs.d.ts +1098 -0
- package/dist/generated/prisma/models/failed_jobs.d.ts.map +1 -0
- package/dist/generated/prisma/models/failed_jobs.js +2 -0
- package/dist/generated/prisma/models/job_batches.d.ts +1212 -0
- package/dist/generated/prisma/models/job_batches.d.ts.map +1 -0
- package/dist/generated/prisma/models/job_batches.js +2 -0
- package/dist/generated/prisma/models/jobs.d.ts +1112 -0
- package/dist/generated/prisma/models/jobs.d.ts.map +1 -0
- package/dist/generated/prisma/models/jobs.js +2 -0
- package/dist/generated/prisma/models/migrations.d.ts +979 -0
- package/dist/generated/prisma/models/migrations.d.ts.map +1 -0
- package/dist/generated/prisma/models/migrations.js +2 -0
- package/dist/generated/prisma/models/password_reset_tokens.d.ts +941 -0
- package/dist/generated/prisma/models/password_reset_tokens.d.ts.map +1 -0
- package/dist/generated/prisma/models/password_reset_tokens.js +2 -0
- package/dist/generated/prisma/models/permissions.d.ts +1333 -0
- package/dist/generated/prisma/models/permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/permissions.js +2 -0
- package/dist/generated/prisma/models/personal_access_tokens.d.ts +1178 -0
- package/dist/generated/prisma/models/personal_access_tokens.d.ts.map +1 -0
- package/dist/generated/prisma/models/personal_access_tokens.js +2 -0
- package/dist/generated/prisma/models/role_permissions.d.ts +1291 -0
- package/dist/generated/prisma/models/role_permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/role_permissions.js +2 -0
- package/dist/generated/prisma/models/roles.d.ts +1333 -0
- package/dist/generated/prisma/models/roles.d.ts.map +1 -0
- package/dist/generated/prisma/models/roles.js +2 -0
- package/dist/generated/prisma/models/sessions.d.ts +1073 -0
- package/dist/generated/prisma/models/sessions.d.ts.map +1 -0
- package/dist/generated/prisma/models/sessions.js +2 -0
- package/dist/generated/prisma/models/user_permissions.d.ts +1291 -0
- package/dist/generated/prisma/models/user_permissions.d.ts.map +1 -0
- package/dist/generated/prisma/models/user_permissions.js +2 -0
- package/dist/generated/prisma/models/user_roles.d.ts +1291 -0
- package/dist/generated/prisma/models/user_roles.d.ts.map +1 -0
- package/dist/generated/prisma/models/user_roles.js +2 -0
- package/dist/generated/prisma/models/users.d.ts +1513 -0
- package/dist/generated/prisma/models/users.d.ts.map +1 -0
- package/dist/generated/prisma/models/users.js +2 -0
- package/dist/generated/prisma/models.d.ts +17 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/lib/bootstrap.d.ts +2 -0
- package/dist/lib/bootstrap.d.ts.map +1 -0
- package/dist/lib/bootstrap.js +133 -0
- package/dist/lib/core/database.d.ts +3 -0
- package/dist/lib/core/database.d.ts.map +1 -0
- package/dist/lib/core/database.js +34 -0
- package/dist/lib/core/realtime.d.ts +3 -0
- package/dist/lib/core/realtime.d.ts.map +1 -0
- package/dist/lib/core/realtime.js +36 -0
- package/dist/lib/core/redis.d.ts +8 -0
- package/dist/lib/core/redis.d.ts.map +1 -0
- package/dist/lib/core/redis.js +123 -0
- package/dist/lib/core/serializer.d.ts +43 -0
- package/dist/lib/core/serializer.d.ts.map +1 -0
- package/dist/lib/core/serializer.js +66 -0
- package/dist/lib/core/server.d.ts +2 -0
- package/dist/lib/core/server.d.ts.map +1 -0
- package/dist/lib/core/server.js +60 -0
- package/dist/lib/middleware/auth.d.ts +4 -0
- package/dist/lib/middleware/auth.d.ts.map +1 -0
- package/dist/lib/middleware/auth.js +55 -0
- package/dist/lib/middleware/error.d.ts +3 -0
- package/dist/lib/middleware/error.d.ts.map +1 -0
- package/dist/lib/middleware/error.js +60 -0
- package/dist/lib/middleware/multipart.d.ts +4 -0
- package/dist/lib/middleware/multipart.d.ts.map +1 -0
- package/dist/lib/middleware/multipart.js +17 -0
- package/dist/lib/middleware/rateLimit.d.ts +2 -0
- package/dist/lib/middleware/rateLimit.d.ts.map +1 -0
- package/dist/lib/middleware/rateLimit.js +19 -0
- package/dist/lib/middleware/requestLogger.d.ts +3 -0
- package/dist/lib/middleware/requestLogger.d.ts.map +1 -0
- package/dist/lib/middleware/requestLogger.js +22 -0
- package/dist/lib/middleware/visitor.d.ts +3 -0
- package/dist/lib/middleware/visitor.d.ts.map +1 -0
- package/dist/lib/middleware/visitor.js +144 -0
- package/dist/lib/utils/logger.d.ts +11 -0
- package/dist/lib/utils/logger.d.ts.map +1 -0
- package/dist/lib/utils/logger.js +81 -0
- package/dist/lib/utils/pagination.d.ts +19 -0
- package/dist/lib/utils/pagination.d.ts.map +1 -0
- package/dist/lib/utils/pagination.js +34 -0
- package/dist/lib/utils/response.d.ts +11 -0
- package/dist/lib/utils/response.d.ts.map +1 -0
- package/dist/lib/utils/response.js +57 -0
- package/dist/lib/utils/validator.d.ts +38 -0
- package/dist/lib/utils/validator.d.ts.map +1 -0
- package/dist/lib/utils/validator.js +369 -0
- package/dist/prisma/seed.d.ts +2 -0
- package/dist/prisma/seed.d.ts.map +1 -0
- package/dist/prisma/seed.js +381 -0
- package/dist/src/controllers/authController.d.ts +11 -0
- package/dist/src/controllers/authController.d.ts.map +1 -0
- package/dist/src/controllers/authController.js +414 -0
- package/dist/src/controllers/petController.d.ts +7 -0
- package/dist/src/controllers/petController.d.ts.map +1 -0
- package/dist/src/controllers/petController.js +163 -0
- package/dist/src/controllers/rbacController.d.ts +16 -0
- package/dist/src/controllers/rbacController.d.ts.map +1 -0
- package/dist/src/controllers/rbacController.js +437 -0
- package/dist/src/core/database.d.ts +3 -0
- package/dist/src/core/database.d.ts.map +1 -0
- package/dist/src/core/database.js +34 -0
- package/dist/src/core/realtime.d.ts +3 -0
- package/dist/src/core/realtime.d.ts.map +1 -0
- package/dist/src/core/realtime.js +36 -0
- package/dist/src/core/redis.d.ts +8 -0
- package/dist/src/core/redis.d.ts.map +1 -0
- package/dist/src/core/redis.js +123 -0
- package/dist/src/core/serializer.d.ts +43 -0
- package/dist/src/core/serializer.d.ts.map +1 -0
- package/dist/src/core/serializer.js +66 -0
- package/dist/src/core/server.d.ts +2 -0
- package/dist/src/core/server.d.ts.map +1 -0
- package/dist/src/core/server.js +60 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +98 -0
- package/dist/src/middleware/auth.d.ts +4 -0
- package/dist/src/middleware/auth.d.ts.map +1 -0
- package/dist/src/middleware/auth.js +48 -0
- package/dist/src/middleware/error.d.ts +3 -0
- package/dist/src/middleware/error.d.ts.map +1 -0
- package/dist/src/middleware/error.js +60 -0
- package/dist/src/middleware/multipart.d.ts +4 -0
- package/dist/src/middleware/multipart.d.ts.map +1 -0
- package/dist/src/middleware/multipart.js +17 -0
- package/dist/src/middleware/rateLimit.d.ts +2 -0
- package/dist/src/middleware/rateLimit.d.ts.map +1 -0
- package/dist/src/middleware/rateLimit.js +19 -0
- package/dist/src/middleware/requestLogger.d.ts +3 -0
- package/dist/src/middleware/requestLogger.d.ts.map +1 -0
- package/dist/src/middleware/requestLogger.js +22 -0
- package/dist/src/middleware/visitor.d.ts +3 -0
- package/dist/src/middleware/visitor.d.ts.map +1 -0
- package/dist/src/middleware/visitor.js +144 -0
- package/dist/src/prisma.d.ts +3 -0
- package/dist/src/prisma.d.ts.map +1 -0
- package/dist/src/prisma.js +34 -0
- package/dist/src/realtime.d.ts +3 -0
- package/dist/src/realtime.d.ts.map +1 -0
- package/dist/src/realtime.js +36 -0
- package/dist/src/redis.d.ts +8 -0
- package/dist/src/redis.d.ts.map +1 -0
- package/dist/src/redis.js +122 -0
- package/dist/src/routes/auth.d.ts +2 -0
- package/dist/src/routes/auth.d.ts.map +1 -0
- package/dist/src/routes/auth.js +45 -0
- package/dist/src/routes/index.d.ts +2 -0
- package/dist/src/routes/index.d.ts.map +1 -0
- package/dist/src/routes/index.js +14 -0
- package/dist/src/routes/pets.d.ts +3 -0
- package/dist/src/routes/pets.d.ts.map +1 -0
- package/dist/src/routes/pets.js +45 -0
- package/dist/src/routes/rbac.d.ts +2 -0
- package/dist/src/routes/rbac.d.ts.map +1 -0
- package/dist/src/routes/rbac.js +23 -0
- package/dist/src/schema/auth-schema.d.ts +76 -0
- package/dist/src/schema/auth-schema.d.ts.map +1 -0
- package/dist/src/schema/auth-schema.js +63 -0
- package/dist/src/schema/pet-schema.d.ts +28 -0
- package/dist/src/schema/pet-schema.d.ts.map +1 -0
- package/dist/src/schema/pet-schema.js +14 -0
- package/dist/src/server.d.ts +2 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/server.js +31 -0
- package/dist/src/utils/logger.d.ts +11 -0
- package/dist/src/utils/logger.d.ts.map +1 -0
- package/dist/src/utils/logger.js +81 -0
- package/dist/src/utils/pagination.d.ts +19 -0
- package/dist/src/utils/pagination.d.ts.map +1 -0
- package/dist/src/utils/pagination.js +34 -0
- package/dist/src/utils/response.d.ts +11 -0
- package/dist/src/utils/response.d.ts.map +1 -0
- package/dist/src/utils/response.js +57 -0
- package/dist/src/utils/validator.d.ts +38 -0
- package/dist/src/utils/validator.d.ts.map +1 -0
- package/dist/src/utils/validator.js +369 -0
- package/lib/bootstrap.ts +6 -0
- package/package.json +26 -14
- package/.env.example +0 -19
- package/doc/ARCHITECTURE_GUIDE.md +0 -73
- package/doc/CHANGELOG.md +0 -77
- package/doc/CHEATSHEET.md +0 -94
- package/doc/CLI.md +0 -139
- package/doc/CONTRIBUTING.md +0 -105
- package/doc/DEPLOYMENT.md +0 -122
- package/doc/FAQ.md +0 -81
- package/doc/FEATURES.md +0 -165
- package/doc/GETTING_STARTED.md +0 -108
- package/doc/INTRODUCTION.md +0 -60
- package/doc/PACKAGES.md +0 -66
- package/doc/PERFORMANCE.md +0 -91
- package/doc/ROADMAP.md +0 -93
- package/doc/SECURITY.md +0 -93
- package/doc/STRUCTURE.md +0 -90
- package/doc/TUTORIAL.md +0 -192
- package/docker-compose.yml +0 -24
- package/eslint.config.mjs +0 -26
- package/framework.md +0 -168
- package/nodemon.json +0 -6
- package/prisma.config.ts +0 -15
- package/src/controllers/authController.ts +0 -469
- package/src/controllers/petController.ts +0 -194
- package/src/controllers/rbacController.ts +0 -478
- package/src/models/core.prisma +0 -163
- package/src/models/pets.prisma +0 -9
- package/src/routes/auth.ts +0 -74
- package/src/routes/index.ts +0 -10
- package/src/routes/pets.ts +0 -13
- package/src/routes/rbac.ts +0 -42
- package/storage/logs/.gitkeep +0 -0
- package/tsconfig.json +0 -30
|
@@ -0,0 +1,1734 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../models";
|
|
3
|
+
import { type PrismaClient } from "./class";
|
|
4
|
+
export type * from '../models';
|
|
5
|
+
export type DMMF = typeof runtime.DMMF;
|
|
6
|
+
export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>;
|
|
7
|
+
/**
|
|
8
|
+
* Prisma Errors
|
|
9
|
+
*/
|
|
10
|
+
export declare const PrismaClientKnownRequestError: typeof runtime.PrismaClientKnownRequestError;
|
|
11
|
+
export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
12
|
+
export declare const PrismaClientUnknownRequestError: typeof runtime.PrismaClientUnknownRequestError;
|
|
13
|
+
export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
14
|
+
export declare const PrismaClientRustPanicError: typeof runtime.PrismaClientRustPanicError;
|
|
15
|
+
export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
16
|
+
export declare const PrismaClientInitializationError: typeof runtime.PrismaClientInitializationError;
|
|
17
|
+
export type PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
18
|
+
export declare const PrismaClientValidationError: typeof runtime.PrismaClientValidationError;
|
|
19
|
+
export type PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
20
|
+
/**
|
|
21
|
+
* Re-export of sql-template-tag
|
|
22
|
+
*/
|
|
23
|
+
export declare const sql: typeof runtime.sqltag;
|
|
24
|
+
export declare const empty: runtime.Sql;
|
|
25
|
+
export declare const join: typeof runtime.join;
|
|
26
|
+
export declare const raw: typeof runtime.raw;
|
|
27
|
+
export declare const Sql: typeof runtime.Sql;
|
|
28
|
+
export type Sql = runtime.Sql;
|
|
29
|
+
/**
|
|
30
|
+
* Decimal.js
|
|
31
|
+
*/
|
|
32
|
+
export declare const Decimal: typeof runtime.Decimal;
|
|
33
|
+
export type Decimal = runtime.Decimal;
|
|
34
|
+
export type DecimalJsLike = runtime.DecimalJsLike;
|
|
35
|
+
/**
|
|
36
|
+
* Extensions
|
|
37
|
+
*/
|
|
38
|
+
export type Extension = runtime.Types.Extensions.UserArgs;
|
|
39
|
+
export declare const getExtensionContext: typeof runtime.Extensions.getExtensionContext;
|
|
40
|
+
export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>;
|
|
41
|
+
export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>;
|
|
42
|
+
export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>;
|
|
43
|
+
export type Exact<A, W> = runtime.Types.Public.Exact<A, W>;
|
|
44
|
+
export type PrismaVersion = {
|
|
45
|
+
client: string;
|
|
46
|
+
engine: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Prisma Client JS version: 7.2.0
|
|
50
|
+
* Query Engine version: 0c8ef2ce45c83248ab3df073180d5eda9e8be7a3
|
|
51
|
+
*/
|
|
52
|
+
export declare const prismaVersion: PrismaVersion;
|
|
53
|
+
/**
|
|
54
|
+
* Utility Types
|
|
55
|
+
*/
|
|
56
|
+
export type Bytes = runtime.Bytes;
|
|
57
|
+
export type JsonObject = runtime.JsonObject;
|
|
58
|
+
export type JsonArray = runtime.JsonArray;
|
|
59
|
+
export type JsonValue = runtime.JsonValue;
|
|
60
|
+
export type InputJsonObject = runtime.InputJsonObject;
|
|
61
|
+
export type InputJsonArray = runtime.InputJsonArray;
|
|
62
|
+
export type InputJsonValue = runtime.InputJsonValue;
|
|
63
|
+
export declare const NullTypes: {
|
|
64
|
+
DbNull: (new (secret: never) => typeof runtime.DbNull);
|
|
65
|
+
JsonNull: (new (secret: never) => typeof runtime.JsonNull);
|
|
66
|
+
AnyNull: (new (secret: never) => typeof runtime.AnyNull);
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
70
|
+
*
|
|
71
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
72
|
+
*/
|
|
73
|
+
export declare const DbNull: runtime.DbNullClass;
|
|
74
|
+
/**
|
|
75
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
76
|
+
*
|
|
77
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
78
|
+
*/
|
|
79
|
+
export declare const JsonNull: runtime.JsonNullClass;
|
|
80
|
+
/**
|
|
81
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
82
|
+
*
|
|
83
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
84
|
+
*/
|
|
85
|
+
export declare const AnyNull: runtime.AnyNullClass;
|
|
86
|
+
type SelectAndInclude = {
|
|
87
|
+
select: any;
|
|
88
|
+
include: any;
|
|
89
|
+
};
|
|
90
|
+
type SelectAndOmit = {
|
|
91
|
+
select: any;
|
|
92
|
+
omit: any;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
96
|
+
*/
|
|
97
|
+
type Prisma__Pick<T, K extends keyof T> = {
|
|
98
|
+
[P in K]: T[P];
|
|
99
|
+
};
|
|
100
|
+
export type Enumerable<T> = T | Array<T>;
|
|
101
|
+
/**
|
|
102
|
+
* Subset
|
|
103
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
|
|
104
|
+
*/
|
|
105
|
+
export type Subset<T, U> = {
|
|
106
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* SelectSubset
|
|
110
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
|
|
111
|
+
* Additionally, it validates, if both select and include are present. If the case, it errors.
|
|
112
|
+
*/
|
|
113
|
+
export type SelectSubset<T, U> = {
|
|
114
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
115
|
+
} & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {});
|
|
116
|
+
/**
|
|
117
|
+
* Subset + Intersection
|
|
118
|
+
* @desc From `T` pick properties that exist in `U` and intersect `K`
|
|
119
|
+
*/
|
|
120
|
+
export type SubsetIntersection<T, U, K> = {
|
|
121
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
122
|
+
} & K;
|
|
123
|
+
type Without<T, U> = {
|
|
124
|
+
[P in Exclude<keyof T, keyof U>]?: never;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* XOR is needed to have a real mutually exclusive union type
|
|
128
|
+
* https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
|
|
129
|
+
*/
|
|
130
|
+
export type XOR<T, U> = T extends object ? U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : U : T;
|
|
131
|
+
/**
|
|
132
|
+
* Is T a Record?
|
|
133
|
+
*/
|
|
134
|
+
type IsObject<T extends any> = T extends Array<any> ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False;
|
|
135
|
+
/**
|
|
136
|
+
* If it's T[], return T
|
|
137
|
+
*/
|
|
138
|
+
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T;
|
|
139
|
+
/**
|
|
140
|
+
* From ts-toolbelt
|
|
141
|
+
*/
|
|
142
|
+
type __Either<O extends object, K extends Key> = Omit<O, K> & {
|
|
143
|
+
[P in K]: Prisma__Pick<O, P & keyof O>;
|
|
144
|
+
}[K];
|
|
145
|
+
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>;
|
|
146
|
+
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>;
|
|
147
|
+
type _Either<O extends object, K extends Key, strict extends Boolean> = {
|
|
148
|
+
1: EitherStrict<O, K>;
|
|
149
|
+
0: EitherLoose<O, K>;
|
|
150
|
+
}[strict];
|
|
151
|
+
export type Either<O extends object, K extends Key, strict extends Boolean = 1> = O extends unknown ? _Either<O, K, strict> : never;
|
|
152
|
+
export type Union = any;
|
|
153
|
+
export type PatchUndefined<O extends object, O1 extends object> = {
|
|
154
|
+
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K];
|
|
155
|
+
} & {};
|
|
156
|
+
/** Helper Types for "Merge" **/
|
|
157
|
+
export type IntersectOf<U extends Union> = (U extends unknown ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
158
|
+
export type Overwrite<O extends object, O1 extends object> = {
|
|
159
|
+
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
160
|
+
} & {};
|
|
161
|
+
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
162
|
+
[K in keyof U]-?: At<U, K>;
|
|
163
|
+
}>>;
|
|
164
|
+
type Key = string | number | symbol;
|
|
165
|
+
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
166
|
+
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
167
|
+
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
168
|
+
1: AtStrict<O, K>;
|
|
169
|
+
0: AtLoose<O, K>;
|
|
170
|
+
}[strict];
|
|
171
|
+
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
172
|
+
[K in keyof A]: A[K];
|
|
173
|
+
} & {};
|
|
174
|
+
export type OptionalFlat<O> = {
|
|
175
|
+
[K in keyof O]?: O[K];
|
|
176
|
+
} & {};
|
|
177
|
+
type _Record<K extends keyof any, T> = {
|
|
178
|
+
[P in K]: T;
|
|
179
|
+
};
|
|
180
|
+
type NoExpand<T> = T extends unknown ? T : never;
|
|
181
|
+
export type AtLeast<O extends object, K extends string> = NoExpand<O extends unknown ? (K extends keyof O ? {
|
|
182
|
+
[P in K]: O[P];
|
|
183
|
+
} & O : O) | {
|
|
184
|
+
[P in keyof O as P extends K ? P : never]-?: O[P];
|
|
185
|
+
} & O : never>;
|
|
186
|
+
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
187
|
+
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
188
|
+
/** End Helper Types for "Merge" **/
|
|
189
|
+
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
190
|
+
export type Boolean = True | False;
|
|
191
|
+
export type True = 1;
|
|
192
|
+
export type False = 0;
|
|
193
|
+
export type Not<B extends Boolean> = {
|
|
194
|
+
0: 1;
|
|
195
|
+
1: 0;
|
|
196
|
+
}[B];
|
|
197
|
+
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never] ? 0 : A1 extends A2 ? 1 : 0;
|
|
198
|
+
export type Has<U extends Union, U1 extends Union> = Not<Extends<Exclude<U1, U>, U1>>;
|
|
199
|
+
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
200
|
+
0: {
|
|
201
|
+
0: 0;
|
|
202
|
+
1: 1;
|
|
203
|
+
};
|
|
204
|
+
1: {
|
|
205
|
+
0: 1;
|
|
206
|
+
1: 1;
|
|
207
|
+
};
|
|
208
|
+
}[B1][B2];
|
|
209
|
+
export type Keys<U extends Union> = U extends unknown ? keyof U : never;
|
|
210
|
+
export type GetScalarType<T, O> = O extends object ? {
|
|
211
|
+
[P in keyof T]: P extends keyof O ? O[P] : never;
|
|
212
|
+
} : never;
|
|
213
|
+
type FieldPaths<T, U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>> = IsObject<T> extends True ? U : T;
|
|
214
|
+
export type GetHavingFields<T> = {
|
|
215
|
+
[K in keyof T]: Or<Or<Extends<'OR', K>, Extends<'AND', K>>, Extends<'NOT', K>> extends True ? T[K] extends infer TK ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never> : never : {} extends FieldPaths<T[K]> ? never : K;
|
|
216
|
+
}[keyof T];
|
|
217
|
+
/**
|
|
218
|
+
* Convert tuple to union
|
|
219
|
+
*/
|
|
220
|
+
type _TupleToUnion<T> = T extends (infer E)[] ? E : never;
|
|
221
|
+
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>;
|
|
222
|
+
export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T;
|
|
223
|
+
/**
|
|
224
|
+
* Like `Pick`, but additionally can also accept an array of keys
|
|
225
|
+
*/
|
|
226
|
+
export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>;
|
|
227
|
+
/**
|
|
228
|
+
* Exclude all keys with underscores
|
|
229
|
+
*/
|
|
230
|
+
export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T;
|
|
231
|
+
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
|
|
232
|
+
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>;
|
|
233
|
+
export declare const ModelName: {
|
|
234
|
+
readonly cache: "cache";
|
|
235
|
+
readonly cache_locks: "cache_locks";
|
|
236
|
+
readonly failed_jobs: "failed_jobs";
|
|
237
|
+
readonly job_batches: "job_batches";
|
|
238
|
+
readonly jobs: "jobs";
|
|
239
|
+
readonly migrations: "migrations";
|
|
240
|
+
readonly password_reset_tokens: "password_reset_tokens";
|
|
241
|
+
readonly personal_access_tokens: "personal_access_tokens";
|
|
242
|
+
readonly sessions: "sessions";
|
|
243
|
+
readonly users: "users";
|
|
244
|
+
readonly roles: "roles";
|
|
245
|
+
readonly permissions: "permissions";
|
|
246
|
+
readonly user_roles: "user_roles";
|
|
247
|
+
readonly role_permissions: "role_permissions";
|
|
248
|
+
readonly user_permissions: "user_permissions";
|
|
249
|
+
};
|
|
250
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName];
|
|
251
|
+
export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{
|
|
252
|
+
extArgs: runtime.Types.Extensions.InternalArgs;
|
|
253
|
+
}, runtime.Types.Utils.Record<string, any>> {
|
|
254
|
+
returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>;
|
|
255
|
+
}
|
|
256
|
+
export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
257
|
+
globalOmitOptions: {
|
|
258
|
+
omit: GlobalOmitOptions;
|
|
259
|
+
};
|
|
260
|
+
meta: {
|
|
261
|
+
modelProps: "cache" | "cache_locks" | "failed_jobs" | "job_batches" | "jobs" | "migrations" | "password_reset_tokens" | "personal_access_tokens" | "sessions" | "users" | "roles" | "permissions" | "user_roles" | "role_permissions" | "user_permissions";
|
|
262
|
+
txIsolationLevel: TransactionIsolationLevel;
|
|
263
|
+
};
|
|
264
|
+
model: {
|
|
265
|
+
cache: {
|
|
266
|
+
payload: Prisma.$cachePayload<ExtArgs>;
|
|
267
|
+
fields: Prisma.cacheFieldRefs;
|
|
268
|
+
operations: {
|
|
269
|
+
findUnique: {
|
|
270
|
+
args: Prisma.cacheFindUniqueArgs<ExtArgs>;
|
|
271
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload> | null;
|
|
272
|
+
};
|
|
273
|
+
findUniqueOrThrow: {
|
|
274
|
+
args: Prisma.cacheFindUniqueOrThrowArgs<ExtArgs>;
|
|
275
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
276
|
+
};
|
|
277
|
+
findFirst: {
|
|
278
|
+
args: Prisma.cacheFindFirstArgs<ExtArgs>;
|
|
279
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload> | null;
|
|
280
|
+
};
|
|
281
|
+
findFirstOrThrow: {
|
|
282
|
+
args: Prisma.cacheFindFirstOrThrowArgs<ExtArgs>;
|
|
283
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
284
|
+
};
|
|
285
|
+
findMany: {
|
|
286
|
+
args: Prisma.cacheFindManyArgs<ExtArgs>;
|
|
287
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>[];
|
|
288
|
+
};
|
|
289
|
+
create: {
|
|
290
|
+
args: Prisma.cacheCreateArgs<ExtArgs>;
|
|
291
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
292
|
+
};
|
|
293
|
+
createMany: {
|
|
294
|
+
args: Prisma.cacheCreateManyArgs<ExtArgs>;
|
|
295
|
+
result: BatchPayload;
|
|
296
|
+
};
|
|
297
|
+
createManyAndReturn: {
|
|
298
|
+
args: Prisma.cacheCreateManyAndReturnArgs<ExtArgs>;
|
|
299
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>[];
|
|
300
|
+
};
|
|
301
|
+
delete: {
|
|
302
|
+
args: Prisma.cacheDeleteArgs<ExtArgs>;
|
|
303
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
304
|
+
};
|
|
305
|
+
update: {
|
|
306
|
+
args: Prisma.cacheUpdateArgs<ExtArgs>;
|
|
307
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
308
|
+
};
|
|
309
|
+
deleteMany: {
|
|
310
|
+
args: Prisma.cacheDeleteManyArgs<ExtArgs>;
|
|
311
|
+
result: BatchPayload;
|
|
312
|
+
};
|
|
313
|
+
updateMany: {
|
|
314
|
+
args: Prisma.cacheUpdateManyArgs<ExtArgs>;
|
|
315
|
+
result: BatchPayload;
|
|
316
|
+
};
|
|
317
|
+
updateManyAndReturn: {
|
|
318
|
+
args: Prisma.cacheUpdateManyAndReturnArgs<ExtArgs>;
|
|
319
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>[];
|
|
320
|
+
};
|
|
321
|
+
upsert: {
|
|
322
|
+
args: Prisma.cacheUpsertArgs<ExtArgs>;
|
|
323
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cachePayload>;
|
|
324
|
+
};
|
|
325
|
+
aggregate: {
|
|
326
|
+
args: Prisma.CacheAggregateArgs<ExtArgs>;
|
|
327
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateCache>;
|
|
328
|
+
};
|
|
329
|
+
groupBy: {
|
|
330
|
+
args: Prisma.cacheGroupByArgs<ExtArgs>;
|
|
331
|
+
result: runtime.Types.Utils.Optional<Prisma.CacheGroupByOutputType>[];
|
|
332
|
+
};
|
|
333
|
+
count: {
|
|
334
|
+
args: Prisma.cacheCountArgs<ExtArgs>;
|
|
335
|
+
result: runtime.Types.Utils.Optional<Prisma.CacheCountAggregateOutputType> | number;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
cache_locks: {
|
|
340
|
+
payload: Prisma.$cache_locksPayload<ExtArgs>;
|
|
341
|
+
fields: Prisma.cache_locksFieldRefs;
|
|
342
|
+
operations: {
|
|
343
|
+
findUnique: {
|
|
344
|
+
args: Prisma.cache_locksFindUniqueArgs<ExtArgs>;
|
|
345
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload> | null;
|
|
346
|
+
};
|
|
347
|
+
findUniqueOrThrow: {
|
|
348
|
+
args: Prisma.cache_locksFindUniqueOrThrowArgs<ExtArgs>;
|
|
349
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
350
|
+
};
|
|
351
|
+
findFirst: {
|
|
352
|
+
args: Prisma.cache_locksFindFirstArgs<ExtArgs>;
|
|
353
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload> | null;
|
|
354
|
+
};
|
|
355
|
+
findFirstOrThrow: {
|
|
356
|
+
args: Prisma.cache_locksFindFirstOrThrowArgs<ExtArgs>;
|
|
357
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
358
|
+
};
|
|
359
|
+
findMany: {
|
|
360
|
+
args: Prisma.cache_locksFindManyArgs<ExtArgs>;
|
|
361
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>[];
|
|
362
|
+
};
|
|
363
|
+
create: {
|
|
364
|
+
args: Prisma.cache_locksCreateArgs<ExtArgs>;
|
|
365
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
366
|
+
};
|
|
367
|
+
createMany: {
|
|
368
|
+
args: Prisma.cache_locksCreateManyArgs<ExtArgs>;
|
|
369
|
+
result: BatchPayload;
|
|
370
|
+
};
|
|
371
|
+
createManyAndReturn: {
|
|
372
|
+
args: Prisma.cache_locksCreateManyAndReturnArgs<ExtArgs>;
|
|
373
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>[];
|
|
374
|
+
};
|
|
375
|
+
delete: {
|
|
376
|
+
args: Prisma.cache_locksDeleteArgs<ExtArgs>;
|
|
377
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
378
|
+
};
|
|
379
|
+
update: {
|
|
380
|
+
args: Prisma.cache_locksUpdateArgs<ExtArgs>;
|
|
381
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
382
|
+
};
|
|
383
|
+
deleteMany: {
|
|
384
|
+
args: Prisma.cache_locksDeleteManyArgs<ExtArgs>;
|
|
385
|
+
result: BatchPayload;
|
|
386
|
+
};
|
|
387
|
+
updateMany: {
|
|
388
|
+
args: Prisma.cache_locksUpdateManyArgs<ExtArgs>;
|
|
389
|
+
result: BatchPayload;
|
|
390
|
+
};
|
|
391
|
+
updateManyAndReturn: {
|
|
392
|
+
args: Prisma.cache_locksUpdateManyAndReturnArgs<ExtArgs>;
|
|
393
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>[];
|
|
394
|
+
};
|
|
395
|
+
upsert: {
|
|
396
|
+
args: Prisma.cache_locksUpsertArgs<ExtArgs>;
|
|
397
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$cache_locksPayload>;
|
|
398
|
+
};
|
|
399
|
+
aggregate: {
|
|
400
|
+
args: Prisma.Cache_locksAggregateArgs<ExtArgs>;
|
|
401
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateCache_locks>;
|
|
402
|
+
};
|
|
403
|
+
groupBy: {
|
|
404
|
+
args: Prisma.cache_locksGroupByArgs<ExtArgs>;
|
|
405
|
+
result: runtime.Types.Utils.Optional<Prisma.Cache_locksGroupByOutputType>[];
|
|
406
|
+
};
|
|
407
|
+
count: {
|
|
408
|
+
args: Prisma.cache_locksCountArgs<ExtArgs>;
|
|
409
|
+
result: runtime.Types.Utils.Optional<Prisma.Cache_locksCountAggregateOutputType> | number;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
failed_jobs: {
|
|
414
|
+
payload: Prisma.$failed_jobsPayload<ExtArgs>;
|
|
415
|
+
fields: Prisma.failed_jobsFieldRefs;
|
|
416
|
+
operations: {
|
|
417
|
+
findUnique: {
|
|
418
|
+
args: Prisma.failed_jobsFindUniqueArgs<ExtArgs>;
|
|
419
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload> | null;
|
|
420
|
+
};
|
|
421
|
+
findUniqueOrThrow: {
|
|
422
|
+
args: Prisma.failed_jobsFindUniqueOrThrowArgs<ExtArgs>;
|
|
423
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
424
|
+
};
|
|
425
|
+
findFirst: {
|
|
426
|
+
args: Prisma.failed_jobsFindFirstArgs<ExtArgs>;
|
|
427
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload> | null;
|
|
428
|
+
};
|
|
429
|
+
findFirstOrThrow: {
|
|
430
|
+
args: Prisma.failed_jobsFindFirstOrThrowArgs<ExtArgs>;
|
|
431
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
432
|
+
};
|
|
433
|
+
findMany: {
|
|
434
|
+
args: Prisma.failed_jobsFindManyArgs<ExtArgs>;
|
|
435
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>[];
|
|
436
|
+
};
|
|
437
|
+
create: {
|
|
438
|
+
args: Prisma.failed_jobsCreateArgs<ExtArgs>;
|
|
439
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
440
|
+
};
|
|
441
|
+
createMany: {
|
|
442
|
+
args: Prisma.failed_jobsCreateManyArgs<ExtArgs>;
|
|
443
|
+
result: BatchPayload;
|
|
444
|
+
};
|
|
445
|
+
createManyAndReturn: {
|
|
446
|
+
args: Prisma.failed_jobsCreateManyAndReturnArgs<ExtArgs>;
|
|
447
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>[];
|
|
448
|
+
};
|
|
449
|
+
delete: {
|
|
450
|
+
args: Prisma.failed_jobsDeleteArgs<ExtArgs>;
|
|
451
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
452
|
+
};
|
|
453
|
+
update: {
|
|
454
|
+
args: Prisma.failed_jobsUpdateArgs<ExtArgs>;
|
|
455
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
456
|
+
};
|
|
457
|
+
deleteMany: {
|
|
458
|
+
args: Prisma.failed_jobsDeleteManyArgs<ExtArgs>;
|
|
459
|
+
result: BatchPayload;
|
|
460
|
+
};
|
|
461
|
+
updateMany: {
|
|
462
|
+
args: Prisma.failed_jobsUpdateManyArgs<ExtArgs>;
|
|
463
|
+
result: BatchPayload;
|
|
464
|
+
};
|
|
465
|
+
updateManyAndReturn: {
|
|
466
|
+
args: Prisma.failed_jobsUpdateManyAndReturnArgs<ExtArgs>;
|
|
467
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>[];
|
|
468
|
+
};
|
|
469
|
+
upsert: {
|
|
470
|
+
args: Prisma.failed_jobsUpsertArgs<ExtArgs>;
|
|
471
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$failed_jobsPayload>;
|
|
472
|
+
};
|
|
473
|
+
aggregate: {
|
|
474
|
+
args: Prisma.Failed_jobsAggregateArgs<ExtArgs>;
|
|
475
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateFailed_jobs>;
|
|
476
|
+
};
|
|
477
|
+
groupBy: {
|
|
478
|
+
args: Prisma.failed_jobsGroupByArgs<ExtArgs>;
|
|
479
|
+
result: runtime.Types.Utils.Optional<Prisma.Failed_jobsGroupByOutputType>[];
|
|
480
|
+
};
|
|
481
|
+
count: {
|
|
482
|
+
args: Prisma.failed_jobsCountArgs<ExtArgs>;
|
|
483
|
+
result: runtime.Types.Utils.Optional<Prisma.Failed_jobsCountAggregateOutputType> | number;
|
|
484
|
+
};
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
job_batches: {
|
|
488
|
+
payload: Prisma.$job_batchesPayload<ExtArgs>;
|
|
489
|
+
fields: Prisma.job_batchesFieldRefs;
|
|
490
|
+
operations: {
|
|
491
|
+
findUnique: {
|
|
492
|
+
args: Prisma.job_batchesFindUniqueArgs<ExtArgs>;
|
|
493
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload> | null;
|
|
494
|
+
};
|
|
495
|
+
findUniqueOrThrow: {
|
|
496
|
+
args: Prisma.job_batchesFindUniqueOrThrowArgs<ExtArgs>;
|
|
497
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
498
|
+
};
|
|
499
|
+
findFirst: {
|
|
500
|
+
args: Prisma.job_batchesFindFirstArgs<ExtArgs>;
|
|
501
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload> | null;
|
|
502
|
+
};
|
|
503
|
+
findFirstOrThrow: {
|
|
504
|
+
args: Prisma.job_batchesFindFirstOrThrowArgs<ExtArgs>;
|
|
505
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
506
|
+
};
|
|
507
|
+
findMany: {
|
|
508
|
+
args: Prisma.job_batchesFindManyArgs<ExtArgs>;
|
|
509
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>[];
|
|
510
|
+
};
|
|
511
|
+
create: {
|
|
512
|
+
args: Prisma.job_batchesCreateArgs<ExtArgs>;
|
|
513
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
514
|
+
};
|
|
515
|
+
createMany: {
|
|
516
|
+
args: Prisma.job_batchesCreateManyArgs<ExtArgs>;
|
|
517
|
+
result: BatchPayload;
|
|
518
|
+
};
|
|
519
|
+
createManyAndReturn: {
|
|
520
|
+
args: Prisma.job_batchesCreateManyAndReturnArgs<ExtArgs>;
|
|
521
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>[];
|
|
522
|
+
};
|
|
523
|
+
delete: {
|
|
524
|
+
args: Prisma.job_batchesDeleteArgs<ExtArgs>;
|
|
525
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
526
|
+
};
|
|
527
|
+
update: {
|
|
528
|
+
args: Prisma.job_batchesUpdateArgs<ExtArgs>;
|
|
529
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
530
|
+
};
|
|
531
|
+
deleteMany: {
|
|
532
|
+
args: Prisma.job_batchesDeleteManyArgs<ExtArgs>;
|
|
533
|
+
result: BatchPayload;
|
|
534
|
+
};
|
|
535
|
+
updateMany: {
|
|
536
|
+
args: Prisma.job_batchesUpdateManyArgs<ExtArgs>;
|
|
537
|
+
result: BatchPayload;
|
|
538
|
+
};
|
|
539
|
+
updateManyAndReturn: {
|
|
540
|
+
args: Prisma.job_batchesUpdateManyAndReturnArgs<ExtArgs>;
|
|
541
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>[];
|
|
542
|
+
};
|
|
543
|
+
upsert: {
|
|
544
|
+
args: Prisma.job_batchesUpsertArgs<ExtArgs>;
|
|
545
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$job_batchesPayload>;
|
|
546
|
+
};
|
|
547
|
+
aggregate: {
|
|
548
|
+
args: Prisma.Job_batchesAggregateArgs<ExtArgs>;
|
|
549
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateJob_batches>;
|
|
550
|
+
};
|
|
551
|
+
groupBy: {
|
|
552
|
+
args: Prisma.job_batchesGroupByArgs<ExtArgs>;
|
|
553
|
+
result: runtime.Types.Utils.Optional<Prisma.Job_batchesGroupByOutputType>[];
|
|
554
|
+
};
|
|
555
|
+
count: {
|
|
556
|
+
args: Prisma.job_batchesCountArgs<ExtArgs>;
|
|
557
|
+
result: runtime.Types.Utils.Optional<Prisma.Job_batchesCountAggregateOutputType> | number;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
560
|
+
};
|
|
561
|
+
jobs: {
|
|
562
|
+
payload: Prisma.$jobsPayload<ExtArgs>;
|
|
563
|
+
fields: Prisma.jobsFieldRefs;
|
|
564
|
+
operations: {
|
|
565
|
+
findUnique: {
|
|
566
|
+
args: Prisma.jobsFindUniqueArgs<ExtArgs>;
|
|
567
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload> | null;
|
|
568
|
+
};
|
|
569
|
+
findUniqueOrThrow: {
|
|
570
|
+
args: Prisma.jobsFindUniqueOrThrowArgs<ExtArgs>;
|
|
571
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
572
|
+
};
|
|
573
|
+
findFirst: {
|
|
574
|
+
args: Prisma.jobsFindFirstArgs<ExtArgs>;
|
|
575
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload> | null;
|
|
576
|
+
};
|
|
577
|
+
findFirstOrThrow: {
|
|
578
|
+
args: Prisma.jobsFindFirstOrThrowArgs<ExtArgs>;
|
|
579
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
580
|
+
};
|
|
581
|
+
findMany: {
|
|
582
|
+
args: Prisma.jobsFindManyArgs<ExtArgs>;
|
|
583
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>[];
|
|
584
|
+
};
|
|
585
|
+
create: {
|
|
586
|
+
args: Prisma.jobsCreateArgs<ExtArgs>;
|
|
587
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
588
|
+
};
|
|
589
|
+
createMany: {
|
|
590
|
+
args: Prisma.jobsCreateManyArgs<ExtArgs>;
|
|
591
|
+
result: BatchPayload;
|
|
592
|
+
};
|
|
593
|
+
createManyAndReturn: {
|
|
594
|
+
args: Prisma.jobsCreateManyAndReturnArgs<ExtArgs>;
|
|
595
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>[];
|
|
596
|
+
};
|
|
597
|
+
delete: {
|
|
598
|
+
args: Prisma.jobsDeleteArgs<ExtArgs>;
|
|
599
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
600
|
+
};
|
|
601
|
+
update: {
|
|
602
|
+
args: Prisma.jobsUpdateArgs<ExtArgs>;
|
|
603
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
604
|
+
};
|
|
605
|
+
deleteMany: {
|
|
606
|
+
args: Prisma.jobsDeleteManyArgs<ExtArgs>;
|
|
607
|
+
result: BatchPayload;
|
|
608
|
+
};
|
|
609
|
+
updateMany: {
|
|
610
|
+
args: Prisma.jobsUpdateManyArgs<ExtArgs>;
|
|
611
|
+
result: BatchPayload;
|
|
612
|
+
};
|
|
613
|
+
updateManyAndReturn: {
|
|
614
|
+
args: Prisma.jobsUpdateManyAndReturnArgs<ExtArgs>;
|
|
615
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>[];
|
|
616
|
+
};
|
|
617
|
+
upsert: {
|
|
618
|
+
args: Prisma.jobsUpsertArgs<ExtArgs>;
|
|
619
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$jobsPayload>;
|
|
620
|
+
};
|
|
621
|
+
aggregate: {
|
|
622
|
+
args: Prisma.JobsAggregateArgs<ExtArgs>;
|
|
623
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateJobs>;
|
|
624
|
+
};
|
|
625
|
+
groupBy: {
|
|
626
|
+
args: Prisma.jobsGroupByArgs<ExtArgs>;
|
|
627
|
+
result: runtime.Types.Utils.Optional<Prisma.JobsGroupByOutputType>[];
|
|
628
|
+
};
|
|
629
|
+
count: {
|
|
630
|
+
args: Prisma.jobsCountArgs<ExtArgs>;
|
|
631
|
+
result: runtime.Types.Utils.Optional<Prisma.JobsCountAggregateOutputType> | number;
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
migrations: {
|
|
636
|
+
payload: Prisma.$migrationsPayload<ExtArgs>;
|
|
637
|
+
fields: Prisma.migrationsFieldRefs;
|
|
638
|
+
operations: {
|
|
639
|
+
findUnique: {
|
|
640
|
+
args: Prisma.migrationsFindUniqueArgs<ExtArgs>;
|
|
641
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload> | null;
|
|
642
|
+
};
|
|
643
|
+
findUniqueOrThrow: {
|
|
644
|
+
args: Prisma.migrationsFindUniqueOrThrowArgs<ExtArgs>;
|
|
645
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
646
|
+
};
|
|
647
|
+
findFirst: {
|
|
648
|
+
args: Prisma.migrationsFindFirstArgs<ExtArgs>;
|
|
649
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload> | null;
|
|
650
|
+
};
|
|
651
|
+
findFirstOrThrow: {
|
|
652
|
+
args: Prisma.migrationsFindFirstOrThrowArgs<ExtArgs>;
|
|
653
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
654
|
+
};
|
|
655
|
+
findMany: {
|
|
656
|
+
args: Prisma.migrationsFindManyArgs<ExtArgs>;
|
|
657
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>[];
|
|
658
|
+
};
|
|
659
|
+
create: {
|
|
660
|
+
args: Prisma.migrationsCreateArgs<ExtArgs>;
|
|
661
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
662
|
+
};
|
|
663
|
+
createMany: {
|
|
664
|
+
args: Prisma.migrationsCreateManyArgs<ExtArgs>;
|
|
665
|
+
result: BatchPayload;
|
|
666
|
+
};
|
|
667
|
+
createManyAndReturn: {
|
|
668
|
+
args: Prisma.migrationsCreateManyAndReturnArgs<ExtArgs>;
|
|
669
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>[];
|
|
670
|
+
};
|
|
671
|
+
delete: {
|
|
672
|
+
args: Prisma.migrationsDeleteArgs<ExtArgs>;
|
|
673
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
674
|
+
};
|
|
675
|
+
update: {
|
|
676
|
+
args: Prisma.migrationsUpdateArgs<ExtArgs>;
|
|
677
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
678
|
+
};
|
|
679
|
+
deleteMany: {
|
|
680
|
+
args: Prisma.migrationsDeleteManyArgs<ExtArgs>;
|
|
681
|
+
result: BatchPayload;
|
|
682
|
+
};
|
|
683
|
+
updateMany: {
|
|
684
|
+
args: Prisma.migrationsUpdateManyArgs<ExtArgs>;
|
|
685
|
+
result: BatchPayload;
|
|
686
|
+
};
|
|
687
|
+
updateManyAndReturn: {
|
|
688
|
+
args: Prisma.migrationsUpdateManyAndReturnArgs<ExtArgs>;
|
|
689
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>[];
|
|
690
|
+
};
|
|
691
|
+
upsert: {
|
|
692
|
+
args: Prisma.migrationsUpsertArgs<ExtArgs>;
|
|
693
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$migrationsPayload>;
|
|
694
|
+
};
|
|
695
|
+
aggregate: {
|
|
696
|
+
args: Prisma.MigrationsAggregateArgs<ExtArgs>;
|
|
697
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateMigrations>;
|
|
698
|
+
};
|
|
699
|
+
groupBy: {
|
|
700
|
+
args: Prisma.migrationsGroupByArgs<ExtArgs>;
|
|
701
|
+
result: runtime.Types.Utils.Optional<Prisma.MigrationsGroupByOutputType>[];
|
|
702
|
+
};
|
|
703
|
+
count: {
|
|
704
|
+
args: Prisma.migrationsCountArgs<ExtArgs>;
|
|
705
|
+
result: runtime.Types.Utils.Optional<Prisma.MigrationsCountAggregateOutputType> | number;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
password_reset_tokens: {
|
|
710
|
+
payload: Prisma.$password_reset_tokensPayload<ExtArgs>;
|
|
711
|
+
fields: Prisma.password_reset_tokensFieldRefs;
|
|
712
|
+
operations: {
|
|
713
|
+
findUnique: {
|
|
714
|
+
args: Prisma.password_reset_tokensFindUniqueArgs<ExtArgs>;
|
|
715
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload> | null;
|
|
716
|
+
};
|
|
717
|
+
findUniqueOrThrow: {
|
|
718
|
+
args: Prisma.password_reset_tokensFindUniqueOrThrowArgs<ExtArgs>;
|
|
719
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
720
|
+
};
|
|
721
|
+
findFirst: {
|
|
722
|
+
args: Prisma.password_reset_tokensFindFirstArgs<ExtArgs>;
|
|
723
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload> | null;
|
|
724
|
+
};
|
|
725
|
+
findFirstOrThrow: {
|
|
726
|
+
args: Prisma.password_reset_tokensFindFirstOrThrowArgs<ExtArgs>;
|
|
727
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
728
|
+
};
|
|
729
|
+
findMany: {
|
|
730
|
+
args: Prisma.password_reset_tokensFindManyArgs<ExtArgs>;
|
|
731
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>[];
|
|
732
|
+
};
|
|
733
|
+
create: {
|
|
734
|
+
args: Prisma.password_reset_tokensCreateArgs<ExtArgs>;
|
|
735
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
736
|
+
};
|
|
737
|
+
createMany: {
|
|
738
|
+
args: Prisma.password_reset_tokensCreateManyArgs<ExtArgs>;
|
|
739
|
+
result: BatchPayload;
|
|
740
|
+
};
|
|
741
|
+
createManyAndReturn: {
|
|
742
|
+
args: Prisma.password_reset_tokensCreateManyAndReturnArgs<ExtArgs>;
|
|
743
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>[];
|
|
744
|
+
};
|
|
745
|
+
delete: {
|
|
746
|
+
args: Prisma.password_reset_tokensDeleteArgs<ExtArgs>;
|
|
747
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
748
|
+
};
|
|
749
|
+
update: {
|
|
750
|
+
args: Prisma.password_reset_tokensUpdateArgs<ExtArgs>;
|
|
751
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
752
|
+
};
|
|
753
|
+
deleteMany: {
|
|
754
|
+
args: Prisma.password_reset_tokensDeleteManyArgs<ExtArgs>;
|
|
755
|
+
result: BatchPayload;
|
|
756
|
+
};
|
|
757
|
+
updateMany: {
|
|
758
|
+
args: Prisma.password_reset_tokensUpdateManyArgs<ExtArgs>;
|
|
759
|
+
result: BatchPayload;
|
|
760
|
+
};
|
|
761
|
+
updateManyAndReturn: {
|
|
762
|
+
args: Prisma.password_reset_tokensUpdateManyAndReturnArgs<ExtArgs>;
|
|
763
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>[];
|
|
764
|
+
};
|
|
765
|
+
upsert: {
|
|
766
|
+
args: Prisma.password_reset_tokensUpsertArgs<ExtArgs>;
|
|
767
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$password_reset_tokensPayload>;
|
|
768
|
+
};
|
|
769
|
+
aggregate: {
|
|
770
|
+
args: Prisma.Password_reset_tokensAggregateArgs<ExtArgs>;
|
|
771
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePassword_reset_tokens>;
|
|
772
|
+
};
|
|
773
|
+
groupBy: {
|
|
774
|
+
args: Prisma.password_reset_tokensGroupByArgs<ExtArgs>;
|
|
775
|
+
result: runtime.Types.Utils.Optional<Prisma.Password_reset_tokensGroupByOutputType>[];
|
|
776
|
+
};
|
|
777
|
+
count: {
|
|
778
|
+
args: Prisma.password_reset_tokensCountArgs<ExtArgs>;
|
|
779
|
+
result: runtime.Types.Utils.Optional<Prisma.Password_reset_tokensCountAggregateOutputType> | number;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
personal_access_tokens: {
|
|
784
|
+
payload: Prisma.$personal_access_tokensPayload<ExtArgs>;
|
|
785
|
+
fields: Prisma.personal_access_tokensFieldRefs;
|
|
786
|
+
operations: {
|
|
787
|
+
findUnique: {
|
|
788
|
+
args: Prisma.personal_access_tokensFindUniqueArgs<ExtArgs>;
|
|
789
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload> | null;
|
|
790
|
+
};
|
|
791
|
+
findUniqueOrThrow: {
|
|
792
|
+
args: Prisma.personal_access_tokensFindUniqueOrThrowArgs<ExtArgs>;
|
|
793
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
794
|
+
};
|
|
795
|
+
findFirst: {
|
|
796
|
+
args: Prisma.personal_access_tokensFindFirstArgs<ExtArgs>;
|
|
797
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload> | null;
|
|
798
|
+
};
|
|
799
|
+
findFirstOrThrow: {
|
|
800
|
+
args: Prisma.personal_access_tokensFindFirstOrThrowArgs<ExtArgs>;
|
|
801
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
802
|
+
};
|
|
803
|
+
findMany: {
|
|
804
|
+
args: Prisma.personal_access_tokensFindManyArgs<ExtArgs>;
|
|
805
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>[];
|
|
806
|
+
};
|
|
807
|
+
create: {
|
|
808
|
+
args: Prisma.personal_access_tokensCreateArgs<ExtArgs>;
|
|
809
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
810
|
+
};
|
|
811
|
+
createMany: {
|
|
812
|
+
args: Prisma.personal_access_tokensCreateManyArgs<ExtArgs>;
|
|
813
|
+
result: BatchPayload;
|
|
814
|
+
};
|
|
815
|
+
createManyAndReturn: {
|
|
816
|
+
args: Prisma.personal_access_tokensCreateManyAndReturnArgs<ExtArgs>;
|
|
817
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>[];
|
|
818
|
+
};
|
|
819
|
+
delete: {
|
|
820
|
+
args: Prisma.personal_access_tokensDeleteArgs<ExtArgs>;
|
|
821
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
822
|
+
};
|
|
823
|
+
update: {
|
|
824
|
+
args: Prisma.personal_access_tokensUpdateArgs<ExtArgs>;
|
|
825
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
826
|
+
};
|
|
827
|
+
deleteMany: {
|
|
828
|
+
args: Prisma.personal_access_tokensDeleteManyArgs<ExtArgs>;
|
|
829
|
+
result: BatchPayload;
|
|
830
|
+
};
|
|
831
|
+
updateMany: {
|
|
832
|
+
args: Prisma.personal_access_tokensUpdateManyArgs<ExtArgs>;
|
|
833
|
+
result: BatchPayload;
|
|
834
|
+
};
|
|
835
|
+
updateManyAndReturn: {
|
|
836
|
+
args: Prisma.personal_access_tokensUpdateManyAndReturnArgs<ExtArgs>;
|
|
837
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>[];
|
|
838
|
+
};
|
|
839
|
+
upsert: {
|
|
840
|
+
args: Prisma.personal_access_tokensUpsertArgs<ExtArgs>;
|
|
841
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$personal_access_tokensPayload>;
|
|
842
|
+
};
|
|
843
|
+
aggregate: {
|
|
844
|
+
args: Prisma.Personal_access_tokensAggregateArgs<ExtArgs>;
|
|
845
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePersonal_access_tokens>;
|
|
846
|
+
};
|
|
847
|
+
groupBy: {
|
|
848
|
+
args: Prisma.personal_access_tokensGroupByArgs<ExtArgs>;
|
|
849
|
+
result: runtime.Types.Utils.Optional<Prisma.Personal_access_tokensGroupByOutputType>[];
|
|
850
|
+
};
|
|
851
|
+
count: {
|
|
852
|
+
args: Prisma.personal_access_tokensCountArgs<ExtArgs>;
|
|
853
|
+
result: runtime.Types.Utils.Optional<Prisma.Personal_access_tokensCountAggregateOutputType> | number;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
sessions: {
|
|
858
|
+
payload: Prisma.$sessionsPayload<ExtArgs>;
|
|
859
|
+
fields: Prisma.sessionsFieldRefs;
|
|
860
|
+
operations: {
|
|
861
|
+
findUnique: {
|
|
862
|
+
args: Prisma.sessionsFindUniqueArgs<ExtArgs>;
|
|
863
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload> | null;
|
|
864
|
+
};
|
|
865
|
+
findUniqueOrThrow: {
|
|
866
|
+
args: Prisma.sessionsFindUniqueOrThrowArgs<ExtArgs>;
|
|
867
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
868
|
+
};
|
|
869
|
+
findFirst: {
|
|
870
|
+
args: Prisma.sessionsFindFirstArgs<ExtArgs>;
|
|
871
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload> | null;
|
|
872
|
+
};
|
|
873
|
+
findFirstOrThrow: {
|
|
874
|
+
args: Prisma.sessionsFindFirstOrThrowArgs<ExtArgs>;
|
|
875
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
876
|
+
};
|
|
877
|
+
findMany: {
|
|
878
|
+
args: Prisma.sessionsFindManyArgs<ExtArgs>;
|
|
879
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>[];
|
|
880
|
+
};
|
|
881
|
+
create: {
|
|
882
|
+
args: Prisma.sessionsCreateArgs<ExtArgs>;
|
|
883
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
884
|
+
};
|
|
885
|
+
createMany: {
|
|
886
|
+
args: Prisma.sessionsCreateManyArgs<ExtArgs>;
|
|
887
|
+
result: BatchPayload;
|
|
888
|
+
};
|
|
889
|
+
createManyAndReturn: {
|
|
890
|
+
args: Prisma.sessionsCreateManyAndReturnArgs<ExtArgs>;
|
|
891
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>[];
|
|
892
|
+
};
|
|
893
|
+
delete: {
|
|
894
|
+
args: Prisma.sessionsDeleteArgs<ExtArgs>;
|
|
895
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
896
|
+
};
|
|
897
|
+
update: {
|
|
898
|
+
args: Prisma.sessionsUpdateArgs<ExtArgs>;
|
|
899
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
900
|
+
};
|
|
901
|
+
deleteMany: {
|
|
902
|
+
args: Prisma.sessionsDeleteManyArgs<ExtArgs>;
|
|
903
|
+
result: BatchPayload;
|
|
904
|
+
};
|
|
905
|
+
updateMany: {
|
|
906
|
+
args: Prisma.sessionsUpdateManyArgs<ExtArgs>;
|
|
907
|
+
result: BatchPayload;
|
|
908
|
+
};
|
|
909
|
+
updateManyAndReturn: {
|
|
910
|
+
args: Prisma.sessionsUpdateManyAndReturnArgs<ExtArgs>;
|
|
911
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>[];
|
|
912
|
+
};
|
|
913
|
+
upsert: {
|
|
914
|
+
args: Prisma.sessionsUpsertArgs<ExtArgs>;
|
|
915
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$sessionsPayload>;
|
|
916
|
+
};
|
|
917
|
+
aggregate: {
|
|
918
|
+
args: Prisma.SessionsAggregateArgs<ExtArgs>;
|
|
919
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateSessions>;
|
|
920
|
+
};
|
|
921
|
+
groupBy: {
|
|
922
|
+
args: Prisma.sessionsGroupByArgs<ExtArgs>;
|
|
923
|
+
result: runtime.Types.Utils.Optional<Prisma.SessionsGroupByOutputType>[];
|
|
924
|
+
};
|
|
925
|
+
count: {
|
|
926
|
+
args: Prisma.sessionsCountArgs<ExtArgs>;
|
|
927
|
+
result: runtime.Types.Utils.Optional<Prisma.SessionsCountAggregateOutputType> | number;
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
users: {
|
|
932
|
+
payload: Prisma.$usersPayload<ExtArgs>;
|
|
933
|
+
fields: Prisma.usersFieldRefs;
|
|
934
|
+
operations: {
|
|
935
|
+
findUnique: {
|
|
936
|
+
args: Prisma.usersFindUniqueArgs<ExtArgs>;
|
|
937
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload> | null;
|
|
938
|
+
};
|
|
939
|
+
findUniqueOrThrow: {
|
|
940
|
+
args: Prisma.usersFindUniqueOrThrowArgs<ExtArgs>;
|
|
941
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
942
|
+
};
|
|
943
|
+
findFirst: {
|
|
944
|
+
args: Prisma.usersFindFirstArgs<ExtArgs>;
|
|
945
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload> | null;
|
|
946
|
+
};
|
|
947
|
+
findFirstOrThrow: {
|
|
948
|
+
args: Prisma.usersFindFirstOrThrowArgs<ExtArgs>;
|
|
949
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
950
|
+
};
|
|
951
|
+
findMany: {
|
|
952
|
+
args: Prisma.usersFindManyArgs<ExtArgs>;
|
|
953
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>[];
|
|
954
|
+
};
|
|
955
|
+
create: {
|
|
956
|
+
args: Prisma.usersCreateArgs<ExtArgs>;
|
|
957
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
958
|
+
};
|
|
959
|
+
createMany: {
|
|
960
|
+
args: Prisma.usersCreateManyArgs<ExtArgs>;
|
|
961
|
+
result: BatchPayload;
|
|
962
|
+
};
|
|
963
|
+
createManyAndReturn: {
|
|
964
|
+
args: Prisma.usersCreateManyAndReturnArgs<ExtArgs>;
|
|
965
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>[];
|
|
966
|
+
};
|
|
967
|
+
delete: {
|
|
968
|
+
args: Prisma.usersDeleteArgs<ExtArgs>;
|
|
969
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
970
|
+
};
|
|
971
|
+
update: {
|
|
972
|
+
args: Prisma.usersUpdateArgs<ExtArgs>;
|
|
973
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
974
|
+
};
|
|
975
|
+
deleteMany: {
|
|
976
|
+
args: Prisma.usersDeleteManyArgs<ExtArgs>;
|
|
977
|
+
result: BatchPayload;
|
|
978
|
+
};
|
|
979
|
+
updateMany: {
|
|
980
|
+
args: Prisma.usersUpdateManyArgs<ExtArgs>;
|
|
981
|
+
result: BatchPayload;
|
|
982
|
+
};
|
|
983
|
+
updateManyAndReturn: {
|
|
984
|
+
args: Prisma.usersUpdateManyAndReturnArgs<ExtArgs>;
|
|
985
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>[];
|
|
986
|
+
};
|
|
987
|
+
upsert: {
|
|
988
|
+
args: Prisma.usersUpsertArgs<ExtArgs>;
|
|
989
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$usersPayload>;
|
|
990
|
+
};
|
|
991
|
+
aggregate: {
|
|
992
|
+
args: Prisma.UsersAggregateArgs<ExtArgs>;
|
|
993
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateUsers>;
|
|
994
|
+
};
|
|
995
|
+
groupBy: {
|
|
996
|
+
args: Prisma.usersGroupByArgs<ExtArgs>;
|
|
997
|
+
result: runtime.Types.Utils.Optional<Prisma.UsersGroupByOutputType>[];
|
|
998
|
+
};
|
|
999
|
+
count: {
|
|
1000
|
+
args: Prisma.usersCountArgs<ExtArgs>;
|
|
1001
|
+
result: runtime.Types.Utils.Optional<Prisma.UsersCountAggregateOutputType> | number;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
roles: {
|
|
1006
|
+
payload: Prisma.$rolesPayload<ExtArgs>;
|
|
1007
|
+
fields: Prisma.rolesFieldRefs;
|
|
1008
|
+
operations: {
|
|
1009
|
+
findUnique: {
|
|
1010
|
+
args: Prisma.rolesFindUniqueArgs<ExtArgs>;
|
|
1011
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload> | null;
|
|
1012
|
+
};
|
|
1013
|
+
findUniqueOrThrow: {
|
|
1014
|
+
args: Prisma.rolesFindUniqueOrThrowArgs<ExtArgs>;
|
|
1015
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1016
|
+
};
|
|
1017
|
+
findFirst: {
|
|
1018
|
+
args: Prisma.rolesFindFirstArgs<ExtArgs>;
|
|
1019
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload> | null;
|
|
1020
|
+
};
|
|
1021
|
+
findFirstOrThrow: {
|
|
1022
|
+
args: Prisma.rolesFindFirstOrThrowArgs<ExtArgs>;
|
|
1023
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1024
|
+
};
|
|
1025
|
+
findMany: {
|
|
1026
|
+
args: Prisma.rolesFindManyArgs<ExtArgs>;
|
|
1027
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>[];
|
|
1028
|
+
};
|
|
1029
|
+
create: {
|
|
1030
|
+
args: Prisma.rolesCreateArgs<ExtArgs>;
|
|
1031
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1032
|
+
};
|
|
1033
|
+
createMany: {
|
|
1034
|
+
args: Prisma.rolesCreateManyArgs<ExtArgs>;
|
|
1035
|
+
result: BatchPayload;
|
|
1036
|
+
};
|
|
1037
|
+
createManyAndReturn: {
|
|
1038
|
+
args: Prisma.rolesCreateManyAndReturnArgs<ExtArgs>;
|
|
1039
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>[];
|
|
1040
|
+
};
|
|
1041
|
+
delete: {
|
|
1042
|
+
args: Prisma.rolesDeleteArgs<ExtArgs>;
|
|
1043
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1044
|
+
};
|
|
1045
|
+
update: {
|
|
1046
|
+
args: Prisma.rolesUpdateArgs<ExtArgs>;
|
|
1047
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1048
|
+
};
|
|
1049
|
+
deleteMany: {
|
|
1050
|
+
args: Prisma.rolesDeleteManyArgs<ExtArgs>;
|
|
1051
|
+
result: BatchPayload;
|
|
1052
|
+
};
|
|
1053
|
+
updateMany: {
|
|
1054
|
+
args: Prisma.rolesUpdateManyArgs<ExtArgs>;
|
|
1055
|
+
result: BatchPayload;
|
|
1056
|
+
};
|
|
1057
|
+
updateManyAndReturn: {
|
|
1058
|
+
args: Prisma.rolesUpdateManyAndReturnArgs<ExtArgs>;
|
|
1059
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>[];
|
|
1060
|
+
};
|
|
1061
|
+
upsert: {
|
|
1062
|
+
args: Prisma.rolesUpsertArgs<ExtArgs>;
|
|
1063
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$rolesPayload>;
|
|
1064
|
+
};
|
|
1065
|
+
aggregate: {
|
|
1066
|
+
args: Prisma.RolesAggregateArgs<ExtArgs>;
|
|
1067
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateRoles>;
|
|
1068
|
+
};
|
|
1069
|
+
groupBy: {
|
|
1070
|
+
args: Prisma.rolesGroupByArgs<ExtArgs>;
|
|
1071
|
+
result: runtime.Types.Utils.Optional<Prisma.RolesGroupByOutputType>[];
|
|
1072
|
+
};
|
|
1073
|
+
count: {
|
|
1074
|
+
args: Prisma.rolesCountArgs<ExtArgs>;
|
|
1075
|
+
result: runtime.Types.Utils.Optional<Prisma.RolesCountAggregateOutputType> | number;
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
};
|
|
1079
|
+
permissions: {
|
|
1080
|
+
payload: Prisma.$permissionsPayload<ExtArgs>;
|
|
1081
|
+
fields: Prisma.permissionsFieldRefs;
|
|
1082
|
+
operations: {
|
|
1083
|
+
findUnique: {
|
|
1084
|
+
args: Prisma.permissionsFindUniqueArgs<ExtArgs>;
|
|
1085
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload> | null;
|
|
1086
|
+
};
|
|
1087
|
+
findUniqueOrThrow: {
|
|
1088
|
+
args: Prisma.permissionsFindUniqueOrThrowArgs<ExtArgs>;
|
|
1089
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1090
|
+
};
|
|
1091
|
+
findFirst: {
|
|
1092
|
+
args: Prisma.permissionsFindFirstArgs<ExtArgs>;
|
|
1093
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload> | null;
|
|
1094
|
+
};
|
|
1095
|
+
findFirstOrThrow: {
|
|
1096
|
+
args: Prisma.permissionsFindFirstOrThrowArgs<ExtArgs>;
|
|
1097
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1098
|
+
};
|
|
1099
|
+
findMany: {
|
|
1100
|
+
args: Prisma.permissionsFindManyArgs<ExtArgs>;
|
|
1101
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>[];
|
|
1102
|
+
};
|
|
1103
|
+
create: {
|
|
1104
|
+
args: Prisma.permissionsCreateArgs<ExtArgs>;
|
|
1105
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1106
|
+
};
|
|
1107
|
+
createMany: {
|
|
1108
|
+
args: Prisma.permissionsCreateManyArgs<ExtArgs>;
|
|
1109
|
+
result: BatchPayload;
|
|
1110
|
+
};
|
|
1111
|
+
createManyAndReturn: {
|
|
1112
|
+
args: Prisma.permissionsCreateManyAndReturnArgs<ExtArgs>;
|
|
1113
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>[];
|
|
1114
|
+
};
|
|
1115
|
+
delete: {
|
|
1116
|
+
args: Prisma.permissionsDeleteArgs<ExtArgs>;
|
|
1117
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1118
|
+
};
|
|
1119
|
+
update: {
|
|
1120
|
+
args: Prisma.permissionsUpdateArgs<ExtArgs>;
|
|
1121
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1122
|
+
};
|
|
1123
|
+
deleteMany: {
|
|
1124
|
+
args: Prisma.permissionsDeleteManyArgs<ExtArgs>;
|
|
1125
|
+
result: BatchPayload;
|
|
1126
|
+
};
|
|
1127
|
+
updateMany: {
|
|
1128
|
+
args: Prisma.permissionsUpdateManyArgs<ExtArgs>;
|
|
1129
|
+
result: BatchPayload;
|
|
1130
|
+
};
|
|
1131
|
+
updateManyAndReturn: {
|
|
1132
|
+
args: Prisma.permissionsUpdateManyAndReturnArgs<ExtArgs>;
|
|
1133
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>[];
|
|
1134
|
+
};
|
|
1135
|
+
upsert: {
|
|
1136
|
+
args: Prisma.permissionsUpsertArgs<ExtArgs>;
|
|
1137
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$permissionsPayload>;
|
|
1138
|
+
};
|
|
1139
|
+
aggregate: {
|
|
1140
|
+
args: Prisma.PermissionsAggregateArgs<ExtArgs>;
|
|
1141
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregatePermissions>;
|
|
1142
|
+
};
|
|
1143
|
+
groupBy: {
|
|
1144
|
+
args: Prisma.permissionsGroupByArgs<ExtArgs>;
|
|
1145
|
+
result: runtime.Types.Utils.Optional<Prisma.PermissionsGroupByOutputType>[];
|
|
1146
|
+
};
|
|
1147
|
+
count: {
|
|
1148
|
+
args: Prisma.permissionsCountArgs<ExtArgs>;
|
|
1149
|
+
result: runtime.Types.Utils.Optional<Prisma.PermissionsCountAggregateOutputType> | number;
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
user_roles: {
|
|
1154
|
+
payload: Prisma.$user_rolesPayload<ExtArgs>;
|
|
1155
|
+
fields: Prisma.user_rolesFieldRefs;
|
|
1156
|
+
operations: {
|
|
1157
|
+
findUnique: {
|
|
1158
|
+
args: Prisma.user_rolesFindUniqueArgs<ExtArgs>;
|
|
1159
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload> | null;
|
|
1160
|
+
};
|
|
1161
|
+
findUniqueOrThrow: {
|
|
1162
|
+
args: Prisma.user_rolesFindUniqueOrThrowArgs<ExtArgs>;
|
|
1163
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1164
|
+
};
|
|
1165
|
+
findFirst: {
|
|
1166
|
+
args: Prisma.user_rolesFindFirstArgs<ExtArgs>;
|
|
1167
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload> | null;
|
|
1168
|
+
};
|
|
1169
|
+
findFirstOrThrow: {
|
|
1170
|
+
args: Prisma.user_rolesFindFirstOrThrowArgs<ExtArgs>;
|
|
1171
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1172
|
+
};
|
|
1173
|
+
findMany: {
|
|
1174
|
+
args: Prisma.user_rolesFindManyArgs<ExtArgs>;
|
|
1175
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>[];
|
|
1176
|
+
};
|
|
1177
|
+
create: {
|
|
1178
|
+
args: Prisma.user_rolesCreateArgs<ExtArgs>;
|
|
1179
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1180
|
+
};
|
|
1181
|
+
createMany: {
|
|
1182
|
+
args: Prisma.user_rolesCreateManyArgs<ExtArgs>;
|
|
1183
|
+
result: BatchPayload;
|
|
1184
|
+
};
|
|
1185
|
+
createManyAndReturn: {
|
|
1186
|
+
args: Prisma.user_rolesCreateManyAndReturnArgs<ExtArgs>;
|
|
1187
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>[];
|
|
1188
|
+
};
|
|
1189
|
+
delete: {
|
|
1190
|
+
args: Prisma.user_rolesDeleteArgs<ExtArgs>;
|
|
1191
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1192
|
+
};
|
|
1193
|
+
update: {
|
|
1194
|
+
args: Prisma.user_rolesUpdateArgs<ExtArgs>;
|
|
1195
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1196
|
+
};
|
|
1197
|
+
deleteMany: {
|
|
1198
|
+
args: Prisma.user_rolesDeleteManyArgs<ExtArgs>;
|
|
1199
|
+
result: BatchPayload;
|
|
1200
|
+
};
|
|
1201
|
+
updateMany: {
|
|
1202
|
+
args: Prisma.user_rolesUpdateManyArgs<ExtArgs>;
|
|
1203
|
+
result: BatchPayload;
|
|
1204
|
+
};
|
|
1205
|
+
updateManyAndReturn: {
|
|
1206
|
+
args: Prisma.user_rolesUpdateManyAndReturnArgs<ExtArgs>;
|
|
1207
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>[];
|
|
1208
|
+
};
|
|
1209
|
+
upsert: {
|
|
1210
|
+
args: Prisma.user_rolesUpsertArgs<ExtArgs>;
|
|
1211
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_rolesPayload>;
|
|
1212
|
+
};
|
|
1213
|
+
aggregate: {
|
|
1214
|
+
args: Prisma.User_rolesAggregateArgs<ExtArgs>;
|
|
1215
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateUser_roles>;
|
|
1216
|
+
};
|
|
1217
|
+
groupBy: {
|
|
1218
|
+
args: Prisma.user_rolesGroupByArgs<ExtArgs>;
|
|
1219
|
+
result: runtime.Types.Utils.Optional<Prisma.User_rolesGroupByOutputType>[];
|
|
1220
|
+
};
|
|
1221
|
+
count: {
|
|
1222
|
+
args: Prisma.user_rolesCountArgs<ExtArgs>;
|
|
1223
|
+
result: runtime.Types.Utils.Optional<Prisma.User_rolesCountAggregateOutputType> | number;
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
role_permissions: {
|
|
1228
|
+
payload: Prisma.$role_permissionsPayload<ExtArgs>;
|
|
1229
|
+
fields: Prisma.role_permissionsFieldRefs;
|
|
1230
|
+
operations: {
|
|
1231
|
+
findUnique: {
|
|
1232
|
+
args: Prisma.role_permissionsFindUniqueArgs<ExtArgs>;
|
|
1233
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload> | null;
|
|
1234
|
+
};
|
|
1235
|
+
findUniqueOrThrow: {
|
|
1236
|
+
args: Prisma.role_permissionsFindUniqueOrThrowArgs<ExtArgs>;
|
|
1237
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1238
|
+
};
|
|
1239
|
+
findFirst: {
|
|
1240
|
+
args: Prisma.role_permissionsFindFirstArgs<ExtArgs>;
|
|
1241
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload> | null;
|
|
1242
|
+
};
|
|
1243
|
+
findFirstOrThrow: {
|
|
1244
|
+
args: Prisma.role_permissionsFindFirstOrThrowArgs<ExtArgs>;
|
|
1245
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1246
|
+
};
|
|
1247
|
+
findMany: {
|
|
1248
|
+
args: Prisma.role_permissionsFindManyArgs<ExtArgs>;
|
|
1249
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>[];
|
|
1250
|
+
};
|
|
1251
|
+
create: {
|
|
1252
|
+
args: Prisma.role_permissionsCreateArgs<ExtArgs>;
|
|
1253
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1254
|
+
};
|
|
1255
|
+
createMany: {
|
|
1256
|
+
args: Prisma.role_permissionsCreateManyArgs<ExtArgs>;
|
|
1257
|
+
result: BatchPayload;
|
|
1258
|
+
};
|
|
1259
|
+
createManyAndReturn: {
|
|
1260
|
+
args: Prisma.role_permissionsCreateManyAndReturnArgs<ExtArgs>;
|
|
1261
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>[];
|
|
1262
|
+
};
|
|
1263
|
+
delete: {
|
|
1264
|
+
args: Prisma.role_permissionsDeleteArgs<ExtArgs>;
|
|
1265
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1266
|
+
};
|
|
1267
|
+
update: {
|
|
1268
|
+
args: Prisma.role_permissionsUpdateArgs<ExtArgs>;
|
|
1269
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1270
|
+
};
|
|
1271
|
+
deleteMany: {
|
|
1272
|
+
args: Prisma.role_permissionsDeleteManyArgs<ExtArgs>;
|
|
1273
|
+
result: BatchPayload;
|
|
1274
|
+
};
|
|
1275
|
+
updateMany: {
|
|
1276
|
+
args: Prisma.role_permissionsUpdateManyArgs<ExtArgs>;
|
|
1277
|
+
result: BatchPayload;
|
|
1278
|
+
};
|
|
1279
|
+
updateManyAndReturn: {
|
|
1280
|
+
args: Prisma.role_permissionsUpdateManyAndReturnArgs<ExtArgs>;
|
|
1281
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>[];
|
|
1282
|
+
};
|
|
1283
|
+
upsert: {
|
|
1284
|
+
args: Prisma.role_permissionsUpsertArgs<ExtArgs>;
|
|
1285
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$role_permissionsPayload>;
|
|
1286
|
+
};
|
|
1287
|
+
aggregate: {
|
|
1288
|
+
args: Prisma.Role_permissionsAggregateArgs<ExtArgs>;
|
|
1289
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateRole_permissions>;
|
|
1290
|
+
};
|
|
1291
|
+
groupBy: {
|
|
1292
|
+
args: Prisma.role_permissionsGroupByArgs<ExtArgs>;
|
|
1293
|
+
result: runtime.Types.Utils.Optional<Prisma.Role_permissionsGroupByOutputType>[];
|
|
1294
|
+
};
|
|
1295
|
+
count: {
|
|
1296
|
+
args: Prisma.role_permissionsCountArgs<ExtArgs>;
|
|
1297
|
+
result: runtime.Types.Utils.Optional<Prisma.Role_permissionsCountAggregateOutputType> | number;
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
user_permissions: {
|
|
1302
|
+
payload: Prisma.$user_permissionsPayload<ExtArgs>;
|
|
1303
|
+
fields: Prisma.user_permissionsFieldRefs;
|
|
1304
|
+
operations: {
|
|
1305
|
+
findUnique: {
|
|
1306
|
+
args: Prisma.user_permissionsFindUniqueArgs<ExtArgs>;
|
|
1307
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload> | null;
|
|
1308
|
+
};
|
|
1309
|
+
findUniqueOrThrow: {
|
|
1310
|
+
args: Prisma.user_permissionsFindUniqueOrThrowArgs<ExtArgs>;
|
|
1311
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1312
|
+
};
|
|
1313
|
+
findFirst: {
|
|
1314
|
+
args: Prisma.user_permissionsFindFirstArgs<ExtArgs>;
|
|
1315
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload> | null;
|
|
1316
|
+
};
|
|
1317
|
+
findFirstOrThrow: {
|
|
1318
|
+
args: Prisma.user_permissionsFindFirstOrThrowArgs<ExtArgs>;
|
|
1319
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1320
|
+
};
|
|
1321
|
+
findMany: {
|
|
1322
|
+
args: Prisma.user_permissionsFindManyArgs<ExtArgs>;
|
|
1323
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>[];
|
|
1324
|
+
};
|
|
1325
|
+
create: {
|
|
1326
|
+
args: Prisma.user_permissionsCreateArgs<ExtArgs>;
|
|
1327
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1328
|
+
};
|
|
1329
|
+
createMany: {
|
|
1330
|
+
args: Prisma.user_permissionsCreateManyArgs<ExtArgs>;
|
|
1331
|
+
result: BatchPayload;
|
|
1332
|
+
};
|
|
1333
|
+
createManyAndReturn: {
|
|
1334
|
+
args: Prisma.user_permissionsCreateManyAndReturnArgs<ExtArgs>;
|
|
1335
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>[];
|
|
1336
|
+
};
|
|
1337
|
+
delete: {
|
|
1338
|
+
args: Prisma.user_permissionsDeleteArgs<ExtArgs>;
|
|
1339
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1340
|
+
};
|
|
1341
|
+
update: {
|
|
1342
|
+
args: Prisma.user_permissionsUpdateArgs<ExtArgs>;
|
|
1343
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1344
|
+
};
|
|
1345
|
+
deleteMany: {
|
|
1346
|
+
args: Prisma.user_permissionsDeleteManyArgs<ExtArgs>;
|
|
1347
|
+
result: BatchPayload;
|
|
1348
|
+
};
|
|
1349
|
+
updateMany: {
|
|
1350
|
+
args: Prisma.user_permissionsUpdateManyArgs<ExtArgs>;
|
|
1351
|
+
result: BatchPayload;
|
|
1352
|
+
};
|
|
1353
|
+
updateManyAndReturn: {
|
|
1354
|
+
args: Prisma.user_permissionsUpdateManyAndReturnArgs<ExtArgs>;
|
|
1355
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>[];
|
|
1356
|
+
};
|
|
1357
|
+
upsert: {
|
|
1358
|
+
args: Prisma.user_permissionsUpsertArgs<ExtArgs>;
|
|
1359
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$user_permissionsPayload>;
|
|
1360
|
+
};
|
|
1361
|
+
aggregate: {
|
|
1362
|
+
args: Prisma.User_permissionsAggregateArgs<ExtArgs>;
|
|
1363
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateUser_permissions>;
|
|
1364
|
+
};
|
|
1365
|
+
groupBy: {
|
|
1366
|
+
args: Prisma.user_permissionsGroupByArgs<ExtArgs>;
|
|
1367
|
+
result: runtime.Types.Utils.Optional<Prisma.User_permissionsGroupByOutputType>[];
|
|
1368
|
+
};
|
|
1369
|
+
count: {
|
|
1370
|
+
args: Prisma.user_permissionsCountArgs<ExtArgs>;
|
|
1371
|
+
result: runtime.Types.Utils.Optional<Prisma.User_permissionsCountAggregateOutputType> | number;
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
} & {
|
|
1377
|
+
other: {
|
|
1378
|
+
payload: any;
|
|
1379
|
+
operations: {
|
|
1380
|
+
$executeRaw: {
|
|
1381
|
+
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
1382
|
+
result: any;
|
|
1383
|
+
};
|
|
1384
|
+
$executeRawUnsafe: {
|
|
1385
|
+
args: [query: string, ...values: any[]];
|
|
1386
|
+
result: any;
|
|
1387
|
+
};
|
|
1388
|
+
$queryRaw: {
|
|
1389
|
+
args: [query: TemplateStringsArray | Sql, ...values: any[]];
|
|
1390
|
+
result: any;
|
|
1391
|
+
};
|
|
1392
|
+
$queryRawUnsafe: {
|
|
1393
|
+
args: [query: string, ...values: any[]];
|
|
1394
|
+
result: any;
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
};
|
|
1399
|
+
/**
|
|
1400
|
+
* Enums
|
|
1401
|
+
*/
|
|
1402
|
+
export declare const TransactionIsolationLevel: {
|
|
1403
|
+
readonly ReadUncommitted: "ReadUncommitted";
|
|
1404
|
+
readonly ReadCommitted: "ReadCommitted";
|
|
1405
|
+
readonly RepeatableRead: "RepeatableRead";
|
|
1406
|
+
readonly Serializable: "Serializable";
|
|
1407
|
+
};
|
|
1408
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
1409
|
+
export declare const CacheScalarFieldEnum: {
|
|
1410
|
+
readonly key: "key";
|
|
1411
|
+
readonly value: "value";
|
|
1412
|
+
readonly expiration: "expiration";
|
|
1413
|
+
};
|
|
1414
|
+
export type CacheScalarFieldEnum = (typeof CacheScalarFieldEnum)[keyof typeof CacheScalarFieldEnum];
|
|
1415
|
+
export declare const Cache_locksScalarFieldEnum: {
|
|
1416
|
+
readonly key: "key";
|
|
1417
|
+
readonly owner: "owner";
|
|
1418
|
+
readonly expiration: "expiration";
|
|
1419
|
+
};
|
|
1420
|
+
export type Cache_locksScalarFieldEnum = (typeof Cache_locksScalarFieldEnum)[keyof typeof Cache_locksScalarFieldEnum];
|
|
1421
|
+
export declare const Failed_jobsScalarFieldEnum: {
|
|
1422
|
+
readonly id: "id";
|
|
1423
|
+
readonly uuid: "uuid";
|
|
1424
|
+
readonly connection: "connection";
|
|
1425
|
+
readonly queue: "queue";
|
|
1426
|
+
readonly payload: "payload";
|
|
1427
|
+
readonly exception: "exception";
|
|
1428
|
+
readonly failed_at: "failed_at";
|
|
1429
|
+
};
|
|
1430
|
+
export type Failed_jobsScalarFieldEnum = (typeof Failed_jobsScalarFieldEnum)[keyof typeof Failed_jobsScalarFieldEnum];
|
|
1431
|
+
export declare const Job_batchesScalarFieldEnum: {
|
|
1432
|
+
readonly id: "id";
|
|
1433
|
+
readonly name: "name";
|
|
1434
|
+
readonly total_jobs: "total_jobs";
|
|
1435
|
+
readonly pending_jobs: "pending_jobs";
|
|
1436
|
+
readonly failed_jobs: "failed_jobs";
|
|
1437
|
+
readonly failed_job_ids: "failed_job_ids";
|
|
1438
|
+
readonly options: "options";
|
|
1439
|
+
readonly cancelled_at: "cancelled_at";
|
|
1440
|
+
readonly created_at: "created_at";
|
|
1441
|
+
readonly finished_at: "finished_at";
|
|
1442
|
+
};
|
|
1443
|
+
export type Job_batchesScalarFieldEnum = (typeof Job_batchesScalarFieldEnum)[keyof typeof Job_batchesScalarFieldEnum];
|
|
1444
|
+
export declare const JobsScalarFieldEnum: {
|
|
1445
|
+
readonly id: "id";
|
|
1446
|
+
readonly queue: "queue";
|
|
1447
|
+
readonly payload: "payload";
|
|
1448
|
+
readonly attempts: "attempts";
|
|
1449
|
+
readonly reserved_at: "reserved_at";
|
|
1450
|
+
readonly available_at: "available_at";
|
|
1451
|
+
readonly created_at: "created_at";
|
|
1452
|
+
};
|
|
1453
|
+
export type JobsScalarFieldEnum = (typeof JobsScalarFieldEnum)[keyof typeof JobsScalarFieldEnum];
|
|
1454
|
+
export declare const MigrationsScalarFieldEnum: {
|
|
1455
|
+
readonly id: "id";
|
|
1456
|
+
readonly migration: "migration";
|
|
1457
|
+
readonly batch: "batch";
|
|
1458
|
+
};
|
|
1459
|
+
export type MigrationsScalarFieldEnum = (typeof MigrationsScalarFieldEnum)[keyof typeof MigrationsScalarFieldEnum];
|
|
1460
|
+
export declare const Password_reset_tokensScalarFieldEnum: {
|
|
1461
|
+
readonly email: "email";
|
|
1462
|
+
readonly token: "token";
|
|
1463
|
+
readonly created_at: "created_at";
|
|
1464
|
+
};
|
|
1465
|
+
export type Password_reset_tokensScalarFieldEnum = (typeof Password_reset_tokensScalarFieldEnum)[keyof typeof Password_reset_tokensScalarFieldEnum];
|
|
1466
|
+
export declare const Personal_access_tokensScalarFieldEnum: {
|
|
1467
|
+
readonly id: "id";
|
|
1468
|
+
readonly tokenable_type: "tokenable_type";
|
|
1469
|
+
readonly tokenable_id: "tokenable_id";
|
|
1470
|
+
readonly name: "name";
|
|
1471
|
+
readonly token: "token";
|
|
1472
|
+
readonly abilities: "abilities";
|
|
1473
|
+
readonly last_used_at: "last_used_at";
|
|
1474
|
+
readonly expires_at: "expires_at";
|
|
1475
|
+
readonly created_at: "created_at";
|
|
1476
|
+
readonly updated_at: "updated_at";
|
|
1477
|
+
};
|
|
1478
|
+
export type Personal_access_tokensScalarFieldEnum = (typeof Personal_access_tokensScalarFieldEnum)[keyof typeof Personal_access_tokensScalarFieldEnum];
|
|
1479
|
+
export declare const SessionsScalarFieldEnum: {
|
|
1480
|
+
readonly id: "id";
|
|
1481
|
+
readonly user_id: "user_id";
|
|
1482
|
+
readonly ip_address: "ip_address";
|
|
1483
|
+
readonly user_agent: "user_agent";
|
|
1484
|
+
readonly payload: "payload";
|
|
1485
|
+
readonly last_activity: "last_activity";
|
|
1486
|
+
};
|
|
1487
|
+
export type SessionsScalarFieldEnum = (typeof SessionsScalarFieldEnum)[keyof typeof SessionsScalarFieldEnum];
|
|
1488
|
+
export declare const UsersScalarFieldEnum: {
|
|
1489
|
+
readonly id: "id";
|
|
1490
|
+
readonly uuid: "uuid";
|
|
1491
|
+
readonly name: "name";
|
|
1492
|
+
readonly email: "email";
|
|
1493
|
+
readonly avatar: "avatar";
|
|
1494
|
+
readonly avatar_url: "avatar_url";
|
|
1495
|
+
readonly email_verified_at: "email_verified_at";
|
|
1496
|
+
readonly password: "password";
|
|
1497
|
+
readonly remember_token: "remember_token";
|
|
1498
|
+
readonly created_at: "created_at";
|
|
1499
|
+
readonly updated_at: "updated_at";
|
|
1500
|
+
};
|
|
1501
|
+
export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum];
|
|
1502
|
+
export declare const RolesScalarFieldEnum: {
|
|
1503
|
+
readonly id: "id";
|
|
1504
|
+
readonly name: "name";
|
|
1505
|
+
readonly slug: "slug";
|
|
1506
|
+
readonly description: "description";
|
|
1507
|
+
readonly created_at: "created_at";
|
|
1508
|
+
readonly updated_at: "updated_at";
|
|
1509
|
+
};
|
|
1510
|
+
export type RolesScalarFieldEnum = (typeof RolesScalarFieldEnum)[keyof typeof RolesScalarFieldEnum];
|
|
1511
|
+
export declare const PermissionsScalarFieldEnum: {
|
|
1512
|
+
readonly id: "id";
|
|
1513
|
+
readonly name: "name";
|
|
1514
|
+
readonly slug: "slug";
|
|
1515
|
+
readonly description: "description";
|
|
1516
|
+
readonly created_at: "created_at";
|
|
1517
|
+
readonly updated_at: "updated_at";
|
|
1518
|
+
};
|
|
1519
|
+
export type PermissionsScalarFieldEnum = (typeof PermissionsScalarFieldEnum)[keyof typeof PermissionsScalarFieldEnum];
|
|
1520
|
+
export declare const User_rolesScalarFieldEnum: {
|
|
1521
|
+
readonly id: "id";
|
|
1522
|
+
readonly user_id: "user_id";
|
|
1523
|
+
readonly role_id: "role_id";
|
|
1524
|
+
readonly created_at: "created_at";
|
|
1525
|
+
};
|
|
1526
|
+
export type User_rolesScalarFieldEnum = (typeof User_rolesScalarFieldEnum)[keyof typeof User_rolesScalarFieldEnum];
|
|
1527
|
+
export declare const Role_permissionsScalarFieldEnum: {
|
|
1528
|
+
readonly id: "id";
|
|
1529
|
+
readonly role_id: "role_id";
|
|
1530
|
+
readonly permission_id: "permission_id";
|
|
1531
|
+
readonly created_at: "created_at";
|
|
1532
|
+
};
|
|
1533
|
+
export type Role_permissionsScalarFieldEnum = (typeof Role_permissionsScalarFieldEnum)[keyof typeof Role_permissionsScalarFieldEnum];
|
|
1534
|
+
export declare const User_permissionsScalarFieldEnum: {
|
|
1535
|
+
readonly id: "id";
|
|
1536
|
+
readonly user_id: "user_id";
|
|
1537
|
+
readonly permission_id: "permission_id";
|
|
1538
|
+
readonly created_at: "created_at";
|
|
1539
|
+
};
|
|
1540
|
+
export type User_permissionsScalarFieldEnum = (typeof User_permissionsScalarFieldEnum)[keyof typeof User_permissionsScalarFieldEnum];
|
|
1541
|
+
export declare const SortOrder: {
|
|
1542
|
+
readonly asc: "asc";
|
|
1543
|
+
readonly desc: "desc";
|
|
1544
|
+
};
|
|
1545
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1546
|
+
export declare const QueryMode: {
|
|
1547
|
+
readonly default: "default";
|
|
1548
|
+
readonly insensitive: "insensitive";
|
|
1549
|
+
};
|
|
1550
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode];
|
|
1551
|
+
export declare const NullsOrder: {
|
|
1552
|
+
readonly first: "first";
|
|
1553
|
+
readonly last: "last";
|
|
1554
|
+
};
|
|
1555
|
+
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
|
|
1556
|
+
/**
|
|
1557
|
+
* Field references
|
|
1558
|
+
*/
|
|
1559
|
+
/**
|
|
1560
|
+
* Reference to a field of type 'String'
|
|
1561
|
+
*/
|
|
1562
|
+
export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>;
|
|
1563
|
+
/**
|
|
1564
|
+
* Reference to a field of type 'String[]'
|
|
1565
|
+
*/
|
|
1566
|
+
export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>;
|
|
1567
|
+
/**
|
|
1568
|
+
* Reference to a field of type 'Int'
|
|
1569
|
+
*/
|
|
1570
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Reference to a field of type 'Int[]'
|
|
1573
|
+
*/
|
|
1574
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Reference to a field of type 'BigInt'
|
|
1577
|
+
*/
|
|
1578
|
+
export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'>;
|
|
1579
|
+
/**
|
|
1580
|
+
* Reference to a field of type 'BigInt[]'
|
|
1581
|
+
*/
|
|
1582
|
+
export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt[]'>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Reference to a field of type 'DateTime'
|
|
1585
|
+
*/
|
|
1586
|
+
export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Reference to a field of type 'DateTime[]'
|
|
1589
|
+
*/
|
|
1590
|
+
export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>;
|
|
1591
|
+
/**
|
|
1592
|
+
* Reference to a field of type 'Float'
|
|
1593
|
+
*/
|
|
1594
|
+
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>;
|
|
1595
|
+
/**
|
|
1596
|
+
* Reference to a field of type 'Float[]'
|
|
1597
|
+
*/
|
|
1598
|
+
export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'>;
|
|
1599
|
+
/**
|
|
1600
|
+
* Batch Payload for updateMany & deleteMany & createMany
|
|
1601
|
+
*/
|
|
1602
|
+
export type BatchPayload = {
|
|
1603
|
+
count: number;
|
|
1604
|
+
};
|
|
1605
|
+
export declare const defineExtension: runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>;
|
|
1606
|
+
export type DefaultPrismaClient = PrismaClient;
|
|
1607
|
+
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal';
|
|
1608
|
+
export type PrismaClientOptions = ({
|
|
1609
|
+
/**
|
|
1610
|
+
* Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
|
|
1611
|
+
*/
|
|
1612
|
+
adapter: runtime.SqlDriverAdapterFactory;
|
|
1613
|
+
accelerateUrl?: never;
|
|
1614
|
+
} | {
|
|
1615
|
+
/**
|
|
1616
|
+
* Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
|
|
1617
|
+
*/
|
|
1618
|
+
accelerateUrl: string;
|
|
1619
|
+
adapter?: never;
|
|
1620
|
+
}) & {
|
|
1621
|
+
/**
|
|
1622
|
+
* @default "colorless"
|
|
1623
|
+
*/
|
|
1624
|
+
errorFormat?: ErrorFormat;
|
|
1625
|
+
/**
|
|
1626
|
+
* @example
|
|
1627
|
+
* ```
|
|
1628
|
+
* // Shorthand for `emit: 'stdout'`
|
|
1629
|
+
* log: ['query', 'info', 'warn', 'error']
|
|
1630
|
+
*
|
|
1631
|
+
* // Emit as events only
|
|
1632
|
+
* log: [
|
|
1633
|
+
* { emit: 'event', level: 'query' },
|
|
1634
|
+
* { emit: 'event', level: 'info' },
|
|
1635
|
+
* { emit: 'event', level: 'warn' }
|
|
1636
|
+
* { emit: 'event', level: 'error' }
|
|
1637
|
+
* ]
|
|
1638
|
+
*
|
|
1639
|
+
* / Emit as events and log to stdout
|
|
1640
|
+
* og: [
|
|
1641
|
+
* { emit: 'stdout', level: 'query' },
|
|
1642
|
+
* { emit: 'stdout', level: 'info' },
|
|
1643
|
+
* { emit: 'stdout', level: 'warn' }
|
|
1644
|
+
* { emit: 'stdout', level: 'error' }
|
|
1645
|
+
*
|
|
1646
|
+
* ```
|
|
1647
|
+
* Read more in our [docs](https://pris.ly/d/logging).
|
|
1648
|
+
*/
|
|
1649
|
+
log?: (LogLevel | LogDefinition)[];
|
|
1650
|
+
/**
|
|
1651
|
+
* The default values for transactionOptions
|
|
1652
|
+
* maxWait ?= 2000
|
|
1653
|
+
* timeout ?= 5000
|
|
1654
|
+
*/
|
|
1655
|
+
transactionOptions?: {
|
|
1656
|
+
maxWait?: number;
|
|
1657
|
+
timeout?: number;
|
|
1658
|
+
isolationLevel?: TransactionIsolationLevel;
|
|
1659
|
+
};
|
|
1660
|
+
/**
|
|
1661
|
+
* Global configuration for omitting model fields by default.
|
|
1662
|
+
*
|
|
1663
|
+
* @example
|
|
1664
|
+
* ```
|
|
1665
|
+
* const prisma = new PrismaClient({
|
|
1666
|
+
* omit: {
|
|
1667
|
+
* user: {
|
|
1668
|
+
* password: true
|
|
1669
|
+
* }
|
|
1670
|
+
* }
|
|
1671
|
+
* })
|
|
1672
|
+
* ```
|
|
1673
|
+
*/
|
|
1674
|
+
omit?: GlobalOmitConfig;
|
|
1675
|
+
/**
|
|
1676
|
+
* SQL commenter plugins that add metadata to SQL queries as comments.
|
|
1677
|
+
* Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
|
|
1678
|
+
*
|
|
1679
|
+
* @example
|
|
1680
|
+
* ```
|
|
1681
|
+
* const prisma = new PrismaClient({
|
|
1682
|
+
* adapter,
|
|
1683
|
+
* comments: [
|
|
1684
|
+
* traceContext(),
|
|
1685
|
+
* queryInsights(),
|
|
1686
|
+
* ],
|
|
1687
|
+
* })
|
|
1688
|
+
* ```
|
|
1689
|
+
*/
|
|
1690
|
+
comments?: runtime.SqlCommenterPlugin[];
|
|
1691
|
+
};
|
|
1692
|
+
export type GlobalOmitConfig = {
|
|
1693
|
+
cache?: Prisma.cacheOmit;
|
|
1694
|
+
cache_locks?: Prisma.cache_locksOmit;
|
|
1695
|
+
failed_jobs?: Prisma.failed_jobsOmit;
|
|
1696
|
+
job_batches?: Prisma.job_batchesOmit;
|
|
1697
|
+
jobs?: Prisma.jobsOmit;
|
|
1698
|
+
migrations?: Prisma.migrationsOmit;
|
|
1699
|
+
password_reset_tokens?: Prisma.password_reset_tokensOmit;
|
|
1700
|
+
personal_access_tokens?: Prisma.personal_access_tokensOmit;
|
|
1701
|
+
sessions?: Prisma.sessionsOmit;
|
|
1702
|
+
users?: Prisma.usersOmit;
|
|
1703
|
+
roles?: Prisma.rolesOmit;
|
|
1704
|
+
permissions?: Prisma.permissionsOmit;
|
|
1705
|
+
user_roles?: Prisma.user_rolesOmit;
|
|
1706
|
+
role_permissions?: Prisma.role_permissionsOmit;
|
|
1707
|
+
user_permissions?: Prisma.user_permissionsOmit;
|
|
1708
|
+
};
|
|
1709
|
+
export type LogLevel = 'info' | 'query' | 'warn' | 'error';
|
|
1710
|
+
export type LogDefinition = {
|
|
1711
|
+
level: LogLevel;
|
|
1712
|
+
emit: 'stdout' | 'event';
|
|
1713
|
+
};
|
|
1714
|
+
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
|
|
1715
|
+
export type GetLogType<T> = CheckIsLogLevel<T extends LogDefinition ? T['level'] : T>;
|
|
1716
|
+
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition> ? GetLogType<T[number]> : never;
|
|
1717
|
+
export type QueryEvent = {
|
|
1718
|
+
timestamp: Date;
|
|
1719
|
+
query: string;
|
|
1720
|
+
params: string;
|
|
1721
|
+
duration: number;
|
|
1722
|
+
target: string;
|
|
1723
|
+
};
|
|
1724
|
+
export type LogEvent = {
|
|
1725
|
+
timestamp: Date;
|
|
1726
|
+
message: string;
|
|
1727
|
+
target: string;
|
|
1728
|
+
};
|
|
1729
|
+
export type PrismaAction = 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy';
|
|
1730
|
+
/**
|
|
1731
|
+
* `PrismaClient` proxy available in interactive transactions.
|
|
1732
|
+
*/
|
|
1733
|
+
export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>;
|
|
1734
|
+
//# sourceMappingURL=prismaNamespace.d.ts.map
|