@distilled.cloud/render 1.0.0-rc.21 → 1.0.0-rc.22
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/lib/services/render.d.ts +17 -0
- package/lib/services/render.d.ts.map +1 -1
- package/lib/services/render.js +330 -329
- package/lib/services/render.js.map +1 -1
- package/lib/services.lazy/render.js +2 -2
- package/package.json +4 -4
- package/src/services/render.ts +703 -640
package/lib/services/render.d.ts
CHANGED
|
@@ -5358,6 +5358,20 @@ export interface ScaleServiceRequest {
|
|
|
5358
5358
|
}
|
|
5359
5359
|
export interface ScaleServiceResponse {
|
|
5360
5360
|
}
|
|
5361
|
+
export interface SignalDeliverFlowRunRequest {
|
|
5362
|
+
/** The ID of the flow run */
|
|
5363
|
+
flowRunId: string;
|
|
5364
|
+
/** The channel to deliver the signal on. The flow receives it by waiting on this channel. Use 1 to 128 letters, digits, spaces, `.`, `_` or `-`. URL-encode spaces, as in `hello%20world`. */
|
|
5365
|
+
channelName: string;
|
|
5366
|
+
/** The JSON value the flow receives with the signal, up to 250 KB once whitespace is removed. Omit it, or send null, to deliver a signal with no value. */
|
|
5367
|
+
payload?: unknown | null | undefined;
|
|
5368
|
+
}
|
|
5369
|
+
export interface SignalDeliverFlowRunResponse {
|
|
5370
|
+
flowRunId: string;
|
|
5371
|
+
channelName: string;
|
|
5372
|
+
/** The ID of the delivered signal. */
|
|
5373
|
+
id: string;
|
|
5374
|
+
}
|
|
5361
5375
|
/** Positional arguments passed to the flow function */
|
|
5362
5376
|
export type StartFlowRunRequestInputCase0List = Array<unknown>;
|
|
5363
5377
|
/** Named parameters passed to the flow function as keyword arguments */
|
|
@@ -6719,6 +6733,9 @@ export declare const runCronJob: API.OperationMethod<RunCronJobRequest, CronJobR
|
|
|
6719
6733
|
export type ScaleServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6720
6734
|
/** Scale instance count [Scale](https://render.com/docs/scaling#manual-scaling) the service with the provided ID to a fixed number of instances. Render ignores this value as long as autoscaling is enabled for the service. */
|
|
6721
6735
|
export declare const scaleService: API.OperationMethod<ScaleServiceRequest, ScaleServiceResponse, ScaleServiceError, RenderOpContext>;
|
|
6736
|
+
export type SignalDeliverFlowRunError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
|
|
6737
|
+
/** Deliver flow run signal Deliver a signal to an active flow run on the provided channel. The flow receives the signal's payload when it waits on that channel. Returns 404 if the flow run doesn't exist, and 409 if it has already finished. */
|
|
6738
|
+
export declare const signalDeliverFlowRun: API.OperationMethod<SignalDeliverFlowRunRequest, SignalDeliverFlowRunResponse, SignalDeliverFlowRunError, RenderOpContext>;
|
|
6722
6739
|
export type StartFlowRunError = BadRequest | Forbidden | NotFound | RenderOpError;
|
|
6723
6740
|
/** Start flow run Starts a run of the workflow flow with the provided slug, passing the provided input data. */
|
|
6724
6741
|
export declare const startFlowRun: API.OperationMethod<StartFlowRunRequest, StartFlowRunResponse, StartFlowRunError, RenderOpContext>;
|