@yieldstar/sqlite-runtime 0.6.0 → 0.6.1

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/bun.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  SqliteHeapClient2,
5
5
  SqliteStoreClient2,
6
6
  SqliteRuntime2
7
- } from "./index-h3h7r4b6.js";
7
+ } from "./index-t60e4kvz.js";
8
8
  import {
9
9
  createSqliteDriver,
10
10
  wrapSqliteStatement
@@ -12,9 +12,10 @@ export declare class ExecutionsDao {
12
12
  getState(executionId: string): ExecutionState | undefined;
13
13
  /**
14
14
  * Up to `limit` claimable execution IDs, earliest due first. `now` is a
15
- * millisecond Unix timestamp from the runtime clock.
15
+ * millisecond Unix timestamp from the runtime clock. When `executionIds` is
16
+ * given, only those executions are considered.
16
17
  */
17
- getClaimableIds(now: number, limit: number): string[];
18
+ getClaimableIds(now: number, limit: number, executionIds?: readonly string[]): string[];
18
19
  /** Returns false when the execution ID is already in use. */
19
20
  insertState(state: ExecutionState): boolean;
20
21
  /** Leaves the parent link as inserted: it is immutable. */
@@ -1 +1 @@
1
- {"version":3,"file":"executions-dao.d.ts","sourceRoot":"","sources":["../../src/dao/executions-dao.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA0BrD;;;;GAIG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,EAAE,CAAe;gBAEb,EAAE,EAAE,YAAY;IAK5B,OAAO;IA0BP,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IASzD;;;OAGG;IACH,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAY1C,6DAA6D;IAC7D,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAwB3C,2DAA2D;IAC3D,WAAW,CAAC,KAAK,EAAE,cAAc;CAsBlC"}
1
+ {"version":3,"file":"executions-dao.d.ts","sourceRoot":"","sources":["../../src/dao/executions-dao.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA0BrD;;;;GAIG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,EAAE,CAAe;gBAEb,EAAE,EAAE,YAAY;IAK5B,OAAO;IA0BP,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS;IASzD;;;;OAIG;IACH,eAAe,CACb,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE;IAmBlC,6DAA6D;IAC7D,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO;IAwB3C,2DAA2D;IAC3D,WAAW,CAAC,KAAK,EAAE,cAAc;CAsBlC"}