@minimalcorp/tsunagi 0.2.0 → 0.3.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.
Files changed (137) 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.js.nft.json +1 -1
  12. package/.next/standalone/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/standalone/apps/web/.next/server/app/_not-found.html +1 -1
  14. package/.next/standalone/apps/web/.next/server/app/_not-found.rsc +14 -14
  15. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
  16. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  17. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_index.segment.rsc +9 -9
  18. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  19. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  20. package/.next/standalone/apps/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  21. package/.next/standalone/apps/web/.next/server/app/index.html +1 -1
  22. package/.next/standalone/apps/web/.next/server/app/index.rsc +16 -16
  23. package/.next/standalone/apps/web/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  24. package/.next/standalone/apps/web/.next/server/app/index.segments/_full.segment.rsc +16 -16
  25. package/.next/standalone/apps/web/.next/server/app/index.segments/_head.segment.rsc +4 -4
  26. package/.next/standalone/apps/web/.next/server/app/index.segments/_index.segment.rsc +9 -9
  27. package/.next/standalone/apps/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  28. package/.next/standalone/apps/web/.next/server/app/page.js.nft.json +1 -1
  29. package/.next/standalone/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/apps/web/.next/server/app/settings/page.js.nft.json +1 -1
  31. package/.next/standalone/apps/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  32. package/.next/standalone/apps/web/.next/server/app/settings.html +1 -1
  33. package/.next/standalone/apps/web/.next/server/app/settings.rsc +17 -16
  34. package/.next/standalone/apps/web/.next/server/app/settings.segments/_full.segment.rsc +17 -16
  35. package/.next/standalone/apps/web/.next/server/app/settings.segments/_head.segment.rsc +4 -4
  36. package/.next/standalone/apps/web/.next/server/app/settings.segments/_index.segment.rsc +9 -9
  37. package/.next/standalone/apps/web/.next/server/app/settings.segments/_tree.segment.rsc +3 -2
  38. package/.next/standalone/apps/web/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +5 -4
  39. package/.next/standalone/apps/web/.next/server/app/settings.segments/settings.segment.rsc +3 -3
  40. package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page.js.nft.json +1 -1
  41. package/.next/standalone/apps/web/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__00qk65u._.js +3 -0
  43. package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__02o_btn._.js +2 -2
  44. package/.next/standalone/apps/web/.next/server/chunks/ssr/_03vftq7._.js +7 -0
  45. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0835zmv._.js +14 -0
  46. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0g.cd6a._.js +1 -1
  47. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0g79jqo._.js +20 -0
  48. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0kflgfj._.js +20 -0
  49. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0w2dm3r._.js +3 -0
  50. package/.next/standalone/apps/web/.next/server/chunks/ssr/_10gk93.._.js +3 -0
  51. package/.next/standalone/apps/web/.next/server/chunks/ssr/{_053072t._.js → _139_l.u._.js} +2 -2
  52. package/.next/standalone/apps/web/.next/server/chunks/ssr/_13w5ytx._.js +7 -0
  53. package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_settings_page_tsx_0i6itlb._.js +2 -2
  54. package/.next/standalone/apps/web/.next/server/chunks/ssr/apps_web_src_app_tasks_[id]_page_tsx_0jshsm2._.js +4 -21
  55. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0bfjoue._.js → node_modules_09d2oqj._.js} +1 -1
  56. package/.next/standalone/apps/web/.next/server/chunks/ssr/node_modules_0a57phw._.js +3 -0
  57. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0a9pqes._.js → node_modules_0ak_3rk._.js} +1 -1
  58. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0mpkxmv._.js → node_modules_0cv326~._.js} +1 -1
  59. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0zstt1y._.js → node_modules_0h.vgyn._.js} +1 -1
  60. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0~2ubpz._.js → node_modules_0npujym._.js} +1 -1
  61. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0_1re~9._.js → node_modules_0q_5qo~._.js} +1 -1
  62. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0e.hm5q._.js → node_modules_0sn0lqb._.js} +1 -1
  63. package/.next/standalone/apps/web/.next/server/chunks/ssr/{node_modules_0-g_j5j._.js → node_modules_11-z65a._.js} +1 -1
  64. package/.next/standalone/apps/web/.next/server/middleware-build-manifest.js +3 -3
  65. package/.next/standalone/apps/web/.next/server/pages/404.html +1 -1
  66. package/.next/standalone/apps/web/.next/server/pages/500.html +1 -1
  67. package/.next/standalone/apps/web/.next/server/server-reference-manifest.js +1 -1
  68. package/.next/standalone/apps/web/.next/server/server-reference-manifest.json +1 -1
  69. package/.next/standalone/apps/web/.next/static/chunks/0.gcmzq82~36i.js +1 -0
  70. package/.next/standalone/apps/web/.next/static/chunks/06gfh91..uydi.js +5 -0
  71. package/.next/standalone/apps/web/.next/static/chunks/08e.dbdz18nd2.js +18 -0
  72. package/.next/standalone/apps/web/.next/static/chunks/0b90ys7wq-p.4.css +4 -0
  73. package/.next/standalone/apps/web/.next/static/chunks/0crn03y2tj0lu.js +6 -0
  74. package/.next/standalone/apps/web/.next/static/chunks/{0s7g4uwmm49t..js → 0l83q95s~tih4.js} +2 -2
  75. package/.next/standalone/apps/web/.next/static/chunks/0lvl3ec93cab_.js +7 -0
  76. package/.next/standalone/apps/web/.next/static/chunks/0lxvbkhh7amha.js +1 -0
  77. package/.next/standalone/apps/web/.next/static/chunks/0mqupo29wme26.js +7 -0
  78. package/.next/standalone/apps/web/.next/static/chunks/0rn1kcmsfzjmz.js +12 -0
  79. package/.next/standalone/apps/web/.next/static/chunks/0whl1y16cvn5q.js +1 -0
  80. package/.next/standalone/apps/web/.next/static/chunks/0z60ewb40i2ce.js +1 -0
  81. package/.next/standalone/apps/web/.next/static/chunks/0~qk-51yuw4mm.js +18 -0
  82. package/.next/standalone/apps/web/.next/static/chunks/{0v3hfoggxwsov.js → 149sia28cskw9.js} +1 -1
  83. package/.next/standalone/apps/web/.next/static/chunks/17~93fal1fw_d.js +5 -0
  84. package/dist/prisma/migrations/20261007000000_add_claude_profiles/migration.sql +10 -0
  85. package/dist/prisma/schema.prisma +9 -0
  86. package/dist/server/generated/prisma/browser.d.ts +5 -0
  87. package/dist/server/generated/prisma/client.d.ts +5 -0
  88. package/dist/server/generated/prisma/internal/class.d.ts +11 -0
  89. package/dist/server/generated/prisma/internal/class.js +4 -4
  90. package/dist/server/generated/prisma/internal/prismaNamespace.d.ts +83 -1
  91. package/dist/server/generated/prisma/internal/prismaNamespace.js +6 -0
  92. package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.d.ts +7 -0
  93. package/dist/server/generated/prisma/internal/prismaNamespaceBrowser.js +6 -0
  94. package/dist/server/generated/prisma/models/ClaudeProfile.d.ts +939 -0
  95. package/dist/server/generated/prisma/models/ClaudeProfile.js +1 -0
  96. package/dist/server/generated/prisma/models.d.ts +1 -0
  97. package/dist/server/index.js +17 -0
  98. package/dist/server/lib/claude-config-guard.d.ts +7 -5
  99. package/dist/server/lib/claude-config-guard.js +31 -12
  100. package/dist/server/lib/claude-profiles.d.ts +49 -0
  101. package/dist/server/lib/claude-profiles.js +168 -0
  102. package/dist/server/lib/pty-env-sync.d.ts +12 -0
  103. package/dist/server/lib/pty-env-sync.js +139 -0
  104. package/dist/server/lib/pty-launch.d.ts +36 -0
  105. package/dist/server/lib/pty-launch.js +141 -0
  106. package/dist/server/lib/repositories/environment.js +8 -34
  107. package/dist/server/pty-manager.d.ts +23 -1
  108. package/dist/server/pty-manager.js +7 -1
  109. package/dist/server/routes/claude-profiles.d.ts +2 -0
  110. package/dist/server/routes/claude-profiles.js +138 -0
  111. package/dist/server/routes/env.js +25 -1
  112. package/dist/server/routes/onboarding.js +15 -6
  113. package/dist/server/routes/terminal.js +34 -120
  114. package/npm-shrinkwrap.json +2 -2
  115. package/package.json +1 -1
  116. package/.next/standalone/apps/web/.next/server/chunks/ssr/[root-of-the-server]__03~.ax1._.js +0 -3
  117. package/.next/standalone/apps/web/.next/server/chunks/ssr/_07i72iz._.js +0 -3
  118. package/.next/standalone/apps/web/.next/server/chunks/ssr/_09eooml._.js +0 -7
  119. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0bru-z.._.js +0 -3
  120. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0i8ojdw._.js +0 -14
  121. package/.next/standalone/apps/web/.next/server/chunks/ssr/_0mtw02l._.js +0 -3
  122. package/.next/standalone/apps/web/.next/server/chunks/ssr/_109pmo2._.js +0 -3
  123. package/.next/standalone/apps/web/.next/server/chunks/ssr/_12aa-fs._.js +0 -7
  124. package/.next/standalone/apps/web/.next/static/chunks/0.qz1zt1c.y.n.js +0 -5
  125. package/.next/standalone/apps/web/.next/static/chunks/01mfp5lo0gy.q.js +0 -23
  126. package/.next/standalone/apps/web/.next/static/chunks/0_by0zpp68~r7.js +0 -1
  127. package/.next/standalone/apps/web/.next/static/chunks/0ajw1mjy3owa4.js +0 -1
  128. package/.next/standalone/apps/web/.next/static/chunks/0fe4v5dh3whem.js +0 -5
  129. package/.next/standalone/apps/web/.next/static/chunks/0gzt~9euv6u2y.js +0 -12
  130. package/.next/standalone/apps/web/.next/static/chunks/0jcorj3-aambm.js +0 -1
  131. package/.next/standalone/apps/web/.next/static/chunks/0wnto9g4i0s3h.css +0 -4
  132. package/.next/standalone/apps/web/.next/static/chunks/0wzu~340lh7o~.js +0 -7
  133. package/.next/standalone/apps/web/.next/static/chunks/0xa_n_zp.qw-b.js +0 -1
  134. package/.next/standalone/apps/web/.next/static/chunks/0~_c.mwboavrv.js +0 -7
  135. /package/.next/standalone/apps/web/.next/static/{OXWK1FxsZh6lcEQawkL6h → Qv73X7lHL0PkQ5DtK6UEF}/_buildManifest.js +0 -0
  136. /package/.next/standalone/apps/web/.next/static/{OXWK1FxsZh6lcEQawkL6h → Qv73X7lHL0PkQ5DtK6UEF}/_clientMiddlewareManifest.js +0 -0
  137. /package/.next/standalone/apps/web/.next/static/{OXWK1FxsZh6lcEQawkL6h → Qv73X7lHL0PkQ5DtK6UEF}/_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 ClaudeProfile
