docs(pipeline): tag ResponseShape @experimental
ResponseShape reaches the public API only through the mesh signatures MeshControlDeps and RemoteRoute. The CHANGELOG already lists it with the mesh types, so tag it like them, which keeps it outside the freeze. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+7
-2
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ npm treats versions as semver and semver forbids leading zeros.
|
||||
declarations, but nothing exported them, so code could call the API and could not name what it
|
||||
passed or got back. From the root: `ModuleOptions`, `Ctor`, `BusLike`, `ArgSource`,
|
||||
`GraphNodeView`, `GraphRouteView`, `StandardIssue`, `StandardResult`, and, for the experimental
|
||||
mesh, `Link`, `ReconnectOptions`, `ManifestPolicy`, `SocketCtor`, `EventfulSocket`, `RouteEntry`,
|
||||
mesh (tagged `@experimental`, outside the freeze), `Link`, `ReconnectOptions`, `ManifestPolicy`, `SocketCtor`, `EventfulSocket`, `RouteEntry`,
|
||||
`RemoteScopeNode`, `RemoteRoute`, `MeshControlDeps` and `ResponseShape`. From `/deno`:
|
||||
`DenoServeOptions` and `DenoHttpServer`. From `/bun`: `BunServeOptions` and `BunServer`. From
|
||||
`/edge`: `EdgeCtx`. All of them are additions, and nothing was renamed.
|
||||
|
||||
+6
-1
@@ -11,7 +11,12 @@ export interface PipelineStep {
|
||||
origin: string;
|
||||
run: (ctx: any) => any;
|
||||
}
|
||||
/** A fully materialized HTTP response produced by a transformer. */
|
||||
/**
|
||||
* A fully materialized HTTP response produced by a transformer.
|
||||
*
|
||||
* @experimental Public only through the mesh (`MeshControlDeps`, `RemoteRoute`), which needs
|
||||
* `createApp({ experimental: true })`: outside the API freeze, so it may change in a minor release.
|
||||
*/
|
||||
export interface ResponseShape {
|
||||
status: number;
|
||||
/** A value may be an array: `set-cookie` arrays are sent one line per element, others joined with `, `. */
|
||||
|
||||
Reference in new issue
Block a user