@shepai/cli 1.4.0 → 1.5.0
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/src/infrastructure/services/port.service.d.ts +20 -0
- package/dist/src/infrastructure/services/port.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/port.service.js +47 -0
- package/dist/src/infrastructure/services/web-server.service.d.ts +43 -0
- package/dist/src/infrastructure/services/web-server.service.d.ts.map +1 -0
- package/dist/src/infrastructure/services/web-server.service.js +95 -0
- package/dist/src/presentation/cli/commands/ui.command.d.ts +22 -0
- package/dist/src/presentation/cli/commands/ui.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/ui.command.js +74 -0
- package/dist/src/presentation/cli/index.d.ts +1 -0
- package/dist/src/presentation/cli/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/index.js +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/web/.next/BUILD_ID +1 -0
- package/web/.next/app-path-routes-manifest.json +6 -0
- package/web/.next/build/chunks/[root-of-the-server]__0f2e5b60._.js +207 -0
- package/web/.next/build/chunks/[root-of-the-server]__0f2e5b60._.js.map +8 -0
- package/web/.next/build/chunks/[root-of-the-server]__52e8dcc7._.js +500 -0
- package/web/.next/build/chunks/[root-of-the-server]__52e8dcc7._.js.map +11 -0
- package/web/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_4ffac355._.js +13 -0
- package/web/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_4ffac355._.js.map +5 -0
- package/web/.next/build/chunks/[turbopack]_runtime.js +795 -0
- package/web/.next/build/chunks/[turbopack]_runtime.js.map +10 -0
- package/web/.next/build/chunks/node_modules__pnpm_806d01c0._.js +6758 -0
- package/web/.next/build/chunks/node_modules__pnpm_806d01c0._.js.map +47 -0
- package/web/.next/build/package.json +1 -0
- package/web/.next/build/postcss.js +6 -0
- package/web/.next/build/postcss.js.map +5 -0
- package/web/.next/build-manifest.json +20 -0
- package/web/.next/cache/.previewinfo +1 -0
- package/web/.next/cache/.rscinfo +1 -0
- package/web/.next/cache/.tsbuildinfo +1 -0
- package/web/.next/cache/config.json +7 -0
- package/web/.next/diagnostics/build-diagnostics.json +6 -0
- package/web/.next/diagnostics/framework.json +1 -0
- package/web/.next/export-marker.json +6 -0
- package/web/.next/fallback-build-manifest.json +12 -0
- package/web/.next/images-manifest.json +67 -0
- package/web/.next/next-minimal-server.js.nft.json +1 -0
- package/web/.next/next-server.js.nft.json +1 -0
- package/web/.next/package.json +1 -0
- package/web/.next/prerender-manifest.json +109 -0
- package/web/.next/required-server-files.js +320 -0
- package/web/.next/required-server-files.json +320 -0
- package/web/.next/routes-manifest.json +68 -0
- package/web/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/_global-error/page/build-manifest.json +17 -0
- package/web/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/web/.next/server/app/_global-error/page.js +10 -0
- package/web/.next/server/app/_global-error/page.js.map +5 -0
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/_global-error.html +2 -0
- package/web/.next/server/app/_global-error.meta +15 -0
- package/web/.next/server/app/_global-error.rsc +12 -0
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +12 -0
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +4 -0
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/web/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/_not-found/page/build-manifest.json +17 -0
- package/web/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/web/.next/server/app/_not-found/page.js +13 -0
- package/web/.next/server/app/_not-found/page.js.map +5 -0
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/_not-found.html +11 -0
- package/web/.next/server/app/_not-found.meta +16 -0
- package/web/.next/server/app/_not-found.rsc +13 -0
- package/web/.next/server/app/_not-found.segments/_full.segment.rsc +13 -0
- package/web/.next/server/app/_not-found.segments/_head.segment.rsc +5 -0
- package/web/.next/server/app/_not-found.segments/_index.segment.rsc +5 -0
- package/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +4 -0
- package/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -0
- package/web/.next/server/app/index.html +11 -0
- package/web/.next/server/app/index.meta +14 -0
- package/web/.next/server/app/index.rsc +14 -0
- package/web/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
- package/web/.next/server/app/index.segments/_full.segment.rsc +14 -0
- package/web/.next/server/app/index.segments/_head.segment.rsc +5 -0
- package/web/.next/server/app/index.segments/_index.segment.rsc +5 -0
- package/web/.next/server/app/index.segments/_tree.segment.rsc +2 -0
- package/web/.next/server/app/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/page/build-manifest.json +17 -0
- package/web/.next/server/app/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/page/server-reference-manifest.json +4 -0
- package/web/.next/server/app/page.js +16 -0
- package/web/.next/server/app/page.js.map +5 -0
- package/web/.next/server/app/page.js.nft.json +1 -0
- package/web/.next/server/app/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/version/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/version/page/build-manifest.json +17 -0
- package/web/.next/server/app/version/page/next-font-manifest.json +6 -0
- package/web/.next/server/app/version/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/version/page/server-reference-manifest.json +4 -0
- package/web/.next/server/app/version/page.js +15 -0
- package/web/.next/server/app/version/page.js.map +5 -0
- package/web/.next/server/app/version/page.js.nft.json +1 -0
- package/web/.next/server/app/version/page_client-reference-manifest.js +2 -0
- package/web/.next/server/app/version.html +11 -0
- package/web/.next/server/app/version.meta +15 -0
- package/web/.next/server/app/version.rsc +17 -0
- package/web/.next/server/app/version.segments/_full.segment.rsc +17 -0
- package/web/.next/server/app/version.segments/_head.segment.rsc +5 -0
- package/web/.next/server/app/version.segments/_index.segment.rsc +5 -0
- package/web/.next/server/app/version.segments/_tree.segment.rsc +2 -0
- package/web/.next/server/app/version.segments/version/__PAGE__.segment.rsc +9 -0
- package/web/.next/server/app/version.segments/version.segment.rsc +4 -0
- package/web/.next/server/app-paths-manifest.json +6 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_2ff794b1._.js +6 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_2ff794b1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_6c821c12._.js +4 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_6c821c12._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_44deecdf._.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_44deecdf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_global-error_5fefc4d7.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_unauthorized_a2906ebd.js +3 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_client_components_builtin_unauthorized_a2906ebd.js.map +1 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js +4 -0
- package/web/.next/server/chunks/ssr/403f9_next_dist_esm_build_templates_app-page_dbf21e04.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__01b8cb62._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__01b8cb62._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__205a2636._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__205a2636._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5aff3b12._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__5aff3b12._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7b98fb96._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7b98fb96._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8297ff30._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__8297ff30._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3694f82._.js +10 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c3694f82._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d6257aad._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d6257aad._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d81095d0._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__d81095d0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[turbopack]_runtime.js +795 -0
- package/web/.next/server/chunks/ssr/[turbopack]_runtime.js.map +10 -0
- package/web/.next/server/chunks/ssr/_0f02ab66._.js +3 -0
- package/web/.next/server/chunks/ssr/_0f02ab66._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_884ddade._.js +4 -0
- package/web/.next/server/chunks/ssr/_884ddade._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_90bc0c33._.js +3 -0
- package/web/.next/server/chunks/ssr/_90bc0c33._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_c536147b._.js +3 -0
- package/web/.next/server/chunks/ssr/_c536147b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_c5d377cc._.js +4 -0
- package/web/.next/server/chunks/ssr/_c5d377cc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_e519e92f._.js +3 -0
- package/web/.next/server/chunks/ssr/_e519e92f._.js.map +1 -0
- package/web/.next/server/chunks/ssr/b1a17_presentation_web__next-internal_server_app__global-error_page_actions_4fe4770f.js +3 -0
- package/web/.next/server/chunks/ssr/b1a17_presentation_web__next-internal_server_app__global-error_page_actions_4fe4770f.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_03635e2b._.js +4 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_03635e2b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_522e4103._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules__pnpm_522e4103._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app__not-found_page_actions_a836bb2a.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app__not-found_page_actions_a836bb2a.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_page_actions_a4e3cb6f.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_page_actions_a4e3cb6f.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_version_page_actions_ea925032.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web__next-internal_server_app_version_page_actions_ea925032.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_layout_tsx_aa3a06bd._.js +13 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_layout_tsx_aa3a06bd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_not-found_tsx_64b86c46._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_not-found_tsx_64b86c46._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_version_page_tsx_1bab7370._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_version_page_tsx_1bab7370._.js.map +1 -0
- package/web/.next/server/functions-config-manifest.json +4 -0
- package/web/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/web/.next/server/middleware-build-manifest.js +21 -0
- package/web/.next/server/middleware-manifest.json +6 -0
- package/web/.next/server/next-font-manifest.js +1 -0
- package/web/.next/server/next-font-manifest.json +6 -0
- package/web/.next/server/pages/404.html +11 -0
- package/web/.next/server/pages/500.html +2 -0
- package/web/.next/server/pages-manifest.json +4 -0
- package/web/.next/server/server-reference-manifest.js +1 -0
- package/web/.next/server/server-reference-manifest.json +5 -0
- package/web/.next/static/Z9XCmAv7-DjAFCpNEPaUt/_buildManifest.js +11 -0
- package/web/.next/static/Z9XCmAv7-DjAFCpNEPaUt/_clientMiddlewareManifest.json +1 -0
- package/web/.next/static/Z9XCmAv7-DjAFCpNEPaUt/_ssgManifest.js +1 -0
- package/web/.next/static/chunks/4d6504b9f2ca7e4d.js +1 -0
- package/web/.next/static/chunks/51816495a9eb288c.css +1 -0
- package/web/.next/static/chunks/52a5aeb86329ee2e.js +1 -0
- package/web/.next/static/chunks/70993ebedee7eab0.js +2 -0
- package/web/.next/static/chunks/71462f20e38a4262.js +4 -0
- package/web/.next/static/chunks/86484b9b4aa9f859.js +1 -0
- package/web/.next/static/chunks/a6dad97d9634a72d.js +1 -0
- package/web/.next/static/chunks/a6dad97d9634a72d.js.map +1 -0
- package/web/.next/static/chunks/ab02eec995295bef.js +1 -0
- package/web/.next/static/chunks/b3cc49b27e09fa39.js +1 -0
- package/web/.next/static/chunks/f3b4460b1496ef52.js +1 -0
- package/web/.next/static/chunks/turbopack-76ba02c6b131eee4.js +4 -0
- package/web/.next/trace +1 -0
- package/web/.next/trace-build +1 -0
- package/web/.next/turbopack +0 -0
- package/web/.next/types/link.d.ts +163 -0
- package/web/.next/types/routes.d.ts +58 -0
- package/web/.next/types/validator.ts +70 -0
- package/web/next.config.ts +14 -0
- package/web/package.json +38 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/86484b9b4aa9f859.js","static/chunks/71462f20e38a4262.js","static/chunks/f3b4460b1496ef52.js","static/chunks/70993ebedee7eab0.js"],runtimeModuleIds:[80535]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=(self.TURBOPACK_CHUNK_SUFFIX??document?.currentScript?.getAttribute?.("src")?.replace(/^(.*(?=\?)|^.*$)/,""))||"",n=new WeakMap;function o(e,t){this.m=e,this.e=t}let l=o.prototype,i=Object.prototype.hasOwnProperty,s="u">typeof Symbol&&Symbol.toStringTag;function u(e,t,r){i.call(e,t)||Object.defineProperty(e,t,r)}function a(e,t){let r=e[t];return r||(r=c(t),e[t]=r),r}function c(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function f(e,t){u(e,"__esModule",{value:!0}),s&&u(e,s,{value:"Module"});let r=0;for(;r<t.length;){let n=t[r++],o=t[r++];if("number"==typeof o)if(0===o)u(e,n,{value:t[r++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[r]?u(e,n,{get:o,set:t[r++],enumerable:!0}):u(e,n,{get:o,enumerable:!0})}Object.seal(e)}l.s=function(e,t){let r,n;null!=t?n=(r=a(this.c,t)).exports:(r=this.m,n=this.e),r.namespaceObject=n,f(n,e)},l.j=function(e,t){var r,o;let l,s,u;null!=t?s=(l=a(this.c,t)).exports:(l=this.m,s=this.e);let c=(r=l,o=s,(u=n.get(r))||(n.set(r,u=[]),r.exports=r.namespaceObject=new Proxy(o,{get(e,t){if(i.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);for(let e of u){let r=Reflect.get(e,t);if(void 0!==r)return r}},ownKeys(e){let t=Reflect.ownKeys(e);for(let e of u)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t}})),u);"object"==typeof e&&null!==e&&c.push(e)},l.v=function(e,t){(null!=t?a(this.c,t):this.m).exports=e},l.n=function(e,t){let r;(r=null!=t?a(this.c,t):this.m).exports=r.namespaceObject=e};let p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,h=[null,p({}),p([]),p(p)];function d(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!h.includes(t);t=p(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),f(t,n),t}function m(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=d(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function b(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function y(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}l.i=m,l.A=function(e){return this.r(e)(m.bind(this))},l.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},l.r=function(e){return B(e,this.m).exports},l.f=function(e){function t(t){if(t=b(t),i.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=b(t),i.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let O=Symbol("turbopack queues"),g=Symbol("turbopack exports"),w=Symbol("turbopack error");function C(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}l.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:l,reject:i,promise:s}=y(),u=Object.assign(s,{[g]:r.exports,[O]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),a={get:()=>u,set(e){e!==u&&(u[g]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(O in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[g]:{},[O]:e=>e(t)};return e.then(e=>{r[g]=e,C(t)},e=>{r[w]=e,C(t)}),r}}return{[g]:e,[O]:()=>{}}}),r=()=>t.map(e=>{if(e[w])throw e[w];return e[g]}),{promise:l,resolve:i}=y(),s=Object.assign(()=>i(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[O](u)),s.queueCount?l:r()},function(e){e?i(u[w]=e):l(u[g]),C(n)}),n&&-1===n.status&&(n.status=0)};let U=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}U.prototype=URL.prototype,l.U=U,l.z=function(e){throw Error("dynamic usage of require is not supported")},l.g=globalThis;let j=o.prototype;var k,_=((k=_||{})[k.Runtime=0]="Runtime",k[k.Parent=1]="Parent",k[k.Update=2]="Update",k);let v=new Map;l.M=v;let $=new Map,P=new Map;async function S(e,t,r){let n;if("string"==typeof r)return E(e,t,K(r));let o=r.included||[],l=o.map(e=>!!v.has(e)||$.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);let i=r.moduleChunks||[],s=i.map(e=>P.get(e)).filter(e=>e);if(s.length>0){if(s.length===i.length)return void await Promise.all(s);let r=new Set;for(let e of i)P.has(e)||r.add(e);for(let n of r){let r=E(e,t,K(n));P.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=E(e,t,K(r.path)),i))P.has(o)||P.set(o,n)}for(let e of o)$.has(e)||$.set(e,n);await n}j.l=function(e){return S(1,this.m.id,e)};let T=Promise.resolve(void 0),A=new WeakMap;function E(t,r,n){let o=e.loadChunkCached(t,n),l=A.get(o);if(void 0===l){let e=A.set.bind(A,o,T);l=o.then(e).catch(e=>{let o;switch(t){case 0:o=`as a runtime dependency of chunk ${r}`;break;case 1:o=`from module ${r}`;break;case 2:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),A.set(o,l)}return l}function K(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}j.L=function(e){return E(1,this.m.id,e)},j.R=function(e){let t=this.r(e);return t?.default??t},j.P=function(e){return`/ROOT/${e??""}`},j.b=function(e){let t=new Blob([`self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};
|
|
2
|
+
self.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(r)};
|
|
3
|
+
self.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(e.reverse().map(K),null,2)};
|
|
4
|
+
importScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`],{type:"text/javascript"});return URL.createObjectURL(t)};let x=/\.js(?:\?[^#]*)?(?:#.*)?$/,N=/\.css(?:\?[^#]*)?(?:#.*)?$/;function M(e){return N.test(e)}l.w=function(t,r,n){return e.loadWebAssembly(1,this.m.id,t,r,n)},l.u=function(t,r){return e.loadWebAssemblyModule(1,this.m.id,t,r)};let L={};l.c=L;let B=(e,t)=>{let r=L[e];if(r){if(r.error)throw r.error;return r}return q(e,_.Parent,t.id)};function q(e,t,r){let n=v.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let l=c(e),i=l.exports;L[e]=l;let s=new o(l,i);try{n(s,l,i)}catch(e){throw l.error=e,e}return l.namespaceObject&&l.exports!==l.namespaceObject&&d(l.exports,l.namespaceObject),l}function I(r){let n,o=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(("u">typeof TURBOPACK_NEXT_CHUNK_URLS?TURBOPACK_NEXT_CHUNK_URLS.pop():e.getAttribute("src")).replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(r[0]);return 2===r.length?n=r[1]:(n=void 0,!function(e,t,r,n){let o=1;for(;o<e.length;){let t=e[o],n=o+1;for(;n<e.length&&"function"!=typeof e[n];)n++;if(n===e.length)throw Error("malformed chunk format, expected a factory function");if(!r.has(t)){let l=e[n];for(Object.defineProperty(l,"name",{value:"module evaluation"});o<n;o++)t=e[o],r.set(t,l)}o=n+1}}(r,0,v)),e.registerChunk(o,n)}let W=new Map;function H(e){let t=W.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},W.set(e,t)}return t}e={async registerChunk(e,t){if(H(K(e)).resolve(),null!=t){for(let e of t.otherChunks)H(K("string"==typeof e?e:e.path));if(await Promise.all(t.otherChunks.map(t=>S(0,e,t))),t.runtimeModuleIds.length>0)for(let r of t.runtimeModuleIds)!function(e,t){let r=L[t];if(r){if(r.error)throw r.error;return}q(t,_.Runtime,e)}(e,r)}},loadChunkCached:(e,t)=>(function(e,t){let r=H(t);if(r.loadingStarted)return r.promise;if(e===_.Runtime)return r.loadingStarted=!0,M(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(M(t));else if(x.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(TURBOPACK_WORKER_LOCATION+t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(M(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(x.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let l=fetch(K(r)),{instance:i}=await WebAssembly.instantiateStreaming(l,o);return i.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(K(r));return await WebAssembly.compileStreaming(o)}};let F=globalThis.TURBOPACK;globalThis.TURBOPACK={push:I},F.forEach(I)})();
|
package/web/.next/trace
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"name":"generate-buildid","duration":210,"timestamp":73684883,"id":4,"parentId":1,"tags":{},"startTime":1770549062974,"traceId":"a7f01f95f09e72b0"},{"name":"load-custom-routes","duration":296,"timestamp":73685194,"id":5,"parentId":1,"tags":{},"startTime":1770549062974,"traceId":"a7f01f95f09e72b0"},{"name":"create-dist-dir","duration":213,"timestamp":73685516,"id":6,"parentId":1,"tags":{},"startTime":1770549062974,"traceId":"a7f01f95f09e72b0"},{"name":"clean","duration":184,"timestamp":73686154,"id":7,"parentId":1,"tags":{},"startTime":1770549062975,"traceId":"a7f01f95f09e72b0"},{"name":"create-pages-mapping","duration":277,"timestamp":73737229,"id":8,"parentId":1,"tags":{},"startTime":1770549063026,"traceId":"a7f01f95f09e72b0"},{"name":"collect-app-files","duration":1321,"timestamp":73737540,"id":9,"parentId":1,"tags":{},"startTime":1770549063026,"traceId":"a7f01f95f09e72b0"},{"name":"create-app-mapping","duration":747,"timestamp":73738884,"id":10,"parentId":1,"tags":{},"startTime":1770549063028,"traceId":"a7f01f95f09e72b0"},{"name":"create-app-layouts","duration":132,"timestamp":73739702,"id":11,"parentId":1,"tags":{},"startTime":1770549063028,"traceId":"a7f01f95f09e72b0"},{"name":"collect-default-files","duration":332,"timestamp":73741208,"id":13,"parentId":1,"tags":{},"startTime":1770549063030,"traceId":"a7f01f95f09e72b0"},{"name":"generate-route-types","duration":12005,"timestamp":73740798,"id":12,"parentId":1,"tags":{},"startTime":1770549063030,"traceId":"a7f01f95f09e72b0"},{"name":"public-dir-conflict-check","duration":76,"timestamp":73752845,"id":14,"parentId":1,"tags":{},"startTime":1770549063042,"traceId":"a7f01f95f09e72b0"},{"name":"generate-routes-manifest","duration":1678,"timestamp":73752973,"id":15,"parentId":1,"tags":{},"startTime":1770549063042,"traceId":"a7f01f95f09e72b0"},{"name":"run-turbopack","duration":5230903,"timestamp":73765426,"id":17,"parentId":1,"tags":{},"startTime":1770549063054,"traceId":"a7f01f95f09e72b0"},{"name":"run-typescript","duration":4769295,"timestamp":79001073,"id":19,"parentId":1,"tags":{},"startTime":1770549068290,"traceId":"a7f01f95f09e72b0"},{"name":"generate-required-server-files","duration":1950,"timestamp":83770967,"id":21,"parentId":1,"tags":{},"startTime":1770549073060,"traceId":"a7f01f95f09e72b0"},{"name":"check-static-error-page","duration":4949,"timestamp":83794171,"id":23,"parentId":22,"tags":{},"startTime":1770549073083,"traceId":"a7f01f95f09e72b0"},{"name":"is-page-static","duration":257062,"timestamp":83801352,"id":28,"parentId":24,"tags":{},"startTime":1770549073090,"traceId":"a7f01f95f09e72b0"},{"name":"check-page","duration":263538,"timestamp":83794953,"id":24,"parentId":22,"tags":{"page":"/_not-found"},"startTime":1770549073084,"traceId":"a7f01f95f09e72b0"},{"name":"is-page-static","duration":259548,"timestamp":83801584,"id":29,"parentId":25,"tags":{},"startTime":1770549073090,"traceId":"a7f01f95f09e72b0"},{"name":"check-page","duration":262980,"timestamp":83798185,"id":25,"parentId":22,"tags":{"page":"/_global-error"},"startTime":1770549073087,"traceId":"a7f01f95f09e72b0"},{"name":"is-page-static","duration":264042,"timestamp":83805839,"id":30,"parentId":26,"tags":{},"startTime":1770549073095,"traceId":"a7f01f95f09e72b0"},{"name":"check-page","duration":271567,"timestamp":83798345,"id":26,"parentId":22,"tags":{"page":"/"},"startTime":1770549073087,"traceId":"a7f01f95f09e72b0"},{"name":"is-page-static","duration":268385,"timestamp":83805875,"id":31,"parentId":27,"tags":{},"startTime":1770549073095,"traceId":"a7f01f95f09e72b0"},{"name":"check-page","duration":275249,"timestamp":83799043,"id":27,"parentId":22,"tags":{"page":"/version"},"startTime":1770549073088,"traceId":"a7f01f95f09e72b0"},{"name":"static-check","duration":280801,"timestamp":83793521,"id":22,"parentId":1,"tags":{},"startTime":1770549073082,"traceId":"a7f01f95f09e72b0"},{"name":"write-routes-manifest","duration":271,"timestamp":84074860,"id":33,"parentId":1,"tags":{},"startTime":1770549073364,"traceId":"a7f01f95f09e72b0"},{"name":"load-dotenv","duration":30,"timestamp":84086645,"id":36,"parentId":35,"tags":{},"startTime":1770549073375,"traceId":"a7f01f95f09e72b0"},{"name":"run-export-path-map","duration":317,"timestamp":84088811,"id":37,"parentId":35,"tags":{},"startTime":1770549073378,"traceId":"a7f01f95f09e72b0"},{"name":"next-export","duration":149196,"timestamp":84085775,"id":35,"parentId":1,"tags":{},"startTime":1770549073375,"traceId":"a7f01f95f09e72b0"},{"name":"move-exported-app-not-found-","duration":441,"timestamp":84236226,"id":38,"parentId":34,"tags":{},"startTime":1770549073525,"traceId":"a7f01f95f09e72b0"},{"name":"move-exported-app-global-error-","duration":360,"timestamp":84236731,"id":39,"parentId":34,"tags":{},"startTime":1770549073526,"traceId":"a7f01f95f09e72b0"},{"name":"static-generation","duration":156601,"timestamp":84081900,"id":34,"parentId":1,"tags":{},"startTime":1770549073371,"traceId":"a7f01f95f09e72b0"},{"name":"write-routes-manifest","duration":267,"timestamp":84238613,"id":40,"parentId":1,"tags":{},"startTime":1770549073527,"traceId":"a7f01f95f09e72b0"},{"name":"print-tree-view","duration":2182,"timestamp":84243422,"id":41,"parentId":1,"tags":{},"startTime":1770549073532,"traceId":"a7f01f95f09e72b0"},{"name":"telemetry-flush","duration":60638,"timestamp":84245614,"id":42,"parentId":1,"tags":{},"startTime":1770549073534,"traceId":"a7f01f95f09e72b0"},{"name":"next-build","duration":10821507,"timestamp":73484762,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770549062774,"traceId":"a7f01f95f09e72b0"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"name":"run-turbopack","duration":5230903,"timestamp":73765426,"id":17,"parentId":1,"tags":{},"startTime":1770549063054,"traceId":"a7f01f95f09e72b0"},{"name":"run-typescript","duration":4769295,"timestamp":79001073,"id":19,"parentId":1,"tags":{},"startTime":1770549068290,"traceId":"a7f01f95f09e72b0"},{"name":"static-check","duration":280801,"timestamp":83793521,"id":22,"parentId":1,"tags":{},"startTime":1770549073082,"traceId":"a7f01f95f09e72b0"},{"name":"static-generation","duration":156601,"timestamp":84081900,"id":34,"parentId":1,"tags":{},"startTime":1770549073371,"traceId":"a7f01f95f09e72b0"},{"name":"telemetry-flush","duration":60638,"timestamp":84245614,"id":42,"parentId":1,"tags":{},"startTime":1770549073534,"traceId":"a7f01f95f09e72b0"},{"name":"next-build","duration":10821507,"timestamp":73484762,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770549062774,"traceId":"a7f01f95f09e72b0"}]
|
|
File without changes
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// This file is generated automatically by Next.js
|
|
2
|
+
// Do not edit this file manually
|
|
3
|
+
|
|
4
|
+
// Type definitions for Next.js routes
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Internal types used by the Next.js router and Link component.
|
|
8
|
+
* These types are not meant to be used directly.
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
declare namespace __next_route_internal_types__ {
|
|
12
|
+
type SearchOrHash = `?${string}` | `#${string}`
|
|
13
|
+
type WithProtocol = `${string}:${string}`
|
|
14
|
+
|
|
15
|
+
type Suffix = '' | SearchOrHash
|
|
16
|
+
|
|
17
|
+
type SafeSlug<S extends string> = S extends `${string}/${string}`
|
|
18
|
+
? never
|
|
19
|
+
: S extends `${string}${SearchOrHash}`
|
|
20
|
+
? never
|
|
21
|
+
: S extends ''
|
|
22
|
+
? never
|
|
23
|
+
: S
|
|
24
|
+
|
|
25
|
+
type CatchAllSlug<S extends string> = S extends `${string}${SearchOrHash}`
|
|
26
|
+
? never
|
|
27
|
+
: S extends ''
|
|
28
|
+
? never
|
|
29
|
+
: S
|
|
30
|
+
|
|
31
|
+
type OptionalCatchAllSlug<S extends string> =
|
|
32
|
+
S extends `${string}${SearchOrHash}` ? never : S
|
|
33
|
+
|
|
34
|
+
type StaticRoutes =
|
|
35
|
+
| `/`
|
|
36
|
+
| `/version`
|
|
37
|
+
type DynamicRoutes<T extends string = string> = never
|
|
38
|
+
|
|
39
|
+
type RouteImpl<T> =
|
|
40
|
+
| StaticRoutes
|
|
41
|
+
| SearchOrHash
|
|
42
|
+
| WithProtocol
|
|
43
|
+
| `${StaticRoutes}${SearchOrHash}`
|
|
44
|
+
| (T extends `${DynamicRoutes<infer _>}${Suffix}` ? T : never)
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare module 'next' {
|
|
49
|
+
export { default } from 'next/types.js'
|
|
50
|
+
export * from 'next/types.js'
|
|
51
|
+
|
|
52
|
+
export type Route<T extends string = string> =
|
|
53
|
+
__next_route_internal_types__.RouteImpl<T>
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare module 'next/link' {
|
|
57
|
+
export { useLinkStatus } from 'next/dist/client/link.js'
|
|
58
|
+
|
|
59
|
+
import type { LinkProps as OriginalLinkProps } from 'next/dist/client/link.js'
|
|
60
|
+
import type { AnchorHTMLAttributes, DetailedHTMLProps } from 'react'
|
|
61
|
+
import type { UrlObject } from 'url'
|
|
62
|
+
|
|
63
|
+
type LinkRestProps = Omit<
|
|
64
|
+
Omit<
|
|
65
|
+
DetailedHTMLProps<
|
|
66
|
+
AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
67
|
+
HTMLAnchorElement
|
|
68
|
+
>,
|
|
69
|
+
keyof OriginalLinkProps
|
|
70
|
+
> &
|
|
71
|
+
OriginalLinkProps,
|
|
72
|
+
'href'
|
|
73
|
+
>
|
|
74
|
+
|
|
75
|
+
export type LinkProps<RouteInferType> = LinkRestProps & {
|
|
76
|
+
/**
|
|
77
|
+
* The path or URL to navigate to. This is the only required prop. It can also be an object.
|
|
78
|
+
* @see https://nextjs.org/docs/api-reference/next/link
|
|
79
|
+
*/
|
|
80
|
+
href: __next_route_internal_types__.RouteImpl<RouteInferType> | UrlObject
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export default function Link<RouteType>(props: LinkProps<RouteType>): JSX.Element
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
declare module 'next/navigation' {
|
|
87
|
+
export * from 'next/dist/client/components/navigation.js'
|
|
88
|
+
|
|
89
|
+
import type { NavigateOptions, AppRouterInstance as OriginalAppRouterInstance } from 'next/dist/shared/lib/app-router-context.shared-runtime.js'
|
|
90
|
+
import type { RedirectType } from 'next/dist/client/components/redirect-error.js'
|
|
91
|
+
|
|
92
|
+
interface AppRouterInstance extends OriginalAppRouterInstance {
|
|
93
|
+
/**
|
|
94
|
+
* Navigate to the provided href.
|
|
95
|
+
* Pushes a new history entry.
|
|
96
|
+
*/
|
|
97
|
+
push<RouteType>(href: __next_route_internal_types__.RouteImpl<RouteType>, options?: NavigateOptions): void
|
|
98
|
+
/**
|
|
99
|
+
* Navigate to the provided href.
|
|
100
|
+
* Replaces the current history entry.
|
|
101
|
+
*/
|
|
102
|
+
replace<RouteType>(href: __next_route_internal_types__.RouteImpl<RouteType>, options?: NavigateOptions): void
|
|
103
|
+
/**
|
|
104
|
+
* Prefetch the provided href.
|
|
105
|
+
*/
|
|
106
|
+
prefetch<RouteType>(href: __next_route_internal_types__.RouteImpl<RouteType>): void
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function useRouter(): AppRouterInstance;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* This function allows you to redirect the user to another URL. It can be used in
|
|
113
|
+
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
|
114
|
+
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
|
115
|
+
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
|
116
|
+
*
|
|
117
|
+
* - In a Server Component, this will insert a meta tag to redirect the user to the target page.
|
|
118
|
+
* - In a Route Handler or Server Action, it will serve a 307/303 to the caller.
|
|
119
|
+
* - In a Server Action, type defaults to 'push' and 'replace' elsewhere.
|
|
120
|
+
*
|
|
121
|
+
* Read more: [Next.js Docs: redirect](https://nextjs.org/docs/app/api-reference/functions/redirect)
|
|
122
|
+
*/
|
|
123
|
+
export function redirect<RouteType>(
|
|
124
|
+
/** The URL to redirect to */
|
|
125
|
+
url: __next_route_internal_types__.RouteImpl<RouteType>,
|
|
126
|
+
type?: RedirectType
|
|
127
|
+
): never;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* This function allows you to redirect the user to another URL. It can be used in
|
|
131
|
+
* [Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components),
|
|
132
|
+
* [Route Handlers](https://nextjs.org/docs/app/building-your-application/routing/route-handlers), and
|
|
133
|
+
* [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).
|
|
134
|
+
*
|
|
135
|
+
* - In a Server Component, this will insert a meta tag to redirect the user to the target page.
|
|
136
|
+
* - In a Route Handler or Server Action, it will serve a 308/303 to the caller.
|
|
137
|
+
*
|
|
138
|
+
* Read more: [Next.js Docs: redirect](https://nextjs.org/docs/app/api-reference/functions/redirect)
|
|
139
|
+
*/
|
|
140
|
+
export function permanentRedirect<RouteType>(
|
|
141
|
+
/** The URL to redirect to */
|
|
142
|
+
url: __next_route_internal_types__.RouteImpl<RouteType>,
|
|
143
|
+
type?: RedirectType
|
|
144
|
+
): never;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
declare module 'next/form' {
|
|
148
|
+
import type { FormProps as OriginalFormProps } from 'next/dist/client/form.js'
|
|
149
|
+
|
|
150
|
+
type FormRestProps = Omit<OriginalFormProps, 'action'>
|
|
151
|
+
|
|
152
|
+
export type FormProps<RouteInferType> = {
|
|
153
|
+
/**
|
|
154
|
+
* `action` can be either a `string` or a function.
|
|
155
|
+
* - If `action` is a string, it will be interpreted as a path or URL to navigate to when the form is submitted.
|
|
156
|
+
* The path will be prefetched when the form becomes visible.
|
|
157
|
+
* - If `action` is a function, it will be called when the form is submitted. See the [React docs](https://react.dev/reference/react-dom/components/form#props) for more.
|
|
158
|
+
*/
|
|
159
|
+
action: __next_route_internal_types__.RouteImpl<RouteInferType> | ((formData: FormData) => void)
|
|
160
|
+
} & FormRestProps
|
|
161
|
+
|
|
162
|
+
export default function Form<RouteType>(props: FormProps<RouteType>): JSX.Element
|
|
163
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is generated automatically by Next.js
|
|
2
|
+
// Do not edit this file manually
|
|
3
|
+
|
|
4
|
+
type AppRoutes = "/" | "/version"
|
|
5
|
+
type PageRoutes = never
|
|
6
|
+
type LayoutRoutes = "/"
|
|
7
|
+
type RedirectRoutes = never
|
|
8
|
+
type RewriteRoutes = never
|
|
9
|
+
type Routes = AppRoutes | PageRoutes | LayoutRoutes | RedirectRoutes | RewriteRoutes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
interface ParamMap {
|
|
13
|
+
"/": {}
|
|
14
|
+
"/version": {}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
export type ParamsOf<Route extends Routes> = ParamMap[Route]
|
|
19
|
+
|
|
20
|
+
interface LayoutSlotMap {
|
|
21
|
+
"/": never
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
export type { AppRoutes, PageRoutes, LayoutRoutes, RedirectRoutes, RewriteRoutes, ParamMap }
|
|
26
|
+
|
|
27
|
+
declare global {
|
|
28
|
+
/**
|
|
29
|
+
* Props for Next.js App Router page components
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* export default function Page(props: PageProps<'/blog/[slug]'>) {
|
|
33
|
+
* const { slug } = await props.params
|
|
34
|
+
* return <div>Blog post: {slug}</div>
|
|
35
|
+
* }
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
interface PageProps<AppRoute extends AppRoutes> {
|
|
39
|
+
params: Promise<ParamMap[AppRoute]>
|
|
40
|
+
searchParams: Promise<Record<string, string | string[] | undefined>>
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Props for Next.js App Router layout components
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* export default function Layout(props: LayoutProps<'/dashboard'>) {
|
|
48
|
+
* return <div>{props.children}</div>
|
|
49
|
+
* }
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
type LayoutProps<LayoutRoute extends LayoutRoutes> = {
|
|
53
|
+
params: Promise<ParamMap[LayoutRoute]>
|
|
54
|
+
children: React.ReactNode
|
|
55
|
+
} & {
|
|
56
|
+
[K in LayoutSlotMap[LayoutRoute]]: React.ReactNode
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is generated automatically by Next.js
|
|
2
|
+
// Do not edit this file manually
|
|
3
|
+
// This file validates that all pages and layouts export the correct types
|
|
4
|
+
|
|
5
|
+
import type { AppRoutes, LayoutRoutes, ParamMap } from "./routes.js"
|
|
6
|
+
import type { ResolvingMetadata, ResolvingViewport } from "next/types.js"
|
|
7
|
+
|
|
8
|
+
type AppPageConfig<Route extends AppRoutes = AppRoutes> = {
|
|
9
|
+
default: React.ComponentType<{ params: Promise<ParamMap[Route]> } & any> | ((props: { params: Promise<ParamMap[Route]> } & any) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
|
|
10
|
+
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
|
|
11
|
+
generateMetadata?: (
|
|
12
|
+
props: { params: Promise<ParamMap[Route]> } & any,
|
|
13
|
+
parent: ResolvingMetadata
|
|
14
|
+
) => Promise<any> | any
|
|
15
|
+
generateViewport?: (
|
|
16
|
+
props: { params: Promise<ParamMap[Route]> } & any,
|
|
17
|
+
parent: ResolvingViewport
|
|
18
|
+
) => Promise<any> | any
|
|
19
|
+
metadata?: any
|
|
20
|
+
viewport?: any
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type LayoutConfig<Route extends LayoutRoutes = LayoutRoutes> = {
|
|
24
|
+
default: React.ComponentType<LayoutProps<Route>> | ((props: LayoutProps<Route>) => React.ReactNode | Promise<React.ReactNode> | never | void | Promise<void>)
|
|
25
|
+
generateStaticParams?: (props: { params: ParamMap[Route] }) => Promise<any[]> | any[]
|
|
26
|
+
generateMetadata?: (
|
|
27
|
+
props: { params: Promise<ParamMap[Route]> } & any,
|
|
28
|
+
parent: ResolvingMetadata
|
|
29
|
+
) => Promise<any> | any
|
|
30
|
+
generateViewport?: (
|
|
31
|
+
props: { params: Promise<ParamMap[Route]> } & any,
|
|
32
|
+
parent: ResolvingViewport
|
|
33
|
+
) => Promise<any> | any
|
|
34
|
+
metadata?: any
|
|
35
|
+
viewport?: any
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
// Validate ../../app/page.tsx
|
|
40
|
+
{
|
|
41
|
+
type __IsExpected<Specific extends AppPageConfig<"/">> = Specific
|
|
42
|
+
const handler = {} as typeof import("../../app/page.js")
|
|
43
|
+
type __Check = __IsExpected<typeof handler>
|
|
44
|
+
// @ts-ignore
|
|
45
|
+
type __Unused = __Check
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Validate ../../app/version/page.tsx
|
|
49
|
+
{
|
|
50
|
+
type __IsExpected<Specific extends AppPageConfig<"/version">> = Specific
|
|
51
|
+
const handler = {} as typeof import("../../app/version/page.js")
|
|
52
|
+
type __Check = __IsExpected<typeof handler>
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
type __Unused = __Check
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// Validate ../../app/layout.tsx
|
|
64
|
+
{
|
|
65
|
+
type __IsExpected<Specific extends LayoutConfig<"/">> = Specific
|
|
66
|
+
const handler = {} as typeof import("../../app/layout.js")
|
|
67
|
+
type __Check = __IsExpected<typeof handler>
|
|
68
|
+
// @ts-ignore
|
|
69
|
+
type __Unused = __Check
|
|
70
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { NextConfig } from 'next';
|
|
2
|
+
|
|
3
|
+
const nextConfig: NextConfig = {
|
|
4
|
+
// Enable Turbopack for faster development builds
|
|
5
|
+
turbopack: {},
|
|
6
|
+
|
|
7
|
+
// Enable typed routes (moved from experimental in Next.js 16)
|
|
8
|
+
typedRoutes: true,
|
|
9
|
+
|
|
10
|
+
// Configure the output directory
|
|
11
|
+
distDir: '.next',
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export default nextConfig;
|
package/web/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@shepai/web",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "next dev",
|
|
8
|
+
"dev:e2e": "next dev -p 3001",
|
|
9
|
+
"build": "next build",
|
|
10
|
+
"start": "next start",
|
|
11
|
+
"lint": "eslint . --max-warnings 0",
|
|
12
|
+
"lint:fix": "eslint . --fix --max-warnings 0",
|
|
13
|
+
"format": "prettier --write .",
|
|
14
|
+
"format:check": "prettier --check .",
|
|
15
|
+
"typecheck": "tsc --noEmit"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"class-variance-authority": "^0.7.1",
|
|
19
|
+
"clsx": "^2.1.1",
|
|
20
|
+
"lucide-react": "^0.563.0",
|
|
21
|
+
"next": "^16.1.6",
|
|
22
|
+
"radix-ui": "^1.4.3",
|
|
23
|
+
"react": "^19.2.4",
|
|
24
|
+
"react-dom": "^19.2.4",
|
|
25
|
+
"sonner": "^2.0.7",
|
|
26
|
+
"tailwind-merge": "^3.4.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
30
|
+
"@types/node": "^25.2.0",
|
|
31
|
+
"@types/react": "^19.2.10",
|
|
32
|
+
"@types/react-dom": "^19.2.3",
|
|
33
|
+
"autoprefixer": "^10.4.24",
|
|
34
|
+
"postcss": "^8.5.6",
|
|
35
|
+
"tailwindcss": "^4.1.18",
|
|
36
|
+
"typescript": "^5.3.0"
|
|
37
|
+
}
|
|
38
|
+
}
|