@minimalcorp/tsunagi 0.1.35 → 0.1.36

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.
Files changed (104) hide show
  1. package/.next/standalone/apps/web/.next/BUILD_ID +1 -1
  2. package/.next/standalone/apps/web/.next/build-manifest.json +3 -3
  3. package/.next/standalone/apps/web/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/apps/web/.next/server/app/_global-error.html +1 -1
  5. package/.next/standalone/apps/web/.next/server/app/_global-error.rsc +1 -1
  6. package/.next/standalone/apps/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  7. package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  8. package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  9. package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  10. package/.next/standalone/apps/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  11. package/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  12. package/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  13. package/.next/standalone/apps/web/.next/server/app/_not-found.rsc +2 -2
  14. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  15. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  16. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  17. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  18. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  19. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  20. package/.next/standalone/apps/web/.next/server/app/index.html +1 -1
  21. package/.next/standalone/apps/web/.next/server/app/index.rsc +3 -3
  22. package/.next/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  23. package/.next/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +3 -3
  24. package/.next/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  25. package/.next/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +2 -2
  26. package/.next/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  27. package/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
  28. package/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  29. package/.next/standalone/apps/web/.next/server/app/settings/page.js.nft.json +1 -1
  30. package/.next/standalone/apps/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  31. package/.next/standalone/apps/web/.next/server/app/settings.html +1 -1
  32. package/.next/standalone/apps/web/.next/server/app/settings.rsc +3 -3
  33. package/.next/standalone/apps/web/.next/server/app/settings.segments/_full.segment.rsc +3 -3
  34. package/.next/standalone/apps/web/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  35. package/.next/standalone/apps/web/.next/server/app/settings.segments/_index.segment.rsc +2 -2
  36. package/.next/standalone/apps/web/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  37. package/.next/standalone/apps/web/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
  38. package/.next/standalone/apps/web/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  39. package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page.js.nft.json +1 -1
  40. package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  41. package/.next/standalone/apps/web/.next/server/chunks/ssr/{[root-of-the-server]__08c7fz~._.js → [root-of-the-server]__04g~n~m._.js} +2 -2
  42. package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0ujaeyr._.js +3 -0
  43. package/.next/standalone/apps/web/.next/server/chunks/ssr/_016-lxb._.js +3 -0
  44. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0g.cd6a._.js +2 -2
  45. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0hh~0f6._.js +3 -0
  46. package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_settings_page_tsx_0i6itlb._.js +1 -1
  47. package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_tasks_[id]_page_tsx_0jshsm2._.js +5 -5
  48. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0gs4d2e._.js → node_modules_06vr-0a._.js} +1 -1
  49. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0llz_9l._.js → node_modules_0c6z_cw._.js} +1 -1
  50. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_00b-qxe._.js → node_modules_0fcqekz._.js} +1 -1
  51. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0kmpnnk._.js → node_modules_0h0imx2._.js} +1 -1
  52. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0pi.005._.js → node_modules_0jo-w3s._.js} +1 -1
  53. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0b547kr._.js → node_modules_0k7u4.c._.js} +1 -1
  54. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0y3g5lf._.js → node_modules_0pbr55t._.js} +1 -1
  55. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0~n91z-._.js → node_modules_0zkg-x0._.js} +1 -1
  56. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_0zerlct._.js → node_modules_lucide-react_dist_esm_icons_0qttwc4._.js} +2 -2
  57. package/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +3 -3
  58. package/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
  59. package/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  60. package/.next/standalone/apps/web/.next/server/server-reference-manifest.js +1 -1
  61. package/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
  62. package/.next/standalone/apps/web/.next/static/chunks/{0vlse5ga2r0n7.js → 094hkpbli0k9s.js} +13 -13
  63. package/.next/standalone/apps/web/.next/static/chunks/0nl-qnylbdcjh.js +5 -0
  64. package/.next/standalone/apps/web/.next/static/chunks/0pg---_6a_4ls.css +4 -0
  65. package/.next/standalone/apps/web/.next/static/chunks/0q5sjjz8en7-~.js +1 -0
  66. package/.next/standalone/apps/web/.next/static/chunks/11.9g_~.43gp6.js +1 -0
  67. package/.next/standalone/apps/web/.next/static/chunks/{13f6kj~4r5x0p.js → 13x7kvv5vziy0.js} +1 -1
  68. package/.next/standalone/apps/web/.next/static/chunks/{0x3kp2s554oy5.js → 15~pc9ql1ab38.js} +8 -8
  69. package/dist/server/generated/prisma/browser.d.ts +5 -0
  70. package/dist/server/generated/prisma/client.d.ts +5 -0
  71. package/dist/server/generated/prisma/internal/class.d.ts +11 -0
  72. package/dist/server/generated/prisma/internal/class.js +4 -4
  73. package/dist/server/generated/prisma/internal/prismaNamespace.d.ts +83 -1
  74. package/dist/server/generated/prisma/internal/prismaNamespace.js +7 -1
  75. package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.d.ts +7 -0
  76. package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.js +7 -1
  77. package/dist/server/generated/prisma/models/AppSetting.d.ts +939 -0
  78. package/dist/server/generated/prisma/models/AppSetting.js +1 -0
  79. package/dist/server/generated/prisma/models.d.ts +1 -0
  80. package/dist/server/index.js +2 -0
  81. package/dist/server/lib/ollama-settings.d.ts +21 -0
  82. package/dist/server/lib/ollama-settings.js +116 -0
  83. package/dist/server/lib/services/task-service.js +3 -9
  84. package/dist/server/pty-manager.d.ts +5 -1
  85. package/dist/server/pty-manager.js +15 -7
  86. package/dist/server/routes/onboarding.js +6 -1
  87. package/dist/server/routes/settings.d.ts +2 -0
  88. package/dist/server/routes/settings.js +44 -0
  89. package/dist/server/routes/tasks.js +5 -1
  90. package/dist/server/routes/terminal.js +20 -3
  91. package/npm-shrinkwrap.json +2 -2
  92. package/package.json +1 -1
  93. package/prisma/migrations/20260924000000_add_app_settings/migration.sql +7 -0
  94. package/prisma/schema.prisma +9 -1
  95. package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__0mct.7z._.js +0 -3
  96. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0lpms0u._.js +0 -3
  97. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0owas.l._.js +0 -3
  98. package/.next/standalone/apps/web/.next/static/chunks/00e8eue.21.8h.css +0 -4
  99. package/.next/standalone/apps/web/.next/static/chunks/08u0u06ip_aj0.js +0 -5
  100. package/.next/standalone/apps/web/.next/static/chunks/0j3485~p9pn9n.js +0 -1
  101. package/.next/standalone/apps/web/.next/static/chunks/0kmlu-0djf-rx.js +0 -1
  102. /package/.next/standalone/apps/web/.next/static/{7OpUnOx5deFmG2Iu_gF5o → XlHkzVdPy8Ez_iG8HMze4}/_buildManifest.js +0 -0
  103. /package/.next/standalone/apps/web/.next/static/{7OpUnOx5deFmG2Iu_gF5o → XlHkzVdPy8Ez_iG8HMze4}/_clientMiddlewareManifest.js +0 -0
  104. /package/.next/standalone/apps/web/.next/static/{7OpUnOx5deFmG2Iu_gF5o → XlHkzVdPy8Ez_iG8HMze4}/_ssgManifest.js +0 -0
