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