@dudousxd/nestjs-durable-dashboard 0.50.0 → 0.51.0
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/dist/client/durable-client.d.ts +2 -0
- package/dist/client/durable-client.d.ts.map +1 -1
- package/dist/client/durable-client.js +8 -0
- package/dist/client/durable-client.js.map +1 -1
- package/dist/server/index.cjs +380 -290
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +16 -3
- package/dist/server/index.d.ts +16 -3
- package/dist/server/index.js +250 -160
- package/dist/server/index.js.map +1 -1
- package/dist/spa/assets/{bench-bNSq4C-e.js → bench-UvOjwMnz.js} +1 -1
- package/dist/spa/assets/{index-DYEe8Ag-.css → index-BbR4CZ1K.css} +1 -1
- package/dist/spa/assets/{index-CwX0J7uV.js → index-DnQL-Xbv.js} +15 -15
- package/dist/spa/assets/{index-CMQJ1rjL.js → index-ov2ocqi5.js} +1 -1
- package/dist/spa/assets/{preview-CehDLs8M.js → preview-BSiqTdta.js} +1 -1
- package/dist/spa/bench.html +3 -3
- package/dist/spa/index.html +3 -3
- package/dist/spa/preview.html +3 -3
- package/package.json +2 -2
package/dist/server/index.d.cts
CHANGED
|
@@ -319,10 +319,23 @@ declare class DurableApiController {
|
|
|
319
319
|
/**
|
|
320
320
|
* A run's detail. Fans wider than {@link FAN_INLINE_MAX} come back as one `FanSummary` each, their
|
|
321
321
|
* members paged by `runs/:id/fans/:group`; `?full=true` returns every checkpoint instead.
|
|
322
|
+
*
|
|
323
|
+
* When the gateway can version the detail without reading it, the response carries an `ETag`, and
|
|
324
|
+
* a poll whose `If-None-Match` still names it gets a 304 before the timeline is read. The browser
|
|
325
|
+
* sends that header itself (the response is `no-cache`), so a console poll needs no code for it.
|
|
322
326
|
*/
|
|
323
|
-
run(id: string, full?: string): Promise<
|
|
324
|
-
|
|
325
|
-
|
|
327
|
+
run(id: string, full?: string, ifNoneMatch?: string, response?: unknown): Promise<{
|
|
328
|
+
run: _dudousxd_nestjs_durable_core.WorkflowRun;
|
|
329
|
+
timeline: _dudousxd_nestjs_durable_core.StepCheckpoint[];
|
|
330
|
+
children: string[];
|
|
331
|
+
fans?: _dudousxd_nestjs_durable_core.FanSummary[] | undefined;
|
|
332
|
+
childCount?: number | undefined;
|
|
333
|
+
}>;
|
|
334
|
+
/** One page of a summarized fan's members, in seq order. Versioned like {@link run}. */
|
|
335
|
+
fanMembers(id: string, group: string, offset?: string, limit?: string, failed?: string, ifNoneMatch?: string, response?: unknown): Promise<{
|
|
336
|
+
items: _dudousxd_nestjs_durable_core.StepCheckpoint[];
|
|
337
|
+
total: number;
|
|
338
|
+
}>;
|
|
326
339
|
/** Server-Sent Events stream of a run's live lifecycle events — the dashboard tails it instead
|
|
327
340
|
* of polling. Cross-pod when the transport has a control plane (see DashboardService.streamRun). */
|
|
328
341
|
stream(id: string): rxjs.Observable<{
|
package/dist/server/index.d.ts
CHANGED
|
@@ -319,10 +319,23 @@ declare class DurableApiController {
|
|
|
319
319
|
/**
|
|
320
320
|
* A run's detail. Fans wider than {@link FAN_INLINE_MAX} come back as one `FanSummary` each, their
|
|
321
321
|
* members paged by `runs/:id/fans/:group`; `?full=true` returns every checkpoint instead.
|
|
322
|
+
*
|
|
323
|
+
* When the gateway can version the detail without reading it, the response carries an `ETag`, and
|
|
324
|
+
* a poll whose `If-None-Match` still names it gets a 304 before the timeline is read. The browser
|
|
325
|
+
* sends that header itself (the response is `no-cache`), so a console poll needs no code for it.
|
|
322
326
|
*/
|
|
323
|
-
run(id: string, full?: string): Promise<
|
|
324
|
-
|
|
325
|
-
|
|
327
|
+
run(id: string, full?: string, ifNoneMatch?: string, response?: unknown): Promise<{
|
|
328
|
+
run: _dudousxd_nestjs_durable_core.WorkflowRun;
|
|
329
|
+
timeline: _dudousxd_nestjs_durable_core.StepCheckpoint[];
|
|
330
|
+
children: string[];
|
|
331
|
+
fans?: _dudousxd_nestjs_durable_core.FanSummary[] | undefined;
|
|
332
|
+
childCount?: number | undefined;
|
|
333
|
+
}>;
|
|
334
|
+
/** One page of a summarized fan's members, in seq order. Versioned like {@link run}. */
|
|
335
|
+
fanMembers(id: string, group: string, offset?: string, limit?: string, failed?: string, ifNoneMatch?: string, response?: unknown): Promise<{
|
|
336
|
+
items: _dudousxd_nestjs_durable_core.StepCheckpoint[];
|
|
337
|
+
total: number;
|
|
338
|
+
}>;
|
|
326
339
|
/** Server-Sent Events stream of a run's live lifecycle events — the dashboard tails it instead
|
|
327
340
|
* of polling. Cross-pod when the transport has a control plane (see DashboardService.streamRun). */
|
|
328
341
|
stream(id: string): rxjs.Observable<{
|