@rivetkit/engine-api-full 2.3.0-rc.10 → 2.3.0-rc.11
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/browser/cjs/index.js +44 -6
- package/dist/browser/cjs/serialization.js +44 -6
- package/dist/browser/esm/index.js +44 -6
- package/dist/browser/esm/serialization.js +44 -6
- package/dist/node/cjs/index.js +44 -6
- package/dist/node/cjs/serialization.js +46 -6
- package/dist/node/esm/index.js +44 -6
- package/dist/node/esm/serialization.js +44 -6
- package/package.json +1 -1
- package/types/api/types/RunnerConfig.d.ts +2 -1
- package/types/api/types/RunnerConfigKindNormal.d.ts +2 -1
- package/types/api/types/RunnerConfigKindNormalNormal.d.ts +12 -0
- package/types/api/types/RunnerConfigKindServerlessServerless.d.ts +9 -2
- package/types/api/types/RunnerConfigNormal.d.ts +12 -0
- package/types/api/types/RunnerConfigServerless.d.ts +9 -2
- package/types/api/types/index.d.ts +2 -0
- package/types/serialization/types/RunnerConfig.d.ts +2 -1
- package/types/serialization/types/RunnerConfigKindNormal.d.ts +2 -1
- package/types/serialization/types/RunnerConfigKindNormalNormal.d.ts +15 -0
- package/types/serialization/types/RunnerConfigKindServerlessServerless.d.ts +6 -2
- package/types/serialization/types/RunnerConfigNormal.d.ts +15 -0
- package/types/serialization/types/RunnerConfigServerless.d.ts +6 -2
- package/types/serialization/types/index.d.ts +2 -0
|
@@ -2377,8 +2377,10 @@ __export(serialization_exports, {
|
|
|
2377
2377
|
RunnerConfig: () => RunnerConfig,
|
|
2378
2378
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
2379
2379
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
2380
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
2380
2381
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
2381
2382
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
2383
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
2382
2384
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
2383
2385
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
2384
2386
|
RunnerConfigVariant: () => RunnerConfigVariant2,
|
|
@@ -2590,23 +2592,41 @@ var Runner = schemas_exports.object({
|
|
|
2590
2592
|
version: schemas_exports.number()
|
|
2591
2593
|
});
|
|
2592
2594
|
|
|
2595
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2596
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2597
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2598
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2599
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2600
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2601
|
+
"drain_on_version_upgrade",
|
|
2602
|
+
schemas_exports.boolean().optional()
|
|
2603
|
+
)
|
|
2604
|
+
});
|
|
2605
|
+
|
|
2593
2606
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2594
2607
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2608
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2609
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2610
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2595
2611
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2612
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2613
|
+
"drain_on_version_upgrade",
|
|
2614
|
+
schemas_exports.boolean().optional()
|
|
2615
|
+
),
|
|
2596
2616
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2597
2617
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2598
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2618
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2599
2619
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2600
2620
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2601
2621
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2602
2622
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2603
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2623
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2604
2624
|
url: schemas_exports.string()
|
|
2605
2625
|
});
|
|
2606
2626
|
|
|
2607
2627
|
// src/serialization/types/RunnerConfig.ts
|
|
2608
2628
|
var RunnerConfig = schemas_exports.object({
|
|
2609
|
-
normal:
|
|
2629
|
+
normal: RunnerConfigNormal.optional(),
|
|
2610
2630
|
serverless: RunnerConfigServerless.optional(),
|
|
2611
2631
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2612
2632
|
"drain_on_version_upgrade",
|
|
@@ -2615,22 +2635,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2615
2635
|
metadata: schemas_exports.unknown().optional()
|
|
2616
2636
|
});
|
|
2617
2637
|
|
|
2638
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2639
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2640
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2641
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2642
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2643
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2644
|
+
"drain_on_version_upgrade",
|
|
2645
|
+
schemas_exports.boolean().optional()
|
|
2646
|
+
)
|
|
2647
|
+
});
|
|
2648
|
+
|
|
2618
2649
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2619
2650
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2620
|
-
normal:
|
|
2651
|
+
normal: RunnerConfigKindNormalNormal
|
|
2621
2652
|
});
|
|
2622
2653
|
|
|
2623
2654
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2624
2655
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2656
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2657
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2658
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2625
2659
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2660
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2661
|
+
"drain_on_version_upgrade",
|
|
2662
|
+
schemas_exports.boolean().optional()
|
|
2663
|
+
),
|
|
2626
2664
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2627
2665
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2628
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2666
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2629
2667
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2630
2668
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2631
2669
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2632
2670
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2633
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2671
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2634
2672
|
url: schemas_exports.string()
|
|
2635
2673
|
});
|
|
2636
2674
|
|
|
@@ -64,8 +64,10 @@ __export(serialization_exports, {
|
|
|
64
64
|
RunnerConfig: () => RunnerConfig,
|
|
65
65
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
66
66
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
67
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
67
68
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
68
69
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
70
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
69
71
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
70
72
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
71
73
|
RunnerConfigVariant: () => RunnerConfigVariant,
|
|
@@ -1740,23 +1742,41 @@ var Runner = schemas_exports.object({
|
|
|
1740
1742
|
version: schemas_exports.number()
|
|
1741
1743
|
});
|
|
1742
1744
|
|
|
1745
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1746
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1747
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1748
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1749
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1750
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1751
|
+
"drain_on_version_upgrade",
|
|
1752
|
+
schemas_exports.boolean().optional()
|
|
1753
|
+
)
|
|
1754
|
+
});
|
|
1755
|
+
|
|
1743
1756
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1744
1757
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1758
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1759
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1760
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1745
1761
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1762
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1763
|
+
"drain_on_version_upgrade",
|
|
1764
|
+
schemas_exports.boolean().optional()
|
|
1765
|
+
),
|
|
1746
1766
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1747
1767
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1748
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1768
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1749
1769
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1750
1770
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1751
1771
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1752
1772
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1753
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1773
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1754
1774
|
url: schemas_exports.string()
|
|
1755
1775
|
});
|
|
1756
1776
|
|
|
1757
1777
|
// src/serialization/types/RunnerConfig.ts
|
|
1758
1778
|
var RunnerConfig = schemas_exports.object({
|
|
1759
|
-
normal:
|
|
1779
|
+
normal: RunnerConfigNormal.optional(),
|
|
1760
1780
|
serverless: RunnerConfigServerless.optional(),
|
|
1761
1781
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1762
1782
|
"drain_on_version_upgrade",
|
|
@@ -1765,22 +1785,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1765
1785
|
metadata: schemas_exports.unknown().optional()
|
|
1766
1786
|
});
|
|
1767
1787
|
|
|
1788
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1789
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1790
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1791
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1792
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1793
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1794
|
+
"drain_on_version_upgrade",
|
|
1795
|
+
schemas_exports.boolean().optional()
|
|
1796
|
+
)
|
|
1797
|
+
});
|
|
1798
|
+
|
|
1768
1799
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1769
1800
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1770
|
-
normal:
|
|
1801
|
+
normal: RunnerConfigKindNormalNormal
|
|
1771
1802
|
});
|
|
1772
1803
|
|
|
1773
1804
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1774
1805
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1806
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1807
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1808
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1775
1809
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1810
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1811
|
+
"drain_on_version_upgrade",
|
|
1812
|
+
schemas_exports.boolean().optional()
|
|
1813
|
+
),
|
|
1776
1814
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1777
1815
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1778
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1816
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1779
1817
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1780
1818
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1781
1819
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1782
1820
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1783
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1821
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1784
1822
|
url: schemas_exports.string()
|
|
1785
1823
|
});
|
|
1786
1824
|
|
|
@@ -2344,8 +2344,10 @@ __export(serialization_exports, {
|
|
|
2344
2344
|
RunnerConfig: () => RunnerConfig,
|
|
2345
2345
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
2346
2346
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
2347
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
2347
2348
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
2348
2349
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
2350
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
2349
2351
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
2350
2352
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
2351
2353
|
RunnerConfigVariant: () => RunnerConfigVariant2,
|
|
@@ -2557,23 +2559,41 @@ var Runner = schemas_exports.object({
|
|
|
2557
2559
|
version: schemas_exports.number()
|
|
2558
2560
|
});
|
|
2559
2561
|
|
|
2562
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2563
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2564
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2565
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2566
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2567
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2568
|
+
"drain_on_version_upgrade",
|
|
2569
|
+
schemas_exports.boolean().optional()
|
|
2570
|
+
)
|
|
2571
|
+
});
|
|
2572
|
+
|
|
2560
2573
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2561
2574
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2575
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2576
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2577
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2562
2578
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2579
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2580
|
+
"drain_on_version_upgrade",
|
|
2581
|
+
schemas_exports.boolean().optional()
|
|
2582
|
+
),
|
|
2563
2583
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2564
2584
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2565
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2585
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2566
2586
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2567
2587
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2568
2588
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2569
2589
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2570
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2590
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2571
2591
|
url: schemas_exports.string()
|
|
2572
2592
|
});
|
|
2573
2593
|
|
|
2574
2594
|
// src/serialization/types/RunnerConfig.ts
|
|
2575
2595
|
var RunnerConfig = schemas_exports.object({
|
|
2576
|
-
normal:
|
|
2596
|
+
normal: RunnerConfigNormal.optional(),
|
|
2577
2597
|
serverless: RunnerConfigServerless.optional(),
|
|
2578
2598
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2579
2599
|
"drain_on_version_upgrade",
|
|
@@ -2582,22 +2602,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2582
2602
|
metadata: schemas_exports.unknown().optional()
|
|
2583
2603
|
});
|
|
2584
2604
|
|
|
2605
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2606
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2607
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2608
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2609
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2610
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2611
|
+
"drain_on_version_upgrade",
|
|
2612
|
+
schemas_exports.boolean().optional()
|
|
2613
|
+
)
|
|
2614
|
+
});
|
|
2615
|
+
|
|
2585
2616
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2586
2617
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2587
|
-
normal:
|
|
2618
|
+
normal: RunnerConfigKindNormalNormal
|
|
2588
2619
|
});
|
|
2589
2620
|
|
|
2590
2621
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2591
2622
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2623
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2624
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2625
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2592
2626
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2627
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2628
|
+
"drain_on_version_upgrade",
|
|
2629
|
+
schemas_exports.boolean().optional()
|
|
2630
|
+
),
|
|
2593
2631
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2594
2632
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2595
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2633
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2596
2634
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2597
2635
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2598
2636
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2599
2637
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2600
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2638
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2601
2639
|
url: schemas_exports.string()
|
|
2602
2640
|
});
|
|
2603
2641
|
|
|
@@ -1655,23 +1655,41 @@ var Runner = schemas_exports.object({
|
|
|
1655
1655
|
version: schemas_exports.number()
|
|
1656
1656
|
});
|
|
1657
1657
|
|
|
1658
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1659
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1660
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1661
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1662
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1663
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1664
|
+
"drain_on_version_upgrade",
|
|
1665
|
+
schemas_exports.boolean().optional()
|
|
1666
|
+
)
|
|
1667
|
+
});
|
|
1668
|
+
|
|
1658
1669
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1659
1670
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1671
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1672
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1673
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1660
1674
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1675
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1676
|
+
"drain_on_version_upgrade",
|
|
1677
|
+
schemas_exports.boolean().optional()
|
|
1678
|
+
),
|
|
1661
1679
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1662
1680
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1663
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1681
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1664
1682
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1665
1683
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1666
1684
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1667
1685
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1668
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1686
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1669
1687
|
url: schemas_exports.string()
|
|
1670
1688
|
});
|
|
1671
1689
|
|
|
1672
1690
|
// src/serialization/types/RunnerConfig.ts
|
|
1673
1691
|
var RunnerConfig = schemas_exports.object({
|
|
1674
|
-
normal:
|
|
1692
|
+
normal: RunnerConfigNormal.optional(),
|
|
1675
1693
|
serverless: RunnerConfigServerless.optional(),
|
|
1676
1694
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1677
1695
|
"drain_on_version_upgrade",
|
|
@@ -1680,22 +1698,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1680
1698
|
metadata: schemas_exports.unknown().optional()
|
|
1681
1699
|
});
|
|
1682
1700
|
|
|
1701
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1702
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1703
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1704
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1705
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1706
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1707
|
+
"drain_on_version_upgrade",
|
|
1708
|
+
schemas_exports.boolean().optional()
|
|
1709
|
+
)
|
|
1710
|
+
});
|
|
1711
|
+
|
|
1683
1712
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1684
1713
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1685
|
-
normal:
|
|
1714
|
+
normal: RunnerConfigKindNormalNormal
|
|
1686
1715
|
});
|
|
1687
1716
|
|
|
1688
1717
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1689
1718
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1719
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1720
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1721
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1690
1722
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1723
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1724
|
+
"drain_on_version_upgrade",
|
|
1725
|
+
schemas_exports.boolean().optional()
|
|
1726
|
+
),
|
|
1691
1727
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1692
1728
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1693
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1729
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1694
1730
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1695
1731
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1696
1732
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1697
1733
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1698
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1734
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1699
1735
|
url: schemas_exports.string()
|
|
1700
1736
|
});
|
|
1701
1737
|
|
|
@@ -1869,8 +1905,10 @@ export {
|
|
|
1869
1905
|
RunnerConfig,
|
|
1870
1906
|
RunnerConfigKind,
|
|
1871
1907
|
RunnerConfigKindNormal,
|
|
1908
|
+
RunnerConfigKindNormalNormal,
|
|
1872
1909
|
RunnerConfigKindServerless,
|
|
1873
1910
|
RunnerConfigKindServerlessServerless,
|
|
1911
|
+
RunnerConfigNormal,
|
|
1874
1912
|
RunnerConfigResponse,
|
|
1875
1913
|
RunnerConfigServerless,
|
|
1876
1914
|
RunnerConfigVariant,
|
package/dist/node/cjs/index.js
CHANGED
|
@@ -2382,8 +2382,10 @@ __export(serialization_exports, {
|
|
|
2382
2382
|
RunnerConfig: () => RunnerConfig,
|
|
2383
2383
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
2384
2384
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
2385
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
2385
2386
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
2386
2387
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
2388
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
2387
2389
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
2388
2390
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
2389
2391
|
RunnerConfigVariant: () => RunnerConfigVariant2,
|
|
@@ -2595,23 +2597,41 @@ var Runner = schemas_exports.object({
|
|
|
2595
2597
|
version: schemas_exports.number()
|
|
2596
2598
|
});
|
|
2597
2599
|
|
|
2600
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2601
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2602
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2603
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2604
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2605
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2606
|
+
"drain_on_version_upgrade",
|
|
2607
|
+
schemas_exports.boolean().optional()
|
|
2608
|
+
)
|
|
2609
|
+
});
|
|
2610
|
+
|
|
2598
2611
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2599
2612
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2613
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2614
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2615
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2600
2616
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2617
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2618
|
+
"drain_on_version_upgrade",
|
|
2619
|
+
schemas_exports.boolean().optional()
|
|
2620
|
+
),
|
|
2601
2621
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2602
2622
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2603
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2623
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2604
2624
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2605
2625
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2606
2626
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2607
2627
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2608
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2628
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2609
2629
|
url: schemas_exports.string()
|
|
2610
2630
|
});
|
|
2611
2631
|
|
|
2612
2632
|
// src/serialization/types/RunnerConfig.ts
|
|
2613
2633
|
var RunnerConfig = schemas_exports.object({
|
|
2614
|
-
normal:
|
|
2634
|
+
normal: RunnerConfigNormal.optional(),
|
|
2615
2635
|
serverless: RunnerConfigServerless.optional(),
|
|
2616
2636
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2617
2637
|
"drain_on_version_upgrade",
|
|
@@ -2620,22 +2640,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2620
2640
|
metadata: schemas_exports.unknown().optional()
|
|
2621
2641
|
});
|
|
2622
2642
|
|
|
2643
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2644
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2645
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2646
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2647
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2648
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2649
|
+
"drain_on_version_upgrade",
|
|
2650
|
+
schemas_exports.boolean().optional()
|
|
2651
|
+
)
|
|
2652
|
+
});
|
|
2653
|
+
|
|
2623
2654
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2624
2655
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2625
|
-
normal:
|
|
2656
|
+
normal: RunnerConfigKindNormalNormal
|
|
2626
2657
|
});
|
|
2627
2658
|
|
|
2628
2659
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2629
2660
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2661
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2662
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2663
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2630
2664
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2665
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2666
|
+
"drain_on_version_upgrade",
|
|
2667
|
+
schemas_exports.boolean().optional()
|
|
2668
|
+
),
|
|
2631
2669
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2632
2670
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2633
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2671
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2634
2672
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2635
2673
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2636
2674
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2637
2675
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2638
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2676
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2639
2677
|
url: schemas_exports.string()
|
|
2640
2678
|
});
|
|
2641
2679
|
|
|
@@ -64,8 +64,10 @@ __export(serialization_exports, {
|
|
|
64
64
|
RunnerConfig: () => RunnerConfig,
|
|
65
65
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
66
66
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
67
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
67
68
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
68
69
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
70
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
69
71
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
70
72
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
71
73
|
RunnerConfigVariant: () => RunnerConfigVariant,
|
|
@@ -1741,23 +1743,41 @@ var Runner = schemas_exports.object({
|
|
|
1741
1743
|
version: schemas_exports.number()
|
|
1742
1744
|
});
|
|
1743
1745
|
|
|
1746
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1747
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1748
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1749
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1750
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1751
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1752
|
+
"drain_on_version_upgrade",
|
|
1753
|
+
schemas_exports.boolean().optional()
|
|
1754
|
+
)
|
|
1755
|
+
});
|
|
1756
|
+
|
|
1744
1757
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1745
1758
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1759
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1760
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1761
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1746
1762
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1763
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1764
|
+
"drain_on_version_upgrade",
|
|
1765
|
+
schemas_exports.boolean().optional()
|
|
1766
|
+
),
|
|
1747
1767
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1748
1768
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1749
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1769
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1750
1770
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1751
1771
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1752
1772
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1753
1773
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1754
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1774
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1755
1775
|
url: schemas_exports.string()
|
|
1756
1776
|
});
|
|
1757
1777
|
|
|
1758
1778
|
// src/serialization/types/RunnerConfig.ts
|
|
1759
1779
|
var RunnerConfig = schemas_exports.object({
|
|
1760
|
-
normal:
|
|
1780
|
+
normal: RunnerConfigNormal.optional(),
|
|
1761
1781
|
serverless: RunnerConfigServerless.optional(),
|
|
1762
1782
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1763
1783
|
"drain_on_version_upgrade",
|
|
@@ -1766,22 +1786,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1766
1786
|
metadata: schemas_exports.unknown().optional()
|
|
1767
1787
|
});
|
|
1768
1788
|
|
|
1789
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1790
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1791
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1792
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1793
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1794
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1795
|
+
"drain_on_version_upgrade",
|
|
1796
|
+
schemas_exports.boolean().optional()
|
|
1797
|
+
)
|
|
1798
|
+
});
|
|
1799
|
+
|
|
1769
1800
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1770
1801
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1771
|
-
normal:
|
|
1802
|
+
normal: RunnerConfigKindNormalNormal
|
|
1772
1803
|
});
|
|
1773
1804
|
|
|
1774
1805
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1775
1806
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1807
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1808
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1809
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1776
1810
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1811
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1812
|
+
"drain_on_version_upgrade",
|
|
1813
|
+
schemas_exports.boolean().optional()
|
|
1814
|
+
),
|
|
1777
1815
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1778
1816
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1779
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1817
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1780
1818
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1781
1819
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1782
1820
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1783
1821
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1784
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1822
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1785
1823
|
url: schemas_exports.string()
|
|
1786
1824
|
});
|
|
1787
1825
|
|
|
@@ -1956,8 +1994,10 @@ var NamespacesCreateRequest = schemas_exports.object({
|
|
|
1956
1994
|
RunnerConfig,
|
|
1957
1995
|
RunnerConfigKind,
|
|
1958
1996
|
RunnerConfigKindNormal,
|
|
1997
|
+
RunnerConfigKindNormalNormal,
|
|
1959
1998
|
RunnerConfigKindServerless,
|
|
1960
1999
|
RunnerConfigKindServerlessServerless,
|
|
2000
|
+
RunnerConfigNormal,
|
|
1961
2001
|
RunnerConfigResponse,
|
|
1962
2002
|
RunnerConfigServerless,
|
|
1963
2003
|
RunnerConfigVariant,
|
package/dist/node/esm/index.js
CHANGED
|
@@ -2349,8 +2349,10 @@ __export(serialization_exports, {
|
|
|
2349
2349
|
RunnerConfig: () => RunnerConfig,
|
|
2350
2350
|
RunnerConfigKind: () => RunnerConfigKind,
|
|
2351
2351
|
RunnerConfigKindNormal: () => RunnerConfigKindNormal,
|
|
2352
|
+
RunnerConfigKindNormalNormal: () => RunnerConfigKindNormalNormal,
|
|
2352
2353
|
RunnerConfigKindServerless: () => RunnerConfigKindServerless,
|
|
2353
2354
|
RunnerConfigKindServerlessServerless: () => RunnerConfigKindServerlessServerless,
|
|
2355
|
+
RunnerConfigNormal: () => RunnerConfigNormal,
|
|
2354
2356
|
RunnerConfigResponse: () => RunnerConfigResponse,
|
|
2355
2357
|
RunnerConfigServerless: () => RunnerConfigServerless,
|
|
2356
2358
|
RunnerConfigVariant: () => RunnerConfigVariant2,
|
|
@@ -2562,23 +2564,41 @@ var Runner = schemas_exports.object({
|
|
|
2562
2564
|
version: schemas_exports.number()
|
|
2563
2565
|
});
|
|
2564
2566
|
|
|
2567
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2568
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2569
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2570
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2571
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2572
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2573
|
+
"drain_on_version_upgrade",
|
|
2574
|
+
schemas_exports.boolean().optional()
|
|
2575
|
+
)
|
|
2576
|
+
});
|
|
2577
|
+
|
|
2565
2578
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2566
2579
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2580
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2581
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2582
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2567
2583
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2584
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2585
|
+
"drain_on_version_upgrade",
|
|
2586
|
+
schemas_exports.boolean().optional()
|
|
2587
|
+
),
|
|
2568
2588
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2569
2589
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2570
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2590
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2571
2591
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2572
2592
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2573
2593
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2574
2594
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2575
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2595
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2576
2596
|
url: schemas_exports.string()
|
|
2577
2597
|
});
|
|
2578
2598
|
|
|
2579
2599
|
// src/serialization/types/RunnerConfig.ts
|
|
2580
2600
|
var RunnerConfig = schemas_exports.object({
|
|
2581
|
-
normal:
|
|
2601
|
+
normal: RunnerConfigNormal.optional(),
|
|
2582
2602
|
serverless: RunnerConfigServerless.optional(),
|
|
2583
2603
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2584
2604
|
"drain_on_version_upgrade",
|
|
@@ -2587,22 +2607,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2587
2607
|
metadata: schemas_exports.unknown().optional()
|
|
2588
2608
|
});
|
|
2589
2609
|
|
|
2610
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2611
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2612
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2613
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2614
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2615
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2616
|
+
"drain_on_version_upgrade",
|
|
2617
|
+
schemas_exports.boolean().optional()
|
|
2618
|
+
)
|
|
2619
|
+
});
|
|
2620
|
+
|
|
2590
2621
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2591
2622
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2592
|
-
normal:
|
|
2623
|
+
normal: RunnerConfigKindNormalNormal
|
|
2593
2624
|
});
|
|
2594
2625
|
|
|
2595
2626
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2596
2627
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2628
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2629
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2630
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2597
2631
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2632
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2633
|
+
"drain_on_version_upgrade",
|
|
2634
|
+
schemas_exports.boolean().optional()
|
|
2635
|
+
),
|
|
2598
2636
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2599
2637
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2600
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2638
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2601
2639
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2602
2640
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2603
2641
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2604
2642
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2605
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2643
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2606
2644
|
url: schemas_exports.string()
|
|
2607
2645
|
});
|
|
2608
2646
|
|
|
@@ -1656,23 +1656,41 @@ var Runner = schemas_exports.object({
|
|
|
1656
1656
|
version: schemas_exports.number()
|
|
1657
1657
|
});
|
|
1658
1658
|
|
|
1659
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1660
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1661
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1662
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1663
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1664
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1665
|
+
"drain_on_version_upgrade",
|
|
1666
|
+
schemas_exports.boolean().optional()
|
|
1667
|
+
)
|
|
1668
|
+
});
|
|
1669
|
+
|
|
1659
1670
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1660
1671
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1672
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1673
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1674
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1661
1675
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1676
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1677
|
+
"drain_on_version_upgrade",
|
|
1678
|
+
schemas_exports.boolean().optional()
|
|
1679
|
+
),
|
|
1662
1680
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1663
1681
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1664
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1682
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1665
1683
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1666
1684
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1667
1685
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1668
1686
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1669
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1687
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1670
1688
|
url: schemas_exports.string()
|
|
1671
1689
|
});
|
|
1672
1690
|
|
|
1673
1691
|
// src/serialization/types/RunnerConfig.ts
|
|
1674
1692
|
var RunnerConfig = schemas_exports.object({
|
|
1675
|
-
normal:
|
|
1693
|
+
normal: RunnerConfigNormal.optional(),
|
|
1676
1694
|
serverless: RunnerConfigServerless.optional(),
|
|
1677
1695
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1678
1696
|
"drain_on_version_upgrade",
|
|
@@ -1681,22 +1699,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1681
1699
|
metadata: schemas_exports.unknown().optional()
|
|
1682
1700
|
});
|
|
1683
1701
|
|
|
1702
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1703
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1704
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1705
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1706
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1707
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1708
|
+
"drain_on_version_upgrade",
|
|
1709
|
+
schemas_exports.boolean().optional()
|
|
1710
|
+
)
|
|
1711
|
+
});
|
|
1712
|
+
|
|
1684
1713
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1685
1714
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1686
|
-
normal:
|
|
1715
|
+
normal: RunnerConfigKindNormalNormal
|
|
1687
1716
|
});
|
|
1688
1717
|
|
|
1689
1718
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1690
1719
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1720
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1721
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1722
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1691
1723
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1724
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1725
|
+
"drain_on_version_upgrade",
|
|
1726
|
+
schemas_exports.boolean().optional()
|
|
1727
|
+
),
|
|
1692
1728
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1693
1729
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1694
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1730
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1695
1731
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1696
1732
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1697
1733
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1698
1734
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1699
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1735
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1700
1736
|
url: schemas_exports.string()
|
|
1701
1737
|
});
|
|
1702
1738
|
|
|
@@ -1870,8 +1906,10 @@ export {
|
|
|
1870
1906
|
RunnerConfig,
|
|
1871
1907
|
RunnerConfigKind,
|
|
1872
1908
|
RunnerConfigKindNormal,
|
|
1909
|
+
RunnerConfigKindNormalNormal,
|
|
1873
1910
|
RunnerConfigKindServerless,
|
|
1874
1911
|
RunnerConfigKindServerlessServerless,
|
|
1912
|
+
RunnerConfigNormal,
|
|
1875
1913
|
RunnerConfigResponse,
|
|
1876
1914
|
RunnerConfigServerless,
|
|
1877
1915
|
RunnerConfigVariant,
|
package/package.json
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Rivet from "../index";
|
|
5
5
|
export interface RunnerConfig {
|
|
6
|
-
normal?:
|
|
6
|
+
normal?: Rivet.RunnerConfigNormal;
|
|
7
7
|
serverless?: Rivet.RunnerConfigServerless;
|
|
8
|
+
/** Deprecated. */
|
|
8
9
|
drainOnVersionUpgrade?: boolean;
|
|
9
10
|
metadata?: unknown;
|
|
10
11
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface RunnerConfigKindNormalNormal {
|
|
5
|
+
/** Seconds. */
|
|
6
|
+
actorEvictionDelay?: number;
|
|
7
|
+
/** Seconds. */
|
|
8
|
+
actorEvictionPeriod?: number;
|
|
9
|
+
/** Actors per second. */
|
|
10
|
+
actorEvictionRate?: number;
|
|
11
|
+
drainOnVersionUpgrade?: boolean;
|
|
12
|
+
}
|
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface RunnerConfigKindServerlessServerless {
|
|
5
|
+
/** Seconds. */
|
|
6
|
+
actorEvictionDelay?: number;
|
|
7
|
+
/** Seconds. */
|
|
8
|
+
actorEvictionPeriod?: number;
|
|
9
|
+
/** Actors per second. */
|
|
10
|
+
actorEvictionRate?: number;
|
|
5
11
|
/** Seconds. */
|
|
6
12
|
drainGracePeriod?: number;
|
|
13
|
+
drainOnVersionUpgrade?: boolean;
|
|
7
14
|
headers?: Record<string, string>;
|
|
8
15
|
maxConcurrentActors?: number;
|
|
9
16
|
/** Deprecated. */
|
|
10
|
-
maxRunners
|
|
17
|
+
maxRunners?: number;
|
|
11
18
|
/** Milliseconds between metadata polling. If not set, uses the global default. */
|
|
12
19
|
metadataPollInterval?: number;
|
|
13
20
|
/** Deprecated. */
|
|
@@ -17,6 +24,6 @@ export interface RunnerConfigKindServerlessServerless {
|
|
|
17
24
|
/** Deprecated. */
|
|
18
25
|
runnersMargin?: number;
|
|
19
26
|
/** Deprecated. */
|
|
20
|
-
slotsPerRunner
|
|
27
|
+
slotsPerRunner?: number;
|
|
21
28
|
url: string;
|
|
22
29
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface RunnerConfigNormal {
|
|
5
|
+
/** Seconds. */
|
|
6
|
+
actorEvictionDelay?: number;
|
|
7
|
+
/** Seconds. */
|
|
8
|
+
actorEvictionPeriod?: number;
|
|
9
|
+
/** Actors per second. */
|
|
10
|
+
actorEvictionRate?: number;
|
|
11
|
+
drainOnVersionUpgrade?: boolean;
|
|
12
|
+
}
|
|
@@ -2,12 +2,19 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface RunnerConfigServerless {
|
|
5
|
+
/** Seconds. */
|
|
6
|
+
actorEvictionDelay?: number;
|
|
7
|
+
/** Seconds. */
|
|
8
|
+
actorEvictionPeriod?: number;
|
|
9
|
+
/** Actors per second. */
|
|
10
|
+
actorEvictionRate?: number;
|
|
5
11
|
/** Seconds. */
|
|
6
12
|
drainGracePeriod?: number;
|
|
13
|
+
drainOnVersionUpgrade?: boolean;
|
|
7
14
|
headers?: Record<string, string>;
|
|
8
15
|
maxConcurrentActors?: number;
|
|
9
16
|
/** Deprecated. */
|
|
10
|
-
maxRunners
|
|
17
|
+
maxRunners?: number;
|
|
11
18
|
/** Milliseconds between metadata polling. If not set, uses the global default. */
|
|
12
19
|
metadataPollInterval?: number;
|
|
13
20
|
/** Deprecated. */
|
|
@@ -17,6 +24,6 @@ export interface RunnerConfigServerless {
|
|
|
17
24
|
/** Deprecated. */
|
|
18
25
|
runnersMargin?: number;
|
|
19
26
|
/** Deprecated. */
|
|
20
|
-
slotsPerRunner
|
|
27
|
+
slotsPerRunner?: number;
|
|
21
28
|
url: string;
|
|
22
29
|
}
|
|
@@ -26,8 +26,10 @@ export * from "./NamespacesCreateResponse";
|
|
|
26
26
|
export * from "./Pagination";
|
|
27
27
|
export * from "./RivetId";
|
|
28
28
|
export * from "./Runner";
|
|
29
|
+
export * from "./RunnerConfigNormal";
|
|
29
30
|
export * from "./RunnerConfigServerless";
|
|
30
31
|
export * from "./RunnerConfig";
|
|
32
|
+
export * from "./RunnerConfigKindNormalNormal";
|
|
31
33
|
export * from "./RunnerConfigKindNormal";
|
|
32
34
|
export * from "./RunnerConfigKindServerlessServerless";
|
|
33
35
|
export * from "./RunnerConfigKindServerless";
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Rivet from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { RunnerConfigNormal } from "./RunnerConfigNormal";
|
|
7
8
|
import { RunnerConfigServerless } from "./RunnerConfigServerless";
|
|
8
9
|
export declare const RunnerConfig: core.serialization.ObjectSchema<serializers.RunnerConfig.Raw, Rivet.RunnerConfig>;
|
|
9
10
|
export declare namespace RunnerConfig {
|
|
10
11
|
interface Raw {
|
|
11
|
-
normal?:
|
|
12
|
+
normal?: RunnerConfigNormal.Raw | null;
|
|
12
13
|
serverless?: RunnerConfigServerless.Raw | null;
|
|
13
14
|
drain_on_version_upgrade?: boolean | null;
|
|
14
15
|
metadata?: unknown | null;
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Rivet from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { RunnerConfigKindNormalNormal } from "./RunnerConfigKindNormalNormal";
|
|
7
8
|
export declare const RunnerConfigKindNormal: core.serialization.ObjectSchema<serializers.RunnerConfigKindNormal.Raw, Rivet.RunnerConfigKindNormal>;
|
|
8
9
|
export declare namespace RunnerConfigKindNormal {
|
|
9
10
|
interface Raw {
|
|
10
|
-
normal:
|
|
11
|
+
normal: RunnerConfigKindNormalNormal.Raw;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Rivet from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const RunnerConfigKindNormalNormal: core.serialization.ObjectSchema<serializers.RunnerConfigKindNormalNormal.Raw, Rivet.RunnerConfigKindNormalNormal>;
|
|
8
|
+
export declare namespace RunnerConfigKindNormalNormal {
|
|
9
|
+
interface Raw {
|
|
10
|
+
actor_eviction_delay?: number | null;
|
|
11
|
+
actor_eviction_period?: number | null;
|
|
12
|
+
actor_eviction_rate?: number | null;
|
|
13
|
+
drain_on_version_upgrade?: boolean | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -7,15 +7,19 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const RunnerConfigKindServerlessServerless: core.serialization.ObjectSchema<serializers.RunnerConfigKindServerlessServerless.Raw, Rivet.RunnerConfigKindServerlessServerless>;
|
|
8
8
|
export declare namespace RunnerConfigKindServerlessServerless {
|
|
9
9
|
interface Raw {
|
|
10
|
+
actor_eviction_delay?: number | null;
|
|
11
|
+
actor_eviction_period?: number | null;
|
|
12
|
+
actor_eviction_rate?: number | null;
|
|
10
13
|
drain_grace_period?: number | null;
|
|
14
|
+
drain_on_version_upgrade?: boolean | null;
|
|
11
15
|
headers?: Record<string, string> | null;
|
|
12
16
|
max_concurrent_actors?: number | null;
|
|
13
|
-
max_runners
|
|
17
|
+
max_runners?: number | null;
|
|
14
18
|
metadata_poll_interval?: number | null;
|
|
15
19
|
min_runners?: number | null;
|
|
16
20
|
request_lifespan: number;
|
|
17
21
|
runners_margin?: number | null;
|
|
18
|
-
slots_per_runner
|
|
22
|
+
slots_per_runner?: number | null;
|
|
19
23
|
url: string;
|
|
20
24
|
}
|
|
21
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Rivet from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const RunnerConfigNormal: core.serialization.ObjectSchema<serializers.RunnerConfigNormal.Raw, Rivet.RunnerConfigNormal>;
|
|
8
|
+
export declare namespace RunnerConfigNormal {
|
|
9
|
+
interface Raw {
|
|
10
|
+
actor_eviction_delay?: number | null;
|
|
11
|
+
actor_eviction_period?: number | null;
|
|
12
|
+
actor_eviction_rate?: number | null;
|
|
13
|
+
drain_on_version_upgrade?: boolean | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -7,15 +7,19 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const RunnerConfigServerless: core.serialization.ObjectSchema<serializers.RunnerConfigServerless.Raw, Rivet.RunnerConfigServerless>;
|
|
8
8
|
export declare namespace RunnerConfigServerless {
|
|
9
9
|
interface Raw {
|
|
10
|
+
actor_eviction_delay?: number | null;
|
|
11
|
+
actor_eviction_period?: number | null;
|
|
12
|
+
actor_eviction_rate?: number | null;
|
|
10
13
|
drain_grace_period?: number | null;
|
|
14
|
+
drain_on_version_upgrade?: boolean | null;
|
|
11
15
|
headers?: Record<string, string> | null;
|
|
12
16
|
max_concurrent_actors?: number | null;
|
|
13
|
-
max_runners
|
|
17
|
+
max_runners?: number | null;
|
|
14
18
|
metadata_poll_interval?: number | null;
|
|
15
19
|
min_runners?: number | null;
|
|
16
20
|
request_lifespan: number;
|
|
17
21
|
runners_margin?: number | null;
|
|
18
|
-
slots_per_runner
|
|
22
|
+
slots_per_runner?: number | null;
|
|
19
23
|
url: string;
|
|
20
24
|
}
|
|
21
25
|
}
|
|
@@ -26,8 +26,10 @@ export * from "./NamespacesCreateResponse";
|
|
|
26
26
|
export * from "./Pagination";
|
|
27
27
|
export * from "./RivetId";
|
|
28
28
|
export * from "./Runner";
|
|
29
|
+
export * from "./RunnerConfigNormal";
|
|
29
30
|
export * from "./RunnerConfigServerless";
|
|
30
31
|
export * from "./RunnerConfig";
|
|
32
|
+
export * from "./RunnerConfigKindNormalNormal";
|
|
31
33
|
export * from "./RunnerConfigKindNormal";
|
|
32
34
|
export * from "./RunnerConfigKindServerlessServerless";
|
|
33
35
|
export * from "./RunnerConfigKindServerless";
|