@inkeep/agents-core 0.0.0-dev-20260319030409 → 0.0.0-dev-20260319140628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth-schema.d.ts +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/skills.d.ts +1 -1
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +11 -11
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/data-access/runtime/triggerInvocations.d.ts +1 -1
- package/dist/db/manage/manage-schema.d.ts +361 -361
- package/dist/db/runtime/runtime-schema.d.ts +16 -16
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1686 -1686
- package/package.json +1 -1
|
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "commit" | "tag" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "commit" | "tag" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "commit" | "tag" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "commit" | "tag" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
@@ -1113,7 +1113,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
1113
1113
|
dataType: "json";
|
|
1114
1114
|
columnType: "PgJsonb";
|
|
1115
1115
|
data: {
|
|
1116
|
-
type: "
|
|
1116
|
+
type: "commit" | "tag" | "branch";
|
|
1117
1117
|
name: string;
|
|
1118
1118
|
hash: string;
|
|
1119
1119
|
};
|
|
@@ -1129,7 +1129,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
1129
1129
|
generated: undefined;
|
|
1130
1130
|
}, {}, {
|
|
1131
1131
|
$type: {
|
|
1132
|
-
type: "
|
|
1132
|
+
type: "commit" | "tag" | "branch";
|
|
1133
1133
|
name: string;
|
|
1134
1134
|
hash: string;
|
|
1135
1135
|
};
|
|
@@ -2137,7 +2137,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1813.PgTableWithCo
|
|
|
2137
2137
|
dataType: "json";
|
|
2138
2138
|
columnType: "PgJsonb";
|
|
2139
2139
|
data: {
|
|
2140
|
-
type: "
|
|
2140
|
+
type: "commit" | "tag" | "branch";
|
|
2141
2141
|
name: string;
|
|
2142
2142
|
hash: string;
|
|
2143
2143
|
};
|
|
@@ -2153,7 +2153,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1813.PgTableWithCo
|
|
|
2153
2153
|
generated: undefined;
|
|
2154
2154
|
}, {}, {
|
|
2155
2155
|
$type: {
|
|
2156
|
-
type: "
|
|
2156
|
+
type: "commit" | "tag" | "branch";
|
|
2157
2157
|
name: string;
|
|
2158
2158
|
hash: string;
|
|
2159
2159
|
};
|
|
@@ -3398,7 +3398,7 @@ declare const contextCache: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
3398
3398
|
dataType: "json";
|
|
3399
3399
|
columnType: "PgJsonb";
|
|
3400
3400
|
data: {
|
|
3401
|
-
type: "
|
|
3401
|
+
type: "commit" | "tag" | "branch";
|
|
3402
3402
|
name: string;
|
|
3403
3403
|
hash: string;
|
|
3404
3404
|
};
|
|
@@ -3414,7 +3414,7 @@ declare const contextCache: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
3414
3414
|
generated: undefined;
|
|
3415
3415
|
}, {}, {
|
|
3416
3416
|
$type: {
|
|
3417
|
-
type: "
|
|
3417
|
+
type: "commit" | "tag" | "branch";
|
|
3418
3418
|
name: string;
|
|
3419
3419
|
hash: string;
|
|
3420
3420
|
};
|
|
@@ -3661,7 +3661,7 @@ declare const datasetRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
3661
3661
|
dataType: "json";
|
|
3662
3662
|
columnType: "PgJsonb";
|
|
3663
3663
|
data: {
|
|
3664
|
-
type: "
|
|
3664
|
+
type: "commit" | "tag" | "branch";
|
|
3665
3665
|
name: string;
|
|
3666
3666
|
hash: string;
|
|
3667
3667
|
};
|
|
@@ -3677,7 +3677,7 @@ declare const datasetRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
3677
3677
|
generated: undefined;
|
|
3678
3678
|
}, {}, {
|
|
3679
3679
|
$type: {
|
|
3680
|
-
type: "
|
|
3680
|
+
type: "commit" | "tag" | "branch";
|
|
3681
3681
|
name: string;
|
|
3682
3682
|
hash: string;
|
|
3683
3683
|
};
|
|
@@ -3991,7 +3991,7 @@ declare const evaluationRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
3991
3991
|
dataType: "json";
|
|
3992
3992
|
columnType: "PgJsonb";
|
|
3993
3993
|
data: {
|
|
3994
|
-
type: "
|
|
3994
|
+
type: "commit" | "tag" | "branch";
|
|
3995
3995
|
name: string;
|
|
3996
3996
|
hash: string;
|
|
3997
3997
|
};
|
|
@@ -4007,7 +4007,7 @@ declare const evaluationRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
|
4007
4007
|
generated: undefined;
|
|
4008
4008
|
}, {}, {
|
|
4009
4009
|
$type: {
|
|
4010
|
-
type: "
|
|
4010
|
+
type: "commit" | "tag" | "branch";
|
|
4011
4011
|
name: string;
|
|
4012
4012
|
hash: string;
|
|
4013
4013
|
};
|
|
@@ -4486,7 +4486,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1813.PgTableWithCol
|
|
|
4486
4486
|
tableName: "work_app_github_installations";
|
|
4487
4487
|
dataType: "string";
|
|
4488
4488
|
columnType: "PgVarchar";
|
|
4489
|
-
data: "
|
|
4489
|
+
data: "Organization" | "User";
|
|
4490
4490
|
driverParam: string;
|
|
4491
4491
|
notNull: true;
|
|
4492
4492
|
hasDefault: false;
|
|
@@ -4499,7 +4499,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1813.PgTableWithCol
|
|
|
4499
4499
|
generated: undefined;
|
|
4500
4500
|
}, {}, {
|
|
4501
4501
|
length: 20;
|
|
4502
|
-
$type: "
|
|
4502
|
+
$type: "Organization" | "User";
|
|
4503
4503
|
}>;
|
|
4504
4504
|
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
4505
4505
|
name: "status";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono3 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/no-auth.d.ts
|
|
4
|
-
declare const noAuth: () =>
|
|
4
|
+
declare const noAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { noAuth };
|
package/dist/utils/error.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { HTTPException } from "hono/http-exception";
|
|
|
3
3
|
|
|
4
4
|
//#region src/utils/error.d.ts
|
|
5
5
|
declare const ErrorCode: z.ZodEnum<{
|
|
6
|
-
bad_request: "bad_request";
|
|
7
6
|
unauthorized: "unauthorized";
|
|
7
|
+
bad_request: "bad_request";
|
|
8
8
|
forbidden: "forbidden";
|
|
9
9
|
not_found: "not_found";
|
|
10
10
|
conflict: "conflict";
|
|
@@ -19,8 +19,8 @@ declare const problemDetailsSchema: z.ZodObject<{
|
|
|
19
19
|
instance: z.ZodOptional<z.ZodString>;
|
|
20
20
|
requestId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
code: z.ZodEnum<{
|
|
22
|
-
bad_request: "bad_request";
|
|
23
22
|
unauthorized: "unauthorized";
|
|
23
|
+
bad_request: "bad_request";
|
|
24
24
|
forbidden: "forbidden";
|
|
25
25
|
not_found: "not_found";
|
|
26
26
|
conflict: "conflict";
|
|
@@ -33,8 +33,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
|
|
|
33
33
|
declare const errorResponseSchema: z.ZodObject<{
|
|
34
34
|
error: z.ZodObject<{
|
|
35
35
|
code: z.ZodEnum<{
|
|
36
|
-
bad_request: "bad_request";
|
|
37
36
|
unauthorized: "unauthorized";
|
|
37
|
+
bad_request: "bad_request";
|
|
38
38
|
forbidden: "forbidden";
|
|
39
39
|
not_found: "not_found";
|
|
40
40
|
conflict: "conflict";
|
|
@@ -71,12 +71,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
|
|
|
71
71
|
schema: z.ZodObject<{
|
|
72
72
|
instance: z.ZodOptional<z.ZodString>;
|
|
73
73
|
requestId: z.ZodOptional<z.ZodString>;
|
|
74
|
-
code: z.ZodLiteral<"
|
|
74
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
75
75
|
detail: z.ZodString;
|
|
76
76
|
title: z.ZodString;
|
|
77
77
|
status: z.ZodNumber;
|
|
78
78
|
error: z.ZodObject<{
|
|
79
|
-
code: z.ZodLiteral<"
|
|
79
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
80
80
|
message: z.ZodString;
|
|
81
81
|
}, z.core.$strip>;
|
|
82
82
|
}, z.core.$strip>;
|
|
@@ -93,12 +93,12 @@ declare const commonCreateErrorResponses: {
|
|
|
93
93
|
schema: z.ZodObject<{
|
|
94
94
|
instance: z.ZodOptional<z.ZodString>;
|
|
95
95
|
requestId: z.ZodOptional<z.ZodString>;
|
|
96
|
-
code: z.ZodLiteral<"
|
|
96
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
97
97
|
detail: z.ZodString;
|
|
98
98
|
title: z.ZodString;
|
|
99
99
|
status: z.ZodNumber;
|
|
100
100
|
error: z.ZodObject<{
|
|
101
|
-
code: z.ZodLiteral<"
|
|
101
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
102
102
|
message: z.ZodString;
|
|
103
103
|
}, z.core.$strip>;
|
|
104
104
|
}, z.core.$strip>;
|
|
@@ -112,12 +112,12 @@ declare const commonCreateErrorResponses: {
|
|
|
112
112
|
schema: z.ZodObject<{
|
|
113
113
|
instance: z.ZodOptional<z.ZodString>;
|
|
114
114
|
requestId: z.ZodOptional<z.ZodString>;
|
|
115
|
-
code: z.ZodLiteral<"
|
|
115
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
116
116
|
detail: z.ZodString;
|
|
117
117
|
title: z.ZodString;
|
|
118
118
|
status: z.ZodNumber;
|
|
119
119
|
error: z.ZodObject<{
|
|
120
|
-
code: z.ZodLiteral<"
|
|
120
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
121
121
|
message: z.ZodString;
|
|
122
122
|
}, z.core.$strip>;
|
|
123
123
|
}, z.core.$strip>;
|
|
@@ -131,12 +131,12 @@ declare const commonCreateErrorResponses: {
|
|
|
131
131
|
schema: z.ZodObject<{
|
|
132
132
|
instance: z.ZodOptional<z.ZodString>;
|
|
133
133
|
requestId: z.ZodOptional<z.ZodString>;
|
|
134
|
-
code: z.ZodLiteral<"
|
|
134
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
135
135
|
detail: z.ZodString;
|
|
136
136
|
title: z.ZodString;
|
|
137
137
|
status: z.ZodNumber;
|
|
138
138
|
error: z.ZodObject<{
|
|
139
|
-
code: z.ZodLiteral<"
|
|
139
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
140
140
|
message: z.ZodString;
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
}, z.core.$strip>;
|
|
@@ -150,12 +150,12 @@ declare const commonCreateErrorResponses: {
|
|
|
150
150
|
schema: z.ZodObject<{
|
|
151
151
|
instance: z.ZodOptional<z.ZodString>;
|
|
152
152
|
requestId: z.ZodOptional<z.ZodString>;
|
|
153
|
-
code: z.ZodLiteral<"
|
|
153
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
154
154
|
detail: z.ZodString;
|
|
155
155
|
title: z.ZodString;
|
|
156
156
|
status: z.ZodNumber;
|
|
157
157
|
error: z.ZodObject<{
|
|
158
|
-
code: z.ZodLiteral<"
|
|
158
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
159
159
|
message: z.ZodString;
|
|
160
160
|
}, z.core.$strip>;
|
|
161
161
|
}, z.core.$strip>;
|
|
@@ -169,12 +169,12 @@ declare const commonCreateErrorResponses: {
|
|
|
169
169
|
schema: z.ZodObject<{
|
|
170
170
|
instance: z.ZodOptional<z.ZodString>;
|
|
171
171
|
requestId: z.ZodOptional<z.ZodString>;
|
|
172
|
-
code: z.ZodLiteral<"
|
|
172
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
173
173
|
detail: z.ZodString;
|
|
174
174
|
title: z.ZodString;
|
|
175
175
|
status: z.ZodNumber;
|
|
176
176
|
error: z.ZodObject<{
|
|
177
|
-
code: z.ZodLiteral<"
|
|
177
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
178
178
|
message: z.ZodString;
|
|
179
179
|
}, z.core.$strip>;
|
|
180
180
|
}, z.core.$strip>;
|
|
@@ -190,12 +190,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
190
190
|
schema: z.ZodObject<{
|
|
191
191
|
instance: z.ZodOptional<z.ZodString>;
|
|
192
192
|
requestId: z.ZodOptional<z.ZodString>;
|
|
193
|
-
code: z.ZodLiteral<"
|
|
193
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
194
194
|
detail: z.ZodString;
|
|
195
195
|
title: z.ZodString;
|
|
196
196
|
status: z.ZodNumber;
|
|
197
197
|
error: z.ZodObject<{
|
|
198
|
-
code: z.ZodLiteral<"
|
|
198
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
199
199
|
message: z.ZodString;
|
|
200
200
|
}, z.core.$strip>;
|
|
201
201
|
}, z.core.$strip>;
|
|
@@ -209,12 +209,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
209
209
|
schema: z.ZodObject<{
|
|
210
210
|
instance: z.ZodOptional<z.ZodString>;
|
|
211
211
|
requestId: z.ZodOptional<z.ZodString>;
|
|
212
|
-
code: z.ZodLiteral<"
|
|
212
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
213
213
|
detail: z.ZodString;
|
|
214
214
|
title: z.ZodString;
|
|
215
215
|
status: z.ZodNumber;
|
|
216
216
|
error: z.ZodObject<{
|
|
217
|
-
code: z.ZodLiteral<"
|
|
217
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
218
218
|
message: z.ZodString;
|
|
219
219
|
}, z.core.$strip>;
|
|
220
220
|
}, z.core.$strip>;
|
|
@@ -228,12 +228,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
228
228
|
schema: z.ZodObject<{
|
|
229
229
|
instance: z.ZodOptional<z.ZodString>;
|
|
230
230
|
requestId: z.ZodOptional<z.ZodString>;
|
|
231
|
-
code: z.ZodLiteral<"
|
|
231
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
232
232
|
detail: z.ZodString;
|
|
233
233
|
title: z.ZodString;
|
|
234
234
|
status: z.ZodNumber;
|
|
235
235
|
error: z.ZodObject<{
|
|
236
|
-
code: z.ZodLiteral<"
|
|
236
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
237
237
|
message: z.ZodString;
|
|
238
238
|
}, z.core.$strip>;
|
|
239
239
|
}, z.core.$strip>;
|
|
@@ -247,12 +247,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
247
247
|
schema: z.ZodObject<{
|
|
248
248
|
instance: z.ZodOptional<z.ZodString>;
|
|
249
249
|
requestId: z.ZodOptional<z.ZodString>;
|
|
250
|
-
code: z.ZodLiteral<"
|
|
250
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
251
251
|
detail: z.ZodString;
|
|
252
252
|
title: z.ZodString;
|
|
253
253
|
status: z.ZodNumber;
|
|
254
254
|
error: z.ZodObject<{
|
|
255
|
-
code: z.ZodLiteral<"
|
|
255
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
256
256
|
message: z.ZodString;
|
|
257
257
|
}, z.core.$strip>;
|
|
258
258
|
}, z.core.$strip>;
|
|
@@ -266,12 +266,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
266
266
|
schema: z.ZodObject<{
|
|
267
267
|
instance: z.ZodOptional<z.ZodString>;
|
|
268
268
|
requestId: z.ZodOptional<z.ZodString>;
|
|
269
|
-
code: z.ZodLiteral<"
|
|
269
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
270
270
|
detail: z.ZodString;
|
|
271
271
|
title: z.ZodString;
|
|
272
272
|
status: z.ZodNumber;
|
|
273
273
|
error: z.ZodObject<{
|
|
274
|
-
code: z.ZodLiteral<"
|
|
274
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
275
275
|
message: z.ZodString;
|
|
276
276
|
}, z.core.$strip>;
|
|
277
277
|
}, z.core.$strip>;
|
|
@@ -285,12 +285,12 @@ declare const commonUpdateErrorResponses: {
|
|
|
285
285
|
schema: z.ZodObject<{
|
|
286
286
|
instance: z.ZodOptional<z.ZodString>;
|
|
287
287
|
requestId: z.ZodOptional<z.ZodString>;
|
|
288
|
-
code: z.ZodLiteral<"
|
|
288
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
289
289
|
detail: z.ZodString;
|
|
290
290
|
title: z.ZodString;
|
|
291
291
|
status: z.ZodNumber;
|
|
292
292
|
error: z.ZodObject<{
|
|
293
|
-
code: z.ZodLiteral<"
|
|
293
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
294
294
|
message: z.ZodString;
|
|
295
295
|
}, z.core.$strip>;
|
|
296
296
|
}, z.core.$strip>;
|
|
@@ -306,12 +306,12 @@ declare const commonGetErrorResponses: {
|
|
|
306
306
|
schema: z.ZodObject<{
|
|
307
307
|
instance: z.ZodOptional<z.ZodString>;
|
|
308
308
|
requestId: z.ZodOptional<z.ZodString>;
|
|
309
|
-
code: z.ZodLiteral<"
|
|
309
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
310
310
|
detail: z.ZodString;
|
|
311
311
|
title: z.ZodString;
|
|
312
312
|
status: z.ZodNumber;
|
|
313
313
|
error: z.ZodObject<{
|
|
314
|
-
code: z.ZodLiteral<"
|
|
314
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
315
315
|
message: z.ZodString;
|
|
316
316
|
}, z.core.$strip>;
|
|
317
317
|
}, z.core.$strip>;
|
|
@@ -325,12 +325,12 @@ declare const commonGetErrorResponses: {
|
|
|
325
325
|
schema: z.ZodObject<{
|
|
326
326
|
instance: z.ZodOptional<z.ZodString>;
|
|
327
327
|
requestId: z.ZodOptional<z.ZodString>;
|
|
328
|
-
code: z.ZodLiteral<"
|
|
328
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
329
329
|
detail: z.ZodString;
|
|
330
330
|
title: z.ZodString;
|
|
331
331
|
status: z.ZodNumber;
|
|
332
332
|
error: z.ZodObject<{
|
|
333
|
-
code: z.ZodLiteral<"
|
|
333
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
334
334
|
message: z.ZodString;
|
|
335
335
|
}, z.core.$strip>;
|
|
336
336
|
}, z.core.$strip>;
|
|
@@ -344,12 +344,12 @@ declare const commonGetErrorResponses: {
|
|
|
344
344
|
schema: z.ZodObject<{
|
|
345
345
|
instance: z.ZodOptional<z.ZodString>;
|
|
346
346
|
requestId: z.ZodOptional<z.ZodString>;
|
|
347
|
-
code: z.ZodLiteral<"
|
|
347
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
348
348
|
detail: z.ZodString;
|
|
349
349
|
title: z.ZodString;
|
|
350
350
|
status: z.ZodNumber;
|
|
351
351
|
error: z.ZodObject<{
|
|
352
|
-
code: z.ZodLiteral<"
|
|
352
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
353
353
|
message: z.ZodString;
|
|
354
354
|
}, z.core.$strip>;
|
|
355
355
|
}, z.core.$strip>;
|
|
@@ -363,12 +363,12 @@ declare const commonGetErrorResponses: {
|
|
|
363
363
|
schema: z.ZodObject<{
|
|
364
364
|
instance: z.ZodOptional<z.ZodString>;
|
|
365
365
|
requestId: z.ZodOptional<z.ZodString>;
|
|
366
|
-
code: z.ZodLiteral<"
|
|
366
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
367
367
|
detail: z.ZodString;
|
|
368
368
|
title: z.ZodString;
|
|
369
369
|
status: z.ZodNumber;
|
|
370
370
|
error: z.ZodObject<{
|
|
371
|
-
code: z.ZodLiteral<"
|
|
371
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
372
372
|
message: z.ZodString;
|
|
373
373
|
}, z.core.$strip>;
|
|
374
374
|
}, z.core.$strip>;
|
|
@@ -382,12 +382,12 @@ declare const commonGetErrorResponses: {
|
|
|
382
382
|
schema: z.ZodObject<{
|
|
383
383
|
instance: z.ZodOptional<z.ZodString>;
|
|
384
384
|
requestId: z.ZodOptional<z.ZodString>;
|
|
385
|
-
code: z.ZodLiteral<"
|
|
385
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
386
386
|
detail: z.ZodString;
|
|
387
387
|
title: z.ZodString;
|
|
388
388
|
status: z.ZodNumber;
|
|
389
389
|
error: z.ZodObject<{
|
|
390
|
-
code: z.ZodLiteral<"
|
|
390
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
391
391
|
message: z.ZodString;
|
|
392
392
|
}, z.core.$strip>;
|
|
393
393
|
}, z.core.$strip>;
|
|
@@ -401,12 +401,12 @@ declare const commonGetErrorResponses: {
|
|
|
401
401
|
schema: z.ZodObject<{
|
|
402
402
|
instance: z.ZodOptional<z.ZodString>;
|
|
403
403
|
requestId: z.ZodOptional<z.ZodString>;
|
|
404
|
-
code: z.ZodLiteral<"
|
|
404
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
405
405
|
detail: z.ZodString;
|
|
406
406
|
title: z.ZodString;
|
|
407
407
|
status: z.ZodNumber;
|
|
408
408
|
error: z.ZodObject<{
|
|
409
|
-
code: z.ZodLiteral<"
|
|
409
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
410
410
|
message: z.ZodString;
|
|
411
411
|
}, z.core.$strip>;
|
|
412
412
|
}, z.core.$strip>;
|
|
@@ -422,12 +422,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
422
422
|
schema: z.ZodObject<{
|
|
423
423
|
instance: z.ZodOptional<z.ZodString>;
|
|
424
424
|
requestId: z.ZodOptional<z.ZodString>;
|
|
425
|
-
code: z.ZodLiteral<"
|
|
425
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
426
426
|
detail: z.ZodString;
|
|
427
427
|
title: z.ZodString;
|
|
428
428
|
status: z.ZodNumber;
|
|
429
429
|
error: z.ZodObject<{
|
|
430
|
-
code: z.ZodLiteral<"
|
|
430
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
431
431
|
message: z.ZodString;
|
|
432
432
|
}, z.core.$strip>;
|
|
433
433
|
}, z.core.$strip>;
|
|
@@ -441,12 +441,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
441
441
|
schema: z.ZodObject<{
|
|
442
442
|
instance: z.ZodOptional<z.ZodString>;
|
|
443
443
|
requestId: z.ZodOptional<z.ZodString>;
|
|
444
|
-
code: z.ZodLiteral<"
|
|
444
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
445
445
|
detail: z.ZodString;
|
|
446
446
|
title: z.ZodString;
|
|
447
447
|
status: z.ZodNumber;
|
|
448
448
|
error: z.ZodObject<{
|
|
449
|
-
code: z.ZodLiteral<"
|
|
449
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
450
450
|
message: z.ZodString;
|
|
451
451
|
}, z.core.$strip>;
|
|
452
452
|
}, z.core.$strip>;
|
|
@@ -460,12 +460,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
460
460
|
schema: z.ZodObject<{
|
|
461
461
|
instance: z.ZodOptional<z.ZodString>;
|
|
462
462
|
requestId: z.ZodOptional<z.ZodString>;
|
|
463
|
-
code: z.ZodLiteral<"
|
|
463
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
464
464
|
detail: z.ZodString;
|
|
465
465
|
title: z.ZodString;
|
|
466
466
|
status: z.ZodNumber;
|
|
467
467
|
error: z.ZodObject<{
|
|
468
|
-
code: z.ZodLiteral<"
|
|
468
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
469
469
|
message: z.ZodString;
|
|
470
470
|
}, z.core.$strip>;
|
|
471
471
|
}, z.core.$strip>;
|
|
@@ -479,12 +479,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
479
479
|
schema: z.ZodObject<{
|
|
480
480
|
instance: z.ZodOptional<z.ZodString>;
|
|
481
481
|
requestId: z.ZodOptional<z.ZodString>;
|
|
482
|
-
code: z.ZodLiteral<"
|
|
482
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
483
483
|
detail: z.ZodString;
|
|
484
484
|
title: z.ZodString;
|
|
485
485
|
status: z.ZodNumber;
|
|
486
486
|
error: z.ZodObject<{
|
|
487
|
-
code: z.ZodLiteral<"
|
|
487
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
488
488
|
message: z.ZodString;
|
|
489
489
|
}, z.core.$strip>;
|
|
490
490
|
}, z.core.$strip>;
|
|
@@ -498,12 +498,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
498
498
|
schema: z.ZodObject<{
|
|
499
499
|
instance: z.ZodOptional<z.ZodString>;
|
|
500
500
|
requestId: z.ZodOptional<z.ZodString>;
|
|
501
|
-
code: z.ZodLiteral<"
|
|
501
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
502
502
|
detail: z.ZodString;
|
|
503
503
|
title: z.ZodString;
|
|
504
504
|
status: z.ZodNumber;
|
|
505
505
|
error: z.ZodObject<{
|
|
506
|
-
code: z.ZodLiteral<"
|
|
506
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
507
507
|
message: z.ZodString;
|
|
508
508
|
}, z.core.$strip>;
|
|
509
509
|
}, z.core.$strip>;
|
|
@@ -517,12 +517,12 @@ declare const commonDeleteErrorResponses: {
|
|
|
517
517
|
schema: z.ZodObject<{
|
|
518
518
|
instance: z.ZodOptional<z.ZodString>;
|
|
519
519
|
requestId: z.ZodOptional<z.ZodString>;
|
|
520
|
-
code: z.ZodLiteral<"
|
|
520
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
521
521
|
detail: z.ZodString;
|
|
522
522
|
title: z.ZodString;
|
|
523
523
|
status: z.ZodNumber;
|
|
524
524
|
error: z.ZodObject<{
|
|
525
|
-
code: z.ZodLiteral<"
|
|
525
|
+
code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "internal_server_error" | "unprocessable_entity">;
|
|
526
526
|
message: z.ZodString;
|
|
527
527
|
}, z.core.$strip>;
|
|
528
528
|
}, z.core.$strip>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
|
-
import * as
|
|
2
|
+
import * as drizzle_zod371 from "drizzle-zod";
|
|
3
3
|
import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
|
|
4
4
|
|
|
5
5
|
//#region src/validation/drizzle-schema-helpers.d.ts
|
|
6
|
-
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
7
|
-
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>):
|
|
6
|
+
declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod371.BuildSchema<"select", T["_"]["columns"], drizzle_zod371.BuildRefine<T["_"]["columns"], undefined>, undefined>;
|
|
7
|
+
declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod371.BuildSchema<"insert", T["_"]["columns"], drizzle_zod371.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
|
|
8
8
|
declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
|
|
9
9
|
declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
|
|
10
10
|
/**
|