@mars-stack/cli 0.2.0 → 0.2.2
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/package.json +2 -2
- package/template/.cursor/rules/composition-patterns.mdc +186 -0
- package/template/.cursor/rules/data-access.mdc +29 -0
- package/template/.cursor/rules/project-structure.mdc +34 -0
- package/template/.cursor/rules/security.mdc +25 -0
- package/template/.cursor/rules/testing.mdc +24 -0
- package/template/.cursor/rules/ui-conventions.mdc +29 -0
- package/template/.cursor/skills/add-api-route/SKILL.md +122 -0
- package/template/.cursor/skills/add-audit-log/SKILL.md +373 -0
- package/template/.cursor/skills/add-blog/SKILL.md +447 -0
- package/template/.cursor/skills/add-command-palette/SKILL.md +438 -0
- package/template/.cursor/skills/add-component/SKILL.md +158 -0
- package/template/.cursor/skills/add-crud-routes/SKILL.md +221 -0
- package/template/.cursor/skills/add-e2e-test/SKILL.md +227 -0
- package/template/.cursor/skills/add-error-boundary/SKILL.md +472 -0
- package/template/.cursor/skills/add-feature/SKILL.md +174 -0
- package/template/.cursor/skills/add-middleware/SKILL.md +135 -0
- package/template/.cursor/skills/add-page/SKILL.md +151 -0
- package/template/.cursor/skills/add-prisma-model/SKILL.md +148 -0
- package/template/.cursor/skills/add-protected-resource/SKILL.md +192 -0
- package/template/.cursor/skills/add-role/SKILL.md +156 -0
- package/template/.cursor/skills/add-server-action/SKILL.md +167 -0
- package/template/.cursor/skills/add-webhook/SKILL.md +192 -0
- package/template/.cursor/skills/build-complete-feature/SKILL.md +227 -0
- package/template/.cursor/skills/build-dashboard/SKILL.md +211 -0
- package/template/.cursor/skills/build-data-table/SKILL.md +283 -0
- package/template/.cursor/skills/build-form/SKILL.md +231 -0
- package/template/.cursor/skills/build-landing-page/SKILL.md +248 -0
- package/template/.cursor/skills/configure-ai/SKILL.md +617 -0
- package/template/.cursor/skills/configure-analytics/SKILL.md +413 -0
- package/template/.cursor/skills/configure-dark-mode/SKILL.md +309 -0
- package/template/.cursor/skills/configure-email/SKILL.md +170 -0
- package/template/.cursor/skills/configure-email-verification/SKILL.md +333 -0
- package/template/.cursor/skills/configure-feature-flags/SKILL.md +361 -0
- package/template/.cursor/skills/configure-i18n/SKILL.md +518 -0
- package/template/.cursor/skills/configure-jobs/SKILL.md +500 -0
- package/template/.cursor/skills/configure-magic-links/SKILL.md +385 -0
- package/template/.cursor/skills/configure-multi-tenancy/SKILL.md +611 -0
- package/template/.cursor/skills/configure-notifications/SKILL.md +569 -0
- package/template/.cursor/skills/configure-oauth/SKILL.md +217 -0
- package/template/.cursor/skills/configure-onboarding/SKILL.md +483 -0
- package/template/.cursor/skills/configure-payments/SKILL.md +243 -0
- package/template/.cursor/skills/configure-realtime/SKILL.md +733 -0
- package/template/.cursor/skills/configure-search/SKILL.md +581 -0
- package/template/.cursor/skills/configure-storage/SKILL.md +273 -0
- package/template/.cursor/skills/configure-two-factor/SKILL.md +518 -0
- package/template/.cursor/skills/create-execution-plan/SKILL.md +204 -0
- package/template/.cursor/skills/create-seed/SKILL.md +191 -0
- package/template/.cursor/skills/deploy-to-vercel/SKILL.md +300 -0
- package/template/.cursor/skills/design-tokens/SKILL.md +138 -0
- package/template/.cursor/skills/mars-capture-conversation-context/SKILL.md +119 -0
- package/template/.cursor/skills/setup-billing/SKILL.md +322 -0
- package/template/.cursor/skills/setup-project/SKILL.md +104 -0
- package/template/.cursor/skills/setup-teams/SKILL.md +682 -0
- package/template/.cursor/skills/test-api-route/SKILL.md +219 -0
- package/template/.cursor/skills/update-architecture-docs/SKILL.md +99 -0
- package/template/AGENTS.md +104 -0
- package/template/ARCHITECTURE.md +102 -0
- package/template/docs/QUALITY_SCORE.md +20 -0
- package/template/docs/design-docs/conversation-as-system-record.md +70 -0
- package/template/docs/design-docs/core-beliefs.md +43 -0
- package/template/docs/design-docs/index.md +8 -0
- package/template/docs/exec-plans/active/.gitkeep +0 -0
- package/template/docs/exec-plans/completed/.gitkeep +0 -0
- package/template/docs/exec-plans/tech-debt.md +7 -0
- package/template/docs/generated/.gitkeep +0 -0
- package/template/docs/product-specs/index.md +7 -0
- package/template/docs/references/index.md +18 -0
- package/template/e2e/api.spec.ts +20 -0
- package/template/e2e/auth.spec.ts +24 -0
- package/template/e2e/public.spec.ts +25 -0
- package/template/eslint.config.mjs +24 -0
- package/template/next-env.d.ts +6 -0
- package/template/next.config.ts +45 -0
- package/template/package.json +80 -0
- package/template/playwright.config.ts +31 -0
- package/template/postcss.config.mjs +8 -0
- package/template/prisma/generated/prisma/browser.ts +49 -0
- package/template/prisma/generated/prisma/client.ts +73 -0
- package/template/prisma/generated/prisma/commonInputTypes.ts +406 -0
- package/template/prisma/generated/prisma/enums.ts +15 -0
- package/template/prisma/generated/prisma/internal/class.ts +254 -0
- package/template/prisma/generated/prisma/internal/prismaNamespace.ts +1240 -0
- package/template/prisma/generated/prisma/internal/prismaNamespaceBrowser.ts +190 -0
- package/template/prisma/generated/prisma/models/Account.ts +1543 -0
- package/template/prisma/generated/prisma/models/File.ts +1529 -0
- package/template/prisma/generated/prisma/models/Session.ts +1415 -0
- package/template/prisma/generated/prisma/models/Subscription.ts +1455 -0
- package/template/prisma/generated/prisma/models/User.ts +2235 -0
- package/template/prisma/generated/prisma/models/VerificationToken.ts +1099 -0
- package/template/prisma/generated/prisma/models.ts +17 -0
- package/template/prisma/schema/auth.prisma +69 -0
- package/template/prisma/schema/base.prisma +8 -0
- package/template/prisma/schema/file.prisma +15 -0
- package/template/prisma/schema/subscription.prisma +17 -0
- package/template/prisma.config.ts +13 -0
- package/template/scripts/check-architecture.ts +221 -0
- package/template/scripts/check-doc-freshness.ts +242 -0
- package/template/scripts/ensure-db.mjs +291 -0
- package/template/scripts/generate-docs.ts +143 -0
- package/template/scripts/generate-env-example.ts +89 -0
- package/template/scripts/seed.ts +56 -0
- package/template/scripts/update-quality-score.ts +263 -0
- package/template/src/__tests__/architecture.test.ts +114 -0
- package/template/src/app/(auth)/forgotten-password/page.tsx +92 -0
- package/template/src/app/(auth)/layout.tsx +11 -0
- package/template/src/app/(auth)/register/page.tsx +162 -0
- package/template/src/app/(auth)/reset-password/page.tsx +109 -0
- package/template/src/app/(auth)/sign-in/page.tsx +122 -0
- package/template/src/app/(auth)/verify/[token]/page.tsx +87 -0
- package/template/src/app/(auth)/verify/page.tsx +56 -0
- package/template/src/app/(protected)/admin/page.tsx +108 -0
- package/template/src/app/(protected)/dashboard/loading.tsx +20 -0
- package/template/src/app/(protected)/dashboard/page.tsx +22 -0
- package/template/src/app/(protected)/layout.tsx +262 -0
- package/template/src/app/(protected)/settings/page.tsx +370 -0
- package/template/src/app/api/auth/forgot/route.ts +63 -0
- package/template/src/app/api/auth/login/route.ts +121 -0
- package/template/src/app/api/auth/logout/route.ts +19 -0
- package/template/src/app/api/auth/me/route.ts +30 -0
- package/template/src/app/api/auth/reset/route.ts +45 -0
- package/template/src/app/api/auth/signup/route.ts +85 -0
- package/template/src/app/api/auth/verify/route.ts +46 -0
- package/template/src/app/api/csrf/route.ts +12 -0
- package/template/src/app/api/health/route.ts +10 -0
- package/template/src/app/api/protected/admin/users/route.ts +24 -0
- package/template/src/app/api/protected/billing/checkout/route.ts +83 -0
- package/template/src/app/api/protected/billing/portal/route.ts +39 -0
- package/template/src/app/api/protected/files/[fileId]/route.ts +86 -0
- package/template/src/app/api/protected/files/upload/route.ts +64 -0
- package/template/src/app/api/protected/user/password/route.ts +63 -0
- package/template/src/app/api/protected/user/profile/route.ts +35 -0
- package/template/src/app/api/protected/user/sessions/[sessionId]/route.ts +33 -0
- package/template/src/app/api/protected/user/sessions/route.ts +22 -0
- package/template/src/app/api/readiness/route.ts +15 -0
- package/template/src/app/api/webhooks/stripe/route.ts +166 -0
- package/template/src/app/error.tsx +33 -0
- package/template/src/app/layout.tsx +29 -0
- package/template/src/app/not-found.tsx +20 -0
- package/template/src/app/page.tsx +136 -0
- package/template/src/app/privacy/page.tsx +178 -0
- package/template/src/app/providers.tsx +8 -0
- package/template/src/app/terms/page.tsx +139 -0
- package/template/src/config/app.config.ts +70 -0
- package/template/src/config/routes.ts +17 -0
- package/template/src/features/admin/index.ts +11 -0
- package/template/src/features/admin/permissions.ts +64 -0
- package/template/src/features/auth/context/AuthContext.tsx +96 -0
- package/template/src/features/auth/context/index.ts +2 -0
- package/template/src/features/auth/index.ts +3 -0
- package/template/src/features/auth/server/consent.ts +66 -0
- package/template/src/features/auth/server/session-revocation.ts +20 -0
- package/template/src/features/auth/server/sessions.ts +66 -0
- package/template/src/features/auth/server/user.ts +166 -0
- package/template/src/features/auth/types.ts +19 -0
- package/template/src/features/auth/validators.ts +29 -0
- package/template/src/features/billing/server/index.ts +66 -0
- package/template/src/features/billing/types.ts +43 -0
- package/template/src/features/uploads/server/index.ts +49 -0
- package/template/src/features/uploads/types.ts +26 -0
- package/template/src/lib/core/email/templates/base-layout.ts +122 -0
- package/template/src/lib/core/email/templates/index.ts +4 -0
- package/template/src/lib/core/email/templates/password-reset-email.ts +42 -0
- package/template/src/lib/core/email/templates/verification-email.ts +41 -0
- package/template/src/lib/core/email/templates/welcome-email.ts +40 -0
- package/template/src/lib/mars.ts +56 -0
- package/template/src/lib/prisma.ts +19 -0
- package/template/src/proxy.ts +92 -0
- package/template/src/styles/brand.css +17 -0
- package/template/src/styles/globals.css +6 -0
- package/template/tsconfig.json +59 -0
- package/template/vitest.config.ts +41 -0
- package/template/vitest.setup.ts +24 -0
|
@@ -0,0 +1,406 @@
|
|
|
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 DateTimeNullableFilter<$PrismaModel = never> = {
|
|
48
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
49
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
50
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
51
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
52
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
53
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
54
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
55
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
59
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
60
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
61
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
62
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
63
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
64
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
65
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
66
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
70
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
71
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
72
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
73
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
74
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
75
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
76
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
77
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
81
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
82
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type SortOrderInput = {
|
|
86
|
+
sort: Prisma.SortOrder
|
|
87
|
+
nulls?: Prisma.NullsOrder
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
91
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
92
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
93
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
94
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
95
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
96
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
97
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
98
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
99
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
100
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
101
|
+
mode?: Prisma.QueryMode
|
|
102
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
103
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
104
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
105
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
109
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
110
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
111
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
112
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
113
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
114
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
115
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
116
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
117
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
118
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
119
|
+
mode?: Prisma.QueryMode
|
|
120
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
121
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
122
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
123
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
127
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
128
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
129
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
130
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
131
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
132
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
133
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
134
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
135
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
136
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
137
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
141
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
142
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
143
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
144
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
145
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
146
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
147
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
148
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
149
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
150
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
151
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
155
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
156
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
157
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
158
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
159
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
160
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
161
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
162
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
163
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
164
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
165
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
166
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
167
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
171
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
172
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
173
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
174
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
175
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type IntNullableFilter<$PrismaModel = never> = {
|
|
179
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
180
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
181
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
182
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
183
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
184
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
185
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
186
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
190
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
191
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
192
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
193
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
194
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
195
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
196
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
197
|
+
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
198
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
199
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
200
|
+
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
201
|
+
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
202
|
+
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
206
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
207
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
208
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
209
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
210
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
211
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
212
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
213
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
214
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
215
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
216
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
220
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
221
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
222
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
223
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
224
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
225
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
226
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
227
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
228
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
229
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
230
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
234
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
235
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
236
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
237
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
238
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
239
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
240
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
241
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
245
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
246
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
247
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
248
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
249
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
250
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
251
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
252
|
+
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
256
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
257
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
258
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
259
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
260
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
261
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
262
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
263
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
267
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
268
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
272
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
273
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
274
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
275
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
276
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
277
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
278
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
279
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
280
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
281
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
282
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
283
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
284
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
285
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
289
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
290
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
291
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
292
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
293
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
294
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
295
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
296
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
297
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
298
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
299
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
300
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
301
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
302
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
306
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
307
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
308
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
309
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
310
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
311
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
312
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
313
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
317
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
318
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
319
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
320
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
321
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
322
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
323
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
324
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
325
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
326
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
327
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
331
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
332
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
333
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>
|
|
334
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
335
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
336
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
337
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
338
|
+
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
339
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
340
|
+
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
341
|
+
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
345
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
346
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
347
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
348
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
349
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
350
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
351
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
352
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
353
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
354
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
355
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
356
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
357
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
361
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
362
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
363
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
364
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
365
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
366
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
367
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
368
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
372
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
373
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
374
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
375
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
376
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
380
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
381
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
382
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
383
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
384
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
385
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
386
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
387
|
+
not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
388
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
389
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
390
|
+
_sum?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
391
|
+
_min?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
392
|
+
_max?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
396
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
397
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
398
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
399
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
400
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
401
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
402
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
403
|
+
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
13
|
+
|
|
14
|
+
// This file is empty because there are no enums in the schema.
|
|
15
|
+
export {}
|