@@ -0,0 +1,939 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model AppSetting
5
+ *
6
+ */
7
+ export type AppSettingModel = runtime.Types.Result.DefaultSelection<Prisma.$AppSettingPayload>;
8
+ export type AggregateAppSetting = {
9
+ _count: AppSettingCountAggregateOutputType | null;
10
+ _min: AppSettingMinAggregateOutputType | null;
11
+ _max: AppSettingMaxAggregateOutputType | null;
12
+ };
13
+ export type AppSettingMinAggregateOutputType = {
14
+ key: string | null;
15
+ value: string | null;
16
+ updatedAt: Date | null;
17
+ };
18
+ export type AppSettingMaxAggregateOutputType = {
19
+ key: string | null;
20
+ value: string | null;
21
+ updatedAt: Date | null;
22
+ };
23
+ export type AppSettingCountAggregateOutputType = {
24
+ key: number;
25
+ value: number;
26
+ updatedAt: number;
27
+ _all: number;
28
+ };
29
+ export type AppSettingMinAggregateInputType = {
30
+ key?: true;
31
+ value?: true;
32
+ updatedAt?: true;
33
+ };
34
+ export type AppSettingMaxAggregateInputType = {
35
+ key?: true;
36
+ value?: true;
37
+ updatedAt?: true;
38
+ };
39
+ export type AppSettingCountAggregateInputType = {
40
+ key?: true;
41
+ value?: true;
42
+ updatedAt?: true;
43
+ _all?: true;
44
+ };
45
+ export type AppSettingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
46
+ /**
47
+ * Filter which AppSetting to aggregate.
48
+ */
49
+ where?: Prisma.AppSettingWhereInput;
50
+ /**
51
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52
+ *
53
+ * Determine the order of AppSettings to fetch.
54
+ */
55
+ orderBy?: Prisma.AppSettingOrderByWithRelationInput | Prisma.AppSettingOrderByWithRelationInput[];
56
+ /**
57
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
58
+ *
59
+ * Sets the start position
60
+ */
61
+ cursor?: Prisma.AppSettingWhereUniqueInput;
62
+ /**
63
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64
+ *
65
+ * Take `±n` AppSettings from the position of the cursor.
66
+ */
67
+ take?: number;
68
+ /**
69
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
+ *
71
+ * Skip the first `n` AppSettings.
72
+ */
73
+ skip?: number;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76
+ *
77
+ * Count returned AppSettings
78
+ **/
79
+ _count?: true | AppSettingCountAggregateInputType;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
+ *
83
+ * Select which fields to find the minimum value
84
+ **/
85
+ _min?: AppSettingMinAggregateInputType;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
+ *
89
+ * Select which fields to find the maximum value
90
+ **/
91
+ _max?: AppSettingMaxAggregateInputType;
92
+ };
93
+ export type GetAppSettingAggregateType<T extends AppSettingAggregateArgs> = {
94
+ [P in keyof T & keyof AggregateAppSetting]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAppSetting[P]> : Prisma.GetScalarType<T[P], AggregateAppSetting[P]>;
95
+ };
96
+ export type AppSettingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
+ where?: Prisma.AppSettingWhereInput;
98
+ orderBy?: Prisma.AppSettingOrderByWithAggregationInput | Prisma.AppSettingOrderByWithAggregationInput[];
99
+ by: Prisma.AppSettingScalarFieldEnum[] | Prisma.AppSettingScalarFieldEnum;
100
+ having?: Prisma.AppSettingScalarWhereWithAggregatesInput;
101
+ take?: number;
102
+ skip?: number;
103
+ _count?: AppSettingCountAggregateInputType | true;
104
+ _min?: AppSettingMinAggregateInputType;
105
+ _max?: AppSettingMaxAggregateInputType;
106
+ };
107
+ export type AppSettingGroupByOutputType = {
108
+ key: string;
109
+ value: string;
110
+ updatedAt: Date;
111
+ _count: AppSettingCountAggregateOutputType | null;
112
+ _min: AppSettingMinAggregateOutputType | null;
113
+ _max: AppSettingMaxAggregateOutputType | null;
114
+ };
115
+ export type GetAppSettingGroupByPayload<T extends AppSettingGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AppSettingGroupByOutputType, T['by']> & {
116
+ [P in ((keyof T) & (keyof AppSettingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AppSettingGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AppSettingGroupByOutputType[P]>;
117
+ }>>;
118
+ export type AppSettingWhereInput = {
119
+ AND?: Prisma.AppSettingWhereInput | Prisma.AppSettingWhereInput[];
120
+ OR?: Prisma.AppSettingWhereInput[];
121
+ NOT?: Prisma.AppSettingWhereInput | Prisma.AppSettingWhereInput[];
122
+ key?: Prisma.StringFilter<"AppSetting"> | string;
123
+ value?: Prisma.StringFilter<"AppSetting"> | string;
124
+ updatedAt?: Prisma.DateTimeFilter<"AppSetting"> | Date | string;
125
+ };
126
+ export type AppSettingOrderByWithRelationInput = {
127
+ key?: Prisma.SortOrder;
128
+ value?: Prisma.SortOrder;
129
+ updatedAt?: Prisma.SortOrder;
130
+ };
131
+ export type AppSettingWhereUniqueInput = Prisma.AtLeast<{
132
+ key?: string;
133
+ AND?: Prisma.AppSettingWhereInput | Prisma.AppSettingWhereInput[];
134
+ OR?: Prisma.AppSettingWhereInput[];
135
+ NOT?: Prisma.AppSettingWhereInput | Prisma.AppSettingWhereInput[];
136
+ value?: Prisma.StringFilter<"AppSetting"> | string;
137
+ updatedAt?: Prisma.DateTimeFilter<"AppSetting"> | Date | string;
138
+ }, "key">;
139
+ export type AppSettingOrderByWithAggregationInput = {
140
+ key?: Prisma.SortOrder;
141
+ value?: Prisma.SortOrder;
142
+ updatedAt?: Prisma.SortOrder;
143
+ _count?: Prisma.AppSettingCountOrderByAggregateInput;
144
+ _max?: Prisma.AppSettingMaxOrderByAggregateInput;
145
+ _min?: Prisma.AppSettingMinOrderByAggregateInput;
146
+ };
147
+ export type AppSettingScalarWhereWithAggregatesInput = {
148
+ AND?: Prisma.AppSettingScalarWhereWithAggregatesInput | Prisma.AppSettingScalarWhereWithAggregatesInput[];
149
+ OR?: Prisma.AppSettingScalarWhereWithAggregatesInput[];
150
+ NOT?: Prisma.AppSettingScalarWhereWithAggregatesInput | Prisma.AppSettingScalarWhereWithAggregatesInput[];
151
+ key?: Prisma.StringWithAggregatesFilter<"AppSetting"> | string;
152
+ value?: Prisma.StringWithAggregatesFilter<"AppSetting"> | string;
153
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AppSetting"> | Date | string;
154
+ };
155
+ export type AppSettingCreateInput = {
156
+ key: string;
157
+ value: string;
158
+ updatedAt?: Date | string;
159
+ };
160
+ export type AppSettingUncheckedCreateInput = {
161
+ key: string;
162
+ value: string;
163
+ updatedAt?: Date | string;
164
+ };
165
+ export type AppSettingUpdateInput = {
166
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
167
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
168
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
169
+ };
170
+ export type AppSettingUncheckedUpdateInput = {
171
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
172
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
173
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
174
+ };
175
+ export type AppSettingCreateManyInput = {
176
+ key: string;
177
+ value: string;
178
+ updatedAt?: Date | string;
179
+ };
180
+ export type AppSettingUpdateManyMutationInput = {
181
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
182
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
183
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
184
+ };
185
+ export type AppSettingUncheckedUpdateManyInput = {
186
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
187
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
188
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
189
+ };
190
+ export type AppSettingCountOrderByAggregateInput = {
191
+ key?: Prisma.SortOrder;
192
+ value?: Prisma.SortOrder;
193
+ updatedAt?: Prisma.SortOrder;
194
+ };
195
+ export type AppSettingMaxOrderByAggregateInput = {
196
+ key?: Prisma.SortOrder;
197
+ value?: Prisma.SortOrder;
198
+ updatedAt?: Prisma.SortOrder;
199
+ };
200
+ export type AppSettingMinOrderByAggregateInput = {
201
+ key?: Prisma.SortOrder;
202
+ value?: Prisma.SortOrder;
203
+ updatedAt?: Prisma.SortOrder;
204
+ };
205
+ export type AppSettingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
206
+ key?: boolean;
207
+ value?: boolean;
208
+ updatedAt?: boolean;
209
+ }, ExtArgs["result"]["appSetting"]>;
210
+ export type AppSettingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
211
+ key?: boolean;
212
+ value?: boolean;
213
+ updatedAt?: boolean;
214
+ }, ExtArgs["result"]["appSetting"]>;
215
+ export type AppSettingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
216
+ key?: boolean;
217
+ value?: boolean;
218
+ updatedAt?: boolean;
219
+ }, ExtArgs["result"]["appSetting"]>;
220
+ export type AppSettingSelectScalar = {
221
+ key?: boolean;
222
+ value?: boolean;
223
+ updatedAt?: boolean;
224
+ };
225
+ export type AppSettingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"key" | "value" | "updatedAt", ExtArgs["result"]["appSetting"]>;
226
+ export type $AppSettingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
227
+ name: "AppSetting";
228
+ objects: {};
229
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
230
+ key: string;
231
+ value: string;
232
+ updatedAt: Date;
233
+ }, ExtArgs["result"]["appSetting"]>;
234
+ composites: {};
235
+ };
236
+ export type AppSettingGetPayload<S extends boolean | null | undefined | AppSettingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AppSettingPayload, S>;
237
+ export type AppSettingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AppSettingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
238
+ select?: AppSettingCountAggregateInputType | true;
239
+ };
240
+ export interface AppSettingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
241
+ [K: symbol]: {
242
+ types: Prisma.TypeMap<ExtArgs>['model']['AppSetting'];
243
+ meta: {
244
+ name: 'AppSetting';
245
+ };
246
+ };
247
+ /**
248
+ * Find zero or one AppSetting that matches the filter.
249
+ * @param {AppSettingFindUniqueArgs} args - Arguments to find a AppSetting
250
+ * @example
251
+ * // Get one AppSetting
252
+ * const appSetting = await prisma.appSetting.findUnique({
253
+ * where: {
254
+ * // ... provide filter here
255
+ * }
256
+ * })
257
+ */
258
+ findUnique<T extends AppSettingFindUniqueArgs>(args: Prisma.SelectSubset<T, AppSettingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
259
+ /**
260
+ * Find one AppSetting that matches the filter or throw an error with `error.code='P2025'`
261
+ * if no matches were found.
262
+ * @param {AppSettingFindUniqueOrThrowArgs} args - Arguments to find a AppSetting
263
+ * @example
264
+ * // Get one AppSetting
265
+ * const appSetting = await prisma.appSetting.findUniqueOrThrow({
266
+ * where: {
267
+ * // ... provide filter here
268
+ * }
269
+ * })
270
+ */
271
+ findUniqueOrThrow<T extends AppSettingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AppSettingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
272
+ /**
273
+ * Find the first AppSetting that matches the filter.
274
+ * Note, that providing `undefined` is treated as the value not being there.
275
+ * Read more here: https://pris.ly/d/null-undefined
276
+ * @param {AppSettingFindFirstArgs} args - Arguments to find a AppSetting
277
+ * @example
278
+ * // Get one AppSetting
279
+ * const appSetting = await prisma.appSetting.findFirst({
280
+ * where: {
281
+ * // ... provide filter here
282
+ * }
283
+ * })
284
+ */
285
+ findFirst<T extends AppSettingFindFirstArgs>(args?: Prisma.SelectSubset<T, AppSettingFindFirstArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
286
+ /**
287
+ * Find the first AppSetting that matches the filter or
288
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
289
+ * Note, that providing `undefined` is treated as the value not being there.
290
+ * Read more here: https://pris.ly/d/null-undefined
291
+ * @param {AppSettingFindFirstOrThrowArgs} args - Arguments to find a AppSetting
292
+ * @example
293
+ * // Get one AppSetting
294
+ * const appSetting = await prisma.appSetting.findFirstOrThrow({
295
+ * where: {
296
+ * // ... provide filter here
297
+ * }
298
+ * })
299
+ */
300
+ findFirstOrThrow<T extends AppSettingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AppSettingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
301
+ /**
302
+ * Find zero or more AppSettings that matches the filter.
303
+ * Note, that providing `undefined` is treated as the value not being there.
304
+ * Read more here: https://pris.ly/d/null-undefined
305
+ * @param {AppSettingFindManyArgs} args - Arguments to filter and select certain fields only.
306
+ * @example
307
+ * // Get all AppSettings
308
+ * const appSettings = await prisma.appSetting.findMany()
309
+ *
310
+ * // Get first 10 AppSettings
311
+ * const appSettings = await prisma.appSetting.findMany({ take: 10 })
312
+ *
313
+ * // Only select the `key`
314
+ * const appSettingWithKeyOnly = await prisma.appSetting.findMany({ select: { key: true } })
315
+ *
316
+ */
317
+ findMany<T extends AppSettingFindManyArgs>(args?: Prisma.SelectSubset<T, AppSettingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
318
+ /**
319
+ * Create a AppSetting.
320
+ * @param {AppSettingCreateArgs} args - Arguments to create a AppSetting.
321
+ * @example
322
+ * // Create one AppSetting
323
+ * const AppSetting = await prisma.appSetting.create({
324
+ * data: {
325
+ * // ... data to create a AppSetting
326
+ * }
327
+ * })
328
+ *
329
+ */
330
+ create<T extends AppSettingCreateArgs>(args: Prisma.SelectSubset<T, AppSettingCreateArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
331
+ /**
332
+ * Create many AppSettings.
333
+ * @param {AppSettingCreateManyArgs} args - Arguments to create many AppSettings.
334
+ * @example
335
+ * // Create many AppSettings
336
+ * const appSetting = await prisma.appSetting.createMany({
337
+ * data: [
338
+ * // ... provide data here
339
+ * ]
340
+ * })
341
+ *
342
+ */
343
+ createMany<T extends AppSettingCreateManyArgs>(args?: Prisma.SelectSubset<T, AppSettingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
344
+ /**
345
+ * Create many AppSettings and returns the data saved in the database.
346
+ * @param {AppSettingCreateManyAndReturnArgs} args - Arguments to create many AppSettings.
347
+ * @example
348
+ * // Create many AppSettings
349
+ * const appSetting = await prisma.appSetting.createManyAndReturn({
350
+ * data: [
351
+ * // ... provide data here
352
+ * ]
353
+ * })
354
+ *
355
+ * // Create many AppSettings and only return the `key`
356
+ * const appSettingWithKeyOnly = await prisma.appSetting.createManyAndReturn({
357
+ * select: { key: true },
358
+ * data: [
359
+ * // ... provide data here
360
+ * ]
361
+ * })
362
+ * Note, that providing `undefined` is treated as the value not being there.
363
+ * Read more here: https://pris.ly/d/null-undefined
364
+ *
365
+ */
366
+ createManyAndReturn<T extends AppSettingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AppSettingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
367
+ /**
368
+ * Delete a AppSetting.
369
+ * @param {AppSettingDeleteArgs} args - Arguments to delete one AppSetting.
370
+ * @example
371
+ * // Delete one AppSetting
372
+ * const AppSetting = await prisma.appSetting.delete({
373
+ * where: {
374
+ * // ... filter to delete one AppSetting
375
+ * }
376
+ * })
377
+ *
378
+ */
379
+ delete<T extends AppSettingDeleteArgs>(args: Prisma.SelectSubset<T, AppSettingDeleteArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
380
+ /**
381
+ * Update one AppSetting.
382
+ * @param {AppSettingUpdateArgs} args - Arguments to update one AppSetting.
383
+ * @example
384
+ * // Update one AppSetting
385
+ * const appSetting = await prisma.appSetting.update({
386
+ * where: {
387
+ * // ... provide filter here
388
+ * },
389
+ * data: {
390
+ * // ... provide data here
391
+ * }
392
+ * })
393
+ *
394
+ */
395
+ update<T extends AppSettingUpdateArgs>(args: Prisma.SelectSubset<T, AppSettingUpdateArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
396
+ /**
397
+ * Delete zero or more AppSettings.
398
+ * @param {AppSettingDeleteManyArgs} args - Arguments to filter AppSettings to delete.
399
+ * @example
400
+ * // Delete a few AppSettings
401
+ * const { count } = await prisma.appSetting.deleteMany({
402
+ * where: {
403
+ * // ... provide filter here
404
+ * }
405
+ * })
406
+ *
407
+ */
408
+ deleteMany<T extends AppSettingDeleteManyArgs>(args?: Prisma.SelectSubset<T, AppSettingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
409
+ /**
410
+ * Update zero or more AppSettings.
411
+ * Note, that providing `undefined` is treated as the value not being there.
412
+ * Read more here: https://pris.ly/d/null-undefined
413
+ * @param {AppSettingUpdateManyArgs} args - Arguments to update one or more rows.
414
+ * @example
415
+ * // Update many AppSettings
416
+ * const appSetting = await prisma.appSetting.updateMany({
417
+ * where: {
418
+ * // ... provide filter here
419
+ * },
420
+ * data: {
421
+ * // ... provide data here
422
+ * }
423
+ * })
424
+ *
425
+ */
426
+ updateMany<T extends AppSettingUpdateManyArgs>(args: Prisma.SelectSubset<T, AppSettingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
427
+ /**
428
+ * Update zero or more AppSettings and returns the data updated in the database.
429
+ * @param {AppSettingUpdateManyAndReturnArgs} args - Arguments to update many AppSettings.
430
+ * @example
431
+ * // Update many AppSettings
432
+ * const appSetting = await prisma.appSetting.updateManyAndReturn({
433
+ * where: {
434
+ * // ... provide filter here
435
+ * },
436
+ * data: [
437
+ * // ... provide data here
438
+ * ]
439
+ * })
440
+ *
441
+ * // Update zero or more AppSettings and only return the `key`
442
+ * const appSettingWithKeyOnly = await prisma.appSetting.updateManyAndReturn({
443
+ * select: { key: true },
444
+ * where: {
445
+ * // ... provide filter here
446
+ * },
447
+ * data: [
448
+ * // ... provide data here
449
+ * ]
450
+ * })
451
+ * Note, that providing `undefined` is treated as the value not being there.
452
+ * Read more here: https://pris.ly/d/null-undefined
453
+ *
454
+ */
455
+ updateManyAndReturn<T extends AppSettingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AppSettingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
456
+ /**
457
+ * Create or update one AppSetting.
458
+ * @param {AppSettingUpsertArgs} args - Arguments to update or create a AppSetting.
459
+ * @example
460
+ * // Update or create a AppSetting
461
+ * const appSetting = await prisma.appSetting.upsert({
462
+ * create: {
463
+ * // ... data to create a AppSetting
464
+ * },
465
+ * update: {
466
+ * // ... in case it already exists, update
467
+ * },
468
+ * where: {
469
+ * // ... the filter for the AppSetting we want to update
470
+ * }
471
+ * })
472
+ */
473
+ upsert<T extends AppSettingUpsertArgs>(args: Prisma.SelectSubset<T, AppSettingUpsertArgs<ExtArgs>>): Prisma.Prisma__AppSettingClient<runtime.Types.Result.GetResult<Prisma.$AppSettingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
474
+ /**
475
+ * Count the number of AppSettings.
476
+ * Note, that providing `undefined` is treated as the value not being there.
477
+ * Read more here: https://pris.ly/d/null-undefined
478
+ * @param {AppSettingCountArgs} args - Arguments to filter AppSettings to count.
479
+ * @example
480
+ * // Count the number of AppSettings
481
+ * const count = await prisma.appSetting.count({
482
+ * where: {
483
+ * // ... the filter for the AppSettings we want to count
484
+ * }
485
+ * })
486
+ **/
487
+ count<T extends AppSettingCountArgs>(args?: Prisma.Subset<T, AppSettingCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AppSettingCountAggregateOutputType> : number>;
488
+ /**
489
+ * Allows you to perform aggregations operations on a AppSetting.
490
+ * Note, that providing `undefined` is treated as the value not being there.
491
+ * Read more here: https://pris.ly/d/null-undefined
492
+ * @param {AppSettingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
493
+ * @example
494
+ * // Ordered by age ascending
495
+ * // Where email contains prisma.io
496
+ * // Limited to the 10 users
497
+ * const aggregations = await prisma.user.aggregate({
498
+ * _avg: {
499
+ * age: true,
500
+ * },
501
+ * where: {
502
+ * email: {
503
+ * contains: "prisma.io",
504
+ * },
505
+ * },
506
+ * orderBy: {
507
+ * age: "asc",
508
+ * },
509
+ * take: 10,
510
+ * })
511
+ **/
512
+ aggregate<T extends AppSettingAggregateArgs>(args: Prisma.Subset<T, AppSettingAggregateArgs>): Prisma.PrismaPromise<GetAppSettingAggregateType<T>>;
513
+ /**
514
+ * Group by AppSetting.
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 {AppSettingGroupByArgs} args - Group by arguments.
518
+ * @example
519
+ * // Group by city, order by createdAt, get count
520
+ * const result = await prisma.user.groupBy({
521
+ * by: ['city', 'createdAt'],
522
+ * orderBy: {
523
+ * createdAt: true
524
+ * },
525
+ * _count: {
526
+ * _all: true
527
+ * },
528
+ * })
529
+ *
530
+ **/
531
+ groupBy<T extends AppSettingGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
532
+ orderBy: AppSettingGroupByArgs['orderBy'];
533
+ } : {
534
+ orderBy?: AppSettingGroupByArgs['orderBy'];
535
+ }, 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 ? {
536
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
537
+ Error,
538
+ 'Field ',
539
+ P,
540
+ ` in "having" needs to be provided in "by"`
541
+ ];
542
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
543
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
544
+ }[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 ? {} : {
545
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
546
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
547
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
548
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, AppSettingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppSettingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
549
+ /**
550
+ * Fields of the AppSetting model
551
+ */
552
+ readonly fields: AppSettingFieldRefs;
553
+ }
554
+ /**
555
+ * The delegate class that acts as a "Promise-like" for AppSetting.
556
+ * Why is this prefixed with `Prisma__`?
557
+ * Because we want to prevent naming conflicts as mentioned in
558
+ * https://github.com/prisma/prisma-client-js/issues/707
559
+ */
560
+ export interface Prisma__AppSettingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
561
+ readonly [Symbol.toStringTag]: "PrismaPromise";
562
+ /**
563
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
564
+ * @param onfulfilled The callback to execute when the Promise is resolved.
565
+ * @param onrejected The callback to execute when the Promise is rejected.
566
+ * @returns A Promise for the completion of which ever callback is executed.
567
+ */
568
+ 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>;
569
+ /**
570
+ * Attaches a callback for only the rejection of the Promise.
571
+ * @param onrejected The callback to execute when the Promise is rejected.
572
+ * @returns A Promise for the completion of the callback.
573
+ */
574
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
575
+ /**
576
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
577
+ * resolved value cannot be modified from the callback.
578
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
579
+ * @returns A Promise for the completion of the callback.
580
+ */
581
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
582
+ }
583
+ /**
584
+ * Fields of the AppSetting model
585
+ */
586
+ export interface AppSettingFieldRefs {
587
+ readonly key: Prisma.FieldRef<"AppSetting", 'String'>;
588
+ readonly value: Prisma.FieldRef<"AppSetting", 'String'>;
589
+ readonly updatedAt: Prisma.FieldRef<"AppSetting", 'DateTime'>;
590
+ }
591
+ /**
592
+ * AppSetting findUnique
593
+ */
594
+ export type AppSettingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
595
+ /**
596
+ * Select specific fields to fetch from the AppSetting
597
+ */
598
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
599
+ /**
600
+ * Omit specific fields from the AppSetting
601
+ */
602
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
603
+ /**
604
+ * Filter, which AppSetting to fetch.
605
+ */
606
+ where: Prisma.AppSettingWhereUniqueInput;
607
+ };
608
+ /**
609
+ * AppSetting findUniqueOrThrow
610
+ */
611
+ export type AppSettingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
612
+ /**
613
+ * Select specific fields to fetch from the AppSetting
614
+ */
615
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
616
+ /**
617
+ * Omit specific fields from the AppSetting
618
+ */
619
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
620
+ /**
621
+ * Filter, which AppSetting to fetch.
622
+ */
623
+ where: Prisma.AppSettingWhereUniqueInput;
624
+ };
625
+ /**
626
+ * AppSetting findFirst
627
+ */
628
+ export type AppSettingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
629
+ /**
630
+ * Select specific fields to fetch from the AppSetting
631
+ */
632
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
633
+ /**
634
+ * Omit specific fields from the AppSetting
635
+ */
636
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
637
+ /**
638
+ * Filter, which AppSetting to fetch.
639
+ */
640
+ where?: Prisma.AppSettingWhereInput;
641
+ /**
642
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
643
+ *
644
+ * Determine the order of AppSettings to fetch.
645
+ */
646
+ orderBy?: Prisma.AppSettingOrderByWithRelationInput | Prisma.AppSettingOrderByWithRelationInput[];
647
+ /**
648
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
649
+ *
650
+ * Sets the position for searching for AppSettings.
651
+ */
652
+ cursor?: Prisma.AppSettingWhereUniqueInput;
653
+ /**
654
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
655
+ *
656
+ * Take `±n` AppSettings from the position of the cursor.
657
+ */
658
+ take?: number;
659
+ /**
660
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
661
+ *
662
+ * Skip the first `n` AppSettings.
663
+ */
664
+ skip?: number;
665
+ /**
666
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
667
+ *
668
+ * Filter by unique combinations of AppSettings.
669
+ */
670
+ distinct?: Prisma.AppSettingScalarFieldEnum | Prisma.AppSettingScalarFieldEnum[];
671
+ };
672
+ /**
673
+ * AppSetting findFirstOrThrow
674
+ */
675
+ export type AppSettingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
676
+ /**
677
+ * Select specific fields to fetch from the AppSetting
678
+ */
679
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
680
+ /**
681
+ * Omit specific fields from the AppSetting
682
+ */
683
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
684
+ /**
685
+ * Filter, which AppSetting to fetch.
686
+ */
687
+ where?: Prisma.AppSettingWhereInput;
688
+ /**
689
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
690
+ *
691
+ * Determine the order of AppSettings to fetch.
692
+ */
693
+ orderBy?: Prisma.AppSettingOrderByWithRelationInput | Prisma.AppSettingOrderByWithRelationInput[];
694
+ /**
695
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
696
+ *
697
+ * Sets the position for searching for AppSettings.
698
+ */
699
+ cursor?: Prisma.AppSettingWhereUniqueInput;
700
+ /**
701
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
702
+ *
703
+ * Take `±n` AppSettings from the position of the cursor.
704
+ */
705
+ take?: number;
706
+ /**
707
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
708
+ *
709
+ * Skip the first `n` AppSettings.
710
+ */
711
+ skip?: number;
712
+ /**
713
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
714
+ *
715
+ * Filter by unique combinations of AppSettings.
716
+ */
717
+ distinct?: Prisma.AppSettingScalarFieldEnum | Prisma.AppSettingScalarFieldEnum[];
718
+ };
719
+ /**
720
+ * AppSetting findMany
721
+ */
722
+ export type AppSettingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
723
+ /**
724
+ * Select specific fields to fetch from the AppSetting
725
+ */
726
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
727
+ /**
728
+ * Omit specific fields from the AppSetting
729
+ */
730
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
731
+ /**
732
+ * Filter, which AppSettings to fetch.
733
+ */
734
+ where?: Prisma.AppSettingWhereInput;
735
+ /**
736
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
737
+ *
738
+ * Determine the order of AppSettings to fetch.
739
+ */
740
+ orderBy?: Prisma.AppSettingOrderByWithRelationInput | Prisma.AppSettingOrderByWithRelationInput[];
741
+ /**
742
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
743
+ *
744
+ * Sets the position for listing AppSettings.
745
+ */
746
+ cursor?: Prisma.AppSettingWhereUniqueInput;
747
+ /**
748
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
749
+ *
750
+ * Take `±n` AppSettings from the position of the cursor.
751
+ */
752
+ take?: number;
753
+ /**
754
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
755
+ *
756
+ * Skip the first `n` AppSettings.
757
+ */
758
+ skip?: number;
759
+ /**
760
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
761
+ *
762
+ * Filter by unique combinations of AppSettings.
763
+ */
764
+ distinct?: Prisma.AppSettingScalarFieldEnum | Prisma.AppSettingScalarFieldEnum[];
765
+ };
766
+ /**
767
+ * AppSetting create
768
+ */
769
+ export type AppSettingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
770
+ /**
771
+ * Select specific fields to fetch from the AppSetting
772
+ */
773
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
774
+ /**
775
+ * Omit specific fields from the AppSetting
776
+ */
777
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
778
+ /**
779
+ * The data needed to create a AppSetting.
780
+ */
781
+ data: Prisma.XOR<Prisma.AppSettingCreateInput, Prisma.AppSettingUncheckedCreateInput>;
782
+ };
783
+ /**
784
+ * AppSetting createMany
785
+ */
786
+ export type AppSettingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
787
+ /**
788
+ * The data used to create many AppSettings.
789
+ */
790
+ data: Prisma.AppSettingCreateManyInput | Prisma.AppSettingCreateManyInput[];
791
+ };
792
+ /**
793
+ * AppSetting createManyAndReturn
794
+ */
795
+ export type AppSettingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
796
+ /**
797
+ * Select specific fields to fetch from the AppSetting
798
+ */
799
+ select?: Prisma.AppSettingSelectCreateManyAndReturn<ExtArgs> | null;
800
+ /**
801
+ * Omit specific fields from the AppSetting
802
+ */
803
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
804
+ /**
805
+ * The data used to create many AppSettings.
806
+ */
807
+ data: Prisma.AppSettingCreateManyInput | Prisma.AppSettingCreateManyInput[];
808
+ };
809
+ /**
810
+ * AppSetting update
811
+ */
812
+ export type AppSettingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
813
+ /**
814
+ * Select specific fields to fetch from the AppSetting
815
+ */
816
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
817
+ /**
818
+ * Omit specific fields from the AppSetting
819
+ */
820
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
821
+ /**
822
+ * The data needed to update a AppSetting.
823
+ */
824
+ data: Prisma.XOR<Prisma.AppSettingUpdateInput, Prisma.AppSettingUncheckedUpdateInput>;
825
+ /**
826
+ * Choose, which AppSetting to update.
827
+ */
828
+ where: Prisma.AppSettingWhereUniqueInput;
829
+ };
830
+ /**
831
+ * AppSetting updateMany
832
+ */
833
+ export type AppSettingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
+ /**
835
+ * The data used to update AppSettings.
836
+ */
837
+ data: Prisma.XOR<Prisma.AppSettingUpdateManyMutationInput, Prisma.AppSettingUncheckedUpdateManyInput>;
838
+ /**
839
+ * Filter which AppSettings to update
840
+ */
841
+ where?: Prisma.AppSettingWhereInput;
842
+ /**
843
+ * Limit how many AppSettings to update.
844
+ */
845
+ limit?: number;
846
+ };
847
+ /**
848
+ * AppSetting updateManyAndReturn
849
+ */
850
+ export type AppSettingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
851
+ /**
852
+ * Select specific fields to fetch from the AppSetting
853
+ */
854
+ select?: Prisma.AppSettingSelectUpdateManyAndReturn<ExtArgs> | null;
855
+ /**
856
+ * Omit specific fields from the AppSetting
857
+ */
858
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
859
+ /**
860
+ * The data used to update AppSettings.
861
+ */
862
+ data: Prisma.XOR<Prisma.AppSettingUpdateManyMutationInput, Prisma.AppSettingUncheckedUpdateManyInput>;
863
+ /**
864
+ * Filter which AppSettings to update
865
+ */
866
+ where?: Prisma.AppSettingWhereInput;
867
+ /**
868
+ * Limit how many AppSettings to update.
869
+ */
870
+ limit?: number;
871
+ };
872
+ /**
873
+ * AppSetting upsert
874
+ */
875
+ export type AppSettingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
876
+ /**
877
+ * Select specific fields to fetch from the AppSetting
878
+ */
879
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
880
+ /**
881
+ * Omit specific fields from the AppSetting
882
+ */
883
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
884
+ /**
885
+ * The filter to search for the AppSetting to update in case it exists.
886
+ */
887
+ where: Prisma.AppSettingWhereUniqueInput;
888
+ /**
889
+ * In case the AppSetting found by the `where` argument doesn't exist, create a new AppSetting with this data.
890
+ */
891
+ create: Prisma.XOR<Prisma.AppSettingCreateInput, Prisma.AppSettingUncheckedCreateInput>;
892
+ /**
893
+ * In case the AppSetting was found with the provided `where` argument, update it with this data.
894
+ */
895
+ update: Prisma.XOR<Prisma.AppSettingUpdateInput, Prisma.AppSettingUncheckedUpdateInput>;
896
+ };
897
+ /**
898
+ * AppSetting delete
899
+ */
900
+ export type AppSettingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
901
+ /**
902
+ * Select specific fields to fetch from the AppSetting
903
+ */
904
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
905
+ /**
906
+ * Omit specific fields from the AppSetting
907
+ */
908
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
909
+ /**
910
+ * Filter which AppSetting to delete.
911
+ */
912
+ where: Prisma.AppSettingWhereUniqueInput;
913
+ };
914
+ /**
915
+ * AppSetting deleteMany
916
+ */
917
+ export type AppSettingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
918
+ /**
919
+ * Filter which AppSettings to delete
920
+ */
921
+ where?: Prisma.AppSettingWhereInput;
922
+ /**
923
+ * Limit how many AppSettings to delete.
924
+ */
925
+ limit?: number;
926
+ };
927
+ /**
928
+ * AppSetting without action
929
+ */
930
+ export type AppSettingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
931
+ /**
932
+ * Select specific fields to fetch from the AppSetting
933
+ */
934
+ select?: Prisma.AppSettingSelect<ExtArgs> | null;
935
+ /**
936
+ * Omit specific fields from the AppSetting
937
+ */
938
+ omit?: Prisma.AppSettingOmit<ExtArgs> | null;
939
+ };