@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,1301 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model Client
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ClientModel = runtime.Types.Result.DefaultSelection<Prisma.$ClientPayload>;
|
|
8
|
+
export type AggregateClient = {
|
|
9
|
+
_count: ClientCountAggregateOutputType | null;
|
|
10
|
+
_min: ClientMinAggregateOutputType | null;
|
|
11
|
+
_max: ClientMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type ClientMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
client_secret: string | null;
|
|
16
|
+
created_at: Date | null;
|
|
17
|
+
updated_at: Date | null;
|
|
18
|
+
};
|
|
19
|
+
export type ClientMaxAggregateOutputType = {
|
|
20
|
+
id: string | null;
|
|
21
|
+
client_secret: string | null;
|
|
22
|
+
created_at: Date | null;
|
|
23
|
+
updated_at: Date | null;
|
|
24
|
+
};
|
|
25
|
+
export type ClientCountAggregateOutputType = {
|
|
26
|
+
id: number;
|
|
27
|
+
client_secret: number;
|
|
28
|
+
redirect_uris: number;
|
|
29
|
+
created_at: number;
|
|
30
|
+
updated_at: number;
|
|
31
|
+
scopes: number;
|
|
32
|
+
_all: number;
|
|
33
|
+
};
|
|
34
|
+
export type ClientMinAggregateInputType = {
|
|
35
|
+
id?: true;
|
|
36
|
+
client_secret?: true;
|
|
37
|
+
created_at?: true;
|
|
38
|
+
updated_at?: true;
|
|
39
|
+
};
|
|
40
|
+
export type ClientMaxAggregateInputType = {
|
|
41
|
+
id?: true;
|
|
42
|
+
client_secret?: true;
|
|
43
|
+
created_at?: true;
|
|
44
|
+
updated_at?: true;
|
|
45
|
+
};
|
|
46
|
+
export type ClientCountAggregateInputType = {
|
|
47
|
+
id?: true;
|
|
48
|
+
client_secret?: true;
|
|
49
|
+
redirect_uris?: true;
|
|
50
|
+
created_at?: true;
|
|
51
|
+
updated_at?: true;
|
|
52
|
+
scopes?: true;
|
|
53
|
+
_all?: true;
|
|
54
|
+
};
|
|
55
|
+
export type ClientAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
56
|
+
/**
|
|
57
|
+
* Filter which Client to aggregate.
|
|
58
|
+
*/
|
|
59
|
+
where?: Prisma.ClientWhereInput;
|
|
60
|
+
/**
|
|
61
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
62
|
+
*
|
|
63
|
+
* Determine the order of Clients to fetch.
|
|
64
|
+
*/
|
|
65
|
+
orderBy?: Prisma.ClientOrderByWithRelationInput | Prisma.ClientOrderByWithRelationInput[];
|
|
66
|
+
/**
|
|
67
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
68
|
+
*
|
|
69
|
+
* Sets the start position
|
|
70
|
+
*/
|
|
71
|
+
cursor?: Prisma.ClientWhereUniqueInput;
|
|
72
|
+
/**
|
|
73
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
74
|
+
*
|
|
75
|
+
* Take `±n` Clients from the position of the cursor.
|
|
76
|
+
*/
|
|
77
|
+
take?: number;
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
80
|
+
*
|
|
81
|
+
* Skip the first `n` Clients.
|
|
82
|
+
*/
|
|
83
|
+
skip?: number;
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
86
|
+
*
|
|
87
|
+
* Count returned Clients
|
|
88
|
+
**/
|
|
89
|
+
_count?: true | ClientCountAggregateInputType;
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
92
|
+
*
|
|
93
|
+
* Select which fields to find the minimum value
|
|
94
|
+
**/
|
|
95
|
+
_min?: ClientMinAggregateInputType;
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
98
|
+
*
|
|
99
|
+
* Select which fields to find the maximum value
|
|
100
|
+
**/
|
|
101
|
+
_max?: ClientMaxAggregateInputType;
|
|
102
|
+
};
|
|
103
|
+
export type GetClientAggregateType<T extends ClientAggregateArgs> = {
|
|
104
|
+
[P in keyof T & keyof AggregateClient]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateClient[P]> : Prisma.GetScalarType<T[P], AggregateClient[P]>;
|
|
105
|
+
};
|
|
106
|
+
export type ClientGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
107
|
+
where?: Prisma.ClientWhereInput;
|
|
108
|
+
orderBy?: Prisma.ClientOrderByWithAggregationInput | Prisma.ClientOrderByWithAggregationInput[];
|
|
109
|
+
by: Prisma.ClientScalarFieldEnum[] | Prisma.ClientScalarFieldEnum;
|
|
110
|
+
having?: Prisma.ClientScalarWhereWithAggregatesInput;
|
|
111
|
+
take?: number;
|
|
112
|
+
skip?: number;
|
|
113
|
+
_count?: ClientCountAggregateInputType | true;
|
|
114
|
+
_min?: ClientMinAggregateInputType;
|
|
115
|
+
_max?: ClientMaxAggregateInputType;
|
|
116
|
+
};
|
|
117
|
+
export type ClientGroupByOutputType = {
|
|
118
|
+
id: string;
|
|
119
|
+
client_secret: string | null;
|
|
120
|
+
redirect_uris: string[];
|
|
121
|
+
created_at: Date;
|
|
122
|
+
updated_at: Date;
|
|
123
|
+
scopes: string[];
|
|
124
|
+
_count: ClientCountAggregateOutputType | null;
|
|
125
|
+
_min: ClientMinAggregateOutputType | null;
|
|
126
|
+
_max: ClientMaxAggregateOutputType | null;
|
|
127
|
+
};
|
|
128
|
+
export type GetClientGroupByPayload<T extends ClientGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ClientGroupByOutputType, T['by']> & {
|
|
129
|
+
[P in ((keyof T) & (keyof ClientGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ClientGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ClientGroupByOutputType[P]>;
|
|
130
|
+
}>>;
|
|
131
|
+
export type ClientWhereInput = {
|
|
132
|
+
AND?: Prisma.ClientWhereInput | Prisma.ClientWhereInput[];
|
|
133
|
+
OR?: Prisma.ClientWhereInput[];
|
|
134
|
+
NOT?: Prisma.ClientWhereInput | Prisma.ClientWhereInput[];
|
|
135
|
+
id?: Prisma.StringFilter<"Client"> | string;
|
|
136
|
+
client_secret?: Prisma.StringNullableFilter<"Client"> | string | null;
|
|
137
|
+
redirect_uris?: Prisma.StringNullableListFilter<"Client">;
|
|
138
|
+
created_at?: Prisma.DateTimeFilter<"Client"> | Date | string;
|
|
139
|
+
updated_at?: Prisma.DateTimeFilter<"Client"> | Date | string;
|
|
140
|
+
scopes?: Prisma.StringNullableListFilter<"Client">;
|
|
141
|
+
authorization_codes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
142
|
+
sessions?: Prisma.SessionListRelationFilter;
|
|
143
|
+
};
|
|
144
|
+
export type ClientOrderByWithRelationInput = {
|
|
145
|
+
id?: Prisma.SortOrder;
|
|
146
|
+
client_secret?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
147
|
+
redirect_uris?: Prisma.SortOrder;
|
|
148
|
+
created_at?: Prisma.SortOrder;
|
|
149
|
+
updated_at?: Prisma.SortOrder;
|
|
150
|
+
scopes?: Prisma.SortOrder;
|
|
151
|
+
authorization_codes?: Prisma.AuthorizationCodeOrderByRelationAggregateInput;
|
|
152
|
+
sessions?: Prisma.SessionOrderByRelationAggregateInput;
|
|
153
|
+
};
|
|
154
|
+
export type ClientWhereUniqueInput = Prisma.AtLeast<{
|
|
155
|
+
id?: string;
|
|
156
|
+
AND?: Prisma.ClientWhereInput | Prisma.ClientWhereInput[];
|
|
157
|
+
OR?: Prisma.ClientWhereInput[];
|
|
158
|
+
NOT?: Prisma.ClientWhereInput | Prisma.ClientWhereInput[];
|
|
159
|
+
client_secret?: Prisma.StringNullableFilter<"Client"> | string | null;
|
|
160
|
+
redirect_uris?: Prisma.StringNullableListFilter<"Client">;
|
|
161
|
+
created_at?: Prisma.DateTimeFilter<"Client"> | Date | string;
|
|
162
|
+
updated_at?: Prisma.DateTimeFilter<"Client"> | Date | string;
|
|
163
|
+
scopes?: Prisma.StringNullableListFilter<"Client">;
|
|
164
|
+
authorization_codes?: Prisma.AuthorizationCodeListRelationFilter;
|
|
165
|
+
sessions?: Prisma.SessionListRelationFilter;
|
|
166
|
+
}, "id">;
|
|
167
|
+
export type ClientOrderByWithAggregationInput = {
|
|
168
|
+
id?: Prisma.SortOrder;
|
|
169
|
+
client_secret?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
170
|
+
redirect_uris?: Prisma.SortOrder;
|
|
171
|
+
created_at?: Prisma.SortOrder;
|
|
172
|
+
updated_at?: Prisma.SortOrder;
|
|
173
|
+
scopes?: Prisma.SortOrder;
|
|
174
|
+
_count?: Prisma.ClientCountOrderByAggregateInput;
|
|
175
|
+
_max?: Prisma.ClientMaxOrderByAggregateInput;
|
|
176
|
+
_min?: Prisma.ClientMinOrderByAggregateInput;
|
|
177
|
+
};
|
|
178
|
+
export type ClientScalarWhereWithAggregatesInput = {
|
|
179
|
+
AND?: Prisma.ClientScalarWhereWithAggregatesInput | Prisma.ClientScalarWhereWithAggregatesInput[];
|
|
180
|
+
OR?: Prisma.ClientScalarWhereWithAggregatesInput[];
|
|
181
|
+
NOT?: Prisma.ClientScalarWhereWithAggregatesInput | Prisma.ClientScalarWhereWithAggregatesInput[];
|
|
182
|
+
id?: Prisma.StringWithAggregatesFilter<"Client"> | string;
|
|
183
|
+
client_secret?: Prisma.StringNullableWithAggregatesFilter<"Client"> | string | null;
|
|
184
|
+
redirect_uris?: Prisma.StringNullableListFilter<"Client">;
|
|
185
|
+
created_at?: Prisma.DateTimeWithAggregatesFilter<"Client"> | Date | string;
|
|
186
|
+
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Client"> | Date | string;
|
|
187
|
+
scopes?: Prisma.StringNullableListFilter<"Client">;
|
|
188
|
+
};
|
|
189
|
+
export type ClientCreateInput = {
|
|
190
|
+
id: string;
|
|
191
|
+
client_secret?: string | null;
|
|
192
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
193
|
+
created_at?: Date | string;
|
|
194
|
+
updated_at?: Date | string;
|
|
195
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
196
|
+
authorization_codes?: Prisma.AuthorizationCodeCreateNestedManyWithoutClientInput;
|
|
197
|
+
sessions?: Prisma.SessionCreateNestedManyWithoutClientInput;
|
|
198
|
+
};
|
|
199
|
+
export type ClientUncheckedCreateInput = {
|
|
200
|
+
id: string;
|
|
201
|
+
client_secret?: string | null;
|
|
202
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
203
|
+
created_at?: Date | string;
|
|
204
|
+
updated_at?: Date | string;
|
|
205
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
206
|
+
authorization_codes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutClientInput;
|
|
207
|
+
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutClientInput;
|
|
208
|
+
};
|
|
209
|
+
export type ClientUpdateInput = {
|
|
210
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
211
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
212
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
213
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
214
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
215
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
216
|
+
authorization_codes?: Prisma.AuthorizationCodeUpdateManyWithoutClientNestedInput;
|
|
217
|
+
sessions?: Prisma.SessionUpdateManyWithoutClientNestedInput;
|
|
218
|
+
};
|
|
219
|
+
export type ClientUncheckedUpdateInput = {
|
|
220
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
222
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
223
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
224
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
225
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
226
|
+
authorization_codes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutClientNestedInput;
|
|
227
|
+
sessions?: Prisma.SessionUncheckedUpdateManyWithoutClientNestedInput;
|
|
228
|
+
};
|
|
229
|
+
export type ClientCreateManyInput = {
|
|
230
|
+
id: string;
|
|
231
|
+
client_secret?: string | null;
|
|
232
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
233
|
+
created_at?: Date | string;
|
|
234
|
+
updated_at?: Date | string;
|
|
235
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
236
|
+
};
|
|
237
|
+
export type ClientUpdateManyMutationInput = {
|
|
238
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
240
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
241
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
242
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
243
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
244
|
+
};
|
|
245
|
+
export type ClientUncheckedUpdateManyInput = {
|
|
246
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
248
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
249
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
250
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
252
|
+
};
|
|
253
|
+
export type ClientCountOrderByAggregateInput = {
|
|
254
|
+
id?: Prisma.SortOrder;
|
|
255
|
+
client_secret?: Prisma.SortOrder;
|
|
256
|
+
redirect_uris?: Prisma.SortOrder;
|
|
257
|
+
created_at?: Prisma.SortOrder;
|
|
258
|
+
updated_at?: Prisma.SortOrder;
|
|
259
|
+
scopes?: Prisma.SortOrder;
|
|
260
|
+
};
|
|
261
|
+
export type ClientMaxOrderByAggregateInput = {
|
|
262
|
+
id?: Prisma.SortOrder;
|
|
263
|
+
client_secret?: Prisma.SortOrder;
|
|
264
|
+
created_at?: Prisma.SortOrder;
|
|
265
|
+
updated_at?: Prisma.SortOrder;
|
|
266
|
+
};
|
|
267
|
+
export type ClientMinOrderByAggregateInput = {
|
|
268
|
+
id?: Prisma.SortOrder;
|
|
269
|
+
client_secret?: Prisma.SortOrder;
|
|
270
|
+
created_at?: Prisma.SortOrder;
|
|
271
|
+
updated_at?: Prisma.SortOrder;
|
|
272
|
+
};
|
|
273
|
+
export type ClientScalarRelationFilter = {
|
|
274
|
+
is?: Prisma.ClientWhereInput;
|
|
275
|
+
isNot?: Prisma.ClientWhereInput;
|
|
276
|
+
};
|
|
277
|
+
export type ClientCreateredirect_urisInput = {
|
|
278
|
+
set: string[];
|
|
279
|
+
};
|
|
280
|
+
export type ClientCreatescopesInput = {
|
|
281
|
+
set: string[];
|
|
282
|
+
};
|
|
283
|
+
export type ClientUpdateredirect_urisInput = {
|
|
284
|
+
set?: string[];
|
|
285
|
+
push?: string | string[];
|
|
286
|
+
};
|
|
287
|
+
export type ClientUpdatescopesInput = {
|
|
288
|
+
set?: string[];
|
|
289
|
+
push?: string | string[];
|
|
290
|
+
};
|
|
291
|
+
export type ClientCreateNestedOneWithoutAuthorization_codesInput = {
|
|
292
|
+
create?: Prisma.XOR<Prisma.ClientCreateWithoutAuthorization_codesInput, Prisma.ClientUncheckedCreateWithoutAuthorization_codesInput>;
|
|
293
|
+
connectOrCreate?: Prisma.ClientCreateOrConnectWithoutAuthorization_codesInput;
|
|
294
|
+
connect?: Prisma.ClientWhereUniqueInput;
|
|
295
|
+
};
|
|
296
|
+
export type ClientUpdateOneRequiredWithoutAuthorization_codesNestedInput = {
|
|
297
|
+
create?: Prisma.XOR<Prisma.ClientCreateWithoutAuthorization_codesInput, Prisma.ClientUncheckedCreateWithoutAuthorization_codesInput>;
|
|
298
|
+
connectOrCreate?: Prisma.ClientCreateOrConnectWithoutAuthorization_codesInput;
|
|
299
|
+
upsert?: Prisma.ClientUpsertWithoutAuthorization_codesInput;
|
|
300
|
+
connect?: Prisma.ClientWhereUniqueInput;
|
|
301
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ClientUpdateToOneWithWhereWithoutAuthorization_codesInput, Prisma.ClientUpdateWithoutAuthorization_codesInput>, Prisma.ClientUncheckedUpdateWithoutAuthorization_codesInput>;
|
|
302
|
+
};
|
|
303
|
+
export type ClientCreateNestedOneWithoutSessionsInput = {
|
|
304
|
+
create?: Prisma.XOR<Prisma.ClientCreateWithoutSessionsInput, Prisma.ClientUncheckedCreateWithoutSessionsInput>;
|
|
305
|
+
connectOrCreate?: Prisma.ClientCreateOrConnectWithoutSessionsInput;
|
|
306
|
+
connect?: Prisma.ClientWhereUniqueInput;
|
|
307
|
+
};
|
|
308
|
+
export type ClientUpdateOneRequiredWithoutSessionsNestedInput = {
|
|
309
|
+
create?: Prisma.XOR<Prisma.ClientCreateWithoutSessionsInput, Prisma.ClientUncheckedCreateWithoutSessionsInput>;
|
|
310
|
+
connectOrCreate?: Prisma.ClientCreateOrConnectWithoutSessionsInput;
|
|
311
|
+
upsert?: Prisma.ClientUpsertWithoutSessionsInput;
|
|
312
|
+
connect?: Prisma.ClientWhereUniqueInput;
|
|
313
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ClientUpdateToOneWithWhereWithoutSessionsInput, Prisma.ClientUpdateWithoutSessionsInput>, Prisma.ClientUncheckedUpdateWithoutSessionsInput>;
|
|
314
|
+
};
|
|
315
|
+
export type ClientCreateWithoutAuthorization_codesInput = {
|
|
316
|
+
id: string;
|
|
317
|
+
client_secret?: string | null;
|
|
318
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
319
|
+
created_at?: Date | string;
|
|
320
|
+
updated_at?: Date | string;
|
|
321
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
322
|
+
sessions?: Prisma.SessionCreateNestedManyWithoutClientInput;
|
|
323
|
+
};
|
|
324
|
+
export type ClientUncheckedCreateWithoutAuthorization_codesInput = {
|
|
325
|
+
id: string;
|
|
326
|
+
client_secret?: string | null;
|
|
327
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
328
|
+
created_at?: Date | string;
|
|
329
|
+
updated_at?: Date | string;
|
|
330
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
331
|
+
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutClientInput;
|
|
332
|
+
};
|
|
333
|
+
export type ClientCreateOrConnectWithoutAuthorization_codesInput = {
|
|
334
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
335
|
+
create: Prisma.XOR<Prisma.ClientCreateWithoutAuthorization_codesInput, Prisma.ClientUncheckedCreateWithoutAuthorization_codesInput>;
|
|
336
|
+
};
|
|
337
|
+
export type ClientUpsertWithoutAuthorization_codesInput = {
|
|
338
|
+
update: Prisma.XOR<Prisma.ClientUpdateWithoutAuthorization_codesInput, Prisma.ClientUncheckedUpdateWithoutAuthorization_codesInput>;
|
|
339
|
+
create: Prisma.XOR<Prisma.ClientCreateWithoutAuthorization_codesInput, Prisma.ClientUncheckedCreateWithoutAuthorization_codesInput>;
|
|
340
|
+
where?: Prisma.ClientWhereInput;
|
|
341
|
+
};
|
|
342
|
+
export type ClientUpdateToOneWithWhereWithoutAuthorization_codesInput = {
|
|
343
|
+
where?: Prisma.ClientWhereInput;
|
|
344
|
+
data: Prisma.XOR<Prisma.ClientUpdateWithoutAuthorization_codesInput, Prisma.ClientUncheckedUpdateWithoutAuthorization_codesInput>;
|
|
345
|
+
};
|
|
346
|
+
export type ClientUpdateWithoutAuthorization_codesInput = {
|
|
347
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
348
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
349
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
350
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
351
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
352
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
353
|
+
sessions?: Prisma.SessionUpdateManyWithoutClientNestedInput;
|
|
354
|
+
};
|
|
355
|
+
export type ClientUncheckedUpdateWithoutAuthorization_codesInput = {
|
|
356
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
358
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
359
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
360
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
361
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
362
|
+
sessions?: Prisma.SessionUncheckedUpdateManyWithoutClientNestedInput;
|
|
363
|
+
};
|
|
364
|
+
export type ClientCreateWithoutSessionsInput = {
|
|
365
|
+
id: string;
|
|
366
|
+
client_secret?: string | null;
|
|
367
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
368
|
+
created_at?: Date | string;
|
|
369
|
+
updated_at?: Date | string;
|
|
370
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
371
|
+
authorization_codes?: Prisma.AuthorizationCodeCreateNestedManyWithoutClientInput;
|
|
372
|
+
};
|
|
373
|
+
export type ClientUncheckedCreateWithoutSessionsInput = {
|
|
374
|
+
id: string;
|
|
375
|
+
client_secret?: string | null;
|
|
376
|
+
redirect_uris?: Prisma.ClientCreateredirect_urisInput | string[];
|
|
377
|
+
created_at?: Date | string;
|
|
378
|
+
updated_at?: Date | string;
|
|
379
|
+
scopes?: Prisma.ClientCreatescopesInput | string[];
|
|
380
|
+
authorization_codes?: Prisma.AuthorizationCodeUncheckedCreateNestedManyWithoutClientInput;
|
|
381
|
+
};
|
|
382
|
+
export type ClientCreateOrConnectWithoutSessionsInput = {
|
|
383
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
384
|
+
create: Prisma.XOR<Prisma.ClientCreateWithoutSessionsInput, Prisma.ClientUncheckedCreateWithoutSessionsInput>;
|
|
385
|
+
};
|
|
386
|
+
export type ClientUpsertWithoutSessionsInput = {
|
|
387
|
+
update: Prisma.XOR<Prisma.ClientUpdateWithoutSessionsInput, Prisma.ClientUncheckedUpdateWithoutSessionsInput>;
|
|
388
|
+
create: Prisma.XOR<Prisma.ClientCreateWithoutSessionsInput, Prisma.ClientUncheckedCreateWithoutSessionsInput>;
|
|
389
|
+
where?: Prisma.ClientWhereInput;
|
|
390
|
+
};
|
|
391
|
+
export type ClientUpdateToOneWithWhereWithoutSessionsInput = {
|
|
392
|
+
where?: Prisma.ClientWhereInput;
|
|
393
|
+
data: Prisma.XOR<Prisma.ClientUpdateWithoutSessionsInput, Prisma.ClientUncheckedUpdateWithoutSessionsInput>;
|
|
394
|
+
};
|
|
395
|
+
export type ClientUpdateWithoutSessionsInput = {
|
|
396
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
398
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
399
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
401
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
402
|
+
authorization_codes?: Prisma.AuthorizationCodeUpdateManyWithoutClientNestedInput;
|
|
403
|
+
};
|
|
404
|
+
export type ClientUncheckedUpdateWithoutSessionsInput = {
|
|
405
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
406
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
407
|
+
redirect_uris?: Prisma.ClientUpdateredirect_urisInput | string[];
|
|
408
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
409
|
+
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
410
|
+
scopes?: Prisma.ClientUpdatescopesInput | string[];
|
|
411
|
+
authorization_codes?: Prisma.AuthorizationCodeUncheckedUpdateManyWithoutClientNestedInput;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Count Type ClientCountOutputType
|
|
415
|
+
*/
|
|
416
|
+
export type ClientCountOutputType = {
|
|
417
|
+
authorization_codes: number;
|
|
418
|
+
sessions: number;
|
|
419
|
+
};
|
|
420
|
+
export type ClientCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
421
|
+
authorization_codes?: boolean | ClientCountOutputTypeCountAuthorization_codesArgs;
|
|
422
|
+
sessions?: boolean | ClientCountOutputTypeCountSessionsArgs;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* ClientCountOutputType without action
|
|
426
|
+
*/
|
|
427
|
+
export type ClientCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
428
|
+
/**
|
|
429
|
+
* Select specific fields to fetch from the ClientCountOutputType
|
|
430
|
+
*/
|
|
431
|
+
select?: Prisma.ClientCountOutputTypeSelect<ExtArgs> | null;
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* ClientCountOutputType without action
|
|
435
|
+
*/
|
|
436
|
+
export type ClientCountOutputTypeCountAuthorization_codesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
437
|
+
where?: Prisma.AuthorizationCodeWhereInput;
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* ClientCountOutputType without action
|
|
441
|
+
*/
|
|
442
|
+
export type ClientCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
443
|
+
where?: Prisma.SessionWhereInput;
|
|
444
|
+
};
|
|
445
|
+
export type ClientSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
446
|
+
id?: boolean;
|
|
447
|
+
client_secret?: boolean;
|
|
448
|
+
redirect_uris?: boolean;
|
|
449
|
+
created_at?: boolean;
|
|
450
|
+
updated_at?: boolean;
|
|
451
|
+
scopes?: boolean;
|
|
452
|
+
authorization_codes?: boolean | Prisma.Client$authorization_codesArgs<ExtArgs>;
|
|
453
|
+
sessions?: boolean | Prisma.Client$sessionsArgs<ExtArgs>;
|
|
454
|
+
_count?: boolean | Prisma.ClientCountOutputTypeDefaultArgs<ExtArgs>;
|
|
455
|
+
}, ExtArgs["result"]["client"]>;
|
|
456
|
+
export type ClientSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
457
|
+
id?: boolean;
|
|
458
|
+
client_secret?: boolean;
|
|
459
|
+
redirect_uris?: boolean;
|
|
460
|
+
created_at?: boolean;
|
|
461
|
+
updated_at?: boolean;
|
|
462
|
+
scopes?: boolean;
|
|
463
|
+
}, ExtArgs["result"]["client"]>;
|
|
464
|
+
export type ClientSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
465
|
+
id?: boolean;
|
|
466
|
+
client_secret?: boolean;
|
|
467
|
+
redirect_uris?: boolean;
|
|
468
|
+
created_at?: boolean;
|
|
469
|
+
updated_at?: boolean;
|
|
470
|
+
scopes?: boolean;
|
|
471
|
+
}, ExtArgs["result"]["client"]>;
|
|
472
|
+
export type ClientSelectScalar = {
|
|
473
|
+
id?: boolean;
|
|
474
|
+
client_secret?: boolean;
|
|
475
|
+
redirect_uris?: boolean;
|
|
476
|
+
created_at?: boolean;
|
|
477
|
+
updated_at?: boolean;
|
|
478
|
+
scopes?: boolean;
|
|
479
|
+
};
|
|
480
|
+
export type ClientOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "client_secret" | "redirect_uris" | "created_at" | "updated_at" | "scopes", ExtArgs["result"]["client"]>;
|
|
481
|
+
export type ClientInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
482
|
+
authorization_codes?: boolean | Prisma.Client$authorization_codesArgs<ExtArgs>;
|
|
483
|
+
sessions?: boolean | Prisma.Client$sessionsArgs<ExtArgs>;
|
|
484
|
+
_count?: boolean | Prisma.ClientCountOutputTypeDefaultArgs<ExtArgs>;
|
|
485
|
+
};
|
|
486
|
+
export type ClientIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
487
|
+
export type ClientIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
488
|
+
export type $ClientPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
489
|
+
name: "Client";
|
|
490
|
+
objects: {
|
|
491
|
+
authorization_codes: Prisma.$AuthorizationCodePayload<ExtArgs>[];
|
|
492
|
+
sessions: Prisma.$SessionPayload<ExtArgs>[];
|
|
493
|
+
};
|
|
494
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
495
|
+
id: string;
|
|
496
|
+
client_secret: string | null;
|
|
497
|
+
redirect_uris: string[];
|
|
498
|
+
created_at: Date;
|
|
499
|
+
updated_at: Date;
|
|
500
|
+
scopes: string[];
|
|
501
|
+
}, ExtArgs["result"]["client"]>;
|
|
502
|
+
composites: {};
|
|
503
|
+
};
|
|
504
|
+
export type ClientGetPayload<S extends boolean | null | undefined | ClientDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ClientPayload, S>;
|
|
505
|
+
export type ClientCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ClientFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
506
|
+
select?: ClientCountAggregateInputType | true;
|
|
507
|
+
};
|
|
508
|
+
export interface ClientDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
509
|
+
[K: symbol]: {
|
|
510
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Client'];
|
|
511
|
+
meta: {
|
|
512
|
+
name: 'Client';
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
/**
|
|
516
|
+
* Find zero or one Client that matches the filter.
|
|
517
|
+
* @param {ClientFindUniqueArgs} args - Arguments to find a Client
|
|
518
|
+
* @example
|
|
519
|
+
* // Get one Client
|
|
520
|
+
* const client = await prisma.client.findUnique({
|
|
521
|
+
* where: {
|
|
522
|
+
* // ... provide filter here
|
|
523
|
+
* }
|
|
524
|
+
* })
|
|
525
|
+
*/
|
|
526
|
+
findUnique<T extends ClientFindUniqueArgs>(args: Prisma.SelectSubset<T, ClientFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
527
|
+
/**
|
|
528
|
+
* Find one Client that matches the filter or throw an error with `error.code='P2025'`
|
|
529
|
+
* if no matches were found.
|
|
530
|
+
* @param {ClientFindUniqueOrThrowArgs} args - Arguments to find a Client
|
|
531
|
+
* @example
|
|
532
|
+
* // Get one Client
|
|
533
|
+
* const client = await prisma.client.findUniqueOrThrow({
|
|
534
|
+
* where: {
|
|
535
|
+
* // ... provide filter here
|
|
536
|
+
* }
|
|
537
|
+
* })
|
|
538
|
+
*/
|
|
539
|
+
findUniqueOrThrow<T extends ClientFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ClientFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
540
|
+
/**
|
|
541
|
+
* Find the first Client that matches the filter.
|
|
542
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
543
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
544
|
+
* @param {ClientFindFirstArgs} args - Arguments to find a Client
|
|
545
|
+
* @example
|
|
546
|
+
* // Get one Client
|
|
547
|
+
* const client = await prisma.client.findFirst({
|
|
548
|
+
* where: {
|
|
549
|
+
* // ... provide filter here
|
|
550
|
+
* }
|
|
551
|
+
* })
|
|
552
|
+
*/
|
|
553
|
+
findFirst<T extends ClientFindFirstArgs>(args?: Prisma.SelectSubset<T, ClientFindFirstArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
554
|
+
/**
|
|
555
|
+
* Find the first Client that matches the filter or
|
|
556
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
557
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
558
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
559
|
+
* @param {ClientFindFirstOrThrowArgs} args - Arguments to find a Client
|
|
560
|
+
* @example
|
|
561
|
+
* // Get one Client
|
|
562
|
+
* const client = await prisma.client.findFirstOrThrow({
|
|
563
|
+
* where: {
|
|
564
|
+
* // ... provide filter here
|
|
565
|
+
* }
|
|
566
|
+
* })
|
|
567
|
+
*/
|
|
568
|
+
findFirstOrThrow<T extends ClientFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ClientFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
569
|
+
/**
|
|
570
|
+
* Find zero or more Clients that matches the filter.
|
|
571
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
572
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
573
|
+
* @param {ClientFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
574
|
+
* @example
|
|
575
|
+
* // Get all Clients
|
|
576
|
+
* const clients = await prisma.client.findMany()
|
|
577
|
+
*
|
|
578
|
+
* // Get first 10 Clients
|
|
579
|
+
* const clients = await prisma.client.findMany({ take: 10 })
|
|
580
|
+
*
|
|
581
|
+
* // Only select the `id`
|
|
582
|
+
* const clientWithIdOnly = await prisma.client.findMany({ select: { id: true } })
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
findMany<T extends ClientFindManyArgs>(args?: Prisma.SelectSubset<T, ClientFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
586
|
+
/**
|
|
587
|
+
* Create a Client.
|
|
588
|
+
* @param {ClientCreateArgs} args - Arguments to create a Client.
|
|
589
|
+
* @example
|
|
590
|
+
* // Create one Client
|
|
591
|
+
* const Client = await prisma.client.create({
|
|
592
|
+
* data: {
|
|
593
|
+
* // ... data to create a Client
|
|
594
|
+
* }
|
|
595
|
+
* })
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
create<T extends ClientCreateArgs>(args: Prisma.SelectSubset<T, ClientCreateArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
599
|
+
/**
|
|
600
|
+
* Create many Clients.
|
|
601
|
+
* @param {ClientCreateManyArgs} args - Arguments to create many Clients.
|
|
602
|
+
* @example
|
|
603
|
+
* // Create many Clients
|
|
604
|
+
* const client = await prisma.client.createMany({
|
|
605
|
+
* data: [
|
|
606
|
+
* // ... provide data here
|
|
607
|
+
* ]
|
|
608
|
+
* })
|
|
609
|
+
*
|
|
610
|
+
*/
|
|
611
|
+
createMany<T extends ClientCreateManyArgs>(args?: Prisma.SelectSubset<T, ClientCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
612
|
+
/**
|
|
613
|
+
* Create many Clients and returns the data saved in the database.
|
|
614
|
+
* @param {ClientCreateManyAndReturnArgs} args - Arguments to create many Clients.
|
|
615
|
+
* @example
|
|
616
|
+
* // Create many Clients
|
|
617
|
+
* const client = await prisma.client.createManyAndReturn({
|
|
618
|
+
* data: [
|
|
619
|
+
* // ... provide data here
|
|
620
|
+
* ]
|
|
621
|
+
* })
|
|
622
|
+
*
|
|
623
|
+
* // Create many Clients and only return the `id`
|
|
624
|
+
* const clientWithIdOnly = await prisma.client.createManyAndReturn({
|
|
625
|
+
* select: { id: true },
|
|
626
|
+
* data: [
|
|
627
|
+
* // ... provide data here
|
|
628
|
+
* ]
|
|
629
|
+
* })
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
*
|
|
633
|
+
*/
|
|
634
|
+
createManyAndReturn<T extends ClientCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ClientCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
635
|
+
/**
|
|
636
|
+
* Delete a Client.
|
|
637
|
+
* @param {ClientDeleteArgs} args - Arguments to delete one Client.
|
|
638
|
+
* @example
|
|
639
|
+
* // Delete one Client
|
|
640
|
+
* const Client = await prisma.client.delete({
|
|
641
|
+
* where: {
|
|
642
|
+
* // ... filter to delete one Client
|
|
643
|
+
* }
|
|
644
|
+
* })
|
|
645
|
+
*
|
|
646
|
+
*/
|
|
647
|
+
delete<T extends ClientDeleteArgs>(args: Prisma.SelectSubset<T, ClientDeleteArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
648
|
+
/**
|
|
649
|
+
* Update one Client.
|
|
650
|
+
* @param {ClientUpdateArgs} args - Arguments to update one Client.
|
|
651
|
+
* @example
|
|
652
|
+
* // Update one Client
|
|
653
|
+
* const client = await prisma.client.update({
|
|
654
|
+
* where: {
|
|
655
|
+
* // ... provide filter here
|
|
656
|
+
* },
|
|
657
|
+
* data: {
|
|
658
|
+
* // ... provide data here
|
|
659
|
+
* }
|
|
660
|
+
* })
|
|
661
|
+
*
|
|
662
|
+
*/
|
|
663
|
+
update<T extends ClientUpdateArgs>(args: Prisma.SelectSubset<T, ClientUpdateArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
664
|
+
/**
|
|
665
|
+
* Delete zero or more Clients.
|
|
666
|
+
* @param {ClientDeleteManyArgs} args - Arguments to filter Clients to delete.
|
|
667
|
+
* @example
|
|
668
|
+
* // Delete a few Clients
|
|
669
|
+
* const { count } = await prisma.client.deleteMany({
|
|
670
|
+
* where: {
|
|
671
|
+
* // ... provide filter here
|
|
672
|
+
* }
|
|
673
|
+
* })
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
deleteMany<T extends ClientDeleteManyArgs>(args?: Prisma.SelectSubset<T, ClientDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
677
|
+
/**
|
|
678
|
+
* Update zero or more Clients.
|
|
679
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
680
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
681
|
+
* @param {ClientUpdateManyArgs} args - Arguments to update one or more rows.
|
|
682
|
+
* @example
|
|
683
|
+
* // Update many Clients
|
|
684
|
+
* const client = await prisma.client.updateMany({
|
|
685
|
+
* where: {
|
|
686
|
+
* // ... provide filter here
|
|
687
|
+
* },
|
|
688
|
+
* data: {
|
|
689
|
+
* // ... provide data here
|
|
690
|
+
* }
|
|
691
|
+
* })
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
updateMany<T extends ClientUpdateManyArgs>(args: Prisma.SelectSubset<T, ClientUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
695
|
+
/**
|
|
696
|
+
* Update zero or more Clients and returns the data updated in the database.
|
|
697
|
+
* @param {ClientUpdateManyAndReturnArgs} args - Arguments to update many Clients.
|
|
698
|
+
* @example
|
|
699
|
+
* // Update many Clients
|
|
700
|
+
* const client = await prisma.client.updateManyAndReturn({
|
|
701
|
+
* where: {
|
|
702
|
+
* // ... provide filter here
|
|
703
|
+
* },
|
|
704
|
+
* data: [
|
|
705
|
+
* // ... provide data here
|
|
706
|
+
* ]
|
|
707
|
+
* })
|
|
708
|
+
*
|
|
709
|
+
* // Update zero or more Clients and only return the `id`
|
|
710
|
+
* const clientWithIdOnly = await prisma.client.updateManyAndReturn({
|
|
711
|
+
* select: { id: true },
|
|
712
|
+
* where: {
|
|
713
|
+
* // ... provide filter here
|
|
714
|
+
* },
|
|
715
|
+
* data: [
|
|
716
|
+
* // ... provide data here
|
|
717
|
+
* ]
|
|
718
|
+
* })
|
|
719
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
720
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
721
|
+
*
|
|
722
|
+
*/
|
|
723
|
+
updateManyAndReturn<T extends ClientUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ClientUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
724
|
+
/**
|
|
725
|
+
* Create or update one Client.
|
|
726
|
+
* @param {ClientUpsertArgs} args - Arguments to update or create a Client.
|
|
727
|
+
* @example
|
|
728
|
+
* // Update or create a Client
|
|
729
|
+
* const client = await prisma.client.upsert({
|
|
730
|
+
* create: {
|
|
731
|
+
* // ... data to create a Client
|
|
732
|
+
* },
|
|
733
|
+
* update: {
|
|
734
|
+
* // ... in case it already exists, update
|
|
735
|
+
* },
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... the filter for the Client we want to update
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
*/
|
|
741
|
+
upsert<T extends ClientUpsertArgs>(args: Prisma.SelectSubset<T, ClientUpsertArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
742
|
+
/**
|
|
743
|
+
* Count the number of Clients.
|
|
744
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
745
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
746
|
+
* @param {ClientCountArgs} args - Arguments to filter Clients to count.
|
|
747
|
+
* @example
|
|
748
|
+
* // Count the number of Clients
|
|
749
|
+
* const count = await prisma.client.count({
|
|
750
|
+
* where: {
|
|
751
|
+
* // ... the filter for the Clients we want to count
|
|
752
|
+
* }
|
|
753
|
+
* })
|
|
754
|
+
**/
|
|
755
|
+
count<T extends ClientCountArgs>(args?: Prisma.Subset<T, ClientCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ClientCountAggregateOutputType> : number>;
|
|
756
|
+
/**
|
|
757
|
+
* Allows you to perform aggregations operations on a Client.
|
|
758
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
759
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
760
|
+
* @param {ClientAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
761
|
+
* @example
|
|
762
|
+
* // Ordered by age ascending
|
|
763
|
+
* // Where email contains prisma.io
|
|
764
|
+
* // Limited to the 10 users
|
|
765
|
+
* const aggregations = await prisma.user.aggregate({
|
|
766
|
+
* _avg: {
|
|
767
|
+
* age: true,
|
|
768
|
+
* },
|
|
769
|
+
* where: {
|
|
770
|
+
* email: {
|
|
771
|
+
* contains: "prisma.io",
|
|
772
|
+
* },
|
|
773
|
+
* },
|
|
774
|
+
* orderBy: {
|
|
775
|
+
* age: "asc",
|
|
776
|
+
* },
|
|
777
|
+
* take: 10,
|
|
778
|
+
* })
|
|
779
|
+
**/
|
|
780
|
+
aggregate<T extends ClientAggregateArgs>(args: Prisma.Subset<T, ClientAggregateArgs>): Prisma.PrismaPromise<GetClientAggregateType<T>>;
|
|
781
|
+
/**
|
|
782
|
+
* Group by Client.
|
|
783
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
784
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
785
|
+
* @param {ClientGroupByArgs} args - Group by arguments.
|
|
786
|
+
* @example
|
|
787
|
+
* // Group by city, order by createdAt, get count
|
|
788
|
+
* const result = await prisma.user.groupBy({
|
|
789
|
+
* by: ['city', 'createdAt'],
|
|
790
|
+
* orderBy: {
|
|
791
|
+
* createdAt: true
|
|
792
|
+
* },
|
|
793
|
+
* _count: {
|
|
794
|
+
* _all: true
|
|
795
|
+
* },
|
|
796
|
+
* })
|
|
797
|
+
*
|
|
798
|
+
**/
|
|
799
|
+
groupBy<T extends ClientGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
800
|
+
orderBy: ClientGroupByArgs['orderBy'];
|
|
801
|
+
} : {
|
|
802
|
+
orderBy?: ClientGroupByArgs['orderBy'];
|
|
803
|
+
}, 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 ? {
|
|
804
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
805
|
+
Error,
|
|
806
|
+
'Field ',
|
|
807
|
+
P,
|
|
808
|
+
` in "having" needs to be provided in "by"`
|
|
809
|
+
];
|
|
810
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
811
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
812
|
+
}[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 ? {} : {
|
|
813
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
814
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
815
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
816
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ClientGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClientGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
817
|
+
/**
|
|
818
|
+
* Fields of the Client model
|
|
819
|
+
*/
|
|
820
|
+
readonly fields: ClientFieldRefs;
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* The delegate class that acts as a "Promise-like" for Client.
|
|
824
|
+
* Why is this prefixed with `Prisma__`?
|
|
825
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
826
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
827
|
+
*/
|
|
828
|
+
export interface Prisma__ClientClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
829
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
830
|
+
authorization_codes<T extends Prisma.Client$authorization_codesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Client$authorization_codesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuthorizationCodePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
831
|
+
sessions<T extends Prisma.Client$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Client$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
832
|
+
/**
|
|
833
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
834
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
835
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
836
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
837
|
+
*/
|
|
838
|
+
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>;
|
|
839
|
+
/**
|
|
840
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
841
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
842
|
+
* @returns A Promise for the completion of the callback.
|
|
843
|
+
*/
|
|
844
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
845
|
+
/**
|
|
846
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
847
|
+
* resolved value cannot be modified from the callback.
|
|
848
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
849
|
+
* @returns A Promise for the completion of the callback.
|
|
850
|
+
*/
|
|
851
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Fields of the Client model
|
|
855
|
+
*/
|
|
856
|
+
export interface ClientFieldRefs {
|
|
857
|
+
readonly id: Prisma.FieldRef<"Client", 'String'>;
|
|
858
|
+
readonly client_secret: Prisma.FieldRef<"Client", 'String'>;
|
|
859
|
+
readonly redirect_uris: Prisma.FieldRef<"Client", 'String[]'>;
|
|
860
|
+
readonly created_at: Prisma.FieldRef<"Client", 'DateTime'>;
|
|
861
|
+
readonly updated_at: Prisma.FieldRef<"Client", 'DateTime'>;
|
|
862
|
+
readonly scopes: Prisma.FieldRef<"Client", 'String[]'>;
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Client findUnique
|
|
866
|
+
*/
|
|
867
|
+
export type ClientFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
868
|
+
/**
|
|
869
|
+
* Select specific fields to fetch from the Client
|
|
870
|
+
*/
|
|
871
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Omit specific fields from the Client
|
|
874
|
+
*/
|
|
875
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
876
|
+
/**
|
|
877
|
+
* Choose, which related nodes to fetch as well
|
|
878
|
+
*/
|
|
879
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
880
|
+
/**
|
|
881
|
+
* Filter, which Client to fetch.
|
|
882
|
+
*/
|
|
883
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* Client findUniqueOrThrow
|
|
887
|
+
*/
|
|
888
|
+
export type ClientFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
889
|
+
/**
|
|
890
|
+
* Select specific fields to fetch from the Client
|
|
891
|
+
*/
|
|
892
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
893
|
+
/**
|
|
894
|
+
* Omit specific fields from the Client
|
|
895
|
+
*/
|
|
896
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
897
|
+
/**
|
|
898
|
+
* Choose, which related nodes to fetch as well
|
|
899
|
+
*/
|
|
900
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
901
|
+
/**
|
|
902
|
+
* Filter, which Client to fetch.
|
|
903
|
+
*/
|
|
904
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* Client findFirst
|
|
908
|
+
*/
|
|
909
|
+
export type ClientFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
910
|
+
/**
|
|
911
|
+
* Select specific fields to fetch from the Client
|
|
912
|
+
*/
|
|
913
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* Omit specific fields from the Client
|
|
916
|
+
*/
|
|
917
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
918
|
+
/**
|
|
919
|
+
* Choose, which related nodes to fetch as well
|
|
920
|
+
*/
|
|
921
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
922
|
+
/**
|
|
923
|
+
* Filter, which Client to fetch.
|
|
924
|
+
*/
|
|
925
|
+
where?: Prisma.ClientWhereInput;
|
|
926
|
+
/**
|
|
927
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
928
|
+
*
|
|
929
|
+
* Determine the order of Clients to fetch.
|
|
930
|
+
*/
|
|
931
|
+
orderBy?: Prisma.ClientOrderByWithRelationInput | Prisma.ClientOrderByWithRelationInput[];
|
|
932
|
+
/**
|
|
933
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
934
|
+
*
|
|
935
|
+
* Sets the position for searching for Clients.
|
|
936
|
+
*/
|
|
937
|
+
cursor?: Prisma.ClientWhereUniqueInput;
|
|
938
|
+
/**
|
|
939
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
940
|
+
*
|
|
941
|
+
* Take `±n` Clients from the position of the cursor.
|
|
942
|
+
*/
|
|
943
|
+
take?: number;
|
|
944
|
+
/**
|
|
945
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
946
|
+
*
|
|
947
|
+
* Skip the first `n` Clients.
|
|
948
|
+
*/
|
|
949
|
+
skip?: number;
|
|
950
|
+
/**
|
|
951
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
952
|
+
*
|
|
953
|
+
* Filter by unique combinations of Clients.
|
|
954
|
+
*/
|
|
955
|
+
distinct?: Prisma.ClientScalarFieldEnum | Prisma.ClientScalarFieldEnum[];
|
|
956
|
+
};
|
|
957
|
+
/**
|
|
958
|
+
* Client findFirstOrThrow
|
|
959
|
+
*/
|
|
960
|
+
export type ClientFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
961
|
+
/**
|
|
962
|
+
* Select specific fields to fetch from the Client
|
|
963
|
+
*/
|
|
964
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
965
|
+
/**
|
|
966
|
+
* Omit specific fields from the Client
|
|
967
|
+
*/
|
|
968
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
969
|
+
/**
|
|
970
|
+
* Choose, which related nodes to fetch as well
|
|
971
|
+
*/
|
|
972
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
973
|
+
/**
|
|
974
|
+
* Filter, which Client to fetch.
|
|
975
|
+
*/
|
|
976
|
+
where?: Prisma.ClientWhereInput;
|
|
977
|
+
/**
|
|
978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
979
|
+
*
|
|
980
|
+
* Determine the order of Clients to fetch.
|
|
981
|
+
*/
|
|
982
|
+
orderBy?: Prisma.ClientOrderByWithRelationInput | Prisma.ClientOrderByWithRelationInput[];
|
|
983
|
+
/**
|
|
984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
985
|
+
*
|
|
986
|
+
* Sets the position for searching for Clients.
|
|
987
|
+
*/
|
|
988
|
+
cursor?: Prisma.ClientWhereUniqueInput;
|
|
989
|
+
/**
|
|
990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
991
|
+
*
|
|
992
|
+
* Take `±n` Clients from the position of the cursor.
|
|
993
|
+
*/
|
|
994
|
+
take?: number;
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
997
|
+
*
|
|
998
|
+
* Skip the first `n` Clients.
|
|
999
|
+
*/
|
|
1000
|
+
skip?: number;
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Filter by unique combinations of Clients.
|
|
1005
|
+
*/
|
|
1006
|
+
distinct?: Prisma.ClientScalarFieldEnum | Prisma.ClientScalarFieldEnum[];
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* Client findMany
|
|
1010
|
+
*/
|
|
1011
|
+
export type ClientFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1012
|
+
/**
|
|
1013
|
+
* Select specific fields to fetch from the Client
|
|
1014
|
+
*/
|
|
1015
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Omit specific fields from the Client
|
|
1018
|
+
*/
|
|
1019
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* Choose, which related nodes to fetch as well
|
|
1022
|
+
*/
|
|
1023
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* Filter, which Clients to fetch.
|
|
1026
|
+
*/
|
|
1027
|
+
where?: Prisma.ClientWhereInput;
|
|
1028
|
+
/**
|
|
1029
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1030
|
+
*
|
|
1031
|
+
* Determine the order of Clients to fetch.
|
|
1032
|
+
*/
|
|
1033
|
+
orderBy?: Prisma.ClientOrderByWithRelationInput | Prisma.ClientOrderByWithRelationInput[];
|
|
1034
|
+
/**
|
|
1035
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1036
|
+
*
|
|
1037
|
+
* Sets the position for listing Clients.
|
|
1038
|
+
*/
|
|
1039
|
+
cursor?: Prisma.ClientWhereUniqueInput;
|
|
1040
|
+
/**
|
|
1041
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1042
|
+
*
|
|
1043
|
+
* Take `±n` Clients from the position of the cursor.
|
|
1044
|
+
*/
|
|
1045
|
+
take?: number;
|
|
1046
|
+
/**
|
|
1047
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1048
|
+
*
|
|
1049
|
+
* Skip the first `n` Clients.
|
|
1050
|
+
*/
|
|
1051
|
+
skip?: number;
|
|
1052
|
+
/**
|
|
1053
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1054
|
+
*
|
|
1055
|
+
* Filter by unique combinations of Clients.
|
|
1056
|
+
*/
|
|
1057
|
+
distinct?: Prisma.ClientScalarFieldEnum | Prisma.ClientScalarFieldEnum[];
|
|
1058
|
+
};
|
|
1059
|
+
/**
|
|
1060
|
+
* Client create
|
|
1061
|
+
*/
|
|
1062
|
+
export type ClientCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Select specific fields to fetch from the Client
|
|
1065
|
+
*/
|
|
1066
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Omit specific fields from the Client
|
|
1069
|
+
*/
|
|
1070
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1071
|
+
/**
|
|
1072
|
+
* Choose, which related nodes to fetch as well
|
|
1073
|
+
*/
|
|
1074
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* The data needed to create a Client.
|
|
1077
|
+
*/
|
|
1078
|
+
data: Prisma.XOR<Prisma.ClientCreateInput, Prisma.ClientUncheckedCreateInput>;
|
|
1079
|
+
};
|
|
1080
|
+
/**
|
|
1081
|
+
* Client createMany
|
|
1082
|
+
*/
|
|
1083
|
+
export type ClientCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1084
|
+
/**
|
|
1085
|
+
* The data used to create many Clients.
|
|
1086
|
+
*/
|
|
1087
|
+
data: Prisma.ClientCreateManyInput | Prisma.ClientCreateManyInput[];
|
|
1088
|
+
skipDuplicates?: boolean;
|
|
1089
|
+
};
|
|
1090
|
+
/**
|
|
1091
|
+
* Client createManyAndReturn
|
|
1092
|
+
*/
|
|
1093
|
+
export type ClientCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1094
|
+
/**
|
|
1095
|
+
* Select specific fields to fetch from the Client
|
|
1096
|
+
*/
|
|
1097
|
+
select?: Prisma.ClientSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Omit specific fields from the Client
|
|
1100
|
+
*/
|
|
1101
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1102
|
+
/**
|
|
1103
|
+
* The data used to create many Clients.
|
|
1104
|
+
*/
|
|
1105
|
+
data: Prisma.ClientCreateManyInput | Prisma.ClientCreateManyInput[];
|
|
1106
|
+
skipDuplicates?: boolean;
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* Client update
|
|
1110
|
+
*/
|
|
1111
|
+
export type ClientUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the Client
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the Client
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Choose, which related nodes to fetch as well
|
|
1122
|
+
*/
|
|
1123
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* The data needed to update a Client.
|
|
1126
|
+
*/
|
|
1127
|
+
data: Prisma.XOR<Prisma.ClientUpdateInput, Prisma.ClientUncheckedUpdateInput>;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which Client to update.
|
|
1130
|
+
*/
|
|
1131
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Client updateMany
|
|
1135
|
+
*/
|
|
1136
|
+
export type ClientUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
+
/**
|
|
1138
|
+
* The data used to update Clients.
|
|
1139
|
+
*/
|
|
1140
|
+
data: Prisma.XOR<Prisma.ClientUpdateManyMutationInput, Prisma.ClientUncheckedUpdateManyInput>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Filter which Clients to update
|
|
1143
|
+
*/
|
|
1144
|
+
where?: Prisma.ClientWhereInput;
|
|
1145
|
+
/**
|
|
1146
|
+
* Limit how many Clients to update.
|
|
1147
|
+
*/
|
|
1148
|
+
limit?: number;
|
|
1149
|
+
};
|
|
1150
|
+
/**
|
|
1151
|
+
* Client updateManyAndReturn
|
|
1152
|
+
*/
|
|
1153
|
+
export type ClientUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1154
|
+
/**
|
|
1155
|
+
* Select specific fields to fetch from the Client
|
|
1156
|
+
*/
|
|
1157
|
+
select?: Prisma.ClientSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1158
|
+
/**
|
|
1159
|
+
* Omit specific fields from the Client
|
|
1160
|
+
*/
|
|
1161
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1162
|
+
/**
|
|
1163
|
+
* The data used to update Clients.
|
|
1164
|
+
*/
|
|
1165
|
+
data: Prisma.XOR<Prisma.ClientUpdateManyMutationInput, Prisma.ClientUncheckedUpdateManyInput>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Filter which Clients to update
|
|
1168
|
+
*/
|
|
1169
|
+
where?: Prisma.ClientWhereInput;
|
|
1170
|
+
/**
|
|
1171
|
+
* Limit how many Clients to update.
|
|
1172
|
+
*/
|
|
1173
|
+
limit?: number;
|
|
1174
|
+
};
|
|
1175
|
+
/**
|
|
1176
|
+
* Client upsert
|
|
1177
|
+
*/
|
|
1178
|
+
export type ClientUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1179
|
+
/**
|
|
1180
|
+
* Select specific fields to fetch from the Client
|
|
1181
|
+
*/
|
|
1182
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1183
|
+
/**
|
|
1184
|
+
* Omit specific fields from the Client
|
|
1185
|
+
*/
|
|
1186
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1187
|
+
/**
|
|
1188
|
+
* Choose, which related nodes to fetch as well
|
|
1189
|
+
*/
|
|
1190
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* The filter to search for the Client to update in case it exists.
|
|
1193
|
+
*/
|
|
1194
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
1195
|
+
/**
|
|
1196
|
+
* In case the Client found by the `where` argument doesn't exist, create a new Client with this data.
|
|
1197
|
+
*/
|
|
1198
|
+
create: Prisma.XOR<Prisma.ClientCreateInput, Prisma.ClientUncheckedCreateInput>;
|
|
1199
|
+
/**
|
|
1200
|
+
* In case the Client was found with the provided `where` argument, update it with this data.
|
|
1201
|
+
*/
|
|
1202
|
+
update: Prisma.XOR<Prisma.ClientUpdateInput, Prisma.ClientUncheckedUpdateInput>;
|
|
1203
|
+
};
|
|
1204
|
+
/**
|
|
1205
|
+
* Client delete
|
|
1206
|
+
*/
|
|
1207
|
+
export type ClientDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1208
|
+
/**
|
|
1209
|
+
* Select specific fields to fetch from the Client
|
|
1210
|
+
*/
|
|
1211
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1212
|
+
/**
|
|
1213
|
+
* Omit specific fields from the Client
|
|
1214
|
+
*/
|
|
1215
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1216
|
+
/**
|
|
1217
|
+
* Choose, which related nodes to fetch as well
|
|
1218
|
+
*/
|
|
1219
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Filter which Client to delete.
|
|
1222
|
+
*/
|
|
1223
|
+
where: Prisma.ClientWhereUniqueInput;
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* Client deleteMany
|
|
1227
|
+
*/
|
|
1228
|
+
export type ClientDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
/**
|
|
1230
|
+
* Filter which Clients to delete
|
|
1231
|
+
*/
|
|
1232
|
+
where?: Prisma.ClientWhereInput;
|
|
1233
|
+
/**
|
|
1234
|
+
* Limit how many Clients to delete.
|
|
1235
|
+
*/
|
|
1236
|
+
limit?: number;
|
|
1237
|
+
};
|
|
1238
|
+
/**
|
|
1239
|
+
* Client.authorization_codes
|
|
1240
|
+
*/
|
|
1241
|
+
export type Client$authorization_codesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1242
|
+
/**
|
|
1243
|
+
* Select specific fields to fetch from the AuthorizationCode
|
|
1244
|
+
*/
|
|
1245
|
+
select?: Prisma.AuthorizationCodeSelect<ExtArgs> | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* Omit specific fields from the AuthorizationCode
|
|
1248
|
+
*/
|
|
1249
|
+
omit?: Prisma.AuthorizationCodeOmit<ExtArgs> | null;
|
|
1250
|
+
/**
|
|
1251
|
+
* Choose, which related nodes to fetch as well
|
|
1252
|
+
*/
|
|
1253
|
+
include?: Prisma.AuthorizationCodeInclude<ExtArgs> | null;
|
|
1254
|
+
where?: Prisma.AuthorizationCodeWhereInput;
|
|
1255
|
+
orderBy?: Prisma.AuthorizationCodeOrderByWithRelationInput | Prisma.AuthorizationCodeOrderByWithRelationInput[];
|
|
1256
|
+
cursor?: Prisma.AuthorizationCodeWhereUniqueInput;
|
|
1257
|
+
take?: number;
|
|
1258
|
+
skip?: number;
|
|
1259
|
+
distinct?: Prisma.AuthorizationCodeScalarFieldEnum | Prisma.AuthorizationCodeScalarFieldEnum[];
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* Client.sessions
|
|
1263
|
+
*/
|
|
1264
|
+
export type Client$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1265
|
+
/**
|
|
1266
|
+
* Select specific fields to fetch from the Session
|
|
1267
|
+
*/
|
|
1268
|
+
select?: Prisma.SessionSelect<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* Omit specific fields from the Session
|
|
1271
|
+
*/
|
|
1272
|
+
omit?: Prisma.SessionOmit<ExtArgs> | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Choose, which related nodes to fetch as well
|
|
1275
|
+
*/
|
|
1276
|
+
include?: Prisma.SessionInclude<ExtArgs> | null;
|
|
1277
|
+
where?: Prisma.SessionWhereInput;
|
|
1278
|
+
orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[];
|
|
1279
|
+
cursor?: Prisma.SessionWhereUniqueInput;
|
|
1280
|
+
take?: number;
|
|
1281
|
+
skip?: number;
|
|
1282
|
+
distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[];
|
|
1283
|
+
};
|
|
1284
|
+
/**
|
|
1285
|
+
* Client without action
|
|
1286
|
+
*/
|
|
1287
|
+
export type ClientDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1288
|
+
/**
|
|
1289
|
+
* Select specific fields to fetch from the Client
|
|
1290
|
+
*/
|
|
1291
|
+
select?: Prisma.ClientSelect<ExtArgs> | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* Omit specific fields from the Client
|
|
1294
|
+
*/
|
|
1295
|
+
omit?: Prisma.ClientOmit<ExtArgs> | null;
|
|
1296
|
+
/**
|
|
1297
|
+
* Choose, which related nodes to fetch as well
|
|
1298
|
+
*/
|
|
1299
|
+
include?: Prisma.ClientInclude<ExtArgs> | null;
|
|
1300
|
+
};
|
|
1301
|
+
//# sourceMappingURL=Client.d.ts.map
|