From 2fc5e95585234eac7c9d8c8c7e577e217b81bdee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:54:24 +0000 Subject: [PATCH 1/2] :arrow_upper_right: [patch](deps): bump hono from 4.6.3 to 4.6.5 Bumps [hono](https://github.com/honojs/hono) from 4.6.3 to 4.6.5. - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.6.3...v4.6.5) --- updated-dependencies: - dependency-name: hono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- bun.lockb | Bin 469274 -> 467114 bytes package.json | 2 +- packages/hono-slotify/package.json | 2 +- packages/~/app/api/package.json | 2 +- packages/~/app/layout/package.json | 2 +- packages/~/app/middleware/package.json | 2 +- packages/~/app/sentry/package.json | 2 +- packages/~/app/ui/package.json | 2 +- packages/~/app/urls/package.json | 2 +- packages/~/auth/api/package.json | 2 +- packages/~/config/typescript/package.json | 2 +- .../~/infra/crisp/middleware/package.json | 2 +- .../infra/moncomptepro/database/package.json | 2 +- packages/~/infra/zammad/api/package.json | 2 +- packages/~/moderations/api/package.json | 2 +- packages/~/moderations/ui/package.json | 2 +- packages/~/organizations/api/package.json | 2 +- packages/~/organizations/ui/package.json | 2 +- packages/~/proxy/api/package.json | 2 +- packages/~/users/api/package.json | 2 +- packages/~/users/ui/package.json | 2 +- packages/~/welcome/api/package.json | 2 +- 22 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bun.lockb b/bun.lockb index 723e32febefde5b7967406a8a823a8f8f2e160ba..5e1b9a3fa1e56031aeae64a22599de0b2d0e7409 100755 GIT binary patch delta 626 zcmZXSPiWI%7{>cG-`lh)NY!pDr7?x2TNQ?it?NM~c*~T6ApSwh{wS^rmR*K|f^}0` z@X`|SgI&~19YX1b*4GN+cG7`|>MC>~7`B6Y@ZiO>Z<8JrbI8Nyq>liPvqFyqPp@H6F zRp>1#Y}pi-P3inavDT0*oST=vu)ps#f8f7}U<|3h+)*Nn+&RUIs_5L~2JX4fmv$+3 z)uo;qzO?v>uyUy8g3N{>FoMZt?jH{3H(VO4gE*O#6KH(kAz*1d{gHq3v9#Eo0~OD9 z`2r)jwZ-oc#0xgxBrnFc`46%~JN(@#(ys^Ms!VE*!-D|nX9G%p(wqtDFsYRTXRO-c zs`#CU6uz2-RB!RmDUf;#e@z1|6i;Sh+$jhuL~-g8JoZwHU4civHpOqqJ2iZG4dy~* z=%9B=4)1UkYqwzg2pQ)=wFYE^`8qf+>H7+Zpe9E}qY0zfZ9-8}BCBp@4wPnEfHN)M z>}91q(EqlBxT(rxOz94~z^|gB$pv2|qq@M@=c;mS{%GoWJR{bdFoaJNa)2r2epb=& l^@yBhk@uQgZuj+{p}n3P*As8|*C)<+`hQk5E+&$4`wwRzy$JvS delta 742 zcmZ8fUr3Wt9KCnn{q5U6XD!;S#?~UYxdcgSv3iJB55rkVL6O)W4J`??=2HtAO{X~) z#O9zIMo9#v;lvSok;0}BQCLI~i4p2k`Rdbx)PCDHD7^6FeCM3+p7VRS&!?>YpRI{H zecUaR{OL=cwrk#ZXF@SYDI^Fn5fXXhBE;}w#SwKFC$D9kyi(iw`vmAJ5)j~1Ly|9= z4Tx-jX3JBNSH8X$Un&t`qPv~mbd*l(3aKQIUJ-7m(REsHc$|vxxF(uZC|TXON(o6Y zzStoh#zlPZG?n+b!Fz^x1LmV{8 zIf;-fh&yrGaC|drR(uTjcf0IFn~2tTY!gtAxbczw)FNK^$_6MR{l;$PdFK!I1vx)8 z&z6uLT3~OFA<9*7Sw`&ez#To}%0cMWA@=xTp9%400~D@hhQZ7KG=oJfoCQxl*nA$O zeBic5SYjSrf#3C@y`u?q(tq6F3|;ge=f@ktGJX+mYu0IEvK4|x%)`ZPd<2_#umNhZ zC=-IUy=dSHZNk6E?m@}y7+@hG^%KA!l*tx;I1LrzQX0A>B{rdY6Sm&vQ4q_c+SV3* z&ZfRI!XMjZmx!5V9aU=Vsu*&L{xbQhRvC1v!l;Wkn`Ni)+GIUda<1ZCx2WAN*HLAE d@zMI+h2J)l>+R0hyVA8MgGD3m=5u!W(_h*7(E Date: Wed, 23 Oct 2024 11:12:42 +0200 Subject: [PATCH 2/2] chore: bump to hono@4.6.6 --- bun.lockb | Bin 467114 -> 467114 bytes package.json | 4 +- packages/hono-slotify/package.json | 2 +- packages/~/app/api/package.json | 2 +- packages/~/app/layout/package.json | 2 +- packages/~/app/middleware/package.json | 2 +- packages/~/app/sentry/package.json | 2 +- packages/~/app/ui/package.json | 2 +- packages/~/app/urls/package.json | 2 +- packages/~/app/urls/src/pattern.d.ts | 1256 +++++++++-------- packages/~/auth/api/package.json | 2 +- packages/~/config/typescript/package.json | 2 +- .../~/infra/crisp/middleware/package.json | 2 +- .../infra/moncomptepro/database/package.json | 2 +- packages/~/infra/zammad/api/package.json | 2 +- packages/~/moderations/api/package.json | 2 +- packages/~/moderations/ui/package.json | 2 +- packages/~/organizations/api/package.json | 2 +- packages/~/organizations/ui/package.json | 2 +- packages/~/proxy/api/package.json | 2 +- packages/~/users/api/package.json | 2 +- packages/~/users/ui/package.json | 2 +- packages/~/welcome/api/package.json | 2 +- 23 files changed, 722 insertions(+), 578 deletions(-) diff --git a/bun.lockb b/bun.lockb index 5e1b9a3fa1e56031aeae64a22599de0b2d0e7409..95bfd2bbf53770bf55bd4479a113bfee6dc3ec88 100755 GIT binary patch delta 389 zcmZ2=P-fLZnF)Fdw{Oesdp`Zhtd0xy9i7*$9zSEQyuD?SOQgij1y*-`<9RpwoeG$I zu3 z(ur4D<}(6m#_KHgAb#Urmdil?^w9e(FM(Y92Q0^ZfHb=hWClEsXHfnj=|2~b)g zft7<9iSL%o+Qf+9PY;M^mD-ld+Qx(?wtZhZYk>gJJfOp6r>_IrG`%2-)eC6R#tPQ| h#vpnP>mrfqf-Gzb?ZpRKw-+B|TO0>e|FDpGG5~rAi(~)* delta 389 zcmZ2=P-fLZnF)Fdf)?#RTlp1o-J)d8ioS2%cbGYmD>hU8vBu@*4uzP5mpA&I3YZ*G zY0&HuxZNX=ac;hY|I}4%F6Rnbq^B+LVxPJ4?85)d&x4kIjr(42m@=W=DtTSv$7)_3 zmjCy^UVh-SpQV5G<@)+XkDTk-k8KNbcrC8ou6mFWh?#(xdAsUCmSA2+)9sb#Se~;1 z>BOrn^BI9O<8_vL5Wn#*%Vi*cdgy(Ymq4!l1D4}HK$=~bHIp4k7n-nka{}qVwyfvX?~Y;xYumVn)qMJ&WLBx|4`NtNKn9D(u`+`Ul#FM6$zsaDz%aef1SqYL zz{k)7JrQnqCma>IJlDV+HGf iV-UTDb&<&QN3U5G+KUgeZZAH_wm6Q_WctHG=E(pNt&QOT diff --git a/package.json b/package.json index 95dc7614..f5f9c5ba 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@~/app.core": "workspace:*", "consola": "3.2.3", "dotenv": "16.4.5", - "hono": "4.6.5", + "hono": "4.6.6", "tsx": "4.19.1" }, "devDependencies": { @@ -82,7 +82,7 @@ "typescript": "5.6.2" }, "overrides": { - "hono": "4.6.4" + "hono": "4.6.6" }, "release-it": { "git": { diff --git a/packages/hono-slotify/package.json b/packages/hono-slotify/package.json index 63ae7653..a7ba821b 100644 --- a/packages/hono-slotify/package.json +++ b/packages/hono-slotify/package.json @@ -8,7 +8,7 @@ "test": "bun test" }, "dependencies": { - "hono": "4.6.5" + "hono": "4.6.6" }, "devDependencies": { "@~/config.typescript": "workspace:*" diff --git a/packages/~/app/api/package.json b/packages/~/app/api/package.json index cc6a78f2..55f46187 100644 --- a/packages/~/app/api/package.json +++ b/packages/~/app/api/package.json @@ -23,7 +23,7 @@ "await-to-js": "3.0.0", "consola": "3.2.3", "drizzle-orm": "0.34.1", - "hono": "4.6.5", + "hono": "4.6.6", "htmx.ext...chunked-transfer": "1.0.4", "htmx.org": "1.9.12", "hyperscript.org": "0.9.12", diff --git a/packages/~/app/layout/package.json b/packages/~/app/layout/package.json index 4b02c144..f993c77f 100644 --- a/packages/~/app/layout/package.json +++ b/packages/~/app/layout/package.json @@ -15,7 +15,7 @@ "@~/app.core": "workspace:*", "@~/app.middleware": "workspace:*", "@~/app.urls": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "nprogress": "0.2.0" }, "devDependencies": { diff --git a/packages/~/app/middleware/package.json b/packages/~/app/middleware/package.json index 4b6fb866..81a7b775 100644 --- a/packages/~/app/middleware/package.json +++ b/packages/~/app/middleware/package.json @@ -27,7 +27,7 @@ "@~/app.urls": "workspace:*", "@~/moncomptepro.database": "workspace:*", "@~/moncomptepro.lib": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "hono-sessions": "0.5.8", "openid-client": "5.7.0" }, diff --git a/packages/~/app/sentry/package.json b/packages/~/app/sentry/package.json index b4c9982a..e42a60b3 100644 --- a/packages/~/app/sentry/package.json +++ b/packages/~/app/sentry/package.json @@ -18,7 +18,7 @@ "@sentry/profiling-node": "8.33.1", "@~/app.core": "workspace:*", "consola": "3.2.3", - "hono": "4.6.5" + "hono": "4.6.6" }, "devDependencies": { "@~/config.typescript": "workspace:*" diff --git a/packages/~/app/ui/package.json b/packages/~/app/ui/package.json index cee66873..28730a1d 100644 --- a/packages/~/app/ui/package.json +++ b/packages/~/app/ui/package.json @@ -53,7 +53,7 @@ "dependencies": { "@~/app.core": "workspace:*", "@~/app.urls": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "hono-slotify": "workspace:*", "tailwind-variants": "0.2.1" }, diff --git a/packages/~/app/urls/package.json b/packages/~/app/urls/package.json index 2db65ac5..7e5f1cbf 100644 --- a/packages/~/app/urls/package.json +++ b/packages/~/app/urls/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "consola": "3.2.3", - "hono": "4.6.5", + "hono": "4.6.6", "static-path": "0.0.4" }, "devDependencies": { diff --git a/packages/~/app/urls/src/pattern.d.ts b/packages/~/app/urls/src/pattern.d.ts index 09162f84..f522f306 100644 --- a/packages/~/app/urls/src/pattern.d.ts +++ b/packages/~/app/urls/src/pattern.d.ts @@ -1,590 +1,734 @@ declare const app: import("hono/hono-base").HonoBase< import("@~/app.middleware/set_nonce").NonceVariables_Context & - import("@~/app.middleware/set_config").ConfigVariables_Context & { - Bindings: any; - Variables: { - userinfo: import("@~/app.middleware/session").AgentConnect_UserInfo; - }; - } & import("@~/app.middleware/moncomptepro_pg").MonComptePro_Pg_Context, - { - "/organizations/:id/$procedures/verify/:domain": { - $patch: { - input: { - param: { - id: string; - domain: string; - } & { - id: string; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/organizations/:id/domains": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - query: { - describedby: string | string[]; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - $put: { - input: { - param: { - id: string; - } & { - id: string; - }; - form: { - domain: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[]; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/organizations/:id/domains/:domain_id": { - $delete: { - input: { - param: { - id: string; - domain_id: string; - } & { - id: string; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - $patch: { - input: { - param: { - id: string; - domain_id: string; - } & { - id: string; - }; - query: { - type: string | string[]; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/organizations/:id/members/:user_id": { - $post: { - input: { - form: { - is_external: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[]; - }; - param: { - id: string; - user_id: string; - } & { - user_id: string; - } & { - id: string; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - $patch: { - input: { - param: { - id: string; - user_id: string; - } & { - user_id: string; - } & { - id: string; - }; - form: { - verification_type?: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[] - | undefined; - is_external?: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[] - | undefined; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - $delete: { - input: { - param: { - id: string; - user_id: string; - } & { - user_id: string; - } & { - id: string; - }; - }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/organizations/:id/members": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - query: { - describedby: string | string[]; - page_ref: string | string[]; - page?: string | string[] | undefined; - page_size?: string | string[] | undefined; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/organizations/:id": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/organizations/domains": { - $get: { - input: { - query: { - page?: string | string[] | undefined; - page_size?: string | string[] | undefined; - q?: string | string[] | undefined; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/organizations/leaders": { - $get: { - input: { - query: { - siret: string | string[]; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/organizations": { - $get: { - input: { - query: { - page?: string | string[] | undefined; - page_size?: string | string[] | undefined; - q?: string | string[] | undefined; - id?: string | string[] | undefined; - }; - }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - "/users/:id/moderations": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; + import("@~/app.middleware/set_config").ConfigVariables_Context & + import("@~/app.middleware/set_userinfo").UserInfoVariables_Context & + import("@~/app.middleware/moncomptepro_pg").MonComptePro_Pg_Context, + | ({ + "/healthz": { + $get: { + input: {}; + output: "healthz check passed"; + outputFormat: "text"; + status: import("hono/utils/http-status").StatusCode; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; }; - }; - "/users/:id/organizations": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - query: { - describedby: string | string[]; - page?: string | string[] | undefined; - page_size?: string | string[] | undefined; - }; + } & { + "/livez": { + $get: { + input: {}; + output: "livez check passed"; + outputFormat: "text"; + status: import("hono/utils/http-status").StatusCode; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; }; - }; - "/users/:id": { - $get: { - input: { - param: { - id: string; - } & { - id: string; + }) + | import("hono/types").MergeSchemaPath< + | ({ + "/public/*": {}; + } & { + "/bundle/config.js": { + $get: { + input: {}; + output: `export default ${string}`; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/bundle/env.js": { + $get: { + input: {}; + output: `export default ${string}`; + outputFormat: "text"; + status: 200; + }; + }; + }) + | import("hono/types").MergeSchemaPath< + { + "/attachment/:ticket_id/:article_id/:attachment_id": { + $get: { + input: { + param: { + article_id: string; + attachment_id: string; + ticket_id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/zammad" + >, + `/assets/${string}` + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: {}; + output: "readyz check passed"; + outputFormat: "text"; + status: import("hono/utils/http-status").StatusCode; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - $delete: { - input: { - param: { - id: string; - } & { - id: string; - }; + } & { + "/sentry": { + $get: never; }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/users/:id/reset": { - $patch: { - input: { - param: { - id: string; - } & { - id: string; + } & { + "/zammad": { + $get: { + input: {}; + output: string; + outputFormat: "text"; + status: import("hono/utils/http-status").StatusCode; }; }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/users": { - $get: { - input: { - query: { - page?: string | string[] | undefined; - page_size?: string | string[] | undefined; - q?: string | string[] | undefined; + } & { + "/drizzle/moncomptepro": { + $get: { + input: {}; + output: string; + outputFormat: "text"; + status: import("hono/utils/http-status").StatusCode; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - "/moderations/:id/$procedures/validate": { - $patch: { - input: { - param: { - id: string; - } & { - id: string; - }; - form: { - add_member: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[]; - add_domain?: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[] - | undefined; - send_notitfication?: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[] - | undefined; + }, + "/readyz" + > + | import("hono/types").MergeSchemaPath< + { + "/localhost:3000/*": { + $get: { + input: {}; + output: undefined; + outputFormat: "redirect"; + status: 302; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/moderations/:id/$procedures/reprocess": { - $patch: { - input: { - param: { - id: string; - } & { - id: string; + }, + "/proxy" + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: {}; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; }; }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/moderations/:id/$procedures/rejected": { - $patch: { - input: { - param: { - id: string; - } & { - id: string; - }; - form: { - message: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[]; - subject: - | import("hono/types").ParsedFormValue - | import("hono/types").ParsedFormValue[]; + }, + "/" + > + | import("hono/types").MergeSchemaPath< + { + "*": {}; + } & { + "/login": { + $post: { + input: {}; + output: undefined; + outputFormat: "redirect"; + status: 302; }; }; - output: "OK"; - outputFormat: "text"; - status: 200; - }; - }; - "/moderations/:id/$procedures/processed": { - $patch: { - input: { - param: { - id: string; - } & { - id: string; + } & { + "/fake/login/callback": { + $get: { + input: {}; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/moderations/:id/duplicate_warning": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - query: { - user_id: string | string[]; - organization_id: string | string[]; + } & { + "/login/callback": { + $get: { + input: { + query: { + code: string | string[]; + state: string | string[]; + }; + }; + output: undefined; + outputFormat: "redirect"; + status: 302; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/moderations/:id/email": { - $get: { - input: { - param: { - id: string; - } & { - id: string; - }; - query: { - describedby: string | string[]; + } & { + "/logout": { + $get: { + input: {}; + output: undefined; + outputFormat: "redirect"; + status: 302; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/moderations/:id": { - $get: { - input: { - param: { - id: string; - } & { - id: string; + }, + "/auth" + > + | import("hono/types").MergeSchemaPath< + ( + | import("hono/types").BlankSchema + | import("hono/types").MergeSchemaPath< + | { + "/": { + $get: { + input: { + param: { + id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + } + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + describedby: string | string[]; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/email" + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + user_id: string | string[]; + organization_id: string | string[]; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/duplicate_warning" + > + | import("hono/types").MergeSchemaPath< + | import("hono/types").BlankSchema + | import("hono/types").MergeSchemaPath< + { + "/": { + $patch: { + input: { + param: { + id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/processed" + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $patch: { + input: { + param: { + id: string; + }; + } & { + form: { + message: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[]; + subject: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[]; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }, + "/rejected" + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $patch: { + input: { + param: { + id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }, + "/reprocess" + > + | import("hono/types").MergeSchemaPath< + { + "/": { + $patch: { + input: { + param: { + id: string; + }; + } & { + form: { + add_member: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[]; + add_domain?: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[] + | undefined; + send_notitfication?: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[] + | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/validate" + >, + "/$procedures" + >, + "/:id" + > + ) & { + "/": { + $get: { + input: {}; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/moderations": { - $get: { - input: {}; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - "/auth/*": {}; - "/auth/login": { - $post: { - input: {}; - output: undefined; - outputFormat: "redirect"; - status: 302; - }; - }; - "/auth/fake/login/callback": { - $get: { - input: {}; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/auth/login/callback": { - $get: { - input: { - query: { - code: string | string[]; - state: string | string[]; + }, + "/moderations" + > + | import("hono/types").MergeSchemaPath< + ( + | import("hono/types").BlankSchema + | import("hono/types").MergeSchemaPath< + | ({ + "/": { + $get: { + input: { + param: { + id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + } & { + "/": { + $delete: { + input: { + param: { + id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/reset": { + $patch: { + input: { + param: { + id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }) + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + describedby: string | string[]; + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/organizations" + > + | import("hono/types").MergeSchemaPath< + { + "/": {}; + } & { + "/": { + $get: { + input: { + param: { + id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/moderations" + >, + "/:id" + > + ) & { + "/": { + $get: { + input: { + query: { + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + q?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; }; }; - output: undefined; - outputFormat: "redirect"; - status: 302; - }; - }; - "/auth/logout": { - $get: { - input: {}; - output: undefined; - outputFormat: "redirect"; - status: 302; - }; - }; - } & { - "/": { - $get: { - input: {}; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - "/proxy/localhost:3000/*": { - $get: { - input: {}; - output: undefined; - outputFormat: "redirect"; - status: 302; - }; - }; - } & { - "/readyz": { - $get: { - input: {}; - output: "readyz check passed"; - outputFormat: "text"; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/readyz/sentry": { - $get: never; - }; - "/readyz/zammad": { - $get: { - input: {}; - output: string; - outputFormat: "text"; - status: import("hono/utils/http-status").StatusCode; - }; - }; - "/readyz/drizzle/moncomptepro": { - $get: { - input: {}; - output: string; - outputFormat: "text"; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - [ - x: `/assets/${string}/zammad/attachment/:ticket_id/:article_id/:attachment_id` - ]: { - $get: { - input: { - param: { - article_id: string; - attachment_id: string; - ticket_id: string; + }, + "/users" + > + | import("hono/types").MergeSchemaPath< + ( + | import("hono/types").BlankSchema + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: { + query: { + siret: string | string[]; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/leaders" + > + | import("hono/types").MergeSchemaPath< + { + "/": {}; + } & { + "/": { + $get: { + input: { + query: { + q?: string | string[] | undefined; + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }, + "/domains" + > + | import("hono/types").MergeSchemaPath< + | ({ + "/": {}; + } & { + "/": { + $get: { + input: { + param: { + id: string; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }) + | import("hono/types").MergeSchemaPath< + { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + describedby: string | string[]; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + } & { + "/": { + $put: { + input: { + param: { + id: string; + }; + } & { + form: { + domain: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[]; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/:domain_id": { + $delete: { + input: { + param: { + id: string; + domain_id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/:domain_id": { + $patch: { + input: { + param: { + id: string; + domain_id: string; + }; + } & { + query: { + type: string | string[]; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }, + "/domains" + > + | import("hono/types").MergeSchemaPath< + | { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + describedby: string | string[]; + page_ref: string | string[]; + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + } + | (import("hono/types").MergeSchemaPath< + { + "/": { + $post: { + input: { + form: { + is_external: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[]; + }; + } & { + param: { + id: string; + user_id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/": { + $patch: { + input: { + param: { + id: string; + user_id: string; + }; + } & { + form: { + verification_type?: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[] + | undefined; + is_external?: + | import("hono/types").ParsedFormValue + | import("hono/types").ParsedFormValue[] + | undefined; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + } & { + "/": { + $delete: { + input: { + param: { + id: string; + user_id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }, + "/:user_id" + > & { + "/": { + $get: { + input: { + param: { + id: string; + }; + } & { + query: { + describedby: string | string[]; + page_ref: string | string[]; + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; + }; + }; + }), + "/members" + > + | import("hono/types").MergeSchemaPath< + | import("hono/types").BlankSchema + | import("hono/types").MergeSchemaPath< + { + "/:domain": { + $patch: { + input: { + param: { + domain: string; + id: string; + }; + }; + output: "OK"; + outputFormat: "text"; + status: 200; + }; + }; + }, + "/verify" + >, + "/$procedures" + >, + "/:id" + > + ) & { + "/": { + $get: { + input: { + query: { + q?: string | string[] | undefined; + page?: string | string[] | undefined; + page_size?: string | string[] | undefined; + id?: string | string[] | undefined; + }; + }; + output: {}; + outputFormat: string; + status: import("hono/utils/http-status").StatusCode; }; }; - output: {}; - outputFormat: string; - status: import("hono/utils/http-status").StatusCode; - }; - }; - [x: `/assets/${string}/public/*`]: {}; - [x: `/assets/${string}/bundle/config.js`]: { - $get: { - input: {}; - output: `export default ${string}`; - outputFormat: "text"; - status: 200; - }; - }; - [x: `/assets/${string}/bundle/env.js`]: { - $get: { - input: {}; - output: `export default ${string}`; - outputFormat: "text"; - status: 200; - }; - }; - } & { - "/healthz": { - $get: { - input: {}; - output: "healthz check passed"; - outputFormat: "text"; - status: import("hono/utils/http-status").StatusCode; - }; - }; - } & { - "/livez": { - $get: { - input: {}; - output: "livez check passed"; - outputFormat: "text"; - status: import("hono/utils/http-status").StatusCode; - }; - }; - }, + }, + "/organizations" + >, "/" >; export type Router = typeof app; diff --git a/packages/~/auth/api/package.json b/packages/~/auth/api/package.json index 6d94683d..a2e2dfaf 100644 --- a/packages/~/auth/api/package.json +++ b/packages/~/auth/api/package.json @@ -15,7 +15,7 @@ "@~/app.core": "workspace:*", "@~/app.middleware": "workspace:*", "@~/app.urls": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "openid-client": "5.7.0", "zod": "3.23.8" }, diff --git a/packages/~/config/typescript/package.json b/packages/~/config/typescript/package.json index 216a5e0c..a1e42a01 100644 --- a/packages/~/config/typescript/package.json +++ b/packages/~/config/typescript/package.json @@ -8,6 +8,6 @@ "@tsconfig/bun": "1.0.7", "@tsconfig/strictest": "2.0.5", "bun-types": "1.1.30", - "hono": "4.6.5" + "hono": "4.6.6" } } diff --git a/packages/~/infra/crisp/middleware/package.json b/packages/~/infra/crisp/middleware/package.json index a8c1c524..e1648291 100644 --- a/packages/~/infra/crisp/middleware/package.json +++ b/packages/~/infra/crisp/middleware/package.json @@ -12,7 +12,7 @@ "test": "bun test" }, "dependencies": { - "hono": "4.6.5" + "hono": "4.6.6" }, "devDependencies": { "@~/config.typescript": "workspace:*", diff --git a/packages/~/infra/moncomptepro/database/package.json b/packages/~/infra/moncomptepro/database/package.json index 17ef47a8..fe2c291c 100644 --- a/packages/~/infra/moncomptepro/database/package.json +++ b/packages/~/infra/moncomptepro/database/package.json @@ -25,7 +25,7 @@ "@~/moncomptepro.lib": "workspace:*", "consola": "3.2.3", "drizzle-orm": "0.34.1", - "hono": "4.6.5", + "hono": "4.6.6", "pg": "8.13.0" }, "devDependencies": { diff --git a/packages/~/infra/zammad/api/package.json b/packages/~/infra/zammad/api/package.json index 4a762c31..35c77c64 100644 --- a/packages/~/infra/zammad/api/package.json +++ b/packages/~/infra/zammad/api/package.json @@ -15,7 +15,7 @@ "@hono/zod-validator": "0.2.2", "@~/app.core": "workspace:*", "@~/zammad.lib": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "ts-pattern": "5.4.0", "zod": "3.23.8" }, diff --git a/packages/~/moderations/api/package.json b/packages/~/moderations/api/package.json index a7137ab5..38b8026f 100644 --- a/packages/~/moderations/api/package.json +++ b/packages/~/moderations/api/package.json @@ -33,7 +33,7 @@ "@~/zammad.lib": "workspace:*", "await-to-js": "3.0.0", "drizzle-orm": "0.34.1", - "hono": "4.6.5", + "hono": "4.6.6", "tailwind-variants": "0.2.1", "ts-dedent": "2.2.0", "ts-pattern": "5.4.0", diff --git a/packages/~/moderations/ui/package.json b/packages/~/moderations/ui/package.json index 68081061..3b97e9b4 100644 --- a/packages/~/moderations/ui/package.json +++ b/packages/~/moderations/ui/package.json @@ -21,7 +21,7 @@ "@~/organizations.lib": "workspace:*", "@~/users.lib": "workspace:*", "@~/moderations.lib": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "tailwind-variants": "0.2.1", "ts-pattern": "5.4.0" }, diff --git a/packages/~/organizations/api/package.json b/packages/~/organizations/api/package.json index 27a6f2ef..7e7216f4 100644 --- a/packages/~/organizations/api/package.json +++ b/packages/~/organizations/api/package.json @@ -16,7 +16,7 @@ "@~/organizations.repository": "workspace:*", "@~/organizations.ui": "workspace:*", "@~/users.repository": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "lodash.sortby": "4.7.0", "tailwind-variants": "0.2.1", "ts-pattern": "5.4.0", diff --git a/packages/~/organizations/ui/package.json b/packages/~/organizations/ui/package.json index 4ef06bfc..20323c51 100644 --- a/packages/~/organizations/ui/package.json +++ b/packages/~/organizations/ui/package.json @@ -12,7 +12,7 @@ "@~/app.ui": "workspace:*", "@~/app.urls": "workspace:*", "@~/organizations.lib": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "tailwind-variants": "0.2.1", "ts-pattern": "5.4.0", "zod": "3.23.8" diff --git a/packages/~/proxy/api/package.json b/packages/~/proxy/api/package.json index e3c9d156..90619517 100644 --- a/packages/~/proxy/api/package.json +++ b/packages/~/proxy/api/package.json @@ -9,7 +9,7 @@ } }, "dependencies": { - "hono": "4.6.5" + "hono": "4.6.6" }, "devDependencies": { "@~/config.typescript": "workspace:*" diff --git a/packages/~/users/api/package.json b/packages/~/users/api/package.json index d7b409eb..8c848134 100644 --- a/packages/~/users/api/package.json +++ b/packages/~/users/api/package.json @@ -16,7 +16,7 @@ "@~/moderations.repository": "workspace:*", "@~/organizations.repository": "workspace:*", "@~/users.repository": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "ts-pattern": "5.4.0", "zod": "3.23.8" }, diff --git a/packages/~/users/ui/package.json b/packages/~/users/ui/package.json index 6a5831ad..7a28474b 100644 --- a/packages/~/users/ui/package.json +++ b/packages/~/users/ui/package.json @@ -21,7 +21,7 @@ "@~/organizations.lib": "workspace:*", "@~/users.lib": "workspace:*", "@~/moderations.lib": "workspace:*", - "hono": "4.6.5", + "hono": "4.6.6", "tailwind-variants": "0.2.1", "ts-pattern": "5.4.0" }, diff --git a/packages/~/welcome/api/package.json b/packages/~/welcome/api/package.json index 8fd07137..3f501561 100644 --- a/packages/~/welcome/api/package.json +++ b/packages/~/welcome/api/package.json @@ -15,7 +15,7 @@ "@~/app.middleware": "workspace:*", "@~/app.urls": "workspace:*", "animate.css": "4.1.1", - "hono": "4.6.5", + "hono": "4.6.6", "lit": "3.2.1", "openid-client": "5.7.0" },