docs(mesh): mark the newly exported mesh types @experimental
#181 exported Link, ReconnectOptions, ManifestPolicy, SocketCtor, EventfulSocket, RouteEntry, RemoteScopeNode, RemoteRoute and MeshControlDeps without the tag the other mesh exports carry, so they would have read as part of the frozen API. They are mesh plumbing, outside the freeze like MeshConfig. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
5 files changed
+51
-8
No files matched your search
+12
-2
@@ -2,12 +2,22 @@ import type { Link } from './link';
|
||||
import type { RequestEnvelope } from './protocol';
|
||||
import type { ResponseShape } from '../pipeline';
|
||||
|
||||
/** Local proxy for a remote scope: runs the RPC and returns its token→value binding. */
|
||||
/**
|
||||
* Local proxy for a remote scope: runs the RPC and returns its token→value binding.
|
||||
*
|
||||
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
|
||||
* API freeze, so it may change in a minor release.
|
||||
*/
|
||||
export interface RemoteScopeNode {
|
||||
name: string;
|
||||
run: (ctx: any) => Promise<Record<string, unknown>>;
|
||||
}
|
||||
/** Local proxy for a remote route: forwards the request envelope over the link. */
|
||||
/**
|
||||
* Local proxy for a remote route: forwards the request envelope over the link.
|
||||
*
|
||||
* @experimental Part of the mesh, which needs `createApp({ experimental: true })`: outside the
|
||||
* API freeze, so it may change in a minor release.
|
||||
*/
|
||||
export interface RemoteRoute {
|
||||
method: string;
|
||||
pattern: string;
|
||||
|
||||
Reference in new issue
Block a user