@roundtreasury/prisma-extension-soft-delete 1.2.0 → 2.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.
Files changed (87) hide show
  1. package/dist/esm/generated/nested-ops-meta/index.d.ts +13 -0
  2. package/dist/esm/generated/nested-ops-meta/index.js +107 -0
  3. package/dist/esm/generated/prisma/browser.d.ts +24 -0
  4. package/dist/esm/generated/prisma/browser.js +17 -0
  5. package/dist/esm/generated/prisma/client.d.ts +43 -0
  6. package/dist/esm/generated/prisma/client.js +31 -0
  7. package/dist/esm/generated/prisma/commonInputTypes.d.ts +359 -0
  8. package/dist/esm/generated/prisma/commonInputTypes.js +10 -0
  9. package/dist/esm/generated/prisma/enums.js +10 -0
  10. package/dist/esm/generated/prisma/internal/class.d.ts +165 -0
  11. package/dist/esm/generated/prisma/internal/class.js +49 -0
  12. package/dist/esm/generated/prisma/internal/prismaNamespace.d.ts +815 -0
  13. package/dist/esm/generated/prisma/internal/prismaNamespace.js +131 -0
  14. package/dist/esm/generated/prisma/internal/prismaNamespaceBrowser.d.ts +95 -0
  15. package/dist/esm/generated/prisma/internal/prismaNamespaceBrowser.js +102 -0
  16. package/dist/esm/generated/prisma/models/Comment.d.ts +1768 -0
  17. package/dist/esm/generated/prisma/models/Comment.js +1 -0
  18. package/dist/esm/generated/prisma/models/Post.d.ts +1543 -0
  19. package/dist/esm/generated/prisma/models/Post.js +1 -0
  20. package/dist/esm/generated/prisma/models/Profile.d.ts +1130 -0
  21. package/dist/esm/generated/prisma/models/Profile.js +1 -0
  22. package/dist/esm/generated/prisma/models/User.d.ts +1531 -0
  23. package/dist/esm/generated/prisma/models/User.js +1 -0
  24. package/dist/esm/generated/prisma/models.d.ts +5 -0
  25. package/dist/esm/generated/prisma/models.js +1 -0
  26. package/dist/esm/prisma.config.d.ts +3 -0
  27. package/dist/esm/prisma.config.js +11 -0
  28. package/dist/esm/src/lib/createSoftDeleteExtension.d.ts +2 -0
  29. package/dist/esm/{lib → src/lib}/createSoftDeleteExtension.js +11 -13
  30. package/dist/esm/{lib → src/lib}/helpers/createParams.d.ts +4 -4
  31. package/dist/esm/{lib → src/lib}/helpers/createParams.js +4 -16
  32. package/dist/esm/{lib → src/lib}/types.d.ts +14 -4
  33. package/dist/esm/src/lib/types.js +1 -0
  34. package/dist/generated/nested-ops-meta/index.d.ts +13 -0
  35. package/dist/generated/nested-ops-meta/index.js +110 -0
  36. package/dist/generated/prisma/browser.d.ts +24 -0
  37. package/dist/generated/prisma/browser.js +56 -0
  38. package/dist/generated/prisma/client.d.ts +43 -0
  39. package/dist/generated/prisma/client.js +70 -0
  40. package/dist/generated/prisma/commonInputTypes.d.ts +359 -0
  41. package/dist/generated/prisma/commonInputTypes.js +11 -0
  42. package/dist/generated/prisma/enums.d.ts +1 -0
  43. package/dist/generated/prisma/enums.js +11 -0
  44. package/dist/generated/prisma/internal/class.d.ts +165 -0
  45. package/dist/generated/prisma/internal/class.js +85 -0
  46. package/dist/generated/prisma/internal/prismaNamespace.d.ts +815 -0
  47. package/dist/generated/prisma/internal/prismaNamespace.js +167 -0
  48. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +95 -0
  49. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +138 -0
  50. package/dist/generated/prisma/models/Comment.d.ts +1768 -0
  51. package/dist/generated/prisma/models/Comment.js +2 -0
  52. package/dist/generated/prisma/models/Post.d.ts +1543 -0
  53. package/dist/generated/prisma/models/Post.js +2 -0
  54. package/dist/generated/prisma/models/Profile.d.ts +1130 -0
  55. package/dist/generated/prisma/models/Profile.js +2 -0
  56. package/dist/generated/prisma/models/User.d.ts +1531 -0
  57. package/dist/generated/prisma/models/User.js +2 -0
  58. package/dist/generated/prisma/models.d.ts +5 -0
  59. package/dist/prisma.config.d.ts +3 -0
  60. package/dist/prisma.config.js +13 -0
  61. package/dist/src/lib/createSoftDeleteExtension.d.ts +2 -0
  62. package/dist/{lib → src/lib}/createSoftDeleteExtension.js +12 -15
  63. package/dist/{lib → src/lib}/helpers/createParams.d.ts +4 -4
  64. package/dist/{lib → src/lib}/helpers/createParams.js +4 -16
  65. package/dist/{lib → src/lib}/helpers/modifyResult.js +1 -2
  66. package/dist/{lib → src/lib}/types.d.ts +14 -4
  67. package/dist/src/lib/types.js +2 -0
  68. package/dist/{lib → src/lib}/utils/nestedReads.js +2 -3
  69. package/dist/{lib → src/lib}/utils/resultFiltering.js +2 -3
  70. package/package.json +10 -8
  71. package/dist/esm/lib/createSoftDeleteExtension.d.ts +0 -2
  72. package/dist/lib/createSoftDeleteExtension.d.ts +0 -2
  73. /package/dist/esm/{lib/types.js → generated/prisma/enums.d.ts} +0 -0
  74. /package/dist/esm/{index.d.ts → src/index.d.ts} +0 -0
  75. /package/dist/esm/{index.js → src/index.js} +0 -0
  76. /package/dist/esm/{lib → src/lib}/helpers/modifyResult.d.ts +0 -0
  77. /package/dist/esm/{lib → src/lib}/helpers/modifyResult.js +0 -0
  78. /package/dist/esm/{lib → src/lib}/utils/nestedReads.d.ts +0 -0
  79. /package/dist/esm/{lib → src/lib}/utils/nestedReads.js +0 -0
  80. /package/dist/esm/{lib → src/lib}/utils/resultFiltering.d.ts +0 -0
  81. /package/dist/esm/{lib → src/lib}/utils/resultFiltering.js +0 -0
  82. /package/dist/{lib/types.js → generated/prisma/models.js} +0 -0
  83. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  84. /package/dist/{index.js → src/index.js} +0 -0
  85. /package/dist/{lib → src/lib}/helpers/modifyResult.d.ts +0 -0
  86. /package/dist/{lib → src/lib}/utils/nestedReads.d.ts +0 -0
  87. /package/dist/{lib → src/lib}/utils/resultFiltering.d.ts +0 -0
