@rivetkit/engine-api-full 2.0.21 → 2.0.22-rc.2

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.
@@ -2414,6 +2414,7 @@ var Actor = schemas_exports.object({
2414
2414
  name: schemas_exports.string(),
2415
2415
  namespaceId: schemas_exports.property("namespace_id", RivetId),
2416
2416
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
2417
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
2417
2418
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
2418
2419
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
2419
2420
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
@@ -1569,6 +1569,7 @@ var Actor = schemas_exports.object({
1569
1569
  name: schemas_exports.string(),
1570
1570
  namespaceId: schemas_exports.property("namespace_id", RivetId),
1571
1571
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
1572
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
1572
1573
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
1573
1574
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
1574
1575
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
@@ -2381,6 +2381,7 @@ var Actor = schemas_exports.object({
2381
2381
  name: schemas_exports.string(),
2382
2382
  namespaceId: schemas_exports.property("namespace_id", RivetId),
2383
2383
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
2384
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
2384
2385
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
2385
2386
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
2386
2387
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
@@ -1484,6 +1484,7 @@ var Actor = schemas_exports.object({
1484
1484
  name: schemas_exports.string(),
1485
1485
  namespaceId: schemas_exports.property("namespace_id", RivetId),
1486
1486
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
1487
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
1487
1488
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
1488
1489
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
1489
1490
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
@@ -2419,6 +2419,7 @@ var Actor = schemas_exports.object({
2419
2419
  name: schemas_exports.string(),
2420
2420
  namespaceId: schemas_exports.property("namespace_id", RivetId),
2421
2421
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
2422
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
2422
2423
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
2423
2424
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
2424
2425
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
@@ -1570,6 +1570,7 @@ var Actor = schemas_exports.object({
1570
1570
  name: schemas_exports.string(),
1571
1571
  namespaceId: schemas_exports.property("namespace_id", RivetId),
1572
1572
  pendingAllocationTs: schemas_exports.property("pending_allocation_ts", schemas_exports.number().optional()),
1573
+ rescheduleTs: schemas_exports.property("reschedule_ts", schemas_exports.number().optional()),
1573
1574
  runnerNameSelector: schemas_exports.property("runner_name_selector", schemas_exports.string()),
1574
1575
  sleepTs: schemas_exports.property("sleep_ts", schemas_exports.number().optional()),
1575
1576
  startTs: schemas_exports.property("start_ts", schemas_exports.number().optional())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/engine-api-full",
3
- "version": "2.0.21",
3
+ "version": "2.0.22-rc.2",
4
4
  "repository": "https://github.com/rivet-gg/rivet/tree/main/sdks/typescript",
5
5
  "files": [
6
6
  "dist",
@@ -4,16 +4,27 @@
4
4
  import * as Rivet from "../index";
5
5
  export interface Actor {
6
6
  actorId: Rivet.RivetId;
7
+ /** Denotes when the actor was last connectable. Null if actor is not running. */
7
8
  connectableTs?: number;
8
9
  crashPolicy: Rivet.CrashPolicy;
10
+ /** Denotes when the actor was first created. */
9
11
  createTs: number;
10
12
  datacenter: string;
13
+ /** Denotes when the actor was destroyed. */
11
14
  destroyTs?: number;
12
15
  key?: string;
13
16
  name: string;
14
17
  namespaceId: Rivet.RivetId;
18
+ /** Denotes when the actor started waiting for an allocation. */
15
19
  pendingAllocationTs?: number;
20
+ /**
21
+ * Denotes when the actor will try to allocate again. If this is set, the actor will not attempt to
22
+ * allocate until the given timestamp.
23
+ */
24
+ rescheduleTs?: number;
16
25
  runnerNameSelector: string;
26
+ /** Denotes when the actor entered a sleeping state. */
17
27
  sleepTs?: number;
28
+ /** Denotes when the actor was first made connectable. Null if never. */
18
29
  startTs?: number;
19
30
  }
@@ -19,6 +19,7 @@ export declare namespace Actor {
19
19
  name: string;
20
20
  namespace_id: RivetId.Raw;
21
21
  pending_allocation_ts?: number | null;
22
+ reschedule_ts?: number | null;
22
23
  runner_name_selector: string;
23
24
  sleep_ts?: number | null;
24
25
  start_ts?: number | null;