create-zhx-monorepo 0.1.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/README.md +34 -0
- package/bin/index.js +65 -0
- package/package.json +18 -0
- package/templates/monorepo-starter/.vscode/settings.json +3 -0
- package/templates/monorepo-starter/README.md +42 -0
- package/templates/monorepo-starter/apps/web/components.json +20 -0
- package/templates/monorepo-starter/apps/web/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/apps/web/next-env.d.ts +6 -0
- package/templates/monorepo-starter/apps/web/next.config.mjs +6 -0
- package/templates/monorepo-starter/apps/web/package.json +31 -0
- package/templates/monorepo-starter/apps/web/postcss.config.mjs +1 -0
- package/templates/monorepo-starter/apps/web/public/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/sitemap.config.cjs +6 -0
- package/templates/monorepo-starter/apps/web/src/app/(auth)/layout.tsx +7 -0
- package/templates/monorepo-starter/apps/web/src/app/(root)/layout.tsx +15 -0
- package/templates/monorepo-starter/apps/web/src/app/(root)/page.tsx +14 -0
- package/templates/monorepo-starter/apps/web/src/app/globals.css +1 -0
- package/templates/monorepo-starter/apps/web/src/app/layout.tsx +24 -0
- package/templates/monorepo-starter/apps/web/src/components/Footer.tsx +9 -0
- package/templates/monorepo-starter/apps/web/src/components/Header.tsx +11 -0
- package/templates/monorepo-starter/apps/web/src/components/ThemeSwitch.tsx +34 -0
- package/templates/monorepo-starter/apps/web/src/hooks/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/src/lib/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/src/providers/index.tsx +10 -0
- package/templates/monorepo-starter/apps/web/src/providers/theme.tsx +19 -0
- package/templates/monorepo-starter/apps/web/src/types/index.d.ts +16 -0
- package/templates/monorepo-starter/apps/web/tsconfig.json +20 -0
- package/templates/monorepo-starter/eslint.config.mjs +12 -0
- package/templates/monorepo-starter/package.json +23 -0
- package/templates/monorepo-starter/packages/config/eslint/base.js +31 -0
- package/templates/monorepo-starter/packages/config/eslint/nest.js +26 -0
- package/templates/monorepo-starter/packages/config/eslint/next.js +39 -0
- package/templates/monorepo-starter/packages/config/eslint/react.js +30 -0
- package/templates/monorepo-starter/packages/config/package.json +32 -0
- package/templates/monorepo-starter/packages/config/typescript/base.json +31 -0
- package/templates/monorepo-starter/packages/config/typescript/nest.json +14 -0
- package/templates/monorepo-starter/packages/config/typescript/next.json +10 -0
- package/templates/monorepo-starter/packages/config/typescript/react.json +9 -0
- package/templates/monorepo-starter/packages/ui/components.json +20 -0
- package/templates/monorepo-starter/packages/ui/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/packages/ui/package.json +38 -0
- package/templates/monorepo-starter/packages/ui/postcss.config.mjs +6 -0
- package/templates/monorepo-starter/packages/ui/src/components/button.tsx +71 -0
- package/templates/monorepo-starter/packages/ui/src/hooks/.gitkeep +0 -0
- package/templates/monorepo-starter/packages/ui/src/lib/utils.ts +6 -0
- package/templates/monorepo-starter/packages/ui/src/styles/globals.css +182 -0
- package/templates/monorepo-starter/packages/ui/tsconfig.json +13 -0
- package/templates/monorepo-starter/packages/ui/tsconfig.lint.json +8 -0
- package/templates/monorepo-starter/pnpm-lock.yaml +12441 -0
- package/templates/monorepo-starter/pnpm-workspace.yaml +17 -0
- package/templates/monorepo-starter/server/.env.example +64 -0
- package/templates/monorepo-starter/server/README.md +63 -0
- package/templates/monorepo-starter/server/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/server/nest-cli.json +12 -0
- package/templates/monorepo-starter/server/package.json +97 -0
- package/templates/monorepo-starter/server/prisma/generated/browser.ts +54 -0
- package/templates/monorepo-starter/server/prisma/generated/client.ts +76 -0
- package/templates/monorepo-starter/server/prisma/generated/commonInputTypes.ts +577 -0
- package/templates/monorepo-starter/server/prisma/generated/enums.ts +68 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/class.ts +250 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespace.ts +1436 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespaceBrowser.ts +227 -0
- package/templates/monorepo-starter/server/prisma/generated/models/BackupCode.ts +1375 -0
- package/templates/monorepo-starter/server/prisma/generated/models/Notification.ts +1587 -0
- package/templates/monorepo-starter/server/prisma/generated/models/Otp.ts +1488 -0
- package/templates/monorepo-starter/server/prisma/generated/models/RefreshToken.ts +1515 -0
- package/templates/monorepo-starter/server/prisma/generated/models/RoleAssignment.ts +1385 -0
- package/templates/monorepo-starter/server/prisma/generated/models/SecuritySetting.ts +1422 -0
- package/templates/monorepo-starter/server/prisma/generated/models/User.ts +2498 -0
- package/templates/monorepo-starter/server/prisma/generated/models.ts +18 -0
- package/templates/monorepo-starter/server/prisma/migrations/20251218164821_init/migration.sql +210 -0
- package/templates/monorepo-starter/server/prisma/migrations/migration_lock.toml +3 -0
- package/templates/monorepo-starter/server/prisma/schema.prisma +193 -0
- package/templates/monorepo-starter/server/prisma.config.ts +13 -0
- package/templates/monorepo-starter/server/scripts/generate.sh +14 -0
- package/templates/monorepo-starter/server/src/app.module.ts +49 -0
- package/templates/monorepo-starter/server/src/lib/decorators/logger.decorator.ts +20 -0
- package/templates/monorepo-starter/server/src/lib/decorators/public.decorator.ts +4 -0
- package/templates/monorepo-starter/server/src/lib/decorators/roles.decorator.ts +5 -0
- package/templates/monorepo-starter/server/src/lib/dto/auth.dto.ts +64 -0
- package/templates/monorepo-starter/server/src/lib/dto/security-setting.dto.ts +21 -0
- package/templates/monorepo-starter/server/src/lib/filters/exceptions.filter.ts +62 -0
- package/templates/monorepo-starter/server/src/lib/guards/auth.guard.ts +104 -0
- package/templates/monorepo-starter/server/src/lib/interceptors/response.interceptor.ts +33 -0
- package/templates/monorepo-starter/server/src/lib/pipes/validation.pipe.ts +7 -0
- package/templates/monorepo-starter/server/src/lib/schemas/env.schema.ts +99 -0
- package/templates/monorepo-starter/server/src/lib/utils/cookie.util.ts +23 -0
- package/templates/monorepo-starter/server/src/lib/utils/general.util.ts +24 -0
- package/templates/monorepo-starter/server/src/main.ts +41 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.controller.ts +74 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.module.ts +16 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.service.ts +525 -0
- package/templates/monorepo-starter/server/src/modules/auth/oauth.controller.ts +58 -0
- package/templates/monorepo-starter/server/src/modules/auth/oauth.service.ts +165 -0
- package/templates/monorepo-starter/server/src/modules/auth/otp.service.ts +133 -0
- package/templates/monorepo-starter/server/src/modules/auth/role.service.ts +99 -0
- package/templates/monorepo-starter/server/src/modules/auth/security-setting.service.ts +102 -0
- package/templates/monorepo-starter/server/src/modules/env/env.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/env/env.service.ts +22 -0
- package/templates/monorepo-starter/server/src/modules/logger/logger.module.ts +12 -0
- package/templates/monorepo-starter/server/src/modules/logger/logger.service.ts +37 -0
- package/templates/monorepo-starter/server/src/modules/logger/winston.config.ts +32 -0
- package/templates/monorepo-starter/server/src/modules/notification/notification.module.ts +11 -0
- package/templates/monorepo-starter/server/src/modules/notification/notification.service.ts +118 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.extension.ts +72 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.service.ts +49 -0
- package/templates/monorepo-starter/server/src/modules/public/public.controller.ts +21 -0
- package/templates/monorepo-starter/server/src/modules/public/public.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/public/public.service.ts +30 -0
- package/templates/monorepo-starter/server/src/modules/scheduler/cleanup.service.ts +33 -0
- package/templates/monorepo-starter/server/src/modules/scheduler/scheduler.module.ts +7 -0
- package/templates/monorepo-starter/server/src/modules/template/template.module.ts +8 -0
- package/templates/monorepo-starter/server/src/modules/template/template.service.ts +33 -0
- package/templates/monorepo-starter/server/src/modules/token/token.module.ts +11 -0
- package/templates/monorepo-starter/server/src/modules/token/token.service.ts +131 -0
- package/templates/monorepo-starter/server/src/types/express.d.ts +10 -0
- package/templates/monorepo-starter/server/src/types/index.d.ts +13 -0
- package/templates/monorepo-starter/server/templates/notification.templates.ts +243 -0
- package/templates/monorepo-starter/server/test/app.e2e-spec.ts +25 -0
- package/templates/monorepo-starter/server/test/jest-e2e.json +9 -0
- package/templates/monorepo-starter/server/tsconfig.json +23 -0
- package/templates/monorepo-starter/server/tsup.config.ts +14 -0
- package/templates/monorepo-starter/tsconfig.json +3 -0
- package/templates/monorepo-starter/turbo.json +21 -0
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports 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
|
+
|
|
12
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import * as $Enums from "./enums"
|
|
14
|
+
import type * as Prisma from "./internal/prismaNamespace"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
18
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
19
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
20
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
21
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
22
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
23
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
24
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
25
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
26
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
27
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
28
|
+
mode?: Prisma.QueryMode
|
|
29
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
33
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
34
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
35
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
36
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
37
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
38
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
39
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
40
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
41
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
42
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
43
|
+
mode?: Prisma.QueryMode
|
|
44
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
48
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
49
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
53
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
54
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
55
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
56
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
57
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
58
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
59
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
60
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
64
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
65
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
66
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
67
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
68
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
69
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
70
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
71
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type SortOrderInput = {
|
|
75
|
+
sort: Prisma.SortOrder
|
|
76
|
+
nulls?: Prisma.NullsOrder
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
80
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
81
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
82
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
83
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
84
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
85
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
86
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
87
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
88
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
89
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
90
|
+
mode?: Prisma.QueryMode
|
|
91
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
92
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
93
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
94
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
98
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
99
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
100
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
101
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
102
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
103
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
104
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
105
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
106
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
107
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
108
|
+
mode?: Prisma.QueryMode
|
|
109
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
110
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
111
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
112
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
116
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
117
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
118
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
119
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
120
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
124
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
125
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
126
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
127
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
128
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
129
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
130
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
131
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
132
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
133
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
134
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
138
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
139
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
140
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
141
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
142
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
143
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
144
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
145
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
146
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
147
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
148
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type EnumUserRoleFilter<$PrismaModel = never> = {
|
|
152
|
+
equals?: $Enums.UserRole | Prisma.EnumUserRoleFieldRefInput<$PrismaModel>
|
|
153
|
+
in?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
154
|
+
notIn?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
155
|
+
not?: Prisma.NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export type EnumUserRoleWithAggregatesFilter<$PrismaModel = never> = {
|
|
159
|
+
equals?: $Enums.UserRole | Prisma.EnumUserRoleFieldRefInput<$PrismaModel>
|
|
160
|
+
in?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
161
|
+
notIn?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
162
|
+
not?: Prisma.NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole
|
|
163
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
164
|
+
_min?: Prisma.NestedEnumUserRoleFilter<$PrismaModel>
|
|
165
|
+
_max?: Prisma.NestedEnumUserRoleFilter<$PrismaModel>
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type EnumMfaMethodNullableFilter<$PrismaModel = never> = {
|
|
169
|
+
equals?: $Enums.MfaMethod | Prisma.EnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
170
|
+
in?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
171
|
+
notIn?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
172
|
+
not?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel> | $Enums.MfaMethod | null
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type EnumMfaMethodNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
176
|
+
equals?: $Enums.MfaMethod | Prisma.EnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
177
|
+
in?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
178
|
+
notIn?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
179
|
+
not?: Prisma.NestedEnumMfaMethodNullableWithAggregatesFilter<$PrismaModel> | $Enums.MfaMethod | null
|
|
180
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
181
|
+
_min?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel>
|
|
182
|
+
_max?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel>
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export type EnumOtpPurposeFilter<$PrismaModel = never> = {
|
|
186
|
+
equals?: $Enums.OtpPurpose | Prisma.EnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
187
|
+
in?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
188
|
+
notIn?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
189
|
+
not?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel> | $Enums.OtpPurpose
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export type EnumOtpTypeFilter<$PrismaModel = never> = {
|
|
193
|
+
equals?: $Enums.OtpType | Prisma.EnumOtpTypeFieldRefInput<$PrismaModel>
|
|
194
|
+
in?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
195
|
+
notIn?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
196
|
+
not?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel> | $Enums.OtpType
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type EnumOtpPurposeWithAggregatesFilter<$PrismaModel = never> = {
|
|
200
|
+
equals?: $Enums.OtpPurpose | Prisma.EnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
201
|
+
in?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
202
|
+
notIn?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
203
|
+
not?: Prisma.NestedEnumOtpPurposeWithAggregatesFilter<$PrismaModel> | $Enums.OtpPurpose
|
|
204
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
205
|
+
_min?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel>
|
|
206
|
+
_max?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel>
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export type EnumOtpTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
210
|
+
equals?: $Enums.OtpType | Prisma.EnumOtpTypeFieldRefInput<$PrismaModel>
|
|
211
|
+
in?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
212
|
+
notIn?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
213
|
+
not?: Prisma.NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel> | $Enums.OtpType
|
|
214
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
215
|
+
_min?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel>
|
|
216
|
+
_max?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel>
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export type EnumNotificationTypeFilter<$PrismaModel = never> = {
|
|
220
|
+
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
221
|
+
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
222
|
+
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
223
|
+
not?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel> | $Enums.NotificationType
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export type JsonNullableFilter<$PrismaModel = never> =
|
|
227
|
+
| Prisma.PatchUndefined<
|
|
228
|
+
Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
229
|
+
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
230
|
+
>
|
|
231
|
+
| Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
232
|
+
|
|
233
|
+
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
234
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
235
|
+
path?: string[]
|
|
236
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
237
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
238
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
239
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
240
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
241
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
242
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
243
|
+
lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
244
|
+
lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
245
|
+
gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
246
|
+
gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
247
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type EnumNotificationStatusFilter<$PrismaModel = never> = {
|
|
251
|
+
equals?: $Enums.NotificationStatus | Prisma.EnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
252
|
+
in?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
253
|
+
notIn?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
254
|
+
not?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel> | $Enums.NotificationStatus
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type EnumNotificationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
258
|
+
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
259
|
+
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
260
|
+
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
261
|
+
not?: Prisma.NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType
|
|
262
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
263
|
+
_min?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
264
|
+
_max?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
268
|
+
| Prisma.PatchUndefined<
|
|
269
|
+
Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
270
|
+
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
271
|
+
>
|
|
272
|
+
| Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
273
|
+
|
|
274
|
+
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
275
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
276
|
+
path?: string[]
|
|
277
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
278
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
279
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
280
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
281
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
282
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
283
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
284
|
+
lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
285
|
+
lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
286
|
+
gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
287
|
+
gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
288
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
289
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
290
|
+
_min?: Prisma.NestedJsonNullableFilter<$PrismaModel>
|
|
291
|
+
_max?: Prisma.NestedJsonNullableFilter<$PrismaModel>
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type EnumNotificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
295
|
+
equals?: $Enums.NotificationStatus | Prisma.EnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
296
|
+
in?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
297
|
+
notIn?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
298
|
+
not?: Prisma.NestedEnumNotificationStatusWithAggregatesFilter<$PrismaModel> | $Enums.NotificationStatus
|
|
299
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
300
|
+
_min?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel>
|
|
301
|
+
_max?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel>
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
305
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
306
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
307
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
308
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
309
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
310
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
311
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
312
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
313
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
314
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
315
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
319
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
320
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
321
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
322
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
323
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
324
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
325
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
326
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
327
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
328
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
329
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
333
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
334
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
338
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
339
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
340
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
341
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
342
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
343
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
344
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
345
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
349
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
350
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
351
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
352
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
353
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
354
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
355
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
356
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
360
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
361
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
362
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
363
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
364
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
365
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
366
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
367
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
368
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
369
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
370
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
371
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
372
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
373
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
377
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
378
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
379
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
380
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
381
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
382
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
383
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
384
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
388
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
389
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
390
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
391
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
392
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
393
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
394
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
395
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
396
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
397
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
398
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
399
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
400
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
401
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
405
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
406
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
407
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
408
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
409
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
410
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
411
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
412
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
416
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
417
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
418
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
419
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
420
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
424
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
425
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
426
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
427
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
428
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
429
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
430
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
431
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
432
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
433
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
434
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
438
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
439
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
440
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
441
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
442
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
443
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
444
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
445
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
446
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
447
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
448
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type NestedEnumUserRoleFilter<$PrismaModel = never> = {
|
|
452
|
+
equals?: $Enums.UserRole | Prisma.EnumUserRoleFieldRefInput<$PrismaModel>
|
|
453
|
+
in?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
454
|
+
notIn?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
455
|
+
not?: Prisma.NestedEnumUserRoleFilter<$PrismaModel> | $Enums.UserRole
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export type NestedEnumUserRoleWithAggregatesFilter<$PrismaModel = never> = {
|
|
459
|
+
equals?: $Enums.UserRole | Prisma.EnumUserRoleFieldRefInput<$PrismaModel>
|
|
460
|
+
in?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
461
|
+
notIn?: $Enums.UserRole[] | Prisma.ListEnumUserRoleFieldRefInput<$PrismaModel>
|
|
462
|
+
not?: Prisma.NestedEnumUserRoleWithAggregatesFilter<$PrismaModel> | $Enums.UserRole
|
|
463
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
464
|
+
_min?: Prisma.NestedEnumUserRoleFilter<$PrismaModel>
|
|
465
|
+
_max?: Prisma.NestedEnumUserRoleFilter<$PrismaModel>
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export type NestedEnumMfaMethodNullableFilter<$PrismaModel = never> = {
|
|
469
|
+
equals?: $Enums.MfaMethod | Prisma.EnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
470
|
+
in?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
471
|
+
notIn?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
472
|
+
not?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel> | $Enums.MfaMethod | null
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export type NestedEnumMfaMethodNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
476
|
+
equals?: $Enums.MfaMethod | Prisma.EnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
477
|
+
in?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
478
|
+
notIn?: $Enums.MfaMethod[] | Prisma.ListEnumMfaMethodFieldRefInput<$PrismaModel> | null
|
|
479
|
+
not?: Prisma.NestedEnumMfaMethodNullableWithAggregatesFilter<$PrismaModel> | $Enums.MfaMethod | null
|
|
480
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
481
|
+
_min?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel>
|
|
482
|
+
_max?: Prisma.NestedEnumMfaMethodNullableFilter<$PrismaModel>
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type NestedEnumOtpPurposeFilter<$PrismaModel = never> = {
|
|
486
|
+
equals?: $Enums.OtpPurpose | Prisma.EnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
487
|
+
in?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
488
|
+
notIn?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
489
|
+
not?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel> | $Enums.OtpPurpose
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type NestedEnumOtpTypeFilter<$PrismaModel = never> = {
|
|
493
|
+
equals?: $Enums.OtpType | Prisma.EnumOtpTypeFieldRefInput<$PrismaModel>
|
|
494
|
+
in?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
495
|
+
notIn?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
496
|
+
not?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel> | $Enums.OtpType
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type NestedEnumOtpPurposeWithAggregatesFilter<$PrismaModel = never> = {
|
|
500
|
+
equals?: $Enums.OtpPurpose | Prisma.EnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
501
|
+
in?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
502
|
+
notIn?: $Enums.OtpPurpose[] | Prisma.ListEnumOtpPurposeFieldRefInput<$PrismaModel>
|
|
503
|
+
not?: Prisma.NestedEnumOtpPurposeWithAggregatesFilter<$PrismaModel> | $Enums.OtpPurpose
|
|
504
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
505
|
+
_min?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel>
|
|
506
|
+
_max?: Prisma.NestedEnumOtpPurposeFilter<$PrismaModel>
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
510
|
+
equals?: $Enums.OtpType | Prisma.EnumOtpTypeFieldRefInput<$PrismaModel>
|
|
511
|
+
in?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
512
|
+
notIn?: $Enums.OtpType[] | Prisma.ListEnumOtpTypeFieldRefInput<$PrismaModel>
|
|
513
|
+
not?: Prisma.NestedEnumOtpTypeWithAggregatesFilter<$PrismaModel> | $Enums.OtpType
|
|
514
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
515
|
+
_min?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel>
|
|
516
|
+
_max?: Prisma.NestedEnumOtpTypeFilter<$PrismaModel>
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export type NestedEnumNotificationTypeFilter<$PrismaModel = never> = {
|
|
520
|
+
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
521
|
+
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
522
|
+
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
523
|
+
not?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel> | $Enums.NotificationType
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export type NestedEnumNotificationStatusFilter<$PrismaModel = never> = {
|
|
527
|
+
equals?: $Enums.NotificationStatus | Prisma.EnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
528
|
+
in?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
529
|
+
notIn?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
530
|
+
not?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel> | $Enums.NotificationStatus
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
534
|
+
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
535
|
+
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
536
|
+
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
537
|
+
not?: Prisma.NestedEnumNotificationTypeWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType
|
|
538
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
539
|
+
_min?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
540
|
+
_max?: Prisma.NestedEnumNotificationTypeFilter<$PrismaModel>
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
|
544
|
+
| Prisma.PatchUndefined<
|
|
545
|
+
Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
546
|
+
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
547
|
+
>
|
|
548
|
+
| Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
549
|
+
|
|
550
|
+
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
551
|
+
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
552
|
+
path?: string[]
|
|
553
|
+
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
|
554
|
+
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
555
|
+
string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
556
|
+
string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
557
|
+
array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
558
|
+
array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
559
|
+
array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null
|
|
560
|
+
lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
561
|
+
lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
562
|
+
gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
563
|
+
gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
|
564
|
+
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
export type NestedEnumNotificationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
568
|
+
equals?: $Enums.NotificationStatus | Prisma.EnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
569
|
+
in?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
570
|
+
notIn?: $Enums.NotificationStatus[] | Prisma.ListEnumNotificationStatusFieldRefInput<$PrismaModel>
|
|
571
|
+
not?: Prisma.NestedEnumNotificationStatusWithAggregatesFilter<$PrismaModel> | $Enums.NotificationStatus
|
|
572
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
573
|
+
_min?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel>
|
|
574
|
+
_max?: Prisma.NestedEnumNotificationStatusFilter<$PrismaModel>
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports all enum related types from the schema.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export const UserRole = {
|
|
13
|
+
admin: 'admin',
|
|
14
|
+
customer: 'customer'
|
|
15
|
+
} as const
|
|
16
|
+
|
|
17
|
+
export type UserRole = (typeof UserRole)[keyof typeof UserRole]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export const OtpPurpose = {
|
|
21
|
+
setPassword: 'setPassword',
|
|
22
|
+
resetPassword: 'resetPassword',
|
|
23
|
+
verifyIdentifier: 'verifyIdentifier',
|
|
24
|
+
changeIdentifier: 'changeIdentifier',
|
|
25
|
+
enableMfa: 'enableMfa',
|
|
26
|
+
disableMfa: 'disableMfa',
|
|
27
|
+
verifyMfa: 'verifyMfa'
|
|
28
|
+
} as const
|
|
29
|
+
|
|
30
|
+
export type OtpPurpose = (typeof OtpPurpose)[keyof typeof OtpPurpose]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export const OtpType = {
|
|
34
|
+
otp: 'otp',
|
|
35
|
+
token: 'token'
|
|
36
|
+
} as const
|
|
37
|
+
|
|
38
|
+
export type OtpType = (typeof OtpType)[keyof typeof OtpType]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
export const MfaMethod = {
|
|
42
|
+
email: 'email',
|
|
43
|
+
sms: 'sms',
|
|
44
|
+
whatsapp: 'whatsapp',
|
|
45
|
+
authApp: 'authApp'
|
|
46
|
+
} as const
|
|
47
|
+
|
|
48
|
+
export type MfaMethod = (typeof MfaMethod)[keyof typeof MfaMethod]
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export const NotificationType = {
|
|
52
|
+
email: 'email',
|
|
53
|
+
sms: 'sms',
|
|
54
|
+
whatsapp: 'whatsapp',
|
|
55
|
+
inApp: 'inApp'
|
|
56
|
+
} as const
|
|
57
|
+
|
|
58
|
+
export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
export const NotificationStatus = {
|
|
62
|
+
pending: 'pending',
|
|
63
|
+
sent: 'sent',
|
|
64
|
+
failed: 'failed',
|
|
65
|
+
read: 'read'
|
|
66
|
+
} as const
|
|
67
|
+
|
|
68
|
+
export type NotificationStatus = (typeof NotificationStatus)[keyof typeof NotificationStatus]
|