tungsten 0.7.2 → 0.8.0
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/AGENTS.md +154 -15
- package/dist/.build-complete +1 -1
- package/dist/Components.d.ts +6 -4
- package/dist/Components.js +2 -0
- package/dist/Framework.js +7 -7
- package/dist/FrameworkConfig.d.ts +8 -2
- package/dist/Instance/Instance.d.ts +6 -1
- package/dist/Instance/Instance.js +62 -22
- package/dist/Servers/DevServer.d.ts +8 -5
- package/dist/Servers/DevServer.js +196 -113
- package/dist/Servers/ProdServer.d.ts +3 -1
- package/dist/Servers/ProdServer.js +136 -34
- package/dist/Servers/TungstenServer.d.ts +34 -1
- package/dist/Servers/TungstenServer.js +94 -42
- package/dist/Servers/loadEnvsDev.js +4 -4
- package/dist/Servers/watchedServerMiddleware.d.ts +10 -0
- package/dist/Servers/watchedServerMiddleware.js +45 -0
- package/dist/TungstenApp.js +2 -1
- package/dist/_client/cjsHelpers.d.ts +1 -1
- package/dist/_client/hmr.js +1 -1
- package/dist/_client/liveReloadSource.js +1 -1
- package/dist/_testing/errorRoute.d.ts +8 -0
- package/dist/_testing/errorRoute.js +9 -0
- package/dist/appBuilder.d.ts +2 -1
- package/dist/babelPlugins/BabelTransformComponentStyles.js +5 -3
- package/dist/babelPlugins/BabelTransformPackageImports.js +3 -1
- package/dist/babelPlugins/StyleCompileError.d.ts +4 -0
- package/dist/babelPlugins/StyleCompileError.js +11 -0
- package/dist/bin/commands/devmon.js +2 -2
- package/dist/bin/vendorHook.js +2 -1
- package/dist/build/assetVersions.js +2 -1
- package/dist/build/babel.user.common.config.d.ts +3 -5
- package/dist/build/compileJavascript.js +12 -27
- package/dist/build/componentStylesCache.js +2 -2
- package/dist/build/frameworkDestLocation.js +2 -1
- package/dist/build/ignoreGlobs.d.ts +2 -0
- package/dist/build/ignoreGlobs.js +8 -0
- package/dist/build/makeBabelRawConfig.d.ts +2 -2
- package/dist/build/makeBabelUserDevConfig.d.ts +2 -2
- package/dist/build/makeBabelUserProdConfig.d.ts +2 -2
- package/dist/build/rollup.user.prod.config.js +2 -2
- package/dist/build/tallyBabel.d.ts +2 -2
- package/dist/build/tallyBabel.js +1 -1
- package/dist/clone.js +1 -0
- package/dist/componentHelpers.d.ts +1 -1
- package/dist/componentHelpers.js +3 -4
- package/dist/componentProxyHandlers.js +2 -1
- package/dist/components/NativeHtml.d.ts +1 -1
- package/dist/components/bindable/BindableInputTyped.d.ts +3 -1
- package/dist/components/bindable/BindableInputTypedLegacy.d.ts +3 -1
- package/dist/components/bindable/bindableHtmlElements.d.ts +3 -3
- package/dist/components/library/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/dist/components/library/RichTextEditor/StoredContentNode.d.ts +6 -1
- package/dist/components/library/RichTextEditor/contentTree.js +33 -13
- package/dist/env/setPrivateEnvValidator.js +2 -2
- package/dist/env/setPublicEnvValidator.d.ts +2 -2
- package/dist/env/setPublicEnvValidator.js +2 -2
- package/dist/fileVersions.js +5 -1
- package/dist/findProjectDir.js +2 -1
- package/dist/findUserConfig.d.ts +1 -1
- package/dist/frameworkConfigSchema.d.ts +8 -4
- package/dist/frameworkConfigSchema.js +2 -0
- package/dist/getRoutes.js +0 -4
- package/dist/hydrate/hydrate.js +3 -2
- package/dist/hydrate/hydrateGlobalData.d.ts +3 -0
- package/dist/hydrate/stubRouting.d.ts +2 -1
- package/dist/hydrate/stubRouting.js +7 -5
- package/dist/indexInner.d.ts +1 -0
- package/dist/indexInner.js +1 -0
- package/dist/json.d.ts +4 -0
- package/dist/json.js +3 -0
- package/dist/makeFinalConfig.js +3 -1
- package/dist/mutatingFunctions.d.ts +3 -3
- package/dist/pipeline/hydratePipeline.js +46 -5
- package/dist/pipeline/pipeline.d.ts +21 -6
- package/dist/pipeline/pipeline.js +14 -3
- package/dist/pipeline/pipelineDefinition.d.ts +11 -3
- package/dist/pipeline/pipelineDefinition.js +2 -0
- package/dist/pipeline/runPipeline.d.ts +15 -5
- package/dist/pipeline/runPipeline.js +71 -29
- package/dist/pipeline/runSplitPipeline.d.ts +2 -2
- package/dist/pipeline/runSplitPipeline.js +11 -5
- package/dist/pipeline/settleRouting.d.ts +10 -0
- package/dist/pipeline/settleRouting.js +54 -0
- package/dist/pipeline/splitPipeline.d.ts +9 -6
- package/dist/pipeline/splitPipeline.js +6 -4
- package/dist/postcssPlugins/TransformCssNames.d.ts +6 -6
- package/dist/render/contentTreeToRenderingTree.js +1 -3
- package/dist/render/instantiateClassComponent.d.ts +1 -1
- package/dist/render/processHead.js +31 -0
- package/dist/render/processProps.d.ts +6 -1
- package/dist/render/processProps.js +6 -4
- package/dist/render/rootToHtml.d.ts +1 -1
- package/dist/render/rootToHtml.js +2 -2
- package/dist/render/rootToHtmlDev.d.ts +1 -1
- package/dist/render/rootToHtmlDev.js +2 -2
- package/dist/routing/DataRedirect.d.ts +4 -0
- package/dist/routing/DataRedirect.js +1 -0
- package/dist/routing/Group.d.ts +1 -1
- package/dist/routing/MatchedRoute.d.ts +1 -1
- package/dist/routing/MatchedRoute.js +9 -3
- package/dist/routing/builder.d.ts +28 -9
- package/dist/routing/builder.js +9 -2
- package/dist/routing/redirectOf.d.ts +3 -2
- package/dist/routing/redirectOf.js +16 -9
- package/dist/routing/registerGlobalData.d.ts +4 -3
- package/dist/routing/registerRouting.d.ts +2 -1
- package/dist/routing/resolveAppRoutes.js +10 -1
- package/dist/routing/routesArray.d.ts +3 -2
- package/dist/routing/routingBuilder.d.ts +2 -1
- package/dist/staticGen/staticGen.js +3 -11
- package/dist/style/styleContentSxy.js +8 -8
- package/dist/syncServer/preload.js +1 -1
- package/dist/testing/createTestApp.d.ts +1 -1
- package/dist/testing/ensure.d.ts +1 -1
- package/dist/testing/host.d.ts +4 -4
- package/dist/testing/hydrateTestApp.d.ts +1 -1
- package/dist/testing/loadEnv.js +1 -1
- package/dist/testing/pipeline/createTestPipelineApp.js +10 -10
- package/dist/testing/pipeline/hostPipeline.d.ts +4 -4
- package/dist/testing/pipeline/hydrateTestPipelineApp.js +3 -3
- package/dist/testing/pipeline/index.d.ts +2 -0
- package/dist/testing/pipeline/index.js +3 -1
- package/dist/testing/pipeline/routesOf.d.ts +14 -0
- package/dist/testing/pipeline/routesOf.js +19 -0
- package/dist/testing/pipeline/testingComponentPackageFromPacket.d.ts +11 -0
- package/dist/testing/pipeline/testingComponentPackageFromPacket.js +26 -0
- package/dist/testing/testingComponentPackage.d.ts +1 -0
- package/dist/testing/testingComponentPackage.js +2 -1
- package/dist-ti/AnyComponent.d.ts +7 -0
- package/dist-ti/AnyComponentType.d.ts +7 -0
- package/dist-ti/AppResponse.d.ts +9 -0
- package/dist-ti/AppTypeExtraction.d.ts +3 -0
- package/dist-ti/AssignedStyle.d.ts +6 -0
- package/dist-ti/Brands.d.ts +17 -0
- package/dist-ti/CjsTypes.d.ts +9 -0
- package/dist-ti/ComponentInstance.d.ts +3 -0
- package/dist-ti/ComponentRenderInfo.type.d.ts +7 -0
- package/dist-ti/ComponentStyle.d.ts +7 -0
- package/dist-ti/Components.d.ts +344 -0
- package/dist-ti/ContentFunction.d.ts +10 -0
- package/dist-ti/ContentNode.d.ts +95 -0
- package/dist-ti/ContentNodeNew.d.ts +3 -0
- package/dist-ti/CssNames.d.ts +10 -0
- package/dist-ti/DomNodes.d.ts +4 -0
- package/dist-ti/DomPointer.d.ts +24 -0
- package/dist-ti/DomRegion.d.ts +23 -0
- package/dist-ti/ExtendableHTMLElement.d.ts +6 -0
- package/dist-ti/Framework.d.ts +33 -0
- package/dist-ti/FrameworkConfig.d.ts +121 -0
- package/dist-ti/FunctionComponent.d.ts +14 -0
- package/dist-ti/FunctionComponentStandIn.d.ts +62 -0
- package/dist-ti/GenericObject.type.d.ts +3 -0
- package/dist-ti/HtmlElementAttributes.d.ts +3 -0
- package/dist-ti/Instance/ClientRuntimeContext.d.ts +9 -0
- package/dist-ti/Instance/Instance.d.ts +89 -0
- package/dist-ti/Instance/InstanceConfig.d.ts +14 -0
- package/dist-ti/IsDefined.d.ts +3 -0
- package/dist-ti/IsIndexableObject.d.ts +3 -0
- package/dist-ti/IsNumber.d.ts +3 -0
- package/dist-ti/IsObject.d.ts +4 -0
- package/dist-ti/Json.type.d.ts +8 -0
- package/dist-ti/JsxContent.d.ts +5 -0
- package/dist-ti/Key.d.ts +3 -0
- package/dist-ti/KeyAttr.d.ts +4 -0
- package/dist-ti/MapObject.d.ts +5 -0
- package/dist-ti/Mode.d.ts +3 -0
- package/dist-ti/Module.d.ts +6 -0
- package/dist-ti/NoDeproxy.d.ts +6 -0
- package/dist-ti/PopMessage.type.d.ts +7 -0
- package/dist-ti/ProcessedStylesObject.d.ts +7 -0
- package/dist-ti/RenderFunction.d.ts +4 -0
- package/dist-ti/RenderedContentNode.d.ts +83 -0
- package/dist-ti/RenderingNode.d.ts +58 -0
- package/dist-ti/ReqRes.d.ts +170 -0
- package/dist-ti/Sass.d.ts +7 -0
- package/dist-ti/Script.d.ts +9 -0
- package/dist-ti/ServerRpcFunction.type.d.ts +3 -0
- package/dist-ti/Servers/DevServer.d.ts +57 -0
- package/dist-ti/Servers/ProdServer.d.ts +38 -0
- package/dist-ti/Servers/ServerMiddleware.d.ts +7 -0
- package/dist-ti/Servers/StaticSiteServer.d.ts +15 -0
- package/dist-ti/Servers/TungstenServer.d.ts +43 -0
- package/dist-ti/Servers/cacheVersioned.d.ts +4 -0
- package/dist-ti/Servers/devErrorPageAutoRetry.d.ts +5 -0
- package/dist-ti/Servers/initStores.d.ts +17 -0
- package/dist-ti/Servers/listenVerified.d.ts +13 -0
- package/dist-ti/Servers/loadEnvsDev.d.ts +8 -0
- package/dist-ti/Servers/portError.d.ts +3 -0
- package/dist-ti/Servers/resetRegistrations.d.ts +3 -0
- package/dist-ti/Servers/routing.d.ts +7 -0
- package/dist-ti/Servers/serveStatic.d.ts +6 -0
- package/dist-ti/Servers/stubInstance.d.ts +9 -0
- package/dist-ti/Servers/tungstenCorePrivateEnvSchema.d.ts +8 -0
- package/dist-ti/Servers/tungstenCorePublicEnvSchema.d.ts +9 -0
- package/dist-ti/Servers/watchedServerMiddleware.d.ts +11 -0
- package/dist-ti/Store/BaseStoreSchema.d.ts +4 -0
- package/dist-ti/Store/InternalStoreSchema.d.ts +22 -0
- package/dist-ti/Store/ServerDataLoading.d.ts +5 -0
- package/dist-ti/Store/Store.d.ts +3 -0
- package/dist-ti/Store/StoreProxyInterface.d.ts +3 -0
- package/dist-ti/Store/StoreSchemaClass.d.ts +10 -0
- package/dist-ti/Store/StoreSubscriptions.types.d.ts +7 -0
- package/dist-ti/Store/TypeSafeStore.d.ts +3 -0
- package/dist-ti/Store/createStores.d.ts +9 -0
- package/dist-ti/Store/exportStore.d.ts +4 -0
- package/dist-ti/Store/getInternalStore.d.ts +5 -0
- package/dist-ti/Store/getStore.d.ts +3 -0
- package/dist-ti/Store/makeStore.d.ts +53 -0
- package/dist-ti/Store/registerStore.d.ts +13 -0
- package/dist-ti/Store/storeCreators.d.ts +4 -0
- package/dist-ti/StoreBindVariable.d.ts +4 -0
- package/dist-ti/StyleProcessor.d.ts +4 -0
- package/dist-ti/TElement.d.ts +3 -0
- package/dist-ti/TungstenApp.d.ts +27 -0
- package/dist-ti/TungstenAppOld.d.ts +3 -0
- package/dist-ti/TungstenElement.d.ts +4 -0
- package/dist-ti/TungstenError.d.ts +10 -0
- package/dist-ti/TungstenStyleObject.d.ts +3 -0
- package/dist-ti/__deproxy.d.ts +4 -0
- package/dist-ti/_client/RootComponent.d.ts +5 -0
- package/dist-ti/_client/cjsHelpers.d.ts +12 -0
- package/dist-ti/_client/client.d.ts +15 -0
- package/dist-ti/_client/hmr.d.ts +3 -0
- package/dist-ti/_client/liveReload.d.ts +3 -0
- package/dist-ti/_client/liveReloadSource.d.ts +4 -0
- package/dist-ti/_client/rootComponentRelFilePath.d.ts +3 -0
- package/dist-ti/_client/routes.d.ts +4 -0
- package/dist-ti/_testing/errorRoute.d.ts +9 -0
- package/dist-ti/_testing/regexEquals.d.ts +3 -0
- package/dist-ti/_testing/should.d.ts +3 -0
- package/dist-ti/_testing/sxy-test-runner.types.d.ts +6 -0
- package/dist-ti/alive.d.ts +4 -0
- package/dist-ti/api/ApiEndpoint.d.ts +4 -0
- package/dist-ti/api/ApiMethod.type.d.ts +3 -0
- package/dist-ti/api/ApiRoute.d.ts +8 -0
- package/dist-ti/api/ApiRoutes.d.ts +6 -0
- package/dist-ti/api/Request.d.ts +3 -0
- package/dist-ti/api/Response.d.ts +3 -0
- package/dist-ti/api/getApiRoutes.d.ts +7 -0
- package/dist-ti/api/getExport.d.ts +4 -0
- package/dist-ti/api/getExportDev.d.ts +3 -0
- package/dist-ti/appBuilder.d.ts +75 -0
- package/dist-ti/appOutput.d.ts +7 -0
- package/dist-ti/assert.d.ts +3 -0
- package/dist-ti/auth/checkPassword.d.ts +4 -0
- package/dist-ti/auth/hashPassword.d.ts +4 -0
- package/dist-ti/auth/index.d.ts +4 -0
- package/dist-ti/babelPlugins/BabelAddDevCacheBust.d.ts +19 -0
- package/dist-ti/babelPlugins/BabelExtractComponentStylesheet.d.ts +14 -0
- package/dist-ti/babelPlugins/BabelFakeType.d.ts +8 -0
- package/dist-ti/babelPlugins/BabelState.type.d.ts +4 -0
- package/dist-ti/babelPlugins/BabelTransformBindDirect.d.ts +16 -0
- package/dist-ti/babelPlugins/BabelTransformBindVar.d.ts +16 -0
- package/dist-ti/babelPlugins/BabelTransformCjsToEsm.d.ts +17 -0
- package/dist-ti/babelPlugins/BabelTransformCjsToFunction.d.ts +21 -0
- package/dist-ti/babelPlugins/BabelTransformCjsToFunction2.d.ts +22 -0
- package/dist-ti/babelPlugins/BabelTransformComponentState.d.ts +27 -0
- package/dist-ti/babelPlugins/BabelTransformComponentStyles.d.ts +38 -0
- package/dist-ti/babelPlugins/BabelTransformCssImports.d.ts +18 -0
- package/dist-ti/babelPlugins/BabelTransformDependencyImportsOld.d.ts +21 -0
- package/dist-ti/babelPlugins/BabelTransformDeproxyState.d.ts +23 -0
- package/dist-ti/babelPlugins/BabelTransformDocInit.d.ts +10 -0
- package/dist-ti/babelPlugins/BabelTransformJsxExtensionsToJs.d.ts +12 -0
- package/dist-ti/babelPlugins/BabelTransformJsxSignals.d.ts +3 -0
- package/dist-ti/babelPlugins/BabelTransformPackageImports.d.ts +89 -0
- package/dist-ti/babelPlugins/BabelTransformReactive.d.ts +16 -0
- package/dist-ti/babelPlugins/BabelTransformReactiveSvelteStyle.d.ts +11 -0
- package/dist-ti/babelPlugins/BabelTransformRemoveBlocks.d.ts +14 -0
- package/dist-ti/babelPlugins/BabelTransformRemoveDevBlocks.d.ts +11 -0
- package/dist-ti/babelPlugins/BabelTransformRemoveServerBlocks.d.ts +11 -0
- package/dist-ti/babelPlugins/BabelTransformRemoveServerCode.d.ts +3 -0
- package/dist-ti/babelPlugins/BabelTransformSxyFrameworkImports.d.ts +11 -0
- package/dist-ti/babelPlugins/BabelTransformSxyJsx.d.ts +3 -0
- package/dist-ti/babelPlugins/BabelTransformUniqueComponents.d.ts +11 -0
- package/dist-ti/babelPlugins/BabelTypes.d.ts +7 -0
- package/dist-ti/babelPlugins/StyleCompileError.d.ts +5 -0
- package/dist-ti/babelPlugins/fixImportsInSassErrorMessage.d.ts +9 -0
- package/dist-ti/babelPlugins/isBareImport.d.ts +3 -0
- package/dist-ti/babelPlugins/test.d.ts +3 -0
- package/dist-ti/babelPlugins/transformPackageImports/BabelTransformDependencyImportsCjs.d.ts +35 -0
- package/dist-ti/babelPlugins/transformPackageImports/BabelTransformDependencyImportsEsm.d.ts +35 -0
- package/dist-ti/babelPlugins/transformPackageImports/getWebLocationOfPackageFile.d.ts +3 -0
- package/dist-ti/babelPlugins/transformPackageImports/resolveBareImport.d.ts +3 -0
- package/dist-ti/bin/args.d.ts +12 -0
- package/dist-ti/bin/commands/build.d.ts +3 -0
- package/dist-ti/bin/commands/buildHelp.d.ts +3 -0
- package/dist-ti/bin/commands/clean.d.ts +3 -0
- package/dist-ti/bin/commands/compile.d.ts +3 -0
- package/dist-ti/bin/commands/compileSimplePackage.d.ts +3 -0
- package/dist-ti/bin/commands/dev.d.ts +3 -0
- package/dist-ti/bin/commands/devmon.d.ts +3 -0
- package/dist-ti/bin/commands/help.d.ts +3 -0
- package/dist-ti/bin/commands/speed.d.ts +3 -0
- package/dist-ti/bin/commands/start.d.ts +3 -0
- package/dist-ti/bin/commands/static.d.ts +3 -0
- package/dist-ti/bin/index.d.ts +3 -0
- package/dist-ti/bin/moduleLoadAnalysis.d.ts +3 -0
- package/dist-ti/bin/vendorHook.d.ts +4 -0
- package/dist-ti/booleanAttributeValue.d.ts +22 -0
- package/dist-ti/browserStorage.d.ts +65 -0
- package/dist-ti/build/BabelConfig.d.ts +6 -0
- package/dist-ti/build/CompilationInfo.d.ts +18 -0
- package/dist-ti/build/CompilationInfoFailure.d.ts +3 -0
- package/dist-ti/build/CompilationInfoSuccess.d.ts +3 -0
- package/dist-ti/build/Event.type.d.ts +3 -0
- package/dist-ti/build/ImportAliases.d.ts +5 -0
- package/dist-ti/build/PackageList.d.ts +3 -0
- package/dist-ti/build/PackagesCacheInfo.d.ts +3 -0
- package/dist-ti/build/ProcessPackageResult.d.ts +16 -0
- package/dist-ti/build/ProcessPackageResults.d.ts +4 -0
- package/dist-ti/build/PromiseSettledResultIsPromiseRejectedResult.d.ts +6 -0
- package/dist-ti/build/assetVersions.d.ts +10 -0
- package/dist-ti/build/babel.user.common.config.d.ts +11 -0
- package/dist-ti/build/bundle.d.ts +3 -0
- package/dist-ti/build/bundleBabelOptions.d.ts +6 -0
- package/dist-ti/build/clientModuleAliases.d.ts +3 -0
- package/dist-ti/build/clientRoutesFile.d.ts +3 -0
- package/dist-ti/build/combineComponentCss.d.ts +3 -0
- package/dist-ti/build/compileJavascript.d.ts +30 -0
- package/dist-ti/build/compileStyles.d.ts +5 -0
- package/dist-ti/build/compileUserApp.d.ts +7 -0
- package/dist-ti/build/componentStylesCache.d.ts +11 -0
- package/dist-ti/build/copyAssets.d.ts +4 -0
- package/dist-ti/build/copyPackageModulesToPackagesFolder.d.ts +5 -0
- package/dist-ti/build/copyPublicFiles.d.ts +4 -0
- package/dist-ti/build/createClientFiles.d.ts +5 -0
- package/dist-ti/build/createInstanceConfigFile.d.ts +5 -0
- package/dist-ti/build/createPackageVirtualFileSystem.d.ts +4 -0
- package/dist-ti/build/createPackageVirtualFileSystems.d.ts +4 -0
- package/dist-ti/build/customImportAliases.d.ts +5 -0
- package/dist-ti/build/customPackageEntryPoints.d.ts +7 -0
- package/dist-ti/build/devBundle.d.ts +3 -0
- package/dist-ti/build/devBundle.rollup.config.d.ts +7 -0
- package/dist-ti/build/findRequiredUserModules.d.ts +3 -0
- package/dist-ti/build/frameworkDestLocation.d.ts +4 -0
- package/dist-ti/build/frameworkStylesheets.d.ts +6 -0
- package/dist-ti/build/getAllSxyClientModules.d.ts +5 -0
- package/dist-ti/build/getPackageDirForFile.d.ts +3 -0
- package/dist-ti/build/getSxyClientPackageAliases.d.ts +4 -0
- package/dist-ti/build/getTempDirForAppCompilation.d.ts +4 -0
- package/dist-ti/build/ignoreGlobs.d.ts +3 -0
- package/dist-ti/build/internalAliases.d.ts +5 -0
- package/dist-ti/build/makeBabelRawConfig.d.ts +4 -0
- package/dist-ti/build/makeBabelUserDevConfig.d.ts +6 -0
- package/dist-ti/build/makeBabelUserProdConfig.d.ts +4 -0
- package/dist-ti/build/makeEnvJavascriptContent.d.ts +3 -0
- package/dist-ti/build/modifySassImports.d.ts +7 -0
- package/dist-ti/build/packageIdentifier.d.ts +7 -0
- package/dist-ti/build/processDataToLines.d.ts +3 -0
- package/dist-ti/build/resolveSassScssImports.d.ts +4 -0
- package/dist-ti/build/rollup.user.prod.config.d.ts +7 -0
- package/dist-ti/build/rollupExtractComponentStylesheets.d.ts +13 -0
- package/dist-ti/build/rollupProdConstants.d.ts +6 -0
- package/dist-ti/build/sassImportParser.d.ts +7 -0
- package/dist-ti/build/scssImportParserChatgpt.d.ts +7 -0
- package/dist-ti/build/tallyBabel.d.ts +4 -0
- package/dist-ti/cacheControl.d.ts +14 -0
- package/dist-ti/calculateImportedStaticFileLocations.d.ts +11 -0
- package/dist-ti/calledFrom.d.ts +8 -0
- package/dist-ti/checkedAttributeToBoolean.d.ts +3 -0
- package/dist-ti/checkedValueToBoolean.d.ts +3 -0
- package/dist-ti/cliOutput.d.ts +17 -0
- package/dist-ti/clone.d.ts +7 -0
- package/dist-ti/compat/context.d.ts +26 -0
- package/dist-ti/compat/forwardRef.d.ts +10 -0
- package/dist-ti/compat/index.d.ts +3 -0
- package/dist-ti/compat/propTypes.d.ts +18 -0
- package/dist-ti/compat/toTungstenClassComponent.d.ts +3 -0
- package/dist-ti/compat/toTungstenFunctionComponent.d.ts +3 -0
- package/dist-ti/compat/types.d.ts +17 -0
- package/dist-ti/componentClassName.d.ts +3 -0
- package/dist-ti/componentHelpers.d.ts +20 -0
- package/dist-ti/componentProxyHandlers.d.ts +39 -0
- package/dist-ti/componentType.d.ts +3 -0
- package/dist-ti/components/Await.d.ts +18 -0
- package/dist-ti/components/Fragment.d.ts +9 -0
- package/dist-ti/components/GoToComponent.d.ts +11 -0
- package/dist-ti/components/Lazy.d.ts +18 -0
- package/dist-ti/components/Link.d.ts +15 -0
- package/dist-ti/components/NativeHtml.d.ts +11 -0
- package/dist-ti/components/NoEscape.d.ts +9 -0
- package/dist-ti/components/PopMessages.d.ts +13 -0
- package/dist-ti/components/Protected.d.ts +11 -0
- package/dist-ti/components/RawHtml.d.ts +37 -0
- package/dist-ti/components/RouteRedirectComponent.d.ts +13 -0
- package/dist-ti/components/Stylesheet.d.ts +9 -0
- package/dist-ti/components/WebRedirectComponent.d.ts +12 -0
- package/dist-ti/components/_GoToComponent.d.ts +11 -0
- package/dist-ti/components/bindable/BindMode.d.ts +3 -0
- package/dist-ti/components/bindable/BindVariable.d.ts +37 -0
- package/dist-ti/components/bindable/BindableCheckbox.d.ts +26 -0
- package/dist-ti/components/bindable/BindableInput.d.ts +22 -0
- package/dist-ti/components/bindable/BindableInputNonString.d.ts +23 -0
- package/dist-ti/components/bindable/BindableInputString.d.ts +23 -0
- package/dist-ti/components/bindable/BindableInputTyped.d.ts +30 -0
- package/dist-ti/components/bindable/BindableInputTypedLegacy.d.ts +34 -0
- package/dist-ti/components/bindable/BindableRadio.d.ts +15 -0
- package/dist-ti/components/bindable/BindableSelect.d.ts +33 -0
- package/dist-ti/components/bindable/BindableSelectNaive.d.ts +3 -0
- package/dist-ti/components/bindable/BindableTextarea.d.ts +29 -0
- package/dist-ti/components/bindable/bindableCandidates.comparison.d.ts +142 -0
- package/dist-ti/components/bindable/bindableHtmlElements.d.ts +28 -0
- package/dist-ti/components/library/RichTextEditor/RichTextEditor.d.ts +52 -0
- package/dist-ti/components/library/RichTextEditor/StoredContentNode.d.ts +11 -0
- package/dist-ti/components/library/RichTextEditor/activeFormats.d.ts +21 -0
- package/dist-ti/components/library/RichTextEditor/contentTree.d.ts +31 -0
- package/dist-ti/components/library/RichTextEditor/sanitizeAuthoredHtml.d.ts +31 -0
- package/dist-ti/components/library/__StatefulMessage/MessageData.d.ts +8 -0
- package/dist-ti/components/library/__StatefulMessage/StatefulMessage.d.ts +23 -0
- package/dist-ti/components/library/index.d.ts +6 -0
- package/dist-ti/components/makeTypedLink.d.ts +10 -0
- package/dist-ti/concat.d.ts +3 -0
- package/dist-ti/contentNodeSymbols.d.ts +14 -0
- package/dist-ti/context/registerContext.d.ts +23 -0
- package/dist-ti/copy.d.ts +3 -0
- package/dist-ti/createElement.d.ts +3 -0
- package/dist-ti/createRef.d.ts +8 -0
- package/dist-ti/createRoutes.d.ts +4 -0
- package/dist-ti/defaultConfig.d.ts +5 -0
- package/dist-ti/deleteDirs.d.ts +3 -0
- package/dist-ti/devBanner.d.ts +5 -0
- package/dist-ti/docInit.d.ts +17 -0
- package/dist-ti/domNodeChecks.d.ts +4 -0
- package/dist-ti/env/Env.d.ts +3 -0
- package/dist-ti/env/Interfaces.d.ts +10 -0
- package/dist-ti/env/addToEnv.d.ts +3 -0
- package/dist-ti/env/droppedCoreEnvKeys.d.ts +6 -0
- package/dist-ti/env/funcs.d.ts +6 -0
- package/dist-ti/env/getEnvSchemas.d.ts +11 -0
- package/dist-ti/env/index.d.ts +3 -0
- package/dist-ti/env/privateEnv.d.ts +3 -0
- package/dist-ti/env/privateEnvOrThrow.d.ts +3 -0
- package/dist-ti/env/publicEnv.d.ts +3 -0
- package/dist-ti/env/publicEnvOrThrow.d.ts +3 -0
- package/dist-ti/env/registerEnvSchemas.d.ts +16 -0
- package/dist-ti/env/setPrivateEnvValidator.d.ts +9 -0
- package/dist-ti/env/setPublicEnvValidator.d.ts +9 -0
- package/dist-ti/env/test.d.ts +3 -0
- package/dist-ti/env/types.d.ts +4 -0
- package/dist-ti/env/windowGlobalEnvStatement.d.ts +3 -0
- package/dist-ti/experiments.d.ts +3 -0
- package/dist-ti/filePathFromUrl.d.ts +3 -0
- package/dist-ti/fileVersions.d.ts +10 -0
- package/dist-ti/findPackageDotJson.d.ts +3 -0
- package/dist-ti/findProjectDir.d.ts +6 -0
- package/dist-ti/findUserConfig.d.ts +7 -0
- package/dist-ti/fixExtension.d.ts +3 -0
- package/dist-ti/foreach.d.ts +8 -0
- package/dist-ti/frameworkConfigSchema.d.ts +107 -0
- package/dist-ti/getArrowFunctionBody.d.ts +3 -0
- package/dist-ti/getComponent.d.ts +5 -0
- package/dist-ti/getComponentDev.d.ts +4 -0
- package/dist-ti/getConfig.d.ts +3 -0
- package/dist-ti/getContentFromFunctionComponent.d.ts +4 -0
- package/dist-ti/getFrameworkDir.d.ts +3 -0
- package/dist-ti/getRoutes.d.ts +7 -0
- package/dist-ti/getRoutesDevs.d.ts +5 -0
- package/dist-ti/getStackTrace.d.ts +3 -0
- package/dist-ti/getStyledContentFromFunctionComponent.d.ts +4 -0
- package/dist-ti/getUserConfig.d.ts +4 -0
- package/dist-ti/glob.d.ts +6 -0
- package/dist-ti/globals.d.ts +3 -0
- package/dist-ti/goto.d.ts +3 -0
- package/dist-ti/hasDomain.d.ts +21 -0
- package/dist-ti/hasValidKey.d.ts +4 -0
- package/dist-ti/headChildren.d.ts +3 -0
- package/dist-ti/helpers/combineClassNames.d.ts +4 -0
- package/dist-ti/helpers/forwardingFetch.d.ts +4 -0
- package/dist-ti/helpers/getFetchCompatibleHeaders.d.ts +4 -0
- package/dist-ti/helpers/index.d.ts +6 -0
- package/dist-ti/helpers/perRequest.d.ts +4 -0
- package/dist-ti/hmr/applyHmrModule.d.ts +12 -0
- package/dist-ti/hmr/componentIdentity.d.ts +10 -0
- package/dist-ti/hmr/instanceRegistry.d.ts +5 -0
- package/dist-ti/hmr/liveReloadHub.d.ts +11 -0
- package/dist-ti/hmr/refreshStylesheets.d.ts +3 -0
- package/dist-ti/hooks/clearCurrentComponent.d.ts +3 -0
- package/dist-ti/hooks/getCurrentComponent.d.ts +8 -0
- package/dist-ti/hooks/globalObj.d.ts +3 -0
- package/dist-ti/hooks/globalType.d.ts +3 -0
- package/dist-ti/hooks/index.d.ts +7 -0
- package/dist-ti/hooks/setCurrentComponent.d.ts +4 -0
- package/dist-ti/hooks/shallowCompare.d.ts +3 -0
- package/dist-ti/hooks/useCallback.d.ts +3 -0
- package/dist-ti/hooks/useContext.d.ts +3 -0
- package/dist-ti/hooks/useEffect.d.ts +3 -0
- package/dist-ti/hooks/useInstance.d.ts +4 -0
- package/dist-ti/hooks/useMemo.d.ts +3 -0
- package/dist-ti/hooks/useReducer.d.ts +3 -0
- package/dist-ti/hooks/useRef.d.ts +5 -0
- package/dist-ti/hooks/useState.d.ts +4 -0
- package/dist-ti/htmlEntities.d.ts +3 -0
- package/dist-ti/htmlEventHandlerKey.d.ts +4 -0
- package/dist-ti/htmlEvents.d.ts +7 -0
- package/dist-ti/hydrate/hydrate.d.ts +21 -0
- package/dist-ti/hydrate/hydrateGlobalData.d.ts +14 -0
- package/dist-ti/hydrate/reconcileHydratedAttributes.d.ts +26 -0
- package/dist-ti/hydrate/renderHydrationMismatchBanner.d.ts +9 -0
- package/dist-ti/hydrate/stubRouting.d.ts +10 -0
- package/dist-ti/importDevModuleWithRetry.d.ts +5 -0
- package/dist-ti/importModule.d.ts +4 -0
- package/dist-ti/index.d.ts +5 -0
- package/dist-ti/indexInner.d.ts +116 -0
- package/dist-ti/info.d.ts +3 -0
- package/dist-ti/innerHtmlFromProps.d.ts +19 -0
- package/dist-ti/isBrowser.d.ts +3 -0
- package/dist-ti/isClient.d.ts +3 -0
- package/dist-ti/isDev.d.ts +4 -0
- package/dist-ti/isProd.d.ts +3 -0
- package/dist-ti/isServer.d.ts +3 -0
- package/dist-ti/iterationQueryString.d.ts +3 -0
- package/dist-ti/json.d.ts +17 -0
- package/dist-ti/jsx-runtime.d.ts +3 -0
- package/dist-ti/jsxHelpers.d.ts +4 -0
- package/dist-ti/jsxRuntime.d.ts +11 -0
- package/dist-ti/jsxRuntimeSignals.d.ts +23 -0
- package/dist-ti/loadPackageDotJsonFromDir.d.ts +4 -0
- package/dist-ti/logAndReturn.d.ts +4 -0
- package/dist-ti/makeFinalConfig.d.ts +4 -0
- package/dist-ti/makeInstanceConfigFromFrameworkConfig.d.ts +5 -0
- package/dist-ti/makeServerRpc.d.ts +8 -0
- package/dist-ti/markOptionSelected.d.ts +18 -0
- package/dist-ti/mergeConfigs.d.ts +4 -0
- package/dist-ti/moduleReloader.d.ts +3 -0
- package/dist-ti/mutatingFunctions.d.ts +13 -0
- package/dist-ti/nbsp.d.ts +3 -0
- package/dist-ti/objectMap.d.ts +4 -0
- package/dist-ti/objectTypesToCopy.d.ts +3 -0
- package/dist-ti/objectTypesToProxy.d.ts +3 -0
- package/dist-ti/output.d.ts +7 -0
- package/dist-ti/packageSettings.d.ts +3 -0
- package/dist-ti/pipeLog.d.ts +3 -0
- package/dist-ti/pipeline/contextStore.d.ts +13 -0
- package/dist-ti/pipeline/hydratePipeline.d.ts +5 -0
- package/dist-ti/pipeline/importRoutesModule.d.ts +7 -0
- package/dist-ti/pipeline/networkedTransport.d.ts +12 -0
- package/dist-ti/pipeline/pipeline.d.ts +124 -0
- package/dist-ti/pipeline/pipelineDefinition.d.ts +87 -0
- package/dist-ti/pipeline/runPipeline.d.ts +40 -0
- package/dist-ti/pipeline/runSplitPipeline.d.ts +11 -0
- package/dist-ti/pipeline/settleRouting.d.ts +11 -0
- package/dist-ti/pipeline/splitPipeline.d.ts +66 -0
- package/dist-ti/pop.d.ts +11 -0
- package/dist-ti/possibleEnvFiles.d.ts +3 -0
- package/dist-ti/postcssPlugins/TransformCssNames.d.ts +16 -0
- package/dist-ti/postcssPlugins/parseSelectors.d.ts +3 -0
- package/dist-ti/postcssPlugins/parseSelectorsRich.d.ts +9 -0
- package/dist-ti/postcssPlugins/scopeAnimationValue.d.ts +3 -0
- package/dist-ti/postcssPlugins/splitCssValue.d.ts +3 -0
- package/dist-ti/postcssPlugins/unwrapIgnoreMarker.d.ts +3 -0
- package/dist-ti/promise.d.ts +3 -0
- package/dist-ti/propsAreEqual.d.ts +9 -0
- package/dist-ti/rawHtml/HtmlAllowList.d.ts +18 -0
- package/dist-ti/rawHtml/decodeHtmlEntities.d.ts +9 -0
- package/dist-ti/rawHtml/filterContentNode.d.ts +21 -0
- package/dist-ti/rawHtml/htmlParsingTags.d.ts +24 -0
- package/dist-ti/rawHtml/parseHtml.d.ts +50 -0
- package/dist-ti/rawHtml/safeHtmlAllowList.d.ts +19 -0
- package/dist-ti/rawHtml/sanitizeHtml.d.ts +18 -0
- package/dist-ti/rawHtml/tokenizeHtml.d.ts +26 -0
- package/dist-ti/reRouting/addRequireResolveHooks.d.ts +3 -0
- package/dist-ti/reRouting/importLoader.d.ts +8 -0
- package/dist-ti/ref.d.ts +3 -0
- package/dist-ti/regexEscape.d.ts +3 -0
- package/dist-ti/removeRecursive.d.ts +3 -0
- package/dist-ti/render/HeadData.d.ts +22 -0
- package/dist-ti/render/SxyFrameworkModule.d.ts +6 -0
- package/dist-ti/render/SxyFrameworkModules.d.ts +4 -0
- package/dist-ti/render/addImportMap.d.ts +5 -0
- package/dist-ti/render/classComponentNodeToRenderingTree.d.ts +7 -0
- package/dist-ti/render/componentNodeToRenderingTree.d.ts +7 -0
- package/dist-ti/render/contentNodeToHtml.d.ts +19 -0
- package/dist-ti/render/contentToHtml.d.ts +10 -0
- package/dist-ti/render/contentToHtmlDev.d.ts +10 -0
- package/dist-ti/render/contentTreeToRenderingTree.d.ts +7 -0
- package/dist-ti/render/debug.d.ts +3 -0
- package/dist-ti/render/functionComponentNodeToRenderingTree.d.ts +7 -0
- package/dist-ti/render/getFunctionBodyAsString.d.ts +4 -0
- package/dist-ti/render/htmlMonoTags.d.ts +7 -0
- package/dist-ti/render/htmlNoSelfCloseTags.d.ts +28 -0
- package/dist-ti/render/htmlSelfClosableTags.d.ts +7 -0
- package/dist-ti/render/htmlSingleOnlyTags.d.ts +9 -0
- package/dist-ti/render/htmlVoidTags.d.ts +20 -0
- package/dist-ti/render/instantiateClassComponent.d.ts +6 -0
- package/dist-ti/render/instantiateComponent.d.ts +6 -0
- package/dist-ti/render/instantiateFunctionComponent.d.ts +7 -0
- package/dist-ti/render/printComponentNameInSource.d.ts +3 -0
- package/dist-ti/render/processBody.d.ts +3 -0
- package/dist-ti/render/processHead.d.ts +5 -0
- package/dist-ti/render/processHtmlNode.d.ts +4 -0
- package/dist-ti/render/processProps.d.ts +3 -0
- package/dist-ti/render/processRenderingNodeHtml.d.ts +4 -0
- package/dist-ti/render/readDocInitScript.d.ts +4 -0
- package/dist-ti/render/renderingTreeToHtml.d.ts +5 -0
- package/dist-ti/render/rootToHtml.d.ts +10 -0
- package/dist-ti/render/rootToHtmlDev.d.ts +10 -0
- package/dist-ti/requests/axios/get.d.ts +3 -0
- package/dist-ti/requests/axios/post.d.ts +3 -0
- package/dist-ti/requests/fetch/FetchExtras.d.ts +32 -0
- package/dist-ti/requests/fetch/_fetchPromise.d.ts +3 -0
- package/dist-ti/requests/fetch/delete.d.ts +4 -0
- package/dist-ti/requests/fetch/get.d.ts +4 -0
- package/dist-ti/requests/fetch/mergeFetchInit.d.ts +3 -0
- package/dist-ti/requests/fetch/paramsObjectToParamsString.d.ts +3 -0
- package/dist-ti/requests/fetch/patch.d.ts +4 -0
- package/dist-ti/requests/fetch/post.d.ts +4 -0
- package/dist-ti/requests/fetch/put.d.ts +4 -0
- package/dist-ti/requests/index.d.ts +7 -0
- package/dist-ti/routesLocationParts.d.ts +7 -0
- package/dist-ti/routing/AppRoutes.d.ts +7 -0
- package/dist-ti/routing/DataRedirect.d.ts +5 -0
- package/dist-ti/routing/Default404.d.ts +6 -0
- package/dist-ti/routing/ErrorRouteType.d.ts +9 -0
- package/dist-ti/routing/Group.d.ts +13 -0
- package/dist-ti/routing/Match.type.d.ts +18 -0
- package/dist-ti/routing/MatchedRoute.d.ts +15 -0
- package/dist-ti/routing/MatchedRouteInfo.d.ts +14 -0
- package/dist-ti/routing/Params.d.ts +3 -0
- package/dist-ti/routing/ParamsFromPath.d.ts +11 -0
- package/dist-ti/routing/RedirectCode.d.ts +3 -0
- package/dist-ti/routing/Route.d.ts +3 -0
- package/dist-ti/routing/RouteContent.d.ts +5 -0
- package/dist-ti/routing/RouteContentFunction.d.ts +6 -0
- package/dist-ti/routing/RouteData.d.ts +3 -0
- package/dist-ti/routing/RouteDataFunction.type.d.ts +9 -0
- package/dist-ti/routing/RouteDataReturnType.d.ts +12 -0
- package/dist-ti/routing/RouteParams.type.d.ts +3 -0
- package/dist-ti/routing/RoutePaths.d.ts +13 -0
- package/dist-ti/routing/RouteProp.d.ts +11 -0
- package/dist-ti/routing/RouteType.d.ts +3 -0
- package/dist-ti/routing/RouteTypes.d.ts +20 -0
- package/dist-ti/routing/Router.d.ts +3 -0
- package/dist-ti/routing/Routes.d.ts +39 -0
- package/dist-ti/routing/RoutesFunction.d.ts +14 -0
- package/dist-ti/routing/RoutesWithSafeParams.d.ts +3 -0
- package/dist-ti/routing/RoutingRedirect.d.ts +9 -0
- package/dist-ti/routing/Serializable.d.ts +6 -0
- package/dist-ti/routing/TungstenErrorInfo.d.ts +7 -0
- package/dist-ti/routing/WebRedirect.d.ts +9 -0
- package/dist-ti/routing/builder.d.ts +131 -0
- package/dist-ti/routing/builder.trial.d.ts +3 -0
- package/dist-ti/routing/compareRequestToRegex.d.ts +10 -0
- package/dist-ti/routing/debug.d.ts +3 -0
- package/dist-ti/routing/defineRoutes.d.ts +9 -0
- package/dist-ti/routing/getPathPriority.d.ts +3 -0
- package/dist-ti/routing/matchPath.d.ts +4 -0
- package/dist-ti/routing/patternToRegex.d.ts +6 -0
- package/dist-ti/routing/pyramidRouting.d.ts +3 -0
- package/dist-ti/routing/redirectOf.d.ts +13 -0
- package/dist-ti/routing/registerGlobalData.d.ts +19 -0
- package/dist-ti/routing/registerRoutes.d.ts +11 -0
- package/dist-ti/routing/registerRouting.d.ts +38 -0
- package/dist-ti/routing/registrationTypes.d.ts +12 -0
- package/dist-ti/routing/resolveAppRoutes.d.ts +6 -0
- package/dist-ti/routing/routeSymbols.d.ts +10 -0
- package/dist-ti/routing/routeUrl.d.ts +9 -0
- package/dist-ti/routing/routesArray.d.ts +31 -0
- package/dist-ti/routing/routingBuilder.d.ts +36 -0
- package/dist-ti/routing/routingRegistry.d.ts +20 -0
- package/dist-ti/routing/runContentFunction.d.ts +3 -0
- package/dist-ti/routing/splitRequest.d.ts +18 -0
- package/dist-ti/run.d.ts +3 -0
- package/dist-ti/server.d.ts +5 -0
- package/dist-ti/serverModuleLocation.d.ts +4 -0
- package/dist-ti/serverRpc.d.ts +3 -0
- package/dist-ti/serverRpcs.d.ts +4 -0
- package/dist-ti/settings.d.ts +34 -0
- package/dist-ti/signals/tracking.d.ts +34 -0
- package/dist-ti/slash.d.ts +3 -0
- package/dist-ti/spawnShellCommand.d.ts +4 -0
- package/dist-ti/standardSchema.d.ts +38 -0
- package/dist-ti/standardizeWebPath.d.ts +3 -0
- package/dist-ti/startDevServer.d.ts +3 -0
- package/dist-ti/stateTracking.d.ts +48 -0
- package/dist-ti/staticGen/RouteDefinition.d.ts +9 -0
- package/dist-ti/staticGen/getAppRoutes.d.ts +6 -0
- package/dist-ti/staticGen/staticGen.d.ts +4 -0
- package/dist-ti/staticGen/staticGenFunctions.d.ts +7 -0
- package/dist-ti/style/jssToCss.d.ts +3 -0
- package/dist-ti/style/styleContent.d.ts +4 -0
- package/dist-ti/style/styleContentReact.d.ts +3 -0
- package/dist-ti/style/styleContentReactClassOrClassname.d.ts +3 -0
- package/dist-ti/style/styleContentSxy.d.ts +5 -0
- package/dist-ti/style/styleContentSxyClassOrClassname.d.ts +3 -0
- package/dist-ti/style/styleElementContent.d.ts +3 -0
- package/dist-ti/style/unusedStyles.d.ts +10 -0
- package/dist-ti/styleProcessors.d.ts +3 -0
- package/dist-ti/symbols.d.ts +4 -0
- package/dist-ti/sync/index.d.ts +5 -0
- package/dist-ti/syncServer/preload.d.ts +3 -0
- package/dist-ti/testing/contentToString.d.ts +14 -0
- package/dist-ti/testing/createTestApp.d.ts +72 -0
- package/dist-ti/testing/display.d.ts +3 -0
- package/dist-ti/testing/ensure.d.ts +120 -0
- package/dist-ti/testing/ensure.trial.d.ts +3 -0
- package/dist-ti/testing/helpers/contentHtmlElements.d.ts +4 -0
- package/dist-ti/testing/host.d.ts +189 -0
- package/dist-ti/testing/hydrateTestApp.d.ts +57 -0
- package/dist-ti/testing/index.d.ts +12 -0
- package/dist-ti/testing/installTestDocInit.d.ts +3 -0
- package/dist-ti/testing/installTestStyleProcessors.d.ts +3 -0
- package/dist-ti/testing/loadEnv.d.ts +7 -0
- package/dist-ti/testing/normalize.d.ts +3 -0
- package/dist-ti/testing/pipeline/createTestPacketApp.d.ts +31 -0
- package/dist-ti/testing/pipeline/createTestPipelineApp.d.ts +71 -0
- package/dist-ti/testing/pipeline/hostPipeline.d.ts +26 -0
- package/dist-ti/testing/pipeline/hydrateTestPipelineApp.d.ts +31 -0
- package/dist-ti/testing/pipeline/index.d.ts +8 -0
- package/dist-ti/testing/pipeline/pipelineTestApp.d.ts +35 -0
- package/dist-ti/testing/pipeline/routesOf.d.ts +15 -0
- package/dist-ti/testing/pipeline/testPipelineRoute.d.ts +3 -0
- package/dist-ti/testing/pipeline/testingComponentPackageFromPacket.d.ts +12 -0
- package/dist-ti/testing/resolveContent.d.ts +19 -0
- package/dist-ti/testing/testEnvIsRequested.d.ts +4 -0
- package/dist-ti/testing/testingComponentPackage.d.ts +36 -0
- package/dist-ti/throwError.d.ts +5 -0
- package/dist-ti/timeProfiler.d.ts +17 -0
- package/dist-ti/todo.d.ts +3 -0
- package/dist-ti/update/UpdateResult.d.ts +7 -0
- package/dist-ti/update/UpdateScheduler.d.ts +18 -0
- package/dist-ti/update/guardedUpdate.d.ts +10 -0
- package/dist-ti/update/integrateUpdateVdom.d.ts +50 -0
- package/dist-ti/update/integrateUpdateVdomPrebuild.d.ts +3 -0
- package/dist-ti/update/pendingMounts.d.ts +26 -0
- package/dist-ti/validChildren.d.ts +6 -0
- package/dist-ti/warnOnFrameworkChange.d.ts +3 -0
- package/dist-ti/watch.d.ts +10 -0
- package/dist-ti/when.d.ts +4 -0
- package/dist-ti/zones/react.d.ts +54 -0
- package/package.json +75 -11
- package/types/globals.d.ts +65 -0
- package/types/helpers.d.ts +2 -1
- package/types/index.d.ts +2 -57
- package/types-ti/helpers.d.ts +0 -0
- package/types-ti/index.d.ts +12 -0
- package/types-ti/permissions.d.ts +39 -0
- package/vendor/manifest.json +2 -2
- package/dist/pipeline/PipelineRequestHandler.d.ts +0 -25
- package/dist/pipeline/PipelineRequestHandler.js +0 -104
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import { type ModuleNamespace } from './importModule.js';
|
|
3
|
+
export declare function isTransientDevModuleError: exact ((e: unknown) => boolean);
|
|
4
|
+
export declare function importDevModuleWithRetry: exact ((url: string, attempts?: number, delayMs?: number) => Promise<ModuleNamespace>);
|
|
5
|
+
//# sourceMappingURL=importDevModuleWithRetry.d.ts.map
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export * from './TungstenAppOld.js';
|
|
3
|
+
export { TungstenSimpleComponent, TungstenSimpleComponent as SimpleComponent, // static component
|
|
4
|
+
TungstenStatefulComponent, TungstenStatefulComponent as StatefulComponent, // stateful component
|
|
5
|
+
TungstenSignalsComponent as __TungstenSignalsComponent, TungstenSignalsComponent as __SignalsComponent, TungstenBaseSimpleStoreComponent, TungstenBaseSimpleStoreComponent as BaseSimpleStoreComponent, TungstenBaseStatefulStoreComponent, TungstenBaseStatefulStoreComponent as BaseStatefulStoreComponent, } from './Components.jsx';
|
|
6
|
+
export * from './alive.js';
|
|
7
|
+
export * from './appOutput.js';
|
|
8
|
+
export * from './AssignedStyle.js';
|
|
9
|
+
export * from './clone.js';
|
|
10
|
+
export * from './components/Await.js';
|
|
11
|
+
export * from './components/bindable/BindableCheckbox.jsx';
|
|
12
|
+
export * from './components/bindable/BindableInput.jsx';
|
|
13
|
+
export * from './components/bindable/BindableInputTyped.jsx';
|
|
14
|
+
export * from './components/bindable/BindableRadio.jsx';
|
|
15
|
+
export * from './components/bindable/BindableSelect.jsx';
|
|
16
|
+
export * from './components/bindable/BindableTextarea.jsx';
|
|
17
|
+
export * from './components/Fragment.jsx';
|
|
18
|
+
export * from './components/GoToComponent.jsx';
|
|
19
|
+
export * from './components/Lazy.js';
|
|
20
|
+
export * from './components/Link.jsx';
|
|
21
|
+
export { makeTypedLink } from './components/makeTypedLink.js';
|
|
22
|
+
export * from './components/NativeHtml.jsx';
|
|
23
|
+
export * from './components/NoEscape.jsx';
|
|
24
|
+
export * from './components/PopMessages.jsx';
|
|
25
|
+
export * from './components/Protected.jsx';
|
|
26
|
+
export { type RawHtmlProps, type RawHtmlProps as ParseHtmlProps, RawHtml, RawHtml as ParseHtml, } from './components/RawHtml.jsx';
|
|
27
|
+
export * from './components/RouteRedirectComponent.jsx';
|
|
28
|
+
export { parseHtml, type ParseHtmlOptions } from './rawHtml/parseHtml.js';
|
|
29
|
+
export { safeHtmlAllowList } from './rawHtml/safeHtmlAllowList.js';
|
|
30
|
+
export type { HtmlAllowList } from './rawHtml/HtmlAllowList.js';
|
|
31
|
+
export { sanitizeHtml, type SanitizeHtmlOptions } from './rawHtml/sanitizeHtml.js';
|
|
32
|
+
export { filterContentNode } from './rawHtml/filterContentNode.js';
|
|
33
|
+
export { contentNodeToHtml } from './render/contentNodeToHtml.js';
|
|
34
|
+
export * from './components/WebRedirectComponent.jsx';
|
|
35
|
+
export * from './contentNodeSymbols.js';
|
|
36
|
+
export { pop, dismissPop } from './pop.js';
|
|
37
|
+
export * from './browserStorage.js';
|
|
38
|
+
export { createElement } from './createElement.js';
|
|
39
|
+
export * from './createRef.js';
|
|
40
|
+
export { docInit } from './docInit.js';
|
|
41
|
+
export { foreach } from './foreach.js';
|
|
42
|
+
export * from './helpers/index.js';
|
|
43
|
+
export * from './hooks/index.js';
|
|
44
|
+
export * from './hydrate/hydrate.jsx';
|
|
45
|
+
export * from './jsxHelpers.jsx';
|
|
46
|
+
export { jsx, jsxs, FragmentType, type JsxNodeType } from './jsxRuntime.js';
|
|
47
|
+
export * from './makeServerRpc.js';
|
|
48
|
+
export { isBrowser } from './isBrowser.js';
|
|
49
|
+
export { isClient } from './isClient.js';
|
|
50
|
+
export { isServer } from './isServer.js';
|
|
51
|
+
export { isDev } from './isDev.js';
|
|
52
|
+
export { isProd } from './isProd.js';
|
|
53
|
+
export { logAndReturn } from './logAndReturn.js';
|
|
54
|
+
export * from './requests/index.js';
|
|
55
|
+
export { type GlobalData, type GlobalDataFunction, registerGlobalData, } from './routing/registerGlobalData.js';
|
|
56
|
+
export { registerRoutes } from './routing/registerRoutes.js';
|
|
57
|
+
export { appBuilder, type AppComponents, type AppHelpers } from './appBuilder.js';
|
|
58
|
+
export { registerRouting } from './routing/registerRouting.js';
|
|
59
|
+
export type { RouteEntry, RoutesArray } from './routing/routesArray.js';
|
|
60
|
+
export { pipeline } from './pipeline/pipeline.js';
|
|
61
|
+
export type { PipelineContext, PipelineInit, PipelineNetworked, PipelineResult, PipelineStageContext, PipelineStageResult, } from './pipeline/pipeline.js';
|
|
62
|
+
export type { PipelineApp } from './pipeline/pipelineDefinition.js';
|
|
63
|
+
export { splitPipeline } from './pipeline/splitPipeline.js';
|
|
64
|
+
export type { PipelineServerAllRoutesData } from './pipeline/splitPipeline.js';
|
|
65
|
+
export { contextStore } from './pipeline/contextStore.js';
|
|
66
|
+
export { hydratePipeline } from './pipeline/hydratePipeline.js';
|
|
67
|
+
export { routesWith, routesListWith, makeRouteWith } from './routing/builder.js';
|
|
68
|
+
export { registeredRouting } from './routing/routingRegistry.js';
|
|
69
|
+
export { type Context, type ContextClass, type ContextClasses, registerContext, } from './context/registerContext.js';
|
|
70
|
+
export { registerNetworkedData, type NetworkedData } from './routing/routingRegistry.js';
|
|
71
|
+
export { $kind, type AsContext, type AsNetworkedData, type AsGlobalData } from './Brands.js';
|
|
72
|
+
export { type PrivateEnvSchema, type PublicEnvSchema, registerPrivateEnvSchema, registerPublicEnvSchema, } from './env/registerEnvSchemas.js';
|
|
73
|
+
export * from './routing/builder.js';
|
|
74
|
+
export * from './routing/MatchedRoute.js';
|
|
75
|
+
export * from './routing/RedirectCode.js';
|
|
76
|
+
export * from './routing/Route.jsx';
|
|
77
|
+
export * from './routing/Router.jsx';
|
|
78
|
+
export * from './routing/RouteContentFunction.js';
|
|
79
|
+
export * from './routing/RoutingRedirect.js';
|
|
80
|
+
export * from './routing/WebRedirect.js';
|
|
81
|
+
export * from './when.js';
|
|
82
|
+
export * from './serverRpc.js';
|
|
83
|
+
export * from './settings.js';
|
|
84
|
+
export * from './Store/getStore.js';
|
|
85
|
+
export * from './Store/registerStore.js';
|
|
86
|
+
export * from './components/Stylesheet.jsx';
|
|
87
|
+
export { TungstenError } from './TungstenError.js';
|
|
88
|
+
export * from './__deproxy.js';
|
|
89
|
+
export { $original } from './componentProxyHandlers.js';
|
|
90
|
+
export type { Request } from './api/Request.js';
|
|
91
|
+
export type { Response } from './api/Response.js';
|
|
92
|
+
export type { BindVariable, TypedBindVariable } from './components/bindable/BindVariable.js';
|
|
93
|
+
export type { ConstructPackage, TungstenBaseComponentType } from './Components.jsx';
|
|
94
|
+
export * from './ContentNode.js';
|
|
95
|
+
export type { GenericObject } from './GenericObject.type.js';
|
|
96
|
+
export type { Instance } from './Instance/Instance.js';
|
|
97
|
+
export type { Key } from './Key.js';
|
|
98
|
+
export type { PopMessage } from './PopMessage.type.js';
|
|
99
|
+
export type { ReqRes, ReqResOrNull } from './ReqRes.js';
|
|
100
|
+
export type { MatchedRouteInfo } from './routing/MatchedRouteInfo.ts';
|
|
101
|
+
export type { Params } from './routing/Params.js';
|
|
102
|
+
export type { ParamsFromPath } from './routing/ParamsFromPath.js';
|
|
103
|
+
export type { RoutePaths, PathTemplate } from './routing/RoutePaths.js';
|
|
104
|
+
export { type Endpoint, type Route, type Route as RouteType, type RouteKey, type Path, type Path as RoutePath, StringIsPath, RouteKeyIsPath, } from './routing/RouteTypes.js';
|
|
105
|
+
export type { Routes, CustomRoutes } from './routing/Routes.js';
|
|
106
|
+
export { $cacheControl, type CacheControl, type RouteCacheControl } from './cacheControl.js';
|
|
107
|
+
export type { ErrorRouteType } from './routing/ErrorRouteType.js';
|
|
108
|
+
export { makeTungstenErrorInfo, type TungstenErrorInfo } from './routing/TungstenErrorInfo.js';
|
|
109
|
+
export type { RouteParams } from './routing/RouteParams.type.js';
|
|
110
|
+
export type { RouteData } from './routing/RouteData.js';
|
|
111
|
+
export type { RouteDataFunction } from './routing/RouteDataFunction.type.js';
|
|
112
|
+
export type { RouteDataReturnType } from './routing/RouteDataReturnType.js';
|
|
113
|
+
export type { FrameworkConfig, FrameworkConfig as Config } from './FrameworkConfig.js';
|
|
114
|
+
export type { TungstenComponentPropsBase, TungstenComponentPropsBase as PropsBase, TungstenComponentStateConstraint, TungstenComponentStateConstraint as StateConstraint, ComponentStore, } from './Components.jsx';
|
|
115
|
+
export type { CssNames } from './CssNames.js';
|
|
116
|
+
//# sourceMappingURL=indexInner.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
/**
|
|
3
|
+
* Reads React's `dangerouslySetInnerHTML` prop, returning the raw markup, or
|
|
4
|
+
* `null` when the element does not use it.
|
|
5
|
+
*
|
|
6
|
+
* The markup is the element's entire inner content: the server writes it into
|
|
7
|
+
* its HTML verbatim, the client assigns it to `innerHTML`, and the nodes the
|
|
8
|
+
* parser produces from it are never reconciled. Tungsten holds one opaque
|
|
9
|
+
* string where the DOM holds a whole subtree, so reconciling them would
|
|
10
|
+
* corrupt the document.
|
|
11
|
+
*
|
|
12
|
+
* `hasChildren` is supplied by the caller because the content and rendering
|
|
13
|
+
* trees test their children differently.
|
|
14
|
+
*/
|
|
15
|
+
export declare function innerHtmlFromProps: exact ((type: string, props: {
|
|
16
|
+
dangerouslySetInnerHTML?: unknown;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}, hasChildren: boolean) => string | null);
|
|
19
|
+
//# sourceMappingURL=innerHtmlFromProps.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { Json } from './Json.type.js';
|
|
3
|
+
type Replacer = (this: unknown, key: string, value: unknown) => unknown;
|
|
4
|
+
type Reviver = (this: unknown, key: string, value: unknown) => unknown;
|
|
5
|
+
type AllowList = (string | number)[] | null;
|
|
6
|
+
type Space = string | number;
|
|
7
|
+
type IfAny<T, Then> = 0 extends (1 & T) ? Then : never;
|
|
8
|
+
export declare function JSONstringify<T>(value: T & IfAny<T, unknown>, replacer?: Replacer | AllowList, space?: Space): string | undefined;
|
|
9
|
+
export declare function JSONstringify(value: undefined | symbol | ((...args: never[]) => unknown), replacer?: Replacer | AllowList, space?: Space): undefined;
|
|
10
|
+
export declare function JSONstringify(value: object, replacer?: AllowList, space?: Space): string;
|
|
11
|
+
export declare function JSONstringify(value: string | number | boolean | null, replacer?: AllowList, space?: Space): string;
|
|
12
|
+
export declare function JSONstringify(value: string | number | boolean | null | object, replacer?: AllowList, space?: Space): string;
|
|
13
|
+
export declare function JSONstringify(value: unknown, replacer?: Replacer | AllowList, space?: Space): string | undefined;
|
|
14
|
+
export declare function JSONparse(text: string): Json;
|
|
15
|
+
export declare function JSONparse(text: string, reviver: Reviver): unknown;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=json.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export declare const sp = " ";
|
|
3
|
+
export declare const nbsp: rw import("./ContentNode.js").ContentNodeClassComponent | rw import("./ContentNode.js").ContentNodeFragment | rw import("./ContentNode.js").ContentNodeFunctionComponent | rw import("./ContentNode.js").ContentNodeHtml;
|
|
4
|
+
//# sourceMappingURL=jsxHelpers.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { AnyComponentType } from './AnyComponentType.js';
|
|
3
|
+
import type { KeyAttr } from './KeyAttr.js';
|
|
4
|
+
import type { ContentNode, NodeProps } from './ContentNode.js';
|
|
5
|
+
export * from './contentNodeSymbols.js';
|
|
6
|
+
export declare const Fragment: symbol;
|
|
7
|
+
export { Fragment as FragmentType };
|
|
8
|
+
export type JsxNodeType = string | AnyComponentType | typeof Fragment;
|
|
9
|
+
export declare function jsx: exact ((type: JsxNodeType | string | number | boolean | null | undefined, props: rw NodeProps, key: KeyAttr) => ContentNode);
|
|
10
|
+
export declare const jsxs: (...args: Parameters<typeof jsx>) => ContentNode;
|
|
11
|
+
//# sourceMappingURL=jsxRuntime.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { AnyComponentType } from './AnyComponentType.js';
|
|
3
|
+
import type { TungstenComponentGenericProps } from './Components.jsx';
|
|
4
|
+
import type { KeyAttr } from './KeyAttr.js';
|
|
5
|
+
export * from './contentNodeSymbols.js';
|
|
6
|
+
export declare const Fragment: symbol;
|
|
7
|
+
export type JsxNodeType = string | AnyComponentType | typeof Fragment;
|
|
8
|
+
export declare const TypeSymbol: unique symbol;
|
|
9
|
+
export declare function jsx: exact ((type: JsxNodeType | string | number | boolean | null | undefined, props: rw TungstenComponentGenericProps, key: KeyAttr) => string | exact rw {
|
|
10
|
+
type: symbol;
|
|
11
|
+
props: rw TungstenComponentGenericProps;
|
|
12
|
+
key: KeyAttr;
|
|
13
|
+
} | exact rw {
|
|
14
|
+
type: (r import("./FunctionComponent.js").FunctionComponent<any, any> & rw Function) | (r import("./Components.jsx").TungstenBaseComponentType<any, any> & rw Function);
|
|
15
|
+
props: rw TungstenComponentGenericProps;
|
|
16
|
+
key: KeyAttr;
|
|
17
|
+
} | exact rw {
|
|
18
|
+
type: string;
|
|
19
|
+
props: rw TungstenComponentGenericProps;
|
|
20
|
+
key: KeyAttr;
|
|
21
|
+
} | null);
|
|
22
|
+
export declare const jsxs: exact typeof jsx;
|
|
23
|
+
//# sourceMappingURL=jsxRuntimeSignals.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { FrameworkConfig, FrameworkConfigComplete, FrameworkConfigOverrides } from './FrameworkConfig.js';
|
|
3
|
+
export declare function makeFinalConfig: exact ((userConfig: FrameworkConfig, overrides?: FrameworkConfigOverrides | null) => FrameworkConfigComplete);
|
|
4
|
+
//# sourceMappingURL=makeFinalConfig.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { InstanceConfig } from './Instance/InstanceConfig.js';
|
|
3
|
+
import type { FrameworkConfigComplete } from './FrameworkConfig.js';
|
|
4
|
+
export declare function makeInstanceConfigFromFrameworkConfig: exact ((frameworkConfig: FrameworkConfigComplete, dev?: boolean) => InstanceConfig);
|
|
5
|
+
//# sourceMappingURL=makeInstanceConfigFromFrameworkConfig.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
type TypeValidator<I> = (input: unknown) => I;
|
|
3
|
+
type AnyFunction = (...args: any[]) => any;
|
|
4
|
+
export declare const makeServerRpcUnchecked: <F extends AnyFunction>(serverFunction: F) => F;
|
|
5
|
+
type ServerFunction<I> = (input: I) => any;
|
|
6
|
+
export declare const makeServerRpcChecked: <I>(typeValidator: TypeValidator<I>, serverFunction: ServerFunction<I>) => ServerFunction<I>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=makeServerRpc.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
type OptionProps = {
|
|
3
|
+
children?: unknown;
|
|
4
|
+
value?: unknown;
|
|
5
|
+
selected?: unknown;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Marks an <option> as the one its enclosing <select> has chosen, given that select's value.
|
|
9
|
+
*
|
|
10
|
+
* Every renderer needs this, not just the server: markup is the only way the server can express
|
|
11
|
+
* a selection, so the client's content tree has to carry the same prop or hydration reconciles
|
|
12
|
+
* the server's `selected` attribute away as an attribute the client never rendered.
|
|
13
|
+
*/
|
|
14
|
+
export declare function markOptionSelected: exact ((props: OptionProps & rw {
|
|
15
|
+
selected?: unknown;
|
|
16
|
+
}, selectValue: unknown) => void);
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=markOptionSelected.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { FrameworkConfig } from './FrameworkConfig.js';
|
|
3
|
+
export declare function mergeConfigs: exact ((config1: Partial<FrameworkConfig>, config2: Partial<FrameworkConfig>) => Partial<FrameworkConfig>);
|
|
4
|
+
//# sourceMappingURL=mergeConfigs.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export declare const arrayMutatingFunctions: readonly ['push', 'pop', 'shift', 'unshift', 'sort', 'splice', 'reverse', 'fill', 'copyWithin'];
|
|
3
|
+
type ArrayMutatingFunctions = typeof arrayMutatingFunctions[number];
|
|
4
|
+
export declare const arrayMutatingFunctionInsertsFrom: Partial<Record<ArrayMutatingFunctions, number>>;
|
|
5
|
+
export declare const mapMutatingFunctions: readonly ['set', 'delete', 'clear'];
|
|
6
|
+
type MapMutatingFunctions = typeof mapMutatingFunctions[number];
|
|
7
|
+
export declare const setMutatingFunctions: readonly ['add', 'delete', 'clear'];
|
|
8
|
+
type SetMutatingFunctions = typeof setMutatingFunctions[number];
|
|
9
|
+
export declare function KeyIsArrayMutatingFunction: exact ((key: string) => key is ArrayMutatingFunctions);
|
|
10
|
+
export declare function KeyIsMapMutatingFunction: exact ((key: string) => key is MapMutatingFunctions);
|
|
11
|
+
export declare function KeyIsSetMutatingFunction: exact ((key: string) => key is SetMutatingFunctions);
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=mutatingFunctions.d.ts.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export type ObjectMapFunction<O extends object> = (key: keyof O, value: any, object: object) => unknown;
|
|
3
|
+
export declare function objectMap: exact (<O extends object>(object: O, func: ObjectMapFunction<O>) => Record<keyof O, any>);
|
|
4
|
+
//# sourceMappingURL=objectMap.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export declare function out: exact ((...inputs: unknown[]) => void);
|
|
3
|
+
export declare function note: exact ((...inputs: unknown[]) => void);
|
|
4
|
+
export declare function log: exact ((...inputs: unknown[]) => void);
|
|
5
|
+
export declare function warn: exact ((...texts: any[]) => void);
|
|
6
|
+
export declare function errorOut: exact ((...texts: any[]) => void);
|
|
7
|
+
//# sourceMappingURL=output.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { SubscribedElements } from '../Store/StoreSubscriptions.types.js';
|
|
3
|
+
import { type TrueStore } from '../Store/makeStore.js';
|
|
4
|
+
export type StoreSync = 'afterRouting' | 'afterRender';
|
|
5
|
+
export type ContextStoreSettings = {
|
|
6
|
+
sync: StoreSync;
|
|
7
|
+
subscribedElements: SubscribedElements;
|
|
8
|
+
};
|
|
9
|
+
export declare const contextStore: <Schema extends object>(values: Schema, options?: {
|
|
10
|
+
sync?: StoreSync;
|
|
11
|
+
}) => TrueStore<Schema>;
|
|
12
|
+
export declare const contextStoreSettings: (store: object) => r ContextStoreSettings | undefined;
|
|
13
|
+
//# sourceMappingURL=contextStore.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { TungstenBaseComponentType } from '../Components.jsx';
|
|
3
|
+
import type { InstanceConfig } from '../Instance/InstanceConfig.js';
|
|
4
|
+
export declare function hydratePipeline: exact ((app: unknown, RootComponent: TungstenBaseComponentType | null, instanceConfig: InstanceConfig, fileVersions?: Record<string, string>) => rw Promise<void>);
|
|
5
|
+
//# sourceMappingURL=hydratePipeline.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { CompilationInfo } from '../build/CompilationInfo.js';
|
|
3
|
+
import type { FrameworkConfigComplete } from '../FrameworkConfig.js';
|
|
4
|
+
import type { PipelineApp } from './pipelineDefinition.js';
|
|
5
|
+
export declare function importRoutesModule: exact ((compilationInfo: CompilationInfo, config: FrameworkConfigComplete, iteration: number | null) => Promise<PipelineApp>);
|
|
6
|
+
export declare function pipelineAppFrom: exact ((module: unknown, routesLocation: FrameworkConfigComplete['routesLocation']) => PipelineApp);
|
|
7
|
+
//# sourceMappingURL=importRoutesModule.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
export declare class NetworkedTransport {
|
|
3
|
+
#private;
|
|
4
|
+
readonly networked: object | undefined;
|
|
5
|
+
constructor(networked: object | undefined);
|
|
6
|
+
snapshotAfterRouting(): void;
|
|
7
|
+
toJSON(): owned rw {
|
|
8
|
+
[k: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function fromTransport: exact ((half: object | undefined) => object | undefined);
|
|
12
|
+
//# sourceMappingURL=networkedTransport.d.ts.map
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
// @tightscript-object-permissions
|
|
2
|
+
import type { ComponentStore, ConstructPackage, TungstenComponentPropsBase, TungstenComponentSignalsConstraint, TungstenComponentStateConstraint } from '../Components.jsx';
|
|
3
|
+
import type { ComponentHelpers } from '../componentHelpers.js';
|
|
4
|
+
import type { TungstenErrorInfo } from '../routing/TungstenErrorInfo.js';
|
|
5
|
+
import type { ExactRoutesWithSettings } from '../routing/Routes.js';
|
|
6
|
+
import type { DataRedirect } from '../routing/DataRedirect.js';
|
|
7
|
+
import type { NoDuplicatePaths, RoutesArray } from '../routing/routesArray.js';
|
|
8
|
+
import type { Serializable } from '../routing/Serializable.js';
|
|
9
|
+
import type { ReadonlyTrueStore } from '../Store/makeStore.js';
|
|
10
|
+
import type { MaybePromise, PipelineApp, PipelineDefinition, RoutesOptions, ServerKind, ServerRequests, StageContext } from './pipelineDefinition.js';
|
|
11
|
+
import { TungstenBaseSimpleStoreComponent, TungstenBaseStatefulStoreComponent, TungstenSignalsComponent, TungstenSimpleComponent, TungstenStatefulComponent } from '../Components.jsx';
|
|
12
|
+
type Props = TungstenComponentPropsBase;
|
|
13
|
+
type State = TungstenComponentStateConstraint;
|
|
14
|
+
type Signals = TungstenComponentSignalsConstraint;
|
|
15
|
+
export type Nothing = Record<never, never>;
|
|
16
|
+
export type DeliveredContext<Ctx> = Ctx extends object ? Ctx : Nothing;
|
|
17
|
+
export type PipelineHelpers<Ctx, N, G extends object | undefined> = Omit<ComponentHelpers, 'context' | 'allRoutesData' | 'networked'> & {
|
|
18
|
+
readonly context: DeliveredContext<Ctx>;
|
|
19
|
+
readonly networked: N & object;
|
|
20
|
+
readonly allRoutesData: G;
|
|
21
|
+
};
|
|
22
|
+
export declare abstract class PipelineSimpleComponent<Ctx, N, G extends object | undefined, P extends Props = Props, RD = undefined> extends TungstenSimpleComponent<P, RD> {
|
|
23
|
+
get tungsten(): PipelineHelpers<Ctx, N, G>;
|
|
24
|
+
}
|
|
25
|
+
export declare abstract class PipelineStatefulComponent<Ctx, N, G extends object | undefined, P extends Props, S extends State, RD = undefined> extends TungstenStatefulComponent<P, S, RD> {
|
|
26
|
+
get tungsten(): PipelineHelpers<Ctx, N, G>;
|
|
27
|
+
}
|
|
28
|
+
export declare abstract class PipelineSignalsComponent<Ctx, N, G extends object | undefined, P extends Props, Sg extends Signals, RD = undefined> extends TungstenSignalsComponent<P, Sg, RD> {
|
|
29
|
+
get tungsten(): PipelineHelpers<Ctx, N, G>;
|
|
30
|
+
}
|
|
31
|
+
type SelectStore<Ctx, N, G extends object | undefined, Schema extends object> = (context: PipelineHelpers<Ctx, N, G>['context'], networked: N) => ReadonlyTrueStore<Schema>;
|
|
32
|
+
export declare abstract class PipelineSimpleStoreComponent<Ctx, N, G extends object | undefined, St extends object, P extends Props = Props, RD = undefined> extends TungstenBaseSimpleStoreComponent<P, RD, St> {
|
|
33
|
+
get tungsten(): PipelineHelpers<Ctx, N, G>;
|
|
34
|
+
protected createStore<Schema extends object>(select: SelectStore<Ctx, N, G, Schema>): ComponentStore<Schema>;
|
|
35
|
+
}
|
|
36
|
+
export declare abstract class PipelineStatefulStoreComponent<Ctx, N, G extends object | undefined, St extends object, P extends Props, S extends State, RD = undefined> extends TungstenBaseStatefulStoreComponent<P, S, RD, St> {
|
|
37
|
+
get tungsten(): PipelineHelpers<Ctx, N, G>;
|
|
38
|
+
protected createStore<Schema extends object>(select: SelectStore<Ctx, N, G, Schema>): ComponentStore<Schema>;
|
|
39
|
+
}
|
|
40
|
+
type Statics<T> = Omit<T, 'prototype'>;
|
|
41
|
+
export type PipelineComponents<Ctx, N, G extends object | undefined> = {
|
|
42
|
+
SimpleComponent: (abstract new <P extends Props = Props, RD = undefined>(pkg: ConstructPackage<P, RD>) => PipelineSimpleComponent<Ctx, N, G, P, RD>) & Statics<typeof PipelineSimpleComponent>;
|
|
43
|
+
StatefulComponent: (abstract new <P extends Props = Props, S extends State = State, RD = undefined>(pkg: ConstructPackage<P, RD>) => PipelineStatefulComponent<Ctx, N, G, P, S, RD>) & Statics<typeof PipelineStatefulComponent>;
|
|
44
|
+
SignalsComponent: (abstract new <P extends Props = Props, Sg extends Signals = Signals, RD = undefined>(pkg: ConstructPackage<P, RD>) => PipelineSignalsComponent<Ctx, N, G, P, Sg, RD>) & Statics<typeof PipelineSignalsComponent>;
|
|
45
|
+
SimpleStoreComponent: (abstract new <St extends object, P extends Props = Props, RD = undefined>(pkg: ConstructPackage<P, RD>) => PipelineSimpleStoreComponent<Ctx, N, G, St, P, RD>) & Statics<typeof PipelineSimpleStoreComponent>;
|
|
46
|
+
StatefulStoreComponent: (abstract new <St extends object, P extends Props = Props, S extends State = State, RD = undefined>(pkg: ConstructPackage<P, RD>) => PipelineStatefulStoreComponent<Ctx, N, G, St, P, S, RD>) & Statics<typeof PipelineStatefulStoreComponent>;
|
|
47
|
+
};
|
|
48
|
+
type StageTypes<X> = X extends {
|
|
49
|
+
SimpleStoreComponent: abstract new (...args: any) => PipelineSimpleStoreComponent<infer Ctx, infer N, any, object, any, any>;
|
|
50
|
+
} ? {
|
|
51
|
+
context: Ctx extends object ? Ctx : Nothing;
|
|
52
|
+
networked: N;
|
|
53
|
+
} : never;
|
|
54
|
+
export type PipelineContext<X> = StageTypes<X>['context'];
|
|
55
|
+
export type PipelineNetworked<X> = StageTypes<X>['networked'];
|
|
56
|
+
export type PipelineResult<X> = StageTypes<X>;
|
|
57
|
+
export type PipelineInit<X> = X extends {
|
|
58
|
+
routes: Routes<any, infer I, any, any, any>;
|
|
59
|
+
} ? I : never;
|
|
60
|
+
declare const $stage: unique symbol;
|
|
61
|
+
type StageRecord<Result, Ctx> = {
|
|
62
|
+
result: Result;
|
|
63
|
+
context: Ctx;
|
|
64
|
+
};
|
|
65
|
+
type Marked<Result, Ctx, Stages> = {
|
|
66
|
+
readonly [$stage]?: StageRecord<Result, Ctx> & {
|
|
67
|
+
stages: Stages;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type StagesOf<X> = X extends {
|
|
71
|
+
readonly [$stage]?: {
|
|
72
|
+
stages: infer S;
|
|
73
|
+
};
|
|
74
|
+
} ? S : unknown;
|
|
75
|
+
export type StageMark<This, Name extends string, Result, Ctx> = Marked<Result, Ctx, StagesOf<This> & {
|
|
76
|
+
[K in Name]: StageRecord<Result, Ctx>;
|
|
77
|
+
}>;
|
|
78
|
+
type OwnRecord<X> = X extends Marked<infer R, infer C, any> ? StageRecord<R, C> : never;
|
|
79
|
+
type RecordOf<X, Name> = [Name] extends [never] ? OwnRecord<X> : Name extends keyof StagesOf<X> ? StagesOf<X>[Name] : never;
|
|
80
|
+
export type PipelineStageResult<X, Name extends keyof StagesOf<X> = never> = RecordOf<X, Name> extends StageRecord<infer R, any> ? R : never;
|
|
81
|
+
export type PipelineStageContext<X, Name extends keyof StagesOf<X> = never> = RecordOf<X, Name> extends StageRecord<any, infer C> ? (C extends object ? C : Nothing) : never;
|
|
82
|
+
type Process<Req, Previous, X, G = never> = (reqRes: Req | null, previous: Previous, allRoutesData: G) => MaybePromise<X>;
|
|
83
|
+
export type SerializableData<G> = G extends object ? Serializable<G> : never;
|
|
84
|
+
export type AllRoutesDataProcess<Req, I, G> = (reqRes: Req | null, init: I, location: string) => MaybePromise<(G & SerializableData<NoInfer<G>>) | DataRedirect>;
|
|
85
|
+
export type AllRoutesDataFallback<Req, I, G> = NoInfer<G> | ((reqRes: Req | null, init: I, location: string, error: unknown) => MaybePromise<NoInfer<G> | DataRedirect>);
|
|
86
|
+
export type RoutesReturn<G extends object | undefined> = ExactRoutesWithSettings<G> | RoutesArray<G> | [];
|
|
87
|
+
type RoutesFunction<Req, I, Rs> = (reqRes: Req | null, init: I) => Rs;
|
|
88
|
+
type HasErrorRoute<Rs> = Rs extends readonly unknown[] ? (number extends Rs['length'] ? true : ('error' extends PathOf<Rs[number]> ? true : false)) : ('error' extends keyof Rs ? true : false);
|
|
89
|
+
type PathOf<E> = E extends {
|
|
90
|
+
path: infer P;
|
|
91
|
+
} ? P : never;
|
|
92
|
+
type ReturnedRoutes<R> = R extends (...args: never[]) => infer Rs ? Rs : R;
|
|
93
|
+
export type RequireErrorRoute<R> = true extends HasErrorRoute<ReturnedRoutes<R>> ? unknown : 'A pipeline needs an \'error\' route: a failed request renders it.';
|
|
94
|
+
type Routes<Req, I, Ctx, N, G extends object | undefined> = {
|
|
95
|
+
<const exact Rs extends RoutesReturn<G>>(routes: RoutesFunction<Req, I, Rs> & NoDuplicatePaths<Rs> & RequireErrorRoute<Rs>): PipelineApp<RoutesFunction<Req, I, Rs>, DeliveredContext<Ctx>, N, G>;
|
|
96
|
+
<const exact Rs extends RoutesReturn<G>>(options: RoutesOptions, routes: RoutesFunction<Req, I, Rs> & NoDuplicatePaths<Rs> & RequireErrorRoute<Rs>): PipelineApp<RoutesFunction<Req, I, Rs>, DeliveredContext<Ctx>, N, G>;
|
|
97
|
+
};
|
|
98
|
+
export type ErrorPageComponent<ECtx, EN, G extends object | undefined> = PipelineSimpleComponent<ECtx, EN, G | undefined, TungstenErrorInfo>;
|
|
99
|
+
export type ErrorPageClass<ECtx, EN, G extends object | undefined> = abstract new (pkg: ConstructPackage<TungstenErrorInfo, undefined>) => ErrorPageComponent<ECtx, EN, G>;
|
|
100
|
+
export type RoutesStage<Req, I, Ctx, N, G extends object | undefined, ECtx, EN> = PipelineComponents<Ctx, N, G> & {
|
|
101
|
+
ErrorComponent: ErrorPageClass<ECtx, EN, G> & Statics<typeof PipelineSimpleComponent>;
|
|
102
|
+
routes: Routes<Req, I, Ctx, N, G>;
|
|
103
|
+
};
|
|
104
|
+
export type PostStage<Req, I, Ctx, N, G extends object | undefined, ECtx = I, EN = Nothing> = RoutesStage<Req, I, Ctx, N, G, ECtx, EN> & {
|
|
105
|
+
errorPage: (page: ErrorPageClass<ECtx, EN, G>) => RoutesStage<Req, I, Ctx, N, G, ECtx, EN>;
|
|
106
|
+
};
|
|
107
|
+
export type DataStage<Req, I, G extends object | undefined> = PostStage<Req, I, I, Nothing, G> & {
|
|
108
|
+
post: <P extends StageContext, This>(this: This, process: Process<Req, I, P, G>) => PostStage<Req, I, P, Nothing, G> & StageMark<This, 'post', P, P>;
|
|
109
|
+
};
|
|
110
|
+
export type InitStage<Req, I> = DataStage<Req, I, undefined> & {
|
|
111
|
+
allRoutesData: <G extends object, This>(this: This, process: AllRoutesDataProcess<Req, I, G>, fallback?: AllRoutesDataFallback<Req, I, G>) => DataStage<Req, I, G> & StageMark<This, 'allRoutesData', G, I>;
|
|
112
|
+
};
|
|
113
|
+
export type ServerStage<Req> = InitStage<Req, undefined> & {
|
|
114
|
+
init: <I extends StageContext | undefined, This>(this: This, process: Process<Req, undefined, I>) => InitStage<Req, I> & StageMark<This, 'init', I, I>;
|
|
115
|
+
};
|
|
116
|
+
export declare const loosely: <T>(process: unknown) => T;
|
|
117
|
+
export declare function postStage: exact (<Req, I, Ctx, N, G extends object | undefined, ECtx = I, EN = Nothing>(definition: PipelineDefinition) => PostStage<Req, I, Ctx, N, G, ECtx, EN>);
|
|
118
|
+
export declare function checkServer: exact ((builder: string, lib: ServerKind) => void);
|
|
119
|
+
export type PipelineBuilder = {
|
|
120
|
+
server: <Kind extends ServerKind>(kind: Kind) => ServerStage<ServerRequests[Kind]>;
|
|
121
|
+
};
|
|
122
|
+
export declare const pipeline: PipelineBuilder;
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=pipeline.d.ts.map
|