apps 0.0.1-beta.8 → 0.0.1-beta.9
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/framework-reference.json +1 -1
- package/js/{chunk-CMYUWAX7.js → chunk-7EK2JDX4.js} +1 -1
- package/js/{chunk-OCYUEU47.js → chunk-IKS2C5MQ.js} +2 -2
- package/js/{chunk-RJDDBDSN.js → chunk-ODEIDRGW.js} +0 -1
- package/js/{chunk-UESPOTUI.js → chunk-SJFZCGXG.js} +1 -1
- package/js/client.js +1 -17
- package/js/effect.js +2 -2
- package/js/graphql.js +2 -2
- package/js/host.js +2 -2
- package/js/mcp/effect.js +4 -4
- package/js/mcp/stdio.js +3 -3
- package/js/mcp.js +4 -4
- package/js/ui/serving.js +2 -2
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/implementation/ui-serving.d.ts +4 -2
|
@@ -9,8 +9,10 @@ export declare const appDocument: <E, R>(options: {
|
|
|
9
9
|
readonly origin: string;
|
|
10
10
|
readonly asset: (path: string) => Effect.Effect<AppUiAsset | undefined, E, R>;
|
|
11
11
|
}) => Effect.Effect<HttpServerResponse.HttpServerResponse, UiForbidden | E, HttpServerRequest.HttpServerRequest | R>;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
12
|
+
/** Serve an asset only after the host has checked current access and file existence.
|
|
13
|
+
* Asset URLs name their deployment, so their bytes never change: the browser keeps them for a year
|
|
14
|
+
* and does not ask again. Shared proxies never store them. Revoking access stops every new request
|
|
15
|
+
* and all app data, while bytes a browser already downloaded stay in its cache.
|
|
14
16
|
* HTML remains an uncached host-rendered entry point.
|
|
15
17
|
*/
|
|
16
18
|
export declare const appAsset: (asset: AppUiAsset | undefined, build: string, path: string) => Effect.Effect<HttpServerResponse.HttpServerResponse, never, HttpServerRequest.HttpServerRequest>;
|