5
+ *
6
+ */
7
+ export type ClaudeProfileModel = runtime.Types.Result.DefaultSelection<Prisma.$ClaudeProfilePayload>;
8
+ export type AggregateClaudeProfile = {
9
+ _count: ClaudeProfileCountAggregateOutputType | null;
10
+ _min: ClaudeProfileMinAggregateOutputType | null;
11
+ _max: ClaudeProfileMaxAggregateOutputType | null;
12
+ };
13
+ export type ClaudeProfileMinAggregateOutputType = {
14
+ slug: string | null;
15
+ name: string | null;
16
+ createdAt: Date | null;
17
+ };
18
+ export type ClaudeProfileMaxAggregateOutputType = {
19
+ slug: string | null;
20
+ name: string | null;
21
+ createdAt: Date | null;
22
+ };
23
+ export type ClaudeProfileCountAggregateOutputType = {
24
+ slug: number;
25
+ name: number;
26
+ createdAt: number;
27
+ _all: number;
28
+ };
29
+ export type ClaudeProfileMinAggregateInputType = {
30
+ slug?: true;
31
+ name?: true;
32
+ createdAt?: true;
33
+ };
34
+ export type ClaudeProfileMaxAggregateInputType = {
35
+ slug?: true;
36
+ name?: true;
37
+ createdAt?: true;
38
+ };
39
+ export type ClaudeProfileCountAggregateInputType = {
40
+ slug?: true;
41
+ name?: true;
42
+ createdAt?: true;
43
+ _all?: true;
44
+ };
45
+ export type ClaudeProfileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
46
+ /**
47
+ * Filter which ClaudeProfile to aggregate.
48
+ */
49
+ where?: Prisma.ClaudeProfileWhereInput;
50
+ /**
51
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52
+ *
53
+ * Determine the order of ClaudeProfiles to fetch.
54
+ */
55
+ orderBy?: Prisma.ClaudeProfileOrderByWithRelationInput | Prisma.ClaudeProfileOrderByWithRelationInput[];
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.ClaudeProfileWhereUniqueInput;
62
+ /**
63
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64
+ *
65
+ * Take `±n` ClaudeProfiles 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` ClaudeProfiles.
72
+ */
73
+ skip?: number;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76
+ *
77
+ * Count returned ClaudeProfiles
78
+ **/
79
+ _count?: true | ClaudeProfileCountAggregateInputType;
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?: ClaudeProfileMinAggregateInputType;
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?: ClaudeProfileMaxAggregateInputType;
92
+ };
93
+ export type GetClaudeProfileAggregateType<T extends ClaudeProfileAggregateArgs> = {
94
+ [P in keyof T & keyof AggregateClaudeProfile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateClaudeProfile[P]> : Prisma.GetScalarType<T[P], AggregateClaudeProfile[P]>;
95
+ };
96
+ export type ClaudeProfileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
+ where?: Prisma.ClaudeProfileWhereInput;
98
+ orderBy?: Prisma.ClaudeProfileOrderByWithAggregationInput | Prisma.ClaudeProfileOrderByWithAggregationInput[];
99
+ by: Prisma.ClaudeProfileScalarFieldEnum[] | Prisma.ClaudeProfileScalarFieldEnum;
100
+ having?: Prisma.ClaudeProfileScalarWhereWithAggregatesInput;
101
+ take?: number;
102
+ skip?: number;
103
+ _count?: ClaudeProfileCountAggregateInputType | true;
104
+ _min?: ClaudeProfileMinAggregateInputType;
105
+ _max?: ClaudeProfileMaxAggregateInputType;
106
+ };
107
+ export type ClaudeProfileGroupByOutputType = {
108
+ slug: string;
109
+ name: string;
110
+ createdAt: Date;
111
+ _count: ClaudeProfileCountAggregateOutputType | null;
112
+ _min: ClaudeProfileMinAggregateOutputType | null;
113
+ _max: ClaudeProfileMaxAggregateOutputType | null;
114
+ };
115
+ export type GetClaudeProfileGroupByPayload<T extends ClaudeProfileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ClaudeProfileGroupByOutputType, T['by']> & {
116
+ [P in ((keyof T) & (keyof ClaudeProfileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ClaudeProfileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ClaudeProfileGroupByOutputType[P]>;
117
+ }>>;
118
+ export type ClaudeProfileWhereInput = {
119
+ AND?: Prisma.ClaudeProfileWhereInput | Prisma.ClaudeProfileWhereInput[];
120
+ OR?: Prisma.ClaudeProfileWhereInput[];
121
+ NOT?: Prisma.ClaudeProfileWhereInput | Prisma.ClaudeProfileWhereInput[];
122
+ slug?: Prisma.StringFilter<"ClaudeProfile"> | string;
123
+ name?: Prisma.StringFilter<"ClaudeProfile"> | string;
124
+ createdAt?: Prisma.DateTimeFilter<"ClaudeProfile"> | Date | string;
125
+ };
126
+ export type ClaudeProfileOrderByWithRelationInput = {
127
+ slug?: Prisma.SortOrder;
128
+ name?: Prisma.SortOrder;
129
+ createdAt?: Prisma.SortOrder;
130
+ };
131
+ export type ClaudeProfileWhereUniqueInput = Prisma.AtLeast<{
132
+ slug?: string;
133
+ AND?: Prisma.ClaudeProfileWhereInput | Prisma.ClaudeProfileWhereInput[];
134
+ OR?: Prisma.ClaudeProfileWhereInput[];
135
+ NOT?: Prisma.ClaudeProfileWhereInput | Prisma.ClaudeProfileWhereInput[];
136
+ name?: Prisma.StringFilter<"ClaudeProfile"> | string;
137
+ createdAt?: Prisma.DateTimeFilter<"ClaudeProfile"> | Date | string;
138
+ }, "slug">;
139
+ export type ClaudeProfileOrderByWithAggregationInput = {
140
+ slug?: Prisma.SortOrder;
141
+ name?: Prisma.SortOrder;
142
+ createdAt?: Prisma.SortOrder;
143
+ _count?: Prisma.ClaudeProfileCountOrderByAggregateInput;
144
+ _max?: Prisma.ClaudeProfileMaxOrderByAggregateInput;
145
+ _min?: Prisma.ClaudeProfileMinOrderByAggregateInput;
146
+ };
147
+ export type ClaudeProfileScalarWhereWithAggregatesInput = {
148
+ AND?: Prisma.ClaudeProfileScalarWhereWithAggregatesInput | Prisma.ClaudeProfileScalarWhereWithAggregatesInput[];
149
+ OR?: Prisma.ClaudeProfileScalarWhereWithAggregatesInput[];
150
+ NOT?: Prisma.ClaudeProfileScalarWhereWithAggregatesInput | Prisma.ClaudeProfileScalarWhereWithAggregatesInput[];
151
+ slug?: Prisma.StringWithAggregatesFilter<"ClaudeProfile"> | string;
152
+ name?: Prisma.StringWithAggregatesFilter<"ClaudeProfile"> | string;
153
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ClaudeProfile"> | Date | string;
154
+ };
155
+ export type ClaudeProfileCreateInput = {
156
+ slug: string;
157
+ name: string;
158
+ createdAt?: Date | string;
159
+ };
160
+ export type ClaudeProfileUncheckedCreateInput = {
161
+ slug: string;
162
+ name: string;
163
+ createdAt?: Date | string;
164
+ };
165
+ export type ClaudeProfileUpdateInput = {
166
+ slug?: Prisma.StringFieldUpdateOperationsInput | string;
167
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
168
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
169
+ };
170
+ export type ClaudeProfileUncheckedUpdateInput = {
171
+ slug?: Prisma.StringFieldUpdateOperationsInput | string;
172
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
173
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
174
+ };
175
+ export type ClaudeProfileCreateManyInput = {
176
+ slug: string;
177
+ name: string;
178
+ createdAt?: Date | string;
179
+ };
180
+ export type ClaudeProfileUpdateManyMutationInput = {
181
+ slug?: Prisma.StringFieldUpdateOperationsInput | string;
182
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
183
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
184
+ };
185
+ export type ClaudeProfileUncheckedUpdateManyInput = {
186
+ slug?: Prisma.StringFieldUpdateOperationsInput | string;
187
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
188
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
189
+ };
190
+ export type ClaudeProfileCountOrderByAggregateInput = {
191
+ slug?: Prisma.SortOrder;
192
+ name?: Prisma.SortOrder;
193
+ createdAt?: Prisma.SortOrder;
194
+ };
195
+ export type ClaudeProfileMaxOrderByAggregateInput = {
196
+ slug?: Prisma.SortOrder;
197
+ name?: Prisma.SortOrder;
198
+ createdAt?: Prisma.SortOrder;
199
+ };
200
+ export type ClaudeProfileMinOrderByAggregateInput = {
201
+ slug?: Prisma.SortOrder;
202
+ name?: Prisma.SortOrder;
203
+ createdAt?: Prisma.SortOrder;
204
+ };
205
+ export type ClaudeProfileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
206
+ slug?: boolean;
207
+ name?: boolean;
208
+ createdAt?: boolean;
209
+ }, ExtArgs["result"]["claudeProfile"]>;
210
+ export type ClaudeProfileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
211
+ slug?: boolean;
212
+ name?: boolean;
213
+ createdAt?: boolean;
214
+ }, ExtArgs["result"]["claudeProfile"]>;
215
+ export type ClaudeProfileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
216
+ slug?: boolean;
217
+ name?: boolean;
218
+ createdAt?: boolean;
219
+ }, ExtArgs["result"]["claudeProfile"]>;
220
+ export type ClaudeProfileSelectScalar = {
221
+ slug?: boolean;
222
+ name?: boolean;
223
+ createdAt?: boolean;
224
+ };
225
+ export type ClaudeProfileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"slug" | "name" | "createdAt", ExtArgs["result"]["claudeProfile"]>;
226
+ export type $ClaudeProfilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
227
+ name: "ClaudeProfile";
228
+ objects: {};
229
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
230
+ slug: string;
231
+ name: string;
232
+ createdAt: Date;
233
+ }, ExtArgs["result"]["claudeProfile"]>;
234
+ composites: {};
235
+ };
236
+ export type ClaudeProfileGetPayload<S extends boolean | null | undefined | ClaudeProfileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload, S>;
237
+ export type ClaudeProfileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ClaudeProfileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
238
+ select?: ClaudeProfileCountAggregateInputType | true;
239
+ };
240
+ export interface ClaudeProfileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
241
+ [K: symbol]: {
242
+ types: Prisma.TypeMap<ExtArgs>['model']['ClaudeProfile'];
243
+ meta: {
244
+ name: 'ClaudeProfile';
245
+ };
246
+ };
247
+ /**
248
+ * Find zero or one ClaudeProfile that matches the filter.
249
+ * @param {ClaudeProfileFindUniqueArgs} args - Arguments to find a ClaudeProfile
250
+ * @example
251
+ * // Get one ClaudeProfile
252
+ * const claudeProfile = await prisma.claudeProfile.findUnique({
253
+ * where: {
254
+ * // ... provide filter here
255
+ * }
256
+ * })
257
+ */
258
+ findUnique<T extends ClaudeProfileFindUniqueArgs>(args: Prisma.SelectSubset<T, ClaudeProfileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
259
+ /**
260
+ * Find one ClaudeProfile that matches the filter or throw an error with `error.code='P2025'`
261
+ * if no matches were found.
262
+ * @param {ClaudeProfileFindUniqueOrThrowArgs} args - Arguments to find a ClaudeProfile
263
+ * @example
264
+ * // Get one ClaudeProfile
265
+ * const claudeProfile = await prisma.claudeProfile.findUniqueOrThrow({
266
+ * where: {
267
+ * // ... provide filter here
268
+ * }
269
+ * })
270
+ */
271
+ findUniqueOrThrow<T extends ClaudeProfileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ClaudeProfileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
272
+ /**
273
+ * Find the first ClaudeProfile 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 {ClaudeProfileFindFirstArgs} args - Arguments to find a ClaudeProfile
277
+ * @example
278
+ * // Get one ClaudeProfile
279
+ * const claudeProfile = await prisma.claudeProfile.findFirst({
280
+ * where: {
281
+ * // ... provide filter here
282
+ * }
283
+ * })
284
+ */
285
+ findFirst<T extends ClaudeProfileFindFirstArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileFindFirstArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
286
+ /**
287
+ * Find the first ClaudeProfile 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 {ClaudeProfileFindFirstOrThrowArgs} args - Arguments to find a ClaudeProfile
292
+ * @example
293
+ * // Get one ClaudeProfile
294
+ * const claudeProfile = await prisma.claudeProfile.findFirstOrThrow({
295
+ * where: {
296
+ * // ... provide filter here
297
+ * }
298
+ * })
299
+ */
300
+ findFirstOrThrow<T extends ClaudeProfileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
301
+ /**
302
+ * Find zero or more ClaudeProfiles 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 {ClaudeProfileFindManyArgs} args - Arguments to filter and select certain fields only.
306
+ * @example
307
+ * // Get all ClaudeProfiles
308
+ * const claudeProfiles = await prisma.claudeProfile.findMany()
309
+ *
310
+ * // Get first 10 ClaudeProfiles
311
+ * const claudeProfiles = await prisma.claudeProfile.findMany({ take: 10 })
312
+ *
313
+ * // Only select the `slug`
314
+ * const claudeProfileWithSlugOnly = await prisma.claudeProfile.findMany({ select: { slug: true } })
315
+ *
316
+ */
317
+ findMany<T extends ClaudeProfileFindManyArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
318
+ /**
319
+ * Create a ClaudeProfile.
320
+ * @param {ClaudeProfileCreateArgs} args - Arguments to create a ClaudeProfile.
321
+ * @example
322
+ * // Create one ClaudeProfile
323
+ * const ClaudeProfile = await prisma.claudeProfile.create({
324
+ * data: {
325
+ * // ... data to create a ClaudeProfile
326
+ * }
327
+ * })
328
+ *
329
+ */
330
+ create<T extends ClaudeProfileCreateArgs>(args: Prisma.SelectSubset<T, ClaudeProfileCreateArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
331
+ /**
332
+ * Create many ClaudeProfiles.
333
+ * @param {ClaudeProfileCreateManyArgs} args - Arguments to create many ClaudeProfiles.
334
+ * @example
335
+ * // Create many ClaudeProfiles
336
+ * const claudeProfile = await prisma.claudeProfile.createMany({
337
+ * data: [
338
+ * // ... provide data here
339
+ * ]
340
+ * })
341
+ *
342
+ */
343
+ createMany<T extends ClaudeProfileCreateManyArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
344
+ /**
345
+ * Create many ClaudeProfiles and returns the data saved in the database.
346
+ * @param {ClaudeProfileCreateManyAndReturnArgs} args - Arguments to create many ClaudeProfiles.
347
+ * @example
348
+ * // Create many ClaudeProfiles
349
+ * const claudeProfile = await prisma.claudeProfile.createManyAndReturn({
350
+ * data: [
351
+ * // ... provide data here
352
+ * ]
353
+ * })
354
+ *
355
+ * // Create many ClaudeProfiles and only return the `slug`
356
+ * const claudeProfileWithSlugOnly = await prisma.claudeProfile.createManyAndReturn({
357
+ * select: { slug: 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 ClaudeProfileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
367
+ /**
368
+ * Delete a ClaudeProfile.
369
+ * @param {ClaudeProfileDeleteArgs} args - Arguments to delete one ClaudeProfile.
370
+ * @example
371
+ * // Delete one ClaudeProfile
372
+ * const ClaudeProfile = await prisma.claudeProfile.delete({
373
+ * where: {
374
+ * // ... filter to delete one ClaudeProfile
375
+ * }
376
+ * })
377
+ *
378
+ */
379
+ delete<T extends ClaudeProfileDeleteArgs>(args: Prisma.SelectSubset<T, ClaudeProfileDeleteArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
380
+ /**
381
+ * Update one ClaudeProfile.
382
+ * @param {ClaudeProfileUpdateArgs} args - Arguments to update one ClaudeProfile.
383
+ * @example
384
+ * // Update one ClaudeProfile
385
+ * const claudeProfile = await prisma.claudeProfile.update({
386
+ * where: {
387
+ * // ... provide filter here
388
+ * },
389
+ * data: {
390
+ * // ... provide data here
391
+ * }
392
+ * })
393
+ *
394
+ */
395
+ update<T extends ClaudeProfileUpdateArgs>(args: Prisma.SelectSubset<T, ClaudeProfileUpdateArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
396
+ /**
397
+ * Delete zero or more ClaudeProfiles.
398
+ * @param {ClaudeProfileDeleteManyArgs} args - Arguments to filter ClaudeProfiles to delete.
399
+ * @example
400
+ * // Delete a few ClaudeProfiles
401
+ * const { count } = await prisma.claudeProfile.deleteMany({
402
+ * where: {
403
+ * // ... provide filter here
404
+ * }
405
+ * })
406
+ *
407
+ */
408
+ deleteMany<T extends ClaudeProfileDeleteManyArgs>(args?: Prisma.SelectSubset<T, ClaudeProfileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
409
+ /**
410
+ * Update zero or more ClaudeProfiles.
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 {ClaudeProfileUpdateManyArgs} args - Arguments to update one or more rows.
414
+ * @example
415
+ * // Update many ClaudeProfiles
416
+ * const claudeProfile = await prisma.claudeProfile.updateMany({
417
+ * where: {
418
+ * // ... provide filter here
419
+ * },
420
+ * data: {
421
+ * // ... provide data here
422
+ * }
423
+ * })
424
+ *
425
+ */
426
+ updateMany<T extends ClaudeProfileUpdateManyArgs>(args: Prisma.SelectSubset<T, ClaudeProfileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
427
+ /**
428
+ * Update zero or more ClaudeProfiles and returns the data updated in the database.
429
+ * @param {ClaudeProfileUpdateManyAndReturnArgs} args - Arguments to update many ClaudeProfiles.
430
+ * @example
431
+ * // Update many ClaudeProfiles
432
+ * const claudeProfile = await prisma.claudeProfile.updateManyAndReturn({
433
+ * where: {
434
+ * // ... provide filter here
435
+ * },
436
+ * data: [
437
+ * // ... provide data here
438
+ * ]
439
+ * })
440
+ *
441
+ * // Update zero or more ClaudeProfiles and only return the `slug`
442
+ * const claudeProfileWithSlugOnly = await prisma.claudeProfile.updateManyAndReturn({
443
+ * select: { slug: 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 ClaudeProfileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ClaudeProfileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
456
+ /**
457
+ * Create or update one ClaudeProfile.
458
+ * @param {ClaudeProfileUpsertArgs} args - Arguments to update or create a ClaudeProfile.
459
+ * @example
460
+ * // Update or create a ClaudeProfile
461
+ * const claudeProfile = await prisma.claudeProfile.upsert({
462
+ * create: {
463
+ * // ... data to create a ClaudeProfile
464
+ * },
465
+ * update: {
466
+ * // ... in case it already exists, update
467
+ * },
468
+ * where: {
469
+ * // ... the filter for the ClaudeProfile we want to update
470
+ * }
471
+ * })
472
+ */
473
+ upsert<T extends ClaudeProfileUpsertArgs>(args: Prisma.SelectSubset<T, ClaudeProfileUpsertArgs<ExtArgs>>): Prisma.Prisma__ClaudeProfileClient<runtime.Types.Result.GetResult<Prisma.$ClaudeProfilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
474
+ /**
475
+ * Count the number of ClaudeProfiles.
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 {ClaudeProfileCountArgs} args - Arguments to filter ClaudeProfiles to count.
479
+ * @example
480
+ * // Count the number of ClaudeProfiles
481
+ * const count = await prisma.claudeProfile.count({
482
+ * where: {
483
+ * // ... the filter for the ClaudeProfiles we want to count
484
+ * }
485
+ * })
486
+ **/
487
+ count<T extends ClaudeProfileCountArgs>(args?: Prisma.Subset<T, ClaudeProfileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ClaudeProfileCountAggregateOutputType> : number>;
488
+ /**
489
+ * Allows you to perform aggregations operations on a ClaudeProfile.
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 {ClaudeProfileAggregateArgs} 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 ClaudeProfileAggregateArgs>(args: Prisma.Subset<T, ClaudeProfileAggregateArgs>): Prisma.PrismaPromise<GetClaudeProfileAggregateType<T>>;
513
+ /**
514
+ * Group by ClaudeProfile.
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 {ClaudeProfileGroupByArgs} 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 ClaudeProfileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
532
+ orderBy: ClaudeProfileGroupByArgs['orderBy'];
533
+ } : {
534
+ orderBy?: ClaudeProfileGroupByArgs['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, ClaudeProfileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClaudeProfileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
549
+ /**
550
+ * Fields of the ClaudeProfile model
551
+ */
552
+ readonly fields: ClaudeProfileFieldRefs;
553
+ }
554
+ /**
555
+ * The delegate class that acts as a "Promise-like" for ClaudeProfile.
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__ClaudeProfileClient<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 ClaudeProfile model
585
+ */
586
+ export interface ClaudeProfileFieldRefs {
587
+ readonly slug: Prisma.FieldRef<"ClaudeProfile", 'String'>;
588
+ readonly name: Prisma.FieldRef<"ClaudeProfile", 'String'>;
589
+ readonly createdAt: Prisma.FieldRef<"ClaudeProfile", 'DateTime'>;
590
+ }
591
+ /**
592
+ * ClaudeProfile findUnique
593
+ */
594
+ export type ClaudeProfileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
595
+ /**
596
+ * Select specific fields to fetch from the ClaudeProfile
597
+ */
598
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
599
+ /**
600
+ * Omit specific fields from the ClaudeProfile
601
+ */
602
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
603
+ /**
604
+ * Filter, which ClaudeProfile to fetch.
605
+ */
606
+ where: Prisma.ClaudeProfileWhereUniqueInput;
607
+ };
608
+ /**
609
+ * ClaudeProfile findUniqueOrThrow
610
+ */
611
+ export type ClaudeProfileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
612
+ /**
613
+ * Select specific fields to fetch from the ClaudeProfile
614
+ */
615
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
616
+ /**
617
+ * Omit specific fields from the ClaudeProfile
618
+ */
619
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
620
+ /**
621
+ * Filter, which ClaudeProfile to fetch.
622
+ */
623
+ where: Prisma.ClaudeProfileWhereUniqueInput;
624
+ };
625
+ /**
626
+ * ClaudeProfile findFirst
627
+ */
628
+ export type ClaudeProfileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
629
+ /**
630
+ * Select specific fields to fetch from the ClaudeProfile
631
+ */
632
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
633
+ /**
634
+ * Omit specific fields from the ClaudeProfile
635
+ */
636
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
637
+ /**
638
+ * Filter, which ClaudeProfile to fetch.
639
+ */
640
+ where?: Prisma.ClaudeProfileWhereInput;
641
+ /**
642
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
643
+ *
644
+ * Determine the order of ClaudeProfiles to fetch.
645
+ */
646
+ orderBy?: Prisma.ClaudeProfileOrderByWithRelationInput | Prisma.ClaudeProfileOrderByWithRelationInput[];
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 ClaudeProfiles.
651
+ */
652
+ cursor?: Prisma.ClaudeProfileWhereUniqueInput;
653
+ /**
654
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
655
+ *
656
+ * Take `±n` ClaudeProfiles 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` ClaudeProfiles.
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 ClaudeProfiles.
669
+ */
670
+ distinct?: Prisma.ClaudeProfileScalarFieldEnum | Prisma.ClaudeProfileScalarFieldEnum[];
671
+ };
672
+ /**
673
+ * ClaudeProfile findFirstOrThrow
674
+ */
675
+ export type ClaudeProfileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
676
+ /**
677
+ * Select specific fields to fetch from the ClaudeProfile
678
+ */
679
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
680
+ /**
681
+ * Omit specific fields from the ClaudeProfile
682
+ */
683
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
684
+ /**
685
+ * Filter, which ClaudeProfile to fetch.
686
+ */
687
+ where?: Prisma.ClaudeProfileWhereInput;
688
+ /**
689
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
690
+ *
691
+ * Determine the order of ClaudeProfiles to fetch.
692
+ */
693
+ orderBy?: Prisma.ClaudeProfileOrderByWithRelationInput | Prisma.ClaudeProfileOrderByWithRelationInput[];
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 ClaudeProfiles.
698
+ */
699
+ cursor?: Prisma.ClaudeProfileWhereUniqueInput;
700
+ /**
701
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
702
+ *
703
+ * Take `±n` ClaudeProfiles 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` ClaudeProfiles.
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 ClaudeProfiles.
716
+ */
717
+ distinct?: Prisma.ClaudeProfileScalarFieldEnum | Prisma.ClaudeProfileScalarFieldEnum[];
718
+ };
719
+ /**
720
+ * ClaudeProfile findMany
721
+ */
722
+ export type ClaudeProfileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
723
+ /**
724
+ * Select specific fields to fetch from the ClaudeProfile
725
+ */
726
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
727
+ /**
728
+ * Omit specific fields from the ClaudeProfile
729
+ */
730
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
731
+ /**
732
+ * Filter, which ClaudeProfiles to fetch.
733
+ */
734
+ where?: Prisma.ClaudeProfileWhereInput;
735
+ /**
736
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
737
+ *
738
+ * Determine the order of ClaudeProfiles to fetch.
739
+ */
740
+ orderBy?: Prisma.ClaudeProfileOrderByWithRelationInput | Prisma.ClaudeProfileOrderByWithRelationInput[];
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 ClaudeProfiles.
745
+ */
746
+ cursor?: Prisma.ClaudeProfileWhereUniqueInput;
747
+ /**
748
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
749
+ *
750
+ * Take `±n` ClaudeProfiles 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` ClaudeProfiles.
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 ClaudeProfiles.
763
+ */
764
+ distinct?: Prisma.ClaudeProfileScalarFieldEnum | Prisma.ClaudeProfileScalarFieldEnum[];
765
+ };
766
+ /**
767
+ * ClaudeProfile create
768
+ */
769
+ export type ClaudeProfileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
770
+ /**
771
+ * Select specific fields to fetch from the ClaudeProfile
772
+ */
773
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
774
+ /**
775
+ * Omit specific fields from the ClaudeProfile
776
+ */
777
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
778
+ /**
779
+ * The data needed to create a ClaudeProfile.
780
+ */
781
+ data: Prisma.XOR<Prisma.ClaudeProfileCreateInput, Prisma.ClaudeProfileUncheckedCreateInput>;
782
+ };
783
+ /**
784
+ * ClaudeProfile createMany
785
+ */
786
+ export type ClaudeProfileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
787
+ /**
788
+ * The data used to create many ClaudeProfiles.
789
+ */
790
+ data: Prisma.ClaudeProfileCreateManyInput | Prisma.ClaudeProfileCreateManyInput[];
791
+ };
792
+ /**
793
+ * ClaudeProfile createManyAndReturn
794
+ */
795
+ export type ClaudeProfileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
796
+ /**
797
+ * Select specific fields to fetch from the ClaudeProfile
798
+ */
799
+ select?: Prisma.ClaudeProfileSelectCreateManyAndReturn<ExtArgs> | null;
800
+ /**
801
+ * Omit specific fields from the ClaudeProfile
802
+ */
803
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
804
+ /**
805
+ * The data used to create many ClaudeProfiles.
806
+ */
807
+ data: Prisma.ClaudeProfileCreateManyInput | Prisma.ClaudeProfileCreateManyInput[];
808
+ };
809
+ /**
810
+ * ClaudeProfile update
811
+ */
812
+ export type ClaudeProfileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
813
+ /**
814
+ * Select specific fields to fetch from the ClaudeProfile
815
+ */
816
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
817
+ /**
818
+ * Omit specific fields from the ClaudeProfile
819
+ */
820
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
821
+ /**
822
+ * The data needed to update a ClaudeProfile.
823
+ */
824
+ data: Prisma.XOR<Prisma.ClaudeProfileUpdateInput, Prisma.ClaudeProfileUncheckedUpdateInput>;
825
+ /**
826
+ * Choose, which ClaudeProfile to update.
827
+ */
828
+ where: Prisma.ClaudeProfileWhereUniqueInput;
829
+ };
830
+ /**
831
+ * ClaudeProfile updateMany
832
+ */
833
+ export type ClaudeProfileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
+ /**
835
+ * The data used to update ClaudeProfiles.
836
+ */
837
+ data: Prisma.XOR<Prisma.ClaudeProfileUpdateManyMutationInput, Prisma.ClaudeProfileUncheckedUpdateManyInput>;
838
+ /**
839
+ * Filter which ClaudeProfiles to update
840
+ */
841
+ where?: Prisma.ClaudeProfileWhereInput;
842
+ /**
843
+ * Limit how many ClaudeProfiles to update.
844
+ */
845
+ limit?: number;
846
+ };
847
+ /**
848
+ * ClaudeProfile updateManyAndReturn
849
+ */
850
+ export type ClaudeProfileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
851
+ /**
852
+ * Select specific fields to fetch from the ClaudeProfile
853
+ */
854
+ select?: Prisma.ClaudeProfileSelectUpdateManyAndReturn<ExtArgs> | null;
855
+ /**
856
+ * Omit specific fields from the ClaudeProfile
857
+ */
858
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
859
+ /**
860
+ * The data used to update ClaudeProfiles.
861
+ */
862
+ data: Prisma.XOR<Prisma.ClaudeProfileUpdateManyMutationInput, Prisma.ClaudeProfileUncheckedUpdateManyInput>;
863
+ /**
864
+ * Filter which ClaudeProfiles to update
865
+ */
866
+ where?: Prisma.ClaudeProfileWhereInput;
867
+ /**
868
+ * Limit how many ClaudeProfiles to update.
869
+ */
870
+ limit?: number;
871
+ };
872
+ /**
873
+ * ClaudeProfile upsert
874
+ */
875
+ export type ClaudeProfileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
876
+ /**
877
+ * Select specific fields to fetch from the ClaudeProfile
878
+ */
879
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
880
+ /**
881
+ * Omit specific fields from the ClaudeProfile
882
+ */
883
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
884
+ /**
885
+ * The filter to search for the ClaudeProfile to update in case it exists.
886
+ */
887
+ where: Prisma.ClaudeProfileWhereUniqueInput;
888
+ /**
889
+ * In case the ClaudeProfile found by the `where` argument doesn't exist, create a new ClaudeProfile with this data.
890
+ */
891
+ create: Prisma.XOR<Prisma.ClaudeProfileCreateInput, Prisma.ClaudeProfileUncheckedCreateInput>;
892
+ /**
893
+ * In case the ClaudeProfile was found with the provided `where` argument, update it with this data.
894
+ */
895
+ update: Prisma.XOR<Prisma.ClaudeProfileUpdateInput, Prisma.ClaudeProfileUncheckedUpdateInput>;
896
+ };
897
+ /**
898
+ * ClaudeProfile delete
899
+ */
900
+ export type ClaudeProfileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
901
+ /**
902
+ * Select specific fields to fetch from the ClaudeProfile
903
+ */
904
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
905
+ /**
906
+ * Omit specific fields from the ClaudeProfile
907
+ */
908
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
909
+ /**
910
+ * Filter which ClaudeProfile to delete.
911
+ */
912
+ where: Prisma.ClaudeProfileWhereUniqueInput;
913
+ };
914
+ /**
915
+ * ClaudeProfile deleteMany
916
+ */
917
+ export type ClaudeProfileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
918
+ /**
919
+ * Filter which ClaudeProfiles to delete
920
+ */
921
+ where?: Prisma.ClaudeProfileWhereInput;
922
+ /**
923
+ * Limit how many ClaudeProfiles to delete.
924
+ */
925
+ limit?: number;
926
+ };
927
+ /**
928
+ * ClaudeProfile without action
929
+ */
930
+ export type ClaudeProfileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
931
+ /**
932
+ * Select specific fields to fetch from the ClaudeProfile
933
+ */
934
+ select?: Prisma.ClaudeProfileSelect<ExtArgs> | null;
935
+ /**
936
+ * Omit specific fields from the ClaudeProfile
937
+ */
938
+ omit?: Prisma.ClaudeProfileOmit<ExtArgs> | null;
939
+ };