Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

21
node_modules/@module-federation/sdk/dist/utils.d.ts generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import { RemoteEntryInfo } from "./types/common.js";
import { ModuleInfo } from "./types/snapshot.js";
//#region src/utils.d.ts
declare const parseEntry: (str: string, devVerOrUrl?: string, separator?: string) => RemoteEntryInfo;
declare global {
var FEDERATION_DEBUG: string | undefined;
}
declare const composeKeyWithSeparator: (...args: (string | undefined)[]) => string;
declare const encodeName: (name: string, prefix?: string, withExt?: boolean) => string;
declare const decodeName: (name: string, prefix?: string, withExt?: boolean) => string;
declare const generateExposeFilename: (exposeName: string, withExt: boolean) => string;
declare const generateShareFilename: (pkgName: string, withExt: boolean) => string;
declare const getResourceUrl: (module: ModuleInfo, sourceUrl: string) => string;
declare const assert: (condition: any, msg: string) => asserts condition;
declare const error: (msg: string | Error | unknown) => never;
declare const warn: (msg: Parameters<typeof console.warn>[0]) => void;
declare function safeToString(info: any): string;
declare function isRequiredVersion(str: string): boolean;
//#endregion
export { assert, composeKeyWithSeparator, decodeName, encodeName, error, generateExposeFilename, generateShareFilename, getResourceUrl, isRequiredVersion, parseEntry, safeToString, warn };
//# sourceMappingURL=utils.d.ts.map