@@ -0,0 +1,13 @@
1
+ export type RelationField = {
2
+ name: string;
3
+ kind: string;
4
+ isList: boolean;
5
+ type: string;
6
+ relationName: string;
7
+ };
8
+ export type ModelsMeta = Record<string, {
9
+ uniqueFields: string[];
10
+ uniqueIndexFields: string[];
11
+ relations: RelationField[];
12
+ }>;
13
+ export declare const modelsMeta: ModelsMeta;
@@ -0,0 +1,107 @@
1
+ export const modelsMeta = {
2
+ "User": {
3
+ "uniqueFields": [
4
+ "id",
5
+ "email"
6
+ ],
7
+ "uniqueIndexFields": [
8
+ "name_email"
9
+ ],
10
+ "relations": [
11
+ {
12
+ "name": "posts",
13
+ "kind": "object",
14
+ "isList": true,
15
+ "type": "Post",
16
+ "relationName": "PostToUser"
17
+ },
18
+ {
19
+ "name": "profile",
20
+ "kind": "object",
21
+ "isList": false,
22
+ "type": "Profile",
23
+ "relationName": "ProfileToUser"
24
+ },
25
+ {
26
+ "name": "comments",
27
+ "kind": "object",
28
+ "isList": true,
29
+ "type": "Comment",
30
+ "relationName": "CommentToUser"
31
+ }
32
+ ]
33
+ },
34
+ "Post": {
35
+ "uniqueFields": [
36
+ "id"
37
+ ],
38
+ "uniqueIndexFields": [],
39
+ "relations": [
40
+ {
41
+ "name": "author",
42
+ "kind": "object",
43
+ "isList": false,
44
+ "type": "User",
45
+ "relationName": "PostToUser"
46
+ },
47
+ {
48
+ "name": "comments",
49
+ "kind": "object",
50
+ "isList": true,
51
+ "type": "Comment",
52
+ "relationName": "CommentToPost"
53
+ }
54
+ ]
55
+ },
56
+ "Comment": {
57
+ "uniqueFields": [
58
+ "id"
59
+ ],
60
+ "uniqueIndexFields": [],
61
+ "relations": [
62
+ {
63
+ "name": "author",
64
+ "kind": "object",
65
+ "isList": false,
66
+ "type": "User",
67
+ "relationName": "CommentToUser"
68
+ },
69
+ {
70
+ "name": "post",
71
+ "kind": "object",
72
+ "isList": false,
73
+ "type": "Post",
74
+ "relationName": "CommentToPost"
75
+ },
76
+ {
77
+ "name": "repliedTo",
78
+ "kind": "object",
79
+ "isList": false,
80
+ "type": "Comment",
81
+ "relationName": "replies"
82
+ },
83
+ {
84
+ "name": "replies",
85
+ "kind": "object",
86
+ "isList": true,
87
+ "type": "Comment",
88
+ "relationName": "replies"
89
+ }
90
+ ]
91
+ },
92
+ "Profile": {
93
+ "uniqueFields": [
94
+ "id"
95
+ ],
96
+ "uniqueIndexFields": [],
97
+ "relations": [
98
+ {
99
+ "name": "users",
100
+ "kind": "object",
101
+ "isList": true,
102
+ "type": "User",
103
+ "relationName": "ProfileToUser"
104
+ }
105
+ ]
106
+ }
107
+ };
@@ -0,0 +1,24 @@
1
+ import * as Prisma from './internal/prismaNamespaceBrowser';
2
+ export { Prisma };
3
+ export * as $Enums from './enums';
4
+ export * from './enums';
5
+ /**
6
+ * Model User
7
+ *
8
+ */
9
+ export type User = Prisma.UserModel;
10
+ /**
11
+ * Model Post
12
+ *
13
+ */
14
+ export type Post = Prisma.PostModel;
15
+ /**
16
+ * Model Comment
17
+ *
18
+ */
19
+ export type Comment = Prisma.CommentModel;
20
+ /**
21
+ * Model Profile
22
+ *
23
+ */
24
+ export type Profile = Prisma.ProfileModel;
@@ -0,0 +1,17 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * This file should be your main import to use Prisma-related types and utilities in a browser.
7
+ * Use it to get access to models, enums, and input types.
8
+ *
9
+ * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
10
+ * See `client.ts` for the standard, server-side entry point.
11
+ *
12
+ * 🟢 You can import this file directly.
13
+ */
14
+ import * as Prisma from './internal/prismaNamespaceBrowser';
15
+ export { Prisma };
16
+ export * as $Enums from './enums';
17
+ export * from './enums';
@@ -0,0 +1,43 @@
1
+ import * as runtime from "@prisma/client/runtime/client";
2
+ import * as $Class from "./internal/class";
3
+ import * as Prisma from "./internal/prismaNamespace";
4
+ export * as $Enums from './enums';
5
+ export * from "./enums";
6
+ /**
7
+ * ## Prisma Client
8
+ *
9
+ * Type-safe database client for TypeScript
10
+ * @example
11
+ * ```
12
+ * const prisma = new PrismaClient({
13
+ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
14
+ * })
15
+ * // Fetch zero or more Users
16
+ * const users = await prisma.user.findMany()
17
+ * ```
18
+ *
19
+ * Read more in our [docs](https://pris.ly/d/client).
20
+ */
21
+ export declare const PrismaClient: $Class.PrismaClientConstructor;
22
+ export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
23
+ export { Prisma };
24
+ /**
25
+ * Model User
26
+ *
27
+ */
28
+ export type User = Prisma.UserModel;
29
+ /**
30
+ * Model Post
31
+ *
32
+ */
33
+ export type Post = Prisma.PostModel;
34
+ /**
35
+ * Model Comment
36
+ *
37
+ */
38
+ export type Comment = Prisma.CommentModel;
39
+ /**
40
+ * Model Profile
41
+ *
42
+ */
43
+ export type Profile = Prisma.ProfileModel;
@@ -0,0 +1,31 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
7
+ * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import * as $Class from "./internal/class";
12
+ import * as Prisma from "./internal/prismaNamespace";
13
+ export * as $Enums from './enums';
14
+ export * from "./enums";
15
+ /**
16
+ * ## Prisma Client
17
+ *
18
+ * Type-safe database client for TypeScript
19
+ * @example
20
+ * ```
21
+ * const prisma = new PrismaClient({
22
+ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
23
+ * })
24
+ * // Fetch zero or more Users
25
+ * const users = await prisma.user.findMany()
26
+ * ```
27
+ *
28
+ * Read more in our [docs](https://pris.ly/d/client).
29
+ */
30
+ export const PrismaClient = $Class.getPrismaClientClass();
31
+ export { Prisma };
@@ -0,0 +1,359 @@
1
+ import type * as Prisma from "./internal/prismaNamespace";
2
+ export type IntFilter<$PrismaModel = never> = {
3
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
4
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
5
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
6
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
7
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
8
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
9
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
10
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number;
11
+ };
12
+ export type StringFilter<$PrismaModel = never> = {
13
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
14
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
15
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
16
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
17
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
18
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
19
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
20
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
21
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
22
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
23
+ mode?: Prisma.QueryMode;
24
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string;
25
+ };
26
+ export type IntNullableFilter<$PrismaModel = never> = {
27
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
28
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
29
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
30
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
31
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
32
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
33
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
34
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
35
+ };
36
+ export type BoolFilter<$PrismaModel = never> = {
37
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
38
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
39
+ };
40
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
41
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
42
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
43
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
44
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
45
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
46
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
47
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
48
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
49
+ };
50
+ export type SortOrderInput = {
51
+ sort: Prisma.SortOrder;
52
+ nulls?: Prisma.NullsOrder;
53
+ };
54
+ export type IntWithAggregatesFilter<$PrismaModel = never> = {
55
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
56
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
57
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
58
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
59
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
60
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
61
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
62
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
63
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
64
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>;
65
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>;
66
+ _min?: Prisma.NestedIntFilter<$PrismaModel>;
67
+ _max?: Prisma.NestedIntFilter<$PrismaModel>;
68
+ };
69
+ export type StringWithAggregatesFilter<$PrismaModel = never> = {
70
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
71
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
72
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
73
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
74
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
75
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
76
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
77
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
78
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
79
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
80
+ mode?: Prisma.QueryMode;
81
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
82
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
83
+ _min?: Prisma.NestedStringFilter<$PrismaModel>;
84
+ _max?: Prisma.NestedStringFilter<$PrismaModel>;
85
+ };
86
+ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
87
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
88
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
89
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
90
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
91
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
92
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
93
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
94
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
95
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
96
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
97
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
98
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
99
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
100
+ };
101
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
102
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
103
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
104
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
105
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>;
106
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>;
107
+ };
108
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
109
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
110
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
111
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
112
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
113
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
114
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
115
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
116
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
117
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
118
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
119
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
120
+ };
121
+ export type DateTimeFilter<$PrismaModel = never> = {
122
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
123
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
124
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
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.NestedDateTimeFilter<$PrismaModel> | Date | string;
130
+ };
131
+ export type StringNullableFilter<$PrismaModel = never> = {
132
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
133
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
134
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
135
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
136
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
137
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
138
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
139
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
140
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
141
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
142
+ mode?: Prisma.QueryMode;
143
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
144
+ };
145
+ export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
146
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
147
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
148
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
149
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
150
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
151
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
152
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
153
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
154
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
155
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
156
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
157
+ };
158
+ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
159
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
160
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
161
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
162
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
163
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
164
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
165
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
166
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
167
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
168
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
169
+ mode?: Prisma.QueryMode;
170
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
171
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
172
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
173
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
174
+ };
175
+ export type NestedIntFilter<$PrismaModel = never> = {
176
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
177
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
178
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
179
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
180
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
181
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
182
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
183
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number;
184
+ };
185
+ export type NestedStringFilter<$PrismaModel = never> = {
186
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
187
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
188
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
189
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
190
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
191
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
192
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
193
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
194
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
195
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
196
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string;
197
+ };
198
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
199
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
200
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
201
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
202
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
203
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
204
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
205
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
206
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
207
+ };
208
+ export type NestedBoolFilter<$PrismaModel = never> = {
209
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
210
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
211
+ };
212
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
213
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
214
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
215
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
216
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
217
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
218
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
219
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
220
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
221
+ };
222
+ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
223
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
224
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
225
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>;
226
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
227
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
228
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
229
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
230
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
231
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
232
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>;
233
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>;
234
+ _min?: Prisma.NestedIntFilter<$PrismaModel>;
235
+ _max?: Prisma.NestedIntFilter<$PrismaModel>;
236
+ };
237
+ export type NestedFloatFilter<$PrismaModel = never> = {
238
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
239
+ in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
240
+ notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>;
241
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
242
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
243
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
244
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
245
+ not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
246
+ };
247
+ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
248
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
249
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
250
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
251
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
252
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
253
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
254
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
255
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
256
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
257
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
258
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
259
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
260
+ _min?: Prisma.NestedStringFilter<$PrismaModel>;
261
+ _max?: Prisma.NestedStringFilter<$PrismaModel>;
262
+ };
263
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
264
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
265
+ in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
266
+ notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null;
267
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
268
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
269
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
270
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
271
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
272
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
273
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
274
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
275
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
276
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
277
+ };
278
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
279
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null;
280
+ in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null;
281
+ notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null;
282
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
283
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
284
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
285
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
286
+ not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null;
287
+ };
288
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
289
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
290
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
291
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
292
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>;
293
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>;
294
+ };
295
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
296
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
297
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
298
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null;
299
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
300
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
301
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
302
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
303
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
304
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
305
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
306
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
307
+ };
308
+ export type NestedDateTimeFilter<$PrismaModel = never> = {
309
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
310
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
311
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
312
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
313
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
314
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
315
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
316
+ not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
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
+ export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
332
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
333
+ in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
334
+ notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel>;
335
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
336
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
337
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
338
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
339
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
340
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
341
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
342
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
343
+ };
344
+ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
345
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
346
+ in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
347
+ notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
348
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
349
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
350
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
351
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
352
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
353
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
354
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
355
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
356
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
357
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
358
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
359
+ };
@@ -0,0 +1,10 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * This file exports various common sort, input & filter types that are not directly linked to a particular model.
7
+ *
8
+ * 🟢 You can import this file directly.
9
+ */
10
+ export {};
@@ -0,0 +1,10 @@
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * This file exports all enum related types from the schema.
7
+ *
8
+ * 🟢 You can import this file directly.
9
+ */
10
+ export {};