@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, DbCommunityToolCreateNestedOneWithoutNamedOwnersInput, DbCommunityToolDefaultArgs, DbCommunityToolOrderByWithRelationInput, DbCommunityToolScalarRelationFilter, DbCommunityToolUpdateOneRequiredWithoutNamedOwnersNestedInput, DbCommunityToolWhereInput, Prisma__DbCommunityToolClient } from "./DbCommunityTool.mjs";
|
|
3
|
+
import { StringFilter, StringWithAggregatesFilter } from "../commonInputTypes.mjs";
|
|
4
|
+
import { AtLeast, BatchPayload, DbCommunityToolNamedOwnerScalarFieldEnum, 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/DbCommunityToolNamedOwner.d.ts
|
|
8
|
+
type AggregateDbCommunityToolNamedOwner = {
|
|
9
|
+
_count: DbCommunityToolNamedOwnerCountAggregateOutputType | null;
|
|
10
|
+
_min: DbCommunityToolNamedOwnerMinAggregateOutputType | null;
|
|
11
|
+
_max: DbCommunityToolNamedOwnerMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
type DbCommunityToolNamedOwnerMinAggregateOutputType = {
|
|
14
|
+
toolId: string | null;
|
|
15
|
+
name: string | null;
|
|
16
|
+
};
|
|
17
|
+
type DbCommunityToolNamedOwnerMaxAggregateOutputType = {
|
|
18
|
+
toolId: string | null;
|
|
19
|
+
name: string | null;
|
|
20
|
+
};
|
|
21
|
+
type DbCommunityToolNamedOwnerCountAggregateOutputType = {
|
|
22
|
+
toolId: number;
|
|
23
|
+
name: number;
|
|
24
|
+
_all: number;
|
|
25
|
+
};
|
|
26
|
+
type DbCommunityToolNamedOwnerMinAggregateInputType = {
|
|
27
|
+
toolId?: true;
|
|
28
|
+
name?: true;
|
|
29
|
+
};
|
|
30
|
+
type DbCommunityToolNamedOwnerMaxAggregateInputType = {
|
|
31
|
+
toolId?: true;
|
|
32
|
+
name?: true;
|
|
33
|
+
};
|
|
34
|
+
type DbCommunityToolNamedOwnerCountAggregateInputType = {
|
|
35
|
+
toolId?: true;
|
|
36
|
+
name?: true;
|
|
37
|
+
_all?: true;
|
|
38
|
+
};
|
|
39
|
+
type DbCommunityToolNamedOwnerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
40
|
+
/**
|
|
41
|
+
* Filter which DbCommunityToolNamedOwner to aggregate.
|
|
42
|
+
*/
|
|
43
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
44
|
+
/**
|
|
45
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
46
|
+
*
|
|
47
|
+
* Determine the order of DbCommunityToolNamedOwners to fetch.
|
|
48
|
+
*/
|
|
49
|
+
orderBy?: DbCommunityToolNamedOwnerOrderByWithRelationInput | DbCommunityToolNamedOwnerOrderByWithRelationInput[];
|
|
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?: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
56
|
+
/**
|
|
57
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
58
|
+
*
|
|
59
|
+
* Take `±n` DbCommunityToolNamedOwners 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` DbCommunityToolNamedOwners.
|
|
66
|
+
*/
|
|
67
|
+
skip?: number;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
70
|
+
*
|
|
71
|
+
* Count returned DbCommunityToolNamedOwners
|
|
72
|
+
**/
|
|
73
|
+
_count?: true | DbCommunityToolNamedOwnerCountAggregateInputType;
|
|
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?: DbCommunityToolNamedOwnerMinAggregateInputType;
|
|
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?: DbCommunityToolNamedOwnerMaxAggregateInputType;
|
|
86
|
+
};
|
|
87
|
+
type GetDbCommunityToolNamedOwnerAggregateType<T extends DbCommunityToolNamedOwnerAggregateArgs> = { [P in keyof T & keyof AggregateDbCommunityToolNamedOwner]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType<T[P], AggregateDbCommunityToolNamedOwner[P]> : GetScalarType<T[P], AggregateDbCommunityToolNamedOwner[P]> };
|
|
88
|
+
type DbCommunityToolNamedOwnerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
89
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
90
|
+
orderBy?: DbCommunityToolNamedOwnerOrderByWithAggregationInput | DbCommunityToolNamedOwnerOrderByWithAggregationInput[];
|
|
91
|
+
by: DbCommunityToolNamedOwnerScalarFieldEnum[] | DbCommunityToolNamedOwnerScalarFieldEnum;
|
|
92
|
+
having?: DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput;
|
|
93
|
+
take?: number;
|
|
94
|
+
skip?: number;
|
|
95
|
+
_count?: DbCommunityToolNamedOwnerCountAggregateInputType | true;
|
|
96
|
+
_min?: DbCommunityToolNamedOwnerMinAggregateInputType;
|
|
97
|
+
_max?: DbCommunityToolNamedOwnerMaxAggregateInputType;
|
|
98
|
+
};
|
|
99
|
+
type DbCommunityToolNamedOwnerGroupByOutputType = {
|
|
100
|
+
toolId: string;
|
|
101
|
+
name: string;
|
|
102
|
+
_count: DbCommunityToolNamedOwnerCountAggregateOutputType | null;
|
|
103
|
+
_min: DbCommunityToolNamedOwnerMinAggregateOutputType | null;
|
|
104
|
+
_max: DbCommunityToolNamedOwnerMaxAggregateOutputType | null;
|
|
105
|
+
};
|
|
106
|
+
type GetDbCommunityToolNamedOwnerGroupByPayload<T extends DbCommunityToolNamedOwnerGroupByArgs> = PrismaPromise<Array<PickEnumerable<DbCommunityToolNamedOwnerGroupByOutputType, T['by']> & { [P in ((keyof T) & (keyof DbCommunityToolNamedOwnerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType<T[P], DbCommunityToolNamedOwnerGroupByOutputType[P]> : GetScalarType<T[P], DbCommunityToolNamedOwnerGroupByOutputType[P]> }>>;
|
|
107
|
+
type DbCommunityToolNamedOwnerWhereInput = {
|
|
108
|
+
AND?: DbCommunityToolNamedOwnerWhereInput | DbCommunityToolNamedOwnerWhereInput[];
|
|
109
|
+
OR?: DbCommunityToolNamedOwnerWhereInput[];
|
|
110
|
+
NOT?: DbCommunityToolNamedOwnerWhereInput | DbCommunityToolNamedOwnerWhereInput[];
|
|
111
|
+
toolId?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
112
|
+
name?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
113
|
+
tool?: XOR<DbCommunityToolScalarRelationFilter, DbCommunityToolWhereInput>;
|
|
114
|
+
};
|
|
115
|
+
type DbCommunityToolNamedOwnerOrderByWithRelationInput = {
|
|
116
|
+
toolId?: SortOrder;
|
|
117
|
+
name?: SortOrder;
|
|
118
|
+
tool?: DbCommunityToolOrderByWithRelationInput;
|
|
119
|
+
};
|
|
120
|
+
type DbCommunityToolNamedOwnerWhereUniqueInput = AtLeast<{
|
|
121
|
+
toolId_name?: DbCommunityToolNamedOwnerToolIdNameCompoundUniqueInput;
|
|
122
|
+
AND?: DbCommunityToolNamedOwnerWhereInput | DbCommunityToolNamedOwnerWhereInput[];
|
|
123
|
+
OR?: DbCommunityToolNamedOwnerWhereInput[];
|
|
124
|
+
NOT?: DbCommunityToolNamedOwnerWhereInput | DbCommunityToolNamedOwnerWhereInput[];
|
|
125
|
+
toolId?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
126
|
+
name?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
127
|
+
tool?: XOR<DbCommunityToolScalarRelationFilter, DbCommunityToolWhereInput>;
|
|
128
|
+
}, "toolId_name">;
|
|
129
|
+
type DbCommunityToolNamedOwnerOrderByWithAggregationInput = {
|
|
130
|
+
toolId?: SortOrder;
|
|
131
|
+
name?: SortOrder;
|
|
132
|
+
_count?: DbCommunityToolNamedOwnerCountOrderByAggregateInput;
|
|
133
|
+
_max?: DbCommunityToolNamedOwnerMaxOrderByAggregateInput;
|
|
134
|
+
_min?: DbCommunityToolNamedOwnerMinOrderByAggregateInput;
|
|
135
|
+
};
|
|
136
|
+
type DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput = {
|
|
137
|
+
AND?: DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput | DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput[];
|
|
138
|
+
OR?: DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput[];
|
|
139
|
+
NOT?: DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput | DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput[];
|
|
140
|
+
toolId?: StringWithAggregatesFilter<"DbCommunityToolNamedOwner"> | string;
|
|
141
|
+
name?: StringWithAggregatesFilter<"DbCommunityToolNamedOwner"> | string;
|
|
142
|
+
};
|
|
143
|
+
type DbCommunityToolNamedOwnerCreateInput = {
|
|
144
|
+
name: string;
|
|
145
|
+
tool: DbCommunityToolCreateNestedOneWithoutNamedOwnersInput;
|
|
146
|
+
};
|
|
147
|
+
type DbCommunityToolNamedOwnerUncheckedCreateInput = {
|
|
148
|
+
toolId: string;
|
|
149
|
+
name: string;
|
|
150
|
+
};
|
|
151
|
+
type DbCommunityToolNamedOwnerUpdateInput = {
|
|
152
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
153
|
+
tool?: DbCommunityToolUpdateOneRequiredWithoutNamedOwnersNestedInput;
|
|
154
|
+
};
|
|
155
|
+
type DbCommunityToolNamedOwnerUncheckedUpdateInput = {
|
|
156
|
+
toolId?: StringFieldUpdateOperationsInput | string;
|
|
157
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
158
|
+
};
|
|
159
|
+
type DbCommunityToolNamedOwnerCreateManyInput = {
|
|
160
|
+
toolId: string;
|
|
161
|
+
name: string;
|
|
162
|
+
};
|
|
163
|
+
type DbCommunityToolNamedOwnerUpdateManyMutationInput = {
|
|
164
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
165
|
+
};
|
|
166
|
+
type DbCommunityToolNamedOwnerUncheckedUpdateManyInput = {
|
|
167
|
+
toolId?: StringFieldUpdateOperationsInput | string;
|
|
168
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
169
|
+
};
|
|
170
|
+
type DbCommunityToolNamedOwnerListRelationFilter = {
|
|
171
|
+
every?: DbCommunityToolNamedOwnerWhereInput;
|
|
172
|
+
some?: DbCommunityToolNamedOwnerWhereInput;
|
|
173
|
+
none?: DbCommunityToolNamedOwnerWhereInput;
|
|
174
|
+
};
|
|
175
|
+
type DbCommunityToolNamedOwnerOrderByRelationAggregateInput = {
|
|
176
|
+
_count?: SortOrder;
|
|
177
|
+
};
|
|
178
|
+
type DbCommunityToolNamedOwnerToolIdNameCompoundUniqueInput = {
|
|
179
|
+
toolId: string;
|
|
180
|
+
name: string;
|
|
181
|
+
};
|
|
182
|
+
type DbCommunityToolNamedOwnerCountOrderByAggregateInput = {
|
|
183
|
+
toolId?: SortOrder;
|
|
184
|
+
name?: SortOrder;
|
|
185
|
+
};
|
|
186
|
+
type DbCommunityToolNamedOwnerMaxOrderByAggregateInput = {
|
|
187
|
+
toolId?: SortOrder;
|
|
188
|
+
name?: SortOrder;
|
|
189
|
+
};
|
|
190
|
+
type DbCommunityToolNamedOwnerMinOrderByAggregateInput = {
|
|
191
|
+
toolId?: SortOrder;
|
|
192
|
+
name?: SortOrder;
|
|
193
|
+
};
|
|
194
|
+
type DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput = {
|
|
195
|
+
create?: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput> | DbCommunityToolNamedOwnerCreateWithoutToolInput[] | DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput[];
|
|
196
|
+
connectOrCreate?: DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput | DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput[];
|
|
197
|
+
createMany?: DbCommunityToolNamedOwnerCreateManyToolInputEnvelope;
|
|
198
|
+
connect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
199
|
+
};
|
|
200
|
+
type DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput = {
|
|
201
|
+
create?: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput> | DbCommunityToolNamedOwnerCreateWithoutToolInput[] | DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput[];
|
|
202
|
+
connectOrCreate?: DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput | DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput[];
|
|
203
|
+
createMany?: DbCommunityToolNamedOwnerCreateManyToolInputEnvelope;
|
|
204
|
+
connect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
205
|
+
};
|
|
206
|
+
type DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput = {
|
|
207
|
+
create?: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput> | DbCommunityToolNamedOwnerCreateWithoutToolInput[] | DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput[];
|
|
208
|
+
connectOrCreate?: DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput | DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput[];
|
|
209
|
+
upsert?: DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput | DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput[];
|
|
210
|
+
createMany?: DbCommunityToolNamedOwnerCreateManyToolInputEnvelope;
|
|
211
|
+
set?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
212
|
+
disconnect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
213
|
+
delete?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
214
|
+
connect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
215
|
+
update?: DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput | DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput[];
|
|
216
|
+
updateMany?: DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput | DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput[];
|
|
217
|
+
deleteMany?: DbCommunityToolNamedOwnerScalarWhereInput | DbCommunityToolNamedOwnerScalarWhereInput[];
|
|
218
|
+
};
|
|
219
|
+
type DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput = {
|
|
220
|
+
create?: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput> | DbCommunityToolNamedOwnerCreateWithoutToolInput[] | DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput[];
|
|
221
|
+
connectOrCreate?: DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput | DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput[];
|
|
222
|
+
upsert?: DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput | DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput[];
|
|
223
|
+
createMany?: DbCommunityToolNamedOwnerCreateManyToolInputEnvelope;
|
|
224
|
+
set?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
225
|
+
disconnect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
226
|
+
delete?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
227
|
+
connect?: DbCommunityToolNamedOwnerWhereUniqueInput | DbCommunityToolNamedOwnerWhereUniqueInput[];
|
|
228
|
+
update?: DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput | DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput[];
|
|
229
|
+
updateMany?: DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput | DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput[];
|
|
230
|
+
deleteMany?: DbCommunityToolNamedOwnerScalarWhereInput | DbCommunityToolNamedOwnerScalarWhereInput[];
|
|
231
|
+
};
|
|
232
|
+
type DbCommunityToolNamedOwnerCreateWithoutToolInput = {
|
|
233
|
+
name: string;
|
|
234
|
+
};
|
|
235
|
+
type DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput = {
|
|
236
|
+
name: string;
|
|
237
|
+
};
|
|
238
|
+
type DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput = {
|
|
239
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
240
|
+
create: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput>;
|
|
241
|
+
};
|
|
242
|
+
type DbCommunityToolNamedOwnerCreateManyToolInputEnvelope = {
|
|
243
|
+
data: DbCommunityToolNamedOwnerCreateManyToolInput | DbCommunityToolNamedOwnerCreateManyToolInput[];
|
|
244
|
+
skipDuplicates?: boolean;
|
|
245
|
+
};
|
|
246
|
+
type DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput = {
|
|
247
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
248
|
+
update: XOR<DbCommunityToolNamedOwnerUpdateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedUpdateWithoutToolInput>;
|
|
249
|
+
create: XOR<DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput>;
|
|
250
|
+
};
|
|
251
|
+
type DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput = {
|
|
252
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
253
|
+
data: XOR<DbCommunityToolNamedOwnerUpdateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedUpdateWithoutToolInput>;
|
|
254
|
+
};
|
|
255
|
+
type DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput = {
|
|
256
|
+
where: DbCommunityToolNamedOwnerScalarWhereInput;
|
|
257
|
+
data: XOR<DbCommunityToolNamedOwnerUpdateManyMutationInput, DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolInput>;
|
|
258
|
+
};
|
|
259
|
+
type DbCommunityToolNamedOwnerScalarWhereInput = {
|
|
260
|
+
AND?: DbCommunityToolNamedOwnerScalarWhereInput | DbCommunityToolNamedOwnerScalarWhereInput[];
|
|
261
|
+
OR?: DbCommunityToolNamedOwnerScalarWhereInput[];
|
|
262
|
+
NOT?: DbCommunityToolNamedOwnerScalarWhereInput | DbCommunityToolNamedOwnerScalarWhereInput[];
|
|
263
|
+
toolId?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
264
|
+
name?: StringFilter<"DbCommunityToolNamedOwner"> | string;
|
|
265
|
+
};
|
|
266
|
+
type DbCommunityToolNamedOwnerCreateManyToolInput = {
|
|
267
|
+
name: string;
|
|
268
|
+
};
|
|
269
|
+
type DbCommunityToolNamedOwnerUpdateWithoutToolInput = {
|
|
270
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
271
|
+
};
|
|
272
|
+
type DbCommunityToolNamedOwnerUncheckedUpdateWithoutToolInput = {
|
|
273
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
274
|
+
};
|
|
275
|
+
type DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolInput = {
|
|
276
|
+
name?: StringFieldUpdateOperationsInput | string;
|
|
277
|
+
};
|
|
278
|
+
type DbCommunityToolNamedOwnerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
279
|
+
toolId?: boolean;
|
|
280
|
+
name?: boolean;
|
|
281
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
282
|
+
}, ExtArgs["result"]["dbCommunityToolNamedOwner"]>;
|
|
283
|
+
type DbCommunityToolNamedOwnerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
284
|
+
toolId?: boolean;
|
|
285
|
+
name?: boolean;
|
|
286
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
287
|
+
}, ExtArgs["result"]["dbCommunityToolNamedOwner"]>;
|
|
288
|
+
type DbCommunityToolNamedOwnerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
289
|
+
toolId?: boolean;
|
|
290
|
+
name?: boolean;
|
|
291
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
292
|
+
}, ExtArgs["result"]["dbCommunityToolNamedOwner"]>;
|
|
293
|
+
type DbCommunityToolNamedOwnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"toolId" | "name", ExtArgs["result"]["dbCommunityToolNamedOwner"]>;
|
|
294
|
+
type DbCommunityToolNamedOwnerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
295
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
296
|
+
};
|
|
297
|
+
type DbCommunityToolNamedOwnerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
298
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
299
|
+
};
|
|
300
|
+
type DbCommunityToolNamedOwnerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
301
|
+
tool?: boolean | DbCommunityToolDefaultArgs<ExtArgs>;
|
|
302
|
+
};
|
|
303
|
+
type $DbCommunityToolNamedOwnerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
304
|
+
name: "DbCommunityToolNamedOwner";
|
|
305
|
+
objects: {
|
|
306
|
+
tool: $DbCommunityToolPayload<ExtArgs>;
|
|
307
|
+
};
|
|
308
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
309
|
+
toolId: string;
|
|
310
|
+
name: string;
|
|
311
|
+
}, ExtArgs["result"]["dbCommunityToolNamedOwner"]>;
|
|
312
|
+
composites: {};
|
|
313
|
+
};
|
|
314
|
+
type DbCommunityToolNamedOwnerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DbCommunityToolNamedOwnerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
315
|
+
select?: DbCommunityToolNamedOwnerCountAggregateInputType | true;
|
|
316
|
+
};
|
|
317
|
+
interface DbCommunityToolNamedOwnerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
318
|
+
[K: symbol]: {
|
|
319
|
+
types: TypeMap<ExtArgs>['model']['DbCommunityToolNamedOwner'];
|
|
320
|
+
meta: {
|
|
321
|
+
name: 'DbCommunityToolNamedOwner';
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Find zero or one DbCommunityToolNamedOwner that matches the filter.
|
|
326
|
+
* @param {DbCommunityToolNamedOwnerFindUniqueArgs} args - Arguments to find a DbCommunityToolNamedOwner
|
|
327
|
+
* @example
|
|
328
|
+
* // Get one DbCommunityToolNamedOwner
|
|
329
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.findUnique({
|
|
330
|
+
* where: {
|
|
331
|
+
* // ... provide filter here
|
|
332
|
+
* }
|
|
333
|
+
* })
|
|
334
|
+
*/
|
|
335
|
+
findUnique<T extends DbCommunityToolNamedOwnerFindUniqueArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerFindUniqueArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
336
|
+
/**
|
|
337
|
+
* Find one DbCommunityToolNamedOwner that matches the filter or throw an error with `error.code='P2025'`
|
|
338
|
+
* if no matches were found.
|
|
339
|
+
* @param {DbCommunityToolNamedOwnerFindUniqueOrThrowArgs} args - Arguments to find a DbCommunityToolNamedOwner
|
|
340
|
+
* @example
|
|
341
|
+
* // Get one DbCommunityToolNamedOwner
|
|
342
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.findUniqueOrThrow({
|
|
343
|
+
* where: {
|
|
344
|
+
* // ... provide filter here
|
|
345
|
+
* }
|
|
346
|
+
* })
|
|
347
|
+
*/
|
|
348
|
+
findUniqueOrThrow<T extends DbCommunityToolNamedOwnerFindUniqueOrThrowArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
349
|
+
/**
|
|
350
|
+
* Find the first DbCommunityToolNamedOwner 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 {DbCommunityToolNamedOwnerFindFirstArgs} args - Arguments to find a DbCommunityToolNamedOwner
|
|
354
|
+
* @example
|
|
355
|
+
* // Get one DbCommunityToolNamedOwner
|
|
356
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.findFirst({
|
|
357
|
+
* where: {
|
|
358
|
+
* // ... provide filter here
|
|
359
|
+
* }
|
|
360
|
+
* })
|
|
361
|
+
*/
|
|
362
|
+
findFirst<T extends DbCommunityToolNamedOwnerFindFirstArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerFindFirstArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
363
|
+
/**
|
|
364
|
+
* Find the first DbCommunityToolNamedOwner 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 {DbCommunityToolNamedOwnerFindFirstOrThrowArgs} args - Arguments to find a DbCommunityToolNamedOwner
|
|
369
|
+
* @example
|
|
370
|
+
* // Get one DbCommunityToolNamedOwner
|
|
371
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.findFirstOrThrow({
|
|
372
|
+
* where: {
|
|
373
|
+
* // ... provide filter here
|
|
374
|
+
* }
|
|
375
|
+
* })
|
|
376
|
+
*/
|
|
377
|
+
findFirstOrThrow<T extends DbCommunityToolNamedOwnerFindFirstOrThrowArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerFindFirstOrThrowArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
378
|
+
/**
|
|
379
|
+
* Find zero or more DbCommunityToolNamedOwners 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 {DbCommunityToolNamedOwnerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
383
|
+
* @example
|
|
384
|
+
* // Get all DbCommunityToolNamedOwners
|
|
385
|
+
* const dbCommunityToolNamedOwners = await prisma.dbCommunityToolNamedOwner.findMany()
|
|
386
|
+
*
|
|
387
|
+
* // Get first 10 DbCommunityToolNamedOwners
|
|
388
|
+
* const dbCommunityToolNamedOwners = await prisma.dbCommunityToolNamedOwner.findMany({ take: 10 })
|
|
389
|
+
*
|
|
390
|
+
* // Only select the `toolId`
|
|
391
|
+
* const dbCommunityToolNamedOwnerWithToolIdOnly = await prisma.dbCommunityToolNamedOwner.findMany({ select: { toolId: true } })
|
|
392
|
+
*
|
|
393
|
+
*/
|
|
394
|
+
findMany<T extends DbCommunityToolNamedOwnerFindManyArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerFindManyArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
395
|
+
/**
|
|
396
|
+
* Create a DbCommunityToolNamedOwner.
|
|
397
|
+
* @param {DbCommunityToolNamedOwnerCreateArgs} args - Arguments to create a DbCommunityToolNamedOwner.
|
|
398
|
+
* @example
|
|
399
|
+
* // Create one DbCommunityToolNamedOwner
|
|
400
|
+
* const DbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.create({
|
|
401
|
+
* data: {
|
|
402
|
+
* // ... data to create a DbCommunityToolNamedOwner
|
|
403
|
+
* }
|
|
404
|
+
* })
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
create<T extends DbCommunityToolNamedOwnerCreateArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerCreateArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
408
|
+
/**
|
|
409
|
+
* Create many DbCommunityToolNamedOwners.
|
|
410
|
+
* @param {DbCommunityToolNamedOwnerCreateManyArgs} args - Arguments to create many DbCommunityToolNamedOwners.
|
|
411
|
+
* @example
|
|
412
|
+
* // Create many DbCommunityToolNamedOwners
|
|
413
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.createMany({
|
|
414
|
+
* data: [
|
|
415
|
+
* // ... provide data here
|
|
416
|
+
* ]
|
|
417
|
+
* })
|
|
418
|
+
*
|
|
419
|
+
*/
|
|
420
|
+
createMany<T extends DbCommunityToolNamedOwnerCreateManyArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerCreateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
421
|
+
/**
|
|
422
|
+
* Create many DbCommunityToolNamedOwners and returns the data saved in the database.
|
|
423
|
+
* @param {DbCommunityToolNamedOwnerCreateManyAndReturnArgs} args - Arguments to create many DbCommunityToolNamedOwners.
|
|
424
|
+
* @example
|
|
425
|
+
* // Create many DbCommunityToolNamedOwners
|
|
426
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.createManyAndReturn({
|
|
427
|
+
* data: [
|
|
428
|
+
* // ... provide data here
|
|
429
|
+
* ]
|
|
430
|
+
* })
|
|
431
|
+
*
|
|
432
|
+
* // Create many DbCommunityToolNamedOwners and only return the `toolId`
|
|
433
|
+
* const dbCommunityToolNamedOwnerWithToolIdOnly = await prisma.dbCommunityToolNamedOwner.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 DbCommunityToolNamedOwnerCreateManyAndReturnArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerCreateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
444
|
+
/**
|
|
445
|
+
* Delete a DbCommunityToolNamedOwner.
|
|
446
|
+
* @param {DbCommunityToolNamedOwnerDeleteArgs} args - Arguments to delete one DbCommunityToolNamedOwner.
|
|
447
|
+
* @example
|
|
448
|
+
* // Delete one DbCommunityToolNamedOwner
|
|
449
|
+
* const DbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.delete({
|
|
450
|
+
* where: {
|
|
451
|
+
* // ... filter to delete one DbCommunityToolNamedOwner
|
|
452
|
+
* }
|
|
453
|
+
* })
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
delete<T extends DbCommunityToolNamedOwnerDeleteArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerDeleteArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
457
|
+
/**
|
|
458
|
+
* Update one DbCommunityToolNamedOwner.
|
|
459
|
+
* @param {DbCommunityToolNamedOwnerUpdateArgs} args - Arguments to update one DbCommunityToolNamedOwner.
|
|
460
|
+
* @example
|
|
461
|
+
* // Update one DbCommunityToolNamedOwner
|
|
462
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.update({
|
|
463
|
+
* where: {
|
|
464
|
+
* // ... provide filter here
|
|
465
|
+
* },
|
|
466
|
+
* data: {
|
|
467
|
+
* // ... provide data here
|
|
468
|
+
* }
|
|
469
|
+
* })
|
|
470
|
+
*
|
|
471
|
+
*/
|
|
472
|
+
update<T extends DbCommunityToolNamedOwnerUpdateArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerUpdateArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
473
|
+
/**
|
|
474
|
+
* Delete zero or more DbCommunityToolNamedOwners.
|
|
475
|
+
* @param {DbCommunityToolNamedOwnerDeleteManyArgs} args - Arguments to filter DbCommunityToolNamedOwners to delete.
|
|
476
|
+
* @example
|
|
477
|
+
* // Delete a few DbCommunityToolNamedOwners
|
|
478
|
+
* const { count } = await prisma.dbCommunityToolNamedOwner.deleteMany({
|
|
479
|
+
* where: {
|
|
480
|
+
* // ... provide filter here
|
|
481
|
+
* }
|
|
482
|
+
* })
|
|
483
|
+
*
|
|
484
|
+
*/
|
|
485
|
+
deleteMany<T extends DbCommunityToolNamedOwnerDeleteManyArgs>(args?: SelectSubset<T, DbCommunityToolNamedOwnerDeleteManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
486
|
+
/**
|
|
487
|
+
* Update zero or more DbCommunityToolNamedOwners.
|
|
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 {DbCommunityToolNamedOwnerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
491
|
+
* @example
|
|
492
|
+
* // Update many DbCommunityToolNamedOwners
|
|
493
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.updateMany({
|
|
494
|
+
* where: {
|
|
495
|
+
* // ... provide filter here
|
|
496
|
+
* },
|
|
497
|
+
* data: {
|
|
498
|
+
* // ... provide data here
|
|
499
|
+
* }
|
|
500
|
+
* })
|
|
501
|
+
*
|
|
502
|
+
*/
|
|
503
|
+
updateMany<T extends DbCommunityToolNamedOwnerUpdateManyArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerUpdateManyArgs<ExtArgs>>): PrismaPromise<BatchPayload>;
|
|
504
|
+
/**
|
|
505
|
+
* Update zero or more DbCommunityToolNamedOwners and returns the data updated in the database.
|
|
506
|
+
* @param {DbCommunityToolNamedOwnerUpdateManyAndReturnArgs} args - Arguments to update many DbCommunityToolNamedOwners.
|
|
507
|
+
* @example
|
|
508
|
+
* // Update many DbCommunityToolNamedOwners
|
|
509
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.updateManyAndReturn({
|
|
510
|
+
* where: {
|
|
511
|
+
* // ... provide filter here
|
|
512
|
+
* },
|
|
513
|
+
* data: [
|
|
514
|
+
* // ... provide data here
|
|
515
|
+
* ]
|
|
516
|
+
* })
|
|
517
|
+
*
|
|
518
|
+
* // Update zero or more DbCommunityToolNamedOwners and only return the `toolId`
|
|
519
|
+
* const dbCommunityToolNamedOwnerWithToolIdOnly = await prisma.dbCommunityToolNamedOwner.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 DbCommunityToolNamedOwnerUpdateManyAndReturnArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerUpdateManyAndReturnArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
533
|
+
/**
|
|
534
|
+
* Create or update one DbCommunityToolNamedOwner.
|
|
535
|
+
* @param {DbCommunityToolNamedOwnerUpsertArgs} args - Arguments to update or create a DbCommunityToolNamedOwner.
|
|
536
|
+
* @example
|
|
537
|
+
* // Update or create a DbCommunityToolNamedOwner
|
|
538
|
+
* const dbCommunityToolNamedOwner = await prisma.dbCommunityToolNamedOwner.upsert({
|
|
539
|
+
* create: {
|
|
540
|
+
* // ... data to create a DbCommunityToolNamedOwner
|
|
541
|
+
* },
|
|
542
|
+
* update: {
|
|
543
|
+
* // ... in case it already exists, update
|
|
544
|
+
* },
|
|
545
|
+
* where: {
|
|
546
|
+
* // ... the filter for the DbCommunityToolNamedOwner we want to update
|
|
547
|
+
* }
|
|
548
|
+
* })
|
|
549
|
+
*/
|
|
550
|
+
upsert<T extends DbCommunityToolNamedOwnerUpsertArgs>(args: SelectSubset<T, DbCommunityToolNamedOwnerUpsertArgs<ExtArgs>>): Prisma__DbCommunityToolNamedOwnerClient<runtime.Types.Result.GetResult<$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
551
|
+
/**
|
|
552
|
+
* Count the number of DbCommunityToolNamedOwners.
|
|
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 {DbCommunityToolNamedOwnerCountArgs} args - Arguments to filter DbCommunityToolNamedOwners to count.
|
|
556
|
+
* @example
|
|
557
|
+
* // Count the number of DbCommunityToolNamedOwners
|
|
558
|
+
* const count = await prisma.dbCommunityToolNamedOwner.count({
|
|
559
|
+
* where: {
|
|
560
|
+
* // ... the filter for the DbCommunityToolNamedOwners we want to count
|
|
561
|
+
* }
|
|
562
|
+
* })
|
|
563
|
+
**/
|
|
564
|
+
count<T extends DbCommunityToolNamedOwnerCountArgs>(args?: Subset<T, DbCommunityToolNamedOwnerCountArgs>): PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType<T['select'], DbCommunityToolNamedOwnerCountAggregateOutputType> : number>;
|
|
565
|
+
/**
|
|
566
|
+
* Allows you to perform aggregations operations on a DbCommunityToolNamedOwner.
|
|
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 {DbCommunityToolNamedOwnerAggregateArgs} 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 DbCommunityToolNamedOwnerAggregateArgs>(args: Subset<T, DbCommunityToolNamedOwnerAggregateArgs>): PrismaPromise<GetDbCommunityToolNamedOwnerAggregateType<T>>;
|
|
590
|
+
/**
|
|
591
|
+
* Group by DbCommunityToolNamedOwner.
|
|
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 {DbCommunityToolNamedOwnerGroupByArgs} 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 DbCommunityToolNamedOwnerGroupByArgs, HasSelectOrTake extends Or<Extends<'skip', Keys<T>>, Extends<'take', Keys<T>>>, OrderByArg extends (True extends HasSelectOrTake ? {
|
|
609
|
+
orderBy: DbCommunityToolNamedOwnerGroupByArgs['orderBy'];
|
|
610
|
+
} : {
|
|
611
|
+
orderBy?: DbCommunityToolNamedOwnerGroupByArgs['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, DbCommunityToolNamedOwnerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbCommunityToolNamedOwnerGroupByPayload<T> : PrismaPromise<InputErrors>;
|
|
613
|
+
/**
|
|
614
|
+
* Fields of the DbCommunityToolNamedOwner model
|
|
615
|
+
*/
|
|
616
|
+
readonly fields: DbCommunityToolNamedOwnerFieldRefs;
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* The delegate class that acts as a "Promise-like" for DbCommunityToolNamedOwner.
|
|
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__DbCommunityToolNamedOwnerClient<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 DbCommunityToolNamedOwner model
|
|
650
|
+
*/
|
|
651
|
+
interface DbCommunityToolNamedOwnerFieldRefs {
|
|
652
|
+
readonly toolId: FieldRef<"DbCommunityToolNamedOwner", 'String'>;
|
|
653
|
+
readonly name: FieldRef<"DbCommunityToolNamedOwner", 'String'>;
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* DbCommunityToolNamedOwner findUnique
|
|
657
|
+
*/
|
|
658
|
+
type DbCommunityToolNamedOwnerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
659
|
+
/**
|
|
660
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
661
|
+
*/
|
|
662
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
663
|
+
/**
|
|
664
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
665
|
+
*/
|
|
666
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
667
|
+
/**
|
|
668
|
+
* Choose, which related nodes to fetch as well
|
|
669
|
+
*/
|
|
670
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
671
|
+
/**
|
|
672
|
+
* Filter, which DbCommunityToolNamedOwner to fetch.
|
|
673
|
+
*/
|
|
674
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* DbCommunityToolNamedOwner findUniqueOrThrow
|
|
678
|
+
*/
|
|
679
|
+
type DbCommunityToolNamedOwnerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
680
|
+
/**
|
|
681
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
682
|
+
*/
|
|
683
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
684
|
+
/**
|
|
685
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
686
|
+
*/
|
|
687
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
688
|
+
/**
|
|
689
|
+
* Choose, which related nodes to fetch as well
|
|
690
|
+
*/
|
|
691
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
692
|
+
/**
|
|
693
|
+
* Filter, which DbCommunityToolNamedOwner to fetch.
|
|
694
|
+
*/
|
|
695
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
696
|
+
};
|
|
697
|
+
/**
|
|
698
|
+
* DbCommunityToolNamedOwner findFirst
|
|
699
|
+
*/
|
|
700
|
+
type DbCommunityToolNamedOwnerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
701
|
+
/**
|
|
702
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
703
|
+
*/
|
|
704
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
705
|
+
/**
|
|
706
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
707
|
+
*/
|
|
708
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
709
|
+
/**
|
|
710
|
+
* Choose, which related nodes to fetch as well
|
|
711
|
+
*/
|
|
712
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
713
|
+
/**
|
|
714
|
+
* Filter, which DbCommunityToolNamedOwner to fetch.
|
|
715
|
+
*/
|
|
716
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
717
|
+
/**
|
|
718
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
719
|
+
*
|
|
720
|
+
* Determine the order of DbCommunityToolNamedOwners to fetch.
|
|
721
|
+
*/
|
|
722
|
+
orderBy?: DbCommunityToolNamedOwnerOrderByWithRelationInput | DbCommunityToolNamedOwnerOrderByWithRelationInput[];
|
|
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 DbCommunityToolNamedOwners.
|
|
727
|
+
*/
|
|
728
|
+
cursor?: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
729
|
+
/**
|
|
730
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
731
|
+
*
|
|
732
|
+
* Take `±n` DbCommunityToolNamedOwners 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` DbCommunityToolNamedOwners.
|
|
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 DbCommunityToolNamedOwners.
|
|
745
|
+
*/
|
|
746
|
+
distinct?: DbCommunityToolNamedOwnerScalarFieldEnum | DbCommunityToolNamedOwnerScalarFieldEnum[];
|
|
747
|
+
};
|
|
748
|
+
/**
|
|
749
|
+
* DbCommunityToolNamedOwner findFirstOrThrow
|
|
750
|
+
*/
|
|
751
|
+
type DbCommunityToolNamedOwnerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
752
|
+
/**
|
|
753
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
754
|
+
*/
|
|
755
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
756
|
+
/**
|
|
757
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
758
|
+
*/
|
|
759
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Choose, which related nodes to fetch as well
|
|
762
|
+
*/
|
|
763
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
764
|
+
/**
|
|
765
|
+
* Filter, which DbCommunityToolNamedOwner to fetch.
|
|
766
|
+
*/
|
|
767
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
768
|
+
/**
|
|
769
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
770
|
+
*
|
|
771
|
+
* Determine the order of DbCommunityToolNamedOwners to fetch.
|
|
772
|
+
*/
|
|
773
|
+
orderBy?: DbCommunityToolNamedOwnerOrderByWithRelationInput | DbCommunityToolNamedOwnerOrderByWithRelationInput[];
|
|
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 DbCommunityToolNamedOwners.
|
|
778
|
+
*/
|
|
779
|
+
cursor?: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
780
|
+
/**
|
|
781
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
782
|
+
*
|
|
783
|
+
* Take `±n` DbCommunityToolNamedOwners 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` DbCommunityToolNamedOwners.
|
|
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 DbCommunityToolNamedOwners.
|
|
796
|
+
*/
|
|
797
|
+
distinct?: DbCommunityToolNamedOwnerScalarFieldEnum | DbCommunityToolNamedOwnerScalarFieldEnum[];
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* DbCommunityToolNamedOwner findMany
|
|
801
|
+
*/
|
|
802
|
+
type DbCommunityToolNamedOwnerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
803
|
+
/**
|
|
804
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
805
|
+
*/
|
|
806
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
807
|
+
/**
|
|
808
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
809
|
+
*/
|
|
810
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
811
|
+
/**
|
|
812
|
+
* Choose, which related nodes to fetch as well
|
|
813
|
+
*/
|
|
814
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
815
|
+
/**
|
|
816
|
+
* Filter, which DbCommunityToolNamedOwners to fetch.
|
|
817
|
+
*/
|
|
818
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
819
|
+
/**
|
|
820
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
821
|
+
*
|
|
822
|
+
* Determine the order of DbCommunityToolNamedOwners to fetch.
|
|
823
|
+
*/
|
|
824
|
+
orderBy?: DbCommunityToolNamedOwnerOrderByWithRelationInput | DbCommunityToolNamedOwnerOrderByWithRelationInput[];
|
|
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 DbCommunityToolNamedOwners.
|
|
829
|
+
*/
|
|
830
|
+
cursor?: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
833
|
+
*
|
|
834
|
+
* Take `±n` DbCommunityToolNamedOwners 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` DbCommunityToolNamedOwners.
|
|
841
|
+
*/
|
|
842
|
+
skip?: number;
|
|
843
|
+
distinct?: DbCommunityToolNamedOwnerScalarFieldEnum | DbCommunityToolNamedOwnerScalarFieldEnum[];
|
|
844
|
+
};
|
|
845
|
+
/**
|
|
846
|
+
* DbCommunityToolNamedOwner create
|
|
847
|
+
*/
|
|
848
|
+
type DbCommunityToolNamedOwnerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
849
|
+
/**
|
|
850
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
851
|
+
*/
|
|
852
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
855
|
+
*/
|
|
856
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
857
|
+
/**
|
|
858
|
+
* Choose, which related nodes to fetch as well
|
|
859
|
+
*/
|
|
860
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
861
|
+
/**
|
|
862
|
+
* The data needed to create a DbCommunityToolNamedOwner.
|
|
863
|
+
*/
|
|
864
|
+
data: XOR<DbCommunityToolNamedOwnerCreateInput, DbCommunityToolNamedOwnerUncheckedCreateInput>;
|
|
865
|
+
};
|
|
866
|
+
/**
|
|
867
|
+
* DbCommunityToolNamedOwner createMany
|
|
868
|
+
*/
|
|
869
|
+
type DbCommunityToolNamedOwnerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
870
|
+
/**
|
|
871
|
+
* The data used to create many DbCommunityToolNamedOwners.
|
|
872
|
+
*/
|
|
873
|
+
data: DbCommunityToolNamedOwnerCreateManyInput | DbCommunityToolNamedOwnerCreateManyInput[];
|
|
874
|
+
skipDuplicates?: boolean;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* DbCommunityToolNamedOwner createManyAndReturn
|
|
878
|
+
*/
|
|
879
|
+
type DbCommunityToolNamedOwnerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
880
|
+
/**
|
|
881
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
882
|
+
*/
|
|
883
|
+
select?: DbCommunityToolNamedOwnerSelectCreateManyAndReturn<ExtArgs> | null;
|
|
884
|
+
/**
|
|
885
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
886
|
+
*/
|
|
887
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
888
|
+
/**
|
|
889
|
+
* The data used to create many DbCommunityToolNamedOwners.
|
|
890
|
+
*/
|
|
891
|
+
data: DbCommunityToolNamedOwnerCreateManyInput | DbCommunityToolNamedOwnerCreateManyInput[];
|
|
892
|
+
skipDuplicates?: boolean;
|
|
893
|
+
/**
|
|
894
|
+
* Choose, which related nodes to fetch as well
|
|
895
|
+
*/
|
|
896
|
+
include?: DbCommunityToolNamedOwnerIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* DbCommunityToolNamedOwner update
|
|
900
|
+
*/
|
|
901
|
+
type DbCommunityToolNamedOwnerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
902
|
+
/**
|
|
903
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
904
|
+
*/
|
|
905
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
906
|
+
/**
|
|
907
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
908
|
+
*/
|
|
909
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
910
|
+
/**
|
|
911
|
+
* Choose, which related nodes to fetch as well
|
|
912
|
+
*/
|
|
913
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* The data needed to update a DbCommunityToolNamedOwner.
|
|
916
|
+
*/
|
|
917
|
+
data: XOR<DbCommunityToolNamedOwnerUpdateInput, DbCommunityToolNamedOwnerUncheckedUpdateInput>;
|
|
918
|
+
/**
|
|
919
|
+
* Choose, which DbCommunityToolNamedOwner to update.
|
|
920
|
+
*/
|
|
921
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* DbCommunityToolNamedOwner updateMany
|
|
925
|
+
*/
|
|
926
|
+
type DbCommunityToolNamedOwnerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
|
+
/**
|
|
928
|
+
* The data used to update DbCommunityToolNamedOwners.
|
|
929
|
+
*/
|
|
930
|
+
data: XOR<DbCommunityToolNamedOwnerUpdateManyMutationInput, DbCommunityToolNamedOwnerUncheckedUpdateManyInput>;
|
|
931
|
+
/**
|
|
932
|
+
* Filter which DbCommunityToolNamedOwners to update
|
|
933
|
+
*/
|
|
934
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
935
|
+
/**
|
|
936
|
+
* Limit how many DbCommunityToolNamedOwners to update.
|
|
937
|
+
*/
|
|
938
|
+
limit?: number;
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* DbCommunityToolNamedOwner updateManyAndReturn
|
|
942
|
+
*/
|
|
943
|
+
type DbCommunityToolNamedOwnerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
944
|
+
/**
|
|
945
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
946
|
+
*/
|
|
947
|
+
select?: DbCommunityToolNamedOwnerSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
948
|
+
/**
|
|
949
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
950
|
+
*/
|
|
951
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
952
|
+
/**
|
|
953
|
+
* The data used to update DbCommunityToolNamedOwners.
|
|
954
|
+
*/
|
|
955
|
+
data: XOR<DbCommunityToolNamedOwnerUpdateManyMutationInput, DbCommunityToolNamedOwnerUncheckedUpdateManyInput>;
|
|
956
|
+
/**
|
|
957
|
+
* Filter which DbCommunityToolNamedOwners to update
|
|
958
|
+
*/
|
|
959
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
960
|
+
/**
|
|
961
|
+
* Limit how many DbCommunityToolNamedOwners to update.
|
|
962
|
+
*/
|
|
963
|
+
limit?: number;
|
|
964
|
+
/**
|
|
965
|
+
* Choose, which related nodes to fetch as well
|
|
966
|
+
*/
|
|
967
|
+
include?: DbCommunityToolNamedOwnerIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* DbCommunityToolNamedOwner upsert
|
|
971
|
+
*/
|
|
972
|
+
type DbCommunityToolNamedOwnerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
975
|
+
*/
|
|
976
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
979
|
+
*/
|
|
980
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Choose, which related nodes to fetch as well
|
|
983
|
+
*/
|
|
984
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* The filter to search for the DbCommunityToolNamedOwner to update in case it exists.
|
|
987
|
+
*/
|
|
988
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
989
|
+
/**
|
|
990
|
+
* In case the DbCommunityToolNamedOwner found by the `where` argument doesn't exist, create a new DbCommunityToolNamedOwner with this data.
|
|
991
|
+
*/
|
|
992
|
+
create: XOR<DbCommunityToolNamedOwnerCreateInput, DbCommunityToolNamedOwnerUncheckedCreateInput>;
|
|
993
|
+
/**
|
|
994
|
+
* In case the DbCommunityToolNamedOwner was found with the provided `where` argument, update it with this data.
|
|
995
|
+
*/
|
|
996
|
+
update: XOR<DbCommunityToolNamedOwnerUpdateInput, DbCommunityToolNamedOwnerUncheckedUpdateInput>;
|
|
997
|
+
};
|
|
998
|
+
/**
|
|
999
|
+
* DbCommunityToolNamedOwner delete
|
|
1000
|
+
*/
|
|
1001
|
+
type DbCommunityToolNamedOwnerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1002
|
+
/**
|
|
1003
|
+
* Select specific fields to fetch from the DbCommunityToolNamedOwner
|
|
1004
|
+
*/
|
|
1005
|
+
select?: DbCommunityToolNamedOwnerSelect<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Omit specific fields from the DbCommunityToolNamedOwner
|
|
1008
|
+
*/
|
|
1009
|
+
omit?: DbCommunityToolNamedOwnerOmit<ExtArgs> | null;
|
|
1010
|
+
/**
|
|
1011
|
+
* Choose, which related nodes to fetch as well
|
|
1012
|
+
*/
|
|
1013
|
+
include?: DbCommunityToolNamedOwnerInclude<ExtArgs> | null;
|
|
1014
|
+
/**
|
|
1015
|
+
* Filter which DbCommunityToolNamedOwner to delete.
|
|
1016
|
+
*/
|
|
1017
|
+
where: DbCommunityToolNamedOwnerWhereUniqueInput;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* DbCommunityToolNamedOwner deleteMany
|
|
1021
|
+
*/
|
|
1022
|
+
type DbCommunityToolNamedOwnerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1023
|
+
/**
|
|
1024
|
+
* Filter which DbCommunityToolNamedOwners to delete
|
|
1025
|
+
*/
|
|
1026
|
+
where?: DbCommunityToolNamedOwnerWhereInput;
|
|
1027
|
+
/**
|
|
1028
|
+
* Limit how many DbCommunityToolNamedOwners to delete.
|
|
1029
|
+
*/
|
|
1030
|
+
limit?: number;
|
|
1031
|
+
};
|
|
1032
|
+
//#endregion
|
|
1033
|
+
export { $DbCommunityToolNamedOwnerPayload, AggregateDbCommunityToolNamedOwner, DbCommunityToolNamedOwnerAggregateArgs, DbCommunityToolNamedOwnerCountAggregateInputType, DbCommunityToolNamedOwnerCountAggregateOutputType, DbCommunityToolNamedOwnerCountArgs, DbCommunityToolNamedOwnerCountOrderByAggregateInput, DbCommunityToolNamedOwnerCreateArgs, DbCommunityToolNamedOwnerCreateInput, DbCommunityToolNamedOwnerCreateManyAndReturnArgs, DbCommunityToolNamedOwnerCreateManyArgs, DbCommunityToolNamedOwnerCreateManyInput, DbCommunityToolNamedOwnerCreateManyToolInput, DbCommunityToolNamedOwnerCreateManyToolInputEnvelope, DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput, DbCommunityToolNamedOwnerCreateOrConnectWithoutToolInput, DbCommunityToolNamedOwnerCreateWithoutToolInput, DbCommunityToolNamedOwnerDelegate, DbCommunityToolNamedOwnerDeleteArgs, DbCommunityToolNamedOwnerDeleteManyArgs, DbCommunityToolNamedOwnerFieldRefs, DbCommunityToolNamedOwnerFindFirstArgs, DbCommunityToolNamedOwnerFindFirstOrThrowArgs, DbCommunityToolNamedOwnerFindManyArgs, DbCommunityToolNamedOwnerFindUniqueArgs, DbCommunityToolNamedOwnerFindUniqueOrThrowArgs, DbCommunityToolNamedOwnerGroupByArgs, DbCommunityToolNamedOwnerGroupByOutputType, DbCommunityToolNamedOwnerInclude, DbCommunityToolNamedOwnerIncludeCreateManyAndReturn, DbCommunityToolNamedOwnerIncludeUpdateManyAndReturn, DbCommunityToolNamedOwnerListRelationFilter, DbCommunityToolNamedOwnerMaxAggregateInputType, DbCommunityToolNamedOwnerMaxAggregateOutputType, DbCommunityToolNamedOwnerMaxOrderByAggregateInput, DbCommunityToolNamedOwnerMinAggregateInputType, DbCommunityToolNamedOwnerMinAggregateOutputType, DbCommunityToolNamedOwnerMinOrderByAggregateInput, DbCommunityToolNamedOwnerOmit, DbCommunityToolNamedOwnerOrderByRelationAggregateInput, DbCommunityToolNamedOwnerOrderByWithAggregationInput, DbCommunityToolNamedOwnerOrderByWithRelationInput, DbCommunityToolNamedOwnerScalarWhereInput, DbCommunityToolNamedOwnerScalarWhereWithAggregatesInput, DbCommunityToolNamedOwnerSelect, DbCommunityToolNamedOwnerSelectCreateManyAndReturn, DbCommunityToolNamedOwnerSelectUpdateManyAndReturn, DbCommunityToolNamedOwnerToolIdNameCompoundUniqueInput, DbCommunityToolNamedOwnerUncheckedCreateInput, DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput, DbCommunityToolNamedOwnerUncheckedCreateWithoutToolInput, DbCommunityToolNamedOwnerUncheckedUpdateInput, DbCommunityToolNamedOwnerUncheckedUpdateManyInput, DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolInput, DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput, DbCommunityToolNamedOwnerUncheckedUpdateWithoutToolInput, DbCommunityToolNamedOwnerUpdateArgs, DbCommunityToolNamedOwnerUpdateInput, DbCommunityToolNamedOwnerUpdateManyAndReturnArgs, DbCommunityToolNamedOwnerUpdateManyArgs, DbCommunityToolNamedOwnerUpdateManyMutationInput, DbCommunityToolNamedOwnerUpdateManyWithWhereWithoutToolInput, DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput, DbCommunityToolNamedOwnerUpdateWithWhereUniqueWithoutToolInput, DbCommunityToolNamedOwnerUpdateWithoutToolInput, DbCommunityToolNamedOwnerUpsertArgs, DbCommunityToolNamedOwnerUpsertWithWhereUniqueWithoutToolInput, DbCommunityToolNamedOwnerWhereInput, DbCommunityToolNamedOwnerWhereUniqueInput, GetDbCommunityToolNamedOwnerAggregateType, Prisma__DbCommunityToolNamedOwnerClient };
|
|
1034
|
+
//# sourceMappingURL=DbCommunityToolNamedOwner.d.mts.map
|