mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-28 06:23:01 +00:00
31 lines
1.5 KiB
TypeScript
31 lines
1.5 KiB
TypeScript
// AUTO-GENERATED — do not edit by hand.
|
|
// Run `bun run scripts/build-admin-embedded.ts` to regenerate.
|
|
// Source: admin/dist/ at 2026-05-27.
|
|
//
|
|
// Bun resolves the file: imports to a path that works at runtime even
|
|
// inside a compiled binary (`bun build --compile`). The manifest maps
|
|
// the request path the express handler sees to (resolved-path, mime).
|
|
|
|
// @ts-ignore — type: 'file' is Bun ESM, not in lib.d.ts
|
|
import A_0_assets_index_CoGEje3__js from '../admin/dist/assets/index-CoGEje3-.js' with { type: 'file' };
|
|
// @ts-ignore — type: 'file' is Bun ESM, not in lib.d.ts
|
|
import A_1_assets_index_GxkWX7v3_css from '../admin/dist/assets/index-GxkWX7v3.css' with { type: 'file' };
|
|
// @ts-ignore — type: 'file' is Bun ESM, not in lib.d.ts
|
|
import A_2_index_html from '../admin/dist/index.html' with { type: 'file' };
|
|
|
|
export interface AdminAsset {
|
|
path: string;
|
|
mime: string;
|
|
}
|
|
|
|
export const ADMIN_ASSETS: Record<string, AdminAsset> = {
|
|
"/admin/assets/index-CoGEje3-.js": { path: A_0_assets_index_CoGEje3__js as unknown as string, mime: "application/javascript; charset=utf-8" },
|
|
"/admin/assets/index-GxkWX7v3.css": { path: A_1_assets_index_GxkWX7v3_css as unknown as string, mime: "text/css; charset=utf-8" },
|
|
"/admin/index.html": { path: A_2_index_html as unknown as string, mime: "text/html; charset=utf-8" },
|
|
};
|
|
|
|
/** Index entry point for SPA fallback. */
|
|
export const ADMIN_INDEX_HTML: AdminAsset = ADMIN_ASSETS['/admin/index.html'];
|
|
|
|
export const ADMIN_ASSET_COUNT = 3;
|