inital commit

This commit is contained in:
2026-01-01 15:25:19 +05:30
commit f0ae49465a
36361 changed files with 4894111 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import Document from '../../../../pages/_document';
import App from '../../../../pages/_app';
import { RouteKind } from '../../../route-kind';
import * as moduleError from '../../../../pages/_error';
import PagesRouteModule from '../module';
export const routeModule = new PagesRouteModule({
// TODO: add descriptor for internal error page
definition: {
kind: RouteKind.PAGES,
page: '/_error',
pathname: '/_error',
filename: '',
bundlePath: ''
},
components: {
App,
Document
},
// @ts-expect-error -- Types don't account for getInitialProps. `Error` requires to be instantiated with `statusCode` but the types currently don't guarantee that.
userland: moduleError
});
//# sourceMappingURL=_error.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["../../../../../src/server/route-modules/pages/builtin/_error.tsx"],"sourcesContent":["import Document from '../../../../pages/_document'\nimport App from '../../../../pages/_app'\nimport { RouteKind } from '../../../route-kind'\n\nimport * as moduleError from '../../../../pages/_error'\n\nimport PagesRouteModule from '../module'\n\nexport const routeModule = new PagesRouteModule({\n // TODO: add descriptor for internal error page\n definition: {\n kind: RouteKind.PAGES,\n page: '/_error',\n pathname: '/_error',\n filename: '',\n bundlePath: '',\n },\n components: {\n App,\n Document,\n },\n // @ts-expect-error -- Types don't account for getInitialProps. `Error` requires to be instantiated with `statusCode` but the types currently don't guarantee that.\n userland: moduleError,\n})\n"],"names":["Document","App","RouteKind","moduleError","PagesRouteModule","routeModule","definition","kind","PAGES","page","pathname","filename","bundlePath","components","userland"],"mappings":"AAAA,OAAOA,cAAc,8BAA6B;AAClD,OAAOC,SAAS,yBAAwB;AACxC,SAASC,SAAS,QAAQ,sBAAqB;AAE/C,YAAYC,iBAAiB,2BAA0B;AAEvD,OAAOC,sBAAsB,YAAW;AAExC,OAAO,MAAMC,cAAc,IAAID,iBAAiB;IAC9C,+CAA+C;IAC/CE,YAAY;QACVC,MAAML,UAAUM,KAAK;QACrBC,MAAM;QACNC,UAAU;QACVC,UAAU;QACVC,YAAY;IACd;IACAC,YAAY;QACVZ;QACAD;IACF;IACA,mKAAmK;IACnKc,UAAUX;AACZ,GAAE"}