@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,1162 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model LinkedRole
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type LinkedRoleModel = runtime.Types.Result.DefaultSelection<Prisma.$LinkedRolePayload>;
|
|
8
|
+
export type AggregateLinkedRole = {
|
|
9
|
+
_count: LinkedRoleCountAggregateOutputType | null;
|
|
10
|
+
_min: LinkedRoleMinAggregateOutputType | null;
|
|
11
|
+
_max: LinkedRoleMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type LinkedRoleMinAggregateOutputType = {
|
|
14
|
+
user_id: string | null;
|
|
15
|
+
role_id: string | null;
|
|
16
|
+
};
|
|
17
|
+
export type LinkedRoleMaxAggregateOutputType = {
|
|
18
|
+
user_id: string | null;
|
|
19
|
+
role_id: string | null;
|
|
20
|
+
};
|
|
21
|
+
export type LinkedRoleCountAggregateOutputType = {
|
|
22
|
+
user_id: number;
|
|
23
|
+
role_id: number;
|
|
24
|
+
_all: number;
|
|
25
|
+
};
|
|
26
|
+
export type LinkedRoleMinAggregateInputType = {
|
|
27
|
+
user_id?: true;
|
|
28
|
+
role_id?: true;
|
|
29
|
+
};
|
|
30
|
+
export type LinkedRoleMaxAggregateInputType = {
|
|
31
|
+
user_id?: true;
|
|
32
|
+
role_id?: true;
|
|
33
|
+
};
|
|
34
|
+
export type LinkedRoleCountAggregateInputType = {
|
|
35
|
+
user_id?: true;
|
|
36
|
+
role_id?: true;
|
|
37
|
+
_all?: true;
|
|
38
|
+
};
|
|
39
|
+
export type LinkedRoleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
40
|
+
/**
|
|
41
|
+
* Filter which LinkedRole to aggregate.
|
|
42
|
+
*/
|
|
43
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
44
|
+
/**
|
|
45
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
46
|
+
*
|
|
47
|
+
* Determine the order of LinkedRoles to fetch.
|
|
48
|
+
*/
|
|
49
|
+
orderBy?: Prisma.LinkedRoleOrderByWithRelationInput | Prisma.LinkedRoleOrderByWithRelationInput[];
|
|
50
|
+
/**
|
|
51
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
52
|
+
*
|
|
53
|
+
* Sets the start position
|
|
54
|
+
*/
|
|
55
|
+
cursor?: Prisma.LinkedRoleWhereUniqueInput;
|
|
56
|
+
/**
|
|
57
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
58
|
+
*
|
|
59
|
+
* Take `±n` LinkedRoles from the position of the cursor.
|
|
60
|
+
*/
|
|
61
|
+
take?: number;
|
|
62
|
+
/**
|
|
63
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
64
|
+
*
|
|
65
|
+
* Skip the first `n` LinkedRoles.
|
|
66
|
+
*/
|
|
67
|
+
skip?: number;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
70
|
+
*
|
|
71
|
+
* Count returned LinkedRoles
|
|
72
|
+
**/
|
|
73
|
+
_count?: true | LinkedRoleCountAggregateInputType;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
76
|
+
*
|
|
77
|
+
* Select which fields to find the minimum value
|
|
78
|
+
**/
|
|
79
|
+
_min?: LinkedRoleMinAggregateInputType;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
82
|
+
*
|
|
83
|
+
* Select which fields to find the maximum value
|
|
84
|
+
**/
|
|
85
|
+
_max?: LinkedRoleMaxAggregateInputType;
|
|
86
|
+
};
|
|
87
|
+
export type GetLinkedRoleAggregateType<T extends LinkedRoleAggregateArgs> = {
|
|
88
|
+
[P in keyof T & keyof AggregateLinkedRole]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateLinkedRole[P]> : Prisma.GetScalarType<T[P], AggregateLinkedRole[P]>;
|
|
89
|
+
};
|
|
90
|
+
export type LinkedRoleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
92
|
+
orderBy?: Prisma.LinkedRoleOrderByWithAggregationInput | Prisma.LinkedRoleOrderByWithAggregationInput[];
|
|
93
|
+
by: Prisma.LinkedRoleScalarFieldEnum[] | Prisma.LinkedRoleScalarFieldEnum;
|
|
94
|
+
having?: Prisma.LinkedRoleScalarWhereWithAggregatesInput;
|
|
95
|
+
take?: number;
|
|
96
|
+
skip?: number;
|
|
97
|
+
_count?: LinkedRoleCountAggregateInputType | true;
|
|
98
|
+
_min?: LinkedRoleMinAggregateInputType;
|
|
99
|
+
_max?: LinkedRoleMaxAggregateInputType;
|
|
100
|
+
};
|
|
101
|
+
export type LinkedRoleGroupByOutputType = {
|
|
102
|
+
user_id: string;
|
|
103
|
+
role_id: string;
|
|
104
|
+
_count: LinkedRoleCountAggregateOutputType | null;
|
|
105
|
+
_min: LinkedRoleMinAggregateOutputType | null;
|
|
106
|
+
_max: LinkedRoleMaxAggregateOutputType | null;
|
|
107
|
+
};
|
|
108
|
+
export type GetLinkedRoleGroupByPayload<T extends LinkedRoleGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<LinkedRoleGroupByOutputType, T['by']> & {
|
|
109
|
+
[P in ((keyof T) & (keyof LinkedRoleGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], LinkedRoleGroupByOutputType[P]> : Prisma.GetScalarType<T[P], LinkedRoleGroupByOutputType[P]>;
|
|
110
|
+
}>>;
|
|
111
|
+
export type LinkedRoleWhereInput = {
|
|
112
|
+
AND?: Prisma.LinkedRoleWhereInput | Prisma.LinkedRoleWhereInput[];
|
|
113
|
+
OR?: Prisma.LinkedRoleWhereInput[];
|
|
114
|
+
NOT?: Prisma.LinkedRoleWhereInput | Prisma.LinkedRoleWhereInput[];
|
|
115
|
+
user_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
116
|
+
role_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
117
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
118
|
+
role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>;
|
|
119
|
+
};
|
|
120
|
+
export type LinkedRoleOrderByWithRelationInput = {
|
|
121
|
+
user_id?: Prisma.SortOrder;
|
|
122
|
+
role_id?: Prisma.SortOrder;
|
|
123
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
124
|
+
role?: Prisma.RoleOrderByWithRelationInput;
|
|
125
|
+
};
|
|
126
|
+
export type LinkedRoleWhereUniqueInput = Prisma.AtLeast<{
|
|
127
|
+
user_id_role_id?: Prisma.LinkedRoleUser_idRole_idCompoundUniqueInput;
|
|
128
|
+
AND?: Prisma.LinkedRoleWhereInput | Prisma.LinkedRoleWhereInput[];
|
|
129
|
+
OR?: Prisma.LinkedRoleWhereInput[];
|
|
130
|
+
NOT?: Prisma.LinkedRoleWhereInput | Prisma.LinkedRoleWhereInput[];
|
|
131
|
+
user_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
132
|
+
role_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
133
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
134
|
+
role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>;
|
|
135
|
+
}, "user_id_role_id">;
|
|
136
|
+
export type LinkedRoleOrderByWithAggregationInput = {
|
|
137
|
+
user_id?: Prisma.SortOrder;
|
|
138
|
+
role_id?: Prisma.SortOrder;
|
|
139
|
+
_count?: Prisma.LinkedRoleCountOrderByAggregateInput;
|
|
140
|
+
_max?: Prisma.LinkedRoleMaxOrderByAggregateInput;
|
|
141
|
+
_min?: Prisma.LinkedRoleMinOrderByAggregateInput;
|
|
142
|
+
};
|
|
143
|
+
export type LinkedRoleScalarWhereWithAggregatesInput = {
|
|
144
|
+
AND?: Prisma.LinkedRoleScalarWhereWithAggregatesInput | Prisma.LinkedRoleScalarWhereWithAggregatesInput[];
|
|
145
|
+
OR?: Prisma.LinkedRoleScalarWhereWithAggregatesInput[];
|
|
146
|
+
NOT?: Prisma.LinkedRoleScalarWhereWithAggregatesInput | Prisma.LinkedRoleScalarWhereWithAggregatesInput[];
|
|
147
|
+
user_id?: Prisma.StringWithAggregatesFilter<"LinkedRole"> | string;
|
|
148
|
+
role_id?: Prisma.StringWithAggregatesFilter<"LinkedRole"> | string;
|
|
149
|
+
};
|
|
150
|
+
export type LinkedRoleCreateInput = {
|
|
151
|
+
user: Prisma.UserCreateNestedOneWithoutLinked_rolesInput;
|
|
152
|
+
role: Prisma.RoleCreateNestedOneWithoutLinked_rolesInput;
|
|
153
|
+
};
|
|
154
|
+
export type LinkedRoleUncheckedCreateInput = {
|
|
155
|
+
user_id: string;
|
|
156
|
+
role_id: string;
|
|
157
|
+
};
|
|
158
|
+
export type LinkedRoleUpdateInput = {
|
|
159
|
+
user?: Prisma.UserUpdateOneRequiredWithoutLinked_rolesNestedInput;
|
|
160
|
+
role?: Prisma.RoleUpdateOneRequiredWithoutLinked_rolesNestedInput;
|
|
161
|
+
};
|
|
162
|
+
export type LinkedRoleUncheckedUpdateInput = {
|
|
163
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
164
|
+
role_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
165
|
+
};
|
|
166
|
+
export type LinkedRoleCreateManyInput = {
|
|
167
|
+
user_id: string;
|
|
168
|
+
role_id: string;
|
|
169
|
+
};
|
|
170
|
+
export type LinkedRoleUpdateManyMutationInput = {};
|
|
171
|
+
export type LinkedRoleUncheckedUpdateManyInput = {
|
|
172
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
173
|
+
role_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
174
|
+
};
|
|
175
|
+
export type LinkedRoleListRelationFilter = {
|
|
176
|
+
every?: Prisma.LinkedRoleWhereInput;
|
|
177
|
+
some?: Prisma.LinkedRoleWhereInput;
|
|
178
|
+
none?: Prisma.LinkedRoleWhereInput;
|
|
179
|
+
};
|
|
180
|
+
export type LinkedRoleOrderByRelationAggregateInput = {
|
|
181
|
+
_count?: Prisma.SortOrder;
|
|
182
|
+
};
|
|
183
|
+
export type LinkedRoleUser_idRole_idCompoundUniqueInput = {
|
|
184
|
+
user_id: string;
|
|
185
|
+
role_id: string;
|
|
186
|
+
};
|
|
187
|
+
export type LinkedRoleCountOrderByAggregateInput = {
|
|
188
|
+
user_id?: Prisma.SortOrder;
|
|
189
|
+
role_id?: Prisma.SortOrder;
|
|
190
|
+
};
|
|
191
|
+
export type LinkedRoleMaxOrderByAggregateInput = {
|
|
192
|
+
user_id?: Prisma.SortOrder;
|
|
193
|
+
role_id?: Prisma.SortOrder;
|
|
194
|
+
};
|
|
195
|
+
export type LinkedRoleMinOrderByAggregateInput = {
|
|
196
|
+
user_id?: Prisma.SortOrder;
|
|
197
|
+
role_id?: Prisma.SortOrder;
|
|
198
|
+
};
|
|
199
|
+
export type LinkedRoleCreateNestedManyWithoutUserInput = {
|
|
200
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput> | Prisma.LinkedRoleCreateWithoutUserInput[] | Prisma.LinkedRoleUncheckedCreateWithoutUserInput[];
|
|
201
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutUserInput | Prisma.LinkedRoleCreateOrConnectWithoutUserInput[];
|
|
202
|
+
createMany?: Prisma.LinkedRoleCreateManyUserInputEnvelope;
|
|
203
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
204
|
+
};
|
|
205
|
+
export type LinkedRoleUncheckedCreateNestedManyWithoutUserInput = {
|
|
206
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput> | Prisma.LinkedRoleCreateWithoutUserInput[] | Prisma.LinkedRoleUncheckedCreateWithoutUserInput[];
|
|
207
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutUserInput | Prisma.LinkedRoleCreateOrConnectWithoutUserInput[];
|
|
208
|
+
createMany?: Prisma.LinkedRoleCreateManyUserInputEnvelope;
|
|
209
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
210
|
+
};
|
|
211
|
+
export type LinkedRoleUpdateManyWithoutUserNestedInput = {
|
|
212
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput> | Prisma.LinkedRoleCreateWithoutUserInput[] | Prisma.LinkedRoleUncheckedCreateWithoutUserInput[];
|
|
213
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutUserInput | Prisma.LinkedRoleCreateOrConnectWithoutUserInput[];
|
|
214
|
+
upsert?: Prisma.LinkedRoleUpsertWithWhereUniqueWithoutUserInput | Prisma.LinkedRoleUpsertWithWhereUniqueWithoutUserInput[];
|
|
215
|
+
createMany?: Prisma.LinkedRoleCreateManyUserInputEnvelope;
|
|
216
|
+
set?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
217
|
+
disconnect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
218
|
+
delete?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
219
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
220
|
+
update?: Prisma.LinkedRoleUpdateWithWhereUniqueWithoutUserInput | Prisma.LinkedRoleUpdateWithWhereUniqueWithoutUserInput[];
|
|
221
|
+
updateMany?: Prisma.LinkedRoleUpdateManyWithWhereWithoutUserInput | Prisma.LinkedRoleUpdateManyWithWhereWithoutUserInput[];
|
|
222
|
+
deleteMany?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
223
|
+
};
|
|
224
|
+
export type LinkedRoleUncheckedUpdateManyWithoutUserNestedInput = {
|
|
225
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput> | Prisma.LinkedRoleCreateWithoutUserInput[] | Prisma.LinkedRoleUncheckedCreateWithoutUserInput[];
|
|
226
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutUserInput | Prisma.LinkedRoleCreateOrConnectWithoutUserInput[];
|
|
227
|
+
upsert?: Prisma.LinkedRoleUpsertWithWhereUniqueWithoutUserInput | Prisma.LinkedRoleUpsertWithWhereUniqueWithoutUserInput[];
|
|
228
|
+
createMany?: Prisma.LinkedRoleCreateManyUserInputEnvelope;
|
|
229
|
+
set?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
230
|
+
disconnect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
231
|
+
delete?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
232
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
233
|
+
update?: Prisma.LinkedRoleUpdateWithWhereUniqueWithoutUserInput | Prisma.LinkedRoleUpdateWithWhereUniqueWithoutUserInput[];
|
|
234
|
+
updateMany?: Prisma.LinkedRoleUpdateManyWithWhereWithoutUserInput | Prisma.LinkedRoleUpdateManyWithWhereWithoutUserInput[];
|
|
235
|
+
deleteMany?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
236
|
+
};
|
|
237
|
+
export type LinkedRoleCreateNestedManyWithoutRoleInput = {
|
|
238
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput> | Prisma.LinkedRoleCreateWithoutRoleInput[] | Prisma.LinkedRoleUncheckedCreateWithoutRoleInput[];
|
|
239
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutRoleInput | Prisma.LinkedRoleCreateOrConnectWithoutRoleInput[];
|
|
240
|
+
createMany?: Prisma.LinkedRoleCreateManyRoleInputEnvelope;
|
|
241
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
242
|
+
};
|
|
243
|
+
export type LinkedRoleUncheckedCreateNestedManyWithoutRoleInput = {
|
|
244
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput> | Prisma.LinkedRoleCreateWithoutRoleInput[] | Prisma.LinkedRoleUncheckedCreateWithoutRoleInput[];
|
|
245
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutRoleInput | Prisma.LinkedRoleCreateOrConnectWithoutRoleInput[];
|
|
246
|
+
createMany?: Prisma.LinkedRoleCreateManyRoleInputEnvelope;
|
|
247
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
248
|
+
};
|
|
249
|
+
export type LinkedRoleUpdateManyWithoutRoleNestedInput = {
|
|
250
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput> | Prisma.LinkedRoleCreateWithoutRoleInput[] | Prisma.LinkedRoleUncheckedCreateWithoutRoleInput[];
|
|
251
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutRoleInput | Prisma.LinkedRoleCreateOrConnectWithoutRoleInput[];
|
|
252
|
+
upsert?: Prisma.LinkedRoleUpsertWithWhereUniqueWithoutRoleInput | Prisma.LinkedRoleUpsertWithWhereUniqueWithoutRoleInput[];
|
|
253
|
+
createMany?: Prisma.LinkedRoleCreateManyRoleInputEnvelope;
|
|
254
|
+
set?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
255
|
+
disconnect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
256
|
+
delete?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
257
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
258
|
+
update?: Prisma.LinkedRoleUpdateWithWhereUniqueWithoutRoleInput | Prisma.LinkedRoleUpdateWithWhereUniqueWithoutRoleInput[];
|
|
259
|
+
updateMany?: Prisma.LinkedRoleUpdateManyWithWhereWithoutRoleInput | Prisma.LinkedRoleUpdateManyWithWhereWithoutRoleInput[];
|
|
260
|
+
deleteMany?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
261
|
+
};
|
|
262
|
+
export type LinkedRoleUncheckedUpdateManyWithoutRoleNestedInput = {
|
|
263
|
+
create?: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput> | Prisma.LinkedRoleCreateWithoutRoleInput[] | Prisma.LinkedRoleUncheckedCreateWithoutRoleInput[];
|
|
264
|
+
connectOrCreate?: Prisma.LinkedRoleCreateOrConnectWithoutRoleInput | Prisma.LinkedRoleCreateOrConnectWithoutRoleInput[];
|
|
265
|
+
upsert?: Prisma.LinkedRoleUpsertWithWhereUniqueWithoutRoleInput | Prisma.LinkedRoleUpsertWithWhereUniqueWithoutRoleInput[];
|
|
266
|
+
createMany?: Prisma.LinkedRoleCreateManyRoleInputEnvelope;
|
|
267
|
+
set?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
268
|
+
disconnect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
269
|
+
delete?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
270
|
+
connect?: Prisma.LinkedRoleWhereUniqueInput | Prisma.LinkedRoleWhereUniqueInput[];
|
|
271
|
+
update?: Prisma.LinkedRoleUpdateWithWhereUniqueWithoutRoleInput | Prisma.LinkedRoleUpdateWithWhereUniqueWithoutRoleInput[];
|
|
272
|
+
updateMany?: Prisma.LinkedRoleUpdateManyWithWhereWithoutRoleInput | Prisma.LinkedRoleUpdateManyWithWhereWithoutRoleInput[];
|
|
273
|
+
deleteMany?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
274
|
+
};
|
|
275
|
+
export type LinkedRoleCreateWithoutUserInput = {
|
|
276
|
+
role: Prisma.RoleCreateNestedOneWithoutLinked_rolesInput;
|
|
277
|
+
};
|
|
278
|
+
export type LinkedRoleUncheckedCreateWithoutUserInput = {
|
|
279
|
+
role_id: string;
|
|
280
|
+
};
|
|
281
|
+
export type LinkedRoleCreateOrConnectWithoutUserInput = {
|
|
282
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
283
|
+
create: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput>;
|
|
284
|
+
};
|
|
285
|
+
export type LinkedRoleCreateManyUserInputEnvelope = {
|
|
286
|
+
data: Prisma.LinkedRoleCreateManyUserInput | Prisma.LinkedRoleCreateManyUserInput[];
|
|
287
|
+
skipDuplicates?: boolean;
|
|
288
|
+
};
|
|
289
|
+
export type LinkedRoleUpsertWithWhereUniqueWithoutUserInput = {
|
|
290
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
291
|
+
update: Prisma.XOR<Prisma.LinkedRoleUpdateWithoutUserInput, Prisma.LinkedRoleUncheckedUpdateWithoutUserInput>;
|
|
292
|
+
create: Prisma.XOR<Prisma.LinkedRoleCreateWithoutUserInput, Prisma.LinkedRoleUncheckedCreateWithoutUserInput>;
|
|
293
|
+
};
|
|
294
|
+
export type LinkedRoleUpdateWithWhereUniqueWithoutUserInput = {
|
|
295
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
296
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateWithoutUserInput, Prisma.LinkedRoleUncheckedUpdateWithoutUserInput>;
|
|
297
|
+
};
|
|
298
|
+
export type LinkedRoleUpdateManyWithWhereWithoutUserInput = {
|
|
299
|
+
where: Prisma.LinkedRoleScalarWhereInput;
|
|
300
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateManyMutationInput, Prisma.LinkedRoleUncheckedUpdateManyWithoutUserInput>;
|
|
301
|
+
};
|
|
302
|
+
export type LinkedRoleScalarWhereInput = {
|
|
303
|
+
AND?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
304
|
+
OR?: Prisma.LinkedRoleScalarWhereInput[];
|
|
305
|
+
NOT?: Prisma.LinkedRoleScalarWhereInput | Prisma.LinkedRoleScalarWhereInput[];
|
|
306
|
+
user_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
307
|
+
role_id?: Prisma.StringFilter<"LinkedRole"> | string;
|
|
308
|
+
};
|
|
309
|
+
export type LinkedRoleCreateWithoutRoleInput = {
|
|
310
|
+
user: Prisma.UserCreateNestedOneWithoutLinked_rolesInput;
|
|
311
|
+
};
|
|
312
|
+
export type LinkedRoleUncheckedCreateWithoutRoleInput = {
|
|
313
|
+
user_id: string;
|
|
314
|
+
};
|
|
315
|
+
export type LinkedRoleCreateOrConnectWithoutRoleInput = {
|
|
316
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
317
|
+
create: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput>;
|
|
318
|
+
};
|
|
319
|
+
export type LinkedRoleCreateManyRoleInputEnvelope = {
|
|
320
|
+
data: Prisma.LinkedRoleCreateManyRoleInput | Prisma.LinkedRoleCreateManyRoleInput[];
|
|
321
|
+
skipDuplicates?: boolean;
|
|
322
|
+
};
|
|
323
|
+
export type LinkedRoleUpsertWithWhereUniqueWithoutRoleInput = {
|
|
324
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
325
|
+
update: Prisma.XOR<Prisma.LinkedRoleUpdateWithoutRoleInput, Prisma.LinkedRoleUncheckedUpdateWithoutRoleInput>;
|
|
326
|
+
create: Prisma.XOR<Prisma.LinkedRoleCreateWithoutRoleInput, Prisma.LinkedRoleUncheckedCreateWithoutRoleInput>;
|
|
327
|
+
};
|
|
328
|
+
export type LinkedRoleUpdateWithWhereUniqueWithoutRoleInput = {
|
|
329
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
330
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateWithoutRoleInput, Prisma.LinkedRoleUncheckedUpdateWithoutRoleInput>;
|
|
331
|
+
};
|
|
332
|
+
export type LinkedRoleUpdateManyWithWhereWithoutRoleInput = {
|
|
333
|
+
where: Prisma.LinkedRoleScalarWhereInput;
|
|
334
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateManyMutationInput, Prisma.LinkedRoleUncheckedUpdateManyWithoutRoleInput>;
|
|
335
|
+
};
|
|
336
|
+
export type LinkedRoleCreateManyUserInput = {
|
|
337
|
+
role_id: string;
|
|
338
|
+
};
|
|
339
|
+
export type LinkedRoleUpdateWithoutUserInput = {
|
|
340
|
+
role?: Prisma.RoleUpdateOneRequiredWithoutLinked_rolesNestedInput;
|
|
341
|
+
};
|
|
342
|
+
export type LinkedRoleUncheckedUpdateWithoutUserInput = {
|
|
343
|
+
role_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
344
|
+
};
|
|
345
|
+
export type LinkedRoleUncheckedUpdateManyWithoutUserInput = {
|
|
346
|
+
role_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
347
|
+
};
|
|
348
|
+
export type LinkedRoleCreateManyRoleInput = {
|
|
349
|
+
user_id: string;
|
|
350
|
+
};
|
|
351
|
+
export type LinkedRoleUpdateWithoutRoleInput = {
|
|
352
|
+
user?: Prisma.UserUpdateOneRequiredWithoutLinked_rolesNestedInput;
|
|
353
|
+
};
|
|
354
|
+
export type LinkedRoleUncheckedUpdateWithoutRoleInput = {
|
|
355
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
};
|
|
357
|
+
export type LinkedRoleUncheckedUpdateManyWithoutRoleInput = {
|
|
358
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
359
|
+
};
|
|
360
|
+
export type LinkedRoleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
361
|
+
user_id?: boolean;
|
|
362
|
+
role_id?: boolean;
|
|
363
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
364
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
365
|
+
}, ExtArgs["result"]["linkedRole"]>;
|
|
366
|
+
export type LinkedRoleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
367
|
+
user_id?: boolean;
|
|
368
|
+
role_id?: boolean;
|
|
369
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
370
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
371
|
+
}, ExtArgs["result"]["linkedRole"]>;
|
|
372
|
+
export type LinkedRoleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
373
|
+
user_id?: boolean;
|
|
374
|
+
role_id?: boolean;
|
|
375
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
376
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
377
|
+
}, ExtArgs["result"]["linkedRole"]>;
|
|
378
|
+
export type LinkedRoleSelectScalar = {
|
|
379
|
+
user_id?: boolean;
|
|
380
|
+
role_id?: boolean;
|
|
381
|
+
};
|
|
382
|
+
export type LinkedRoleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"user_id" | "role_id", ExtArgs["result"]["linkedRole"]>;
|
|
383
|
+
export type LinkedRoleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
384
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
385
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
386
|
+
};
|
|
387
|
+
export type LinkedRoleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
388
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
389
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
390
|
+
};
|
|
391
|
+
export type LinkedRoleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
392
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
393
|
+
role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>;
|
|
394
|
+
};
|
|
395
|
+
export type $LinkedRolePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
396
|
+
name: "LinkedRole";
|
|
397
|
+
objects: {
|
|
398
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
399
|
+
role: Prisma.$RolePayload<ExtArgs>;
|
|
400
|
+
};
|
|
401
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
402
|
+
user_id: string;
|
|
403
|
+
role_id: string;
|
|
404
|
+
}, ExtArgs["result"]["linkedRole"]>;
|
|
405
|
+
composites: {};
|
|
406
|
+
};
|
|
407
|
+
export type LinkedRoleGetPayload<S extends boolean | null | undefined | LinkedRoleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload, S>;
|
|
408
|
+
export type LinkedRoleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<LinkedRoleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
409
|
+
select?: LinkedRoleCountAggregateInputType | true;
|
|
410
|
+
};
|
|
411
|
+
export interface LinkedRoleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
412
|
+
[K: symbol]: {
|
|
413
|
+
types: Prisma.TypeMap<ExtArgs>['model']['LinkedRole'];
|
|
414
|
+
meta: {
|
|
415
|
+
name: 'LinkedRole';
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
/**
|
|
419
|
+
* Find zero or one LinkedRole that matches the filter.
|
|
420
|
+
* @param {LinkedRoleFindUniqueArgs} args - Arguments to find a LinkedRole
|
|
421
|
+
* @example
|
|
422
|
+
* // Get one LinkedRole
|
|
423
|
+
* const linkedRole = await prisma.linkedRole.findUnique({
|
|
424
|
+
* where: {
|
|
425
|
+
* // ... provide filter here
|
|
426
|
+
* }
|
|
427
|
+
* })
|
|
428
|
+
*/
|
|
429
|
+
findUnique<T extends LinkedRoleFindUniqueArgs>(args: Prisma.SelectSubset<T, LinkedRoleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
430
|
+
/**
|
|
431
|
+
* Find one LinkedRole that matches the filter or throw an error with `error.code='P2025'`
|
|
432
|
+
* if no matches were found.
|
|
433
|
+
* @param {LinkedRoleFindUniqueOrThrowArgs} args - Arguments to find a LinkedRole
|
|
434
|
+
* @example
|
|
435
|
+
* // Get one LinkedRole
|
|
436
|
+
* const linkedRole = await prisma.linkedRole.findUniqueOrThrow({
|
|
437
|
+
* where: {
|
|
438
|
+
* // ... provide filter here
|
|
439
|
+
* }
|
|
440
|
+
* })
|
|
441
|
+
*/
|
|
442
|
+
findUniqueOrThrow<T extends LinkedRoleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LinkedRoleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
443
|
+
/**
|
|
444
|
+
* Find the first LinkedRole that matches the filter.
|
|
445
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
446
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
447
|
+
* @param {LinkedRoleFindFirstArgs} args - Arguments to find a LinkedRole
|
|
448
|
+
* @example
|
|
449
|
+
* // Get one LinkedRole
|
|
450
|
+
* const linkedRole = await prisma.linkedRole.findFirst({
|
|
451
|
+
* where: {
|
|
452
|
+
* // ... provide filter here
|
|
453
|
+
* }
|
|
454
|
+
* })
|
|
455
|
+
*/
|
|
456
|
+
findFirst<T extends LinkedRoleFindFirstArgs>(args?: Prisma.SelectSubset<T, LinkedRoleFindFirstArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
457
|
+
/**
|
|
458
|
+
* Find the first LinkedRole that matches the filter or
|
|
459
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
460
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
461
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
462
|
+
* @param {LinkedRoleFindFirstOrThrowArgs} args - Arguments to find a LinkedRole
|
|
463
|
+
* @example
|
|
464
|
+
* // Get one LinkedRole
|
|
465
|
+
* const linkedRole = await prisma.linkedRole.findFirstOrThrow({
|
|
466
|
+
* where: {
|
|
467
|
+
* // ... provide filter here
|
|
468
|
+
* }
|
|
469
|
+
* })
|
|
470
|
+
*/
|
|
471
|
+
findFirstOrThrow<T extends LinkedRoleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LinkedRoleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
472
|
+
/**
|
|
473
|
+
* Find zero or more LinkedRoles that matches the filter.
|
|
474
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
475
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
476
|
+
* @param {LinkedRoleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
477
|
+
* @example
|
|
478
|
+
* // Get all LinkedRoles
|
|
479
|
+
* const linkedRoles = await prisma.linkedRole.findMany()
|
|
480
|
+
*
|
|
481
|
+
* // Get first 10 LinkedRoles
|
|
482
|
+
* const linkedRoles = await prisma.linkedRole.findMany({ take: 10 })
|
|
483
|
+
*
|
|
484
|
+
* // Only select the `user_id`
|
|
485
|
+
* const linkedRoleWithUser_idOnly = await prisma.linkedRole.findMany({ select: { user_id: true } })
|
|
486
|
+
*
|
|
487
|
+
*/
|
|
488
|
+
findMany<T extends LinkedRoleFindManyArgs>(args?: Prisma.SelectSubset<T, LinkedRoleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
489
|
+
/**
|
|
490
|
+
* Create a LinkedRole.
|
|
491
|
+
* @param {LinkedRoleCreateArgs} args - Arguments to create a LinkedRole.
|
|
492
|
+
* @example
|
|
493
|
+
* // Create one LinkedRole
|
|
494
|
+
* const LinkedRole = await prisma.linkedRole.create({
|
|
495
|
+
* data: {
|
|
496
|
+
* // ... data to create a LinkedRole
|
|
497
|
+
* }
|
|
498
|
+
* })
|
|
499
|
+
*
|
|
500
|
+
*/
|
|
501
|
+
create<T extends LinkedRoleCreateArgs>(args: Prisma.SelectSubset<T, LinkedRoleCreateArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
502
|
+
/**
|
|
503
|
+
* Create many LinkedRoles.
|
|
504
|
+
* @param {LinkedRoleCreateManyArgs} args - Arguments to create many LinkedRoles.
|
|
505
|
+
* @example
|
|
506
|
+
* // Create many LinkedRoles
|
|
507
|
+
* const linkedRole = await prisma.linkedRole.createMany({
|
|
508
|
+
* data: [
|
|
509
|
+
* // ... provide data here
|
|
510
|
+
* ]
|
|
511
|
+
* })
|
|
512
|
+
*
|
|
513
|
+
*/
|
|
514
|
+
createMany<T extends LinkedRoleCreateManyArgs>(args?: Prisma.SelectSubset<T, LinkedRoleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
515
|
+
/**
|
|
516
|
+
* Create many LinkedRoles and returns the data saved in the database.
|
|
517
|
+
* @param {LinkedRoleCreateManyAndReturnArgs} args - Arguments to create many LinkedRoles.
|
|
518
|
+
* @example
|
|
519
|
+
* // Create many LinkedRoles
|
|
520
|
+
* const linkedRole = await prisma.linkedRole.createManyAndReturn({
|
|
521
|
+
* data: [
|
|
522
|
+
* // ... provide data here
|
|
523
|
+
* ]
|
|
524
|
+
* })
|
|
525
|
+
*
|
|
526
|
+
* // Create many LinkedRoles and only return the `user_id`
|
|
527
|
+
* const linkedRoleWithUser_idOnly = await prisma.linkedRole.createManyAndReturn({
|
|
528
|
+
* select: { user_id: true },
|
|
529
|
+
* data: [
|
|
530
|
+
* // ... provide data here
|
|
531
|
+
* ]
|
|
532
|
+
* })
|
|
533
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
534
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
535
|
+
*
|
|
536
|
+
*/
|
|
537
|
+
createManyAndReturn<T extends LinkedRoleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LinkedRoleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
538
|
+
/**
|
|
539
|
+
* Delete a LinkedRole.
|
|
540
|
+
* @param {LinkedRoleDeleteArgs} args - Arguments to delete one LinkedRole.
|
|
541
|
+
* @example
|
|
542
|
+
* // Delete one LinkedRole
|
|
543
|
+
* const LinkedRole = await prisma.linkedRole.delete({
|
|
544
|
+
* where: {
|
|
545
|
+
* // ... filter to delete one LinkedRole
|
|
546
|
+
* }
|
|
547
|
+
* })
|
|
548
|
+
*
|
|
549
|
+
*/
|
|
550
|
+
delete<T extends LinkedRoleDeleteArgs>(args: Prisma.SelectSubset<T, LinkedRoleDeleteArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
551
|
+
/**
|
|
552
|
+
* Update one LinkedRole.
|
|
553
|
+
* @param {LinkedRoleUpdateArgs} args - Arguments to update one LinkedRole.
|
|
554
|
+
* @example
|
|
555
|
+
* // Update one LinkedRole
|
|
556
|
+
* const linkedRole = await prisma.linkedRole.update({
|
|
557
|
+
* where: {
|
|
558
|
+
* // ... provide filter here
|
|
559
|
+
* },
|
|
560
|
+
* data: {
|
|
561
|
+
* // ... provide data here
|
|
562
|
+
* }
|
|
563
|
+
* })
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
566
|
+
update<T extends LinkedRoleUpdateArgs>(args: Prisma.SelectSubset<T, LinkedRoleUpdateArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
567
|
+
/**
|
|
568
|
+
* Delete zero or more LinkedRoles.
|
|
569
|
+
* @param {LinkedRoleDeleteManyArgs} args - Arguments to filter LinkedRoles to delete.
|
|
570
|
+
* @example
|
|
571
|
+
* // Delete a few LinkedRoles
|
|
572
|
+
* const { count } = await prisma.linkedRole.deleteMany({
|
|
573
|
+
* where: {
|
|
574
|
+
* // ... provide filter here
|
|
575
|
+
* }
|
|
576
|
+
* })
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
deleteMany<T extends LinkedRoleDeleteManyArgs>(args?: Prisma.SelectSubset<T, LinkedRoleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
580
|
+
/**
|
|
581
|
+
* Update zero or more LinkedRoles.
|
|
582
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
583
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
584
|
+
* @param {LinkedRoleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
585
|
+
* @example
|
|
586
|
+
* // Update many LinkedRoles
|
|
587
|
+
* const linkedRole = await prisma.linkedRole.updateMany({
|
|
588
|
+
* where: {
|
|
589
|
+
* // ... provide filter here
|
|
590
|
+
* },
|
|
591
|
+
* data: {
|
|
592
|
+
* // ... provide data here
|
|
593
|
+
* }
|
|
594
|
+
* })
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
updateMany<T extends LinkedRoleUpdateManyArgs>(args: Prisma.SelectSubset<T, LinkedRoleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
598
|
+
/**
|
|
599
|
+
* Update zero or more LinkedRoles and returns the data updated in the database.
|
|
600
|
+
* @param {LinkedRoleUpdateManyAndReturnArgs} args - Arguments to update many LinkedRoles.
|
|
601
|
+
* @example
|
|
602
|
+
* // Update many LinkedRoles
|
|
603
|
+
* const linkedRole = await prisma.linkedRole.updateManyAndReturn({
|
|
604
|
+
* where: {
|
|
605
|
+
* // ... provide filter here
|
|
606
|
+
* },
|
|
607
|
+
* data: [
|
|
608
|
+
* // ... provide data here
|
|
609
|
+
* ]
|
|
610
|
+
* })
|
|
611
|
+
*
|
|
612
|
+
* // Update zero or more LinkedRoles and only return the `user_id`
|
|
613
|
+
* const linkedRoleWithUser_idOnly = await prisma.linkedRole.updateManyAndReturn({
|
|
614
|
+
* select: { user_id: true },
|
|
615
|
+
* where: {
|
|
616
|
+
* // ... provide filter here
|
|
617
|
+
* },
|
|
618
|
+
* data: [
|
|
619
|
+
* // ... provide data here
|
|
620
|
+
* ]
|
|
621
|
+
* })
|
|
622
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
623
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
624
|
+
*
|
|
625
|
+
*/
|
|
626
|
+
updateManyAndReturn<T extends LinkedRoleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LinkedRoleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
627
|
+
/**
|
|
628
|
+
* Create or update one LinkedRole.
|
|
629
|
+
* @param {LinkedRoleUpsertArgs} args - Arguments to update or create a LinkedRole.
|
|
630
|
+
* @example
|
|
631
|
+
* // Update or create a LinkedRole
|
|
632
|
+
* const linkedRole = await prisma.linkedRole.upsert({
|
|
633
|
+
* create: {
|
|
634
|
+
* // ... data to create a LinkedRole
|
|
635
|
+
* },
|
|
636
|
+
* update: {
|
|
637
|
+
* // ... in case it already exists, update
|
|
638
|
+
* },
|
|
639
|
+
* where: {
|
|
640
|
+
* // ... the filter for the LinkedRole we want to update
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*/
|
|
644
|
+
upsert<T extends LinkedRoleUpsertArgs>(args: Prisma.SelectSubset<T, LinkedRoleUpsertArgs<ExtArgs>>): Prisma.Prisma__LinkedRoleClient<runtime.Types.Result.GetResult<Prisma.$LinkedRolePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
645
|
+
/**
|
|
646
|
+
* Count the number of LinkedRoles.
|
|
647
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
648
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
649
|
+
* @param {LinkedRoleCountArgs} args - Arguments to filter LinkedRoles to count.
|
|
650
|
+
* @example
|
|
651
|
+
* // Count the number of LinkedRoles
|
|
652
|
+
* const count = await prisma.linkedRole.count({
|
|
653
|
+
* where: {
|
|
654
|
+
* // ... the filter for the LinkedRoles we want to count
|
|
655
|
+
* }
|
|
656
|
+
* })
|
|
657
|
+
**/
|
|
658
|
+
count<T extends LinkedRoleCountArgs>(args?: Prisma.Subset<T, LinkedRoleCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], LinkedRoleCountAggregateOutputType> : number>;
|
|
659
|
+
/**
|
|
660
|
+
* Allows you to perform aggregations operations on a LinkedRole.
|
|
661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
663
|
+
* @param {LinkedRoleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
664
|
+
* @example
|
|
665
|
+
* // Ordered by age ascending
|
|
666
|
+
* // Where email contains prisma.io
|
|
667
|
+
* // Limited to the 10 users
|
|
668
|
+
* const aggregations = await prisma.user.aggregate({
|
|
669
|
+
* _avg: {
|
|
670
|
+
* age: true,
|
|
671
|
+
* },
|
|
672
|
+
* where: {
|
|
673
|
+
* email: {
|
|
674
|
+
* contains: "prisma.io",
|
|
675
|
+
* },
|
|
676
|
+
* },
|
|
677
|
+
* orderBy: {
|
|
678
|
+
* age: "asc",
|
|
679
|
+
* },
|
|
680
|
+
* take: 10,
|
|
681
|
+
* })
|
|
682
|
+
**/
|
|
683
|
+
aggregate<T extends LinkedRoleAggregateArgs>(args: Prisma.Subset<T, LinkedRoleAggregateArgs>): Prisma.PrismaPromise<GetLinkedRoleAggregateType<T>>;
|
|
684
|
+
/**
|
|
685
|
+
* Group by LinkedRole.
|
|
686
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
+
* @param {LinkedRoleGroupByArgs} args - Group by arguments.
|
|
689
|
+
* @example
|
|
690
|
+
* // Group by city, order by createdAt, get count
|
|
691
|
+
* const result = await prisma.user.groupBy({
|
|
692
|
+
* by: ['city', 'createdAt'],
|
|
693
|
+
* orderBy: {
|
|
694
|
+
* createdAt: true
|
|
695
|
+
* },
|
|
696
|
+
* _count: {
|
|
697
|
+
* _all: true
|
|
698
|
+
* },
|
|
699
|
+
* })
|
|
700
|
+
*
|
|
701
|
+
**/
|
|
702
|
+
groupBy<T extends LinkedRoleGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
703
|
+
orderBy: LinkedRoleGroupByArgs['orderBy'];
|
|
704
|
+
} : {
|
|
705
|
+
orderBy?: LinkedRoleGroupByArgs['orderBy'];
|
|
706
|
+
}, 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 ? {
|
|
707
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
708
|
+
Error,
|
|
709
|
+
'Field ',
|
|
710
|
+
P,
|
|
711
|
+
` in "having" needs to be provided in "by"`
|
|
712
|
+
];
|
|
713
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
714
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
715
|
+
}[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 ? {} : {
|
|
716
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
717
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
718
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
719
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, LinkedRoleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLinkedRoleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
720
|
+
/**
|
|
721
|
+
* Fields of the LinkedRole model
|
|
722
|
+
*/
|
|
723
|
+
readonly fields: LinkedRoleFieldRefs;
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* The delegate class that acts as a "Promise-like" for LinkedRole.
|
|
727
|
+
* Why is this prefixed with `Prisma__`?
|
|
728
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
729
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
730
|
+
*/
|
|
731
|
+
export interface Prisma__LinkedRoleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
732
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
733
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
734
|
+
role<T extends Prisma.RoleDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RoleDefaultArgs<ExtArgs>>): Prisma.Prisma__RoleClient<runtime.Types.Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
735
|
+
/**
|
|
736
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
737
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
738
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
739
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
740
|
+
*/
|
|
741
|
+
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>;
|
|
742
|
+
/**
|
|
743
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
744
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
745
|
+
* @returns A Promise for the completion of the callback.
|
|
746
|
+
*/
|
|
747
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
748
|
+
/**
|
|
749
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
750
|
+
* resolved value cannot be modified from the callback.
|
|
751
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
752
|
+
* @returns A Promise for the completion of the callback.
|
|
753
|
+
*/
|
|
754
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
755
|
+
}
|
|
756
|
+
/**
|
|
757
|
+
* Fields of the LinkedRole model
|
|
758
|
+
*/
|
|
759
|
+
export interface LinkedRoleFieldRefs {
|
|
760
|
+
readonly user_id: Prisma.FieldRef<"LinkedRole", 'String'>;
|
|
761
|
+
readonly role_id: Prisma.FieldRef<"LinkedRole", 'String'>;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* LinkedRole findUnique
|
|
765
|
+
*/
|
|
766
|
+
export type LinkedRoleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
767
|
+
/**
|
|
768
|
+
* Select specific fields to fetch from the LinkedRole
|
|
769
|
+
*/
|
|
770
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
771
|
+
/**
|
|
772
|
+
* Omit specific fields from the LinkedRole
|
|
773
|
+
*/
|
|
774
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
775
|
+
/**
|
|
776
|
+
* Choose, which related nodes to fetch as well
|
|
777
|
+
*/
|
|
778
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
779
|
+
/**
|
|
780
|
+
* Filter, which LinkedRole to fetch.
|
|
781
|
+
*/
|
|
782
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
783
|
+
};
|
|
784
|
+
/**
|
|
785
|
+
* LinkedRole findUniqueOrThrow
|
|
786
|
+
*/
|
|
787
|
+
export type LinkedRoleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
788
|
+
/**
|
|
789
|
+
* Select specific fields to fetch from the LinkedRole
|
|
790
|
+
*/
|
|
791
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
792
|
+
/**
|
|
793
|
+
* Omit specific fields from the LinkedRole
|
|
794
|
+
*/
|
|
795
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
796
|
+
/**
|
|
797
|
+
* Choose, which related nodes to fetch as well
|
|
798
|
+
*/
|
|
799
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
800
|
+
/**
|
|
801
|
+
* Filter, which LinkedRole to fetch.
|
|
802
|
+
*/
|
|
803
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
804
|
+
};
|
|
805
|
+
/**
|
|
806
|
+
* LinkedRole findFirst
|
|
807
|
+
*/
|
|
808
|
+
export type LinkedRoleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
809
|
+
/**
|
|
810
|
+
* Select specific fields to fetch from the LinkedRole
|
|
811
|
+
*/
|
|
812
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
813
|
+
/**
|
|
814
|
+
* Omit specific fields from the LinkedRole
|
|
815
|
+
*/
|
|
816
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
817
|
+
/**
|
|
818
|
+
* Choose, which related nodes to fetch as well
|
|
819
|
+
*/
|
|
820
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
821
|
+
/**
|
|
822
|
+
* Filter, which LinkedRole to fetch.
|
|
823
|
+
*/
|
|
824
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
827
|
+
*
|
|
828
|
+
* Determine the order of LinkedRoles to fetch.
|
|
829
|
+
*/
|
|
830
|
+
orderBy?: Prisma.LinkedRoleOrderByWithRelationInput | Prisma.LinkedRoleOrderByWithRelationInput[];
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
833
|
+
*
|
|
834
|
+
* Sets the position for searching for LinkedRoles.
|
|
835
|
+
*/
|
|
836
|
+
cursor?: Prisma.LinkedRoleWhereUniqueInput;
|
|
837
|
+
/**
|
|
838
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
839
|
+
*
|
|
840
|
+
* Take `±n` LinkedRoles from the position of the cursor.
|
|
841
|
+
*/
|
|
842
|
+
take?: number;
|
|
843
|
+
/**
|
|
844
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
845
|
+
*
|
|
846
|
+
* Skip the first `n` LinkedRoles.
|
|
847
|
+
*/
|
|
848
|
+
skip?: number;
|
|
849
|
+
/**
|
|
850
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
851
|
+
*
|
|
852
|
+
* Filter by unique combinations of LinkedRoles.
|
|
853
|
+
*/
|
|
854
|
+
distinct?: Prisma.LinkedRoleScalarFieldEnum | Prisma.LinkedRoleScalarFieldEnum[];
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* LinkedRole findFirstOrThrow
|
|
858
|
+
*/
|
|
859
|
+
export type LinkedRoleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
860
|
+
/**
|
|
861
|
+
* Select specific fields to fetch from the LinkedRole
|
|
862
|
+
*/
|
|
863
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
864
|
+
/**
|
|
865
|
+
* Omit specific fields from the LinkedRole
|
|
866
|
+
*/
|
|
867
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
868
|
+
/**
|
|
869
|
+
* Choose, which related nodes to fetch as well
|
|
870
|
+
*/
|
|
871
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which LinkedRole to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
878
|
+
*
|
|
879
|
+
* Determine the order of LinkedRoles to fetch.
|
|
880
|
+
*/
|
|
881
|
+
orderBy?: Prisma.LinkedRoleOrderByWithRelationInput | Prisma.LinkedRoleOrderByWithRelationInput[];
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
884
|
+
*
|
|
885
|
+
* Sets the position for searching for LinkedRoles.
|
|
886
|
+
*/
|
|
887
|
+
cursor?: Prisma.LinkedRoleWhereUniqueInput;
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
+
*
|
|
891
|
+
* Take `±n` LinkedRoles from the position of the cursor.
|
|
892
|
+
*/
|
|
893
|
+
take?: number;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Skip the first `n` LinkedRoles.
|
|
898
|
+
*/
|
|
899
|
+
skip?: number;
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
902
|
+
*
|
|
903
|
+
* Filter by unique combinations of LinkedRoles.
|
|
904
|
+
*/
|
|
905
|
+
distinct?: Prisma.LinkedRoleScalarFieldEnum | Prisma.LinkedRoleScalarFieldEnum[];
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* LinkedRole findMany
|
|
909
|
+
*/
|
|
910
|
+
export type LinkedRoleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
911
|
+
/**
|
|
912
|
+
* Select specific fields to fetch from the LinkedRole
|
|
913
|
+
*/
|
|
914
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Omit specific fields from the LinkedRole
|
|
917
|
+
*/
|
|
918
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Choose, which related nodes to fetch as well
|
|
921
|
+
*/
|
|
922
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
923
|
+
/**
|
|
924
|
+
* Filter, which LinkedRoles to fetch.
|
|
925
|
+
*/
|
|
926
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
929
|
+
*
|
|
930
|
+
* Determine the order of LinkedRoles to fetch.
|
|
931
|
+
*/
|
|
932
|
+
orderBy?: Prisma.LinkedRoleOrderByWithRelationInput | Prisma.LinkedRoleOrderByWithRelationInput[];
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
935
|
+
*
|
|
936
|
+
* Sets the position for listing LinkedRoles.
|
|
937
|
+
*/
|
|
938
|
+
cursor?: Prisma.LinkedRoleWhereUniqueInput;
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
941
|
+
*
|
|
942
|
+
* Take `±n` LinkedRoles from the position of the cursor.
|
|
943
|
+
*/
|
|
944
|
+
take?: number;
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
947
|
+
*
|
|
948
|
+
* Skip the first `n` LinkedRoles.
|
|
949
|
+
*/
|
|
950
|
+
skip?: number;
|
|
951
|
+
/**
|
|
952
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
953
|
+
*
|
|
954
|
+
* Filter by unique combinations of LinkedRoles.
|
|
955
|
+
*/
|
|
956
|
+
distinct?: Prisma.LinkedRoleScalarFieldEnum | Prisma.LinkedRoleScalarFieldEnum[];
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* LinkedRole create
|
|
960
|
+
*/
|
|
961
|
+
export type LinkedRoleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
962
|
+
/**
|
|
963
|
+
* Select specific fields to fetch from the LinkedRole
|
|
964
|
+
*/
|
|
965
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Omit specific fields from the LinkedRole
|
|
968
|
+
*/
|
|
969
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
970
|
+
/**
|
|
971
|
+
* Choose, which related nodes to fetch as well
|
|
972
|
+
*/
|
|
973
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
974
|
+
/**
|
|
975
|
+
* The data needed to create a LinkedRole.
|
|
976
|
+
*/
|
|
977
|
+
data: Prisma.XOR<Prisma.LinkedRoleCreateInput, Prisma.LinkedRoleUncheckedCreateInput>;
|
|
978
|
+
};
|
|
979
|
+
/**
|
|
980
|
+
* LinkedRole createMany
|
|
981
|
+
*/
|
|
982
|
+
export type LinkedRoleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
+
/**
|
|
984
|
+
* The data used to create many LinkedRoles.
|
|
985
|
+
*/
|
|
986
|
+
data: Prisma.LinkedRoleCreateManyInput | Prisma.LinkedRoleCreateManyInput[];
|
|
987
|
+
skipDuplicates?: boolean;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* LinkedRole createManyAndReturn
|
|
991
|
+
*/
|
|
992
|
+
export type LinkedRoleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the LinkedRole
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.LinkedRoleSelectCreateManyAndReturn<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the LinkedRole
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* The data used to create many LinkedRoles.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.LinkedRoleCreateManyInput | Prisma.LinkedRoleCreateManyInput[];
|
|
1005
|
+
skipDuplicates?: boolean;
|
|
1006
|
+
/**
|
|
1007
|
+
* Choose, which related nodes to fetch as well
|
|
1008
|
+
*/
|
|
1009
|
+
include?: Prisma.LinkedRoleIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* LinkedRole update
|
|
1013
|
+
*/
|
|
1014
|
+
export type LinkedRoleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Select specific fields to fetch from the LinkedRole
|
|
1017
|
+
*/
|
|
1018
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Omit specific fields from the LinkedRole
|
|
1021
|
+
*/
|
|
1022
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Choose, which related nodes to fetch as well
|
|
1025
|
+
*/
|
|
1026
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* The data needed to update a LinkedRole.
|
|
1029
|
+
*/
|
|
1030
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateInput, Prisma.LinkedRoleUncheckedUpdateInput>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Choose, which LinkedRole to update.
|
|
1033
|
+
*/
|
|
1034
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* LinkedRole updateMany
|
|
1038
|
+
*/
|
|
1039
|
+
export type LinkedRoleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* The data used to update LinkedRoles.
|
|
1042
|
+
*/
|
|
1043
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateManyMutationInput, Prisma.LinkedRoleUncheckedUpdateManyInput>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Filter which LinkedRoles to update
|
|
1046
|
+
*/
|
|
1047
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
1048
|
+
/**
|
|
1049
|
+
* Limit how many LinkedRoles to update.
|
|
1050
|
+
*/
|
|
1051
|
+
limit?: number;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* LinkedRole updateManyAndReturn
|
|
1055
|
+
*/
|
|
1056
|
+
export type LinkedRoleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Select specific fields to fetch from the LinkedRole
|
|
1059
|
+
*/
|
|
1060
|
+
select?: Prisma.LinkedRoleSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* Omit specific fields from the LinkedRole
|
|
1063
|
+
*/
|
|
1064
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* The data used to update LinkedRoles.
|
|
1067
|
+
*/
|
|
1068
|
+
data: Prisma.XOR<Prisma.LinkedRoleUpdateManyMutationInput, Prisma.LinkedRoleUncheckedUpdateManyInput>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Filter which LinkedRoles to update
|
|
1071
|
+
*/
|
|
1072
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
1073
|
+
/**
|
|
1074
|
+
* Limit how many LinkedRoles to update.
|
|
1075
|
+
*/
|
|
1076
|
+
limit?: number;
|
|
1077
|
+
/**
|
|
1078
|
+
* Choose, which related nodes to fetch as well
|
|
1079
|
+
*/
|
|
1080
|
+
include?: Prisma.LinkedRoleIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1081
|
+
};
|
|
1082
|
+
/**
|
|
1083
|
+
* LinkedRole upsert
|
|
1084
|
+
*/
|
|
1085
|
+
export type LinkedRoleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1086
|
+
/**
|
|
1087
|
+
* Select specific fields to fetch from the LinkedRole
|
|
1088
|
+
*/
|
|
1089
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
1090
|
+
/**
|
|
1091
|
+
* Omit specific fields from the LinkedRole
|
|
1092
|
+
*/
|
|
1093
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1094
|
+
/**
|
|
1095
|
+
* Choose, which related nodes to fetch as well
|
|
1096
|
+
*/
|
|
1097
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* The filter to search for the LinkedRole to update in case it exists.
|
|
1100
|
+
*/
|
|
1101
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
1102
|
+
/**
|
|
1103
|
+
* In case the LinkedRole found by the `where` argument doesn't exist, create a new LinkedRole with this data.
|
|
1104
|
+
*/
|
|
1105
|
+
create: Prisma.XOR<Prisma.LinkedRoleCreateInput, Prisma.LinkedRoleUncheckedCreateInput>;
|
|
1106
|
+
/**
|
|
1107
|
+
* In case the LinkedRole was found with the provided `where` argument, update it with this data.
|
|
1108
|
+
*/
|
|
1109
|
+
update: Prisma.XOR<Prisma.LinkedRoleUpdateInput, Prisma.LinkedRoleUncheckedUpdateInput>;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* LinkedRole delete
|
|
1113
|
+
*/
|
|
1114
|
+
export type LinkedRoleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1115
|
+
/**
|
|
1116
|
+
* Select specific fields to fetch from the LinkedRole
|
|
1117
|
+
*/
|
|
1118
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
1119
|
+
/**
|
|
1120
|
+
* Omit specific fields from the LinkedRole
|
|
1121
|
+
*/
|
|
1122
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1123
|
+
/**
|
|
1124
|
+
* Choose, which related nodes to fetch as well
|
|
1125
|
+
*/
|
|
1126
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Filter which LinkedRole to delete.
|
|
1129
|
+
*/
|
|
1130
|
+
where: Prisma.LinkedRoleWhereUniqueInput;
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* LinkedRole deleteMany
|
|
1134
|
+
*/
|
|
1135
|
+
export type LinkedRoleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Filter which LinkedRoles to delete
|
|
1138
|
+
*/
|
|
1139
|
+
where?: Prisma.LinkedRoleWhereInput;
|
|
1140
|
+
/**
|
|
1141
|
+
* Limit how many LinkedRoles to delete.
|
|
1142
|
+
*/
|
|
1143
|
+
limit?: number;
|
|
1144
|
+
};
|
|
1145
|
+
/**
|
|
1146
|
+
* LinkedRole without action
|
|
1147
|
+
*/
|
|
1148
|
+
export type LinkedRoleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1149
|
+
/**
|
|
1150
|
+
* Select specific fields to fetch from the LinkedRole
|
|
1151
|
+
*/
|
|
1152
|
+
select?: Prisma.LinkedRoleSelect<ExtArgs> | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* Omit specific fields from the LinkedRole
|
|
1155
|
+
*/
|
|
1156
|
+
omit?: Prisma.LinkedRoleOmit<ExtArgs> | null;
|
|
1157
|
+
/**
|
|
1158
|
+
* Choose, which related nodes to fetch as well
|
|
1159
|
+
*/
|
|
1160
|
+
include?: Prisma.LinkedRoleInclude<ExtArgs> | null;
|
|
1161
|
+
};
|
|
1162
|
+
//# sourceMappingURL=LinkedRole.d.ts.map
|