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