@absolutejs/voice 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular/index.js +1 -1
- package/dist/{voice/src/angular → angular}/voice-stream.service.d.ts +1 -1
- package/dist/{voice/src/client → client}/createVoiceStream.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/{voice/src/react → react}/useVoiceStream.d.ts +1 -1
- package/dist/{voice/src/svelte → svelte}/createVoiceStream.d.ts +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/index.js +1 -1
- package/dist/{voice/src/vue → vue}/useVoiceStream.d.ts +1 -1
- package/package.json +14 -13
- package/dist/absolutejs/src/angular/angularDeps.d.ts +0 -2
- package/dist/absolutejs/src/angular/angularPatch.d.ts +0 -1
- package/dist/absolutejs/src/angular/injectorPatch.d.ts +0 -1
- package/dist/absolutejs/src/angular/islands.d.ts +0 -3
- package/dist/absolutejs/src/angular/lowerDeferSyntax.d.ts +0 -18
- package/dist/absolutejs/src/angular/lowerServerIslands.d.ts +0 -1
- package/dist/absolutejs/src/angular/pageHandler.d.ts +0 -26
- package/dist/absolutejs/src/angular/resolveAngularPackage.d.ts +0 -7
- package/dist/absolutejs/src/angular/ssrRender.d.ts +0 -16
- package/dist/absolutejs/src/angular/ssrSanitizer.d.ts +0 -3
- package/dist/absolutejs/src/build/angularLinkerPlugin.d.ts +0 -11
- package/dist/absolutejs/src/build/buildAngularVendor.d.ts +0 -4
- package/dist/absolutejs/src/build/buildDepVendor.d.ts +0 -2
- package/dist/absolutejs/src/build/buildReactVendor.d.ts +0 -8
- package/dist/absolutejs/src/build/buildSvelteVendor.d.ts +0 -6
- package/dist/absolutejs/src/build/buildVueVendor.d.ts +0 -6
- package/dist/absolutejs/src/build/compileAngular.d.ts +0 -29
- package/dist/absolutejs/src/build/compileSvelte.d.ts +0 -13
- package/dist/absolutejs/src/build/compileVue.d.ts +0 -19
- package/dist/absolutejs/src/build/generateManifest.d.ts +0 -2
- package/dist/absolutejs/src/build/generateReactIndexes.d.ts +0 -1
- package/dist/absolutejs/src/build/htmlScriptHMRPlugin.d.ts +0 -13
- package/dist/absolutejs/src/build/islandEntries.d.ts +0 -32
- package/dist/absolutejs/src/build/nativeRewrite.d.ts +0 -5
- package/dist/absolutejs/src/build/optimizeHtmlImages.d.ts +0 -2
- package/dist/absolutejs/src/build/outputLogs.d.ts +0 -1
- package/dist/absolutejs/src/build/resolvePackageImport.d.ts +0 -9
- package/dist/absolutejs/src/build/rewriteImports.d.ts +0 -7
- package/dist/absolutejs/src/build/rewriteReactImports.d.ts +0 -7
- package/dist/absolutejs/src/build/scanConventions.d.ts +0 -5
- package/dist/absolutejs/src/build/scanCssEntryPoints.d.ts +0 -1
- package/dist/absolutejs/src/build/scanEntryPoints.d.ts +0 -1
- package/dist/absolutejs/src/build/staticIslandPages.d.ts +0 -9
- package/dist/absolutejs/src/build/updateAssetPaths.d.ts +0 -1
- package/dist/absolutejs/src/build/wrapHTMLScript.d.ts +0 -17
- package/dist/absolutejs/src/cli/scripts/telemetry.d.ts +0 -5
- package/dist/absolutejs/src/cli/telemetryEvent.d.ts +0 -1
- package/dist/absolutejs/src/client/islandStore.d.ts +0 -22
- package/dist/absolutejs/src/client/streamSwap.d.ts +0 -11
- package/dist/absolutejs/src/constants.d.ts +0 -60
- package/dist/absolutejs/src/core/build.d.ts +0 -9
- package/dist/absolutejs/src/core/currentIslandRegistry.d.ts +0 -7
- package/dist/absolutejs/src/core/devBuild.d.ts +0 -6
- package/dist/absolutejs/src/core/devRouteRegistrationCallsite.d.ts +0 -2
- package/dist/absolutejs/src/core/devVendorPaths.d.ts +0 -13
- package/dist/absolutejs/src/core/index.d.ts +0 -7
- package/dist/absolutejs/src/core/islandManifest.d.ts +0 -3
- package/dist/absolutejs/src/core/islandMarkupAttributes.d.ts +0 -12
- package/dist/absolutejs/src/core/islandPageContext.d.ts +0 -12
- package/dist/absolutejs/src/core/islandSsr.d.ts +0 -6
- package/dist/absolutejs/src/core/islands.d.ts +0 -16
- package/dist/absolutejs/src/core/loadIslandRegistry.d.ts +0 -1
- package/dist/absolutejs/src/core/lookup.d.ts +0 -1
- package/dist/absolutejs/src/core/pageHandlers.d.ts +0 -6
- package/dist/absolutejs/src/core/prepare.d.ts +0 -274
- package/dist/absolutejs/src/core/prerender.d.ts +0 -31
- package/dist/absolutejs/src/core/renderIslandMarkup.d.ts +0 -13
- package/dist/absolutejs/src/core/responseEnhancers.d.ts +0 -10
- package/dist/absolutejs/src/core/staticStreaming.d.ts +0 -25
- package/dist/absolutejs/src/core/streamingSlotRegistrar.d.ts +0 -16
- package/dist/absolutejs/src/core/streamingSlotRegistry.d.ts +0 -2
- package/dist/absolutejs/src/core/streamingSlotWarningScope.d.ts +0 -4
- package/dist/absolutejs/src/core/svelteServerModule.d.ts +0 -1
- package/dist/absolutejs/src/core/wrapPageHandlerWithStreamingSlots.d.ts +0 -2
- package/dist/absolutejs/src/dev/assetStore.d.ts +0 -8
- package/dist/absolutejs/src/dev/buildHMRClient.d.ts +0 -1
- package/dist/absolutejs/src/dev/clientManager.d.ts +0 -31
- package/dist/absolutejs/src/dev/configResolver.d.ts +0 -14
- package/dist/absolutejs/src/dev/dependencyGraph.d.ts +0 -10
- package/dist/absolutejs/src/dev/devCert.d.ts +0 -11
- package/dist/absolutejs/src/dev/fileHashTracker.d.ts +0 -2
- package/dist/absolutejs/src/dev/fileWatcher.d.ts +0 -4
- package/dist/absolutejs/src/dev/moduleMapper.d.ts +0 -27
- package/dist/absolutejs/src/dev/moduleServer.d.ts +0 -21
- package/dist/absolutejs/src/dev/moduleVersionTracker.d.ts +0 -7
- package/dist/absolutejs/src/dev/pathUtils.d.ts +0 -5
- package/dist/absolutejs/src/dev/reactComponentClassifier.d.ts +0 -2
- package/dist/absolutejs/src/dev/rebuildTrigger.d.ts +0 -10
- package/dist/absolutejs/src/dev/simpleHTMLHMR.d.ts +0 -4
- package/dist/absolutejs/src/dev/simpleHTMXHMR.d.ts +0 -4
- package/dist/absolutejs/src/dev/transformCache.d.ts +0 -6
- package/dist/absolutejs/src/dev/webSocket.d.ts +0 -9
- package/dist/absolutejs/src/index.d.ts +0 -5
- package/dist/absolutejs/src/islands/pageMetadata.d.ts +0 -13
- package/dist/absolutejs/src/islands/sourceMetadata.d.ts +0 -10
- package/dist/absolutejs/src/plugins/devtoolsJson.d.ts +0 -58
- package/dist/absolutejs/src/plugins/hmr.d.ts +0 -138
- package/dist/absolutejs/src/plugins/imageOptimizer.d.ts +0 -67
- package/dist/absolutejs/src/plugins/index.d.ts +0 -3
- package/dist/absolutejs/src/plugins/networking.d.ts +0 -2
- package/dist/absolutejs/src/plugins/pageRouter.d.ts +0 -1
- package/dist/absolutejs/src/react/Island.d.ts +0 -2
- package/dist/absolutejs/src/react/bridgeInternals.d.ts +0 -1
- package/dist/absolutejs/src/react/createIsland.d.ts +0 -2
- package/dist/absolutejs/src/react/hooks/useIslandStore.d.ts +0 -3
- package/dist/absolutejs/src/react/index.d.ts +0 -4
- package/dist/absolutejs/src/react/pageHandler.d.ts +0 -21
- package/dist/absolutejs/src/svelte/lowerAwaitSlotSyntax.d.ts +0 -4
- package/dist/absolutejs/src/svelte/lowerIslandSyntax.d.ts +0 -4
- package/dist/absolutejs/src/svelte/pageHandler.d.ts +0 -23
- package/dist/absolutejs/src/svelte/renderToReadableStream.d.ts +0 -14
- package/dist/absolutejs/src/utils/cleanStaleOutputs.d.ts +0 -1
- package/dist/absolutejs/src/utils/cleanup.d.ts +0 -8
- package/dist/absolutejs/src/utils/commonAncestor.d.ts +0 -1
- package/dist/absolutejs/src/utils/defineConfig.d.ts +0 -2
- package/dist/absolutejs/src/utils/defineEnv.d.ts +0 -10
- package/dist/absolutejs/src/utils/escapeScriptContent.d.ts +0 -1
- package/dist/absolutejs/src/utils/generateHeadElement.d.ts +0 -4
- package/dist/absolutejs/src/utils/generateSitemap.d.ts +0 -6
- package/dist/absolutejs/src/utils/getDurationString.d.ts +0 -1
- package/dist/absolutejs/src/utils/getEnv.d.ts +0 -1
- package/dist/absolutejs/src/utils/imageProcessing.d.ts +0 -33
- package/dist/absolutejs/src/utils/index.d.ts +0 -9
- package/dist/absolutejs/src/utils/jsonLd.d.ts +0 -2
- package/dist/absolutejs/src/utils/loadConfig.d.ts +0 -1
- package/dist/absolutejs/src/utils/logger.d.ts +0 -55
- package/dist/absolutejs/src/utils/networking.d.ts +0 -2
- package/dist/absolutejs/src/utils/normalizePath.d.ts +0 -9
- package/dist/absolutejs/src/utils/registerClientScript.d.ts +0 -36
- package/dist/absolutejs/src/utils/resolveConvention.d.ts +0 -9
- package/dist/absolutejs/src/utils/ssrErrorPage.d.ts +0 -1
- package/dist/absolutejs/src/utils/startupBanner.d.ts +0 -9
- package/dist/absolutejs/src/utils/streamingSlotMetricSink.d.ts +0 -18
- package/dist/absolutejs/src/utils/streamingSlots.d.ts +0 -76
- package/dist/absolutejs/src/utils/stringModifiers.d.ts +0 -3
- package/dist/absolutejs/src/utils/validateSafePath.d.ts +0 -1
- package/dist/absolutejs/src/vue/pageHandler.d.ts +0 -29
- package/dist/absolutejs/types/ai.d.ts +0 -4631
- package/dist/absolutejs/types/angular.d.ts +0 -29
- package/dist/absolutejs/types/build.d.ts +0 -67
- package/dist/absolutejs/types/cli.d.ts +0 -19
- package/dist/absolutejs/types/client.d.ts +0 -65
- package/dist/absolutejs/types/conventions.d.ts +0 -20
- package/dist/absolutejs/types/env.d.ts +0 -2
- package/dist/absolutejs/types/image.d.ts +0 -77
- package/dist/absolutejs/types/index.d.ts +0 -19
- package/dist/absolutejs/types/island.d.ts +0 -48
- package/dist/absolutejs/types/jsonLd.d.ts +0 -271
- package/dist/absolutejs/types/messages.d.ts +0 -144
- package/dist/absolutejs/types/metadata.d.ts +0 -49
- package/dist/absolutejs/types/react.d.ts +0 -2
- package/dist/absolutejs/types/session.d.ts +0 -16
- package/dist/absolutejs/types/sitemap.d.ts +0 -14
- package/dist/absolutejs/types/svelte.d.ts +0 -2
- package/dist/absolutejs/types/telemetry.d.ts +0 -15
- package/dist/absolutejs/types/tool.d.ts +0 -11
- package/dist/absolutejs/types/typeGuards.d.ts +0 -5
- package/dist/absolutejs/types/vue.d.ts +0 -14
- package/dist/absolutejs/types/websocket.d.ts +0 -6
- /package/dist/{voice/src/angular → angular}/index.d.ts +0 -0
- /package/dist/{voice/src/client → client}/actions.d.ts +0 -0
- /package/dist/{voice/src/client → client}/connection.d.ts +0 -0
- /package/dist/{voice/src/client → client}/index.d.ts +0 -0
- /package/dist/{voice/src/client → client}/microphone.d.ts +0 -0
- /package/dist/{voice/src/client → client}/store.d.ts +0 -0
- /package/dist/{voice/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{voice/src/logger.d.ts → logger.d.ts} +0 -0
- /package/dist/{voice/src/memoryStore.d.ts → memoryStore.d.ts} +0 -0
- /package/dist/{voice/src/plugin.d.ts → plugin.d.ts} +0 -0
- /package/dist/{voice/src/react → react}/index.d.ts +0 -0
- /package/dist/{voice/src/session.d.ts → session.d.ts} +0 -0
- /package/dist/{voice/src/store.d.ts → store.d.ts} +0 -0
- /package/dist/{voice/src/svelte → svelte}/index.d.ts +0 -0
- /package/dist/{voice/src/turnDetection.d.ts → turnDetection.d.ts} +0 -0
- /package/dist/{voice/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{voice/src/vue → vue}/index.d.ts +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const hasMkcert: () => boolean;
|
|
2
|
-
export declare const ensureDevCert: () => {
|
|
3
|
-
cert: string;
|
|
4
|
-
key: string;
|
|
5
|
-
} | null;
|
|
6
|
-
export declare const hasCert: () => boolean;
|
|
7
|
-
export declare const loadDevCert: () => {
|
|
8
|
-
cert: string;
|
|
9
|
-
key: string;
|
|
10
|
-
} | null;
|
|
11
|
-
export declare const setupMkcert: () => boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import type { HMRState } from './clientManager';
|
|
3
|
-
export declare const addFileWatchers: (state: HMRState, paths: string[], onFileChange: (filePath: string) => void) => void;
|
|
4
|
-
export declare const startFileWatching: (state: HMRState, config: BuildConfig, onFileChange: (filePath: string) => void) => void;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { type ComponentType } from './reactComponentClassifier';
|
|
2
|
-
export type ModuleUpdate = {
|
|
3
|
-
sourceFile: string;
|
|
4
|
-
framework: string;
|
|
5
|
-
moduleKeys: string[];
|
|
6
|
-
modulePaths: Record<string, string>;
|
|
7
|
-
componentType?: ComponentType;
|
|
8
|
-
};
|
|
9
|
-
export declare const createModuleUpdates: (changedFiles: string[], framework: string, manifest: Record<string, string>, resolvedPaths?: {
|
|
10
|
-
reactDir?: string;
|
|
11
|
-
svelteDir?: string;
|
|
12
|
-
vueDir?: string;
|
|
13
|
-
angularDir?: string;
|
|
14
|
-
}) => {
|
|
15
|
-
componentType: "client" | "server" | undefined;
|
|
16
|
-
framework: string;
|
|
17
|
-
moduleKeys: string[];
|
|
18
|
-
modulePaths: Record<string, string>;
|
|
19
|
-
sourceFile: string;
|
|
20
|
-
}[];
|
|
21
|
-
export declare const groupModuleUpdatesByFramework: (updates: ModuleUpdate[]) => Map<string, ModuleUpdate[]>;
|
|
22
|
-
export declare const mapSourceFileToManifestKeys: (sourceFile: string, framework: string, resolvedPaths?: {
|
|
23
|
-
reactDir?: string;
|
|
24
|
-
svelteDir?: string;
|
|
25
|
-
vueDir?: string;
|
|
26
|
-
angularDir?: string;
|
|
27
|
-
}) => string[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
type ModuleServerConfig = {
|
|
2
|
-
projectRoot: string;
|
|
3
|
-
vendorPaths: Record<string, string>;
|
|
4
|
-
frameworkDirs?: {
|
|
5
|
-
angular?: string;
|
|
6
|
-
react?: string;
|
|
7
|
-
svelte?: string;
|
|
8
|
-
vue?: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const warmCompilers: (frameworks: {
|
|
12
|
-
svelte?: boolean;
|
|
13
|
-
vue?: boolean;
|
|
14
|
-
}) => Promise<void>;
|
|
15
|
-
export declare const createModuleServer: (config: ModuleServerConfig) => (pathname: string) => Promise<Response | undefined>;
|
|
16
|
-
export declare const invalidateModule: (filePath: string) => void;
|
|
17
|
-
export declare const warmCache: (pathname: string) => void;
|
|
18
|
-
declare let globalModuleServer: ((pathname: string) => Promise<Response | undefined> | Response | undefined) | null;
|
|
19
|
-
export declare const SRC_URL_PREFIX = "/@src/";
|
|
20
|
-
export declare const setGlobalModuleServer: (handler: typeof globalModuleServer) => void;
|
|
21
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type ModuleVersion = number;
|
|
2
|
-
export type ModuleVersions = Map<string, ModuleVersion>;
|
|
3
|
-
export declare const createModuleVersionTracker: () => Map<string, number>;
|
|
4
|
-
export declare const getNextVersion: () => number;
|
|
5
|
-
export declare const incrementModuleVersion: (versions: ModuleVersions, modulePath: string) => number;
|
|
6
|
-
export declare const incrementModuleVersions: (versions: ModuleVersions, modulePaths: string[]) => Map<string, number>;
|
|
7
|
-
export declare const serializeModuleVersions: (versions: ModuleVersions) => Record<string, number>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BuildConfig } from '../../types/build';
|
|
2
|
-
import type { ResolvedBuildPaths } from './configResolver';
|
|
3
|
-
export declare const detectFramework: (filePath: string, resolved?: ResolvedBuildPaths) => "html" | "react" | "svelte" | "vue" | "angular" | "unknown" | "htmx" | "assets" | "ignored" | "styles";
|
|
4
|
-
export declare const getWatchPaths: (config: BuildConfig, resolved?: ResolvedBuildPaths) => string[];
|
|
5
|
-
export declare const shouldIgnorePath: (path: string, resolved?: ResolvedBuildPaths) => boolean;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import { type HMRState } from './clientManager';
|
|
3
|
-
export declare const queueFileChange: (state: HMRState, filePath: string, config: BuildConfig, onRebuildComplete: (result: {
|
|
4
|
-
manifest: Record<string, string>;
|
|
5
|
-
hmrState: HMRState;
|
|
6
|
-
}) => void) => void;
|
|
7
|
-
export declare const triggerRebuild: (state: HMRState, config: BuildConfig, onRebuildComplete: (result: {
|
|
8
|
-
manifest: Record<string, string>;
|
|
9
|
-
hmrState: HMRState;
|
|
10
|
-
}) => void, filesToRebuild?: string[]) => Promise<Record<string, string> | null>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const getTransformed: (filePath: string) => string | undefined;
|
|
2
|
-
export declare const setTransformed: (filePath: string, content: string, mtime: number, imports?: string[]) => void;
|
|
3
|
-
export declare const findNearestComponent: (filePath: string) => string | undefined;
|
|
4
|
-
export declare const getInvalidationVersion: (filePath: string) => number;
|
|
5
|
-
export declare const invalidate: (filePath: string) => void;
|
|
6
|
-
export declare const invalidateAll: () => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { HMRState } from './clientManager';
|
|
2
|
-
import { type HMRWebSocket } from '../../types/websocket';
|
|
3
|
-
export declare const broadcastToClients: (state: HMRState, message: {
|
|
4
|
-
type: string;
|
|
5
|
-
[key: string]: unknown;
|
|
6
|
-
}) => void;
|
|
7
|
-
export declare const handleClientConnect: (state: HMRState, client: HMRWebSocket, manifest: Record<string, string>) => void;
|
|
8
|
-
export declare const handleClientDisconnect: (state: HMRState, client: HMRWebSocket) => void;
|
|
9
|
-
export declare const handleHMRMessage: (state: HMRState, client: HMRWebSocket, message: unknown) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
import { type PageIslandUsage } from './sourceMetadata';
|
|
3
|
-
export type PageIslandMetadata = {
|
|
4
|
-
islands: PageIslandUsage[];
|
|
5
|
-
pagePath: string;
|
|
6
|
-
};
|
|
7
|
-
declare global {
|
|
8
|
-
var __absolutePageIslandMetadata: Map<string, PageIslandMetadata> | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare const getCurrentPageIslandMetadata: () => Map<string, PageIslandMetadata>;
|
|
11
|
-
export declare const getPagesUsingIslandSource: (sourcePath: string) => string[];
|
|
12
|
-
export declare const loadPageIslandMetadata: (config: BuildConfig) => Promise<Map<string, PageIslandMetadata>>;
|
|
13
|
-
export declare const setCurrentPageIslandMetadata: (metadata: Map<string, PageIslandMetadata>) => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { IslandFramework, IslandHydrate } from '../../types/island';
|
|
2
|
-
export type PageIslandUsage = {
|
|
3
|
-
component: string;
|
|
4
|
-
framework: IslandFramework;
|
|
5
|
-
hydrate?: IslandHydrate;
|
|
6
|
-
source?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const buildIslandMetadataExports: (source: string) => string;
|
|
9
|
-
export declare const extractIslandUsagesFromSource: (source: string) => PageIslandUsage[];
|
|
10
|
-
export declare const hasIslandUsageInSource: (source: string) => boolean;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Elysia } from 'elysia';
|
|
2
|
-
export type DevtoolsJsonOptions = {
|
|
3
|
-
projectRoot?: string;
|
|
4
|
-
uuid?: string;
|
|
5
|
-
uuidCachePath?: string;
|
|
6
|
-
normalizeForWindowsContainer?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const resolveDevtoolsUuidCachePath: (buildDir: string, uuidCachePath?: string) => string;
|
|
9
|
-
export declare const devtoolsJson: (buildDir: string, options?: DevtoolsJsonOptions) => Elysia<"", {
|
|
10
|
-
decorator: {};
|
|
11
|
-
store: {};
|
|
12
|
-
derive: {};
|
|
13
|
-
resolve: {};
|
|
14
|
-
}, {
|
|
15
|
-
typebox: {};
|
|
16
|
-
error: {};
|
|
17
|
-
}, {
|
|
18
|
-
schema: {};
|
|
19
|
-
standaloneSchema: {};
|
|
20
|
-
macro: {};
|
|
21
|
-
macroFn: {};
|
|
22
|
-
parser: {};
|
|
23
|
-
response: {};
|
|
24
|
-
}, {
|
|
25
|
-
".well-known": {
|
|
26
|
-
appspecific: {
|
|
27
|
-
"com.chrome.devtools.json": {
|
|
28
|
-
get: {
|
|
29
|
-
body: unknown;
|
|
30
|
-
params: {};
|
|
31
|
-
query: unknown;
|
|
32
|
-
headers: unknown;
|
|
33
|
-
response: {
|
|
34
|
-
200: {
|
|
35
|
-
workspace: {
|
|
36
|
-
root: string;
|
|
37
|
-
uuid: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
}, {
|
|
46
|
-
derive: {};
|
|
47
|
-
resolve: {};
|
|
48
|
-
schema: {};
|
|
49
|
-
standaloneSchema: {};
|
|
50
|
-
response: {};
|
|
51
|
-
}, {
|
|
52
|
-
derive: {};
|
|
53
|
-
resolve: {};
|
|
54
|
-
schema: {};
|
|
55
|
-
standaloneSchema: {};
|
|
56
|
-
response: {};
|
|
57
|
-
}>;
|
|
58
|
-
export declare const normalizeDevtoolsWorkspaceRoot: (root: string) => string;
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import Elysia from 'elysia';
|
|
2
|
-
import type { HMRState } from '../dev/clientManager';
|
|
3
|
-
export declare const hmr: (hmrState: HMRState, manifest: Record<string, string>, moduleServerHandler?: (pathname: string) => Promise<Response | undefined> | Response | undefined) => Elysia<"", {
|
|
4
|
-
decorator: {};
|
|
5
|
-
store: {};
|
|
6
|
-
derive: {};
|
|
7
|
-
resolve: {};
|
|
8
|
-
}, {
|
|
9
|
-
typebox: {};
|
|
10
|
-
error: {};
|
|
11
|
-
}, {
|
|
12
|
-
schema: {};
|
|
13
|
-
standaloneSchema: {};
|
|
14
|
-
macro: {};
|
|
15
|
-
macroFn: {};
|
|
16
|
-
parser: {};
|
|
17
|
-
response: {};
|
|
18
|
-
}, {
|
|
19
|
-
"@src": {
|
|
20
|
-
"*": {
|
|
21
|
-
get: {
|
|
22
|
-
body: unknown;
|
|
23
|
-
params: {
|
|
24
|
-
"*": string;
|
|
25
|
-
} & {};
|
|
26
|
-
query: unknown;
|
|
27
|
-
headers: unknown;
|
|
28
|
-
response: {
|
|
29
|
-
200: Response;
|
|
30
|
-
422: {
|
|
31
|
-
type: "validation";
|
|
32
|
-
on: string;
|
|
33
|
-
summary?: string;
|
|
34
|
-
message?: string;
|
|
35
|
-
found?: unknown;
|
|
36
|
-
property?: string;
|
|
37
|
-
expected?: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
} & {
|
|
44
|
-
"@stub": {
|
|
45
|
-
"*": {
|
|
46
|
-
get: {
|
|
47
|
-
body: unknown;
|
|
48
|
-
params: {
|
|
49
|
-
"*": string;
|
|
50
|
-
} & {};
|
|
51
|
-
query: unknown;
|
|
52
|
-
headers: unknown;
|
|
53
|
-
response: {
|
|
54
|
-
200: Response;
|
|
55
|
-
422: {
|
|
56
|
-
type: "validation";
|
|
57
|
-
on: string;
|
|
58
|
-
summary?: string;
|
|
59
|
-
message?: string;
|
|
60
|
-
found?: unknown;
|
|
61
|
-
property?: string;
|
|
62
|
-
expected?: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
} & {
|
|
69
|
-
"@hmr": {
|
|
70
|
-
"*": {
|
|
71
|
-
get: {
|
|
72
|
-
body: unknown;
|
|
73
|
-
params: {
|
|
74
|
-
"*": string;
|
|
75
|
-
} & {};
|
|
76
|
-
query: unknown;
|
|
77
|
-
headers: unknown;
|
|
78
|
-
response: {
|
|
79
|
-
200: Response;
|
|
80
|
-
422: {
|
|
81
|
-
type: "validation";
|
|
82
|
-
on: string;
|
|
83
|
-
summary?: string;
|
|
84
|
-
message?: string;
|
|
85
|
-
found?: unknown;
|
|
86
|
-
property?: string;
|
|
87
|
-
expected?: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
} & {
|
|
94
|
-
hmr: {
|
|
95
|
-
subscribe: {
|
|
96
|
-
body: unknown;
|
|
97
|
-
params: {};
|
|
98
|
-
query: unknown;
|
|
99
|
-
headers: unknown;
|
|
100
|
-
response: {
|
|
101
|
-
200: Response;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
} & {
|
|
106
|
-
"hmr-status": {
|
|
107
|
-
get: {
|
|
108
|
-
body: unknown;
|
|
109
|
-
params: {};
|
|
110
|
-
query: unknown;
|
|
111
|
-
headers: unknown;
|
|
112
|
-
response: {
|
|
113
|
-
200: Response | {
|
|
114
|
-
connectedClients: number;
|
|
115
|
-
isRebuilding: boolean;
|
|
116
|
-
manifestKeys: string[];
|
|
117
|
-
rebuildCount: number;
|
|
118
|
-
rebuildQueue: string[];
|
|
119
|
-
timestamp: number;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
}, {
|
|
125
|
-
derive: {};
|
|
126
|
-
resolve: {};
|
|
127
|
-
schema: {};
|
|
128
|
-
standaloneSchema: {};
|
|
129
|
-
response: {};
|
|
130
|
-
}, {
|
|
131
|
-
derive: {};
|
|
132
|
-
resolve: {};
|
|
133
|
-
schema: {};
|
|
134
|
-
standaloneSchema: {};
|
|
135
|
-
response: {
|
|
136
|
-
200: Response;
|
|
137
|
-
};
|
|
138
|
-
}>;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Elysia } from 'elysia';
|
|
2
|
-
import type { ImageConfig } from '../../types/image';
|
|
3
|
-
export declare const imageOptimizer: (config: ImageConfig | undefined, buildDir: string) => Elysia<"", {
|
|
4
|
-
decorator: {};
|
|
5
|
-
store: {};
|
|
6
|
-
derive: {};
|
|
7
|
-
resolve: {};
|
|
8
|
-
}, {
|
|
9
|
-
typebox: {};
|
|
10
|
-
error: {};
|
|
11
|
-
}, {
|
|
12
|
-
schema: {};
|
|
13
|
-
standaloneSchema: {};
|
|
14
|
-
macro: {};
|
|
15
|
-
macroFn: {};
|
|
16
|
-
parser: {};
|
|
17
|
-
response: {};
|
|
18
|
-
}, {}, {
|
|
19
|
-
derive: {};
|
|
20
|
-
resolve: {};
|
|
21
|
-
schema: {};
|
|
22
|
-
standaloneSchema: {};
|
|
23
|
-
response: {};
|
|
24
|
-
}, {
|
|
25
|
-
derive: {};
|
|
26
|
-
resolve: {};
|
|
27
|
-
schema: {};
|
|
28
|
-
standaloneSchema: {};
|
|
29
|
-
response: {};
|
|
30
|
-
}> | Elysia<"", {
|
|
31
|
-
decorator: {};
|
|
32
|
-
store: {};
|
|
33
|
-
derive: {};
|
|
34
|
-
resolve: {};
|
|
35
|
-
}, {
|
|
36
|
-
typebox: {};
|
|
37
|
-
error: {};
|
|
38
|
-
}, {
|
|
39
|
-
schema: {};
|
|
40
|
-
standaloneSchema: {};
|
|
41
|
-
macro: {};
|
|
42
|
-
macroFn: {};
|
|
43
|
-
parser: {};
|
|
44
|
-
response: {};
|
|
45
|
-
}, {
|
|
46
|
-
[x: string]: {
|
|
47
|
-
get: {
|
|
48
|
-
body: unknown;
|
|
49
|
-
params: {};
|
|
50
|
-
query: unknown;
|
|
51
|
-
headers: unknown;
|
|
52
|
-
response: {};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}, {
|
|
56
|
-
derive: {};
|
|
57
|
-
resolve: {};
|
|
58
|
-
schema: {};
|
|
59
|
-
standaloneSchema: {};
|
|
60
|
-
response: {};
|
|
61
|
-
}, {
|
|
62
|
-
derive: {};
|
|
63
|
-
resolve: {};
|
|
64
|
-
schema: {};
|
|
65
|
-
standaloneSchema: {};
|
|
66
|
-
response: {};
|
|
67
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const pageRouterPlugin: () => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const bridgeReactInternals: () => Promise<void>;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { IslandRegistry, IslandRegistryInput, TypedIslandRenderProps } from '../../types/island';
|
|
2
|
-
export declare const createTypedIsland: <T extends IslandRegistryInput>(registry: IslandRegistry<T>) => (props: TypedIslandRenderProps<T>) => Promise<import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { StoreApi } from 'zustand/vanilla';
|
|
2
|
-
import { type IslandStoreState } from '../../client/islandStore';
|
|
3
|
-
export declare const useIslandStore: <TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected) => TSelected;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { ComponentType as ReactComponent } from 'react';
|
|
2
|
-
import { type StreamingSlotEnhancerOptions } from '../core/responseEnhancers';
|
|
3
|
-
type ReactPageRenderOptions = StreamingSlotEnhancerOptions & {
|
|
4
|
-
collectStreamingSlots?: boolean;
|
|
5
|
-
};
|
|
6
|
-
export type ReactPageRequestInput<Props extends Record<string, unknown> = Record<never, never>> = ReactPageRenderOptions & {
|
|
7
|
-
Page: ReactComponent<Props>;
|
|
8
|
-
index: string;
|
|
9
|
-
} & (keyof Props extends never ? {
|
|
10
|
-
props?: NoInfer<Props>;
|
|
11
|
-
} : {
|
|
12
|
-
props: NoInfer<Props>;
|
|
13
|
-
});
|
|
14
|
-
export type HandleReactPageRequest = {
|
|
15
|
-
<Props extends Record<string, unknown> = Record<never, never>>(input: ReactPageRequestInput<Props>): Promise<Response>;
|
|
16
|
-
<Props extends Record<string, unknown> = Record<never, never>>(PageComponent: ReactComponent<Props>, index: string, ...args: ReactPageHandlerArgs<Props>): Promise<Response>;
|
|
17
|
-
};
|
|
18
|
-
type ReactPageHandlerArgs<Props extends Record<string, unknown>> = keyof Props extends never ? [props?: NoInfer<Props>, options?: ReactPageRenderOptions] : [props: NoInfer<Props>, options?: ReactPageRenderOptions];
|
|
19
|
-
export declare const handleReactPageRequest: HandleReactPageRequest;
|
|
20
|
-
export declare const invalidateReactSsrCache: () => void;
|
|
21
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Component as SvelteComponent } from 'svelte';
|
|
2
|
-
import type { SveltePropsOf } from '../../types/svelte';
|
|
3
|
-
import { type StreamingSlotEnhancerOptions } from '../core/responseEnhancers';
|
|
4
|
-
export type SveltePageRenderOptions = {
|
|
5
|
-
collectStreamingSlots?: boolean;
|
|
6
|
-
bodyContent?: string;
|
|
7
|
-
headContent?: string;
|
|
8
|
-
} & StreamingSlotEnhancerOptions;
|
|
9
|
-
export type SveltePageRequestInput<Component extends SvelteComponent<any> = SvelteComponent<Record<never, never>>> = SveltePageRenderOptions & {
|
|
10
|
-
indexPath: string;
|
|
11
|
-
pagePath: string;
|
|
12
|
-
} & (keyof SveltePropsOf<Component> extends never ? {
|
|
13
|
-
props?: NoInfer<SveltePropsOf<Component>>;
|
|
14
|
-
} : {
|
|
15
|
-
props: NoInfer<SveltePropsOf<Component>>;
|
|
16
|
-
});
|
|
17
|
-
export type HandleSveltePageRequest = {
|
|
18
|
-
<Component extends SvelteComponent<any>>(input: SveltePageRequestInput<Component>): Promise<Response>;
|
|
19
|
-
(PageComponent: SvelteComponent<Record<string, never>>, pagePath: string, indexPath: string): Promise<Response>;
|
|
20
|
-
<P extends Record<string, unknown>>(PageComponent: SvelteComponent<P>, pagePath: string, indexPath: string, props: NoInfer<P>, options?: SveltePageRenderOptions): Promise<Response>;
|
|
21
|
-
};
|
|
22
|
-
export declare const handleSveltePageRequest: HandleSveltePageRequest;
|
|
23
|
-
export declare const invalidateSvelteSsrCache: () => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Component } from 'svelte';
|
|
2
|
-
export declare const SVELTE_PAGE_ROOT_ID = "__absolute_svelte_root__";
|
|
3
|
-
export type RenderStreamOptions = {
|
|
4
|
-
bootstrapScriptContent?: string;
|
|
5
|
-
bootstrapScripts?: string[];
|
|
6
|
-
bootstrapModules?: string[];
|
|
7
|
-
nonce?: string;
|
|
8
|
-
onError?: (error: unknown) => void;
|
|
9
|
-
progressiveChunkSize?: number;
|
|
10
|
-
signal?: AbortSignal;
|
|
11
|
-
headContent?: string;
|
|
12
|
-
bodyContent?: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const renderToReadableStream: <Props extends Record<string, unknown> = Record<string, never>>(component: Component<Props>, props?: Props, { bootstrapScriptContent, bootstrapScripts, bootstrapModules, nonce, onError, progressiveChunkSize, signal, headContent, bodyContent }?: RenderStreamOptions) => Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cleanStaleOutputs: (buildPath: string, currentOutputPaths: string[]) => Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const commonAncestor: (paths: string[], fallback?: string) => string | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type TProperties } from '@sinclair/typebox';
|
|
2
|
-
export declare const defineEnv: <T extends TProperties>(properties: T) => Readonly<import("@sinclair/typebox").Evaluate<Readonly<Partial<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_1 extends TProperties ? { [K in keyof T_1]: (T_1[K] & {
|
|
3
|
-
params: P;
|
|
4
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_2 extends TProperties ? { [K_1 in keyof T_2]: T_2[K_1] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_2[K_1] extends import("@sinclair/typebox").TOptional<T_2[K_1]> ? K_1 : never : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>>> & Readonly<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_3 extends TProperties ? { [K in keyof T_3]: (T_3[K] & {
|
|
5
|
-
params: P;
|
|
6
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_4 extends TProperties ? { [K_2 in keyof T_4]: T_4[K_2] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_4[K_2] extends import("@sinclair/typebox").TOptional<T_4[K_2]> ? never : K_2 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>> & Partial<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_5 extends TProperties ? { [K in keyof T_5]: (T_5[K] & {
|
|
7
|
-
params: P;
|
|
8
|
-
})["static"]; } : never, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_6 extends TProperties ? { [K_3 in keyof T_6]: T_6[K_3] extends import("@sinclair/typebox").TOptional<import("elysia").TSchema> ? T_6[K_3] extends import("@sinclair/typebox").TReadonly<T_6[K_3]> ? never : K_3 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>> & Required<Pick<import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_7 extends TProperties ? { [K in keyof T_7]: (T_7[K] & {
|
|
9
|
-
params: P;
|
|
10
|
-
})["static"]; } : never, Exclude<keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>, (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_8 extends TProperties ? { [K_1 in keyof T_8]: T_8[K_1] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_8[K_1] extends import("@sinclair/typebox").TOptional<T_8[K_1]> ? K_1 : never : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>] | (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_9 extends TProperties ? { [K_2 in keyof T_9]: T_9[K_2] extends import("@sinclair/typebox").TReadonly<import("elysia").TSchema> ? T_9[K_2] extends import("@sinclair/typebox").TOptional<T_9[K_2]> ? never : K_2 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>] | (import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }> extends infer T_10 extends TProperties ? { [K_3 in keyof T_10]: T_10[K_3] extends import("@sinclair/typebox").TOptional<import("elysia").TSchema> ? T_10[K_3] extends import("@sinclair/typebox").TReadonly<T_10[K_3]> ? never : K_3 : never; } : never)[keyof import("@sinclair/typebox").Evaluate<{ [Key in keyof T]: import("@sinclair/typebox").TDecodeType<T[Key]>; }>]>>>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const escapeScriptContent: (content: string) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getDurationString: (duration: number) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEnv: (key: string) => string;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ImageConfig, ImageFormat, RemotePattern } from '../../types/image';
|
|
2
|
-
export declare const DEFAULT_DEVICE_SIZES: number[];
|
|
3
|
-
export declare const DEFAULT_IMAGE_SIZES: number[];
|
|
4
|
-
export declare const DEFAULT_QUALITY = 75;
|
|
5
|
-
export declare const OPTIMIZATION_ENDPOINT = "/_absolute/image";
|
|
6
|
-
export declare const buildOptimizedUrl: (src: string, width: number, quality: number, basePath?: string) => string;
|
|
7
|
-
export type CacheMeta = {
|
|
8
|
-
contentType: string;
|
|
9
|
-
etag: string;
|
|
10
|
-
expireAt: number;
|
|
11
|
-
upstreamEtag?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const formatToMime: (format: ImageFormat) => string;
|
|
14
|
-
export declare const generateBlurDataURL: (buffer: Buffer | ArrayBuffer) => Promise<string>;
|
|
15
|
-
export declare const generateBlurSvg: (base64Thumbnail: string) => string;
|
|
16
|
-
export declare const generateSrcSet: (src: string, width: number | undefined, sizes: string | undefined, config?: ImageConfig, loader?: (params: {
|
|
17
|
-
quality: number;
|
|
18
|
-
src: string;
|
|
19
|
-
width: number;
|
|
20
|
-
}) => string) => string;
|
|
21
|
-
export declare const getAllSizes: (config?: ImageConfig) => number[];
|
|
22
|
-
export declare const getCacheDir: (buildDir: string) => string;
|
|
23
|
-
export declare const getCacheKey: (url: string, width: number, quality: number, format: string) => string;
|
|
24
|
-
export declare const isCacheStale: (meta: CacheMeta) => boolean;
|
|
25
|
-
export declare const matchRemotePattern: (urlString: string, patterns: RemotePattern[]) => boolean;
|
|
26
|
-
export declare const negotiateFormat: (acceptHeader: string, configuredFormats: ImageFormat[]) => ImageFormat;
|
|
27
|
-
export declare const optimizeImage: (buffer: Buffer | ArrayBuffer, width: number, quality: number, format: ImageFormat) => Promise<any>;
|
|
28
|
-
export declare const readFromCache: (cacheDir: string, cacheKey: string) => {
|
|
29
|
-
buffer: NonSharedBuffer;
|
|
30
|
-
meta: CacheMeta;
|
|
31
|
-
} | null;
|
|
32
|
-
export declare const tryLoadSharp: () => Promise<unknown>;
|
|
33
|
-
export declare const writeToCache: (cacheDir: string, cacheKey: string, buffer: Buffer, meta: CacheMeta) => void;
|