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