Forked from hermes-frontend, stripped openclaw/bun specifics: - Auth tokens: openclaw_session -> nyx_session - Vite proxy: localhost:3003 -> localhost:8000 (assay) - Prod WS: wss://assay.loop42.de/ws - Workspace paths: removed openclaw-specific paths - Added missing deps: @heroicons/vue, overlayscrollbars-vue - Branding: title -> nyx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
69 lines
2.9 KiB
TypeScript
69 lines
2.9 KiB
TypeScript
/*!
|
|
* vue-router v5.0.3
|
|
* (c) 2026 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/
|
|
import { C as createTreeNodeValue, S as TreeNodeValueStatic, _ as getPascalCaseRouteName, a as ResolvedOptions, b as TreeNodeValueGroup, c as RoutesFolderOptionResolved, g as getFileBasedRouteName, h as EditableTreeNode, i as ParamParsersOptions, l as ServerContext, o as RoutesFolder, p as resolveOptions, r as Options, s as RoutesFolderOption, t as DEFAULT_OPTIONS, v as TreeNode, x as TreeNodeValueParam, y as TreeNodeValue } from "../options-Dvc4jXVE.cjs";
|
|
import * as unplugin0 from "unplugin";
|
|
import { StringFilter } from "unplugin";
|
|
import { Plugin } from "vite";
|
|
|
|
//#region src/unplugin/core/context.d.ts
|
|
declare function createRoutesContext(options: ResolvedOptions): {
|
|
scanPages: (startWatchers?: boolean) => Promise<void>;
|
|
writeConfigFiles: () => void;
|
|
setServerContext: (_server: ServerContext) => void;
|
|
stopWatcher: () => void;
|
|
generateRoutes: () => string;
|
|
generateResolver: () => string;
|
|
definePageTransform(code: string, id: string): unplugin0.Thenable<unplugin0.TransformResult>;
|
|
};
|
|
//#endregion
|
|
//#region src/experimental/data-loaders/auto-exports.d.ts
|
|
/**
|
|
* {@link AutoExportLoaders} options.
|
|
*/
|
|
interface AutoExportLoadersOptions {
|
|
/**
|
|
* Filter page components to apply the auto-export. Passed to `transform.filter.id`.
|
|
*/
|
|
transformFilter: StringFilter;
|
|
/**
|
|
* Globs to match the paths of the loaders.
|
|
*/
|
|
loadersPathsGlobs: string | string[];
|
|
/**
|
|
* Root of the project. All paths are resolved relatively to this one.
|
|
* @default `process.cwd()`
|
|
*/
|
|
root?: string;
|
|
}
|
|
/**
|
|
* Vite Plugin to automatically export loaders from page components.
|
|
*
|
|
* @param options Options
|
|
* @experimental - This API is experimental and can be changed in the future. It's used internally by `experimental.autoExportsDataLoaders`
|
|
|
|
*/
|
|
declare function AutoExportLoaders({
|
|
transformFilter,
|
|
loadersPathsGlobs,
|
|
root
|
|
}: AutoExportLoadersOptions): Plugin;
|
|
//#endregion
|
|
//#region src/unplugin/index.d.ts
|
|
declare const _default: unplugin0.UnpluginInstance<Options | undefined, boolean>;
|
|
/**
|
|
* Adds useful auto imports to the AutoImport config:
|
|
* @example
|
|
* ```js
|
|
* import { VueRouterAutoImports } from 'vue-router/unplugin'
|
|
*
|
|
* AutoImport({
|
|
* imports: [VueRouterAutoImports],
|
|
* }),
|
|
* ```
|
|
*/
|
|
declare const VueRouterAutoImports: Record<string, Array<string | [importName: string, alias: string]>>;
|
|
//#endregion
|
|
export { AutoExportLoaders, type AutoExportLoadersOptions, DEFAULT_OPTIONS, EditableTreeNode, type Options, type ParamParsersOptions, type ResolvedOptions, type RoutesFolder, type RoutesFolderOption, type RoutesFolderOptionResolved, type TreeNode, type TreeNodeValue, type TreeNodeValueGroup, type TreeNodeValueParam, type TreeNodeValueStatic, VueRouterAutoImports, createRoutesContext, createTreeNodeValue, _default as default, getFileBasedRouteName, getPascalCaseRouteName, resolveOptions }; |