apps 0.0.1-beta.138 → 0.0.1-beta.139
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-IZUYCUH5.js → chunk-2CMT4JYG.js} +1 -1
- package/js/{chunk-ZL56WYWO.js → chunk-KOL4PQIA.js} +1 -1
- package/js/{chunk-E2R4JVK3.js → chunk-R62755EK.js} +9 -3
- package/js/{chunk-IW5S6WEE.js → chunk-WTRNAN4H.js} +1 -1
- package/js/effect.js +2 -2
- package/js/graphql.js +3 -3
- package/js/host.js +2 -2
- package/js/mcp/effect.js +3 -3
- package/js/mcp.js +4 -4
- package/js/openapi.js +9 -8
- package/package.json +1 -1
- package/runtime.json +1 -1
- package/types/apps/src/contracts/openapi.d.ts +7 -0
|
@@ -255,6 +255,13 @@ export declare const defaultOpenapiResponseLimits: {
|
|
|
255
255
|
* items OpenAPI 3.2 describes with `itemSchema`. The body is not one JSON value.
|
|
256
256
|
*/
|
|
257
257
|
export declare const isOpenapiJsonSequence: (type: string) => boolean;
|
|
258
|
+
/**
|
|
259
|
+
* One JSON value: `application/json`, `text/json`, `application/x-json`, AWS's
|
|
260
|
+
* `application/x-amz-json-1.0` and `1.1`, or a structured `+json` type under any top-level type
|
|
261
|
+
* (RFC 6839). Not every type that contains "json": Tailscale's `application/hujson`, JSONC and
|
|
262
|
+
* JSON5 are text with comments, which encoding or parsing as JSON would break.
|
|
263
|
+
*/
|
|
264
|
+
export declare const isOpenapiJsonMedia: (type: string) => boolean;
|
|
258
265
|
/** Media returned as text rather than a base64 file. JSON sequences remain unparsed text. */
|
|
259
266
|
export declare const isOpenapiTextMedia: (type: string) => boolean;
|
|
260
267
|
/** A form field that carries raw file bytes: OpenAPI 3.1 `contentMediaType` without an
|