@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,395 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./internal/prismaNamespace";
|
|
3
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
4
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
5
|
+
in?: number[];
|
|
6
|
+
notIn?: number[];
|
|
7
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
8
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
9
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
10
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
11
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
12
|
+
};
|
|
13
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
14
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
15
|
+
in?: string[];
|
|
16
|
+
notIn?: string[];
|
|
17
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
18
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
19
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
20
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
21
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
22
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
23
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
24
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
25
|
+
};
|
|
26
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
27
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
28
|
+
in?: string[] | null;
|
|
29
|
+
notIn?: string[] | null;
|
|
30
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
31
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
32
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
33
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
34
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
35
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
36
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
37
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
38
|
+
};
|
|
39
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
40
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
41
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
|
|
42
|
+
};
|
|
43
|
+
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
44
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
45
|
+
in?: Date[] | string[] | null;
|
|
46
|
+
notIn?: Date[] | string[] | null;
|
|
47
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
48
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
49
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
50
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
51
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
|
|
52
|
+
};
|
|
53
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
54
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
55
|
+
in?: Date[] | string[];
|
|
56
|
+
notIn?: Date[] | string[];
|
|
57
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
58
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
59
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
60
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
61
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
62
|
+
};
|
|
63
|
+
export type SortOrderInput = {
|
|
64
|
+
sort: Prisma.SortOrder;
|
|
65
|
+
nulls?: Prisma.NullsOrder;
|
|
66
|
+
};
|
|
67
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
68
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
69
|
+
in?: number[];
|
|
70
|
+
notIn?: number[];
|
|
71
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
72
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
73
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
74
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
75
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
76
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
77
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
78
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
79
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
80
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
81
|
+
};
|
|
82
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
83
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
84
|
+
in?: string[];
|
|
85
|
+
notIn?: string[];
|
|
86
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
87
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
88
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
89
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
90
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
91
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
92
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
93
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
94
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
95
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
96
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
97
|
+
};
|
|
98
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
99
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
100
|
+
in?: string[] | null;
|
|
101
|
+
notIn?: string[] | null;
|
|
102
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
103
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
104
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
105
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
106
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
107
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
108
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
109
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
110
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
111
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
112
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
113
|
+
};
|
|
114
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
115
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
116
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
|
|
117
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
118
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
119
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
120
|
+
};
|
|
121
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
122
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
123
|
+
in?: Date[] | string[] | null;
|
|
124
|
+
notIn?: Date[] | string[] | null;
|
|
125
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
126
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
127
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
128
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
129
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
|
|
130
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
131
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
132
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
133
|
+
};
|
|
134
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
135
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
136
|
+
in?: Date[] | string[];
|
|
137
|
+
notIn?: Date[] | string[];
|
|
138
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
139
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
140
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
141
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
142
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
143
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
144
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
145
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
146
|
+
};
|
|
147
|
+
export type JsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>, Required<JsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
148
|
+
export type JsonFilterBase<$PrismaModel = never> = {
|
|
149
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
150
|
+
path?: string;
|
|
151
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
152
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
153
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
154
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
155
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
156
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
157
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
158
|
+
};
|
|
159
|
+
export type JsonWithAggregatesFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>, Required<JsonWithAggregatesFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>;
|
|
160
|
+
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
161
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
162
|
+
path?: string;
|
|
163
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
164
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
165
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
166
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
167
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
168
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
169
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
170
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
171
|
+
_min?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
172
|
+
_max?: Prisma.NestedJsonFilter<$PrismaModel>;
|
|
173
|
+
};
|
|
174
|
+
export type IntNullableFilter<$PrismaModel = never> = {
|
|
175
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
176
|
+
in?: number[] | null;
|
|
177
|
+
notIn?: number[] | null;
|
|
178
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
179
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
180
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
181
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
182
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
183
|
+
};
|
|
184
|
+
export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
185
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
186
|
+
in?: number[] | null;
|
|
187
|
+
notIn?: number[] | null;
|
|
188
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
189
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
190
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
191
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
192
|
+
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
|
|
193
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
194
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
|
|
195
|
+
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
196
|
+
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
197
|
+
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
198
|
+
};
|
|
199
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
200
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
201
|
+
in?: number[];
|
|
202
|
+
notIn?: number[];
|
|
203
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
204
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
205
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
206
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
207
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number;
|
|
208
|
+
};
|
|
209
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
210
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
211
|
+
in?: string[];
|
|
212
|
+
notIn?: string[];
|
|
213
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
214
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
215
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
216
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
217
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
218
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
219
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
220
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string;
|
|
221
|
+
};
|
|
222
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
223
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
224
|
+
in?: string[] | null;
|
|
225
|
+
notIn?: string[] | null;
|
|
226
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
227
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
228
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
229
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
230
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
231
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
232
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
233
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
|
|
234
|
+
};
|
|
235
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
236
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
237
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
|
|
238
|
+
};
|
|
239
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
240
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
241
|
+
in?: Date[] | string[] | null;
|
|
242
|
+
notIn?: Date[] | string[] | null;
|
|
243
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
244
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
245
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
246
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
247
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
|
|
248
|
+
};
|
|
249
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
250
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
251
|
+
in?: Date[] | string[];
|
|
252
|
+
notIn?: Date[] | string[];
|
|
253
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
254
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
255
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
256
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
257
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
|
|
258
|
+
};
|
|
259
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
260
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
261
|
+
in?: number[];
|
|
262
|
+
notIn?: number[];
|
|
263
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
264
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
265
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
266
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
267
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
|
|
268
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
269
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>;
|
|
270
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
271
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
272
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
273
|
+
};
|
|
274
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
275
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
276
|
+
in?: number[];
|
|
277
|
+
notIn?: number[];
|
|
278
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
279
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
280
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
281
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
282
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
|
|
283
|
+
};
|
|
284
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
285
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
286
|
+
in?: string[];
|
|
287
|
+
notIn?: string[];
|
|
288
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
289
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
290
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
291
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
292
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
293
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
294
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
295
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
|
|
296
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
297
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
298
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>;
|
|
299
|
+
};
|
|
300
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
301
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
302
|
+
in?: string[] | null;
|
|
303
|
+
notIn?: string[] | null;
|
|
304
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
305
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
306
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
307
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
308
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
309
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
310
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
311
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
|
|
312
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
313
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
314
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
|
|
315
|
+
};
|
|
316
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
317
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
318
|
+
in?: number[] | null;
|
|
319
|
+
notIn?: number[] | null;
|
|
320
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
321
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
322
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
323
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
324
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
|
|
325
|
+
};
|
|
326
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
327
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
|
|
328
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
|
|
329
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
330
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
331
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>;
|
|
332
|
+
};
|
|
333
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
334
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
|
|
335
|
+
in?: Date[] | string[] | null;
|
|
336
|
+
notIn?: Date[] | string[] | null;
|
|
337
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
338
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
339
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
340
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
341
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
|
|
342
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
343
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
344
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
|
|
345
|
+
};
|
|
346
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
347
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
348
|
+
in?: Date[] | string[];
|
|
349
|
+
notIn?: Date[] | string[];
|
|
350
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
351
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
352
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
353
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
|
|
354
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
|
|
355
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
356
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
357
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
|
|
358
|
+
};
|
|
359
|
+
export type NestedJsonFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>, Required<NestedJsonFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>;
|
|
360
|
+
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|
361
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
362
|
+
path?: string;
|
|
363
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>;
|
|
364
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
365
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
366
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
367
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
368
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
369
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
|
|
370
|
+
};
|
|
371
|
+
export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
372
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
|
|
373
|
+
in?: number[] | null;
|
|
374
|
+
notIn?: number[] | null;
|
|
375
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
376
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
377
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
378
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
|
|
379
|
+
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
|
|
380
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
381
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
|
|
382
|
+
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
383
|
+
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
384
|
+
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
385
|
+
};
|
|
386
|
+
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
387
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null;
|
|
388
|
+
in?: number[] | null;
|
|
389
|
+
notIn?: number[] | null;
|
|
390
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
391
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
392
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
393
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
394
|
+
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null;
|
|
395
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
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 various common sort, input & filter types that are not directly linked to a particular model.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
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 all enum related types from the schema.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "./prismaNamespace";
|
|
3
|
+
export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
|
|
4
|
+
export interface PrismaClientConstructor {
|
|
5
|
+
/**
|
|
6
|
+
* ## Prisma Client
|
|
7
|
+
*
|
|
8
|
+
* Type-safe database client for TypeScript
|
|
9
|
+
* @example
|
|
10
|
+
* ```
|
|
11
|
+
* const prisma = new PrismaClient({
|
|
12
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
13
|
+
* })
|
|
14
|
+
* // Fetch zero or more ApiKeys
|
|
15
|
+
* const apiKeys = await prisma.apiKey.findMany()
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
19
|
+
*/
|
|
20
|
+
new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
|
|
21
|
+
omit: infer U;
|
|
22
|
+
} ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ## Prisma Client
|
|
26
|
+
*
|
|
27
|
+
* Type-safe database client for TypeScript
|
|
28
|
+
* @example
|
|
29
|
+
* ```
|
|
30
|
+
* const prisma = new PrismaClient({
|
|
31
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
32
|
+
* })
|
|
33
|
+
* // Fetch zero or more ApiKeys
|
|
34
|
+
* const apiKeys = await prisma.apiKey.findMany()
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
38
|
+
*/
|
|
39
|
+
export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
|
|
40
|
+
[K: symbol]: {
|
|
41
|
+
types: Prisma.TypeMap<ExtArgs>['other'];
|
|
42
|
+
};
|
|
43
|
+
$on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
44
|
+
/**
|
|
45
|
+
* Connect with the database
|
|
46
|
+
*/
|
|
47
|
+
$connect(): runtime.Types.Utils.JsPromise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Disconnect from the database
|
|
50
|
+
*/
|
|
51
|
+
$disconnect(): runtime.Types.Utils.JsPromise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Executes a prepared raw query and returns the number of affected rows.
|
|
54
|
+
* @example
|
|
55
|
+
* ```
|
|
56
|
+
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
60
|
+
*/
|
|
61
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
62
|
+
/**
|
|
63
|
+
* Executes a raw query and returns the number of affected rows.
|
|
64
|
+
* Susceptible to SQL injections, see documentation.
|
|
65
|
+
* @example
|
|
66
|
+
* ```
|
|
67
|
+
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
71
|
+
*/
|
|
72
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Performs a prepared raw query and returns the `SELECT` data.
|
|
75
|
+
* @example
|
|
76
|
+
* ```
|
|
77
|
+
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
81
|
+
*/
|
|
82
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
83
|
+
/**
|
|
84
|
+
* Performs a raw query and returns the `SELECT` data.
|
|
85
|
+
* Susceptible to SQL injections, see documentation.
|
|
86
|
+
* @example
|
|
87
|
+
* ```
|
|
88
|
+
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
92
|
+
*/
|
|
93
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
94
|
+
/**
|
|
95
|
+
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
96
|
+
* @example
|
|
97
|
+
* ```
|
|
98
|
+
* const [george, bob, alice] = await prisma.$transaction([
|
|
99
|
+
* prisma.user.create({ data: { name: 'George' } }),
|
|
100
|
+
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
101
|
+
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
102
|
+
* ])
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions).
|
|
106
|
+
*/
|
|
107
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
|
|
108
|
+
maxWait?: number;
|
|
109
|
+
timeout?: number;
|
|
110
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
111
|
+
}): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
|
|
112
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
|
|
113
|
+
maxWait?: number;
|
|
114
|
+
timeout?: number;
|
|
115
|
+
isolationLevel?: Prisma.TransactionIsolationLevel;
|
|
116
|
+
}): runtime.Types.Utils.JsPromise<R>;
|
|
117
|
+
$extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
|
|
118
|
+
extArgs: ExtArgs;
|
|
119
|
+
}>>;
|
|
120
|
+
/**
|
|
121
|
+
* `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
|
|
122
|
+
* Example usage:
|
|
123
|
+
* ```ts
|
|
124
|
+
* // Fetch zero or more ApiKeys
|
|
125
|
+
* const apiKeys = await prisma.apiKey.findMany()
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get apiKey(): Prisma.ApiKeyDelegate<ExtArgs, {
|
|
129
|
+
omit: OmitOpts;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* `prisma.oneTimeToken`: Exposes CRUD operations for the **OneTimeToken** model.
|
|
133
|
+
* Example usage:
|
|
134
|
+
* ```ts
|
|
135
|
+
* // Fetch zero or more OneTimeTokens
|
|
136
|
+
* const oneTimeTokens = await prisma.oneTimeToken.findMany()
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
get oneTimeToken(): Prisma.OneTimeTokenDelegate<ExtArgs, {
|
|
140
|
+
omit: OmitOpts;
|
|
141
|
+
}>;
|
|
142
|
+
/**
|
|
143
|
+
* `prisma.permission`: Exposes CRUD operations for the **Permission** model.
|
|
144
|
+
* Example usage:
|
|
145
|
+
* ```ts
|
|
146
|
+
* // Fetch zero or more Permissions
|
|
147
|
+
* const permissions = await prisma.permission.findMany()
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
get permission(): Prisma.PermissionDelegate<ExtArgs, {
|
|
151
|
+
omit: OmitOpts;
|
|
152
|
+
}>;
|
|
153
|
+
/**
|
|
154
|
+
* `prisma.role`: Exposes CRUD operations for the **Role** model.
|
|
155
|
+
* Example usage:
|
|
156
|
+
* ```ts
|
|
157
|
+
* // Fetch zero or more Roles
|
|
158
|
+
* const roles = await prisma.role.findMany()
|
|
159
|
+
* ```
|
|
160
|
+
*/
|
|
161
|
+
get role(): Prisma.RoleDelegate<ExtArgs, {
|
|
162
|
+
omit: OmitOpts;
|
|
163
|
+
}>;
|
|
164
|
+
/**
|
|
165
|
+
* `prisma.seeder`: Exposes CRUD operations for the **Seeder** model.
|
|
166
|
+
* Example usage:
|
|
167
|
+
* ```ts
|
|
168
|
+
* // Fetch zero or more Seeders
|
|
169
|
+
* const seeders = await prisma.seeder.findMany()
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
get seeder(): Prisma.SeederDelegate<ExtArgs, {
|
|
173
|
+
omit: OmitOpts;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* `prisma.file`: Exposes CRUD operations for the **File** model.
|
|
177
|
+
* Example usage:
|
|
178
|
+
* ```ts
|
|
179
|
+
* // Fetch zero or more Files
|
|
180
|
+
* const files = await prisma.file.findMany()
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
get file(): Prisma.FileDelegate<ExtArgs, {
|
|
184
|
+
omit: OmitOpts;
|
|
185
|
+
}>;
|
|
186
|
+
}
|
|
187
|
+
export declare function getPrismaClientClass(): PrismaClientConstructor;
|