@absolutejs/absolute 0.19.0-beta.1043 → 0.19.0-beta.1045
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/browser.js +10358 -0
- package/dist/angular/browser.js.map +260 -0
- package/dist/angular/components/constants.js +101 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +58 -0
- package/dist/angular/components/core/streamingSlotRegistry.js +114 -0
- package/dist/angular/components/defer-slot-payload.js +6 -0
- package/dist/angular/components/defer-slot-templates.directive.js +44 -0
- package/dist/angular/components/defer-slot.component.js +152 -0
- package/dist/angular/components/image.component.js +202 -0
- package/dist/angular/components/index.js +4 -0
- package/dist/angular/components/stream-slot.component.js +102 -0
- package/dist/angular/hmrPreserveCore.ts +188 -0
- package/dist/angular/index.js +15793 -0
- package/dist/angular/index.js.map +299 -0
- package/dist/angular/server.js +6357 -0
- package/dist/angular/server.js.map +61 -0
- package/dist/build.js +27484 -0
- package/dist/build.js.map +146 -0
- package/dist/cli/config/client.js +527 -0
- package/dist/cli/config/server.js +37130 -0
- package/dist/cli/htmx/htmx.min.js +1 -0
- package/dist/cli/index.js +180085 -0
- package/dist/client/index.js +1267 -0
- package/dist/client/index.js.map +31 -0
- package/dist/core/streamingSlotRegistrar.js +138 -0
- package/dist/core/streamingSlotRegistrar.js.map +10 -0
- package/dist/core/streamingSlotRegistry.js +194 -0
- package/dist/core/streamingSlotRegistry.js.map +11 -0
- package/dist/dev/client/constants.ts +26 -0
- package/dist/dev/client/cssUtils.ts +311 -0
- package/dist/dev/client/domDiff.ts +226 -0
- package/dist/dev/client/domState.ts +423 -0
- package/dist/dev/client/domTracker.ts +61 -0
- package/dist/dev/client/errorOverlay.ts +445 -0
- package/dist/dev/client/frameworkDetect.ts +63 -0
- package/dist/dev/client/handlers/angularHmrShim.ts +88 -0
- package/dist/dev/client/handlers/angularRemount.ts +362 -0
- package/dist/dev/client/handlers/angularRemountWiring.ts +52 -0
- package/dist/dev/client/handlers/html.ts +364 -0
- package/dist/dev/client/handlers/htmx.ts +278 -0
- package/dist/dev/client/handlers/react.ts +108 -0
- package/dist/dev/client/handlers/rebuild.ts +153 -0
- package/dist/dev/client/handlers/svelte.ts +334 -0
- package/dist/dev/client/handlers/vue.ts +292 -0
- package/dist/dev/client/headPatch.ts +233 -0
- package/dist/dev/client/hmrClient.ts +352 -0
- package/dist/dev/client/hmrState.ts +14 -0
- package/dist/dev/client/hmrToast.ts +150 -0
- package/dist/dev/client/moduleVersions.ts +62 -0
- package/dist/dev/client/reactRefreshSetup.ts +31 -0
- package/dist/dev/client/vendor/lview/lViewOps.ts +196 -0
- package/dist/dev/client/vendor/lview/slotConstants.ts +44 -0
- package/dist/dev/client/vendor/reactRefreshRuntime.d.ts +12 -0
- package/dist/dev/client/vendor/reactRefreshRuntime.js +313 -0
- package/dist/image-client/imageClient.js +69 -0
- package/dist/index.js +46260 -0
- package/dist/index.js.map +322 -0
- package/dist/islands/browser.js +259 -0
- package/dist/islands/browser.js.map +15 -0
- package/dist/islands/index.js +2415 -0
- package/dist/islands/index.js.map +37 -0
- package/dist/react/browser.js +374 -0
- package/dist/react/browser.js.map +19 -0
- package/dist/react/components/browser/index.js +467 -0
- package/dist/react/components/index.js +684 -0
- package/dist/react/components/index.js.map +18 -0
- package/dist/react/hooks/index.js +285 -0
- package/dist/react/hooks/index.js.map +14 -0
- package/dist/react/index.js +4258 -0
- package/dist/react/index.js.map +56 -0
- package/dist/react/jsxDevRuntimeCompat.js +90 -0
- package/dist/react/jsxDevRuntimeCompat.js.map +10 -0
- package/dist/react/router/browser.js +95 -0
- package/dist/react/router/browser.js.map +10 -0
- package/dist/react/router/index.js +95 -0
- package/dist/react/router/index.js.map +10 -0
- package/dist/react/server.js +1895 -0
- package/dist/react/server.js.map +26 -0
- package/dist/src/angular/Island.browser.d.ts +34 -0
- package/dist/src/angular/Island.d.ts +29 -0
- package/dist/src/angular/angularDeps.d.ts +2 -0
- package/dist/src/angular/angularPatch.d.ts +1 -0
- package/dist/src/angular/animationProviders.d.ts +2 -0
- package/dist/src/angular/browser.d.ts +14 -0
- package/dist/src/angular/components/constants.d.ts +96 -0
- package/dist/src/angular/components/defer-slot-payload.d.ts +7 -0
- package/dist/src/angular/components/defer-slot-templates.directive.d.ts +21 -0
- package/dist/src/angular/components/defer-slot.component.d.ts +29 -0
- package/dist/src/angular/components/image.component.d.ts +42 -0
- package/dist/src/angular/components/index.d.ts +4 -0
- package/dist/src/angular/components/stream-slot.component.d.ts +20 -0
- package/dist/src/angular/composables/index.d.ts +6 -0
- package/dist/src/angular/composables/usePageContext.d.ts +16 -0
- package/dist/src/angular/composables/useResource.d.ts +57 -0
- package/dist/src/angular/composables/useSubscription.d.ts +33 -0
- package/dist/src/angular/composables/useTimers.d.ts +18 -0
- package/dist/src/angular/createIsland.browser.d.ts +2 -0
- package/dist/src/angular/createIsland.d.ts +2 -0
- package/dist/src/angular/deterministicEnv.d.ts +26 -0
- package/dist/src/angular/hmrPreserveCore.d.ts +21 -0
- package/dist/src/angular/httpTransferCache.d.ts +12 -0
- package/dist/src/angular/index.d.ts +14 -0
- package/dist/src/angular/injectorPatch.d.ts +1 -0
- package/dist/src/angular/islandStore.d.ts +9 -0
- package/dist/src/angular/islands.d.ts +4 -0
- package/dist/src/angular/lowerDeferSyntax.d.ts +18 -0
- package/dist/src/angular/lowerServerIslands.d.ts +1 -0
- package/dist/src/angular/pageHandler.d.ts +48 -0
- package/dist/src/angular/pendingTask.d.ts +1 -0
- package/dist/src/angular/preserveAcrossHmr.d.ts +12 -0
- package/dist/src/angular/renderIsland.d.ts +2 -0
- package/dist/src/angular/requestProviders.d.ts +5 -0
- package/dist/src/angular/resolveAngularPackage.d.ts +19 -0
- package/dist/src/angular/routerRedirectProviders.d.ts +6 -0
- package/dist/src/angular/server.d.ts +4 -0
- package/dist/src/angular/ssrRender.d.ts +13 -0
- package/dist/src/angular/ssrSanitizer.d.ts +3 -0
- package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +7 -0
- package/dist/src/build/angularLinkerPlugin.d.ts +29 -0
- package/dist/src/build/buildAngularVendor.d.ts +40 -0
- package/dist/src/build/buildDepVendor.d.ts +2 -0
- package/dist/src/build/buildEmberVendor.d.ts +24 -0
- package/dist/src/build/buildReactVendor.d.ts +8 -0
- package/dist/src/build/buildSvelteVendor.d.ts +6 -0
- package/dist/src/build/buildVueVendor.d.ts +6 -0
- package/dist/src/build/chainInlineSourcemaps.d.ts +13 -0
- package/dist/src/build/compileAngular.d.ts +40 -0
- package/dist/src/build/compileEmber.d.ts +43 -0
- package/dist/src/build/compileSvelte.d.ts +14 -0
- package/dist/src/build/compileTailwind.d.ts +5 -0
- package/dist/src/build/compileVue.d.ts +22 -0
- package/dist/src/build/externalAssetPlugin.d.ts +2 -0
- package/dist/src/build/generateManifest.d.ts +2 -0
- package/dist/src/build/generateReactIndexes.d.ts +2 -0
- package/dist/src/build/htmlScriptHMRPlugin.d.ts +13 -0
- package/dist/src/build/index.d.ts +2 -0
- package/dist/src/build/islandEntries.d.ts +32 -0
- package/dist/src/build/islandRegistryTransform.d.ts +17 -0
- package/dist/src/build/nativeRewrite.d.ts +5 -0
- package/dist/src/build/optimizeHtmlImages.d.ts +2 -0
- package/dist/src/build/outputLogs.d.ts +1 -0
- package/dist/src/build/parseAngularConfigImports.d.ts +9 -0
- package/dist/src/build/parseVueSpaRoutes.d.ts +20 -0
- package/dist/src/build/resolvePackageImport.d.ts +9 -0
- package/dist/src/build/rewriteImports.d.ts +8 -0
- package/dist/src/build/rewriteImportsPlugin.d.ts +48 -0
- package/dist/src/build/rewriteReactImports.d.ts +7 -0
- package/dist/src/build/runAngularHandlerScan.d.ts +7 -0
- package/dist/src/build/scanAngularHandlerCalls.d.ts +13 -0
- package/dist/src/build/scanAngularPageRoutes.d.ts +10 -0
- package/dist/src/build/scanConventions.d.ts +5 -0
- package/dist/src/build/scanCssEntryPoints.d.ts +1 -0
- package/dist/src/build/scanEntryPoints.d.ts +1 -0
- package/dist/src/build/scanRouteRegistrations.d.ts +23 -0
- package/dist/src/build/scanVueSsrOnlyPages.d.ts +6 -0
- package/dist/src/build/staticIslandPages.d.ts +9 -0
- package/dist/src/build/stylePreprocessor.d.ts +26 -0
- package/dist/src/build/tailwindCompiler.d.ts +8 -0
- package/dist/src/build/updateAssetPaths.d.ts +1 -0
- package/dist/src/build/vendorEntrySource.d.ts +1 -0
- package/dist/src/build/verifyAngularCoreUniqueness.d.ts +2 -0
- package/dist/src/build/vueAutoRouterTransform.d.ts +1 -0
- package/dist/src/build/wrapHTMLScript.d.ts +17 -0
- package/dist/src/build.d.ts +2 -0
- package/dist/src/cli/add/dependencies.d.ts +12 -0
- package/dist/src/cli/cache.d.ts +15 -0
- package/dist/src/cli/config/absolute/AbsoluteConfigPanel.d.ts +6 -0
- package/dist/src/cli/config/absolute/editAbsoluteConfig.d.ts +5 -0
- package/dist/src/cli/config/absolute/resolveAbsoluteConfig.d.ts +14 -0
- package/dist/src/cli/config/client.d.ts +1 -0
- package/dist/src/cli/config/configCert.d.ts +12 -0
- package/dist/src/cli/config/eslint/EslintPanel.d.ts +6 -0
- package/dist/src/cli/config/eslint/configAst.d.ts +18 -0
- package/dist/src/cli/config/eslint/editConfigRule.d.ts +6 -0
- package/dist/src/cli/config/eslint/eslintStyles.d.ts +1 -0
- package/dist/src/cli/config/eslint/resolveConfig.d.ts +3 -0
- package/dist/src/cli/config/eslint/serializeValue.d.ts +9 -0
- package/dist/src/cli/config/guards.d.ts +4 -0
- package/dist/src/cli/config/packageJson/PackageJsonPanel.d.ts +6 -0
- package/dist/src/cli/config/packageJson/editPackageJson.d.ts +9 -0
- package/dist/src/cli/config/packageJson/resolvePackageJson.d.ts +9 -0
- package/dist/src/cli/config/page/ConfigShell.d.ts +6 -0
- package/dist/src/cli/config/page/FieldEditor.d.ts +9 -0
- package/dist/src/cli/config/page/PanelHost.d.ts +6 -0
- package/dist/src/cli/config/page/configStyles.d.ts +1 -0
- package/dist/src/cli/config/panels.d.ts +7 -0
- package/dist/src/cli/config/prettier/PrettierPanel.d.ts +6 -0
- package/dist/src/cli/config/prettier/editPrettier.d.ts +5 -0
- package/dist/src/cli/config/prettier/resolvePrettier.d.ts +11 -0
- package/dist/src/cli/config/schema/fromJsonSchema.d.ts +3 -0
- package/dist/src/cli/config/schema/fromType.d.ts +2 -0
- package/dist/src/cli/config/schema/serialize.d.ts +1 -0
- package/dist/src/cli/config/server.d.ts +298 -0
- package/dist/src/cli/config/tsconfig/TsconfigPanel.d.ts +6 -0
- package/dist/src/cli/config/tsconfig/editTsconfig.d.ts +5 -0
- package/dist/src/cli/config/tsconfig/resolveTsconfig.d.ts +8 -0
- package/dist/src/cli/config/tsconfig/tsconfigStyles.d.ts +1 -0
- package/dist/src/cli/discoverInstances.d.ts +5 -0
- package/dist/src/cli/generate/componentTemplates.d.ts +7 -0
- package/dist/src/cli/generate/context.d.ts +30 -0
- package/dist/src/cli/generate/cssStrategy.d.ts +20 -0
- package/dist/src/cli/generate/frameworkKey.d.ts +3 -0
- package/dist/src/cli/generate/frameworks.d.ts +40 -0
- package/dist/src/cli/generate/generateApi.d.ts +3 -0
- package/dist/src/cli/generate/generateComponent.d.ts +4 -0
- package/dist/src/cli/generate/generatePage.d.ts +4 -0
- package/dist/src/cli/generate/naming.d.ts +5 -0
- package/dist/src/cli/generate/navData.d.ts +10 -0
- package/dist/src/cli/generate/outcome.d.ts +17 -0
- package/dist/src/cli/generate/pageTemplates.d.ts +11 -0
- package/dist/src/cli/generate/routeWiring.d.ts +40 -0
- package/dist/src/cli/generate/staticNav.d.ts +5 -0
- package/dist/src/cli/heapDiff.d.ts +1 -0
- package/dist/src/cli/htmx/install.d.ts +6 -0
- package/dist/src/cli/index.d.ts +2 -0
- package/dist/src/cli/inspectData.d.ts +12 -0
- package/dist/src/cli/inspectTui.d.ts +1 -0
- package/dist/src/cli/instanceStatus.d.ts +22 -0
- package/dist/src/cli/interactive.d.ts +2 -0
- package/dist/src/cli/psTui.d.ts +1 -0
- package/dist/src/cli/scripts/add.d.ts +1 -0
- package/dist/src/cli/scripts/analyze.d.ts +1 -0
- package/dist/src/cli/scripts/api.d.ts +1 -0
- package/dist/src/cli/scripts/build.d.ts +1 -0
- package/dist/src/cli/scripts/compile.d.ts +2 -0
- package/dist/src/cli/scripts/dev.d.ts +1 -0
- package/dist/src/cli/scripts/doctor.d.ts +1 -0
- package/dist/src/cli/scripts/env.d.ts +7 -0
- package/dist/src/cli/scripts/eslint.d.ts +16 -0
- package/dist/src/cli/scripts/generate.d.ts +1 -0
- package/dist/src/cli/scripts/htmx.d.ts +1 -0
- package/dist/src/cli/scripts/info.d.ts +1 -0
- package/dist/src/cli/scripts/inspect.d.ts +1 -0
- package/dist/src/cli/scripts/islands.d.ts +1 -0
- package/dist/src/cli/scripts/logs.d.ts +1 -0
- package/dist/src/cli/scripts/ls.d.ts +1 -0
- package/dist/src/cli/scripts/mem.d.ts +1 -0
- package/dist/src/cli/scripts/prettier.d.ts +3 -0
- package/dist/src/cli/scripts/ps.d.ts +1 -0
- package/dist/src/cli/scripts/remove.d.ts +1 -0
- package/dist/src/cli/scripts/routes.d.ts +1 -0
- package/dist/src/cli/scripts/start.d.ts +1 -0
- package/dist/src/cli/scripts/telemetry.d.ts +5 -0
- package/dist/src/cli/scripts/tunnelRelay.d.ts +9 -0
- package/dist/src/cli/scripts/typecheck.d.ts +1 -0
- package/dist/src/cli/scripts/workspace.d.ts +11 -0
- package/dist/src/cli/telemetryEvent.d.ts +1 -0
- package/dist/src/cli/tuiPrimitives.d.ts +14 -0
- package/dist/src/cli/utils.d.ts +15 -0
- package/dist/src/cli/workspaceTui.d.ts +44 -0
- package/dist/src/client/hydrators/react.d.ts +3 -0
- package/dist/src/client/hydrators/svelte.d.ts +2 -0
- package/dist/src/client/hydrators/vue.d.ts +2 -0
- package/dist/src/client/index.d.ts +4 -0
- package/dist/src/client/islandResolver.d.ts +2 -0
- package/dist/src/client/islandRuntime.d.ts +9 -0
- package/dist/src/client/islandStore.d.ts +22 -0
- package/dist/src/client/preserveIslandMarkup.d.ts +16 -0
- package/dist/src/client/streamSwap.d.ts +1 -0
- package/dist/src/constants.d.ts +96 -0
- package/dist/src/core/angularServerModule.d.ts +1 -0
- package/dist/src/core/build.d.ts +14 -0
- package/dist/src/core/currentIslandRegistry.d.ts +7 -0
- package/dist/src/core/devBuild.d.ts +23 -0
- package/dist/src/core/devRouteRegistrationCallsite.d.ts +4 -0
- package/dist/src/core/devVendorPaths.d.ts +17 -0
- package/dist/src/core/index.d.ts +7 -0
- package/dist/src/core/islandManifest.d.ts +3 -0
- package/dist/src/core/islandMarkupAttributes.d.ts +12 -0
- package/dist/src/core/islandPageContext.d.ts +12 -0
- package/dist/src/core/islandSsr.d.ts +6 -0
- package/dist/src/core/islands.d.ts +16 -0
- package/dist/src/core/loadIslandRegistry.d.ts +1 -0
- package/dist/src/core/lookup.d.ts +1 -0
- package/dist/src/core/normalizeIslandProps.d.ts +15 -0
- package/dist/src/core/pageHandlers.d.ts +5 -0
- package/dist/src/core/prepare.d.ts +417 -0
- package/dist/src/core/prerender.d.ts +31 -0
- package/dist/src/core/renderIslandMarkup.d.ts +13 -0
- package/dist/src/core/responseEnhancers.d.ts +10 -0
- package/dist/src/core/staticStreaming.d.ts +25 -0
- package/dist/src/core/streamingSlotRegistrar.d.ts +16 -0
- package/dist/src/core/streamingSlotRegistry.d.ts +2 -0
- package/dist/src/core/streamingSlotWarningScope.d.ts +4 -0
- package/dist/src/core/svelteServerModule.d.ts +1 -0
- package/dist/src/core/vueServerModule.d.ts +1 -0
- package/dist/src/core/wrapPageHandlerWithStreamingSlots.d.ts +2 -0
- package/dist/src/dev/angular/fastHmrCompiler.d.ts +58 -0
- package/dist/src/dev/angular/hmrCompiler.d.ts +2 -0
- package/dist/src/dev/angular/hmrImportGenerator.d.ts +3 -0
- package/dist/src/dev/angular/hmrInjectionPlugin.d.ts +8 -0
- package/dist/src/dev/angular/resolveOwningComponents.d.ts +16 -0
- package/dist/src/dev/angular/vendor/translator/api/ast_factory.d.ts +363 -0
- package/dist/src/dev/angular/vendor/translator/api/import_generator.d.ts +49 -0
- package/dist/src/dev/angular/vendor/translator/context.d.ts +18 -0
- package/dist/src/dev/angular/vendor/translator/translator.d.ts +75 -0
- package/dist/src/dev/angular/vendor/translator/ts_util.d.ts +12 -0
- package/dist/src/dev/angular/vendor/translator/typescript_ast_factory.d.ts +66 -0
- package/dist/src/dev/angular/vendor/translator/typescript_translator.d.ts +13 -0
- package/dist/src/dev/assetStore.d.ts +8 -0
- package/dist/src/dev/buildHMRClient.d.ts +1 -0
- package/dist/src/dev/clientManager.d.ts +33 -0
- package/dist/src/dev/configResolver.d.ts +16 -0
- package/dist/src/dev/dependencyGraph.d.ts +10 -0
- package/dist/src/dev/devCert.d.ts +11 -0
- package/dist/src/dev/fileHashTracker.d.ts +2 -0
- package/dist/src/dev/fileWatcher.d.ts +4 -0
- package/dist/src/dev/moduleMapper.d.ts +27 -0
- package/dist/src/dev/moduleServer.d.ts +24 -0
- package/dist/src/dev/moduleVersionTracker.d.ts +7 -0
- package/dist/src/dev/pathUtils.d.ts +8 -0
- package/dist/src/dev/reactComponentClassifier.d.ts +2 -0
- package/dist/src/dev/rebuildTrigger.d.ts +11 -0
- package/dist/src/dev/requestInspector.d.ts +43 -0
- package/dist/src/dev/serverEntryWatcher.d.ts +5 -0
- package/dist/src/dev/simpleHTMLHMR.d.ts +4 -0
- package/dist/src/dev/simpleHTMXHMR.d.ts +4 -0
- package/dist/src/dev/transformCache.d.ts +22 -0
- package/dist/src/dev/tunnel/client.d.ts +20 -0
- package/dist/src/dev/tunnel/protocol.d.ts +85 -0
- package/dist/src/dev/tunnel/relay.d.ts +28 -0
- package/dist/src/dev/webSocket.d.ts +9 -0
- package/dist/src/ember/browser.d.ts +24 -0
- package/dist/src/ember/index.d.ts +2 -0
- package/dist/src/ember/pageHandler.d.ts +35 -0
- package/dist/src/ember/server.d.ts +2 -0
- package/dist/src/index.d.ts +7 -0
- package/dist/src/islands/browser.d.ts +3 -0
- package/dist/src/islands/index.d.ts +3 -0
- package/dist/src/islands/pageMetadata.d.ts +13 -0
- package/dist/src/islands/sourceMetadata.d.ts +10 -0
- package/dist/src/plugins/devtoolsJson.d.ts +58 -0
- package/dist/src/plugins/hmr.d.ts +163 -0
- package/dist/src/plugins/imageOptimizer.d.ts +67 -0
- package/dist/src/plugins/index.d.ts +3 -0
- package/dist/src/plugins/networking.d.ts +2 -0
- package/dist/src/plugins/openApiPlugin.d.ts +11 -0
- package/dist/src/plugins/pageRouter.d.ts +1 -0
- package/dist/src/react/Island.browser.d.ts +2 -0
- package/dist/src/react/Island.d.ts +2 -0
- package/dist/src/react/bridgeInternals.d.ts +1 -0
- package/dist/src/react/browser.d.ts +3 -0
- package/dist/src/react/components/Head.d.ts +2 -0
- package/dist/src/react/components/Image.d.ts +2 -0
- package/dist/src/react/components/JsonLd.d.ts +4 -0
- package/dist/src/react/components/StreamSlot.browser.d.ts +10 -0
- package/dist/src/react/components/StreamSlot.d.ts +10 -0
- package/dist/src/react/components/SuspenseSlot.browser.d.ts +22 -0
- package/dist/src/react/components/SuspenseSlot.d.ts +37 -0
- package/dist/src/react/components/browser/index.d.ts +5 -0
- package/dist/src/react/components/index.d.ts +5 -0
- package/dist/src/react/createIsland.browser.d.ts +2 -0
- package/dist/src/react/createIsland.d.ts +2 -0
- package/dist/src/react/hooks/index.d.ts +3 -0
- package/dist/src/react/hooks/useIslandStore.d.ts +3 -0
- package/dist/src/react/hooks/useMediaQuery.d.ts +7 -0
- package/dist/src/react/index.d.ts +4 -0
- package/dist/src/react/jsxDevRuntimeCompat.d.ts +8 -0
- package/dist/src/react/pageHandler.d.ts +25 -0
- package/dist/src/react/router/UniversalRouter.d.ts +43 -0
- package/dist/src/react/router/browser.d.ts +2 -0
- package/dist/src/react/router/index.d.ts +2 -0
- package/dist/src/react/server.d.ts +1 -0
- package/dist/src/react/staticAnalyzeSpaRoutes.d.ts +7 -0
- package/dist/src/svelte/browser.d.ts +4 -0
- package/dist/src/svelte/createIsland.browser.d.ts +2 -0
- package/dist/src/svelte/createIsland.d.ts +2 -0
- package/dist/src/svelte/index.d.ts +6 -0
- package/dist/src/svelte/islandStore.d.ts +5 -0
- package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +4 -0
- package/dist/src/svelte/lowerIslandSyntax.d.ts +4 -0
- package/dist/src/svelte/pageHandler.d.ts +28 -0
- package/dist/src/svelte/renderIsland.d.ts +2 -0
- package/dist/src/svelte/renderToPipeableStream.d.ts +12 -0
- package/dist/src/svelte/renderToReadableStream.d.ts +14 -0
- package/dist/src/svelte/renderToString.d.ts +9 -0
- package/dist/src/svelte/resolveIslandHtml.browser.d.ts +2 -0
- package/dist/src/svelte/resolveIslandHtml.d.ts +2 -0
- package/dist/src/svelte/router/browser.d.ts +4 -0
- package/dist/src/svelte/router/goto.d.ts +15 -0
- package/dist/src/svelte/router/hashMode.d.ts +16 -0
- package/dist/src/svelte/router/index.d.ts +4 -0
- package/dist/src/svelte/router/matchPath.d.ts +30 -0
- package/dist/src/svelte/router/page.svelte.d.ts +15 -0
- package/dist/src/svelte/router/prefetchCache.d.ts +17 -0
- package/dist/src/svelte/router/pushState.d.ts +13 -0
- package/dist/src/svelte/router/viewTransitions.d.ts +6 -0
- package/dist/src/svelte/server.d.ts +1 -0
- package/dist/src/svelte/staticAnalyzeSpaRoutes.d.ts +7 -0
- package/dist/src/utils/buildDirectoryLock.d.ts +28 -0
- package/dist/src/utils/cleanStaleOutputs.d.ts +1 -0
- package/dist/src/utils/cleanup.d.ts +9 -0
- package/dist/src/utils/commonAncestor.d.ts +1 -0
- package/dist/src/utils/defineConfig.d.ts +39 -0
- package/dist/src/utils/defineConvention.d.ts +3 -0
- package/dist/src/utils/defineEnv.d.ts +10 -0
- package/dist/src/utils/escapeScriptContent.d.ts +1 -0
- package/dist/src/utils/formatBytes.d.ts +2 -0
- package/dist/src/utils/generateHeadElement.d.ts +4 -0
- package/dist/src/utils/generateSitemap.d.ts +21 -0
- package/dist/src/utils/generatedDir.d.ts +3 -0
- package/dist/src/utils/getDurationString.d.ts +1 -0
- package/dist/src/utils/getEnv.d.ts +1 -0
- package/dist/src/utils/imageClient.d.ts +13 -0
- package/dist/src/utils/imageProcessing.d.ts +33 -0
- package/dist/src/utils/index.d.ts +11 -0
- package/dist/src/utils/inlinePageCss.d.ts +2 -0
- package/dist/src/utils/instanceRegistry.d.ts +13 -0
- package/dist/src/utils/jsonLd.d.ts +3 -0
- package/dist/src/utils/loadConfig.d.ts +57 -0
- package/dist/src/utils/logger.d.ts +56 -0
- package/dist/src/utils/networking.d.ts +2 -0
- package/dist/src/utils/normalizePath.d.ts +9 -0
- package/dist/src/utils/portScan.d.ts +22 -0
- package/dist/src/utils/projectRoot.d.ts +17 -0
- package/dist/src/utils/registerClientScript.d.ts +36 -0
- package/dist/src/utils/resolveConvention.d.ts +10 -0
- package/dist/src/utils/resolveDevPort.d.ts +24 -0
- package/dist/src/utils/runtimeMode.d.ts +3 -0
- package/dist/src/utils/spaRouteCss.d.ts +4 -0
- package/dist/src/utils/spaRouteTypes.d.ts +25 -0
- package/dist/src/utils/ssrErrorPage.d.ts +1 -0
- package/dist/src/utils/startupBanner.d.ts +10 -0
- package/dist/src/utils/startupTimings.d.ts +7 -0
- package/dist/src/utils/streamingSlotMetricSink.d.ts +18 -0
- package/dist/src/utils/streamingSlots.d.ts +76 -0
- package/dist/src/utils/stringModifiers.d.ts +3 -0
- package/dist/src/utils/userAgentFunctions.d.ts +1 -0
- package/dist/src/utils/validateSafePath.d.ts +1 -0
- package/dist/src/vue/Island.browser.d.ts +37 -0
- package/dist/src/vue/Island.d.ts +36 -0
- package/dist/src/vue/browser.d.ts +6 -0
- package/dist/src/vue/components/Image.d.ts +74 -0
- package/dist/src/vue/components/StreamSlot.d.ts +22 -0
- package/dist/src/vue/components/SuspenseSlot.d.ts +26 -0
- package/dist/src/vue/components/index.d.ts +3 -0
- package/dist/src/vue/createIsland.browser.d.ts +13 -0
- package/dist/src/vue/createIsland.d.ts +13 -0
- package/dist/src/vue/defineVuePage.d.ts +6 -0
- package/dist/src/vue/index.d.ts +9 -0
- package/dist/src/vue/pageHandler.d.ts +45 -0
- package/dist/src/vue/routerRedirectProviders.d.ts +45 -0
- package/dist/src/vue/server.d.ts +2 -0
- package/dist/src/vue/staticAnalyzeSpaRoutes.d.ts +7 -0
- package/dist/src/vue/useIslandStore.d.ts +3 -0
- package/dist/svelte/browser.js +309 -0
- package/dist/svelte/browser.js.map +19 -0
- package/dist/svelte/components/AwaitSlot.svelte +39 -0
- package/dist/svelte/components/AwaitSlot.svelte.d.ts +2 -0
- package/dist/svelte/components/Head.svelte +144 -0
- package/dist/svelte/components/Head.svelte.d.ts +2 -0
- package/dist/svelte/components/Image.svelte +164 -0
- package/dist/svelte/components/Image.svelte.d.ts +5 -0
- package/dist/svelte/components/Island.svelte +71 -0
- package/dist/svelte/components/Island.svelte.d.ts +5 -0
- package/dist/svelte/components/JsonLd.svelte +21 -0
- package/dist/svelte/components/JsonLd.svelte.d.ts +2 -0
- package/dist/svelte/components/StreamSlot.svelte +41 -0
- package/dist/svelte/components/StreamSlot.svelte.d.ts +2 -0
- package/dist/svelte/index.js +4371 -0
- package/dist/svelte/index.js.map +60 -0
- package/dist/svelte/router/Link.svelte +124 -0
- package/dist/svelte/router/Link.svelte.d.ts +21 -0
- package/dist/svelte/router/Route.svelte +54 -0
- package/dist/svelte/router/Route.svelte.d.ts +13 -0
- package/dist/svelte/router/Router.svelte +189 -0
- package/dist/svelte/router/Router.svelte.d.ts +16 -0
- package/dist/svelte/router/browser.ts +14 -0
- package/dist/svelte/router/goto.ts +89 -0
- package/dist/svelte/router/hashMode.ts +31 -0
- package/dist/svelte/router/index.ts +23 -0
- package/dist/svelte/router/matchPath.ts +136 -0
- package/dist/svelte/router/page.d.ts +15 -0
- package/dist/svelte/router/page.js +27 -0
- package/dist/svelte/router/prefetchCache.ts +85 -0
- package/dist/svelte/router/pushState.ts +35 -0
- package/dist/svelte/router/viewTransitions.ts +35 -0
- package/dist/svelte/server.js +2996 -0
- package/dist/svelte/server.js.map +33 -0
- package/dist/types/absoluteConfig.d.ts +22 -0
- package/dist/types/angular.d.ts +43 -0
- package/dist/types/build.d.ts +259 -0
- package/dist/types/cli.d.ts +74 -0
- package/dist/types/client.d.ts +70 -0
- package/dist/types/config.d.ts +50 -0
- package/dist/types/conventions.d.ts +26 -0
- package/dist/types/ember.d.ts +39 -0
- package/dist/types/env.d.ts +2 -0
- package/dist/types/eslintConfig.d.ts +68 -0
- package/dist/types/globals.d.ts +163 -0
- package/dist/types/image.d.ts +77 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/island.d.ts +52 -0
- package/dist/types/jsonLd.d.ts +300 -0
- package/dist/types/mediaQuery.d.ts +9 -0
- package/dist/types/messages.d.ts +152 -0
- package/dist/types/metadata.d.ts +51 -0
- package/dist/types/packageJson.d.ts +74 -0
- package/dist/types/packageJsonPanel.d.ts +29 -0
- package/dist/types/prettier.d.ts +26 -0
- package/dist/types/react.d.ts +2 -0
- package/dist/types/sitemap.d.ts +24 -0
- package/dist/types/style-module-shim.d.ts +29 -0
- package/dist/types/svelte.d.ts +2 -0
- package/dist/types/svelteRouter.d.ts +65 -0
- package/dist/types/svelteRouter.ts +91 -0
- package/dist/types/telemetry.d.ts +15 -0
- package/dist/types/tool.d.ts +11 -0
- package/dist/types/tsconfig.d.ts +31 -0
- package/dist/types/typeGuards.d.ts +2 -0
- package/dist/types/userAgentTypes.d.ts +2 -0
- package/dist/types/vue.d.ts +56 -0
- package/dist/types/websocket.d.ts +6 -0
- package/dist/vue/browser.js +512 -0
- package/dist/vue/browser.js.map +22 -0
- package/dist/vue/components/Image.js +264 -0
- package/dist/vue/components/Image.js.map +12 -0
- package/dist/vue/components/index.js +571 -0
- package/dist/vue/components/index.js.map +15 -0
- package/dist/vue/index.js +5238 -0
- package/dist/vue/index.js.map +69 -0
- package/dist/vue/server.js +2251 -0
- package/dist/vue/server.js.map +32 -0
- package/package.json +2 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ProjectContext } from './context';
|
|
2
|
+
import type { FrameworkKey } from './frameworkKey';
|
|
3
|
+
import { type GenerateOutcome } from './outcome';
|
|
4
|
+
export declare const generateComponent: (project: ProjectContext, framework: FrameworkKey, rawName: string) => GenerateOutcome;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ProjectContext } from './context';
|
|
2
|
+
import type { FrameworkKey } from './frameworkKey';
|
|
3
|
+
import { type GenerateOutcome } from './outcome';
|
|
4
|
+
export declare const generatePage: (project: ProjectContext, framework: FrameworkKey, rawName: string) => GenerateOutcome;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const isValidName: (raw: string | undefined) => raw is string;
|
|
2
|
+
export declare const toCamelCase: (raw: string) => string;
|
|
3
|
+
export declare const toKebabCase: (raw: string) => string;
|
|
4
|
+
export declare const toPascalCase: (raw: string) => string;
|
|
5
|
+
export declare const toTitleCase: (raw: string) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type NavItem = {
|
|
2
|
+
href: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const readNavItems: (navDataPath: string) => NavItem[];
|
|
6
|
+
export declare const upsertNavItem: (navDataPath: string, item: NavItem) => {
|
|
7
|
+
changed: boolean;
|
|
8
|
+
created: boolean;
|
|
9
|
+
items: NavItem[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type GenerateOutcome = {
|
|
2
|
+
created: string[];
|
|
3
|
+
manual: {
|
|
4
|
+
reason: string;
|
|
5
|
+
snippet: string;
|
|
6
|
+
} | null;
|
|
7
|
+
notes: string[];
|
|
8
|
+
route: string | null;
|
|
9
|
+
updated: string[];
|
|
10
|
+
};
|
|
11
|
+
export declare const emptyOutcome: () => {
|
|
12
|
+
created: never[];
|
|
13
|
+
manual: null;
|
|
14
|
+
notes: never[];
|
|
15
|
+
route: null;
|
|
16
|
+
updated: never[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FrameworkKey } from './frameworkKey';
|
|
2
|
+
import type { NavItem } from './navData';
|
|
3
|
+
export type PageTemplateContext = {
|
|
4
|
+
cssHref: string;
|
|
5
|
+
kebab: string;
|
|
6
|
+
navImportPath: string;
|
|
7
|
+
navItems: NavItem[];
|
|
8
|
+
pascal: string;
|
|
9
|
+
title: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const pageTemplates: Record<FrameworkKey, (ctx: PageTemplateContext) => string>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { FrameworkDef } from './frameworks';
|
|
2
|
+
export type WireInput = {
|
|
3
|
+
cssAssetKey: string;
|
|
4
|
+
def: FrameworkDef;
|
|
5
|
+
indexKey: string;
|
|
6
|
+
manifestKey: string;
|
|
7
|
+
pageFileAbs: string;
|
|
8
|
+
pascal: string;
|
|
9
|
+
route: string;
|
|
10
|
+
serverEntry: string;
|
|
11
|
+
title: string;
|
|
12
|
+
};
|
|
13
|
+
export type WireResult = {
|
|
14
|
+
kind: 'edited';
|
|
15
|
+
routingFile: string;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'manual';
|
|
18
|
+
reason: string;
|
|
19
|
+
snippet: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const findRoutingFile: (serverEntry: string) => string | null;
|
|
22
|
+
export declare const wirePluginUse: (serverEntry: string, pluginName: string, moduleSpecifier: string) => {
|
|
23
|
+
kind: "manual";
|
|
24
|
+
reason: string;
|
|
25
|
+
snippet: string;
|
|
26
|
+
} | {
|
|
27
|
+
kind: "edited";
|
|
28
|
+
routingFile: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const wireRoute: (input: WireInput) => {
|
|
31
|
+
kind: "manual";
|
|
32
|
+
reason: string;
|
|
33
|
+
snippet: string;
|
|
34
|
+
routingFile?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
kind: "edited";
|
|
37
|
+
routingFile: string;
|
|
38
|
+
reason?: undefined;
|
|
39
|
+
snippet?: undefined;
|
|
40
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { NavItem } from './navData';
|
|
2
|
+
export declare const NAV_MARKER_END = "<!-- /absolute:nav -->";
|
|
3
|
+
export declare const NAV_MARKER_START = "<!-- absolute:nav -->";
|
|
4
|
+
export declare const renderNavBlock: (items: NavItem[], indent: string) => string;
|
|
5
|
+
export declare const syncStaticNav: (html: string, items: NavItem[]) => string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runHeapDiff: (beforePath?: string, afterPath?: string) => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const VENDORED_HTMX_VERSION = "2.0.6";
|
|
2
|
+
export declare const detectHtmxVersion: (content: string) => string | null | undefined;
|
|
3
|
+
export declare const fetchHtmx: (version: string) => Promise<string>;
|
|
4
|
+
export declare const installedHtmxVersion: (htmxDir: string) => string | null | undefined;
|
|
5
|
+
export declare const readVendoredHtmx: () => string | null;
|
|
6
|
+
export declare const writeHtmx: (htmxDir: string, content: string) => string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LiveInstance, RequestRecord } from '../../types/cli';
|
|
2
|
+
export declare const aggregates: (records: RequestRecord[]) => {
|
|
3
|
+
avgMs: number;
|
|
4
|
+
count: number;
|
|
5
|
+
p95Ms: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const fetchRequests: (url: string) => Promise<RequestRecord[] | null>;
|
|
8
|
+
export declare const findServer: () => Promise<LiveInstance | null>;
|
|
9
|
+
export declare const formatRequestRow: (record: RequestRecord, pathWidth: number) => string;
|
|
10
|
+
export declare const pathColumnWidth: (totalWidth: number) => number;
|
|
11
|
+
export declare const requestDetail: (record: RequestRecord) => string[];
|
|
12
|
+
export declare const requestHeader: (pathWidth: number) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runInspectTui: () => Promise<void>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InstanceRecord } from '../../types/cli';
|
|
2
|
+
export declare const enrichInstances: (records: InstanceRecord[]) => Promise<{
|
|
3
|
+
memoryBytes: number | null;
|
|
4
|
+
status: "ready" | "starting";
|
|
5
|
+
uptimeMs: number;
|
|
6
|
+
url: string | null;
|
|
7
|
+
command: string[];
|
|
8
|
+
configPath: string | null;
|
|
9
|
+
controllerPid: number;
|
|
10
|
+
cwd: string;
|
|
11
|
+
frameworks: string[];
|
|
12
|
+
host: string;
|
|
13
|
+
https: boolean;
|
|
14
|
+
logFile: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
pid: number;
|
|
17
|
+
port: number | null;
|
|
18
|
+
ppid: number;
|
|
19
|
+
source: import("..").InstanceSource;
|
|
20
|
+
startedAt: string;
|
|
21
|
+
}[]>;
|
|
22
|
+
export declare const instanceUrl: (record: InstanceRecord) => string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runPsTui: () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runAdd: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runAnalyze: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runApi: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const build: (outdir?: string, configPath?: string, profile?: boolean) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dev: (serverEntry: string, configPath?: string) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runDoctor: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Run ESLint with sensible absolutejs defaults.
|
|
3
|
+
*
|
|
4
|
+
* - Caching: enabled by default, cache file location overridable via
|
|
5
|
+
* the `ABSOLUTE_ESLINT_CACHE` env var (default: `.absolutejs/eslint-cache`).
|
|
6
|
+
* - Implicit lint target: `.` is appended only when the user hasn't
|
|
7
|
+
* supplied a positional path of their own. So `bun lint src/backend/`
|
|
8
|
+
* lints just that directory — not the whole repo plus `src/backend/`.
|
|
9
|
+
* - `--clear-cache`: handled by this script (not passed to ESLint),
|
|
10
|
+
* wipes the cache file and exits cleanly.
|
|
11
|
+
*
|
|
12
|
+
* NOTE: this script does NOT pass `--fix`. Autofixing is opt-in via the
|
|
13
|
+
* standard ESLint flag — `bun lint --fix` works because user args are
|
|
14
|
+
* spread through to the underlying `bun eslint` invocation.
|
|
15
|
+
*/
|
|
16
|
+
export declare const eslint: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runGenerate: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runHtmx: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const info: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runInspect: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runIslands: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runLogs: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runLs: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runMem: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runPs: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runRemove: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const runRoutes: (args: string[]) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const start: (serverEntry: string, outdir?: string, configPath?: string) => Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { TelemetryConfig } from '../../../types/telemetry';
|
|
2
|
+
export declare const getTelemetryConfig: () => TelemetryConfig | null;
|
|
3
|
+
export declare const isTelemetryEnabled: () => boolean;
|
|
4
|
+
export declare const saveTelemetryConfig: (config: TelemetryConfig) => void;
|
|
5
|
+
export declare const telemetry: (args: string[]) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `absolute tunnel-relay` — run the public reverse-tunnel relay (typically on a
|
|
3
|
+
* small always-on host like a DO App Platform service). Dev machines connect to
|
|
4
|
+
* it with `dev: { tunnel: { relay, token } }`. Reads:
|
|
5
|
+
* - PORT (App Platform injects this; default 8787)
|
|
6
|
+
* - ABSOLUTE_TUNNEL_TOKEN (required shared secret)
|
|
7
|
+
* - ABSOLUTE_TUNNEL_PUBLIC_URL (optional; the relay's public base URL)
|
|
8
|
+
*/
|
|
9
|
+
export declare const tunnelRelay: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const typecheck: (configPath?: string) => Promise<void>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WorkspaceConfig } from '../../../types/build';
|
|
2
|
+
type WorkspaceDevOptions = {
|
|
3
|
+
configPath?: string;
|
|
4
|
+
noTui?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const findSharedWorkspaceBuildDirectories: (services: WorkspaceConfig) => {
|
|
7
|
+
buildDirectory: string;
|
|
8
|
+
names: string[];
|
|
9
|
+
}[];
|
|
10
|
+
export declare const workspace: (subcommand: string | undefined, options: WorkspaceDevOptions) => Promise<void>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sendTelemetryEvent: (event: string, payload: Record<string, unknown>) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReadStream } from 'node:tty';
|
|
2
|
+
import type { TuiColors } from '../../types/cli';
|
|
3
|
+
export declare const ANSI_ESCAPE_PREFIX = "\u001B[";
|
|
4
|
+
export declare const colors: TuiColors;
|
|
5
|
+
export declare const ESCAPE = "\u001B";
|
|
6
|
+
export declare const appendRightEdge: (value: string, width: number, marker: string) => string;
|
|
7
|
+
export declare const formatTimestamp: () => string;
|
|
8
|
+
export declare const isPartialEscapeSequence: (value: string) => boolean;
|
|
9
|
+
export declare const openTtyStream: () => ReadStream | null;
|
|
10
|
+
export declare const padLine: (value: string, width: number) => string;
|
|
11
|
+
export declare const stripAnsi: (value: string) => string;
|
|
12
|
+
export declare const truncateText: (value: string, width: number) => string;
|
|
13
|
+
export declare const visibleLength: (value: string) => number;
|
|
14
|
+
export declare const wrapText: (value: string, width: number) => string[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DbScripts } from '../../types/cli';
|
|
2
|
+
export declare const COMPOSE_PATH = "db/docker-compose.db.yml";
|
|
3
|
+
export declare const DEFAULT_SERVER_ENTRY = "src/backend/server.ts";
|
|
4
|
+
export declare const isWSLEnvironment: () => boolean;
|
|
5
|
+
export declare const killStaleProcesses: (port: number, logMessage?: (message: string) => void) => void;
|
|
6
|
+
export declare const openUrlInBrowser: (url: string, onError?: (message: string) => void) => boolean;
|
|
7
|
+
export declare const printHelp: (subject?: string) => void;
|
|
8
|
+
export declare const printHint: () => void;
|
|
9
|
+
export declare const readDbScripts: () => Promise<{
|
|
10
|
+
downCommand: string;
|
|
11
|
+
upCommand: string;
|
|
12
|
+
} | null>;
|
|
13
|
+
export declare const startDatabase: (scripts: DbScripts) => Promise<void>;
|
|
14
|
+
export declare const stopDatabase: (scripts: DbScripts) => Promise<void>;
|
|
15
|
+
export declare const timed: (label: string, task: () => Promise<void>) => Promise<void>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ServiceVisibility } from '../../types/build';
|
|
2
|
+
type WorkspaceTuiStatus = 'pending' | 'starting' | 'ready' | 'paused' | 'restarting' | 'stopped' | 'error';
|
|
3
|
+
type WorkspaceTuiLogLevel = 'info' | 'warn' | 'error' | 'success';
|
|
4
|
+
type WorkspaceTuiService = {
|
|
5
|
+
name: string;
|
|
6
|
+
port?: number;
|
|
7
|
+
url?: string | null;
|
|
8
|
+
visibility: ServiceVisibility;
|
|
9
|
+
};
|
|
10
|
+
type WorkspaceTuiActions = {
|
|
11
|
+
open: () => void | Promise<void>;
|
|
12
|
+
pause: () => void | Promise<void>;
|
|
13
|
+
quit: () => void | Promise<void>;
|
|
14
|
+
restart: () => void | Promise<void>;
|
|
15
|
+
shell: (command: string) => void | Promise<void>;
|
|
16
|
+
};
|
|
17
|
+
type WorkspaceLogEntry = {
|
|
18
|
+
level: WorkspaceTuiLogLevel;
|
|
19
|
+
message: string;
|
|
20
|
+
source: string;
|
|
21
|
+
timestamp: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const createWorkspaceTui: ({ actions, headless: headlessOption, services, version }: {
|
|
24
|
+
actions: WorkspaceTuiActions;
|
|
25
|
+
headless?: boolean;
|
|
26
|
+
services: WorkspaceTuiService[];
|
|
27
|
+
version: string;
|
|
28
|
+
}) => {
|
|
29
|
+
addLog: (source: string, message: string, level?: WorkspaceTuiLogLevel) => void;
|
|
30
|
+
clearLogs: () => void;
|
|
31
|
+
dispose: () => void;
|
|
32
|
+
getRecentLogs: (limit?: number) => WorkspaceLogEntry[];
|
|
33
|
+
getServiceSnapshot: () => {
|
|
34
|
+
detail: string | undefined;
|
|
35
|
+
name: string;
|
|
36
|
+
status: WorkspaceTuiStatus;
|
|
37
|
+
target: string;
|
|
38
|
+
visibility: ServiceVisibility;
|
|
39
|
+
}[];
|
|
40
|
+
setReadyDuration: (durationMs: number | null) => void;
|
|
41
|
+
setServiceStatus: (name: string, status: WorkspaceTuiStatus, detail?: string) => void;
|
|
42
|
+
start: () => void;
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type ComponentType } from 'react';
|
|
2
|
+
export declare const hydrateReactIsland: (component: ComponentType<Record<string, unknown>>, element: HTMLElement, props: unknown) => void;
|
|
3
|
+
export declare const isReactComponent: (value: unknown) => value is ComponentType<Record<string, unknown>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { createIslandManifestResolver } from './islandResolver';
|
|
2
|
+
export { getStreamSwapRuntimeScript } from './streamSwap';
|
|
3
|
+
export { createIslandStore, getIslandStoreServerSnapshot, initializeIslandStores, readIslandStore, subscribeIslandStore } from './islandStore';
|
|
4
|
+
export { startIslands } from './islandRuntime';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IslandFramework } from '../../types/island';
|
|
2
|
+
type RuntimeIslandRegistry = Partial<Record<IslandFramework, Record<string, unknown>>>;
|
|
3
|
+
type StartIslandsOptions = {
|
|
4
|
+
registry: RuntimeIslandRegistry;
|
|
5
|
+
resolveComponent?: (framework: IslandFramework, component: string) => Promise<unknown>;
|
|
6
|
+
root?: ParentNode & Node;
|
|
7
|
+
};
|
|
8
|
+
export declare const startIslands: ({ registry, resolveComponent, root }: StartIslandsOptions) => void;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type StateCreator, type StoreApi } from 'zustand/vanilla';
|
|
2
|
+
export type IslandStoreState = object;
|
|
3
|
+
type IslandStoreSnapshot = Record<string, unknown>;
|
|
4
|
+
export type IslandStateSnapshot = Record<string, IslandStoreSnapshot>;
|
|
5
|
+
type AnyIslandStore = StoreApi<object>;
|
|
6
|
+
type IslandStoreInstance = {
|
|
7
|
+
applyExternalSnapshot: (snapshot: IslandStoreSnapshot) => void;
|
|
8
|
+
store: AnyIslandStore;
|
|
9
|
+
};
|
|
10
|
+
export declare const ABSOLUTE_ISLAND_STATE = "__ABS_ISLAND_STATE__";
|
|
11
|
+
export declare const ABSOLUTE_ISLAND_STORES = "__ABS_ISLAND_STORES__";
|
|
12
|
+
declare global {
|
|
13
|
+
var __ABS_ISLAND_STATE__: IslandStateSnapshot | undefined;
|
|
14
|
+
var __ABS_ISLAND_STORES__: Map<string, Set<IslandStoreInstance>> | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare const createIslandStore: <TState extends IslandStoreState, TActions extends object>(storeId: string, initialState: TState, createState: StateCreator<TState, [], [], TActions>) => StoreApi<Omit<TState, keyof TActions> & TActions>;
|
|
17
|
+
export declare const getIslandStoreServerSnapshot: <TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected) => TSelected;
|
|
18
|
+
export declare const initializeIslandStores: (state: IslandStateSnapshot) => void;
|
|
19
|
+
export declare const readIslandStore: <TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected) => TSelected;
|
|
20
|
+
export declare const resetIslandStoreForTesting: () => void;
|
|
21
|
+
export declare const subscribeIslandStore: <TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected, listener: (value: TSelected) => void) => () => void;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RuntimeIslandRenderProps } from '../../types/island';
|
|
2
|
+
export declare const initializeIslandMarkupSnapshot: () => void;
|
|
3
|
+
export declare const preserveIslandMarkup: (props: RuntimeIslandRenderProps) => {
|
|
4
|
+
attributes: Record<string, string>;
|
|
5
|
+
innerHTML: string;
|
|
6
|
+
} | {
|
|
7
|
+
attributes: {
|
|
8
|
+
'data-component': string;
|
|
9
|
+
'data-framework': string;
|
|
10
|
+
'data-hydrate': string;
|
|
11
|
+
'data-island': "true";
|
|
12
|
+
'data-island-id'?: string;
|
|
13
|
+
'data-props': string;
|
|
14
|
+
};
|
|
15
|
+
innerHTML: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getStreamSwapRuntimeScript: () => string;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export declare const ANGULAR_INIT_TIMEOUT_MS = 500;
|
|
2
|
+
export declare const ANSI_ESCAPE_CODE = 27;
|
|
3
|
+
export declare const ANSI_ESCAPE_LENGTH = 3;
|
|
4
|
+
export declare const ASCII_SPACE = 32;
|
|
5
|
+
export declare const BASE_36_RADIX = 36;
|
|
6
|
+
export declare const BUN_BUILD_WARNING_SUPPRESSION = "wildcard sideEffects are not supported yet";
|
|
7
|
+
export declare const BODY_SLICE_LENGTH = 2000;
|
|
8
|
+
export declare const BYTES_PER_KILOBYTE = 1024;
|
|
9
|
+
export declare const CLI_ARGS_OFFSET = 3;
|
|
10
|
+
export declare const CSS_ERROR_RESOLVE_DELAY_MS = 50;
|
|
11
|
+
export declare const CSS_MAX_CHECK_ATTEMPTS = 10;
|
|
12
|
+
export declare const CSS_MAX_PARSE_TIMEOUT_MS = 500;
|
|
13
|
+
export declare const CSS_SHEET_READY_TIMEOUT_MS = 100;
|
|
14
|
+
export declare const DEFAULT_CHUNK_SIZE = 16384;
|
|
15
|
+
export declare const DEFAULT_DEBOUNCE_MS = 15;
|
|
16
|
+
export declare const DEFAULT_PORT = 3000;
|
|
17
|
+
export declare const DEV_SERVER_RESTART_DEBOUNCE_MS = 100;
|
|
18
|
+
export declare const DOM_UPDATE_DELAY_MS = 50;
|
|
19
|
+
export declare const FILE_PROTOCOL_PREFIX_LENGTH = 7;
|
|
20
|
+
export declare const FOCUS_ID_PREFIX_LENGTH = 3;
|
|
21
|
+
export declare const FOCUS_IDX_PREFIX_LENGTH = 4;
|
|
22
|
+
export declare const FOCUS_NAME_PREFIX_LENGTH = 5;
|
|
23
|
+
export declare const ESLINT_STUDIO_DEFAULT_HOST = "eslint.absolute.localhost";
|
|
24
|
+
export declare const ESLINT_STUDIO_DEFAULT_PORT = 4099;
|
|
25
|
+
export declare const CONFIG_DEFAULT_HOST = "config.absolute.localhost";
|
|
26
|
+
export declare const CONFIG_DEFAULT_PORT = 4099;
|
|
27
|
+
export declare const HMR_UPDATE_TIMEOUT_MS = 2000;
|
|
28
|
+
export declare const HOOK_SIGNATURE_LENGTH = 12;
|
|
29
|
+
export declare const EXCLUDE_LAST_OFFSET = -1;
|
|
30
|
+
export declare const HTTP_STATUS_OK = 200;
|
|
31
|
+
export declare const HTTP_STATUS_BAD_REQUEST = 400;
|
|
32
|
+
export declare const HTTP_STATUS_NOT_FOUND = 404;
|
|
33
|
+
export declare const HOURS_IN_DAY = 24;
|
|
34
|
+
export declare const HOURS_IN_HALF_DAY = 12;
|
|
35
|
+
export declare const IMAGE_DEFAULT_DEVICE_SIZES: number[];
|
|
36
|
+
export declare const IMAGE_DEFAULT_IMAGE_SIZES: number[];
|
|
37
|
+
export declare const IMAGE_DEFAULT_QUALITY = 75;
|
|
38
|
+
export declare const IMAGE_GLOB_SUFFIX_LENGTH = 2;
|
|
39
|
+
export declare const INSTANCE_PROBE_TIMEOUT_MS = 250;
|
|
40
|
+
export declare const MAX_ERROR_LENGTH = 200;
|
|
41
|
+
export declare const MAX_RECONNECT_ATTEMPTS = 60;
|
|
42
|
+
export declare const MILLISECONDS_IN_A_SECOND = 1000;
|
|
43
|
+
export declare const MINUTES_IN_AN_HOUR = 60;
|
|
44
|
+
export declare const SECONDS_IN_A_MINUTE = 60;
|
|
45
|
+
export declare const MILLISECONDS_IN_A_MINUTE: number;
|
|
46
|
+
export declare const MILLISECONDS_IN_A_DAY: number;
|
|
47
|
+
export declare const OVERLAY_FADE_DURATION_MS = 150;
|
|
48
|
+
export declare const PING_INTERVAL_MS = 30000;
|
|
49
|
+
export declare const LIST_LOG_TAIL_MAX_BYTES = 65536;
|
|
50
|
+
export declare const LIST_TUI_COLUMN_GAP = 2;
|
|
51
|
+
export declare const LIST_TUI_DEFAULT_HEIGHT = 28;
|
|
52
|
+
export declare const LIST_TUI_DEFAULT_WIDTH = 100;
|
|
53
|
+
export declare const LIST_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;
|
|
54
|
+
export declare const LIST_TUI_FOOTER_LINE_COUNT = 2;
|
|
55
|
+
export declare const LIST_TUI_MARKER_WIDTH = 2;
|
|
56
|
+
export declare const LIST_TUI_MIN_LOG_HEIGHT = 3;
|
|
57
|
+
export declare const LIST_TUI_MIN_URL_WIDTH = 16;
|
|
58
|
+
export declare const LIST_TUI_RENDER_DEBOUNCE_MS = 16;
|
|
59
|
+
export declare const LIST_TUI_STATUS_MESSAGE_TIMEOUT_MS = 4000;
|
|
60
|
+
export declare const LIST_WATCH_REFRESH_MS = 1000;
|
|
61
|
+
export declare const RAF_BATCH_COUNT = 3;
|
|
62
|
+
export declare const RANDOM_ID_END_INDEX = 11;
|
|
63
|
+
export declare const REBUILD_BATCH_DELAY_MS = 10;
|
|
64
|
+
export declare const REBUILD_RELOAD_DELAY_MS = 200;
|
|
65
|
+
export declare const RECONNECT_INITIAL_DELAY_MS = 500;
|
|
66
|
+
export declare const RECONNECT_POLL_INTERVAL_MS = 300;
|
|
67
|
+
export declare const REACT_STREAM_SLOT_FAST_DELAY_MS = 5;
|
|
68
|
+
export declare const REACT_STREAM_SLOT_SLOW_DELAY_MS = 20;
|
|
69
|
+
export declare const SIGINT_EXIT_CODE = 130;
|
|
70
|
+
export declare const SIGTERM_EXIT_CODE = 143;
|
|
71
|
+
export declare const SVELTE_CSS_LOAD_TIMEOUT_MS = 500;
|
|
72
|
+
export declare const TIME_PRECISION = 2;
|
|
73
|
+
export declare const TWO_THIRDS: number;
|
|
74
|
+
export declare const UNFOUND_INDEX = -1;
|
|
75
|
+
export declare const WEBSOCKET_NORMAL_CLOSURE = 1000;
|
|
76
|
+
export declare const WORKSPACE_COMMAND_ARGS_OFFSET = 3;
|
|
77
|
+
export declare const WORKSPACE_FAILURE_LOG_PRINT_LIMIT = 30;
|
|
78
|
+
export declare const WORKSPACE_FAILURE_RECENT_LOG_LIMIT = 60;
|
|
79
|
+
export declare const WORKSPACE_READY_ATTEMPT_TIMEOUT_MS = 5000;
|
|
80
|
+
export declare const WORKSPACE_READY_PROBE_INTERVAL_MS = 250;
|
|
81
|
+
export declare const WORKSPACE_READY_TIMEOUT_MS = 30000;
|
|
82
|
+
export declare const WORKSPACE_SHUTDOWN_TIMEOUT_MS = 10000;
|
|
83
|
+
export declare const WORKSPACE_TUI_DEFAULT_HEIGHT = 28;
|
|
84
|
+
export declare const WORKSPACE_TUI_DEFAULT_WIDTH = 100;
|
|
85
|
+
export declare const WORKSPACE_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;
|
|
86
|
+
export declare const WORKSPACE_TUI_FOOTER_LINE_COUNT = 3;
|
|
87
|
+
export declare const WORKSPACE_TUI_MIN_LOG_HEIGHT = 3;
|
|
88
|
+
export declare const WORKSPACE_TUI_MIN_SERVICE_NAME_WIDTH = 7;
|
|
89
|
+
export declare const WORKSPACE_TUI_MIN_TARGET_WIDTH = 8;
|
|
90
|
+
export declare const WORKSPACE_TUI_MIN_WRAP_WIDTH = 12;
|
|
91
|
+
export declare const WORKSPACE_TUI_PROMPT_CURSOR_OFFSET = 3;
|
|
92
|
+
export declare const WORKSPACE_TUI_RECENT_LOG_LIMIT = 40;
|
|
93
|
+
export declare const WORKSPACE_TUI_RENDER_DEBOUNCE_MS = 16;
|
|
94
|
+
export declare const WORKSPACE_TUI_STATUS_WIDTH = 10;
|
|
95
|
+
export declare const WORKSPACE_TUI_TARGET_PADDING_WIDTH = 6;
|
|
96
|
+
export declare const WORKSPACE_TUI_VISIBILITY_WIDTH = 8;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const compileAngularServerModule: (sourcePath: string) => Promise<string>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { build as bunBuild } from 'bun';
|
|
2
|
+
import type { ConventionsMap } from '../../types/conventions';
|
|
3
|
+
import type { BuildConfig, BunBuildConfigOverride, BunBuildPassKey } from '../../types/build';
|
|
4
|
+
type BunBuildOptions = Parameters<typeof bunBuild>[0];
|
|
5
|
+
export declare const resolveBunBuildOverride: (config: BuildConfig["bunBuild"], pass: BunBuildPassKey) => Partial<Omit<Bun.BuildConfig, "root" | "entrypoints" | "outdir" | "target" | "format" | "throw" | "compile">>;
|
|
6
|
+
export declare const mergeBunBuildConfig: (base: BunBuildOptions, override: BunBuildConfigOverride) => BunBuildOptions;
|
|
7
|
+
export declare const build: (config: BuildConfig) => Promise<{
|
|
8
|
+
conventions?: undefined;
|
|
9
|
+
manifest?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
conventions: ConventionsMap;
|
|
12
|
+
manifest: Record<string, string>;
|
|
13
|
+
}>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { BuildConfig } from '../../types/build';
|
|
2
|
+
declare const FRAMEWORK_DIR_KEYS: readonly ["reactDirectory", "svelteDirectory", "vueDirectory", "htmlDirectory", "htmxDirectory", "angularDirectory"];
|
|
3
|
+
/** Result of `detectConfigChanges`: which framework dir keys were
|
|
4
|
+
* added and which were removed in the new config. The additive case
|
|
5
|
+
* is handled in-place by this function (vendor paths set, watchers
|
|
6
|
+
* started); removals are reported but NOT torn down here — Elysia
|
|
7
|
+
* has no clean route-removal API, so callers should fall back to a
|
|
8
|
+
* child restart when `removed.length > 0`. */
|
|
9
|
+
export type ConfigChangeDiff = {
|
|
10
|
+
added: Array<(typeof FRAMEWORK_DIR_KEYS)[number]>;
|
|
11
|
+
removed: Array<(typeof FRAMEWORK_DIR_KEYS)[number]>;
|
|
12
|
+
};
|
|
13
|
+
/** Public entry point for the in-place absolute.config.ts handler in
|
|
14
|
+
* `serverEntryWatcher`. Returns null if there's no live dev runtime
|
|
15
|
+
* (e.g. compiled production), or the diff that `detectConfigChanges`
|
|
16
|
+
* applied. */
|
|
17
|
+
export declare const applyConfigChanges: () => Promise<ConfigChangeDiff | null>;
|
|
18
|
+
export declare const devBuild: (config: BuildConfig) => Promise<{
|
|
19
|
+
hmrState: import("../dev/clientManager").HMRState;
|
|
20
|
+
manifest: Record<string, string>;
|
|
21
|
+
conventions?: import("..").ConventionsMap;
|
|
22
|
+
}>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getOriginalPageHandlerSource: (handler: unknown) => string | undefined;
|
|
2
|
+
export declare const isPageHandler: (handler: unknown) => boolean;
|
|
3
|
+
export declare const getCurrentRouteRegistrationCallsite: () => string | undefined;
|
|
4
|
+
export declare const patchElysiaRouteRegistrationCallsites: () => void;
|