@triskcraft/db 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 +45 -0
- package/dist/generated/browser.d.ts +110 -0
- package/dist/generated/browser.d.ts.map +1 -0
- package/dist/generated/browser.js +18 -0
- package/dist/generated/browser.js.map +1 -0
- package/dist/generated/client.d.ts +129 -0
- package/dist/generated/client.d.ts.map +1 -0
- package/dist/generated/client.js +35 -0
- package/dist/generated/client.js.map +1 -0
- package/dist/generated/commonInputTypes.d.ts +501 -0
- package/dist/generated/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/commonInputTypes.js +11 -0
- package/dist/generated/commonInputTypes.js.map +1 -0
- package/dist/generated/enums.d.ts +19 -0
- package/dist/generated/enums.d.ts.map +1 -0
- package/dist/generated/enums.js +25 -0
- package/dist/generated/enums.js.map +1 -0
- package/dist/generated/internal/class.d.ts +363 -0
- package/dist/generated/internal/class.d.ts.map +1 -0
- package/dist/generated/internal/class.js +52 -0
- package/dist/generated/internal/class.js.map +1 -0
- package/dist/generated/internal/prismaNamespace.d.ts +2282 -0
- package/dist/generated/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/internal/prismaNamespace.js +262 -0
- package/dist/generated/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +243 -0
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +233 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/generated/models/AuthorizationCode.d.ts +1445 -0
- package/dist/generated/models/AuthorizationCode.d.ts.map +1 -0
- package/dist/generated/models/AuthorizationCode.js +2 -0
- package/dist/generated/models/AuthorizationCode.js.map +1 -0
- package/dist/generated/models/Client.d.ts +1301 -0
- package/dist/generated/models/Client.d.ts.map +1 -0
- package/dist/generated/models/Client.js +2 -0
- package/dist/generated/models/Client.js.map +1 -0
- package/dist/generated/models/DiscordUser.d.ts +1335 -0
- package/dist/generated/models/DiscordUser.d.ts.map +1 -0
- package/dist/generated/models/DiscordUser.js +2 -0
- package/dist/generated/models/DiscordUser.js.map +1 -0
- package/dist/generated/models/InactivityPeriod.d.ts +1255 -0
- package/dist/generated/models/InactivityPeriod.d.ts.map +1 -0
- package/dist/generated/models/InactivityPeriod.js +2 -0
- package/dist/generated/models/InactivityPeriod.js.map +1 -0
- package/dist/generated/models/LinkCode.d.ts +1100 -0
- package/dist/generated/models/LinkCode.d.ts.map +1 -0
- package/dist/generated/models/LinkCode.js +2 -0
- package/dist/generated/models/LinkCode.js.map +1 -0
- package/dist/generated/models/LinkedMinecraftRole.d.ts +1162 -0
- package/dist/generated/models/LinkedMinecraftRole.d.ts.map +1 -0
- package/dist/generated/models/LinkedMinecraftRole.js +2 -0
- package/dist/generated/models/LinkedMinecraftRole.js.map +1 -0
- package/dist/generated/models/LinkedRole.d.ts +1162 -0
- package/dist/generated/models/LinkedRole.d.ts.map +1 -0
- package/dist/generated/models/LinkedRole.js +2 -0
- package/dist/generated/models/LinkedRole.js.map +1 -0
- package/dist/generated/models/Media.d.ts +1146 -0
- package/dist/generated/models/Media.d.ts.map +1 -0
- package/dist/generated/models/Media.js +2 -0
- package/dist/generated/models/Media.js.map +1 -0
- package/dist/generated/models/MinecraftRole.d.ts +1064 -0
- package/dist/generated/models/MinecraftRole.d.ts.map +1 -0
- package/dist/generated/models/MinecraftRole.js +2 -0
- package/dist/generated/models/MinecraftRole.js.map +1 -0
- package/dist/generated/models/Player.d.ts +1458 -0
- package/dist/generated/models/Player.d.ts.map +1 -0
- package/dist/generated/models/Player.js +2 -0
- package/dist/generated/models/Player.js.map +1 -0
- package/dist/generated/models/Post.d.ts +1534 -0
- package/dist/generated/models/Post.d.ts.map +1 -0
- package/dist/generated/models/Post.js +2 -0
- package/dist/generated/models/Post.js.map +1 -0
- package/dist/generated/models/PostBlockMedia.d.ts +1243 -0
- package/dist/generated/models/PostBlockMedia.d.ts.map +1 -0
- package/dist/generated/models/PostBlockMedia.js +2 -0
- package/dist/generated/models/PostBlockMedia.js.map +1 -0
- package/dist/generated/models/PostBlocks.d.ts +1506 -0
- package/dist/generated/models/PostBlocks.d.ts.map +1 -0
- package/dist/generated/models/PostBlocks.js +2 -0
- package/dist/generated/models/PostBlocks.js.map +1 -0
- package/dist/generated/models/PostMedia.d.ts +1497 -0
- package/dist/generated/models/PostMedia.d.ts.map +1 -0
- package/dist/generated/models/PostMedia.js +2 -0
- package/dist/generated/models/PostMedia.js.map +1 -0
- package/dist/generated/models/Role.d.ts +1144 -0
- package/dist/generated/models/Role.d.ts.map +1 -0
- package/dist/generated/models/Role.js +2 -0
- package/dist/generated/models/Role.js.map +1 -0
- package/dist/generated/models/RoleStatistic.d.ts +1077 -0
- package/dist/generated/models/RoleStatistic.d.ts.map +1 -0
- package/dist/generated/models/RoleStatistic.js +2 -0
- package/dist/generated/models/RoleStatistic.js.map +1 -0
- package/dist/generated/models/Session.d.ts +1366 -0
- package/dist/generated/models/Session.d.ts.map +1 -0
- package/dist/generated/models/Session.js +2 -0
- package/dist/generated/models/Session.js.map +1 -0
- package/dist/generated/models/State.d.ts +970 -0
- package/dist/generated/models/State.d.ts.map +1 -0
- package/dist/generated/models/State.js +2 -0
- package/dist/generated/models/State.js.map +1 -0
- package/dist/generated/models/TrackedRole.d.ts +947 -0
- package/dist/generated/models/TrackedRole.d.ts.map +1 -0
- package/dist/generated/models/TrackedRole.js +2 -0
- package/dist/generated/models/TrackedRole.js.map +1 -0
- package/dist/generated/models/User.d.ts +1842 -0
- package/dist/generated/models/User.d.ts.map +1 -0
- package/dist/generated/models/User.js +2 -0
- package/dist/generated/models/User.js.map +1 -0
- package/dist/generated/models/WebhookToken.d.ts +1219 -0
- package/dist/generated/models/WebhookToken.d.ts.map +1 -0
- package/dist/generated/models/WebhookToken.js +2 -0
- package/dist/generated/models/WebhookToken.js.map +1 -0
- package/dist/generated/models.d.ts +23 -0
- package/dist/generated/models.d.ts.map +1 -0
- package/dist/generated/models.js +2 -0
- package/dist/generated/models.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -0
- package/prisma/migrations/20251231000230_init/migration.sql +156 -0
- package/prisma/migrations/20251231011118_add_rank/migration.sql +2 -0
- package/prisma/migrations/20251231014040_discord_code/migration.sql +2 -0
- package/prisma/migrations/20260107232913_webhook_tokens/migration.sql +13 -0
- package/prisma/migrations/20260108014222_token_name/migration.sql +8 -0
- package/prisma/migrations/20260120042444_states/migration.sql +13 -0
- package/prisma/migrations/20260120052250_at/migration.sql +10 -0
- package/prisma/migrations/20260120061112_uq_token/migration.sql +8 -0
- package/prisma/migrations/20260121013517_uq_nick/migration.sql +8 -0
- package/prisma/migrations/20260125034645_mc_rank/migration.sql +2 -0
- package/prisma/migrations/20260202222436_remove_rank_from_discord/migration.sql +8 -0
- package/prisma/migrations/20260202234919_discord_user_username/migration.sql +2 -0
- package/prisma/migrations/20260202235832_uq_discord_username/migration.sql +12 -0
- package/prisma/migrations/20260301230127_blog/migration.sql +45 -0
- package/prisma/migrations/20260308062159_player_status/migration.sql +5 -0
- package/prisma/migrations/20260314152500_last_seen/migration.sql +2 -0
- package/prisma/migrations/20260430073735_oauth_prepare/migration.sql +102 -0
- package/prisma/migrations/20260603052836_scopes/migration.sql +11 -0
- package/prisma/migrations/20260603055719_scopes_sesion/migration.sql +2 -0
- package/prisma/migrations/20260603201228_user_roles/migration.sql +38 -0
- package/prisma/migrations/20260608060633_blog_media/migration.sql +61 -0
- package/prisma/migrations/20260612000040_prepare_post_users/migration.sql +5 -0
- package/prisma/migrations/20260612165923_prepare_webhook_user/migration.sql +53 -0
- package/prisma/migrations/20260612210328_remove_webhook_discord_user/migration.sql +19 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +325 -0
|
@@ -0,0 +1,1506 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model PostBlocks
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type PostBlocksModel = runtime.Types.Result.DefaultSelection<Prisma.$PostBlocksPayload>;
|
|
8
|
+
export type AggregatePostBlocks = {
|
|
9
|
+
_count: PostBlocksCountAggregateOutputType | null;
|
|
10
|
+
_min: PostBlocksMinAggregateOutputType | null;
|
|
11
|
+
_max: PostBlocksMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type PostBlocksMinAggregateOutputType = {
|
|
14
|
+
message_id: string | null;
|
|
15
|
+
post_id: string | null;
|
|
16
|
+
timestamp: Date | null;
|
|
17
|
+
content: string | null;
|
|
18
|
+
author_id: string | null;
|
|
19
|
+
};
|
|
20
|
+
export type PostBlocksMaxAggregateOutputType = {
|
|
21
|
+
message_id: string | null;
|
|
22
|
+
post_id: string | null;
|
|
23
|
+
timestamp: Date | null;
|
|
24
|
+
content: string | null;
|
|
25
|
+
author_id: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type PostBlocksCountAggregateOutputType = {
|
|
28
|
+
message_id: number;
|
|
29
|
+
post_id: number;
|
|
30
|
+
timestamp: number;
|
|
31
|
+
content: number;
|
|
32
|
+
components: number;
|
|
33
|
+
embeds: number;
|
|
34
|
+
author_id: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type PostBlocksMinAggregateInputType = {
|
|
38
|
+
message_id?: true;
|
|
39
|
+
post_id?: true;
|
|
40
|
+
timestamp?: true;
|
|
41
|
+
content?: true;
|
|
42
|
+
author_id?: true;
|
|
43
|
+
};
|
|
44
|
+
export type PostBlocksMaxAggregateInputType = {
|
|
45
|
+
message_id?: true;
|
|
46
|
+
post_id?: true;
|
|
47
|
+
timestamp?: true;
|
|
48
|
+
content?: true;
|
|
49
|
+
author_id?: true;
|
|
50
|
+
};
|
|
51
|
+
export type PostBlocksCountAggregateInputType = {
|
|
52
|
+
message_id?: true;
|
|
53
|
+
post_id?: true;
|
|
54
|
+
timestamp?: true;
|
|
55
|
+
content?: true;
|
|
56
|
+
components?: true;
|
|
57
|
+
embeds?: true;
|
|
58
|
+
author_id?: true;
|
|
59
|
+
_all?: true;
|
|
60
|
+
};
|
|
61
|
+
export type PostBlocksAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
62
|
+
/**
|
|
63
|
+
* Filter which PostBlocks to aggregate.
|
|
64
|
+
*/
|
|
65
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
66
|
+
/**
|
|
67
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
68
|
+
*
|
|
69
|
+
* Determine the order of PostBlocks to fetch.
|
|
70
|
+
*/
|
|
71
|
+
orderBy?: Prisma.PostBlocksOrderByWithRelationInput | Prisma.PostBlocksOrderByWithRelationInput[];
|
|
72
|
+
/**
|
|
73
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
74
|
+
*
|
|
75
|
+
* Sets the start position
|
|
76
|
+
*/
|
|
77
|
+
cursor?: Prisma.PostBlocksWhereUniqueInput;
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
80
|
+
*
|
|
81
|
+
* Take `±n` PostBlocks from the position of the cursor.
|
|
82
|
+
*/
|
|
83
|
+
take?: number;
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
86
|
+
*
|
|
87
|
+
* Skip the first `n` PostBlocks.
|
|
88
|
+
*/
|
|
89
|
+
skip?: number;
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
92
|
+
*
|
|
93
|
+
* Count returned PostBlocks
|
|
94
|
+
**/
|
|
95
|
+
_count?: true | PostBlocksCountAggregateInputType;
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
98
|
+
*
|
|
99
|
+
* Select which fields to find the minimum value
|
|
100
|
+
**/
|
|
101
|
+
_min?: PostBlocksMinAggregateInputType;
|
|
102
|
+
/**
|
|
103
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
104
|
+
*
|
|
105
|
+
* Select which fields to find the maximum value
|
|
106
|
+
**/
|
|
107
|
+
_max?: PostBlocksMaxAggregateInputType;
|
|
108
|
+
};
|
|
109
|
+
export type GetPostBlocksAggregateType<T extends PostBlocksAggregateArgs> = {
|
|
110
|
+
[P in keyof T & keyof AggregatePostBlocks]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePostBlocks[P]> : Prisma.GetScalarType<T[P], AggregatePostBlocks[P]>;
|
|
111
|
+
};
|
|
112
|
+
export type PostBlocksGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
113
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
114
|
+
orderBy?: Prisma.PostBlocksOrderByWithAggregationInput | Prisma.PostBlocksOrderByWithAggregationInput[];
|
|
115
|
+
by: Prisma.PostBlocksScalarFieldEnum[] | Prisma.PostBlocksScalarFieldEnum;
|
|
116
|
+
having?: Prisma.PostBlocksScalarWhereWithAggregatesInput;
|
|
117
|
+
take?: number;
|
|
118
|
+
skip?: number;
|
|
119
|
+
_count?: PostBlocksCountAggregateInputType | true;
|
|
120
|
+
_min?: PostBlocksMinAggregateInputType;
|
|
121
|
+
_max?: PostBlocksMaxAggregateInputType;
|
|
122
|
+
};
|
|
123
|
+
export type PostBlocksGroupByOutputType = {
|
|
124
|
+
message_id: string;
|
|
125
|
+
post_id: string;
|
|
126
|
+
timestamp: Date;
|
|
127
|
+
content: string | null;
|
|
128
|
+
components: runtime.JsonValue[];
|
|
129
|
+
embeds: runtime.JsonValue[];
|
|
130
|
+
author_id: string;
|
|
131
|
+
_count: PostBlocksCountAggregateOutputType | null;
|
|
132
|
+
_min: PostBlocksMinAggregateOutputType | null;
|
|
133
|
+
_max: PostBlocksMaxAggregateOutputType | null;
|
|
134
|
+
};
|
|
135
|
+
export type GetPostBlocksGroupByPayload<T extends PostBlocksGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PostBlocksGroupByOutputType, T['by']> & {
|
|
136
|
+
[P in ((keyof T) & (keyof PostBlocksGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PostBlocksGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PostBlocksGroupByOutputType[P]>;
|
|
137
|
+
}>>;
|
|
138
|
+
export type PostBlocksWhereInput = {
|
|
139
|
+
AND?: Prisma.PostBlocksWhereInput | Prisma.PostBlocksWhereInput[];
|
|
140
|
+
OR?: Prisma.PostBlocksWhereInput[];
|
|
141
|
+
NOT?: Prisma.PostBlocksWhereInput | Prisma.PostBlocksWhereInput[];
|
|
142
|
+
message_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
143
|
+
post_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
144
|
+
timestamp?: Prisma.DateTimeFilter<"PostBlocks"> | Date | string;
|
|
145
|
+
content?: Prisma.StringNullableFilter<"PostBlocks"> | string | null;
|
|
146
|
+
components?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
147
|
+
embeds?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
148
|
+
author_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
149
|
+
author?: Prisma.XOR<Prisma.DiscordUserScalarRelationFilter, Prisma.DiscordUserWhereInput>;
|
|
150
|
+
post?: Prisma.XOR<Prisma.PostScalarRelationFilter, Prisma.PostWhereInput>;
|
|
151
|
+
media?: Prisma.PostBlockMediaListRelationFilter;
|
|
152
|
+
};
|
|
153
|
+
export type PostBlocksOrderByWithRelationInput = {
|
|
154
|
+
message_id?: Prisma.SortOrder;
|
|
155
|
+
post_id?: Prisma.SortOrder;
|
|
156
|
+
timestamp?: Prisma.SortOrder;
|
|
157
|
+
content?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
158
|
+
components?: Prisma.SortOrder;
|
|
159
|
+
embeds?: Prisma.SortOrder;
|
|
160
|
+
author_id?: Prisma.SortOrder;
|
|
161
|
+
author?: Prisma.DiscordUserOrderByWithRelationInput;
|
|
162
|
+
post?: Prisma.PostOrderByWithRelationInput;
|
|
163
|
+
media?: Prisma.PostBlockMediaOrderByRelationAggregateInput;
|
|
164
|
+
};
|
|
165
|
+
export type PostBlocksWhereUniqueInput = Prisma.AtLeast<{
|
|
166
|
+
message_id?: string;
|
|
167
|
+
AND?: Prisma.PostBlocksWhereInput | Prisma.PostBlocksWhereInput[];
|
|
168
|
+
OR?: Prisma.PostBlocksWhereInput[];
|
|
169
|
+
NOT?: Prisma.PostBlocksWhereInput | Prisma.PostBlocksWhereInput[];
|
|
170
|
+
post_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
171
|
+
timestamp?: Prisma.DateTimeFilter<"PostBlocks"> | Date | string;
|
|
172
|
+
content?: Prisma.StringNullableFilter<"PostBlocks"> | string | null;
|
|
173
|
+
components?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
174
|
+
embeds?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
175
|
+
author_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
176
|
+
author?: Prisma.XOR<Prisma.DiscordUserScalarRelationFilter, Prisma.DiscordUserWhereInput>;
|
|
177
|
+
post?: Prisma.XOR<Prisma.PostScalarRelationFilter, Prisma.PostWhereInput>;
|
|
178
|
+
media?: Prisma.PostBlockMediaListRelationFilter;
|
|
179
|
+
}, "message_id">;
|
|
180
|
+
export type PostBlocksOrderByWithAggregationInput = {
|
|
181
|
+
message_id?: Prisma.SortOrder;
|
|
182
|
+
post_id?: Prisma.SortOrder;
|
|
183
|
+
timestamp?: Prisma.SortOrder;
|
|
184
|
+
content?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
185
|
+
components?: Prisma.SortOrder;
|
|
186
|
+
embeds?: Prisma.SortOrder;
|
|
187
|
+
author_id?: Prisma.SortOrder;
|
|
188
|
+
_count?: Prisma.PostBlocksCountOrderByAggregateInput;
|
|
189
|
+
_max?: Prisma.PostBlocksMaxOrderByAggregateInput;
|
|
190
|
+
_min?: Prisma.PostBlocksMinOrderByAggregateInput;
|
|
191
|
+
};
|
|
192
|
+
export type PostBlocksScalarWhereWithAggregatesInput = {
|
|
193
|
+
AND?: Prisma.PostBlocksScalarWhereWithAggregatesInput | Prisma.PostBlocksScalarWhereWithAggregatesInput[];
|
|
194
|
+
OR?: Prisma.PostBlocksScalarWhereWithAggregatesInput[];
|
|
195
|
+
NOT?: Prisma.PostBlocksScalarWhereWithAggregatesInput | Prisma.PostBlocksScalarWhereWithAggregatesInput[];
|
|
196
|
+
message_id?: Prisma.StringWithAggregatesFilter<"PostBlocks"> | string;
|
|
197
|
+
post_id?: Prisma.StringWithAggregatesFilter<"PostBlocks"> | string;
|
|
198
|
+
timestamp?: Prisma.DateTimeWithAggregatesFilter<"PostBlocks"> | Date | string;
|
|
199
|
+
content?: Prisma.StringNullableWithAggregatesFilter<"PostBlocks"> | string | null;
|
|
200
|
+
components?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
201
|
+
embeds?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
202
|
+
author_id?: Prisma.StringWithAggregatesFilter<"PostBlocks"> | string;
|
|
203
|
+
};
|
|
204
|
+
export type PostBlocksCreateInput = {
|
|
205
|
+
message_id: string;
|
|
206
|
+
timestamp: Date | string;
|
|
207
|
+
content?: string | null;
|
|
208
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
209
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
210
|
+
author: Prisma.DiscordUserCreateNestedOneWithoutPost_blocksInput;
|
|
211
|
+
post: Prisma.PostCreateNestedOneWithoutPost_blocksInput;
|
|
212
|
+
media?: Prisma.PostBlockMediaCreateNestedManyWithoutPost_blockInput;
|
|
213
|
+
};
|
|
214
|
+
export type PostBlocksUncheckedCreateInput = {
|
|
215
|
+
message_id: string;
|
|
216
|
+
post_id: string;
|
|
217
|
+
timestamp: Date | string;
|
|
218
|
+
content?: string | null;
|
|
219
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
220
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
221
|
+
author_id: string;
|
|
222
|
+
media?: Prisma.PostBlockMediaUncheckedCreateNestedManyWithoutPost_blockInput;
|
|
223
|
+
};
|
|
224
|
+
export type PostBlocksUpdateInput = {
|
|
225
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
226
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
227
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
228
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
229
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
230
|
+
author?: Prisma.DiscordUserUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
231
|
+
post?: Prisma.PostUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
232
|
+
media?: Prisma.PostBlockMediaUpdateManyWithoutPost_blockNestedInput;
|
|
233
|
+
};
|
|
234
|
+
export type PostBlocksUncheckedUpdateInput = {
|
|
235
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
|
+
post_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
237
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
238
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
239
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
240
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
241
|
+
author_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
media?: Prisma.PostBlockMediaUncheckedUpdateManyWithoutPost_blockNestedInput;
|
|
243
|
+
};
|
|
244
|
+
export type PostBlocksCreateManyInput = {
|
|
245
|
+
message_id: string;
|
|
246
|
+
post_id: string;
|
|
247
|
+
timestamp: Date | string;
|
|
248
|
+
content?: string | null;
|
|
249
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
250
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
251
|
+
author_id: string;
|
|
252
|
+
};
|
|
253
|
+
export type PostBlocksUpdateManyMutationInput = {
|
|
254
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
256
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
257
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
258
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
259
|
+
};
|
|
260
|
+
export type PostBlocksUncheckedUpdateManyInput = {
|
|
261
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
262
|
+
post_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
265
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
266
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
267
|
+
author_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
268
|
+
};
|
|
269
|
+
export type PostBlocksListRelationFilter = {
|
|
270
|
+
every?: Prisma.PostBlocksWhereInput;
|
|
271
|
+
some?: Prisma.PostBlocksWhereInput;
|
|
272
|
+
none?: Prisma.PostBlocksWhereInput;
|
|
273
|
+
};
|
|
274
|
+
export type PostBlocksOrderByRelationAggregateInput = {
|
|
275
|
+
_count?: Prisma.SortOrder;
|
|
276
|
+
};
|
|
277
|
+
export type JsonNullableListFilter<$PrismaModel = never> = Prisma.PatchUndefined<Prisma.Either<Required<JsonNullableListFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableListFilterBase<$PrismaModel>>, 'path'>>, Required<JsonNullableListFilterBase<$PrismaModel>>> | Prisma.OptionalFlat<Omit<Required<JsonNullableListFilterBase<$PrismaModel>>, 'path'>>;
|
|
278
|
+
export type JsonNullableListFilterBase<$PrismaModel = never> = {
|
|
279
|
+
equals?: runtime.InputJsonValue[] | Prisma.ListJsonFieldRefInput<$PrismaModel> | null;
|
|
280
|
+
has?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null;
|
|
281
|
+
hasEvery?: runtime.InputJsonValue[] | Prisma.ListJsonFieldRefInput<$PrismaModel>;
|
|
282
|
+
hasSome?: runtime.InputJsonValue[] | Prisma.ListJsonFieldRefInput<$PrismaModel>;
|
|
283
|
+
isEmpty?: boolean;
|
|
284
|
+
};
|
|
285
|
+
export type PostBlocksCountOrderByAggregateInput = {
|
|
286
|
+
message_id?: Prisma.SortOrder;
|
|
287
|
+
post_id?: Prisma.SortOrder;
|
|
288
|
+
timestamp?: Prisma.SortOrder;
|
|
289
|
+
content?: Prisma.SortOrder;
|
|
290
|
+
components?: Prisma.SortOrder;
|
|
291
|
+
embeds?: Prisma.SortOrder;
|
|
292
|
+
author_id?: Prisma.SortOrder;
|
|
293
|
+
};
|
|
294
|
+
export type PostBlocksMaxOrderByAggregateInput = {
|
|
295
|
+
message_id?: Prisma.SortOrder;
|
|
296
|
+
post_id?: Prisma.SortOrder;
|
|
297
|
+
timestamp?: Prisma.SortOrder;
|
|
298
|
+
content?: Prisma.SortOrder;
|
|
299
|
+
author_id?: Prisma.SortOrder;
|
|
300
|
+
};
|
|
301
|
+
export type PostBlocksMinOrderByAggregateInput = {
|
|
302
|
+
message_id?: Prisma.SortOrder;
|
|
303
|
+
post_id?: Prisma.SortOrder;
|
|
304
|
+
timestamp?: Prisma.SortOrder;
|
|
305
|
+
content?: Prisma.SortOrder;
|
|
306
|
+
author_id?: Prisma.SortOrder;
|
|
307
|
+
};
|
|
308
|
+
export type PostBlocksScalarRelationFilter = {
|
|
309
|
+
is?: Prisma.PostBlocksWhereInput;
|
|
310
|
+
isNot?: Prisma.PostBlocksWhereInput;
|
|
311
|
+
};
|
|
312
|
+
export type PostBlocksCreateNestedManyWithoutAuthorInput = {
|
|
313
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput> | Prisma.PostBlocksCreateWithoutAuthorInput[] | Prisma.PostBlocksUncheckedCreateWithoutAuthorInput[];
|
|
314
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutAuthorInput | Prisma.PostBlocksCreateOrConnectWithoutAuthorInput[];
|
|
315
|
+
createMany?: Prisma.PostBlocksCreateManyAuthorInputEnvelope;
|
|
316
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
317
|
+
};
|
|
318
|
+
export type PostBlocksUncheckedCreateNestedManyWithoutAuthorInput = {
|
|
319
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput> | Prisma.PostBlocksCreateWithoutAuthorInput[] | Prisma.PostBlocksUncheckedCreateWithoutAuthorInput[];
|
|
320
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutAuthorInput | Prisma.PostBlocksCreateOrConnectWithoutAuthorInput[];
|
|
321
|
+
createMany?: Prisma.PostBlocksCreateManyAuthorInputEnvelope;
|
|
322
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
323
|
+
};
|
|
324
|
+
export type PostBlocksUpdateManyWithoutAuthorNestedInput = {
|
|
325
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput> | Prisma.PostBlocksCreateWithoutAuthorInput[] | Prisma.PostBlocksUncheckedCreateWithoutAuthorInput[];
|
|
326
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutAuthorInput | Prisma.PostBlocksCreateOrConnectWithoutAuthorInput[];
|
|
327
|
+
upsert?: Prisma.PostBlocksUpsertWithWhereUniqueWithoutAuthorInput | Prisma.PostBlocksUpsertWithWhereUniqueWithoutAuthorInput[];
|
|
328
|
+
createMany?: Prisma.PostBlocksCreateManyAuthorInputEnvelope;
|
|
329
|
+
set?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
330
|
+
disconnect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
331
|
+
delete?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
332
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
333
|
+
update?: Prisma.PostBlocksUpdateWithWhereUniqueWithoutAuthorInput | Prisma.PostBlocksUpdateWithWhereUniqueWithoutAuthorInput[];
|
|
334
|
+
updateMany?: Prisma.PostBlocksUpdateManyWithWhereWithoutAuthorInput | Prisma.PostBlocksUpdateManyWithWhereWithoutAuthorInput[];
|
|
335
|
+
deleteMany?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
336
|
+
};
|
|
337
|
+
export type PostBlocksUncheckedUpdateManyWithoutAuthorNestedInput = {
|
|
338
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput> | Prisma.PostBlocksCreateWithoutAuthorInput[] | Prisma.PostBlocksUncheckedCreateWithoutAuthorInput[];
|
|
339
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutAuthorInput | Prisma.PostBlocksCreateOrConnectWithoutAuthorInput[];
|
|
340
|
+
upsert?: Prisma.PostBlocksUpsertWithWhereUniqueWithoutAuthorInput | Prisma.PostBlocksUpsertWithWhereUniqueWithoutAuthorInput[];
|
|
341
|
+
createMany?: Prisma.PostBlocksCreateManyAuthorInputEnvelope;
|
|
342
|
+
set?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
343
|
+
disconnect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
344
|
+
delete?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
345
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
346
|
+
update?: Prisma.PostBlocksUpdateWithWhereUniqueWithoutAuthorInput | Prisma.PostBlocksUpdateWithWhereUniqueWithoutAuthorInput[];
|
|
347
|
+
updateMany?: Prisma.PostBlocksUpdateManyWithWhereWithoutAuthorInput | Prisma.PostBlocksUpdateManyWithWhereWithoutAuthorInput[];
|
|
348
|
+
deleteMany?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
349
|
+
};
|
|
350
|
+
export type PostBlocksCreateNestedManyWithoutPostInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput> | Prisma.PostBlocksCreateWithoutPostInput[] | Prisma.PostBlocksUncheckedCreateWithoutPostInput[];
|
|
352
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutPostInput | Prisma.PostBlocksCreateOrConnectWithoutPostInput[];
|
|
353
|
+
createMany?: Prisma.PostBlocksCreateManyPostInputEnvelope;
|
|
354
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
355
|
+
};
|
|
356
|
+
export type PostBlocksUncheckedCreateNestedManyWithoutPostInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput> | Prisma.PostBlocksCreateWithoutPostInput[] | Prisma.PostBlocksUncheckedCreateWithoutPostInput[];
|
|
358
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutPostInput | Prisma.PostBlocksCreateOrConnectWithoutPostInput[];
|
|
359
|
+
createMany?: Prisma.PostBlocksCreateManyPostInputEnvelope;
|
|
360
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
361
|
+
};
|
|
362
|
+
export type PostBlocksUpdateManyWithoutPostNestedInput = {
|
|
363
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput> | Prisma.PostBlocksCreateWithoutPostInput[] | Prisma.PostBlocksUncheckedCreateWithoutPostInput[];
|
|
364
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutPostInput | Prisma.PostBlocksCreateOrConnectWithoutPostInput[];
|
|
365
|
+
upsert?: Prisma.PostBlocksUpsertWithWhereUniqueWithoutPostInput | Prisma.PostBlocksUpsertWithWhereUniqueWithoutPostInput[];
|
|
366
|
+
createMany?: Prisma.PostBlocksCreateManyPostInputEnvelope;
|
|
367
|
+
set?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
368
|
+
disconnect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
369
|
+
delete?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
370
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
371
|
+
update?: Prisma.PostBlocksUpdateWithWhereUniqueWithoutPostInput | Prisma.PostBlocksUpdateWithWhereUniqueWithoutPostInput[];
|
|
372
|
+
updateMany?: Prisma.PostBlocksUpdateManyWithWhereWithoutPostInput | Prisma.PostBlocksUpdateManyWithWhereWithoutPostInput[];
|
|
373
|
+
deleteMany?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
374
|
+
};
|
|
375
|
+
export type PostBlocksUncheckedUpdateManyWithoutPostNestedInput = {
|
|
376
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput> | Prisma.PostBlocksCreateWithoutPostInput[] | Prisma.PostBlocksUncheckedCreateWithoutPostInput[];
|
|
377
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutPostInput | Prisma.PostBlocksCreateOrConnectWithoutPostInput[];
|
|
378
|
+
upsert?: Prisma.PostBlocksUpsertWithWhereUniqueWithoutPostInput | Prisma.PostBlocksUpsertWithWhereUniqueWithoutPostInput[];
|
|
379
|
+
createMany?: Prisma.PostBlocksCreateManyPostInputEnvelope;
|
|
380
|
+
set?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
381
|
+
disconnect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
382
|
+
delete?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
383
|
+
connect?: Prisma.PostBlocksWhereUniqueInput | Prisma.PostBlocksWhereUniqueInput[];
|
|
384
|
+
update?: Prisma.PostBlocksUpdateWithWhereUniqueWithoutPostInput | Prisma.PostBlocksUpdateWithWhereUniqueWithoutPostInput[];
|
|
385
|
+
updateMany?: Prisma.PostBlocksUpdateManyWithWhereWithoutPostInput | Prisma.PostBlocksUpdateManyWithWhereWithoutPostInput[];
|
|
386
|
+
deleteMany?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
387
|
+
};
|
|
388
|
+
export type PostBlocksCreatecomponentsInput = {
|
|
389
|
+
set: runtime.InputJsonValue[];
|
|
390
|
+
};
|
|
391
|
+
export type PostBlocksCreateembedsInput = {
|
|
392
|
+
set: runtime.InputJsonValue[];
|
|
393
|
+
};
|
|
394
|
+
export type PostBlocksUpdatecomponentsInput = {
|
|
395
|
+
set?: runtime.InputJsonValue[];
|
|
396
|
+
push?: runtime.InputJsonValue | runtime.InputJsonValue[];
|
|
397
|
+
};
|
|
398
|
+
export type PostBlocksUpdateembedsInput = {
|
|
399
|
+
set?: runtime.InputJsonValue[];
|
|
400
|
+
push?: runtime.InputJsonValue | runtime.InputJsonValue[];
|
|
401
|
+
};
|
|
402
|
+
export type PostBlocksCreateNestedOneWithoutMediaInput = {
|
|
403
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutMediaInput, Prisma.PostBlocksUncheckedCreateWithoutMediaInput>;
|
|
404
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutMediaInput;
|
|
405
|
+
connect?: Prisma.PostBlocksWhereUniqueInput;
|
|
406
|
+
};
|
|
407
|
+
export type PostBlocksUpdateOneRequiredWithoutMediaNestedInput = {
|
|
408
|
+
create?: Prisma.XOR<Prisma.PostBlocksCreateWithoutMediaInput, Prisma.PostBlocksUncheckedCreateWithoutMediaInput>;
|
|
409
|
+
connectOrCreate?: Prisma.PostBlocksCreateOrConnectWithoutMediaInput;
|
|
410
|
+
upsert?: Prisma.PostBlocksUpsertWithoutMediaInput;
|
|
411
|
+
connect?: Prisma.PostBlocksWhereUniqueInput;
|
|
412
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PostBlocksUpdateToOneWithWhereWithoutMediaInput, Prisma.PostBlocksUpdateWithoutMediaInput>, Prisma.PostBlocksUncheckedUpdateWithoutMediaInput>;
|
|
413
|
+
};
|
|
414
|
+
export type PostBlocksCreateWithoutAuthorInput = {
|
|
415
|
+
message_id: string;
|
|
416
|
+
timestamp: Date | string;
|
|
417
|
+
content?: string | null;
|
|
418
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
419
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
420
|
+
post: Prisma.PostCreateNestedOneWithoutPost_blocksInput;
|
|
421
|
+
media?: Prisma.PostBlockMediaCreateNestedManyWithoutPost_blockInput;
|
|
422
|
+
};
|
|
423
|
+
export type PostBlocksUncheckedCreateWithoutAuthorInput = {
|
|
424
|
+
message_id: string;
|
|
425
|
+
post_id: string;
|
|
426
|
+
timestamp: Date | string;
|
|
427
|
+
content?: string | null;
|
|
428
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
429
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
430
|
+
media?: Prisma.PostBlockMediaUncheckedCreateNestedManyWithoutPost_blockInput;
|
|
431
|
+
};
|
|
432
|
+
export type PostBlocksCreateOrConnectWithoutAuthorInput = {
|
|
433
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
434
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput>;
|
|
435
|
+
};
|
|
436
|
+
export type PostBlocksCreateManyAuthorInputEnvelope = {
|
|
437
|
+
data: Prisma.PostBlocksCreateManyAuthorInput | Prisma.PostBlocksCreateManyAuthorInput[];
|
|
438
|
+
skipDuplicates?: boolean;
|
|
439
|
+
};
|
|
440
|
+
export type PostBlocksUpsertWithWhereUniqueWithoutAuthorInput = {
|
|
441
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
442
|
+
update: Prisma.XOR<Prisma.PostBlocksUpdateWithoutAuthorInput, Prisma.PostBlocksUncheckedUpdateWithoutAuthorInput>;
|
|
443
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutAuthorInput, Prisma.PostBlocksUncheckedCreateWithoutAuthorInput>;
|
|
444
|
+
};
|
|
445
|
+
export type PostBlocksUpdateWithWhereUniqueWithoutAuthorInput = {
|
|
446
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
447
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateWithoutAuthorInput, Prisma.PostBlocksUncheckedUpdateWithoutAuthorInput>;
|
|
448
|
+
};
|
|
449
|
+
export type PostBlocksUpdateManyWithWhereWithoutAuthorInput = {
|
|
450
|
+
where: Prisma.PostBlocksScalarWhereInput;
|
|
451
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateManyMutationInput, Prisma.PostBlocksUncheckedUpdateManyWithoutAuthorInput>;
|
|
452
|
+
};
|
|
453
|
+
export type PostBlocksScalarWhereInput = {
|
|
454
|
+
AND?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
455
|
+
OR?: Prisma.PostBlocksScalarWhereInput[];
|
|
456
|
+
NOT?: Prisma.PostBlocksScalarWhereInput | Prisma.PostBlocksScalarWhereInput[];
|
|
457
|
+
message_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
458
|
+
post_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
459
|
+
timestamp?: Prisma.DateTimeFilter<"PostBlocks"> | Date | string;
|
|
460
|
+
content?: Prisma.StringNullableFilter<"PostBlocks"> | string | null;
|
|
461
|
+
components?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
462
|
+
embeds?: Prisma.JsonNullableListFilter<"PostBlocks">;
|
|
463
|
+
author_id?: Prisma.StringFilter<"PostBlocks"> | string;
|
|
464
|
+
};
|
|
465
|
+
export type PostBlocksCreateWithoutPostInput = {
|
|
466
|
+
message_id: string;
|
|
467
|
+
timestamp: Date | string;
|
|
468
|
+
content?: string | null;
|
|
469
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
470
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
471
|
+
author: Prisma.DiscordUserCreateNestedOneWithoutPost_blocksInput;
|
|
472
|
+
media?: Prisma.PostBlockMediaCreateNestedManyWithoutPost_blockInput;
|
|
473
|
+
};
|
|
474
|
+
export type PostBlocksUncheckedCreateWithoutPostInput = {
|
|
475
|
+
message_id: string;
|
|
476
|
+
timestamp: Date | string;
|
|
477
|
+
content?: string | null;
|
|
478
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
479
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
480
|
+
author_id: string;
|
|
481
|
+
media?: Prisma.PostBlockMediaUncheckedCreateNestedManyWithoutPost_blockInput;
|
|
482
|
+
};
|
|
483
|
+
export type PostBlocksCreateOrConnectWithoutPostInput = {
|
|
484
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
485
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput>;
|
|
486
|
+
};
|
|
487
|
+
export type PostBlocksCreateManyPostInputEnvelope = {
|
|
488
|
+
data: Prisma.PostBlocksCreateManyPostInput | Prisma.PostBlocksCreateManyPostInput[];
|
|
489
|
+
skipDuplicates?: boolean;
|
|
490
|
+
};
|
|
491
|
+
export type PostBlocksUpsertWithWhereUniqueWithoutPostInput = {
|
|
492
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
493
|
+
update: Prisma.XOR<Prisma.PostBlocksUpdateWithoutPostInput, Prisma.PostBlocksUncheckedUpdateWithoutPostInput>;
|
|
494
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutPostInput, Prisma.PostBlocksUncheckedCreateWithoutPostInput>;
|
|
495
|
+
};
|
|
496
|
+
export type PostBlocksUpdateWithWhereUniqueWithoutPostInput = {
|
|
497
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
498
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateWithoutPostInput, Prisma.PostBlocksUncheckedUpdateWithoutPostInput>;
|
|
499
|
+
};
|
|
500
|
+
export type PostBlocksUpdateManyWithWhereWithoutPostInput = {
|
|
501
|
+
where: Prisma.PostBlocksScalarWhereInput;
|
|
502
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateManyMutationInput, Prisma.PostBlocksUncheckedUpdateManyWithoutPostInput>;
|
|
503
|
+
};
|
|
504
|
+
export type PostBlocksCreateWithoutMediaInput = {
|
|
505
|
+
message_id: string;
|
|
506
|
+
timestamp: Date | string;
|
|
507
|
+
content?: string | null;
|
|
508
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
509
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
510
|
+
author: Prisma.DiscordUserCreateNestedOneWithoutPost_blocksInput;
|
|
511
|
+
post: Prisma.PostCreateNestedOneWithoutPost_blocksInput;
|
|
512
|
+
};
|
|
513
|
+
export type PostBlocksUncheckedCreateWithoutMediaInput = {
|
|
514
|
+
message_id: string;
|
|
515
|
+
post_id: string;
|
|
516
|
+
timestamp: Date | string;
|
|
517
|
+
content?: string | null;
|
|
518
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
519
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
520
|
+
author_id: string;
|
|
521
|
+
};
|
|
522
|
+
export type PostBlocksCreateOrConnectWithoutMediaInput = {
|
|
523
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
524
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutMediaInput, Prisma.PostBlocksUncheckedCreateWithoutMediaInput>;
|
|
525
|
+
};
|
|
526
|
+
export type PostBlocksUpsertWithoutMediaInput = {
|
|
527
|
+
update: Prisma.XOR<Prisma.PostBlocksUpdateWithoutMediaInput, Prisma.PostBlocksUncheckedUpdateWithoutMediaInput>;
|
|
528
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateWithoutMediaInput, Prisma.PostBlocksUncheckedCreateWithoutMediaInput>;
|
|
529
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
530
|
+
};
|
|
531
|
+
export type PostBlocksUpdateToOneWithWhereWithoutMediaInput = {
|
|
532
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
533
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateWithoutMediaInput, Prisma.PostBlocksUncheckedUpdateWithoutMediaInput>;
|
|
534
|
+
};
|
|
535
|
+
export type PostBlocksUpdateWithoutMediaInput = {
|
|
536
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
537
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
538
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
539
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
540
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
541
|
+
author?: Prisma.DiscordUserUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
542
|
+
post?: Prisma.PostUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
543
|
+
};
|
|
544
|
+
export type PostBlocksUncheckedUpdateWithoutMediaInput = {
|
|
545
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
546
|
+
post_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
547
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
548
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
549
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
550
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
551
|
+
author_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
552
|
+
};
|
|
553
|
+
export type PostBlocksCreateManyAuthorInput = {
|
|
554
|
+
message_id: string;
|
|
555
|
+
post_id: string;
|
|
556
|
+
timestamp: Date | string;
|
|
557
|
+
content?: string | null;
|
|
558
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
559
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
560
|
+
};
|
|
561
|
+
export type PostBlocksUpdateWithoutAuthorInput = {
|
|
562
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
563
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
564
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
565
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
566
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
567
|
+
post?: Prisma.PostUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
568
|
+
media?: Prisma.PostBlockMediaUpdateManyWithoutPost_blockNestedInput;
|
|
569
|
+
};
|
|
570
|
+
export type PostBlocksUncheckedUpdateWithoutAuthorInput = {
|
|
571
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
572
|
+
post_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
573
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
574
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
575
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
576
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
577
|
+
media?: Prisma.PostBlockMediaUncheckedUpdateManyWithoutPost_blockNestedInput;
|
|
578
|
+
};
|
|
579
|
+
export type PostBlocksUncheckedUpdateManyWithoutAuthorInput = {
|
|
580
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
581
|
+
post_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
582
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
583
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
584
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
585
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
586
|
+
};
|
|
587
|
+
export type PostBlocksCreateManyPostInput = {
|
|
588
|
+
message_id: string;
|
|
589
|
+
timestamp: Date | string;
|
|
590
|
+
content?: string | null;
|
|
591
|
+
components?: Prisma.PostBlocksCreatecomponentsInput | runtime.InputJsonValue[];
|
|
592
|
+
embeds?: Prisma.PostBlocksCreateembedsInput | runtime.InputJsonValue[];
|
|
593
|
+
author_id: string;
|
|
594
|
+
};
|
|
595
|
+
export type PostBlocksUpdateWithoutPostInput = {
|
|
596
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
598
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
599
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
600
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
601
|
+
author?: Prisma.DiscordUserUpdateOneRequiredWithoutPost_blocksNestedInput;
|
|
602
|
+
media?: Prisma.PostBlockMediaUpdateManyWithoutPost_blockNestedInput;
|
|
603
|
+
};
|
|
604
|
+
export type PostBlocksUncheckedUpdateWithoutPostInput = {
|
|
605
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
606
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
607
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
608
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
609
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
610
|
+
author_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
|
+
media?: Prisma.PostBlockMediaUncheckedUpdateManyWithoutPost_blockNestedInput;
|
|
612
|
+
};
|
|
613
|
+
export type PostBlocksUncheckedUpdateManyWithoutPostInput = {
|
|
614
|
+
message_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
615
|
+
timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
616
|
+
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
617
|
+
components?: Prisma.PostBlocksUpdatecomponentsInput | runtime.InputJsonValue[];
|
|
618
|
+
embeds?: Prisma.PostBlocksUpdateembedsInput | runtime.InputJsonValue[];
|
|
619
|
+
author_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* Count Type PostBlocksCountOutputType
|
|
623
|
+
*/
|
|
624
|
+
export type PostBlocksCountOutputType = {
|
|
625
|
+
media: number;
|
|
626
|
+
};
|
|
627
|
+
export type PostBlocksCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
628
|
+
media?: boolean | PostBlocksCountOutputTypeCountMediaArgs;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* PostBlocksCountOutputType without action
|
|
632
|
+
*/
|
|
633
|
+
export type PostBlocksCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
634
|
+
/**
|
|
635
|
+
* Select specific fields to fetch from the PostBlocksCountOutputType
|
|
636
|
+
*/
|
|
637
|
+
select?: Prisma.PostBlocksCountOutputTypeSelect<ExtArgs> | null;
|
|
638
|
+
};
|
|
639
|
+
/**
|
|
640
|
+
* PostBlocksCountOutputType without action
|
|
641
|
+
*/
|
|
642
|
+
export type PostBlocksCountOutputTypeCountMediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
643
|
+
where?: Prisma.PostBlockMediaWhereInput;
|
|
644
|
+
};
|
|
645
|
+
export type PostBlocksSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
646
|
+
message_id?: boolean;
|
|
647
|
+
post_id?: boolean;
|
|
648
|
+
timestamp?: boolean;
|
|
649
|
+
content?: boolean;
|
|
650
|
+
components?: boolean;
|
|
651
|
+
embeds?: boolean;
|
|
652
|
+
author_id?: boolean;
|
|
653
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
654
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
655
|
+
media?: boolean | Prisma.PostBlocks$mediaArgs<ExtArgs>;
|
|
656
|
+
_count?: boolean | Prisma.PostBlocksCountOutputTypeDefaultArgs<ExtArgs>;
|
|
657
|
+
}, ExtArgs["result"]["postBlocks"]>;
|
|
658
|
+
export type PostBlocksSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
659
|
+
message_id?: boolean;
|
|
660
|
+
post_id?: boolean;
|
|
661
|
+
timestamp?: boolean;
|
|
662
|
+
content?: boolean;
|
|
663
|
+
components?: boolean;
|
|
664
|
+
embeds?: boolean;
|
|
665
|
+
author_id?: boolean;
|
|
666
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
667
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
668
|
+
}, ExtArgs["result"]["postBlocks"]>;
|
|
669
|
+
export type PostBlocksSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
670
|
+
message_id?: boolean;
|
|
671
|
+
post_id?: boolean;
|
|
672
|
+
timestamp?: boolean;
|
|
673
|
+
content?: boolean;
|
|
674
|
+
components?: boolean;
|
|
675
|
+
embeds?: boolean;
|
|
676
|
+
author_id?: boolean;
|
|
677
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
678
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
679
|
+
}, ExtArgs["result"]["postBlocks"]>;
|
|
680
|
+
export type PostBlocksSelectScalar = {
|
|
681
|
+
message_id?: boolean;
|
|
682
|
+
post_id?: boolean;
|
|
683
|
+
timestamp?: boolean;
|
|
684
|
+
content?: boolean;
|
|
685
|
+
components?: boolean;
|
|
686
|
+
embeds?: boolean;
|
|
687
|
+
author_id?: boolean;
|
|
688
|
+
};
|
|
689
|
+
export type PostBlocksOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"message_id" | "post_id" | "timestamp" | "content" | "components" | "embeds" | "author_id", ExtArgs["result"]["postBlocks"]>;
|
|
690
|
+
export type PostBlocksInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
691
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
692
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
693
|
+
media?: boolean | Prisma.PostBlocks$mediaArgs<ExtArgs>;
|
|
694
|
+
_count?: boolean | Prisma.PostBlocksCountOutputTypeDefaultArgs<ExtArgs>;
|
|
695
|
+
};
|
|
696
|
+
export type PostBlocksIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
697
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
698
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
699
|
+
};
|
|
700
|
+
export type PostBlocksIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
701
|
+
author?: boolean | Prisma.DiscordUserDefaultArgs<ExtArgs>;
|
|
702
|
+
post?: boolean | Prisma.PostDefaultArgs<ExtArgs>;
|
|
703
|
+
};
|
|
704
|
+
export type $PostBlocksPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
705
|
+
name: "PostBlocks";
|
|
706
|
+
objects: {
|
|
707
|
+
author: Prisma.$DiscordUserPayload<ExtArgs>;
|
|
708
|
+
post: Prisma.$PostPayload<ExtArgs>;
|
|
709
|
+
media: Prisma.$PostBlockMediaPayload<ExtArgs>[];
|
|
710
|
+
};
|
|
711
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
712
|
+
message_id: string;
|
|
713
|
+
post_id: string;
|
|
714
|
+
timestamp: Date;
|
|
715
|
+
content: string | null;
|
|
716
|
+
components: runtime.JsonValue[];
|
|
717
|
+
embeds: runtime.JsonValue[];
|
|
718
|
+
author_id: string;
|
|
719
|
+
}, ExtArgs["result"]["postBlocks"]>;
|
|
720
|
+
composites: {};
|
|
721
|
+
};
|
|
722
|
+
export type PostBlocksGetPayload<S extends boolean | null | undefined | PostBlocksDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload, S>;
|
|
723
|
+
export type PostBlocksCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PostBlocksFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
724
|
+
select?: PostBlocksCountAggregateInputType | true;
|
|
725
|
+
};
|
|
726
|
+
export interface PostBlocksDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
727
|
+
[K: symbol]: {
|
|
728
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PostBlocks'];
|
|
729
|
+
meta: {
|
|
730
|
+
name: 'PostBlocks';
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
/**
|
|
734
|
+
* Find zero or one PostBlocks that matches the filter.
|
|
735
|
+
* @param {PostBlocksFindUniqueArgs} args - Arguments to find a PostBlocks
|
|
736
|
+
* @example
|
|
737
|
+
* // Get one PostBlocks
|
|
738
|
+
* const postBlocks = await prisma.postBlocks.findUnique({
|
|
739
|
+
* where: {
|
|
740
|
+
* // ... provide filter here
|
|
741
|
+
* }
|
|
742
|
+
* })
|
|
743
|
+
*/
|
|
744
|
+
findUnique<T extends PostBlocksFindUniqueArgs>(args: Prisma.SelectSubset<T, PostBlocksFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
745
|
+
/**
|
|
746
|
+
* Find one PostBlocks that matches the filter or throw an error with `error.code='P2025'`
|
|
747
|
+
* if no matches were found.
|
|
748
|
+
* @param {PostBlocksFindUniqueOrThrowArgs} args - Arguments to find a PostBlocks
|
|
749
|
+
* @example
|
|
750
|
+
* // Get one PostBlocks
|
|
751
|
+
* const postBlocks = await prisma.postBlocks.findUniqueOrThrow({
|
|
752
|
+
* where: {
|
|
753
|
+
* // ... provide filter here
|
|
754
|
+
* }
|
|
755
|
+
* })
|
|
756
|
+
*/
|
|
757
|
+
findUniqueOrThrow<T extends PostBlocksFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PostBlocksFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
758
|
+
/**
|
|
759
|
+
* Find the first PostBlocks that matches the filter.
|
|
760
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
761
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
762
|
+
* @param {PostBlocksFindFirstArgs} args - Arguments to find a PostBlocks
|
|
763
|
+
* @example
|
|
764
|
+
* // Get one PostBlocks
|
|
765
|
+
* const postBlocks = await prisma.postBlocks.findFirst({
|
|
766
|
+
* where: {
|
|
767
|
+
* // ... provide filter here
|
|
768
|
+
* }
|
|
769
|
+
* })
|
|
770
|
+
*/
|
|
771
|
+
findFirst<T extends PostBlocksFindFirstArgs>(args?: Prisma.SelectSubset<T, PostBlocksFindFirstArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
772
|
+
/**
|
|
773
|
+
* Find the first PostBlocks that matches the filter or
|
|
774
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
775
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
776
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
777
|
+
* @param {PostBlocksFindFirstOrThrowArgs} args - Arguments to find a PostBlocks
|
|
778
|
+
* @example
|
|
779
|
+
* // Get one PostBlocks
|
|
780
|
+
* const postBlocks = await prisma.postBlocks.findFirstOrThrow({
|
|
781
|
+
* where: {
|
|
782
|
+
* // ... provide filter here
|
|
783
|
+
* }
|
|
784
|
+
* })
|
|
785
|
+
*/
|
|
786
|
+
findFirstOrThrow<T extends PostBlocksFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PostBlocksFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
787
|
+
/**
|
|
788
|
+
* Find zero or more PostBlocks that matches the filter.
|
|
789
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
790
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
791
|
+
* @param {PostBlocksFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
792
|
+
* @example
|
|
793
|
+
* // Get all PostBlocks
|
|
794
|
+
* const postBlocks = await prisma.postBlocks.findMany()
|
|
795
|
+
*
|
|
796
|
+
* // Get first 10 PostBlocks
|
|
797
|
+
* const postBlocks = await prisma.postBlocks.findMany({ take: 10 })
|
|
798
|
+
*
|
|
799
|
+
* // Only select the `message_id`
|
|
800
|
+
* const postBlocksWithMessage_idOnly = await prisma.postBlocks.findMany({ select: { message_id: true } })
|
|
801
|
+
*
|
|
802
|
+
*/
|
|
803
|
+
findMany<T extends PostBlocksFindManyArgs>(args?: Prisma.SelectSubset<T, PostBlocksFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
804
|
+
/**
|
|
805
|
+
* Create a PostBlocks.
|
|
806
|
+
* @param {PostBlocksCreateArgs} args - Arguments to create a PostBlocks.
|
|
807
|
+
* @example
|
|
808
|
+
* // Create one PostBlocks
|
|
809
|
+
* const PostBlocks = await prisma.postBlocks.create({
|
|
810
|
+
* data: {
|
|
811
|
+
* // ... data to create a PostBlocks
|
|
812
|
+
* }
|
|
813
|
+
* })
|
|
814
|
+
*
|
|
815
|
+
*/
|
|
816
|
+
create<T extends PostBlocksCreateArgs>(args: Prisma.SelectSubset<T, PostBlocksCreateArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
817
|
+
/**
|
|
818
|
+
* Create many PostBlocks.
|
|
819
|
+
* @param {PostBlocksCreateManyArgs} args - Arguments to create many PostBlocks.
|
|
820
|
+
* @example
|
|
821
|
+
* // Create many PostBlocks
|
|
822
|
+
* const postBlocks = await prisma.postBlocks.createMany({
|
|
823
|
+
* data: [
|
|
824
|
+
* // ... provide data here
|
|
825
|
+
* ]
|
|
826
|
+
* })
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
createMany<T extends PostBlocksCreateManyArgs>(args?: Prisma.SelectSubset<T, PostBlocksCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
830
|
+
/**
|
|
831
|
+
* Create many PostBlocks and returns the data saved in the database.
|
|
832
|
+
* @param {PostBlocksCreateManyAndReturnArgs} args - Arguments to create many PostBlocks.
|
|
833
|
+
* @example
|
|
834
|
+
* // Create many PostBlocks
|
|
835
|
+
* const postBlocks = await prisma.postBlocks.createManyAndReturn({
|
|
836
|
+
* data: [
|
|
837
|
+
* // ... provide data here
|
|
838
|
+
* ]
|
|
839
|
+
* })
|
|
840
|
+
*
|
|
841
|
+
* // Create many PostBlocks and only return the `message_id`
|
|
842
|
+
* const postBlocksWithMessage_idOnly = await prisma.postBlocks.createManyAndReturn({
|
|
843
|
+
* select: { message_id: true },
|
|
844
|
+
* data: [
|
|
845
|
+
* // ... provide data here
|
|
846
|
+
* ]
|
|
847
|
+
* })
|
|
848
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
849
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
850
|
+
*
|
|
851
|
+
*/
|
|
852
|
+
createManyAndReturn<T extends PostBlocksCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PostBlocksCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
853
|
+
/**
|
|
854
|
+
* Delete a PostBlocks.
|
|
855
|
+
* @param {PostBlocksDeleteArgs} args - Arguments to delete one PostBlocks.
|
|
856
|
+
* @example
|
|
857
|
+
* // Delete one PostBlocks
|
|
858
|
+
* const PostBlocks = await prisma.postBlocks.delete({
|
|
859
|
+
* where: {
|
|
860
|
+
* // ... filter to delete one PostBlocks
|
|
861
|
+
* }
|
|
862
|
+
* })
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
865
|
+
delete<T extends PostBlocksDeleteArgs>(args: Prisma.SelectSubset<T, PostBlocksDeleteArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
866
|
+
/**
|
|
867
|
+
* Update one PostBlocks.
|
|
868
|
+
* @param {PostBlocksUpdateArgs} args - Arguments to update one PostBlocks.
|
|
869
|
+
* @example
|
|
870
|
+
* // Update one PostBlocks
|
|
871
|
+
* const postBlocks = await prisma.postBlocks.update({
|
|
872
|
+
* where: {
|
|
873
|
+
* // ... provide filter here
|
|
874
|
+
* },
|
|
875
|
+
* data: {
|
|
876
|
+
* // ... provide data here
|
|
877
|
+
* }
|
|
878
|
+
* })
|
|
879
|
+
*
|
|
880
|
+
*/
|
|
881
|
+
update<T extends PostBlocksUpdateArgs>(args: Prisma.SelectSubset<T, PostBlocksUpdateArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
882
|
+
/**
|
|
883
|
+
* Delete zero or more PostBlocks.
|
|
884
|
+
* @param {PostBlocksDeleteManyArgs} args - Arguments to filter PostBlocks to delete.
|
|
885
|
+
* @example
|
|
886
|
+
* // Delete a few PostBlocks
|
|
887
|
+
* const { count } = await prisma.postBlocks.deleteMany({
|
|
888
|
+
* where: {
|
|
889
|
+
* // ... provide filter here
|
|
890
|
+
* }
|
|
891
|
+
* })
|
|
892
|
+
*
|
|
893
|
+
*/
|
|
894
|
+
deleteMany<T extends PostBlocksDeleteManyArgs>(args?: Prisma.SelectSubset<T, PostBlocksDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
895
|
+
/**
|
|
896
|
+
* Update zero or more PostBlocks.
|
|
897
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
898
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
899
|
+
* @param {PostBlocksUpdateManyArgs} args - Arguments to update one or more rows.
|
|
900
|
+
* @example
|
|
901
|
+
* // Update many PostBlocks
|
|
902
|
+
* const postBlocks = await prisma.postBlocks.updateMany({
|
|
903
|
+
* where: {
|
|
904
|
+
* // ... provide filter here
|
|
905
|
+
* },
|
|
906
|
+
* data: {
|
|
907
|
+
* // ... provide data here
|
|
908
|
+
* }
|
|
909
|
+
* })
|
|
910
|
+
*
|
|
911
|
+
*/
|
|
912
|
+
updateMany<T extends PostBlocksUpdateManyArgs>(args: Prisma.SelectSubset<T, PostBlocksUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
913
|
+
/**
|
|
914
|
+
* Update zero or more PostBlocks and returns the data updated in the database.
|
|
915
|
+
* @param {PostBlocksUpdateManyAndReturnArgs} args - Arguments to update many PostBlocks.
|
|
916
|
+
* @example
|
|
917
|
+
* // Update many PostBlocks
|
|
918
|
+
* const postBlocks = await prisma.postBlocks.updateManyAndReturn({
|
|
919
|
+
* where: {
|
|
920
|
+
* // ... provide filter here
|
|
921
|
+
* },
|
|
922
|
+
* data: [
|
|
923
|
+
* // ... provide data here
|
|
924
|
+
* ]
|
|
925
|
+
* })
|
|
926
|
+
*
|
|
927
|
+
* // Update zero or more PostBlocks and only return the `message_id`
|
|
928
|
+
* const postBlocksWithMessage_idOnly = await prisma.postBlocks.updateManyAndReturn({
|
|
929
|
+
* select: { message_id: true },
|
|
930
|
+
* where: {
|
|
931
|
+
* // ... provide filter here
|
|
932
|
+
* },
|
|
933
|
+
* data: [
|
|
934
|
+
* // ... provide data here
|
|
935
|
+
* ]
|
|
936
|
+
* })
|
|
937
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
938
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
939
|
+
*
|
|
940
|
+
*/
|
|
941
|
+
updateManyAndReturn<T extends PostBlocksUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PostBlocksUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
942
|
+
/**
|
|
943
|
+
* Create or update one PostBlocks.
|
|
944
|
+
* @param {PostBlocksUpsertArgs} args - Arguments to update or create a PostBlocks.
|
|
945
|
+
* @example
|
|
946
|
+
* // Update or create a PostBlocks
|
|
947
|
+
* const postBlocks = await prisma.postBlocks.upsert({
|
|
948
|
+
* create: {
|
|
949
|
+
* // ... data to create a PostBlocks
|
|
950
|
+
* },
|
|
951
|
+
* update: {
|
|
952
|
+
* // ... in case it already exists, update
|
|
953
|
+
* },
|
|
954
|
+
* where: {
|
|
955
|
+
* // ... the filter for the PostBlocks we want to update
|
|
956
|
+
* }
|
|
957
|
+
* })
|
|
958
|
+
*/
|
|
959
|
+
upsert<T extends PostBlocksUpsertArgs>(args: Prisma.SelectSubset<T, PostBlocksUpsertArgs<ExtArgs>>): Prisma.Prisma__PostBlocksClient<runtime.Types.Result.GetResult<Prisma.$PostBlocksPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
960
|
+
/**
|
|
961
|
+
* Count the number of PostBlocks.
|
|
962
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
963
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
964
|
+
* @param {PostBlocksCountArgs} args - Arguments to filter PostBlocks to count.
|
|
965
|
+
* @example
|
|
966
|
+
* // Count the number of PostBlocks
|
|
967
|
+
* const count = await prisma.postBlocks.count({
|
|
968
|
+
* where: {
|
|
969
|
+
* // ... the filter for the PostBlocks we want to count
|
|
970
|
+
* }
|
|
971
|
+
* })
|
|
972
|
+
**/
|
|
973
|
+
count<T extends PostBlocksCountArgs>(args?: Prisma.Subset<T, PostBlocksCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PostBlocksCountAggregateOutputType> : number>;
|
|
974
|
+
/**
|
|
975
|
+
* Allows you to perform aggregations operations on a PostBlocks.
|
|
976
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
977
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
978
|
+
* @param {PostBlocksAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
979
|
+
* @example
|
|
980
|
+
* // Ordered by age ascending
|
|
981
|
+
* // Where email contains prisma.io
|
|
982
|
+
* // Limited to the 10 users
|
|
983
|
+
* const aggregations = await prisma.user.aggregate({
|
|
984
|
+
* _avg: {
|
|
985
|
+
* age: true,
|
|
986
|
+
* },
|
|
987
|
+
* where: {
|
|
988
|
+
* email: {
|
|
989
|
+
* contains: "prisma.io",
|
|
990
|
+
* },
|
|
991
|
+
* },
|
|
992
|
+
* orderBy: {
|
|
993
|
+
* age: "asc",
|
|
994
|
+
* },
|
|
995
|
+
* take: 10,
|
|
996
|
+
* })
|
|
997
|
+
**/
|
|
998
|
+
aggregate<T extends PostBlocksAggregateArgs>(args: Prisma.Subset<T, PostBlocksAggregateArgs>): Prisma.PrismaPromise<GetPostBlocksAggregateType<T>>;
|
|
999
|
+
/**
|
|
1000
|
+
* Group by PostBlocks.
|
|
1001
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1002
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1003
|
+
* @param {PostBlocksGroupByArgs} args - Group by arguments.
|
|
1004
|
+
* @example
|
|
1005
|
+
* // Group by city, order by createdAt, get count
|
|
1006
|
+
* const result = await prisma.user.groupBy({
|
|
1007
|
+
* by: ['city', 'createdAt'],
|
|
1008
|
+
* orderBy: {
|
|
1009
|
+
* createdAt: true
|
|
1010
|
+
* },
|
|
1011
|
+
* _count: {
|
|
1012
|
+
* _all: true
|
|
1013
|
+
* },
|
|
1014
|
+
* })
|
|
1015
|
+
*
|
|
1016
|
+
**/
|
|
1017
|
+
groupBy<T extends PostBlocksGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1018
|
+
orderBy: PostBlocksGroupByArgs['orderBy'];
|
|
1019
|
+
} : {
|
|
1020
|
+
orderBy?: PostBlocksGroupByArgs['orderBy'];
|
|
1021
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1022
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1023
|
+
Error,
|
|
1024
|
+
'Field ',
|
|
1025
|
+
P,
|
|
1026
|
+
` in "having" needs to be provided in "by"`
|
|
1027
|
+
];
|
|
1028
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1029
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1030
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1031
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1032
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1033
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1034
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PostBlocksGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPostBlocksGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Fields of the PostBlocks model
|
|
1037
|
+
*/
|
|
1038
|
+
readonly fields: PostBlocksFieldRefs;
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* The delegate class that acts as a "Promise-like" for PostBlocks.
|
|
1042
|
+
* Why is this prefixed with `Prisma__`?
|
|
1043
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1044
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1045
|
+
*/
|
|
1046
|
+
export interface Prisma__PostBlocksClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1047
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1048
|
+
author<T extends Prisma.DiscordUserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DiscordUserDefaultArgs<ExtArgs>>): Prisma.Prisma__DiscordUserClient<runtime.Types.Result.GetResult<Prisma.$DiscordUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1049
|
+
post<T extends Prisma.PostDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PostDefaultArgs<ExtArgs>>): Prisma.Prisma__PostClient<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1050
|
+
media<T extends Prisma.PostBlocks$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PostBlocks$mediaArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostBlockMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1053
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1054
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1055
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1056
|
+
*/
|
|
1057
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1060
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1061
|
+
* @returns A Promise for the completion of the callback.
|
|
1062
|
+
*/
|
|
1063
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1066
|
+
* resolved value cannot be modified from the callback.
|
|
1067
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1068
|
+
* @returns A Promise for the completion of the callback.
|
|
1069
|
+
*/
|
|
1070
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Fields of the PostBlocks model
|
|
1074
|
+
*/
|
|
1075
|
+
export interface PostBlocksFieldRefs {
|
|
1076
|
+
readonly message_id: Prisma.FieldRef<"PostBlocks", 'String'>;
|
|
1077
|
+
readonly post_id: Prisma.FieldRef<"PostBlocks", 'String'>;
|
|
1078
|
+
readonly timestamp: Prisma.FieldRef<"PostBlocks", 'DateTime'>;
|
|
1079
|
+
readonly content: Prisma.FieldRef<"PostBlocks", 'String'>;
|
|
1080
|
+
readonly components: Prisma.FieldRef<"PostBlocks", 'Json[]'>;
|
|
1081
|
+
readonly embeds: Prisma.FieldRef<"PostBlocks", 'Json[]'>;
|
|
1082
|
+
readonly author_id: Prisma.FieldRef<"PostBlocks", 'String'>;
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* PostBlocks findUnique
|
|
1086
|
+
*/
|
|
1087
|
+
export type PostBlocksFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1090
|
+
*/
|
|
1091
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Omit specific fields from the PostBlocks
|
|
1094
|
+
*/
|
|
1095
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* Choose, which related nodes to fetch as well
|
|
1098
|
+
*/
|
|
1099
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* Filter, which PostBlocks to fetch.
|
|
1102
|
+
*/
|
|
1103
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* PostBlocks findUniqueOrThrow
|
|
1107
|
+
*/
|
|
1108
|
+
export type PostBlocksFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1111
|
+
*/
|
|
1112
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Omit specific fields from the PostBlocks
|
|
1115
|
+
*/
|
|
1116
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Choose, which related nodes to fetch as well
|
|
1119
|
+
*/
|
|
1120
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1121
|
+
/**
|
|
1122
|
+
* Filter, which PostBlocks to fetch.
|
|
1123
|
+
*/
|
|
1124
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
1125
|
+
};
|
|
1126
|
+
/**
|
|
1127
|
+
* PostBlocks findFirst
|
|
1128
|
+
*/
|
|
1129
|
+
export type PostBlocksFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1130
|
+
/**
|
|
1131
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1132
|
+
*/
|
|
1133
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1134
|
+
/**
|
|
1135
|
+
* Omit specific fields from the PostBlocks
|
|
1136
|
+
*/
|
|
1137
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1138
|
+
/**
|
|
1139
|
+
* Choose, which related nodes to fetch as well
|
|
1140
|
+
*/
|
|
1141
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1142
|
+
/**
|
|
1143
|
+
* Filter, which PostBlocks to fetch.
|
|
1144
|
+
*/
|
|
1145
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Determine the order of PostBlocks to fetch.
|
|
1150
|
+
*/
|
|
1151
|
+
orderBy?: Prisma.PostBlocksOrderByWithRelationInput | Prisma.PostBlocksOrderByWithRelationInput[];
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Sets the position for searching for PostBlocks.
|
|
1156
|
+
*/
|
|
1157
|
+
cursor?: Prisma.PostBlocksWhereUniqueInput;
|
|
1158
|
+
/**
|
|
1159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1160
|
+
*
|
|
1161
|
+
* Take `±n` PostBlocks from the position of the cursor.
|
|
1162
|
+
*/
|
|
1163
|
+
take?: number;
|
|
1164
|
+
/**
|
|
1165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1166
|
+
*
|
|
1167
|
+
* Skip the first `n` PostBlocks.
|
|
1168
|
+
*/
|
|
1169
|
+
skip?: number;
|
|
1170
|
+
/**
|
|
1171
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1172
|
+
*
|
|
1173
|
+
* Filter by unique combinations of PostBlocks.
|
|
1174
|
+
*/
|
|
1175
|
+
distinct?: Prisma.PostBlocksScalarFieldEnum | Prisma.PostBlocksScalarFieldEnum[];
|
|
1176
|
+
};
|
|
1177
|
+
/**
|
|
1178
|
+
* PostBlocks findFirstOrThrow
|
|
1179
|
+
*/
|
|
1180
|
+
export type PostBlocksFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1183
|
+
*/
|
|
1184
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Omit specific fields from the PostBlocks
|
|
1187
|
+
*/
|
|
1188
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1189
|
+
/**
|
|
1190
|
+
* Choose, which related nodes to fetch as well
|
|
1191
|
+
*/
|
|
1192
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1193
|
+
/**
|
|
1194
|
+
* Filter, which PostBlocks to fetch.
|
|
1195
|
+
*/
|
|
1196
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1197
|
+
/**
|
|
1198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1199
|
+
*
|
|
1200
|
+
* Determine the order of PostBlocks to fetch.
|
|
1201
|
+
*/
|
|
1202
|
+
orderBy?: Prisma.PostBlocksOrderByWithRelationInput | Prisma.PostBlocksOrderByWithRelationInput[];
|
|
1203
|
+
/**
|
|
1204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1205
|
+
*
|
|
1206
|
+
* Sets the position for searching for PostBlocks.
|
|
1207
|
+
*/
|
|
1208
|
+
cursor?: Prisma.PostBlocksWhereUniqueInput;
|
|
1209
|
+
/**
|
|
1210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1211
|
+
*
|
|
1212
|
+
* Take `±n` PostBlocks from the position of the cursor.
|
|
1213
|
+
*/
|
|
1214
|
+
take?: number;
|
|
1215
|
+
/**
|
|
1216
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1217
|
+
*
|
|
1218
|
+
* Skip the first `n` PostBlocks.
|
|
1219
|
+
*/
|
|
1220
|
+
skip?: number;
|
|
1221
|
+
/**
|
|
1222
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1223
|
+
*
|
|
1224
|
+
* Filter by unique combinations of PostBlocks.
|
|
1225
|
+
*/
|
|
1226
|
+
distinct?: Prisma.PostBlocksScalarFieldEnum | Prisma.PostBlocksScalarFieldEnum[];
|
|
1227
|
+
};
|
|
1228
|
+
/**
|
|
1229
|
+
* PostBlocks findMany
|
|
1230
|
+
*/
|
|
1231
|
+
export type PostBlocksFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1232
|
+
/**
|
|
1233
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1234
|
+
*/
|
|
1235
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* Omit specific fields from the PostBlocks
|
|
1238
|
+
*/
|
|
1239
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Choose, which related nodes to fetch as well
|
|
1242
|
+
*/
|
|
1243
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1244
|
+
/**
|
|
1245
|
+
* Filter, which PostBlocks to fetch.
|
|
1246
|
+
*/
|
|
1247
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1248
|
+
/**
|
|
1249
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1250
|
+
*
|
|
1251
|
+
* Determine the order of PostBlocks to fetch.
|
|
1252
|
+
*/
|
|
1253
|
+
orderBy?: Prisma.PostBlocksOrderByWithRelationInput | Prisma.PostBlocksOrderByWithRelationInput[];
|
|
1254
|
+
/**
|
|
1255
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1256
|
+
*
|
|
1257
|
+
* Sets the position for listing PostBlocks.
|
|
1258
|
+
*/
|
|
1259
|
+
cursor?: Prisma.PostBlocksWhereUniqueInput;
|
|
1260
|
+
/**
|
|
1261
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1262
|
+
*
|
|
1263
|
+
* Take `±n` PostBlocks from the position of the cursor.
|
|
1264
|
+
*/
|
|
1265
|
+
take?: number;
|
|
1266
|
+
/**
|
|
1267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1268
|
+
*
|
|
1269
|
+
* Skip the first `n` PostBlocks.
|
|
1270
|
+
*/
|
|
1271
|
+
skip?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1274
|
+
*
|
|
1275
|
+
* Filter by unique combinations of PostBlocks.
|
|
1276
|
+
*/
|
|
1277
|
+
distinct?: Prisma.PostBlocksScalarFieldEnum | Prisma.PostBlocksScalarFieldEnum[];
|
|
1278
|
+
};
|
|
1279
|
+
/**
|
|
1280
|
+
* PostBlocks create
|
|
1281
|
+
*/
|
|
1282
|
+
export type PostBlocksCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1283
|
+
/**
|
|
1284
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1285
|
+
*/
|
|
1286
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1287
|
+
/**
|
|
1288
|
+
* Omit specific fields from the PostBlocks
|
|
1289
|
+
*/
|
|
1290
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1291
|
+
/**
|
|
1292
|
+
* Choose, which related nodes to fetch as well
|
|
1293
|
+
*/
|
|
1294
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1295
|
+
/**
|
|
1296
|
+
* The data needed to create a PostBlocks.
|
|
1297
|
+
*/
|
|
1298
|
+
data: Prisma.XOR<Prisma.PostBlocksCreateInput, Prisma.PostBlocksUncheckedCreateInput>;
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* PostBlocks createMany
|
|
1302
|
+
*/
|
|
1303
|
+
export type PostBlocksCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1304
|
+
/**
|
|
1305
|
+
* The data used to create many PostBlocks.
|
|
1306
|
+
*/
|
|
1307
|
+
data: Prisma.PostBlocksCreateManyInput | Prisma.PostBlocksCreateManyInput[];
|
|
1308
|
+
skipDuplicates?: boolean;
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* PostBlocks createManyAndReturn
|
|
1312
|
+
*/
|
|
1313
|
+
export type PostBlocksCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1316
|
+
*/
|
|
1317
|
+
select?: Prisma.PostBlocksSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* Omit specific fields from the PostBlocks
|
|
1320
|
+
*/
|
|
1321
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1322
|
+
/**
|
|
1323
|
+
* The data used to create many PostBlocks.
|
|
1324
|
+
*/
|
|
1325
|
+
data: Prisma.PostBlocksCreateManyInput | Prisma.PostBlocksCreateManyInput[];
|
|
1326
|
+
skipDuplicates?: boolean;
|
|
1327
|
+
/**
|
|
1328
|
+
* Choose, which related nodes to fetch as well
|
|
1329
|
+
*/
|
|
1330
|
+
include?: Prisma.PostBlocksIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1331
|
+
};
|
|
1332
|
+
/**
|
|
1333
|
+
* PostBlocks update
|
|
1334
|
+
*/
|
|
1335
|
+
export type PostBlocksUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1336
|
+
/**
|
|
1337
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1338
|
+
*/
|
|
1339
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1340
|
+
/**
|
|
1341
|
+
* Omit specific fields from the PostBlocks
|
|
1342
|
+
*/
|
|
1343
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1344
|
+
/**
|
|
1345
|
+
* Choose, which related nodes to fetch as well
|
|
1346
|
+
*/
|
|
1347
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1348
|
+
/**
|
|
1349
|
+
* The data needed to update a PostBlocks.
|
|
1350
|
+
*/
|
|
1351
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateInput, Prisma.PostBlocksUncheckedUpdateInput>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Choose, which PostBlocks to update.
|
|
1354
|
+
*/
|
|
1355
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* PostBlocks updateMany
|
|
1359
|
+
*/
|
|
1360
|
+
export type PostBlocksUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1361
|
+
/**
|
|
1362
|
+
* The data used to update PostBlocks.
|
|
1363
|
+
*/
|
|
1364
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateManyMutationInput, Prisma.PostBlocksUncheckedUpdateManyInput>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Filter which PostBlocks to update
|
|
1367
|
+
*/
|
|
1368
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1369
|
+
/**
|
|
1370
|
+
* Limit how many PostBlocks to update.
|
|
1371
|
+
*/
|
|
1372
|
+
limit?: number;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* PostBlocks updateManyAndReturn
|
|
1376
|
+
*/
|
|
1377
|
+
export type PostBlocksUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1378
|
+
/**
|
|
1379
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1380
|
+
*/
|
|
1381
|
+
select?: Prisma.PostBlocksSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1382
|
+
/**
|
|
1383
|
+
* Omit specific fields from the PostBlocks
|
|
1384
|
+
*/
|
|
1385
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1386
|
+
/**
|
|
1387
|
+
* The data used to update PostBlocks.
|
|
1388
|
+
*/
|
|
1389
|
+
data: Prisma.XOR<Prisma.PostBlocksUpdateManyMutationInput, Prisma.PostBlocksUncheckedUpdateManyInput>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Filter which PostBlocks to update
|
|
1392
|
+
*/
|
|
1393
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1394
|
+
/**
|
|
1395
|
+
* Limit how many PostBlocks to update.
|
|
1396
|
+
*/
|
|
1397
|
+
limit?: number;
|
|
1398
|
+
/**
|
|
1399
|
+
* Choose, which related nodes to fetch as well
|
|
1400
|
+
*/
|
|
1401
|
+
include?: Prisma.PostBlocksIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* PostBlocks upsert
|
|
1405
|
+
*/
|
|
1406
|
+
export type PostBlocksUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1407
|
+
/**
|
|
1408
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1409
|
+
*/
|
|
1410
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Omit specific fields from the PostBlocks
|
|
1413
|
+
*/
|
|
1414
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Choose, which related nodes to fetch as well
|
|
1417
|
+
*/
|
|
1418
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1419
|
+
/**
|
|
1420
|
+
* The filter to search for the PostBlocks to update in case it exists.
|
|
1421
|
+
*/
|
|
1422
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
1423
|
+
/**
|
|
1424
|
+
* In case the PostBlocks found by the `where` argument doesn't exist, create a new PostBlocks with this data.
|
|
1425
|
+
*/
|
|
1426
|
+
create: Prisma.XOR<Prisma.PostBlocksCreateInput, Prisma.PostBlocksUncheckedCreateInput>;
|
|
1427
|
+
/**
|
|
1428
|
+
* In case the PostBlocks was found with the provided `where` argument, update it with this data.
|
|
1429
|
+
*/
|
|
1430
|
+
update: Prisma.XOR<Prisma.PostBlocksUpdateInput, Prisma.PostBlocksUncheckedUpdateInput>;
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* PostBlocks delete
|
|
1434
|
+
*/
|
|
1435
|
+
export type PostBlocksDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1436
|
+
/**
|
|
1437
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1438
|
+
*/
|
|
1439
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1440
|
+
/**
|
|
1441
|
+
* Omit specific fields from the PostBlocks
|
|
1442
|
+
*/
|
|
1443
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Choose, which related nodes to fetch as well
|
|
1446
|
+
*/
|
|
1447
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* Filter which PostBlocks to delete.
|
|
1450
|
+
*/
|
|
1451
|
+
where: Prisma.PostBlocksWhereUniqueInput;
|
|
1452
|
+
};
|
|
1453
|
+
/**
|
|
1454
|
+
* PostBlocks deleteMany
|
|
1455
|
+
*/
|
|
1456
|
+
export type PostBlocksDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1457
|
+
/**
|
|
1458
|
+
* Filter which PostBlocks to delete
|
|
1459
|
+
*/
|
|
1460
|
+
where?: Prisma.PostBlocksWhereInput;
|
|
1461
|
+
/**
|
|
1462
|
+
* Limit how many PostBlocks to delete.
|
|
1463
|
+
*/
|
|
1464
|
+
limit?: number;
|
|
1465
|
+
};
|
|
1466
|
+
/**
|
|
1467
|
+
* PostBlocks.media
|
|
1468
|
+
*/
|
|
1469
|
+
export type PostBlocks$mediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1470
|
+
/**
|
|
1471
|
+
* Select specific fields to fetch from the PostBlockMedia
|
|
1472
|
+
*/
|
|
1473
|
+
select?: Prisma.PostBlockMediaSelect<ExtArgs> | null;
|
|
1474
|
+
/**
|
|
1475
|
+
* Omit specific fields from the PostBlockMedia
|
|
1476
|
+
*/
|
|
1477
|
+
omit?: Prisma.PostBlockMediaOmit<ExtArgs> | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* Choose, which related nodes to fetch as well
|
|
1480
|
+
*/
|
|
1481
|
+
include?: Prisma.PostBlockMediaInclude<ExtArgs> | null;
|
|
1482
|
+
where?: Prisma.PostBlockMediaWhereInput;
|
|
1483
|
+
orderBy?: Prisma.PostBlockMediaOrderByWithRelationInput | Prisma.PostBlockMediaOrderByWithRelationInput[];
|
|
1484
|
+
cursor?: Prisma.PostBlockMediaWhereUniqueInput;
|
|
1485
|
+
take?: number;
|
|
1486
|
+
skip?: number;
|
|
1487
|
+
distinct?: Prisma.PostBlockMediaScalarFieldEnum | Prisma.PostBlockMediaScalarFieldEnum[];
|
|
1488
|
+
};
|
|
1489
|
+
/**
|
|
1490
|
+
* PostBlocks without action
|
|
1491
|
+
*/
|
|
1492
|
+
export type PostBlocksDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1493
|
+
/**
|
|
1494
|
+
* Select specific fields to fetch from the PostBlocks
|
|
1495
|
+
*/
|
|
1496
|
+
select?: Prisma.PostBlocksSelect<ExtArgs> | null;
|
|
1497
|
+
/**
|
|
1498
|
+
* Omit specific fields from the PostBlocks
|
|
1499
|
+
*/
|
|
1500
|
+
omit?: Prisma.PostBlocksOmit<ExtArgs> | null;
|
|
1501
|
+
/**
|
|
1502
|
+
* Choose, which related nodes to fetch as well
|
|
1503
|
+
*/
|
|
1504
|
+
include?: Prisma.PostBlocksInclude<ExtArgs> | null;
|
|
1505
|
+
};
|
|
1506
|
+
//# sourceMappingURL=PostBlocks.d.ts.map
|