Skip to content

Commit 577e161

Browse files
committed
chore(urls): patterns update
1 parent cd1fd33 commit 577e161

File tree

4 files changed

+36
-36
lines changed

4 files changed

+36
-36
lines changed

bun.lockb

0 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"typescript": "5.5.4"
7979
},
8080
"overrides": {
81-
"hono": "4.5.3"
81+
"hono": "4.5.8"
8282
},
8383
"release-it": {
8484
"git": {

packages/~/app/urls/src/hx_urls.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ type HxClientRequest<TSchema extends Schema> = {
5050
? Method extends Methods
5151
? $Input extends Endpoint["input"]
5252
? HasRequiredKeys<Omit<$Input, "form">> extends true
53-
? <$Args extends SetOptional<$Input, "form">>(
53+
? <$Args extends SetOptional<$Input, any>>(
5454
args: $Args,
5555
options?: HxClientRequestOptions,
5656
) => HtmxSpecifiedAttributes<Method, $Args>
57-
: <$Args extends SetOptional<$Input, "form">>(
57+
: <$Args extends SetOptional<$Input, any>>(
5858
args?: $Args,
5959
options?: HxClientRequestOptions,
6060
) => HtmxSpecifiedAttributes<Method, $Args>

packages/~/app/urls/src/pattern.d.ts

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ declare const app: import("hono/hono-base").HonoBase<
88
$patch: {
99
input: {
1010
param: {
11-
id: string | undefined;
12-
domain: string | undefined;
11+
id: string;
12+
domain: string;
1313
} & {
1414
id: string;
1515
};
@@ -23,7 +23,7 @@ declare const app: import("hono/hono-base").HonoBase<
2323
$get: {
2424
input: {
2525
param: {
26-
id: string | undefined;
26+
id: string;
2727
} & {
2828
id: string;
2929
};
@@ -38,7 +38,7 @@ declare const app: import("hono/hono-base").HonoBase<
3838
$put: {
3939
input: {
4040
param: {
41-
id: string | undefined;
41+
id: string;
4242
} & {
4343
id: string;
4444
};
@@ -57,8 +57,8 @@ declare const app: import("hono/hono-base").HonoBase<
5757
$delete: {
5858
input: {
5959
param: {
60-
id: string | undefined;
61-
domain_id: string | undefined;
60+
id: string;
61+
domain_id: string;
6262
} & {
6363
id: string;
6464
};
@@ -70,8 +70,8 @@ declare const app: import("hono/hono-base").HonoBase<
7070
$patch: {
7171
input: {
7272
param: {
73-
id: string | undefined;
74-
domain_id: string | undefined;
73+
id: string;
74+
domain_id: string;
7575
} & {
7676
id: string;
7777
};
@@ -93,8 +93,8 @@ declare const app: import("hono/hono-base").HonoBase<
9393
| import("hono/types").ParsedFormValue[];
9494
};
9595
param: {
96-
id: string | undefined;
97-
user_id: string | undefined;
96+
id: string;
97+
user_id: string;
9898
} & {
9999
user_id: string;
100100
} & {
@@ -108,19 +108,19 @@ declare const app: import("hono/hono-base").HonoBase<
108108
$patch: {
109109
input: {
110110
param: {
111-
id: string | undefined;
112-
user_id: string | undefined;
111+
id: string;
112+
user_id: string;
113113
} & {
114114
user_id: string;
115115
} & {
116116
id: string;
117117
};
118118
form: {
119-
verification_type?:
119+
is_external?:
120120
| import("hono/types").ParsedFormValue
121121
| import("hono/types").ParsedFormValue[]
122122
| undefined;
123-
is_external?:
123+
verification_type?:
124124
| import("hono/types").ParsedFormValue
125125
| import("hono/types").ParsedFormValue[]
126126
| undefined;
@@ -133,8 +133,8 @@ declare const app: import("hono/hono-base").HonoBase<
133133
$delete: {
134134
input: {
135135
param: {
136-
id: string | undefined;
137-
user_id: string | undefined;
136+
id: string;
137+
user_id: string;
138138
} & {
139139
user_id: string;
140140
} & {
@@ -150,7 +150,7 @@ declare const app: import("hono/hono-base").HonoBase<
150150
$get: {
151151
input: {
152152
param: {
153-
id: string | undefined;
153+
id: string;
154154
} & {
155155
id: string;
156156
};
@@ -170,7 +170,7 @@ declare const app: import("hono/hono-base").HonoBase<
170170
$get: {
171171
input: {
172172
param: {
173-
id: string | undefined;
173+
id: string;
174174
} & {
175175
id: string;
176176
};
@@ -226,7 +226,7 @@ declare const app: import("hono/hono-base").HonoBase<
226226
$get: {
227227
input: {
228228
param: {
229-
id: string | undefined;
229+
id: string;
230230
} & {
231231
id: string;
232232
};
@@ -240,7 +240,7 @@ declare const app: import("hono/hono-base").HonoBase<
240240
$get: {
241241
input: {
242242
param: {
243-
id: string | undefined;
243+
id: string;
244244
} & {
245245
id: string;
246246
};
@@ -258,7 +258,7 @@ declare const app: import("hono/hono-base").HonoBase<
258258
$get: {
259259
input: {
260260
param: {
261-
id: string | undefined;
261+
id: string;
262262
} & {
263263
id: string;
264264
};
@@ -270,7 +270,7 @@ declare const app: import("hono/hono-base").HonoBase<
270270
$delete: {
271271
input: {
272272
param: {
273-
id: string | undefined;
273+
id: string;
274274
} & {
275275
id: string;
276276
};
@@ -284,7 +284,7 @@ declare const app: import("hono/hono-base").HonoBase<
284284
$patch: {
285285
input: {
286286
param: {
287-
id: string | undefined;
287+
id: string;
288288
} & {
289289
id: string;
290290
};
@@ -313,7 +313,7 @@ declare const app: import("hono/hono-base").HonoBase<
313313
$patch: {
314314
input: {
315315
param: {
316-
id: string | undefined;
316+
id: string;
317317
} & {
318318
id: string;
319319
};
@@ -340,7 +340,7 @@ declare const app: import("hono/hono-base").HonoBase<
340340
$patch: {
341341
input: {
342342
param: {
343-
id: string | undefined;
343+
id: string;
344344
} & {
345345
id: string;
346346
};
@@ -354,7 +354,7 @@ declare const app: import("hono/hono-base").HonoBase<
354354
$patch: {
355355
input: {
356356
param: {
357-
id: string | undefined;
357+
id: string;
358358
} & {
359359
id: string;
360360
};
@@ -376,7 +376,7 @@ declare const app: import("hono/hono-base").HonoBase<
376376
$patch: {
377377
input: {
378378
param: {
379-
id: string | undefined;
379+
id: string;
380380
} & {
381381
id: string;
382382
};
@@ -390,7 +390,7 @@ declare const app: import("hono/hono-base").HonoBase<
390390
$get: {
391391
input: {
392392
param: {
393-
id: string | undefined;
393+
id: string;
394394
} & {
395395
id: string;
396396
};
@@ -408,7 +408,7 @@ declare const app: import("hono/hono-base").HonoBase<
408408
$get: {
409409
input: {
410410
param: {
411-
id: string | undefined;
411+
id: string;
412412
} & {
413413
id: string;
414414
};
@@ -422,7 +422,7 @@ declare const app: import("hono/hono-base").HonoBase<
422422
$get: {
423423
input: {
424424
param: {
425-
id: string | undefined;
425+
id: string;
426426
} & {
427427
id: string;
428428
};
@@ -532,9 +532,9 @@ declare const app: import("hono/hono-base").HonoBase<
532532
$get: {
533533
input: {
534534
param: {
535-
article_id: string | undefined;
536-
attachment_id: string | undefined;
537-
ticket_id: string | undefined;
535+
ticket_id: string;
536+
article_id: string;
537+
attachment_id: string;
538538
};
539539
};
540540
output: {};

0 commit comments

Comments
 (0)