@dudousxd/nestjs-durable-core 0.85.3 → 0.85.4

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/index.d.cts CHANGED
@@ -947,12 +947,13 @@ interface WorkflowRun {
947
947
  * from the creating engine. It is DERIVED, never caller input: `StartOptions` has no `origin`, so
948
948
  * nothing a caller passes to `start` can make a run claim another lib's name.
949
949
  *
950
- * `undefined` means UNKNOWN — never "the app". It is what you get for a run created before this
950
+ * `undefined` means NO package origin — the console labels that bucket `app` (the app's own
951
+ * workflows, not declared by any library). It is what you get for a run created before this
951
952
  * field existed, for a registration path that carries no origin (`registerRemote`, convention
952
953
  * routing, a synthesized remote child, or a bare `engine.register` with no `origin` option), and
953
954
  * for a workflow whose declaring package could not be resolved with confidence. A wrong origin is
954
955
  * worse than an absent one: a filter that silently drops runs looks exactly like runs that never
955
- * existed, so callers must render unknown as unknown and never fold it into a real package.
956
+ * existed, so callers must keep the no-origin bucket distinct and never fold it into a real package.
956
957
  */
957
958
  origin?: string | undefined;
958
959
  /**
@@ -1747,11 +1748,11 @@ interface RunQuery {
1747
1748
  * Restrict to runs whose workflow was declared by this package (exact match against
1748
1749
  * {@link WorkflowRun.origin}), ANDed with the other predicates.
1749
1750
  *
1750
- * A run with NO origin (unknown — see the field) matches no `origin` VALUE at all, so a UI facet
1751
+ * A run with NO origin (the console's `app` bucket — see the field) matches no `origin` VALUE at all, so a UI facet
1751
1752
  * built on this must keep an "all origins" option: filtering by any single package silently hides
1752
1753
  * every unattributed run, which reads to an operator as "those runs do not exist". `null` selects
1753
- * exactly that absent bucket (`origin IS NULL`), so a paginated console can offer an "unknown"
1754
- * facet without having to hold every run in the browser to find them.
1754
+ * exactly that absent bucket (`origin IS NULL`), so a paginated console can offer an `app`
1755
+ * (no-origin) facet without having to hold every run in the browser to find them.
1755
1756
  */
1756
1757
  origin?: string | null | undefined;
1757
1758
  /**
package/dist/index.d.ts CHANGED
@@ -947,12 +947,13 @@ interface WorkflowRun {
947
947
  * from the creating engine. It is DERIVED, never caller input: `StartOptions` has no `origin`, so
948
948
  * nothing a caller passes to `start` can make a run claim another lib's name.
949
949
  *
950
- * `undefined` means UNKNOWN — never "the app". It is what you get for a run created before this
950
+ * `undefined` means NO package origin — the console labels that bucket `app` (the app's own
951
+ * workflows, not declared by any library). It is what you get for a run created before this
951
952
  * field existed, for a registration path that carries no origin (`registerRemote`, convention
952
953
  * routing, a synthesized remote child, or a bare `engine.register` with no `origin` option), and
953
954
  * for a workflow whose declaring package could not be resolved with confidence. A wrong origin is
954
955
  * worse than an absent one: a filter that silently drops runs looks exactly like runs that never
955
- * existed, so callers must render unknown as unknown and never fold it into a real package.
956
+ * existed, so callers must keep the no-origin bucket distinct and never fold it into a real package.
956
957
  */
957
958
  origin?: string | undefined;
958
959
  /**
@@ -1747,11 +1748,11 @@ interface RunQuery {
1747
1748
  * Restrict to runs whose workflow was declared by this package (exact match against
1748
1749
  * {@link WorkflowRun.origin}), ANDed with the other predicates.
1749
1750
  *
1750
- * A run with NO origin (unknown — see the field) matches no `origin` VALUE at all, so a UI facet
1751
+ * A run with NO origin (the console's `app` bucket — see the field) matches no `origin` VALUE at all, so a UI facet
1751
1752
  * built on this must keep an "all origins" option: filtering by any single package silently hides
1752
1753
  * every unattributed run, which reads to an operator as "those runs do not exist". `null` selects
1753
- * exactly that absent bucket (`origin IS NULL`), so a paginated console can offer an "unknown"
1754
- * facet without having to hold every run in the browser to find them.
1754
+ * exactly that absent bucket (`origin IS NULL`), so a paginated console can offer an `app`
1755
+ * (no-origin) facet without having to hold every run in the browser to find them.
1755
1756
  */
1756
1757
  origin?: string | null | undefined;
1757
1758
  /**