Files
wehub-resource-sync e30e75b5d4
Code Quality / Oxlint + Oxfmt (push) Waiting to run
Code Quality / Template Sync (push) Waiting to run
Code Quality / Build Changed Packages (push) Waiting to run
Code Quality / Test Changed Packages (push) Waiting to run
Deploy Expo Example / Deploy Production (push) Waiting to run
Deploy Ink Example / Deploy Production (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-stream, 3.12) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.10) (push) Waiting to run
Python Tests / pytest (assistant-ui-sync-server-api, 3.12) (push) Waiting to run
Deploy Shadcn Registry / Deploy Production (push) Waiting to run
Template Metrics / LOC + Bundle Size (push) Waiting to run
Changesets / Create Version PR (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:40:13 +08:00

35 lines
892 B
TypeScript

interface GenerativeLoaderContext {
resourcePath?: string;
resourceQuery?: string;
sourceMap?: boolean;
getOptions?(): {
path?: string;
} | undefined;
async(): (err: unknown, code?: string, map?: object | null) => void;
}
type NextConfigLike = {
turbopack?: {
rules?: Record<string, unknown>;
} | undefined;
webpack?: ((config: any, context: any) => any) | null | undefined;
};
interface WithAuiOptions {
rules?: string[];
}
declare function generativeLoader(this: GenerativeLoaderContext, source: string): void;
declare namespace entry_root_exports {
export { WithAuiOptions, withAui };
}
declare namespace entry_loader_exports {
export { generativeLoader as default };
}
declare function withAui<T extends NextConfigLike>(nextConfig?: T, options?: WithAuiOptions): T;
export { entry_loader_exports as entry_loader, entry_root_exports as entry_root };