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,986 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model cache
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type cacheModel = runtime.Types.Result.DefaultSelection<Prisma.$cachePayload>;
|
|
8
|
+
export type AggregateCache = {
|
|
9
|
+
_count: CacheCountAggregateOutputType | null;
|
|
10
|
+
_avg: CacheAvgAggregateOutputType | null;
|
|
11
|
+
_sum: CacheSumAggregateOutputType | null;
|
|
12
|
+
_min: CacheMinAggregateOutputType | null;
|
|
13
|
+
_max: CacheMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type CacheAvgAggregateOutputType = {
|
|
16
|
+
expiration: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type CacheSumAggregateOutputType = {
|
|
19
|
+
expiration: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type CacheMinAggregateOutputType = {
|
|
22
|
+
key: string | null;
|
|
23
|
+
value: string | null;
|
|
24
|
+
expiration: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type CacheMaxAggregateOutputType = {
|
|
27
|
+
key: string | null;
|
|
28
|
+
value: string | null;
|
|
29
|
+
expiration: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type CacheCountAggregateOutputType = {
|
|
32
|
+
key: number;
|
|
33
|
+
value: number;
|
|
34
|
+
expiration: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type CacheAvgAggregateInputType = {
|
|
38
|
+
expiration?: true;
|
|
39
|
+
};
|
|
40
|
+
export type CacheSumAggregateInputType = {
|
|
41
|
+
expiration?: true;
|
|
42
|
+
};
|
|
43
|
+
export type CacheMinAggregateInputType = {
|
|
44
|
+
key?: true;
|
|
45
|
+
value?: true;
|
|
46
|
+
expiration?: true;
|
|
47
|
+
};
|
|
48
|
+
export type CacheMaxAggregateInputType = {
|
|
49
|
+
key?: true;
|
|
50
|
+
value?: true;
|
|
51
|
+
expiration?: true;
|
|
52
|
+
};
|
|
53
|
+
export type CacheCountAggregateInputType = {
|
|
54
|
+
key?: true;
|
|
55
|
+
value?: true;
|
|
56
|
+
expiration?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type CacheAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which cache to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.cacheWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of caches to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.cacheOrderByWithRelationInput | Prisma.cacheOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.cacheWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` caches from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` caches.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned caches
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | CacheCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to average
|
|
98
|
+
**/
|
|
99
|
+
_avg?: CacheAvgAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to sum
|
|
104
|
+
**/
|
|
105
|
+
_sum?: CacheSumAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to find the minimum value
|
|
110
|
+
**/
|
|
111
|
+
_min?: CacheMinAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the maximum value
|
|
116
|
+
**/
|
|
117
|
+
_max?: CacheMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type GetCacheAggregateType<T extends CacheAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateCache]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCache[P]> : Prisma.GetScalarType<T[P], AggregateCache[P]>;
|
|
121
|
+
};
|
|
122
|
+
export type cacheGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.cacheWhereInput;
|
|
124
|
+
orderBy?: Prisma.cacheOrderByWithAggregationInput | Prisma.cacheOrderByWithAggregationInput[];
|
|
125
|
+
by: Prisma.CacheScalarFieldEnum[] | Prisma.CacheScalarFieldEnum;
|
|
126
|
+
having?: Prisma.cacheScalarWhereWithAggregatesInput;
|
|
127
|
+
take?: number;
|
|
128
|
+
skip?: number;
|
|
129
|
+
_count?: CacheCountAggregateInputType | true;
|
|
130
|
+
_avg?: CacheAvgAggregateInputType;
|
|
131
|
+
_sum?: CacheSumAggregateInputType;
|
|
132
|
+
_min?: CacheMinAggregateInputType;
|
|
133
|
+
_max?: CacheMaxAggregateInputType;
|
|
134
|
+
};
|
|
135
|
+
export type CacheGroupByOutputType = {
|
|
136
|
+
key: string;
|
|
137
|
+
value: string;
|
|
138
|
+
expiration: number;
|
|
139
|
+
_count: CacheCountAggregateOutputType | null;
|
|
140
|
+
_avg: CacheAvgAggregateOutputType | null;
|
|
141
|
+
_sum: CacheSumAggregateOutputType | null;
|
|
142
|
+
_min: CacheMinAggregateOutputType | null;
|
|
143
|
+
_max: CacheMaxAggregateOutputType | null;
|
|
144
|
+
};
|
|
145
|
+
type GetCacheGroupByPayload<T extends cacheGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CacheGroupByOutputType, T['by']> & {
|
|
146
|
+
[P in ((keyof T) & (keyof CacheGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CacheGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CacheGroupByOutputType[P]>;
|
|
147
|
+
}>>;
|
|
148
|
+
export type cacheWhereInput = {
|
|
149
|
+
AND?: Prisma.cacheWhereInput | Prisma.cacheWhereInput[];
|
|
150
|
+
OR?: Prisma.cacheWhereInput[];
|
|
151
|
+
NOT?: Prisma.cacheWhereInput | Prisma.cacheWhereInput[];
|
|
152
|
+
key?: Prisma.StringFilter<"cache"> | string;
|
|
153
|
+
value?: Prisma.StringFilter<"cache"> | string;
|
|
154
|
+
expiration?: Prisma.IntFilter<"cache"> | number;
|
|
155
|
+
};
|
|
156
|
+
export type cacheOrderByWithRelationInput = {
|
|
157
|
+
key?: Prisma.SortOrder;
|
|
158
|
+
value?: Prisma.SortOrder;
|
|
159
|
+
expiration?: Prisma.SortOrder;
|
|
160
|
+
};
|
|
161
|
+
export type cacheWhereUniqueInput = Prisma.AtLeast<{
|
|
162
|
+
key?: string;
|
|
163
|
+
AND?: Prisma.cacheWhereInput | Prisma.cacheWhereInput[];
|
|
164
|
+
OR?: Prisma.cacheWhereInput[];
|
|
165
|
+
NOT?: Prisma.cacheWhereInput | Prisma.cacheWhereInput[];
|
|
166
|
+
value?: Prisma.StringFilter<"cache"> | string;
|
|
167
|
+
expiration?: Prisma.IntFilter<"cache"> | number;
|
|
168
|
+
}, "key">;
|
|
169
|
+
export type cacheOrderByWithAggregationInput = {
|
|
170
|
+
key?: Prisma.SortOrder;
|
|
171
|
+
value?: Prisma.SortOrder;
|
|
172
|
+
expiration?: Prisma.SortOrder;
|
|
173
|
+
_count?: Prisma.cacheCountOrderByAggregateInput;
|
|
174
|
+
_avg?: Prisma.cacheAvgOrderByAggregateInput;
|
|
175
|
+
_max?: Prisma.cacheMaxOrderByAggregateInput;
|
|
176
|
+
_min?: Prisma.cacheMinOrderByAggregateInput;
|
|
177
|
+
_sum?: Prisma.cacheSumOrderByAggregateInput;
|
|
178
|
+
};
|
|
179
|
+
export type cacheScalarWhereWithAggregatesInput = {
|
|
180
|
+
AND?: Prisma.cacheScalarWhereWithAggregatesInput | Prisma.cacheScalarWhereWithAggregatesInput[];
|
|
181
|
+
OR?: Prisma.cacheScalarWhereWithAggregatesInput[];
|
|
182
|
+
NOT?: Prisma.cacheScalarWhereWithAggregatesInput | Prisma.cacheScalarWhereWithAggregatesInput[];
|
|
183
|
+
key?: Prisma.StringWithAggregatesFilter<"cache"> | string;
|
|
184
|
+
value?: Prisma.StringWithAggregatesFilter<"cache"> | string;
|
|
185
|
+
expiration?: Prisma.IntWithAggregatesFilter<"cache"> | number;
|
|
186
|
+
};
|
|
187
|
+
export type cacheCreateInput = {
|
|
188
|
+
key: string;
|
|
189
|
+
value: string;
|
|
190
|
+
expiration: number;
|
|
191
|
+
};
|
|
192
|
+
export type cacheUncheckedCreateInput = {
|
|
193
|
+
key: string;
|
|
194
|
+
value: string;
|
|
195
|
+
expiration: number;
|
|
196
|
+
};
|
|
197
|
+
export type cacheUpdateInput = {
|
|
198
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
199
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
200
|
+
expiration?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
201
|
+
};
|
|
202
|
+
export type cacheUncheckedUpdateInput = {
|
|
203
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
204
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
205
|
+
expiration?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
206
|
+
};
|
|
207
|
+
export type cacheCreateManyInput = {
|
|
208
|
+
key: string;
|
|
209
|
+
value: string;
|
|
210
|
+
expiration: number;
|
|
211
|
+
};
|
|
212
|
+
export type cacheUpdateManyMutationInput = {
|
|
213
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
214
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
215
|
+
expiration?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
216
|
+
};
|
|
217
|
+
export type cacheUncheckedUpdateManyInput = {
|
|
218
|
+
key?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
+
expiration?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
221
|
+
};
|
|
222
|
+
export type cacheCountOrderByAggregateInput = {
|
|
223
|
+
key?: Prisma.SortOrder;
|
|
224
|
+
value?: Prisma.SortOrder;
|
|
225
|
+
expiration?: Prisma.SortOrder;
|
|
226
|
+
};
|
|
227
|
+
export type cacheAvgOrderByAggregateInput = {
|
|
228
|
+
expiration?: Prisma.SortOrder;
|
|
229
|
+
};
|
|
230
|
+
export type cacheMaxOrderByAggregateInput = {
|
|
231
|
+
key?: Prisma.SortOrder;
|
|
232
|
+
value?: Prisma.SortOrder;
|
|
233
|
+
expiration?: Prisma.SortOrder;
|
|
234
|
+
};
|
|
235
|
+
export type cacheMinOrderByAggregateInput = {
|
|
236
|
+
key?: Prisma.SortOrder;
|
|
237
|
+
value?: Prisma.SortOrder;
|
|
238
|
+
expiration?: Prisma.SortOrder;
|
|
239
|
+
};
|
|
240
|
+
export type cacheSumOrderByAggregateInput = {
|
|
241
|
+
expiration?: Prisma.SortOrder;
|
|
242
|
+
};
|
|
243
|
+
export type StringFieldUpdateOperationsInput = {
|
|
244
|
+
set?: string;
|
|
245
|
+
};
|
|
246
|
+
export type IntFieldUpdateOperationsInput = {
|
|
247
|
+
set?: number;
|
|
248
|
+
increment?: number;
|
|
249
|
+
decrement?: number;
|
|
250
|
+
multiply?: number;
|
|
251
|
+
divide?: number;
|
|
252
|
+
};
|
|
253
|
+
export type cacheSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
254
|
+
key?: boolean;
|
|
255
|
+
value?: boolean;
|
|
256
|
+
expiration?: boolean;
|
|
257
|
+
}, ExtArgs["result"]["cache"]>;
|
|
258
|
+
export type cacheSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
259
|
+
key?: boolean;
|
|
260
|
+
value?: boolean;
|
|
261
|
+
expiration?: boolean;
|
|
262
|
+
}, ExtArgs["result"]["cache"]>;
|
|
263
|
+
export type cacheSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
264
|
+
key?: boolean;
|
|
265
|
+
value?: boolean;
|
|
266
|
+
expiration?: boolean;
|
|
267
|
+
}, ExtArgs["result"]["cache"]>;
|
|
268
|
+
export type cacheSelectScalar = {
|
|
269
|
+
key?: boolean;
|
|
270
|
+
value?: boolean;
|
|
271
|
+
expiration?: boolean;
|
|
272
|
+
};
|
|
273
|
+
export type cacheOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"key" | "value" | "expiration", ExtArgs["result"]["cache"]>;
|
|
274
|
+
export type $cachePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
275
|
+
name: "cache";
|
|
276
|
+
objects: {};
|
|
277
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
278
|
+
key: string;
|
|
279
|
+
value: string;
|
|
280
|
+
expiration: number;
|
|
281
|
+
}, ExtArgs["result"]["cache"]>;
|
|
282
|
+
composites: {};
|
|
283
|
+
};
|
|
284
|
+
export type cacheGetPayload<S extends boolean | null | undefined | cacheDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cachePayload, S>;
|
|
285
|
+
export type cacheCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<cacheFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
286
|
+
select?: CacheCountAggregateInputType | true;
|
|
287
|
+
};
|
|
288
|
+
export interface cacheDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
289
|
+
[K: symbol]: {
|
|
290
|
+
types: Prisma.TypeMap<ExtArgs>['model']['cache'];
|
|
291
|
+
meta: {
|
|
292
|
+
name: 'cache';
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Find zero or one Cache that matches the filter.
|
|
297
|
+
* @param {cacheFindUniqueArgs} args - Arguments to find a Cache
|
|
298
|
+
* @example
|
|
299
|
+
* // Get one Cache
|
|
300
|
+
* const cache = await prisma.cache.findUnique({
|
|
301
|
+
* where: {
|
|
302
|
+
* // ... provide filter here
|
|
303
|
+
* }
|
|
304
|
+
* })
|
|
305
|
+
*/
|
|
306
|
+
findUnique<T extends cacheFindUniqueArgs>(args: Prisma.SelectSubset<T, cacheFindUniqueArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
307
|
+
/**
|
|
308
|
+
* Find one Cache that matches the filter or throw an error with `error.code='P2025'`
|
|
309
|
+
* if no matches were found.
|
|
310
|
+
* @param {cacheFindUniqueOrThrowArgs} args - Arguments to find a Cache
|
|
311
|
+
* @example
|
|
312
|
+
* // Get one Cache
|
|
313
|
+
* const cache = await prisma.cache.findUniqueOrThrow({
|
|
314
|
+
* where: {
|
|
315
|
+
* // ... provide filter here
|
|
316
|
+
* }
|
|
317
|
+
* })
|
|
318
|
+
*/
|
|
319
|
+
findUniqueOrThrow<T extends cacheFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, cacheFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
320
|
+
/**
|
|
321
|
+
* Find the first Cache that matches the filter.
|
|
322
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
323
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
324
|
+
* @param {cacheFindFirstArgs} args - Arguments to find a Cache
|
|
325
|
+
* @example
|
|
326
|
+
* // Get one Cache
|
|
327
|
+
* const cache = await prisma.cache.findFirst({
|
|
328
|
+
* where: {
|
|
329
|
+
* // ... provide filter here
|
|
330
|
+
* }
|
|
331
|
+
* })
|
|
332
|
+
*/
|
|
333
|
+
findFirst<T extends cacheFindFirstArgs>(args?: Prisma.SelectSubset<T, cacheFindFirstArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
334
|
+
/**
|
|
335
|
+
* Find the first Cache that matches the filter or
|
|
336
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
337
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
338
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
339
|
+
* @param {cacheFindFirstOrThrowArgs} args - Arguments to find a Cache
|
|
340
|
+
* @example
|
|
341
|
+
* // Get one Cache
|
|
342
|
+
* const cache = await prisma.cache.findFirstOrThrow({
|
|
343
|
+
* where: {
|
|
344
|
+
* // ... provide filter here
|
|
345
|
+
* }
|
|
346
|
+
* })
|
|
347
|
+
*/
|
|
348
|
+
findFirstOrThrow<T extends cacheFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, cacheFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
349
|
+
/**
|
|
350
|
+
* Find zero or more Caches that matches the filter.
|
|
351
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
352
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
353
|
+
* @param {cacheFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
354
|
+
* @example
|
|
355
|
+
* // Get all Caches
|
|
356
|
+
* const caches = await prisma.cache.findMany()
|
|
357
|
+
*
|
|
358
|
+
* // Get first 10 Caches
|
|
359
|
+
* const caches = await prisma.cache.findMany({ take: 10 })
|
|
360
|
+
*
|
|
361
|
+
* // Only select the `key`
|
|
362
|
+
* const cacheWithKeyOnly = await prisma.cache.findMany({ select: { key: true } })
|
|
363
|
+
*
|
|
364
|
+
*/
|
|
365
|
+
findMany<T extends cacheFindManyArgs>(args?: Prisma.SelectSubset<T, cacheFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
366
|
+
/**
|
|
367
|
+
* Create a Cache.
|
|
368
|
+
* @param {cacheCreateArgs} args - Arguments to create a Cache.
|
|
369
|
+
* @example
|
|
370
|
+
* // Create one Cache
|
|
371
|
+
* const Cache = await prisma.cache.create({
|
|
372
|
+
* data: {
|
|
373
|
+
* // ... data to create a Cache
|
|
374
|
+
* }
|
|
375
|
+
* })
|
|
376
|
+
*
|
|
377
|
+
*/
|
|
378
|
+
create<T extends cacheCreateArgs>(args: Prisma.SelectSubset<T, cacheCreateArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
379
|
+
/**
|
|
380
|
+
* Create many Caches.
|
|
381
|
+
* @param {cacheCreateManyArgs} args - Arguments to create many Caches.
|
|
382
|
+
* @example
|
|
383
|
+
* // Create many Caches
|
|
384
|
+
* const cache = await prisma.cache.createMany({
|
|
385
|
+
* data: [
|
|
386
|
+
* // ... provide data here
|
|
387
|
+
* ]
|
|
388
|
+
* })
|
|
389
|
+
*
|
|
390
|
+
*/
|
|
391
|
+
createMany<T extends cacheCreateManyArgs>(args?: Prisma.SelectSubset<T, cacheCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
392
|
+
/**
|
|
393
|
+
* Create many Caches and returns the data saved in the database.
|
|
394
|
+
* @param {cacheCreateManyAndReturnArgs} args - Arguments to create many Caches.
|
|
395
|
+
* @example
|
|
396
|
+
* // Create many Caches
|
|
397
|
+
* const cache = await prisma.cache.createManyAndReturn({
|
|
398
|
+
* data: [
|
|
399
|
+
* // ... provide data here
|
|
400
|
+
* ]
|
|
401
|
+
* })
|
|
402
|
+
*
|
|
403
|
+
* // Create many Caches and only return the `key`
|
|
404
|
+
* const cacheWithKeyOnly = await prisma.cache.createManyAndReturn({
|
|
405
|
+
* select: { key: true },
|
|
406
|
+
* data: [
|
|
407
|
+
* // ... provide data here
|
|
408
|
+
* ]
|
|
409
|
+
* })
|
|
410
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
411
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
412
|
+
*
|
|
413
|
+
*/
|
|
414
|
+
createManyAndReturn<T extends cacheCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, cacheCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
415
|
+
/**
|
|
416
|
+
* Delete a Cache.
|
|
417
|
+
* @param {cacheDeleteArgs} args - Arguments to delete one Cache.
|
|
418
|
+
* @example
|
|
419
|
+
* // Delete one Cache
|
|
420
|
+
* const Cache = await prisma.cache.delete({
|
|
421
|
+
* where: {
|
|
422
|
+
* // ... filter to delete one Cache
|
|
423
|
+
* }
|
|
424
|
+
* })
|
|
425
|
+
*
|
|
426
|
+
*/
|
|
427
|
+
delete<T extends cacheDeleteArgs>(args: Prisma.SelectSubset<T, cacheDeleteArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
428
|
+
/**
|
|
429
|
+
* Update one Cache.
|
|
430
|
+
* @param {cacheUpdateArgs} args - Arguments to update one Cache.
|
|
431
|
+
* @example
|
|
432
|
+
* // Update one Cache
|
|
433
|
+
* const cache = await prisma.cache.update({
|
|
434
|
+
* where: {
|
|
435
|
+
* // ... provide filter here
|
|
436
|
+
* },
|
|
437
|
+
* data: {
|
|
438
|
+
* // ... provide data here
|
|
439
|
+
* }
|
|
440
|
+
* })
|
|
441
|
+
*
|
|
442
|
+
*/
|
|
443
|
+
update<T extends cacheUpdateArgs>(args: Prisma.SelectSubset<T, cacheUpdateArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
444
|
+
/**
|
|
445
|
+
* Delete zero or more Caches.
|
|
446
|
+
* @param {cacheDeleteManyArgs} args - Arguments to filter Caches to delete.
|
|
447
|
+
* @example
|
|
448
|
+
* // Delete a few Caches
|
|
449
|
+
* const { count } = await prisma.cache.deleteMany({
|
|
450
|
+
* where: {
|
|
451
|
+
* // ... provide filter here
|
|
452
|
+
* }
|
|
453
|
+
* })
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
deleteMany<T extends cacheDeleteManyArgs>(args?: Prisma.SelectSubset<T, cacheDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
457
|
+
/**
|
|
458
|
+
* Update zero or more Caches.
|
|
459
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
460
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
461
|
+
* @param {cacheUpdateManyArgs} args - Arguments to update one or more rows.
|
|
462
|
+
* @example
|
|
463
|
+
* // Update many Caches
|
|
464
|
+
* const cache = await prisma.cache.updateMany({
|
|
465
|
+
* where: {
|
|
466
|
+
* // ... provide filter here
|
|
467
|
+
* },
|
|
468
|
+
* data: {
|
|
469
|
+
* // ... provide data here
|
|
470
|
+
* }
|
|
471
|
+
* })
|
|
472
|
+
*
|
|
473
|
+
*/
|
|
474
|
+
updateMany<T extends cacheUpdateManyArgs>(args: Prisma.SelectSubset<T, cacheUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
475
|
+
/**
|
|
476
|
+
* Update zero or more Caches and returns the data updated in the database.
|
|
477
|
+
* @param {cacheUpdateManyAndReturnArgs} args - Arguments to update many Caches.
|
|
478
|
+
* @example
|
|
479
|
+
* // Update many Caches
|
|
480
|
+
* const cache = await prisma.cache.updateManyAndReturn({
|
|
481
|
+
* where: {
|
|
482
|
+
* // ... provide filter here
|
|
483
|
+
* },
|
|
484
|
+
* data: [
|
|
485
|
+
* // ... provide data here
|
|
486
|
+
* ]
|
|
487
|
+
* })
|
|
488
|
+
*
|
|
489
|
+
* // Update zero or more Caches and only return the `key`
|
|
490
|
+
* const cacheWithKeyOnly = await prisma.cache.updateManyAndReturn({
|
|
491
|
+
* select: { key: true },
|
|
492
|
+
* where: {
|
|
493
|
+
* // ... provide filter here
|
|
494
|
+
* },
|
|
495
|
+
* data: [
|
|
496
|
+
* // ... provide data here
|
|
497
|
+
* ]
|
|
498
|
+
* })
|
|
499
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
500
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
501
|
+
*
|
|
502
|
+
*/
|
|
503
|
+
updateManyAndReturn<T extends cacheUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, cacheUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
504
|
+
/**
|
|
505
|
+
* Create or update one Cache.
|
|
506
|
+
* @param {cacheUpsertArgs} args - Arguments to update or create a Cache.
|
|
507
|
+
* @example
|
|
508
|
+
* // Update or create a Cache
|
|
509
|
+
* const cache = await prisma.cache.upsert({
|
|
510
|
+
* create: {
|
|
511
|
+
* // ... data to create a Cache
|
|
512
|
+
* },
|
|
513
|
+
* update: {
|
|
514
|
+
* // ... in case it already exists, update
|
|
515
|
+
* },
|
|
516
|
+
* where: {
|
|
517
|
+
* // ... the filter for the Cache we want to update
|
|
518
|
+
* }
|
|
519
|
+
* })
|
|
520
|
+
*/
|
|
521
|
+
upsert<T extends cacheUpsertArgs>(args: Prisma.SelectSubset<T, cacheUpsertArgs<ExtArgs>>): Prisma.Prisma__cacheClient<runtime.Types.Result.GetResult<Prisma.$cachePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
522
|
+
/**
|
|
523
|
+
* Count the number of Caches.
|
|
524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
526
|
+
* @param {cacheCountArgs} args - Arguments to filter Caches to count.
|
|
527
|
+
* @example
|
|
528
|
+
* // Count the number of Caches
|
|
529
|
+
* const count = await prisma.cache.count({
|
|
530
|
+
* where: {
|
|
531
|
+
* // ... the filter for the Caches we want to count
|
|
532
|
+
* }
|
|
533
|
+
* })
|
|
534
|
+
**/
|
|
535
|
+
count<T extends cacheCountArgs>(args?: Prisma.Subset<T, cacheCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CacheCountAggregateOutputType> : number>;
|
|
536
|
+
/**
|
|
537
|
+
* Allows you to perform aggregations operations on a Cache.
|
|
538
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
539
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
540
|
+
* @param {CacheAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
541
|
+
* @example
|
|
542
|
+
* // Ordered by age ascending
|
|
543
|
+
* // Where email contains prisma.io
|
|
544
|
+
* // Limited to the 10 users
|
|
545
|
+
* const aggregations = await prisma.user.aggregate({
|
|
546
|
+
* _avg: {
|
|
547
|
+
* age: true,
|
|
548
|
+
* },
|
|
549
|
+
* where: {
|
|
550
|
+
* email: {
|
|
551
|
+
* contains: "prisma.io",
|
|
552
|
+
* },
|
|
553
|
+
* },
|
|
554
|
+
* orderBy: {
|
|
555
|
+
* age: "asc",
|
|
556
|
+
* },
|
|
557
|
+
* take: 10,
|
|
558
|
+
* })
|
|
559
|
+
**/
|
|
560
|
+
aggregate<T extends CacheAggregateArgs>(args: Prisma.Subset<T, CacheAggregateArgs>): Prisma.PrismaPromise<GetCacheAggregateType<T>>;
|
|
561
|
+
/**
|
|
562
|
+
* Group by Cache.
|
|
563
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
564
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
565
|
+
* @param {cacheGroupByArgs} args - Group by arguments.
|
|
566
|
+
* @example
|
|
567
|
+
* // Group by city, order by createdAt, get count
|
|
568
|
+
* const result = await prisma.user.groupBy({
|
|
569
|
+
* by: ['city', 'createdAt'],
|
|
570
|
+
* orderBy: {
|
|
571
|
+
* createdAt: true
|
|
572
|
+
* },
|
|
573
|
+
* _count: {
|
|
574
|
+
* _all: true
|
|
575
|
+
* },
|
|
576
|
+
* })
|
|
577
|
+
*
|
|
578
|
+
**/
|
|
579
|
+
groupBy<T extends cacheGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
580
|
+
orderBy: cacheGroupByArgs['orderBy'];
|
|
581
|
+
} : {
|
|
582
|
+
orderBy?: cacheGroupByArgs['orderBy'];
|
|
583
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
584
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
585
|
+
Error,
|
|
586
|
+
'Field ',
|
|
587
|
+
P,
|
|
588
|
+
` in "having" needs to be provided in "by"`
|
|
589
|
+
];
|
|
590
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
591
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
592
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
593
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
594
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
595
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
596
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, cacheGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCacheGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
597
|
+
/**
|
|
598
|
+
* Fields of the cache model
|
|
599
|
+
*/
|
|
600
|
+
readonly fields: cacheFieldRefs;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* The delegate class that acts as a "Promise-like" for cache.
|
|
604
|
+
* Why is this prefixed with `Prisma__`?
|
|
605
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
606
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
607
|
+
*/
|
|
608
|
+
export interface Prisma__cacheClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
609
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
610
|
+
/**
|
|
611
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
612
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
613
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
614
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
615
|
+
*/
|
|
616
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
617
|
+
/**
|
|
618
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
619
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
620
|
+
* @returns A Promise for the completion of the callback.
|
|
621
|
+
*/
|
|
622
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
623
|
+
/**
|
|
624
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
625
|
+
* resolved value cannot be modified from the callback.
|
|
626
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
627
|
+
* @returns A Promise for the completion of the callback.
|
|
628
|
+
*/
|
|
629
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Fields of the cache model
|
|
633
|
+
*/
|
|
634
|
+
export interface cacheFieldRefs {
|
|
635
|
+
readonly key: Prisma.FieldRef<"cache", 'String'>;
|
|
636
|
+
readonly value: Prisma.FieldRef<"cache", 'String'>;
|
|
637
|
+
readonly expiration: Prisma.FieldRef<"cache", 'Int'>;
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* cache findUnique
|
|
641
|
+
*/
|
|
642
|
+
export type cacheFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
643
|
+
/**
|
|
644
|
+
* Select specific fields to fetch from the cache
|
|
645
|
+
*/
|
|
646
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
647
|
+
/**
|
|
648
|
+
* Omit specific fields from the cache
|
|
649
|
+
*/
|
|
650
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
651
|
+
/**
|
|
652
|
+
* Filter, which cache to fetch.
|
|
653
|
+
*/
|
|
654
|
+
where: Prisma.cacheWhereUniqueInput;
|
|
655
|
+
};
|
|
656
|
+
/**
|
|
657
|
+
* cache findUniqueOrThrow
|
|
658
|
+
*/
|
|
659
|
+
export type cacheFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
660
|
+
/**
|
|
661
|
+
* Select specific fields to fetch from the cache
|
|
662
|
+
*/
|
|
663
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
664
|
+
/**
|
|
665
|
+
* Omit specific fields from the cache
|
|
666
|
+
*/
|
|
667
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
668
|
+
/**
|
|
669
|
+
* Filter, which cache to fetch.
|
|
670
|
+
*/
|
|
671
|
+
where: Prisma.cacheWhereUniqueInput;
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
* cache findFirst
|
|
675
|
+
*/
|
|
676
|
+
export type cacheFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
677
|
+
/**
|
|
678
|
+
* Select specific fields to fetch from the cache
|
|
679
|
+
*/
|
|
680
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
681
|
+
/**
|
|
682
|
+
* Omit specific fields from the cache
|
|
683
|
+
*/
|
|
684
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
685
|
+
/**
|
|
686
|
+
* Filter, which cache to fetch.
|
|
687
|
+
*/
|
|
688
|
+
where?: Prisma.cacheWhereInput;
|
|
689
|
+
/**
|
|
690
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
691
|
+
*
|
|
692
|
+
* Determine the order of caches to fetch.
|
|
693
|
+
*/
|
|
694
|
+
orderBy?: Prisma.cacheOrderByWithRelationInput | Prisma.cacheOrderByWithRelationInput[];
|
|
695
|
+
/**
|
|
696
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
697
|
+
*
|
|
698
|
+
* Sets the position for searching for caches.
|
|
699
|
+
*/
|
|
700
|
+
cursor?: Prisma.cacheWhereUniqueInput;
|
|
701
|
+
/**
|
|
702
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
703
|
+
*
|
|
704
|
+
* Take `±n` caches from the position of the cursor.
|
|
705
|
+
*/
|
|
706
|
+
take?: number;
|
|
707
|
+
/**
|
|
708
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
709
|
+
*
|
|
710
|
+
* Skip the first `n` caches.
|
|
711
|
+
*/
|
|
712
|
+
skip?: number;
|
|
713
|
+
/**
|
|
714
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
715
|
+
*
|
|
716
|
+
* Filter by unique combinations of caches.
|
|
717
|
+
*/
|
|
718
|
+
distinct?: Prisma.CacheScalarFieldEnum | Prisma.CacheScalarFieldEnum[];
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* cache findFirstOrThrow
|
|
722
|
+
*/
|
|
723
|
+
export type cacheFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
724
|
+
/**
|
|
725
|
+
* Select specific fields to fetch from the cache
|
|
726
|
+
*/
|
|
727
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
728
|
+
/**
|
|
729
|
+
* Omit specific fields from the cache
|
|
730
|
+
*/
|
|
731
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
732
|
+
/**
|
|
733
|
+
* Filter, which cache to fetch.
|
|
734
|
+
*/
|
|
735
|
+
where?: Prisma.cacheWhereInput;
|
|
736
|
+
/**
|
|
737
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
738
|
+
*
|
|
739
|
+
* Determine the order of caches to fetch.
|
|
740
|
+
*/
|
|
741
|
+
orderBy?: Prisma.cacheOrderByWithRelationInput | Prisma.cacheOrderByWithRelationInput[];
|
|
742
|
+
/**
|
|
743
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
744
|
+
*
|
|
745
|
+
* Sets the position for searching for caches.
|
|
746
|
+
*/
|
|
747
|
+
cursor?: Prisma.cacheWhereUniqueInput;
|
|
748
|
+
/**
|
|
749
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
750
|
+
*
|
|
751
|
+
* Take `±n` caches from the position of the cursor.
|
|
752
|
+
*/
|
|
753
|
+
take?: number;
|
|
754
|
+
/**
|
|
755
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
756
|
+
*
|
|
757
|
+
* Skip the first `n` caches.
|
|
758
|
+
*/
|
|
759
|
+
skip?: number;
|
|
760
|
+
/**
|
|
761
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
762
|
+
*
|
|
763
|
+
* Filter by unique combinations of caches.
|
|
764
|
+
*/
|
|
765
|
+
distinct?: Prisma.CacheScalarFieldEnum | Prisma.CacheScalarFieldEnum[];
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
* cache findMany
|
|
769
|
+
*/
|
|
770
|
+
export type cacheFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
771
|
+
/**
|
|
772
|
+
* Select specific fields to fetch from the cache
|
|
773
|
+
*/
|
|
774
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
775
|
+
/**
|
|
776
|
+
* Omit specific fields from the cache
|
|
777
|
+
*/
|
|
778
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
779
|
+
/**
|
|
780
|
+
* Filter, which caches to fetch.
|
|
781
|
+
*/
|
|
782
|
+
where?: Prisma.cacheWhereInput;
|
|
783
|
+
/**
|
|
784
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
785
|
+
*
|
|
786
|
+
* Determine the order of caches to fetch.
|
|
787
|
+
*/
|
|
788
|
+
orderBy?: Prisma.cacheOrderByWithRelationInput | Prisma.cacheOrderByWithRelationInput[];
|
|
789
|
+
/**
|
|
790
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
791
|
+
*
|
|
792
|
+
* Sets the position for listing caches.
|
|
793
|
+
*/
|
|
794
|
+
cursor?: Prisma.cacheWhereUniqueInput;
|
|
795
|
+
/**
|
|
796
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
797
|
+
*
|
|
798
|
+
* Take `±n` caches from the position of the cursor.
|
|
799
|
+
*/
|
|
800
|
+
take?: number;
|
|
801
|
+
/**
|
|
802
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
803
|
+
*
|
|
804
|
+
* Skip the first `n` caches.
|
|
805
|
+
*/
|
|
806
|
+
skip?: number;
|
|
807
|
+
distinct?: Prisma.CacheScalarFieldEnum | Prisma.CacheScalarFieldEnum[];
|
|
808
|
+
};
|
|
809
|
+
/**
|
|
810
|
+
* cache create
|
|
811
|
+
*/
|
|
812
|
+
export type cacheCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
813
|
+
/**
|
|
814
|
+
* Select specific fields to fetch from the cache
|
|
815
|
+
*/
|
|
816
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
817
|
+
/**
|
|
818
|
+
* Omit specific fields from the cache
|
|
819
|
+
*/
|
|
820
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
821
|
+
/**
|
|
822
|
+
* The data needed to create a cache.
|
|
823
|
+
*/
|
|
824
|
+
data: Prisma.XOR<Prisma.cacheCreateInput, Prisma.cacheUncheckedCreateInput>;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* cache createMany
|
|
828
|
+
*/
|
|
829
|
+
export type cacheCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
830
|
+
/**
|
|
831
|
+
* The data used to create many caches.
|
|
832
|
+
*/
|
|
833
|
+
data: Prisma.cacheCreateManyInput | Prisma.cacheCreateManyInput[];
|
|
834
|
+
skipDuplicates?: boolean;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* cache createManyAndReturn
|
|
838
|
+
*/
|
|
839
|
+
export type cacheCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
840
|
+
/**
|
|
841
|
+
* Select specific fields to fetch from the cache
|
|
842
|
+
*/
|
|
843
|
+
select?: Prisma.cacheSelectCreateManyAndReturn<ExtArgs> | null;
|
|
844
|
+
/**
|
|
845
|
+
* Omit specific fields from the cache
|
|
846
|
+
*/
|
|
847
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
848
|
+
/**
|
|
849
|
+
* The data used to create many caches.
|
|
850
|
+
*/
|
|
851
|
+
data: Prisma.cacheCreateManyInput | Prisma.cacheCreateManyInput[];
|
|
852
|
+
skipDuplicates?: boolean;
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* cache update
|
|
856
|
+
*/
|
|
857
|
+
export type cacheUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
858
|
+
/**
|
|
859
|
+
* Select specific fields to fetch from the cache
|
|
860
|
+
*/
|
|
861
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
862
|
+
/**
|
|
863
|
+
* Omit specific fields from the cache
|
|
864
|
+
*/
|
|
865
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
866
|
+
/**
|
|
867
|
+
* The data needed to update a cache.
|
|
868
|
+
*/
|
|
869
|
+
data: Prisma.XOR<Prisma.cacheUpdateInput, Prisma.cacheUncheckedUpdateInput>;
|
|
870
|
+
/**
|
|
871
|
+
* Choose, which cache to update.
|
|
872
|
+
*/
|
|
873
|
+
where: Prisma.cacheWhereUniqueInput;
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* cache updateMany
|
|
877
|
+
*/
|
|
878
|
+
export type cacheUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
879
|
+
/**
|
|
880
|
+
* The data used to update caches.
|
|
881
|
+
*/
|
|
882
|
+
data: Prisma.XOR<Prisma.cacheUpdateManyMutationInput, Prisma.cacheUncheckedUpdateManyInput>;
|
|
883
|
+
/**
|
|
884
|
+
* Filter which caches to update
|
|
885
|
+
*/
|
|
886
|
+
where?: Prisma.cacheWhereInput;
|
|
887
|
+
/**
|
|
888
|
+
* Limit how many caches to update.
|
|
889
|
+
*/
|
|
890
|
+
limit?: number;
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
* cache updateManyAndReturn
|
|
894
|
+
*/
|
|
895
|
+
export type cacheUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
896
|
+
/**
|
|
897
|
+
* Select specific fields to fetch from the cache
|
|
898
|
+
*/
|
|
899
|
+
select?: Prisma.cacheSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Omit specific fields from the cache
|
|
902
|
+
*/
|
|
903
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* The data used to update caches.
|
|
906
|
+
*/
|
|
907
|
+
data: Prisma.XOR<Prisma.cacheUpdateManyMutationInput, Prisma.cacheUncheckedUpdateManyInput>;
|
|
908
|
+
/**
|
|
909
|
+
* Filter which caches to update
|
|
910
|
+
*/
|
|
911
|
+
where?: Prisma.cacheWhereInput;
|
|
912
|
+
/**
|
|
913
|
+
* Limit how many caches to update.
|
|
914
|
+
*/
|
|
915
|
+
limit?: number;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* cache upsert
|
|
919
|
+
*/
|
|
920
|
+
export type cacheUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
921
|
+
/**
|
|
922
|
+
* Select specific fields to fetch from the cache
|
|
923
|
+
*/
|
|
924
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Omit specific fields from the cache
|
|
927
|
+
*/
|
|
928
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* The filter to search for the cache to update in case it exists.
|
|
931
|
+
*/
|
|
932
|
+
where: Prisma.cacheWhereUniqueInput;
|
|
933
|
+
/**
|
|
934
|
+
* In case the cache found by the `where` argument doesn't exist, create a new cache with this data.
|
|
935
|
+
*/
|
|
936
|
+
create: Prisma.XOR<Prisma.cacheCreateInput, Prisma.cacheUncheckedCreateInput>;
|
|
937
|
+
/**
|
|
938
|
+
* In case the cache was found with the provided `where` argument, update it with this data.
|
|
939
|
+
*/
|
|
940
|
+
update: Prisma.XOR<Prisma.cacheUpdateInput, Prisma.cacheUncheckedUpdateInput>;
|
|
941
|
+
};
|
|
942
|
+
/**
|
|
943
|
+
* cache delete
|
|
944
|
+
*/
|
|
945
|
+
export type cacheDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
946
|
+
/**
|
|
947
|
+
* Select specific fields to fetch from the cache
|
|
948
|
+
*/
|
|
949
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* Omit specific fields from the cache
|
|
952
|
+
*/
|
|
953
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
954
|
+
/**
|
|
955
|
+
* Filter which cache to delete.
|
|
956
|
+
*/
|
|
957
|
+
where: Prisma.cacheWhereUniqueInput;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* cache deleteMany
|
|
961
|
+
*/
|
|
962
|
+
export type cacheDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
/**
|
|
964
|
+
* Filter which caches to delete
|
|
965
|
+
*/
|
|
966
|
+
where?: Prisma.cacheWhereInput;
|
|
967
|
+
/**
|
|
968
|
+
* Limit how many caches to delete.
|
|
969
|
+
*/
|
|
970
|
+
limit?: number;
|
|
971
|
+
};
|
|
972
|
+
/**
|
|
973
|
+
* cache without action
|
|
974
|
+
*/
|
|
975
|
+
export type cacheDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
+
/**
|
|
977
|
+
* Select specific fields to fetch from the cache
|
|
978
|
+
*/
|
|
979
|
+
select?: Prisma.cacheSelect<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Omit specific fields from the cache
|
|
982
|
+
*/
|
|
983
|
+
omit?: Prisma.cacheOmit<ExtArgs> | null;
|
|
984
|
+
};
|
|
985
|
+
export {};
|
|
986
|
+
//# sourceMappingURL=cache.d.ts.map
|