Edit gitignore file

This commit is contained in:
ParkSuMin
2025-02-24 20:17:54 +03:00
parent 9b16274400
commit d7869378b8
349 changed files with 686 additions and 25860 deletions

View File

@@ -1,14 +1,14 @@
/// <reference types="node" />
/// <reference types="node" />
import type { ComponentType } from 'react';
import type { DomainLocale } from 'next/dist/server/config';
import type { MittEmitter } from 'next/dist/shared/lib/mitt';
import type { DomainLocale } from '../../../server/config';
import type { MittEmitter } from '../mitt';
import type { ParsedUrlQuery } from 'querystring';
import type { RouterEvent } from 'next/dist/client/router';
import type { StyleSheetTuple } from 'next/dist/client/page-loader';
import type { RouterEvent } from '../../../client/router';
import type { StyleSheetTuple } from '../../../client/page-loader';
import type { UrlObject } from 'url';
import type PageLoader from 'next/dist/client/page-loader';
import type { NextPageContext, NEXT_DATA } from 'next/dist/shared/lib/utils';
import type PageLoader from '../../../client/page-loader';
import type { NextPageContext, NEXT_DATA } from '../utils';
declare global {
interface Window {
__NEXT_DATA__: NEXT_DATA;
@@ -128,8 +128,8 @@ export default class Router implements BaseRouter {
isLocaleDomain: boolean;
isFirstPopStateEvent: boolean;
_initialMatchesMiddlewarePromise: Promise<boolean>;
_bfl_s?: import('next/dist/shared/lib/bloom-filter').BloomFilter;
_bfl_d?: import('next/dist/shared/lib/bloom-filter').BloomFilter;
_bfl_s?: import('../../lib/bloom-filter').BloomFilter;
_bfl_d?: import('../../lib/bloom-filter').BloomFilter;
private state;
private _key;
static events: MittEmitter<RouterEvent>;
@@ -217,7 +217,7 @@ export default class Router implements BaseRouter {
* @param asPath the as path of the prefetched page
*/
prefetch(url: string, asPath?: string, options?: PrefetchOptions): Promise<void>;
fetchComponent(route: string): Promise<import("next/dist/client/page-loader").GoodPageCache>;
fetchComponent(route: string): Promise<import("../../../client/page-loader").GoodPageCache>;
_getData<T>(fn: () => Promise<T>): Promise<T>;
_getFlightData(dataHref: string): Promise<{
data: string;

View File

@@ -1,6 +1,6 @@
import type { BaseNextRequest } from 'next/dist/server/base-http';
import type { MiddlewareMatcher } from 'next/dist/build/analysis/get-page-static-info';
import type { Params } from 'next/dist/shared/lib/router/utils/route-matcher';
import type { BaseNextRequest } from '../../../../server/base-http';
import type { MiddlewareMatcher } from '../../../../build/analysis/get-page-static-info';
import type { Params } from './route-matcher';
export interface MiddlewareRouteMatch {
(pathname: string | null | undefined, request: BaseNextRequest, query: Params): boolean;
}

View File

@@ -1,4 +1,4 @@
import type { RouteRegex } from 'next/dist/shared/lib/router/utils/route-regex';
import type { RouteRegex } from './route-regex';
export interface RouteMatchFn {
(pathname: string | null | undefined): false | Params;
}