@igstack/app-catalog-backend-core 6.10.2 → 6.11.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/dist/db/syncAppCatalog.mjs +1 -1
- package/dist/generated/prisma/client.d.mts +1 -1
- package/dist/generated/prisma/client.mjs.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.mts +33 -3
- package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
- package/dist/generated/prisma/enums.d.mts +6 -1
- package/dist/generated/prisma/enums.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.d.mts +84 -0
- package/dist/generated/prisma/internal/class.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.mjs +4 -4
- package/dist/generated/prisma/internal/class.mjs.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.mts +617 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbCommunityTool.d.mts +2852 -0
- package/dist/generated/prisma/models/DbCommunityTool.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts +1102 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts +1110 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts +1073 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts +1149 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbFeedback.d.mts +361 -2
- package/dist/generated/prisma/models/DbFeedback.d.mts.map +1 -1
- package/dist/generated/prisma/models.d.mts +9 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +3 -1
- package/dist/middleware/createAcMiddleware.d.mts.map +1 -1
- package/dist/middleware/createAcMiddleware.mjs +15 -1
- package/dist/middleware/createAcMiddleware.mjs.map +1 -1
- package/dist/middleware/database.d.mts +1 -1
- package/dist/middleware/types.d.mts +20 -1
- package/dist/middleware/types.d.mts.map +1 -1
- package/dist/modules/communityTools/capture.d.mts +27 -0
- package/dist/modules/communityTools/capture.d.mts.map +1 -0
- package/dist/modules/communityTools/capture.mjs +192 -0
- package/dist/modules/communityTools/capture.mjs.map +1 -0
- package/dist/modules/communityTools/healthJob.mjs +132 -0
- package/dist/modules/communityTools/healthJob.mjs.map +1 -0
- package/dist/modules/communityTools/router.d.mts +150 -0
- package/dist/modules/communityTools/router.d.mts.map +1 -0
- package/dist/modules/communityTools/router.mjs +91 -0
- package/dist/modules/communityTools/router.mjs.map +1 -0
- package/dist/modules/communityTools/service.mjs +252 -0
- package/dist/modules/communityTools/service.mjs.map +1 -0
- package/dist/modules/communityTools/toView.mjs +81 -0
- package/dist/modules/communityTools/toView.mjs.map +1 -0
- package/dist/modules/communityTools/writeService.d.mts +55 -0
- package/dist/modules/communityTools/writeService.d.mts.map +1 -0
- package/dist/modules/communityTools/writeService.mjs +280 -0
- package/dist/modules/communityTools/writeService.mjs.map +1 -0
- package/dist/modules/feedback/feedbackRouter.d.mts +3 -0
- package/dist/modules/feedback/feedbackRouter.mjs +6 -2
- package/dist/modules/feedback/feedbackRouter.mjs.map +1 -1
- package/dist/modules/feedback/service.d.mts +3 -0
- package/dist/modules/feedback/service.d.mts.map +1 -1
- package/dist/modules/feedback/service.mjs +50 -17
- package/dist/modules/feedback/service.mjs.map +1 -1
- package/dist/server/controller.d.mts +143 -0
- package/dist/server/controller.d.mts.map +1 -1
- package/dist/server/controller.mjs +2 -0
- package/dist/server/controller.mjs.map +1 -1
- package/dist/server/trpcSetup.mjs +1 -1
- package/package.json +12 -5
- package/prisma/schema.prisma +161 -0
- package/src/__tests__/communityTools.test.ts +781 -0
- package/src/__tests__/communityToolsCapture.test.ts +319 -0
- package/src/__tests__/communityToolsHealth.test.ts +154 -0
- package/src/__tests__/communityToolsRouter.test.ts +58 -0
- package/src/__tests__/communityToolsWrite.test.ts +561 -0
- package/src/__tests__/feedbackService.test.ts +160 -0
- package/src/generated/prisma/browser.ts +35 -0
- package/src/generated/prisma/client.ts +35 -0
- package/src/generated/prisma/commonInputTypes.ts +34 -0
- package/src/generated/prisma/enums.ts +8 -0
- package/src/generated/prisma/internal/class.ts +74 -4
- package/src/generated/prisma/internal/prismaNamespace.ts +635 -2
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +95 -1
- package/src/generated/prisma/models/DbCommunityTool.ts +3135 -0
- package/src/generated/prisma/models/DbCommunityToolLike.ts +1313 -0
- package/src/generated/prisma/models/DbCommunityToolNamedOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolPin.ts +1325 -0
- package/src/generated/prisma/models/DbCommunityToolTag.ts +1283 -0
- package/src/generated/prisma/models/DbCommunityToolView.ts +1361 -0
- package/src/generated/prisma/models/DbFeedback.ts +379 -1
- package/src/generated/prisma/models.ts +7 -0
- package/src/index.ts +16 -0
- package/src/middleware/createAcMiddleware.ts +20 -0
- package/src/middleware/types.ts +21 -0
- package/src/modules/communityTools/capture.ts +332 -0
- package/src/modules/communityTools/healthJob.ts +191 -0
- package/src/modules/communityTools/router.ts +172 -0
- package/src/modules/communityTools/service.ts +380 -0
- package/src/modules/communityTools/toView.ts +112 -0
- package/src/modules/communityTools/writeService.ts +408 -0
- package/src/modules/feedback/feedbackRouter.ts +20 -6
- package/src/modules/feedback/service.ts +68 -12
- package/src/server/controller.ts +8 -1
|
@@ -0,0 +1,1073 @@
|
|
|
1
|
+
import { StringFieldUpdateOperationsInput } from "./user.mjs";
|
|
2
|
+
import { CommunityTagKind } from "../enums.mjs";
|
|
3
|
+
import { $DbCommunityToolPayload, DbCommunityToolCreateNestedOneWithoutTagsInput, DbCommunityToolDefaultArgs, DbCommunityToolOrderByWithRelationInput, DbCommunityToolScalarRelationFilter, DbCommunityToolUpdateOneRequiredWithoutTagsNestedInput, DbCommunityToolWhereInput, Prisma__DbCommunityToolClient } from "./DbCommunityTool.mjs";
|
|
4
|
+
import { EnumCommunityTagKindFilter, EnumCommunityTagKindWithAggregatesFilter, StringFilter, StringWithAggregatesFilter } from "../commonInputTypes.mjs";
|
|
5
|
+
import { AtLeast, BatchPayload, DbCommunityToolTagScalarFieldEnum, ExcludeUnderscoreKeys, Extends, False, FieldRef, GetHavingFields, GetScalarType, Has, Keys, MaybeTupleToUnion, Or, PickEnumerable, PrismaPromise, SelectSubset, SortOrder, Subset, SubsetIntersection, True, TypeMap, XOR } from "../internal/prismaNamespace.mjs";
|
|
6
|
+
import * as runtime from "@prisma/client/runtime/client";
|
|
7
|
+
|
|
8
|
+
//#region src/generated/prisma/models/DbCommunityToolTag.d.ts
|
|
9
|
+
type AggregateDbCommunityToolTag = {
|
|
10
|
+
_count: DbCommunityToolTagCountAggregateOutputType | null;
|
|
11
|
+
_min: DbCommunityToolTagMinAggregateOutputType | null;
|
|
12
|
+
_max: DbCommunityToolTagMaxAggregateOutputType | null;
|
|
13
|
+
};
|
|
14
|
+
type DbCommunityToolTagMinAggregateOutputType = {
|
|
15
|
+
toolId: string | null;
|
|
16
|
+
kind: CommunityTagKind | null;
|
|
17
|
+
value: string | null;
|
|
18
|
+
};
|
|
19
|
+
type DbCommunityToolTagMaxAggregateOutputType = {
|
|
20
|
+
toolId: string | null;
|
|
21
|
+
kind: CommunityTagKind | null;
|
|
22
|
+
value: string | null;
|
|
23
|
+
};
|
|
24
|
+
type DbCommunityToolTagCountAggregateOutputType = {
|
|
25
|
+
toolId: number;
|
|
26
|
+
kind: number;
|
|
27
|
+
value: number;
|
|
28
|
+
_all: number;
|
|
29
|
+
};
|
|
30
|
+
type DbCommunityToolTagMinAggregateInputType = {
|
|
31
|
+
toolId?: true;
|
|
32
|
+
kind?: true;
|
|
33
|
+
value?: true;
|
|
34
|
+
};
|
|
35
|
+
type DbCommunityToolTagMaxAggregateInputType = {
|
|
36
|
+
toolId?: true;
|
|
37
|
+
kind?: true;
|
|
38
|
+
value?: true;
|
|
39
|
+
};
|
|
40
|
+
type DbCommunityToolTagCountAggregateInputType = {
|
|
41
|
+
toolId?: true;
|
|
42
|
+
kind?: true;
|
|
43
|
+
value?: true;
|
|
44
|
+
_all?: true;
|
|
45
|
+
};
|
|
46
|
+
type DbCommunityToolTagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
47
|
+
/**
|
|
48
|
+
* Filter which DbCommunityToolTag to aggregate.
|
|
49
|
+
*/
|
|
50
|
+
where?: DbCommunityToolTagWhereInput;
|
|
51
|
+
/**
|
|
52
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53
|
+
*
|
|
54
|
+
* Determine the order of DbCommunityToolTags to fetch.
|
|
55
|
+
*/
|
|
56
|
+
orderBy?: DbCommunityToolTagOrderByWithRelationInput | DbCommunityToolTagOrderByWithRelationInput[];
|
|
57
|
+
/**
|
|
58
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
59
|
+
*
|
|
60
|
+
* Sets the start position
|
|
61
|
+
*/
|
|
62
|
+
cursor?: DbCommunityToolTagWhereUniqueInput;
|
|
63
|
+
/**
|
|
64
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
65
|
+
*
|
|
66
|
+
* Take `±n` DbCommunityToolTags from the position of the cursor.
|
|
67
|
+
*/
|
|
68
|
+
take?: number;
|
|
69
|
+
/**
|
|
70
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
71
|
+
*
|
|
72
|
+
* Skip the first `n` DbCommunityToolTags.
|
|
73
|
+
*/
|
|
74
|
+
skip?: number;
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
77
|
+
*
|
|
78
|
+
* Count returned DbCommunityToolTags
|
|
79
|
+
**/
|
|
80
|
+
_count?: true | DbCommunityToolTagCountAggregateInputType;
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
83
|
+
*
|
|
84
|
+
* Select which fields to find the minimum value
|
|
85
|
+
**/
|
|
86
|
+
_min?: DbCommunityToolTagMinAggregateInputType;
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
89
|
+
*
|
|
90
|
+
* Select which fields to find the maximum value
|
|
91
|
+
**/
|
|
92
|
+
_max?: DbCommunityToolTagMaxAggregateInputType;
|
|
93
|
+
};
|
|
94
|
+
type GetDbCommunityToolTagAggregateType<T extends DbCommunityToolTagAggregateArgs> = { [P in keyof T & keyof AggregateDbCommunityToolTag]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType<T[P], AggregateDbCommunityToolTag[P]> : GetScalarType<T[P], AggregateDbCommunityToolTag[P]> };
|
|
95
|
+
type DbCommunityToolTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
96
|
+
where?: DbCommunityToolTagWhereInput;
|
|
97
|
+
orderBy?: DbCommunityToolTagOrderByWithAggregationInput | DbCommunityToolTagOrderByWithAggregationInput[];
|
|
98
|
+
by: DbCommunityToolTagScalarFieldEnum[] | DbCommunityToolTagScalarFieldEnum;
|
|
99
|
+
having?: DbCommunityToolTagScalarWhereWithAggregatesInput;
|
|
100
|
+
take?: number;
|
|
101
|
+
skip?: number;
|
|
102
|
+
_count?: DbCommunityToolTagCountAggregateInputType | true;
|
|
103
|
+
_min?: DbCommunityToolTagMinAggregateInputType;
|
|
104
|
+
_max?: DbCommunityToolTagMaxAggregateInputType;
|
|
105
|
+
};
|
|
106
|
+
type DbCommunityToolTagGroupByOutputType = {
|
|
107
|
+
toolId: string;
|
|
108
|
+
kind: CommunityTagKind;
|
|
109
|
+
value: string;
|
|
110
|
+
_count: DbCommunityToolTagCountAggregateOutputType | null;
|
|
111
|
+
_min: DbCommunityToolTagMinAggregateOutputType | null;
|
|
112
|
+
_max: DbCommunityToolTagMaxAggregateOutputType | null;
|
|
113
|
+
};
|
|
114
|
+
type GetDbCommunityToolTagGroupByPayload<T extends DbCommunityToolTagGroupByArgs> = PrismaPromise<Array<PickEnumerable<DbCommunityToolTagGroupByOutputType, T['by']> & { [P in ((keyof T) & (keyof DbCommunityToolTagGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType<T[P], DbCommunityToolTagGroupByOutputType[P]> : GetScalarType<T[P], DbCommunityToolTagGroupByOutputType[P]> }>>;
|
|
115
|
+
type DbCommunityToolTagWhereInput = {
|
|
116
|
+
AND?: DbCommunityToolTagWhereInput | DbCommunityToolTagWhereInput[];
|
|
117
|
+
OR?: DbCommunityToolTagWhereInput[];
|
|
118
|
+
NOT?: DbCommunityToolTagWhereInput | DbCommunityToolTagWhereInput[];
|
|
119
|
+
toolId?: StringFilter<"DbCommunityToolTag"> | string;
|
|
120
|
+
kind?: EnumCommunityTagKindFilter<"DbCommunityToolTag"> | CommunityTagKind;
|
|
121
|
+
value?: StringFilter<"DbCommunityToolTag"> | string;
|
|
122
|
+
tool?: XOR<DbCommunityToolScalarRelationFilter, DbCommunityToolWhereInput>;
|
|
123
|
+
};
|
|
124
|
+
type DbCommunityToolTagOrderByWithRelationInput = {
|
|
125
|
+
toolId?: SortOrder;
|
|
126
|
+
kind?: SortOrder;
|
|
127
|
+
value?: SortOrder;
|
|
128
|
+
tool?: DbCommunityToolOrderByWithRelationInput;
|
|
129
|
+
};
|
|
130
|
+
type DbCommunityToolTagWhereUniqueInput = AtLeast<{
|
|
131
|
+
toolId_kind_value?: DbCommunityToolTagToolIdKindValueCompoundUniqueInput;
|
|
132
|
+
AND?: DbCommunityToolTagWhereInput | DbCommunityToolTagWhereInput[];
|
|
133
|
+
OR?: DbCommunityToolTagWhereInput[];
|
|
134
|
+
NOT?: DbCommunityToolTagWhereInput | DbCommunityToolTagWhereInput[];
|
|
135
|
+
toolId?: StringFilter<"DbCommunityToolTag"> | string;
|
|
136
|
+
kind?: EnumCommunityTagKindFilter<"DbCommunityToolTag"> | CommunityTagKind;
|
|
137
|
+
value?: StringFilter<"DbCommunityToolTag"> | string;
|
|
138
|
+
tool?: XOR<DbCommunityToolScalarRelationFilter, DbCommunityToolWhereInput>;
|
|
139
|
+
}, "toolId_kind_value">;
|
|
140
|
+
type DbCommunityToolTagOrderByWithAggregationInput = {
|
|
141
|
+
toolId?: SortOrder;
|
|
142
|
+
kind?: SortOrder;
|
|
143
|
+
value?: SortOrder;
|
|
144
|
+
_count?: DbCommunityToolTagCountOrderByAggregateInput;
|
|
145
|
+
_max?: DbCommunityToolTagMaxOrderByAggregateInput;
|
|
146
|
+
_min?: DbCommunityToolTagMinOrderByAggregateInput;
|
|
147
|
+
};
|
|
148
|
+
type DbCommunityToolTagScalarWhereWithAggregatesInput = {
|
|
149
|
+
AND?: DbCommunityToolTagScalarWhereWithAggregatesInput | DbCommunityToolTagScalarWhereWithAggregatesInput[];
|
|
150
|
+
OR?: DbCommunityToolTagScalarWhereWithAggregatesInput[];
|
|
151
|
+
NOT?: DbCommunityToolTagScalarWhereWithAggregatesInput | DbCommunityToolTagScalarWhereWithAggregatesInput[];
|
|
152
|
+
toolId?: StringWithAggregatesFilter<"DbCommunityToolTag"> | string;
|
|
153
|
+
kind?: EnumCommunityTagKindWithAggregatesFilter<"DbCommunityToolTag"> | CommunityTagKind;
|
|
154
|
+
value?: StringWithAggregatesFilter<"DbCommunityToolTag"> | string;
|
|
155
|
+
};
|
|
156
|
+
type DbCommunityToolTagCreateInput = {
|
|
157
|
+
kind: CommunityTagKind;
|
|
158
|
+
value: string;
|
|
159
|
+
tool: DbCommunityToolCreateNestedOneWithoutTagsInput;
|
|
160
|
+
};
|
|
161
|
+
type DbCommunityToolTagUncheckedCreateInput = {
|
|
162
|
+
toolId: string;
|
|
163
|
+
kind: CommunityTagKind;
|
|
164
|
+
value: string;
|
|
165
|
+
};
|
|
166
|
+
type DbCommunityToolTagUpdateInput = {
|
|
167
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
168
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
169
|
+
tool?: DbCommunityToolUpdateOneRequiredWithoutTagsNestedInput;
|
|
170
|
+
};
|
|
171
|
+
type DbCommunityToolTagUncheckedUpdateInput = {
|
|
172
|
+
toolId?: StringFieldUpdateOperationsInput | string;
|
|
173
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
174
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
175
|
+
};
|
|
176
|
+
type DbCommunityToolTagCreateManyInput = {
|
|
177
|
+
toolId: string;
|
|
178
|
+
kind: CommunityTagKind;
|
|
179
|
+
value: string;
|
|
180
|
+
};
|
|
181
|
+
type DbCommunityToolTagUpdateManyMutationInput = {
|
|
182
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
183
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
184
|
+
};
|
|
185
|
+
type DbCommunityToolTagUncheckedUpdateManyInput = {
|
|
186
|
+
toolId?: StringFieldUpdateOperationsInput | string;
|
|
187
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
188
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
189
|
+
};
|
|
190
|
+
type DbCommunityToolTagListRelationFilter = {
|
|
191
|
+
every?: DbCommunityToolTagWhereInput;
|
|
192
|
+
some?: DbCommunityToolTagWhereInput;
|
|
193
|
+
none?: DbCommunityToolTagWhereInput;
|
|
194
|
+
};
|
|
195
|
+
type DbCommunityToolTagOrderByRelationAggregateInput = {
|
|
196
|
+
_count?: SortOrder;
|
|
197
|
+
};
|
|
198
|
+
type DbCommunityToolTagToolIdKindValueCompoundUniqueInput = {
|
|
199
|
+
toolId: string;
|
|
200
|
+
kind: CommunityTagKind;
|
|
201
|
+
value: string;
|
|
202
|
+
};
|
|
203
|
+
type DbCommunityToolTagCountOrderByAggregateInput = {
|
|
204
|
+
toolId?: SortOrder;
|
|
205
|
+
kind?: SortOrder;
|
|
206
|
+
value?: SortOrder;
|
|
207
|
+
};
|
|
208
|
+
type DbCommunityToolTagMaxOrderByAggregateInput = {
|
|
209
|
+
toolId?: SortOrder;
|
|
210
|
+
kind?: SortOrder;
|
|
211
|
+
value?: SortOrder;
|
|
212
|
+
};
|
|
213
|
+
type DbCommunityToolTagMinOrderByAggregateInput = {
|
|
214
|
+
toolId?: SortOrder;
|
|
215
|
+
kind?: SortOrder;
|
|
216
|
+
value?: SortOrder;
|
|
217
|
+
};
|
|
218
|
+
type DbCommunityToolTagCreateNestedManyWithoutToolInput = {
|
|
219
|
+
create?: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput> | DbCommunityToolTagCreateWithoutToolInput[] | DbCommunityToolTagUncheckedCreateWithoutToolInput[];
|
|
220
|
+
connectOrCreate?: DbCommunityToolTagCreateOrConnectWithoutToolInput | DbCommunityToolTagCreateOrConnectWithoutToolInput[];
|
|
221
|
+
createMany?: DbCommunityToolTagCreateManyToolInputEnvelope;
|
|
222
|
+
connect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
223
|
+
};
|
|
224
|
+
type DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput = {
|
|
225
|
+
create?: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput> | DbCommunityToolTagCreateWithoutToolInput[] | DbCommunityToolTagUncheckedCreateWithoutToolInput[];
|
|
226
|
+
connectOrCreate?: DbCommunityToolTagCreateOrConnectWithoutToolInput | DbCommunityToolTagCreateOrConnectWithoutToolInput[];
|
|
227
|
+
createMany?: DbCommunityToolTagCreateManyToolInputEnvelope;
|
|
228
|
+
connect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
229
|
+
};
|
|
230
|
+
type DbCommunityToolTagUpdateManyWithoutToolNestedInput = {
|
|
231
|
+
create?: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput> | DbCommunityToolTagCreateWithoutToolInput[] | DbCommunityToolTagUncheckedCreateWithoutToolInput[];
|
|
232
|
+
connectOrCreate?: DbCommunityToolTagCreateOrConnectWithoutToolInput | DbCommunityToolTagCreateOrConnectWithoutToolInput[];
|
|
233
|
+
upsert?: DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput | DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput[];
|
|
234
|
+
createMany?: DbCommunityToolTagCreateManyToolInputEnvelope;
|
|
235
|
+
set?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
236
|
+
disconnect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
237
|
+
delete?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
238
|
+
connect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
239
|
+
update?: DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput | DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput[];
|
|
240
|
+
updateMany?: DbCommunityToolTagUpdateManyWithWhereWithoutToolInput | DbCommunityToolTagUpdateManyWithWhereWithoutToolInput[];
|
|
241
|
+
deleteMany?: DbCommunityToolTagScalarWhereInput | DbCommunityToolTagScalarWhereInput[];
|
|
242
|
+
};
|
|
243
|
+
type DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput = {
|
|
244
|
+
create?: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput> | DbCommunityToolTagCreateWithoutToolInput[] | DbCommunityToolTagUncheckedCreateWithoutToolInput[];
|
|
245
|
+
connectOrCreate?: DbCommunityToolTagCreateOrConnectWithoutToolInput | DbCommunityToolTagCreateOrConnectWithoutToolInput[];
|
|
246
|
+
upsert?: DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput | DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput[];
|
|
247
|
+
createMany?: DbCommunityToolTagCreateManyToolInputEnvelope;
|
|
248
|
+
set?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
249
|
+
disconnect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
250
|
+
delete?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
251
|
+
connect?: DbCommunityToolTagWhereUniqueInput | DbCommunityToolTagWhereUniqueInput[];
|
|
252
|
+
update?: DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput | DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput[];
|
|
253
|
+
updateMany?: DbCommunityToolTagUpdateManyWithWhereWithoutToolInput | DbCommunityToolTagUpdateManyWithWhereWithoutToolInput[];
|
|
254
|
+
deleteMany?: DbCommunityToolTagScalarWhereInput | DbCommunityToolTagScalarWhereInput[];
|
|
255
|
+
};
|
|
256
|
+
type EnumCommunityTagKindFieldUpdateOperationsInput = {
|
|
257
|
+
set?: CommunityTagKind;
|
|
258
|
+
};
|
|
259
|
+
type DbCommunityToolTagCreateWithoutToolInput = {
|
|
260
|
+
kind: CommunityTagKind;
|
|
261
|
+
value: string;
|
|
262
|
+
};
|
|
263
|
+
type DbCommunityToolTagUncheckedCreateWithoutToolInput = {
|
|
264
|
+
kind: CommunityTagKind;
|
|
265
|
+
value: string;
|
|
266
|
+
};
|
|
267
|
+
type DbCommunityToolTagCreateOrConnectWithoutToolInput = {
|
|
268
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
269
|
+
create: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput>;
|
|
270
|
+
};
|
|
271
|
+
type DbCommunityToolTagCreateManyToolInputEnvelope = {
|
|
272
|
+
data: DbCommunityToolTagCreateManyToolInput | DbCommunityToolTagCreateManyToolInput[];
|
|
273
|
+
skipDuplicates?: boolean;
|
|
274
|
+
};
|
|
275
|
+
type DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput = {
|
|
276
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
277
|
+
update: XOR<DbCommunityToolTagUpdateWithoutToolInput, DbCommunityToolTagUncheckedUpdateWithoutToolInput>;
|
|
278
|
+
create: XOR<DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput>;
|
|
279
|
+
};
|
|
280
|
+
type DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput = {
|
|
281
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
282
|
+
data: XOR<DbCommunityToolTagUpdateWithoutToolInput, DbCommunityToolTagUncheckedUpdateWithoutToolInput>;
|
|
283
|
+
};
|
|
284
|
+
type DbCommunityToolTagUpdateManyWithWhereWithoutToolInput = {
|
|
285
|
+
where: DbCommunityToolTagScalarWhereInput;
|
|
286
|
+
data: XOR<DbCommunityToolTagUpdateManyMutationInput, DbCommunityToolTagUncheckedUpdateManyWithoutToolInput>;
|
|
287
|
+
};
|
|
288
|
+
type DbCommunityToolTagScalarWhereInput = {
|
|
289
|
+
AND?: DbCommunityToolTagScalarWhereInput | DbCommunityToolTagScalarWhereInput[];
|
|
290
|
+
OR?: DbCommunityToolTagScalarWhereInput[];
|
|
291
|
+
NOT?: DbCommunityToolTagScalarWhereInput | DbCommunityToolTagScalarWhereInput[];
|
|
292
|
+
toolId?: StringFilter<"DbCommunityToolTag"> | string;
|
|
293
|
+
kind?: EnumCommunityTagKindFilter<"DbCommunityToolTag"> | CommunityTagKind;
|
|
294
|
+
value?: StringFilter<"DbCommunityToolTag"> | string;
|
|
295
|
+
};
|
|
296
|
+
type DbCommunityToolTagCreateManyToolInput = {
|
|
297
|
+
kind: CommunityTagKind;
|
|
298
|
+
value: string;
|
|
299
|
+
};
|
|
300
|
+
type DbCommunityToolTagUpdateWithoutToolInput = {
|
|
301
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
302
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
303
|
+
};
|
|
304
|
+
type DbCommunityToolTagUncheckedUpdateWithoutToolInput = {
|
|
305
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
306
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
307
|
+
};
|
|
308
|
+
type DbCommunityToolTagUncheckedUpdateManyWithoutToolInput = {
|
|
309
|
+
kind?: EnumCommunityTagKindFieldUpdateOperationsInput | CommunityTagKind;
|
|
310
|
+
value?: StringFieldUpdateOperationsInput | string;
|
|
311
|
+
};
|
|
312
|
+
type DbCommunityToolTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
313
|
+
toolId?: boolean;
|
|
314
|
+
kind?: boolean;
|
|
315
|
+
value?: boolean;
|
|
316
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
317
|
+
}, ExtArgs["result"]["dbCommunityToolTag"]>;
|
|
318
|
+
type DbCommunityToolTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
319
|
+
toolId?: boolean;
|
|
320
|
+
kind?: boolean;
|
|
321
|
+
value?: boolean;
|
|
322
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
323
|
+
}, ExtArgs["result"]["dbCommunityToolTag"]>;
|
|
324
|
+
type DbCommunityToolTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
325
|
+
toolId?: boolean;
|
|
326
|
+
kind?: boolean;
|
|
327
|
+
value?: boolean;
|
|
328
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
329
|
+
}, ExtArgs["result"]["dbCommunityToolTag"]>;
|
|
330
|
+
type DbCommunityToolTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"toolId" | "kind" | "value", ExtArgs["result"]["dbCommunityToolTag"]>;
|
|
331
|
+
type DbCommunityToolTagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
332
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
333
|
+
};
|
|
334
|
+
type DbCommunityToolTagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
335
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
336
|
+
};
|
|
337
|
+
type DbCommunityToolTagIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
338
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
339
|
+
};
|
|
340
|
+
type $DbCommunityToolTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
341
|
+
name: "DbCommunityToolTag";
|
|
342
|
+
objects: {
|
|
343
|
+
tool: $DbCommunityToolPayload<ExtArgs>;
|
|
344
|
+
};
|
|
345
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
346
|
+
toolId: string;
|
|
347
|
+
kind: CommunityTagKind;
|
|
348
|
+
value: string;
|
|
349
|
+
}, ExtArgs["result"]["dbCommunityToolTag"]>;
|
|
350
|
+
composites: {};
|
|
351
|
+
};
|
|
352
|
+
type DbCommunityToolTagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DbCommunityToolTagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
353
|
+
select?: DbCommunityToolTagCountAggregateInputType | true;
|
|
354
|
+
};
|
|
355
|
+
interface DbCommunityToolTagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
356
|
+
[K: symbol]: {
|
|
357
|
+
types: TypeMap<ExtArgs>['model']['DbCommunityToolTag'];
|
|
358
|
+
meta: {
|
|
359
|
+
name: 'DbCommunityToolTag';
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Find zero or one DbCommunityToolTag that matches the filter.
|
|
364
|
+
* @param {DbCommunityToolTagFindUniqueArgs} args - Arguments to find a DbCommunityToolTag
|
|
365
|
+
* @example
|
|
366
|
+
* // Get one DbCommunityToolTag
|
|
367
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.findUnique({
|
|
368
|
+
* where: {
|
|
369
|
+
* // ... provide filter here
|
|
370
|
+
* }
|
|
371
|
+
* })
|
|
372
|
+
*/
|
|
373
|
+
findUnique<T extends DbCommunityToolTagFindUniqueArgs>(args: SelectSubset<T, DbCommunityToolTagFindUniqueArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
374
|
+
/**
|
|
375
|
+
* Find one DbCommunityToolTag that matches the filter or throw an error with `error.code='P2025'`
|
|
376
|
+
* if no matches were found.
|
|
377
|
+
* @param {DbCommunityToolTagFindUniqueOrThrowArgs} args - Arguments to find a DbCommunityToolTag
|
|
378
|
+
* @example
|
|
379
|
+
* // Get one DbCommunityToolTag
|
|
380
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.findUniqueOrThrow({
|
|
381
|
+
* where: {
|
|
382
|
+
* // ... provide filter here
|
|
383
|
+
* }
|
|
384
|
+
* })
|
|
385
|
+
*/
|
|
386
|
+
findUniqueOrThrow<T extends DbCommunityToolTagFindUniqueOrThrowArgs>(args: SelectSubset<T, DbCommunityToolTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
387
|
+
/**
|
|
388
|
+
* Find the first DbCommunityToolTag that matches the filter.
|
|
389
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
390
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
391
|
+
* @param {DbCommunityToolTagFindFirstArgs} args - Arguments to find a DbCommunityToolTag
|
|
392
|
+
* @example
|
|
393
|
+
* // Get one DbCommunityToolTag
|
|
394
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.findFirst({
|
|
395
|
+
* where: {
|
|
396
|
+
* // ... provide filter here
|
|
397
|
+
* }
|
|
398
|
+
* })
|
|
399
|
+
*/
|
|
400
|
+
findFirst<T extends DbCommunityToolTagFindFirstArgs>(args?: SelectSubset<T, DbCommunityToolTagFindFirstArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
401
|
+
/**
|
|
402
|
+
* Find the first DbCommunityToolTag that matches the filter or
|
|
403
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
404
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
405
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
406
|
+
* @param {DbCommunityToolTagFindFirstOrThrowArgs} args - Arguments to find a DbCommunityToolTag
|
|
407
|
+
* @example
|
|
408
|
+
* // Get one DbCommunityToolTag
|
|
409
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.findFirstOrThrow({
|
|
410
|
+
* where: {
|
|
411
|
+
* // ... provide filter here
|
|
412
|
+
* }
|
|
413
|
+
* })
|
|
414
|
+
*/
|
|
415
|
+
findFirstOrThrow<T extends DbCommunityToolTagFindFirstOrThrowArgs>(args?: SelectSubset<T, DbCommunityToolTagFindFirstOrThrowArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
416
|
+
/**
|
|
417
|
+
* Find zero or more DbCommunityToolTags that matches the filter.
|
|
418
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
419
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
420
|
+
* @param {DbCommunityToolTagFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
421
|
+
* @example
|
|
422
|
+
* // Get all DbCommunityToolTags
|
|
423
|
+
* const dbCommunityToolTags = await prisma.dbCommunityToolTag.findMany()
|
|
424
|
+
*
|
|
425
|
+
* // Get first 10 DbCommunityToolTags
|
|
426
|
+
* const dbCommunityToolTags = await prisma.dbCommunityToolTag.findMany({ take: 10 })
|
|
427
|
+
*
|
|
428
|
+
* // Only select the `toolId`
|
|
429
|
+
* const dbCommunityToolTagWithToolIdOnly = await prisma.dbCommunityToolTag.findMany({ select: { toolId: true } })
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
findMany<T extends DbCommunityToolTagFindManyArgs>(args?: SelectSubset<T, DbCommunityToolTagFindManyArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
433
|
+
/**
|
|
434
|
+
* Create a DbCommunityToolTag.
|
|
435
|
+
* @param {DbCommunityToolTagCreateArgs} args - Arguments to create a DbCommunityToolTag.
|
|
436
|
+
* @example
|
|
437
|
+
* // Create one DbCommunityToolTag
|
|
438
|
+
* const DbCommunityToolTag = await prisma.dbCommunityToolTag.create({
|
|
439
|
+
* data: {
|
|
440
|
+
* // ... data to create a DbCommunityToolTag
|
|
441
|
+
* }
|
|
442
|
+
* })
|
|
443
|
+
*
|
|
444
|
+
*/
|
|
445
|
+
create<T extends DbCommunityToolTagCreateArgs>(args: SelectSubset<T, DbCommunityToolTagCreateArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
446
|
+
/**
|
|
447
|
+
* Create many DbCommunityToolTags.
|
|
448
|
+
* @param {DbCommunityToolTagCreateManyArgs} args - Arguments to create many DbCommunityToolTags.
|
|
449
|
+
* @example
|
|
450
|
+
* // Create many DbCommunityToolTags
|
|
451
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.createMany({
|
|
452
|
+
* data: [
|
|
453
|
+
* // ... provide data here
|
|
454
|
+
* ]
|
|
455
|
+
* })
|
|
456
|
+
*
|
|
457
|
+
*/
|
|
458
|
+
createMany<T extends DbCommunityToolTagCreateManyArgs>(args?: SelectSubset<T, DbCommunityToolTagCreateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
459
|
+
/**
|
|
460
|
+
* Create many DbCommunityToolTags and returns the data saved in the database.
|
|
461
|
+
* @param {DbCommunityToolTagCreateManyAndReturnArgs} args - Arguments to create many DbCommunityToolTags.
|
|
462
|
+
* @example
|
|
463
|
+
* // Create many DbCommunityToolTags
|
|
464
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.createManyAndReturn({
|
|
465
|
+
* data: [
|
|
466
|
+
* // ... provide data here
|
|
467
|
+
* ]
|
|
468
|
+
* })
|
|
469
|
+
*
|
|
470
|
+
* // Create many DbCommunityToolTags and only return the `toolId`
|
|
471
|
+
* const dbCommunityToolTagWithToolIdOnly = await prisma.dbCommunityToolTag.createManyAndReturn({
|
|
472
|
+
* select: { toolId: true },
|
|
473
|
+
* data: [
|
|
474
|
+
* // ... provide data here
|
|
475
|
+
* ]
|
|
476
|
+
* })
|
|
477
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
478
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
createManyAndReturn<T extends DbCommunityToolTagCreateManyAndReturnArgs>(args?: SelectSubset<T, DbCommunityToolTagCreateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
482
|
+
/**
|
|
483
|
+
* Delete a DbCommunityToolTag.
|
|
484
|
+
* @param {DbCommunityToolTagDeleteArgs} args - Arguments to delete one DbCommunityToolTag.
|
|
485
|
+
* @example
|
|
486
|
+
* // Delete one DbCommunityToolTag
|
|
487
|
+
* const DbCommunityToolTag = await prisma.dbCommunityToolTag.delete({
|
|
488
|
+
* where: {
|
|
489
|
+
* // ... filter to delete one DbCommunityToolTag
|
|
490
|
+
* }
|
|
491
|
+
* })
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
delete<T extends DbCommunityToolTagDeleteArgs>(args: SelectSubset<T, DbCommunityToolTagDeleteArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
495
|
+
/**
|
|
496
|
+
* Update one DbCommunityToolTag.
|
|
497
|
+
* @param {DbCommunityToolTagUpdateArgs} args - Arguments to update one DbCommunityToolTag.
|
|
498
|
+
* @example
|
|
499
|
+
* // Update one DbCommunityToolTag
|
|
500
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.update({
|
|
501
|
+
* where: {
|
|
502
|
+
* // ... provide filter here
|
|
503
|
+
* },
|
|
504
|
+
* data: {
|
|
505
|
+
* // ... provide data here
|
|
506
|
+
* }
|
|
507
|
+
* })
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
update<T extends DbCommunityToolTagUpdateArgs>(args: SelectSubset<T, DbCommunityToolTagUpdateArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
511
|
+
/**
|
|
512
|
+
* Delete zero or more DbCommunityToolTags.
|
|
513
|
+
* @param {DbCommunityToolTagDeleteManyArgs} args - Arguments to filter DbCommunityToolTags to delete.
|
|
514
|
+
* @example
|
|
515
|
+
* // Delete a few DbCommunityToolTags
|
|
516
|
+
* const { count } = await prisma.dbCommunityToolTag.deleteMany({
|
|
517
|
+
* where: {
|
|
518
|
+
* // ... provide filter here
|
|
519
|
+
* }
|
|
520
|
+
* })
|
|
521
|
+
*
|
|
522
|
+
*/
|
|
523
|
+
deleteMany<T extends DbCommunityToolTagDeleteManyArgs>(args?: SelectSubset<T, DbCommunityToolTagDeleteManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
524
|
+
/**
|
|
525
|
+
* Update zero or more DbCommunityToolTags.
|
|
526
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
527
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
528
|
+
* @param {DbCommunityToolTagUpdateManyArgs} args - Arguments to update one or more rows.
|
|
529
|
+
* @example
|
|
530
|
+
* // Update many DbCommunityToolTags
|
|
531
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.updateMany({
|
|
532
|
+
* where: {
|
|
533
|
+
* // ... provide filter here
|
|
534
|
+
* },
|
|
535
|
+
* data: {
|
|
536
|
+
* // ... provide data here
|
|
537
|
+
* }
|
|
538
|
+
* })
|
|
539
|
+
*
|
|
540
|
+
*/
|
|
541
|
+
updateMany<T extends DbCommunityToolTagUpdateManyArgs>(args: SelectSubset<T, DbCommunityToolTagUpdateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
542
|
+
/**
|
|
543
|
+
* Update zero or more DbCommunityToolTags and returns the data updated in the database.
|
|
544
|
+
* @param {DbCommunityToolTagUpdateManyAndReturnArgs} args - Arguments to update many DbCommunityToolTags.
|
|
545
|
+
* @example
|
|
546
|
+
* // Update many DbCommunityToolTags
|
|
547
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.updateManyAndReturn({
|
|
548
|
+
* where: {
|
|
549
|
+
* // ... provide filter here
|
|
550
|
+
* },
|
|
551
|
+
* data: [
|
|
552
|
+
* // ... provide data here
|
|
553
|
+
* ]
|
|
554
|
+
* })
|
|
555
|
+
*
|
|
556
|
+
* // Update zero or more DbCommunityToolTags and only return the `toolId`
|
|
557
|
+
* const dbCommunityToolTagWithToolIdOnly = await prisma.dbCommunityToolTag.updateManyAndReturn({
|
|
558
|
+
* select: { toolId: true },
|
|
559
|
+
* where: {
|
|
560
|
+
* // ... provide filter here
|
|
561
|
+
* },
|
|
562
|
+
* data: [
|
|
563
|
+
* // ... provide data here
|
|
564
|
+
* ]
|
|
565
|
+
* })
|
|
566
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
567
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
updateManyAndReturn<T extends DbCommunityToolTagUpdateManyAndReturnArgs>(args: SelectSubset<T, DbCommunityToolTagUpdateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
571
|
+
/**
|
|
572
|
+
* Create or update one DbCommunityToolTag.
|
|
573
|
+
* @param {DbCommunityToolTagUpsertArgs} args - Arguments to update or create a DbCommunityToolTag.
|
|
574
|
+
* @example
|
|
575
|
+
* // Update or create a DbCommunityToolTag
|
|
576
|
+
* const dbCommunityToolTag = await prisma.dbCommunityToolTag.upsert({
|
|
577
|
+
* create: {
|
|
578
|
+
* // ... data to create a DbCommunityToolTag
|
|
579
|
+
* },
|
|
580
|
+
* update: {
|
|
581
|
+
* // ... in case it already exists, update
|
|
582
|
+
* },
|
|
583
|
+
* where: {
|
|
584
|
+
* // ... the filter for the DbCommunityToolTag we want to update
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*/
|
|
588
|
+
upsert<T extends DbCommunityToolTagUpsertArgs>(args: SelectSubset<T, DbCommunityToolTagUpsertArgs<ExtArgs>>): Prisma__DbCommunityToolTagClient<runtime.Types.Result.GetResult<$DbCommunityToolTagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
589
|
+
/**
|
|
590
|
+
* Count the number of DbCommunityToolTags.
|
|
591
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
592
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
593
|
+
* @param {DbCommunityToolTagCountArgs} args - Arguments to filter DbCommunityToolTags to count.
|
|
594
|
+
* @example
|
|
595
|
+
* // Count the number of DbCommunityToolTags
|
|
596
|
+
* const count = await prisma.dbCommunityToolTag.count({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... the filter for the DbCommunityToolTags we want to count
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
**/
|
|
602
|
+
count<T extends DbCommunityToolTagCountArgs>(args?: Subset<T, DbCommunityToolTagCountArgs>): PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType<T['select'], DbCommunityToolTagCountAggregateOutputType> : number>;
|
|
603
|
+
/**
|
|
604
|
+
* Allows you to perform aggregations operations on a DbCommunityToolTag.
|
|
605
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
606
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
607
|
+
* @param {DbCommunityToolTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
608
|
+
* @example
|
|
609
|
+
* // Ordered by age ascending
|
|
610
|
+
* // Where email contains prisma.io
|
|
611
|
+
* // Limited to the 10 users
|
|
612
|
+
* const aggregations = await prisma.user.aggregate({
|
|
613
|
+
* _avg: {
|
|
614
|
+
* age: true,
|
|
615
|
+
* },
|
|
616
|
+
* where: {
|
|
617
|
+
* email: {
|
|
618
|
+
* contains: "prisma.io",
|
|
619
|
+
* },
|
|
620
|
+
* },
|
|
621
|
+
* orderBy: {
|
|
622
|
+
* age: "asc",
|
|
623
|
+
* },
|
|
624
|
+
* take: 10,
|
|
625
|
+
* })
|
|
626
|
+
**/
|
|
627
|
+
aggregate<T extends DbCommunityToolTagAggregateArgs>(args: Subset<T, DbCommunityToolTagAggregateArgs>): PrismaPromise<GetDbCommunityToolTagAggregateType<T>>;
|
|
628
|
+
/**
|
|
629
|
+
* Group by DbCommunityToolTag.
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
* @param {DbCommunityToolTagGroupByArgs} args - Group by arguments.
|
|
633
|
+
* @example
|
|
634
|
+
* // Group by city, order by createdAt, get count
|
|
635
|
+
* const result = await prisma.user.groupBy({
|
|
636
|
+
* by: ['city', 'createdAt'],
|
|
637
|
+
* orderBy: {
|
|
638
|
+
* createdAt: true
|
|
639
|
+
* },
|
|
640
|
+
* _count: {
|
|
641
|
+
* _all: true
|
|
642
|
+
* },
|
|
643
|
+
* })
|
|
644
|
+
*
|
|
645
|
+
**/
|
|
646
|
+
groupBy<T extends DbCommunityToolTagGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T>>, Extends<'take', Keys<T>>>, OrderByArg extends (True extends HasSelectOrTake ? {
|
|
647
|
+
orderBy: DbCommunityToolTagGroupByArgs['orderBy'];
|
|
648
|
+
} : {
|
|
649
|
+
orderBy?: DbCommunityToolTagGroupByArgs['orderBy'];
|
|
650
|
+
}), OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>, ByFields extends MaybeTupleToUnion<T['by']>, ByValid extends Has<ByFields, OrderFields>, HavingFields extends GetHavingFields<T['having']>, HavingValid extends Has<ByFields, HavingFields>, ByEmpty extends (T['by'] extends never[] ? True : False), InputErrors extends (ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [Error, 'Field ', P, ` in "having" needs to be provided in "by"`] }[HavingFields] : 'take' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys<T> ? 'orderBy' extends Keys<T> ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields])>(args: SubsetIntersection<T, DbCommunityToolTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbCommunityToolTagGroupByPayload<T> : PrismaPromise<InputErrors>;
|
|
651
|
+
/**
|
|
652
|
+
* Fields of the DbCommunityToolTag model
|
|
653
|
+
*/
|
|
654
|
+
readonly fields: DbCommunityToolTagFieldRefs;
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* The delegate class that acts as a "Promise-like" for DbCommunityToolTag.
|
|
658
|
+
* Why is this prefixed with `Prisma__`?
|
|
659
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
660
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
661
|
+
*/
|
|
662
|
+
interface Prisma__DbCommunityToolTagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends PrismaPromise<T> {
|
|
663
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
664
|
+
tool<T extends DbCommunityToolDefaultArgs<ExtArgs> = {}>(args?: Subset<T, DbCommunityToolDefaultArgs<ExtArgs>>): Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<$DbCommunityToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
665
|
+
/**
|
|
666
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
667
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
668
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
669
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
670
|
+
*/
|
|
671
|
+
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>;
|
|
672
|
+
/**
|
|
673
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
674
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
675
|
+
* @returns A Promise for the completion of the callback.
|
|
676
|
+
*/
|
|
677
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
678
|
+
/**
|
|
679
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
680
|
+
* resolved value cannot be modified from the callback.
|
|
681
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
682
|
+
* @returns A Promise for the completion of the callback.
|
|
683
|
+
*/
|
|
684
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* Fields of the DbCommunityToolTag model
|
|
688
|
+
*/
|
|
689
|
+
interface DbCommunityToolTagFieldRefs {
|
|
690
|
+
readonly toolId: FieldRef<"DbCommunityToolTag", 'String'>;
|
|
691
|
+
readonly kind: FieldRef<"DbCommunityToolTag", 'CommunityTagKind'>;
|
|
692
|
+
readonly value: FieldRef<"DbCommunityToolTag", 'String'>;
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* DbCommunityToolTag findUnique
|
|
696
|
+
*/
|
|
697
|
+
type DbCommunityToolTagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
698
|
+
/**
|
|
699
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
700
|
+
*/
|
|
701
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
702
|
+
/**
|
|
703
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
704
|
+
*/
|
|
705
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
706
|
+
/**
|
|
707
|
+
* Choose, which related nodes to fetch as well
|
|
708
|
+
*/
|
|
709
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
710
|
+
/**
|
|
711
|
+
* Filter, which DbCommunityToolTag to fetch.
|
|
712
|
+
*/
|
|
713
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
714
|
+
};
|
|
715
|
+
/**
|
|
716
|
+
* DbCommunityToolTag findUniqueOrThrow
|
|
717
|
+
*/
|
|
718
|
+
type DbCommunityToolTagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
719
|
+
/**
|
|
720
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
721
|
+
*/
|
|
722
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
723
|
+
/**
|
|
724
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
725
|
+
*/
|
|
726
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
727
|
+
/**
|
|
728
|
+
* Choose, which related nodes to fetch as well
|
|
729
|
+
*/
|
|
730
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
731
|
+
/**
|
|
732
|
+
* Filter, which DbCommunityToolTag to fetch.
|
|
733
|
+
*/
|
|
734
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* DbCommunityToolTag findFirst
|
|
738
|
+
*/
|
|
739
|
+
type DbCommunityToolTagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
740
|
+
/**
|
|
741
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
742
|
+
*/
|
|
743
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
744
|
+
/**
|
|
745
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
746
|
+
*/
|
|
747
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
748
|
+
/**
|
|
749
|
+
* Choose, which related nodes to fetch as well
|
|
750
|
+
*/
|
|
751
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
752
|
+
/**
|
|
753
|
+
* Filter, which DbCommunityToolTag to fetch.
|
|
754
|
+
*/
|
|
755
|
+
where?: DbCommunityToolTagWhereInput;
|
|
756
|
+
/**
|
|
757
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
758
|
+
*
|
|
759
|
+
* Determine the order of DbCommunityToolTags to fetch.
|
|
760
|
+
*/
|
|
761
|
+
orderBy?: DbCommunityToolTagOrderByWithRelationInput | DbCommunityToolTagOrderByWithRelationInput[];
|
|
762
|
+
/**
|
|
763
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
764
|
+
*
|
|
765
|
+
* Sets the position for searching for DbCommunityToolTags.
|
|
766
|
+
*/
|
|
767
|
+
cursor?: DbCommunityToolTagWhereUniqueInput;
|
|
768
|
+
/**
|
|
769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
770
|
+
*
|
|
771
|
+
* Take `±n` DbCommunityToolTags from the position of the cursor.
|
|
772
|
+
*/
|
|
773
|
+
take?: number;
|
|
774
|
+
/**
|
|
775
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
776
|
+
*
|
|
777
|
+
* Skip the first `n` DbCommunityToolTags.
|
|
778
|
+
*/
|
|
779
|
+
skip?: number;
|
|
780
|
+
/**
|
|
781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
782
|
+
*
|
|
783
|
+
* Filter by unique combinations of DbCommunityToolTags.
|
|
784
|
+
*/
|
|
785
|
+
distinct?: DbCommunityToolTagScalarFieldEnum | DbCommunityToolTagScalarFieldEnum[];
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* DbCommunityToolTag findFirstOrThrow
|
|
789
|
+
*/
|
|
790
|
+
type DbCommunityToolTagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
791
|
+
/**
|
|
792
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
793
|
+
*/
|
|
794
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
795
|
+
/**
|
|
796
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
797
|
+
*/
|
|
798
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
799
|
+
/**
|
|
800
|
+
* Choose, which related nodes to fetch as well
|
|
801
|
+
*/
|
|
802
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
803
|
+
/**
|
|
804
|
+
* Filter, which DbCommunityToolTag to fetch.
|
|
805
|
+
*/
|
|
806
|
+
where?: DbCommunityToolTagWhereInput;
|
|
807
|
+
/**
|
|
808
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
809
|
+
*
|
|
810
|
+
* Determine the order of DbCommunityToolTags to fetch.
|
|
811
|
+
*/
|
|
812
|
+
orderBy?: DbCommunityToolTagOrderByWithRelationInput | DbCommunityToolTagOrderByWithRelationInput[];
|
|
813
|
+
/**
|
|
814
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
815
|
+
*
|
|
816
|
+
* Sets the position for searching for DbCommunityToolTags.
|
|
817
|
+
*/
|
|
818
|
+
cursor?: DbCommunityToolTagWhereUniqueInput;
|
|
819
|
+
/**
|
|
820
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
821
|
+
*
|
|
822
|
+
* Take `±n` DbCommunityToolTags from the position of the cursor.
|
|
823
|
+
*/
|
|
824
|
+
take?: number;
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
827
|
+
*
|
|
828
|
+
* Skip the first `n` DbCommunityToolTags.
|
|
829
|
+
*/
|
|
830
|
+
skip?: number;
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
833
|
+
*
|
|
834
|
+
* Filter by unique combinations of DbCommunityToolTags.
|
|
835
|
+
*/
|
|
836
|
+
distinct?: DbCommunityToolTagScalarFieldEnum | DbCommunityToolTagScalarFieldEnum[];
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* DbCommunityToolTag findMany
|
|
840
|
+
*/
|
|
841
|
+
type DbCommunityToolTagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
842
|
+
/**
|
|
843
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
844
|
+
*/
|
|
845
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
846
|
+
/**
|
|
847
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
848
|
+
*/
|
|
849
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
850
|
+
/**
|
|
851
|
+
* Choose, which related nodes to fetch as well
|
|
852
|
+
*/
|
|
853
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
854
|
+
/**
|
|
855
|
+
* Filter, which DbCommunityToolTags to fetch.
|
|
856
|
+
*/
|
|
857
|
+
where?: DbCommunityToolTagWhereInput;
|
|
858
|
+
/**
|
|
859
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
860
|
+
*
|
|
861
|
+
* Determine the order of DbCommunityToolTags to fetch.
|
|
862
|
+
*/
|
|
863
|
+
orderBy?: DbCommunityToolTagOrderByWithRelationInput | DbCommunityToolTagOrderByWithRelationInput[];
|
|
864
|
+
/**
|
|
865
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
866
|
+
*
|
|
867
|
+
* Sets the position for listing DbCommunityToolTags.
|
|
868
|
+
*/
|
|
869
|
+
cursor?: DbCommunityToolTagWhereUniqueInput;
|
|
870
|
+
/**
|
|
871
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
872
|
+
*
|
|
873
|
+
* Take `±n` DbCommunityToolTags from the position of the cursor.
|
|
874
|
+
*/
|
|
875
|
+
take?: number;
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
878
|
+
*
|
|
879
|
+
* Skip the first `n` DbCommunityToolTags.
|
|
880
|
+
*/
|
|
881
|
+
skip?: number;
|
|
882
|
+
distinct?: DbCommunityToolTagScalarFieldEnum | DbCommunityToolTagScalarFieldEnum[];
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* DbCommunityToolTag create
|
|
886
|
+
*/
|
|
887
|
+
type DbCommunityToolTagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
888
|
+
/**
|
|
889
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
890
|
+
*/
|
|
891
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
892
|
+
/**
|
|
893
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
894
|
+
*/
|
|
895
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Choose, which related nodes to fetch as well
|
|
898
|
+
*/
|
|
899
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* The data needed to create a DbCommunityToolTag.
|
|
902
|
+
*/
|
|
903
|
+
data: XOR<DbCommunityToolTagCreateInput, DbCommunityToolTagUncheckedCreateInput>;
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* DbCommunityToolTag createMany
|
|
907
|
+
*/
|
|
908
|
+
type DbCommunityToolTagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* The data used to create many DbCommunityToolTags.
|
|
911
|
+
*/
|
|
912
|
+
data: DbCommunityToolTagCreateManyInput | DbCommunityToolTagCreateManyInput[];
|
|
913
|
+
skipDuplicates?: boolean;
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* DbCommunityToolTag createManyAndReturn
|
|
917
|
+
*/
|
|
918
|
+
type DbCommunityToolTagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
919
|
+
/**
|
|
920
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
921
|
+
*/
|
|
922
|
+
select?: DbCommunityToolTagSelectCreateManyAndReturn<ExtArgs> | null;
|
|
923
|
+
/**
|
|
924
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
925
|
+
*/
|
|
926
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
927
|
+
/**
|
|
928
|
+
* The data used to create many DbCommunityToolTags.
|
|
929
|
+
*/
|
|
930
|
+
data: DbCommunityToolTagCreateManyInput | DbCommunityToolTagCreateManyInput[];
|
|
931
|
+
skipDuplicates?: boolean;
|
|
932
|
+
/**
|
|
933
|
+
* Choose, which related nodes to fetch as well
|
|
934
|
+
*/
|
|
935
|
+
include?: DbCommunityToolTagIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
936
|
+
};
|
|
937
|
+
/**
|
|
938
|
+
* DbCommunityToolTag update
|
|
939
|
+
*/
|
|
940
|
+
type DbCommunityToolTagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
941
|
+
/**
|
|
942
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
943
|
+
*/
|
|
944
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
945
|
+
/**
|
|
946
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
947
|
+
*/
|
|
948
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
949
|
+
/**
|
|
950
|
+
* Choose, which related nodes to fetch as well
|
|
951
|
+
*/
|
|
952
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
953
|
+
/**
|
|
954
|
+
* The data needed to update a DbCommunityToolTag.
|
|
955
|
+
*/
|
|
956
|
+
data: XOR<DbCommunityToolTagUpdateInput, DbCommunityToolTagUncheckedUpdateInput>;
|
|
957
|
+
/**
|
|
958
|
+
* Choose, which DbCommunityToolTag to update.
|
|
959
|
+
*/
|
|
960
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* DbCommunityToolTag updateMany
|
|
964
|
+
*/
|
|
965
|
+
type DbCommunityToolTagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
966
|
+
/**
|
|
967
|
+
* The data used to update DbCommunityToolTags.
|
|
968
|
+
*/
|
|
969
|
+
data: XOR<DbCommunityToolTagUpdateManyMutationInput, DbCommunityToolTagUncheckedUpdateManyInput>;
|
|
970
|
+
/**
|
|
971
|
+
* Filter which DbCommunityToolTags to update
|
|
972
|
+
*/
|
|
973
|
+
where?: DbCommunityToolTagWhereInput;
|
|
974
|
+
/**
|
|
975
|
+
* Limit how many DbCommunityToolTags to update.
|
|
976
|
+
*/
|
|
977
|
+
limit?: number;
|
|
978
|
+
};
|
|
979
|
+
/**
|
|
980
|
+
* DbCommunityToolTag updateManyAndReturn
|
|
981
|
+
*/
|
|
982
|
+
type DbCommunityToolTagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
+
/**
|
|
984
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
985
|
+
*/
|
|
986
|
+
select?: DbCommunityToolTagSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
987
|
+
/**
|
|
988
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
989
|
+
*/
|
|
990
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
991
|
+
/**
|
|
992
|
+
* The data used to update DbCommunityToolTags.
|
|
993
|
+
*/
|
|
994
|
+
data: XOR<DbCommunityToolTagUpdateManyMutationInput, DbCommunityToolTagUncheckedUpdateManyInput>;
|
|
995
|
+
/**
|
|
996
|
+
* Filter which DbCommunityToolTags to update
|
|
997
|
+
*/
|
|
998
|
+
where?: DbCommunityToolTagWhereInput;
|
|
999
|
+
/**
|
|
1000
|
+
* Limit how many DbCommunityToolTags to update.
|
|
1001
|
+
*/
|
|
1002
|
+
limit?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Choose, which related nodes to fetch as well
|
|
1005
|
+
*/
|
|
1006
|
+
include?: DbCommunityToolTagIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* DbCommunityToolTag upsert
|
|
1010
|
+
*/
|
|
1011
|
+
type DbCommunityToolTagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1012
|
+
/**
|
|
1013
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
1014
|
+
*/
|
|
1015
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
1016
|
+
/**
|
|
1017
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
1018
|
+
*/
|
|
1019
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
1020
|
+
/**
|
|
1021
|
+
* Choose, which related nodes to fetch as well
|
|
1022
|
+
*/
|
|
1023
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
1024
|
+
/**
|
|
1025
|
+
* The filter to search for the DbCommunityToolTag to update in case it exists.
|
|
1026
|
+
*/
|
|
1027
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
1028
|
+
/**
|
|
1029
|
+
* In case the DbCommunityToolTag found by the `where` argument doesn't exist, create a new DbCommunityToolTag with this data.
|
|
1030
|
+
*/
|
|
1031
|
+
create: XOR<DbCommunityToolTagCreateInput, DbCommunityToolTagUncheckedCreateInput>;
|
|
1032
|
+
/**
|
|
1033
|
+
* In case the DbCommunityToolTag was found with the provided `where` argument, update it with this data.
|
|
1034
|
+
*/
|
|
1035
|
+
update: XOR<DbCommunityToolTagUpdateInput, DbCommunityToolTagUncheckedUpdateInput>;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* DbCommunityToolTag delete
|
|
1039
|
+
*/
|
|
1040
|
+
type DbCommunityToolTagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Select specific fields to fetch from the DbCommunityToolTag
|
|
1043
|
+
*/
|
|
1044
|
+
select?: DbCommunityToolTagSelect<ExtArgs> | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Omit specific fields from the DbCommunityToolTag
|
|
1047
|
+
*/
|
|
1048
|
+
omit?: DbCommunityToolTagOmit<ExtArgs> | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* Choose, which related nodes to fetch as well
|
|
1051
|
+
*/
|
|
1052
|
+
include?: DbCommunityToolTagInclude<ExtArgs> | null;
|
|
1053
|
+
/**
|
|
1054
|
+
* Filter which DbCommunityToolTag to delete.
|
|
1055
|
+
*/
|
|
1056
|
+
where: DbCommunityToolTagWhereUniqueInput;
|
|
1057
|
+
};
|
|
1058
|
+
/**
|
|
1059
|
+
* DbCommunityToolTag deleteMany
|
|
1060
|
+
*/
|
|
1061
|
+
type DbCommunityToolTagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1062
|
+
/**
|
|
1063
|
+
* Filter which DbCommunityToolTags to delete
|
|
1064
|
+
*/
|
|
1065
|
+
where?: DbCommunityToolTagWhereInput;
|
|
1066
|
+
/**
|
|
1067
|
+
* Limit how many DbCommunityToolTags to delete.
|
|
1068
|
+
*/
|
|
1069
|
+
limit?: number;
|
|
1070
|
+
};
|
|
1071
|
+
//#endregion
|
|
1072
|
+
export { $DbCommunityToolTagPayload, AggregateDbCommunityToolTag, DbCommunityToolTagAggregateArgs, DbCommunityToolTagCountAggregateInputType, DbCommunityToolTagCountAggregateOutputType, DbCommunityToolTagCountArgs, DbCommunityToolTagCountOrderByAggregateInput, DbCommunityToolTagCreateArgs, DbCommunityToolTagCreateInput, DbCommunityToolTagCreateManyAndReturnArgs, DbCommunityToolTagCreateManyArgs, DbCommunityToolTagCreateManyInput, DbCommunityToolTagCreateManyToolInput, DbCommunityToolTagCreateManyToolInputEnvelope, DbCommunityToolTagCreateNestedManyWithoutToolInput, DbCommunityToolTagCreateOrConnectWithoutToolInput, DbCommunityToolTagCreateWithoutToolInput, DbCommunityToolTagDelegate, DbCommunityToolTagDeleteArgs, DbCommunityToolTagDeleteManyArgs, DbCommunityToolTagFieldRefs, DbCommunityToolTagFindFirstArgs, DbCommunityToolTagFindFirstOrThrowArgs, DbCommunityToolTagFindManyArgs, DbCommunityToolTagFindUniqueArgs, DbCommunityToolTagFindUniqueOrThrowArgs, DbCommunityToolTagGroupByArgs, DbCommunityToolTagGroupByOutputType, DbCommunityToolTagInclude, DbCommunityToolTagIncludeCreateManyAndReturn, DbCommunityToolTagIncludeUpdateManyAndReturn, DbCommunityToolTagListRelationFilter, DbCommunityToolTagMaxAggregateInputType, DbCommunityToolTagMaxAggregateOutputType, DbCommunityToolTagMaxOrderByAggregateInput, DbCommunityToolTagMinAggregateInputType, DbCommunityToolTagMinAggregateOutputType, DbCommunityToolTagMinOrderByAggregateInput, DbCommunityToolTagOmit, DbCommunityToolTagOrderByRelationAggregateInput, DbCommunityToolTagOrderByWithAggregationInput, DbCommunityToolTagOrderByWithRelationInput, DbCommunityToolTagScalarWhereInput, DbCommunityToolTagScalarWhereWithAggregatesInput, DbCommunityToolTagSelect, DbCommunityToolTagSelectCreateManyAndReturn, DbCommunityToolTagSelectUpdateManyAndReturn, DbCommunityToolTagToolIdKindValueCompoundUniqueInput, DbCommunityToolTagUncheckedCreateInput, DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput, DbCommunityToolTagUncheckedCreateWithoutToolInput, DbCommunityToolTagUncheckedUpdateInput, DbCommunityToolTagUncheckedUpdateManyInput, DbCommunityToolTagUncheckedUpdateManyWithoutToolInput, DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput, DbCommunityToolTagUncheckedUpdateWithoutToolInput, DbCommunityToolTagUpdateArgs, DbCommunityToolTagUpdateInput, DbCommunityToolTagUpdateManyAndReturnArgs, DbCommunityToolTagUpdateManyArgs, DbCommunityToolTagUpdateManyMutationInput, DbCommunityToolTagUpdateManyWithWhereWithoutToolInput, DbCommunityToolTagUpdateManyWithoutToolNestedInput, DbCommunityToolTagUpdateWithWhereUniqueWithoutToolInput, DbCommunityToolTagUpdateWithoutToolInput, DbCommunityToolTagUpsertArgs, DbCommunityToolTagUpsertWithWhereUniqueWithoutToolInput, DbCommunityToolTagWhereInput, DbCommunityToolTagWhereUniqueInput, EnumCommunityTagKindFieldUpdateOperationsInput, GetDbCommunityToolTagAggregateType, Prisma__DbCommunityToolTagClient };
|
|
1073
|
+
//# sourceMappingURL=DbCommunityToolTag.d.mts.map
|