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