@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,60 +0,0 @@
|
|
|
1
|
-
export declare const ANGULAR_INIT_TIMEOUT_MS = 500;
|
|
2
|
-
export declare const ANSI_ESCAPE_LENGTH = 3;
|
|
3
|
-
export declare const ASCII_SPACE = 32;
|
|
4
|
-
export declare const BASE_36_RADIX = 36;
|
|
5
|
-
export declare const BUN_BUILD_WARNING_SUPPRESSION = "wildcard sideEffects are not supported yet";
|
|
6
|
-
export declare const BODY_SLICE_LENGTH = 2000;
|
|
7
|
-
export declare const BYTES_PER_KILOBYTE = 1024;
|
|
8
|
-
export declare const CLI_ARGS_OFFSET = 3;
|
|
9
|
-
export declare const CSS_ERROR_RESOLVE_DELAY_MS = 50;
|
|
10
|
-
export declare const CSS_MAX_CHECK_ATTEMPTS = 10;
|
|
11
|
-
export declare const CSS_MAX_PARSE_TIMEOUT_MS = 500;
|
|
12
|
-
export declare const CSS_SHEET_READY_TIMEOUT_MS = 100;
|
|
13
|
-
export declare const DEFAULT_CHUNK_SIZE = 16384;
|
|
14
|
-
export declare const DEFAULT_DEBOUNCE_MS = 15;
|
|
15
|
-
export declare const DEFAULT_PORT = 3000;
|
|
16
|
-
export declare const DEV_SERVER_RESTART_DEBOUNCE_MS = 100;
|
|
17
|
-
export declare const DOM_UPDATE_DELAY_MS = 50;
|
|
18
|
-
export declare const FILE_PROTOCOL_PREFIX_LENGTH = 7;
|
|
19
|
-
export declare const FOCUS_ID_PREFIX_LENGTH = 3;
|
|
20
|
-
export declare const FOCUS_IDX_PREFIX_LENGTH = 4;
|
|
21
|
-
export declare const FOCUS_NAME_PREFIX_LENGTH = 5;
|
|
22
|
-
export declare const HMR_UPDATE_TIMEOUT_MS = 2000;
|
|
23
|
-
export declare const HOOK_SIGNATURE_LENGTH = 12;
|
|
24
|
-
export declare const EXCLUDE_LAST_OFFSET = -1;
|
|
25
|
-
export declare const HTTP_STATUS_OK = 200;
|
|
26
|
-
export declare const HTTP_STATUS_BAD_REQUEST = 400;
|
|
27
|
-
export declare const HTTP_STATUS_NOT_FOUND = 404;
|
|
28
|
-
export declare const HOURS_IN_DAY = 24;
|
|
29
|
-
export declare const HOURS_IN_HALF_DAY = 12;
|
|
30
|
-
export declare const MAX_ERROR_LENGTH = 200;
|
|
31
|
-
export declare const MAX_RECONNECT_ATTEMPTS = 60;
|
|
32
|
-
export declare const MILLISECONDS_IN_A_SECOND = 1000;
|
|
33
|
-
export declare const MINUTES_IN_AN_HOUR = 60;
|
|
34
|
-
export declare const SECONDS_IN_A_MINUTE = 60;
|
|
35
|
-
export declare const MILLISECONDS_IN_A_MINUTE: number;
|
|
36
|
-
export declare const MILLISECONDS_IN_A_DAY: number;
|
|
37
|
-
export declare const OVERLAY_FADE_DURATION_MS = 150;
|
|
38
|
-
export declare const PING_INTERVAL_MS = 30000;
|
|
39
|
-
export declare const RAF_BATCH_COUNT = 3;
|
|
40
|
-
export declare const RANDOM_ID_END_INDEX = 11;
|
|
41
|
-
export declare const REBUILD_BATCH_DELAY_MS = 10;
|
|
42
|
-
export declare const REBUILD_RELOAD_DELAY_MS = 200;
|
|
43
|
-
export declare const RECONNECT_INITIAL_DELAY_MS = 500;
|
|
44
|
-
export declare const RECONNECT_POLL_INTERVAL_MS = 300;
|
|
45
|
-
export declare const RAG_CHUNK_ID_PAD_LENGTH = 3;
|
|
46
|
-
export declare const RAG_DOCUMENT_ID_PREVIEW_LENGTH = 32;
|
|
47
|
-
export declare const RAG_DOCUMENT_SLUG_MAX_LENGTH = 48;
|
|
48
|
-
export declare const RAG_MIN_CHUNK_LENGTH_FLOOR = 120;
|
|
49
|
-
export declare const RAG_NATIVE_QUERY_CANDIDATE_LIMIT = 1000;
|
|
50
|
-
export declare const RAG_SEARCH_SCORE_DECIMAL_PLACES = 3;
|
|
51
|
-
export declare const RAG_VECTOR_DIMENSIONS_DEFAULT = 24;
|
|
52
|
-
export declare const REACT_STREAM_SLOT_FAST_DELAY_MS = 5;
|
|
53
|
-
export declare const REACT_STREAM_SLOT_SLOW_DELAY_MS = 20;
|
|
54
|
-
export declare const SIGINT_EXIT_CODE = 130;
|
|
55
|
-
export declare const SIGTERM_EXIT_CODE = 143;
|
|
56
|
-
export declare const SVELTE_CSS_LOAD_TIMEOUT_MS = 500;
|
|
57
|
-
export declare const TIME_PRECISION = 2;
|
|
58
|
-
export declare const TWO_THIRDS: number;
|
|
59
|
-
export declare const UNFOUND_INDEX = -1;
|
|
60
|
-
export declare const WEBSOCKET_NORMAL_CLOSURE = 1000;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ConventionsMap } from '../../types/conventions';
|
|
2
|
-
import type { BuildConfig } from '../../types/build';
|
|
3
|
-
export declare const build: ({ buildDirectory, assetsDirectory, publicDirectory, islands, reactDirectory, htmlDirectory, htmxDirectory, angularDirectory, svelteDirectory, vueDirectory, stylesConfig, tailwind, options, incrementalFiles, mode }: BuildConfig) => Promise<{
|
|
4
|
-
conventions?: undefined;
|
|
5
|
-
manifest?: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
conventions: ConventionsMap;
|
|
8
|
-
manifest: Record<string, string>;
|
|
9
|
-
}>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { IslandRegistryInput } from '../../types/island';
|
|
2
|
-
declare global {
|
|
3
|
-
var __absoluteIslandRegistry: IslandRegistryInput | undefined;
|
|
4
|
-
}
|
|
5
|
-
export declare const getCurrentIslandRegistry: () => Partial<Record<import("..").IslandFramework, Record<string, unknown>>> | undefined;
|
|
6
|
-
export declare const requireCurrentIslandRegistry: () => Partial<Record<import("..").IslandFramework, Record<string, unknown>>>;
|
|
7
|
-
export declare const setCurrentIslandRegistry: (registry: IslandRegistryInput | undefined) => void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Module-level dev vendor paths state.
|
|
2
|
-
* Set by devBuild() before the initial build so that build() can
|
|
3
|
-
* externalize React and rewrite imports to stable vendor files.
|
|
4
|
-
* Production builds never call setDevVendorPaths, so the getter
|
|
5
|
-
* returns null and build() bundles React normally. */
|
|
6
|
-
export declare const getDevVendorPaths: () => Record<string, string> | null;
|
|
7
|
-
export declare const setDevVendorPaths: (paths: Record<string, string>) => void;
|
|
8
|
-
export declare const getAngularVendorPaths: () => Record<string, string> | null;
|
|
9
|
-
export declare const setAngularVendorPaths: (paths: Record<string, string>) => void;
|
|
10
|
-
export declare const getSvelteVendorPaths: () => Record<string, string> | null;
|
|
11
|
-
export declare const setSvelteVendorPaths: (paths: Record<string, string>) => void;
|
|
12
|
-
export declare const getVueVendorPaths: () => Record<string, string> | null;
|
|
13
|
-
export declare const setVueVendorPaths: (paths: Record<string, string>) => void;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { IslandFramework } from '../../types/island';
|
|
2
|
-
export declare const getIslandManifestEntries: (manifest: Record<string, string>) => Partial<Record<IslandFramework, Record<string, string>>>;
|
|
3
|
-
export declare const getIslandManifestKey: (framework: IslandFramework, component: string) => string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { RuntimeIslandRenderProps } from '../../types/island';
|
|
2
|
-
type IslandMarkerAttributes = {
|
|
3
|
-
'data-component': string;
|
|
4
|
-
'data-framework': string;
|
|
5
|
-
'data-hydrate': string;
|
|
6
|
-
'data-island': 'true';
|
|
7
|
-
'data-island-id'?: string;
|
|
8
|
-
'data-props': string;
|
|
9
|
-
};
|
|
10
|
-
export declare const getIslandMarkerAttributes: (props: RuntimeIslandRenderProps, islandId?: string) => IslandMarkerAttributes;
|
|
11
|
-
export declare const serializeIslandAttributes: (attributes: Record<string, string>) => string;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
var __absoluteManifest: Record<string, string> | undefined;
|
|
3
|
-
var __ABS_ISLAND_STATE__: Record<string, Record<string, unknown>> | undefined;
|
|
4
|
-
}
|
|
5
|
-
export declare const htmlContainsIslands: (html: string) => boolean;
|
|
6
|
-
export declare const injectIslandPageContext: (html: string, options?: {
|
|
7
|
-
hasIslands?: boolean;
|
|
8
|
-
}) => string;
|
|
9
|
-
export declare const injectIslandPageContextStream: (stream: ReadableStream<string | Uint8Array>, options?: {
|
|
10
|
-
hasIslands?: boolean;
|
|
11
|
-
}) => ReadableStream<string | Uint8Array<ArrayBufferLike>>;
|
|
12
|
-
export declare const setCurrentIslandManifest: (manifest: Record<string, string>) => void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
type ReactComponentType<Props extends Record<string, unknown>> = import('react').ComponentType<Props>;
|
|
2
|
-
export declare const renderAngularIslandToHtml: (component: import("@angular/core").Type<object>, props: Record<string, unknown>, islandId: string) => Promise<string>;
|
|
3
|
-
export declare const renderReactIslandToHtml: <Props extends Record<string, unknown>>(component: ReactComponentType<Props>, props: Props) => Promise<string>;
|
|
4
|
-
export declare const renderSvelteIslandToHtml: <Props extends Record<string, unknown>>(component: import("svelte").Component<Props>, props: Props) => Promise<string>;
|
|
5
|
-
export declare const renderVueIslandToHtml: <Props extends Record<string, unknown>>(component: import("vue").Component<Props>, props: Props) => Promise<string>;
|
|
6
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { IslandComponentDefinition, IslandRegistry, IslandRegistryInput } from '../../types/island';
|
|
2
|
-
export declare const defineIslandComponent: <Component>(component: Component, options: {
|
|
3
|
-
export?: string;
|
|
4
|
-
source: string;
|
|
5
|
-
}) => IslandComponentDefinition<Component>;
|
|
6
|
-
export declare const defineIslandRegistry: <T extends IslandRegistryInput>(registry: IslandRegistry<T>) => T;
|
|
7
|
-
export declare const getIslandBuildReference: <Component>(component: Component | IslandComponentDefinition<Component>) => {
|
|
8
|
-
export: string | undefined;
|
|
9
|
-
source: string;
|
|
10
|
-
} | null;
|
|
11
|
-
export declare const isIslandComponentDefinition: <Component>(value: Component | IslandComponentDefinition<Component>) => value is IslandComponentDefinition<Component>;
|
|
12
|
-
export declare function getIslandComponent<Component>(component: Component): Component;
|
|
13
|
-
export declare function getIslandComponent<Component>(component: IslandComponentDefinition<Component>): Component;
|
|
14
|
-
export declare const parseIslandProps: (rawProps: string | null) => any;
|
|
15
|
-
export declare const serializeIslandProps: (props: unknown) => string;
|
|
16
|
-
export { getIslandManifestEntries, getIslandManifestKey } from './islandManifest';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const loadIslandRegistry: (registryPath: string) => Promise<Partial<Record<import("..").IslandFramework, Record<string, unknown>>>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const asset: (source: Record<string, string>, name: string) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type StreamingSlotEnhancerOptions } from './responseEnhancers';
|
|
2
|
-
export { handleReactPageRequest } from '../react';
|
|
3
|
-
export type StaticPageRequestOptions = StreamingSlotEnhancerOptions;
|
|
4
|
-
export type HTMLPageRequestOptions = StaticPageRequestOptions;
|
|
5
|
-
export declare const handleHTMLPageRequest: (pagePath: string, options?: HTMLPageRequestOptions) => Promise<Response>;
|
|
6
|
-
export declare const handleHTMXPageRequest: (pagePath: string) => Promise<Response>;
|
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
import { Elysia } from 'elysia';
|
|
2
|
-
export declare const prepare: (configOrPath?: string) => Promise<{
|
|
3
|
-
absolutejs: Elysia<"", {
|
|
4
|
-
decorator: {};
|
|
5
|
-
store: {};
|
|
6
|
-
derive: {};
|
|
7
|
-
resolve: {};
|
|
8
|
-
}, {
|
|
9
|
-
typebox: {};
|
|
10
|
-
error: {};
|
|
11
|
-
} & {
|
|
12
|
-
typebox: {};
|
|
13
|
-
error: {};
|
|
14
|
-
}, {
|
|
15
|
-
schema: {};
|
|
16
|
-
standaloneSchema: {};
|
|
17
|
-
macro: {};
|
|
18
|
-
macroFn: {};
|
|
19
|
-
parser: {};
|
|
20
|
-
response: {};
|
|
21
|
-
} & {
|
|
22
|
-
schema: {};
|
|
23
|
-
standaloneSchema: {};
|
|
24
|
-
macro: {};
|
|
25
|
-
macroFn: {};
|
|
26
|
-
parser: {};
|
|
27
|
-
response: {};
|
|
28
|
-
}, ((({
|
|
29
|
-
".well-known": {
|
|
30
|
-
appspecific: {
|
|
31
|
-
"com.chrome.devtools.json": {
|
|
32
|
-
get: {
|
|
33
|
-
body: unknown;
|
|
34
|
-
params: {};
|
|
35
|
-
query: unknown;
|
|
36
|
-
headers: unknown;
|
|
37
|
-
response: {
|
|
38
|
-
200: {
|
|
39
|
-
workspace: {
|
|
40
|
-
root: string;
|
|
41
|
-
uuid: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | ({
|
|
50
|
-
".well-known": {
|
|
51
|
-
appspecific: {
|
|
52
|
-
"com.chrome.devtools.json": {
|
|
53
|
-
get: {
|
|
54
|
-
body: unknown;
|
|
55
|
-
params: {};
|
|
56
|
-
query: unknown;
|
|
57
|
-
headers: unknown;
|
|
58
|
-
response: {
|
|
59
|
-
200: {
|
|
60
|
-
workspace: {
|
|
61
|
-
root: string;
|
|
62
|
-
uuid: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
} & {
|
|
71
|
-
[x: string]: {
|
|
72
|
-
get: {
|
|
73
|
-
body: unknown;
|
|
74
|
-
params: {};
|
|
75
|
-
query: unknown;
|
|
76
|
-
headers: unknown;
|
|
77
|
-
response: {};
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
})) & {
|
|
81
|
-
"@src": {
|
|
82
|
-
"*": {
|
|
83
|
-
get: {
|
|
84
|
-
body: unknown;
|
|
85
|
-
params: {
|
|
86
|
-
"*": string;
|
|
87
|
-
} & {};
|
|
88
|
-
query: unknown;
|
|
89
|
-
headers: unknown;
|
|
90
|
-
response: {
|
|
91
|
-
200: Response;
|
|
92
|
-
422: {
|
|
93
|
-
type: "validation";
|
|
94
|
-
on: string;
|
|
95
|
-
summary?: string;
|
|
96
|
-
message?: string;
|
|
97
|
-
found?: unknown;
|
|
98
|
-
property?: string;
|
|
99
|
-
expected?: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
} & {
|
|
106
|
-
"@stub": {
|
|
107
|
-
"*": {
|
|
108
|
-
get: {
|
|
109
|
-
body: unknown;
|
|
110
|
-
params: {
|
|
111
|
-
"*": string;
|
|
112
|
-
} & {};
|
|
113
|
-
query: unknown;
|
|
114
|
-
headers: unknown;
|
|
115
|
-
response: {
|
|
116
|
-
200: Response;
|
|
117
|
-
422: {
|
|
118
|
-
type: "validation";
|
|
119
|
-
on: string;
|
|
120
|
-
summary?: string;
|
|
121
|
-
message?: string;
|
|
122
|
-
found?: unknown;
|
|
123
|
-
property?: string;
|
|
124
|
-
expected?: string;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
} & {
|
|
131
|
-
"@hmr": {
|
|
132
|
-
"*": {
|
|
133
|
-
get: {
|
|
134
|
-
body: unknown;
|
|
135
|
-
params: {
|
|
136
|
-
"*": string;
|
|
137
|
-
} & {};
|
|
138
|
-
query: unknown;
|
|
139
|
-
headers: unknown;
|
|
140
|
-
response: {
|
|
141
|
-
200: Response;
|
|
142
|
-
422: {
|
|
143
|
-
type: "validation";
|
|
144
|
-
on: string;
|
|
145
|
-
summary?: string;
|
|
146
|
-
message?: string;
|
|
147
|
-
found?: unknown;
|
|
148
|
-
property?: string;
|
|
149
|
-
expected?: string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
} & {
|
|
156
|
-
hmr: {
|
|
157
|
-
subscribe: {
|
|
158
|
-
body: unknown;
|
|
159
|
-
params: {};
|
|
160
|
-
query: unknown;
|
|
161
|
-
headers: unknown;
|
|
162
|
-
response: {
|
|
163
|
-
200: Response;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
} & {
|
|
168
|
-
"hmr-status": {
|
|
169
|
-
get: {
|
|
170
|
-
body: unknown;
|
|
171
|
-
params: {};
|
|
172
|
-
query: unknown;
|
|
173
|
-
headers: unknown;
|
|
174
|
-
response: {
|
|
175
|
-
200: Response | {
|
|
176
|
-
connectedClients: number;
|
|
177
|
-
isRebuilding: boolean;
|
|
178
|
-
manifestKeys: string[];
|
|
179
|
-
rebuildCount: number;
|
|
180
|
-
rebuildQueue: string[];
|
|
181
|
-
timestamp: number;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
}) & {}) & {}, {
|
|
187
|
-
derive: {};
|
|
188
|
-
resolve: {};
|
|
189
|
-
schema: {};
|
|
190
|
-
standaloneSchema: {};
|
|
191
|
-
response: {};
|
|
192
|
-
}, {
|
|
193
|
-
derive: {};
|
|
194
|
-
resolve: {};
|
|
195
|
-
schema: {};
|
|
196
|
-
standaloneSchema: {};
|
|
197
|
-
response: {};
|
|
198
|
-
} & {
|
|
199
|
-
derive: {};
|
|
200
|
-
resolve: {};
|
|
201
|
-
schema: {};
|
|
202
|
-
standaloneSchema: {};
|
|
203
|
-
response: {};
|
|
204
|
-
} & {
|
|
205
|
-
derive: {};
|
|
206
|
-
resolve: {};
|
|
207
|
-
schema: {};
|
|
208
|
-
standaloneSchema: {};
|
|
209
|
-
response: {};
|
|
210
|
-
}>;
|
|
211
|
-
manifest: Record<string, string>;
|
|
212
|
-
} | {
|
|
213
|
-
absolutejs: Elysia<"", {
|
|
214
|
-
decorator: {};
|
|
215
|
-
store: {};
|
|
216
|
-
derive: {};
|
|
217
|
-
resolve: {};
|
|
218
|
-
}, {
|
|
219
|
-
typebox: {};
|
|
220
|
-
error: {};
|
|
221
|
-
} & {
|
|
222
|
-
typebox: {};
|
|
223
|
-
error: {};
|
|
224
|
-
}, {
|
|
225
|
-
schema: {};
|
|
226
|
-
standaloneSchema: {};
|
|
227
|
-
macro: {};
|
|
228
|
-
macroFn: {};
|
|
229
|
-
parser: {};
|
|
230
|
-
response: {};
|
|
231
|
-
} & {
|
|
232
|
-
schema: {};
|
|
233
|
-
standaloneSchema: {};
|
|
234
|
-
macro: {};
|
|
235
|
-
macroFn: {};
|
|
236
|
-
parser: {};
|
|
237
|
-
response: {};
|
|
238
|
-
}, {} | {
|
|
239
|
-
[x: string]: {
|
|
240
|
-
get: {
|
|
241
|
-
body: unknown;
|
|
242
|
-
params: {};
|
|
243
|
-
query: unknown;
|
|
244
|
-
headers: unknown;
|
|
245
|
-
response: {};
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
}, {
|
|
249
|
-
derive: {};
|
|
250
|
-
resolve: {};
|
|
251
|
-
schema: {};
|
|
252
|
-
standaloneSchema: {};
|
|
253
|
-
response: {};
|
|
254
|
-
}, {
|
|
255
|
-
derive: {};
|
|
256
|
-
resolve: {};
|
|
257
|
-
schema: {};
|
|
258
|
-
standaloneSchema: {};
|
|
259
|
-
response: {};
|
|
260
|
-
} & {
|
|
261
|
-
derive: {};
|
|
262
|
-
resolve: {};
|
|
263
|
-
schema: {};
|
|
264
|
-
standaloneSchema: {};
|
|
265
|
-
response: {};
|
|
266
|
-
} & {
|
|
267
|
-
derive: {};
|
|
268
|
-
resolve: {};
|
|
269
|
-
schema: {};
|
|
270
|
-
standaloneSchema: {};
|
|
271
|
-
response: {};
|
|
272
|
-
}>;
|
|
273
|
-
manifest: Record<string, string>;
|
|
274
|
-
}>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { StaticConfig } from '../../types/build';
|
|
2
|
-
export type PrerenderResult = {
|
|
3
|
-
/** Map of route path → rendered HTML file path on disk */
|
|
4
|
-
routes: Map<string, string>;
|
|
5
|
-
/** Directory where pre-rendered files are stored */
|
|
6
|
-
dir: string;
|
|
7
|
-
};
|
|
8
|
-
type LogFn = (message: string) => void;
|
|
9
|
-
/** Header used to bypass the prerender cache during ISR re-renders */
|
|
10
|
-
export declare const PRERENDER_BYPASS_HEADER = "X-Absolute-Prerender-Bypass";
|
|
11
|
-
/** Convert a URL path to a filename: "/" → "index.html", "/vue" → "vue.html" */
|
|
12
|
-
export declare const routeToFilename: (route: string) => string;
|
|
13
|
-
/** Read the render timestamp for a pre-rendered page. Returns 0 if not found. */
|
|
14
|
-
export declare const readTimestamp: (htmlPath: string) => number;
|
|
15
|
-
/**
|
|
16
|
-
* Re-render a single route by fetching it from the running server
|
|
17
|
-
* with the bypass header so it hits SSR instead of the cache.
|
|
18
|
-
*/
|
|
19
|
-
export declare const rerenderRoute: (route: string, port: number, prerenderDir: string) => Promise<boolean>;
|
|
20
|
-
/**
|
|
21
|
-
* Pre-render routes by fetching them from a running server and saving the HTML to disk.
|
|
22
|
-
*
|
|
23
|
-
* Used by both `absolute start` (SSG) and `absolute compile`.
|
|
24
|
-
*/
|
|
25
|
-
export declare const prerender: (port: number, outDir: string, staticConfig: StaticConfig, log?: LogFn) => Promise<PrerenderResult>;
|
|
26
|
-
/**
|
|
27
|
-
* Start the bundled production server, wait for it to be ready, pre-render,
|
|
28
|
-
* then kill it.
|
|
29
|
-
*/
|
|
30
|
-
export declare const prerenderWithServer: (serverBundlePath: string, port: number, outDir: string, staticConfig: StaticConfig, env: Record<string, string>, log?: LogFn) => Promise<PrerenderResult>;
|
|
31
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { IslandRegistry, IslandRegistryInput, RuntimeIslandRenderProps } from '../../types/island';
|
|
2
|
-
export declare const renderIslandMarkup: <T extends IslandRegistryInput>(registry: IslandRegistry<T> | T, props: RuntimeIslandRenderProps) => Promise<string>;
|
|
3
|
-
export declare const renderIslandResult: <T extends IslandRegistryInput>(registry: IslandRegistry<T> | T, props: RuntimeIslandRenderProps) => Promise<{
|
|
4
|
-
attributes: {
|
|
5
|
-
'data-component': string;
|
|
6
|
-
'data-framework': string;
|
|
7
|
-
'data-hydrate': string;
|
|
8
|
-
'data-island': "true";
|
|
9
|
-
'data-island-id'?: string;
|
|
10
|
-
'data-props': string;
|
|
11
|
-
};
|
|
12
|
-
html: string;
|
|
13
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type AppendStreamingSlotsOptions, type StreamingSlotPolicy, type StreamingSlot } from '../utils/streamingSlots';
|
|
2
|
-
type ResponseLike = Response | Promise<Response>;
|
|
3
|
-
export type StreamingSlotEnhancerOptions = Omit<AppendStreamingSlotsOptions, 'injectRuntime'> & {
|
|
4
|
-
streamingSlots?: StreamingSlot[];
|
|
5
|
-
policy?: StreamingSlotPolicy;
|
|
6
|
-
};
|
|
7
|
-
export declare const enhanceHtmlResponseWithStreamingSlots: (response: Response, { nonce, onError, runtimePlacement, runtimePreludeScript, streamingSlots, policy }?: StreamingSlotEnhancerOptions) => Response;
|
|
8
|
-
export declare const withStreamingSlots: (responseLike: ResponseLike, options?: StreamingSlotEnhancerOptions) => Promise<Response>;
|
|
9
|
-
export declare const withRegisteredStreamingSlots: (renderResponse: () => ResponseLike, options?: StreamingSlotEnhancerOptions) => Promise<Response>;
|
|
10
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { StreamingSlotPatchPayload } from '../utils/streamingSlots';
|
|
2
|
-
export type StaticStreamingSlotResolver = () => Promise<StreamingSlotPatchPayload> | StreamingSlotPatchPayload;
|
|
3
|
-
export type StaticStreamingSlotDefinition = {
|
|
4
|
-
resolve: StaticStreamingSlotResolver;
|
|
5
|
-
timeoutMs?: number;
|
|
6
|
-
errorHtml?: string;
|
|
7
|
-
};
|
|
8
|
-
export type StaticStreamingSlotDefinitions = Record<string, StaticStreamingSlotResolver | StaticStreamingSlotDefinition>;
|
|
9
|
-
export declare const defineStaticStreamingSlots: <const T extends StaticStreamingSlotDefinitions>(slots: T) => T;
|
|
10
|
-
type StaticStreamingTagDefinition = {
|
|
11
|
-
errorHtml?: string;
|
|
12
|
-
fallbackHtml: string;
|
|
13
|
-
id: string;
|
|
14
|
-
resolver: string;
|
|
15
|
-
timeoutMs?: number;
|
|
16
|
-
};
|
|
17
|
-
export declare const extractStaticStreamingTags: (html: string) => StaticStreamingTagDefinition[];
|
|
18
|
-
export declare const loadStaticStreamingSlots: (pagePath: string, html: string) => Promise<{
|
|
19
|
-
errorHtml: string | undefined;
|
|
20
|
-
fallbackHtml: string;
|
|
21
|
-
id: string;
|
|
22
|
-
resolve: StaticStreamingSlotResolver;
|
|
23
|
-
timeoutMs: number | undefined;
|
|
24
|
-
}[]>;
|
|
25
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { StreamingSlot } from '../utils/streamingSlots';
|
|
2
|
-
type StreamingSlotRegistrar = (slot: StreamingSlot) => void;
|
|
3
|
-
type StreamingSlotWarningController = {
|
|
4
|
-
maybeWarn(primitiveName: string): void;
|
|
5
|
-
};
|
|
6
|
-
type StreamingSlotCollectionController = {
|
|
7
|
-
isCollecting(): boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const hasRegisteredStreamingSlotRegistrar: () => boolean;
|
|
10
|
-
export declare const isStreamingSlotCollectionActive: () => boolean;
|
|
11
|
-
export declare const registerStreamingSlot: (slot: StreamingSlot) => void;
|
|
12
|
-
export declare const setStreamingSlotCollectionController: (controller: StreamingSlotCollectionController | null) => void;
|
|
13
|
-
export declare const setStreamingSlotRegistrar: (nextRegistrar: StreamingSlotRegistrar | null) => void;
|
|
14
|
-
export declare const setStreamingSlotWarningController: (controller: StreamingSlotWarningController | null) => void;
|
|
15
|
-
export declare const warnMissingStreamingSlotCollector: (primitiveName: string) => void;
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const compileSvelteServerModule: (sourcePath: string) => Promise<string>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** Determine Content-Type from a file path extension */
|
|
2
|
-
export declare const getMimeType: (filePath: string) => string;
|
|
3
|
-
/** Upsert build outputs into the in-memory asset store.
|
|
4
|
-
* Evicts previous entries for the same logical asset (same base name,
|
|
5
|
-
* different hash) so stale paths don't accumulate. */
|
|
6
|
-
export declare const cleanStaleAssets: (store: Map<string, Uint8Array>, manifest: Record<string, string>, buildDir: string) => Promise<void>;
|
|
7
|
-
export declare const lookupAsset: (store: Map<string, Uint8Array>, path: string) => Uint8Array<ArrayBufferLike> | undefined;
|
|
8
|
-
export declare const populateAssetStore: (store: Map<string, Uint8Array>, manifest: Record<string, string>, buildDir: string) => Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const buildHMRClient: () => Promise<string>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { FSWatcher } from 'fs';
|
|
2
|
-
import { type DependencyGraph } from './dependencyGraph';
|
|
3
|
-
import { type ModuleVersions } from './moduleVersionTracker';
|
|
4
|
-
import type { HMRWebSocket } from '../../types/websocket';
|
|
5
|
-
import type { BuildConfig } from '../../types/build';
|
|
6
|
-
import { type ResolvedBuildPaths } from './configResolver';
|
|
7
|
-
export type HMRState = {
|
|
8
|
-
connectedClients: Set<HMRWebSocket>;
|
|
9
|
-
activeFrameworks: Set<string>;
|
|
10
|
-
dependencyGraph: DependencyGraph;
|
|
11
|
-
isRebuilding: boolean;
|
|
12
|
-
rebuildQueue: Set<string>;
|
|
13
|
-
rebuildTimeout: NodeJS.Timeout | null;
|
|
14
|
-
fileChangeQueue: Map<string, string[]>;
|
|
15
|
-
debounceTimeout: NodeJS.Timeout | null;
|
|
16
|
-
fileHashes: Map<string, number>;
|
|
17
|
-
watchers: FSWatcher[];
|
|
18
|
-
moduleVersions: ModuleVersions;
|
|
19
|
-
sourceFileVersions: Map<string, number>;
|
|
20
|
-
config: BuildConfig;
|
|
21
|
-
resolvedPaths: ResolvedBuildPaths;
|
|
22
|
-
vueChangeTypes: Map<string, 'template-only' | 'script' | 'full'>;
|
|
23
|
-
assetStore: Map<string, Uint8Array>;
|
|
24
|
-
manifest: Record<string, string>;
|
|
25
|
-
rebuildCount: number;
|
|
26
|
-
lastHmrPath?: string;
|
|
27
|
-
lastHmrFramework?: string;
|
|
28
|
-
};
|
|
29
|
-
export declare const createHMRState: (config: BuildConfig) => HMRState;
|
|
30
|
-
export declare const incrementSourceFileVersion: (state: HMRState, filePath: string) => number;
|
|
31
|
-
export declare const incrementSourceFileVersions: (state: HMRState, filePaths: string[]) => void;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { BuildConfig } from '../../types/build';
|
|
2
|
-
/** Normalize and default build paths so HMR works outside the example app. */
|
|
3
|
-
export declare const resolveBuildPaths: (config: BuildConfig) => {
|
|
4
|
-
angularDir: string | undefined;
|
|
5
|
-
assetsDir: string | undefined;
|
|
6
|
-
buildDir: string;
|
|
7
|
-
htmlDir: string | undefined;
|
|
8
|
-
htmxDir: string | undefined;
|
|
9
|
-
reactDir: string | undefined;
|
|
10
|
-
stylesDir: string | undefined;
|
|
11
|
-
svelteDir: string | undefined;
|
|
12
|
-
vueDir: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
export type ResolvedBuildPaths = ReturnType<typeof resolveBuildPaths>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type DependencyGraph = {
|
|
2
|
-
dependents: Map<string, Set<string>>;
|
|
3
|
-
dependencies: Map<string, Set<string>>;
|
|
4
|
-
};
|
|
5
|
-
export declare const emptyDependencyGraph: DependencyGraph;
|
|
6
|
-
export declare const addFileToGraph: (graph: DependencyGraph, filePath: string) => void;
|
|
7
|
-
export declare const buildInitialDependencyGraph: (graph: DependencyGraph, directories: string[]) => void;
|
|
8
|
-
export declare const extractDependencies: (filePath: string) => string[];
|
|
9
|
-
export declare const getAffectedFiles: (graph: DependencyGraph, changedFile: string) => string[];
|
|
10
|
-
export declare const removeFileFromGraph: (graph: DependencyGraph, filePath: string) => void;
|