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