@rivetkit/engine-api-full 2.3.0-rc.10 → 2.3.0-rc.12
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 +46 -6
- package/dist/browser/cjs/serialization.js +46 -6
- package/dist/browser/esm/index.js +46 -6
- package/dist/browser/esm/serialization.js +46 -6
- package/dist/node/cjs/index.js +46 -6
- package/dist/node/cjs/serialization.js +48 -6
- package/dist/node/esm/index.js +46 -6
- package/dist/node/esm/serialization.js +46 -6
- package/package.json +1 -1
- package/types/api/types/MetadataGetResponse.d.ts +2 -0
- 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/MetadataGetResponse.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,
|
|
@@ -2545,6 +2547,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
2545
2547
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
2546
2548
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
2547
2549
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
2550
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
2551
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
2548
2552
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
2549
2553
|
runtime: schemas_exports.string(),
|
|
2550
2554
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -2590,23 +2594,41 @@ var Runner = schemas_exports.object({
|
|
|
2590
2594
|
version: schemas_exports.number()
|
|
2591
2595
|
});
|
|
2592
2596
|
|
|
2597
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2598
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2599
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2600
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2601
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2602
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2603
|
+
"drain_on_version_upgrade",
|
|
2604
|
+
schemas_exports.boolean().optional()
|
|
2605
|
+
)
|
|
2606
|
+
});
|
|
2607
|
+
|
|
2593
2608
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2594
2609
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2610
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2611
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2612
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2595
2613
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2614
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2615
|
+
"drain_on_version_upgrade",
|
|
2616
|
+
schemas_exports.boolean().optional()
|
|
2617
|
+
),
|
|
2596
2618
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2597
2619
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2598
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2620
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2599
2621
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2600
2622
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2601
2623
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2602
2624
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2603
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2625
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2604
2626
|
url: schemas_exports.string()
|
|
2605
2627
|
});
|
|
2606
2628
|
|
|
2607
2629
|
// src/serialization/types/RunnerConfig.ts
|
|
2608
2630
|
var RunnerConfig = schemas_exports.object({
|
|
2609
|
-
normal:
|
|
2631
|
+
normal: RunnerConfigNormal.optional(),
|
|
2610
2632
|
serverless: RunnerConfigServerless.optional(),
|
|
2611
2633
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2612
2634
|
"drain_on_version_upgrade",
|
|
@@ -2615,22 +2637,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2615
2637
|
metadata: schemas_exports.unknown().optional()
|
|
2616
2638
|
});
|
|
2617
2639
|
|
|
2640
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2641
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2642
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2643
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2644
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2645
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2646
|
+
"drain_on_version_upgrade",
|
|
2647
|
+
schemas_exports.boolean().optional()
|
|
2648
|
+
)
|
|
2649
|
+
});
|
|
2650
|
+
|
|
2618
2651
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2619
2652
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2620
|
-
normal:
|
|
2653
|
+
normal: RunnerConfigKindNormalNormal
|
|
2621
2654
|
});
|
|
2622
2655
|
|
|
2623
2656
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2624
2657
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2658
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2659
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2660
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2625
2661
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2662
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2663
|
+
"drain_on_version_upgrade",
|
|
2664
|
+
schemas_exports.boolean().optional()
|
|
2665
|
+
),
|
|
2626
2666
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2627
2667
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2628
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2668
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2629
2669
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2630
2670
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2631
2671
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2632
2672
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2633
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2673
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2634
2674
|
url: schemas_exports.string()
|
|
2635
2675
|
});
|
|
2636
2676
|
|
|
@@ -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,
|
|
@@ -1695,6 +1697,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
1695
1697
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
1696
1698
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
1697
1699
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
1700
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
1701
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
1698
1702
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
1699
1703
|
runtime: schemas_exports.string(),
|
|
1700
1704
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -1740,23 +1744,41 @@ var Runner = schemas_exports.object({
|
|
|
1740
1744
|
version: schemas_exports.number()
|
|
1741
1745
|
});
|
|
1742
1746
|
|
|
1747
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1748
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1749
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1750
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1751
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1752
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1753
|
+
"drain_on_version_upgrade",
|
|
1754
|
+
schemas_exports.boolean().optional()
|
|
1755
|
+
)
|
|
1756
|
+
});
|
|
1757
|
+
|
|
1743
1758
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1744
1759
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1760
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1761
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1762
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1745
1763
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1764
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1765
|
+
"drain_on_version_upgrade",
|
|
1766
|
+
schemas_exports.boolean().optional()
|
|
1767
|
+
),
|
|
1746
1768
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1747
1769
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1748
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1770
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1749
1771
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1750
1772
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1751
1773
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1752
1774
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1753
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1775
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1754
1776
|
url: schemas_exports.string()
|
|
1755
1777
|
});
|
|
1756
1778
|
|
|
1757
1779
|
// src/serialization/types/RunnerConfig.ts
|
|
1758
1780
|
var RunnerConfig = schemas_exports.object({
|
|
1759
|
-
normal:
|
|
1781
|
+
normal: RunnerConfigNormal.optional(),
|
|
1760
1782
|
serverless: RunnerConfigServerless.optional(),
|
|
1761
1783
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1762
1784
|
"drain_on_version_upgrade",
|
|
@@ -1765,22 +1787,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1765
1787
|
metadata: schemas_exports.unknown().optional()
|
|
1766
1788
|
});
|
|
1767
1789
|
|
|
1790
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1791
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1792
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1793
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1794
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1795
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1796
|
+
"drain_on_version_upgrade",
|
|
1797
|
+
schemas_exports.boolean().optional()
|
|
1798
|
+
)
|
|
1799
|
+
});
|
|
1800
|
+
|
|
1768
1801
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1769
1802
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1770
|
-
normal:
|
|
1803
|
+
normal: RunnerConfigKindNormalNormal
|
|
1771
1804
|
});
|
|
1772
1805
|
|
|
1773
1806
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1774
1807
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1808
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1809
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1810
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1775
1811
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1812
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1813
|
+
"drain_on_version_upgrade",
|
|
1814
|
+
schemas_exports.boolean().optional()
|
|
1815
|
+
),
|
|
1776
1816
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1777
1817
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1778
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1818
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1779
1819
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1780
1820
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1781
1821
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1782
1822
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1783
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1823
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1784
1824
|
url: schemas_exports.string()
|
|
1785
1825
|
});
|
|
1786
1826
|
|
|
@@ -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,
|
|
@@ -2512,6 +2514,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
2512
2514
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
2513
2515
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
2514
2516
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
2517
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
2518
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
2515
2519
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
2516
2520
|
runtime: schemas_exports.string(),
|
|
2517
2521
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -2557,23 +2561,41 @@ var Runner = schemas_exports.object({
|
|
|
2557
2561
|
version: schemas_exports.number()
|
|
2558
2562
|
});
|
|
2559
2563
|
|
|
2564
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2565
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2566
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2567
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2568
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2569
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2570
|
+
"drain_on_version_upgrade",
|
|
2571
|
+
schemas_exports.boolean().optional()
|
|
2572
|
+
)
|
|
2573
|
+
});
|
|
2574
|
+
|
|
2560
2575
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2561
2576
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2577
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2578
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2579
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2562
2580
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2581
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2582
|
+
"drain_on_version_upgrade",
|
|
2583
|
+
schemas_exports.boolean().optional()
|
|
2584
|
+
),
|
|
2563
2585
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2564
2586
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2565
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2587
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2566
2588
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2567
2589
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2568
2590
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2569
2591
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2570
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2592
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2571
2593
|
url: schemas_exports.string()
|
|
2572
2594
|
});
|
|
2573
2595
|
|
|
2574
2596
|
// src/serialization/types/RunnerConfig.ts
|
|
2575
2597
|
var RunnerConfig = schemas_exports.object({
|
|
2576
|
-
normal:
|
|
2598
|
+
normal: RunnerConfigNormal.optional(),
|
|
2577
2599
|
serverless: RunnerConfigServerless.optional(),
|
|
2578
2600
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2579
2601
|
"drain_on_version_upgrade",
|
|
@@ -2582,22 +2604,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2582
2604
|
metadata: schemas_exports.unknown().optional()
|
|
2583
2605
|
});
|
|
2584
2606
|
|
|
2607
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2608
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2609
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2610
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2611
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2612
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2613
|
+
"drain_on_version_upgrade",
|
|
2614
|
+
schemas_exports.boolean().optional()
|
|
2615
|
+
)
|
|
2616
|
+
});
|
|
2617
|
+
|
|
2585
2618
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2586
2619
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2587
|
-
normal:
|
|
2620
|
+
normal: RunnerConfigKindNormalNormal
|
|
2588
2621
|
});
|
|
2589
2622
|
|
|
2590
2623
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2591
2624
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2625
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2626
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2627
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2592
2628
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2629
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2630
|
+
"drain_on_version_upgrade",
|
|
2631
|
+
schemas_exports.boolean().optional()
|
|
2632
|
+
),
|
|
2593
2633
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2594
2634
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2595
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2635
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2596
2636
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2597
2637
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2598
2638
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2599
2639
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2600
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2640
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2601
2641
|
url: schemas_exports.string()
|
|
2602
2642
|
});
|
|
2603
2643
|
|
|
@@ -1610,6 +1610,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
1610
1610
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
1611
1611
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
1612
1612
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
1613
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
1614
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
1613
1615
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
1614
1616
|
runtime: schemas_exports.string(),
|
|
1615
1617
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -1655,23 +1657,41 @@ var Runner = schemas_exports.object({
|
|
|
1655
1657
|
version: schemas_exports.number()
|
|
1656
1658
|
});
|
|
1657
1659
|
|
|
1660
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1661
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1662
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1663
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1664
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1665
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1666
|
+
"drain_on_version_upgrade",
|
|
1667
|
+
schemas_exports.boolean().optional()
|
|
1668
|
+
)
|
|
1669
|
+
});
|
|
1670
|
+
|
|
1658
1671
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1659
1672
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1673
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1674
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1675
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1660
1676
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1677
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1678
|
+
"drain_on_version_upgrade",
|
|
1679
|
+
schemas_exports.boolean().optional()
|
|
1680
|
+
),
|
|
1661
1681
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1662
1682
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1663
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1683
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1664
1684
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1665
1685
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1666
1686
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1667
1687
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1668
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1688
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1669
1689
|
url: schemas_exports.string()
|
|
1670
1690
|
});
|
|
1671
1691
|
|
|
1672
1692
|
// src/serialization/types/RunnerConfig.ts
|
|
1673
1693
|
var RunnerConfig = schemas_exports.object({
|
|
1674
|
-
normal:
|
|
1694
|
+
normal: RunnerConfigNormal.optional(),
|
|
1675
1695
|
serverless: RunnerConfigServerless.optional(),
|
|
1676
1696
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1677
1697
|
"drain_on_version_upgrade",
|
|
@@ -1680,22 +1700,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1680
1700
|
metadata: schemas_exports.unknown().optional()
|
|
1681
1701
|
});
|
|
1682
1702
|
|
|
1703
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1704
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1705
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1706
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1707
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1708
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1709
|
+
"drain_on_version_upgrade",
|
|
1710
|
+
schemas_exports.boolean().optional()
|
|
1711
|
+
)
|
|
1712
|
+
});
|
|
1713
|
+
|
|
1683
1714
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1684
1715
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1685
|
-
normal:
|
|
1716
|
+
normal: RunnerConfigKindNormalNormal
|
|
1686
1717
|
});
|
|
1687
1718
|
|
|
1688
1719
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1689
1720
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1721
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1722
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1723
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1690
1724
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1725
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1726
|
+
"drain_on_version_upgrade",
|
|
1727
|
+
schemas_exports.boolean().optional()
|
|
1728
|
+
),
|
|
1691
1729
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1692
1730
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1693
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1731
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1694
1732
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1695
1733
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1696
1734
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1697
1735
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1698
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1736
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1699
1737
|
url: schemas_exports.string()
|
|
1700
1738
|
});
|
|
1701
1739
|
|
|
@@ -1869,8 +1907,10 @@ export {
|
|
|
1869
1907
|
RunnerConfig,
|
|
1870
1908
|
RunnerConfigKind,
|
|
1871
1909
|
RunnerConfigKindNormal,
|
|
1910
|
+
RunnerConfigKindNormalNormal,
|
|
1872
1911
|
RunnerConfigKindServerless,
|
|
1873
1912
|
RunnerConfigKindServerlessServerless,
|
|
1913
|
+
RunnerConfigNormal,
|
|
1874
1914
|
RunnerConfigResponse,
|
|
1875
1915
|
RunnerConfigServerless,
|
|
1876
1916
|
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,
|
|
@@ -2550,6 +2552,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
2550
2552
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
2551
2553
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
2552
2554
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
2555
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
2556
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
2553
2557
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
2554
2558
|
runtime: schemas_exports.string(),
|
|
2555
2559
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -2595,23 +2599,41 @@ var Runner = schemas_exports.object({
|
|
|
2595
2599
|
version: schemas_exports.number()
|
|
2596
2600
|
});
|
|
2597
2601
|
|
|
2602
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2603
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2604
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2605
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2606
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2607
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2608
|
+
"drain_on_version_upgrade",
|
|
2609
|
+
schemas_exports.boolean().optional()
|
|
2610
|
+
)
|
|
2611
|
+
});
|
|
2612
|
+
|
|
2598
2613
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2599
2614
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2615
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2616
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2617
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2600
2618
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2619
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2620
|
+
"drain_on_version_upgrade",
|
|
2621
|
+
schemas_exports.boolean().optional()
|
|
2622
|
+
),
|
|
2601
2623
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2602
2624
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2603
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2625
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2604
2626
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2605
2627
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2606
2628
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2607
2629
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2608
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2630
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2609
2631
|
url: schemas_exports.string()
|
|
2610
2632
|
});
|
|
2611
2633
|
|
|
2612
2634
|
// src/serialization/types/RunnerConfig.ts
|
|
2613
2635
|
var RunnerConfig = schemas_exports.object({
|
|
2614
|
-
normal:
|
|
2636
|
+
normal: RunnerConfigNormal.optional(),
|
|
2615
2637
|
serverless: RunnerConfigServerless.optional(),
|
|
2616
2638
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2617
2639
|
"drain_on_version_upgrade",
|
|
@@ -2620,22 +2642,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2620
2642
|
metadata: schemas_exports.unknown().optional()
|
|
2621
2643
|
});
|
|
2622
2644
|
|
|
2645
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2646
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2647
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2648
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2649
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2650
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2651
|
+
"drain_on_version_upgrade",
|
|
2652
|
+
schemas_exports.boolean().optional()
|
|
2653
|
+
)
|
|
2654
|
+
});
|
|
2655
|
+
|
|
2623
2656
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2624
2657
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2625
|
-
normal:
|
|
2658
|
+
normal: RunnerConfigKindNormalNormal
|
|
2626
2659
|
});
|
|
2627
2660
|
|
|
2628
2661
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2629
2662
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2663
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2664
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2665
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2630
2666
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2667
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2668
|
+
"drain_on_version_upgrade",
|
|
2669
|
+
schemas_exports.boolean().optional()
|
|
2670
|
+
),
|
|
2631
2671
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2632
2672
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2633
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2673
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2634
2674
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2635
2675
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2636
2676
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2637
2677
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2638
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2678
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2639
2679
|
url: schemas_exports.string()
|
|
2640
2680
|
});
|
|
2641
2681
|
|
|
@@ -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,
|
|
@@ -1696,6 +1698,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
1696
1698
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
1697
1699
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
1698
1700
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
1701
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
1702
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
1699
1703
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
1700
1704
|
runtime: schemas_exports.string(),
|
|
1701
1705
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -1741,23 +1745,41 @@ var Runner = schemas_exports.object({
|
|
|
1741
1745
|
version: schemas_exports.number()
|
|
1742
1746
|
});
|
|
1743
1747
|
|
|
1748
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1749
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1750
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1751
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1752
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1753
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1754
|
+
"drain_on_version_upgrade",
|
|
1755
|
+
schemas_exports.boolean().optional()
|
|
1756
|
+
)
|
|
1757
|
+
});
|
|
1758
|
+
|
|
1744
1759
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1745
1760
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1761
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1762
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1763
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1746
1764
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1765
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1766
|
+
"drain_on_version_upgrade",
|
|
1767
|
+
schemas_exports.boolean().optional()
|
|
1768
|
+
),
|
|
1747
1769
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1748
1770
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1749
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1771
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1750
1772
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1751
1773
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1752
1774
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1753
1775
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1754
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1776
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1755
1777
|
url: schemas_exports.string()
|
|
1756
1778
|
});
|
|
1757
1779
|
|
|
1758
1780
|
// src/serialization/types/RunnerConfig.ts
|
|
1759
1781
|
var RunnerConfig = schemas_exports.object({
|
|
1760
|
-
normal:
|
|
1782
|
+
normal: RunnerConfigNormal.optional(),
|
|
1761
1783
|
serverless: RunnerConfigServerless.optional(),
|
|
1762
1784
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1763
1785
|
"drain_on_version_upgrade",
|
|
@@ -1766,22 +1788,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1766
1788
|
metadata: schemas_exports.unknown().optional()
|
|
1767
1789
|
});
|
|
1768
1790
|
|
|
1791
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1792
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1793
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1794
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1795
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1796
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1797
|
+
"drain_on_version_upgrade",
|
|
1798
|
+
schemas_exports.boolean().optional()
|
|
1799
|
+
)
|
|
1800
|
+
});
|
|
1801
|
+
|
|
1769
1802
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1770
1803
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1771
|
-
normal:
|
|
1804
|
+
normal: RunnerConfigKindNormalNormal
|
|
1772
1805
|
});
|
|
1773
1806
|
|
|
1774
1807
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1775
1808
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1809
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1810
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1811
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1776
1812
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1813
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1814
|
+
"drain_on_version_upgrade",
|
|
1815
|
+
schemas_exports.boolean().optional()
|
|
1816
|
+
),
|
|
1777
1817
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1778
1818
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1779
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1819
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1780
1820
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1781
1821
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1782
1822
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1783
1823
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1784
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1824
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1785
1825
|
url: schemas_exports.string()
|
|
1786
1826
|
});
|
|
1787
1827
|
|
|
@@ -1956,8 +1996,10 @@ var NamespacesCreateRequest = schemas_exports.object({
|
|
|
1956
1996
|
RunnerConfig,
|
|
1957
1997
|
RunnerConfigKind,
|
|
1958
1998
|
RunnerConfigKindNormal,
|
|
1999
|
+
RunnerConfigKindNormalNormal,
|
|
1959
2000
|
RunnerConfigKindServerless,
|
|
1960
2001
|
RunnerConfigKindServerlessServerless,
|
|
2002
|
+
RunnerConfigNormal,
|
|
1961
2003
|
RunnerConfigResponse,
|
|
1962
2004
|
RunnerConfigServerless,
|
|
1963
2005
|
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,
|
|
@@ -2517,6 +2519,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
2517
2519
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
2518
2520
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
2519
2521
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
2522
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
2523
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
2520
2524
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
2521
2525
|
runtime: schemas_exports.string(),
|
|
2522
2526
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -2562,23 +2566,41 @@ var Runner = schemas_exports.object({
|
|
|
2562
2566
|
version: schemas_exports.number()
|
|
2563
2567
|
});
|
|
2564
2568
|
|
|
2569
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
2570
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
2571
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2572
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2573
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2574
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2575
|
+
"drain_on_version_upgrade",
|
|
2576
|
+
schemas_exports.boolean().optional()
|
|
2577
|
+
)
|
|
2578
|
+
});
|
|
2579
|
+
|
|
2565
2580
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
2566
2581
|
var RunnerConfigServerless = schemas_exports.object({
|
|
2582
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2583
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2584
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2567
2585
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2586
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2587
|
+
"drain_on_version_upgrade",
|
|
2588
|
+
schemas_exports.boolean().optional()
|
|
2589
|
+
),
|
|
2568
2590
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2569
2591
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2570
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2592
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2571
2593
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2572
2594
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2573
2595
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2574
2596
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2575
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2597
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2576
2598
|
url: schemas_exports.string()
|
|
2577
2599
|
});
|
|
2578
2600
|
|
|
2579
2601
|
// src/serialization/types/RunnerConfig.ts
|
|
2580
2602
|
var RunnerConfig = schemas_exports.object({
|
|
2581
|
-
normal:
|
|
2603
|
+
normal: RunnerConfigNormal.optional(),
|
|
2582
2604
|
serverless: RunnerConfigServerless.optional(),
|
|
2583
2605
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
2584
2606
|
"drain_on_version_upgrade",
|
|
@@ -2587,22 +2609,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
2587
2609
|
metadata: schemas_exports.unknown().optional()
|
|
2588
2610
|
});
|
|
2589
2611
|
|
|
2612
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
2613
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
2614
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2615
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2616
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2617
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2618
|
+
"drain_on_version_upgrade",
|
|
2619
|
+
schemas_exports.boolean().optional()
|
|
2620
|
+
)
|
|
2621
|
+
});
|
|
2622
|
+
|
|
2590
2623
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
2591
2624
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
2592
|
-
normal:
|
|
2625
|
+
normal: RunnerConfigKindNormalNormal
|
|
2593
2626
|
});
|
|
2594
2627
|
|
|
2595
2628
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
2596
2629
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
2630
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
2631
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
2632
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
2597
2633
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
2634
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
2635
|
+
"drain_on_version_upgrade",
|
|
2636
|
+
schemas_exports.boolean().optional()
|
|
2637
|
+
),
|
|
2598
2638
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
2599
2639
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
2600
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
2640
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
2601
2641
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
2602
2642
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
2603
2643
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
2604
2644
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
2605
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
2645
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
2606
2646
|
url: schemas_exports.string()
|
|
2607
2647
|
});
|
|
2608
2648
|
|
|
@@ -1611,6 +1611,8 @@ var MetadataGetResponse = schemas_exports.object({
|
|
|
1611
1611
|
buildTimestamp: schemas_exports.property("build_timestamp", schemas_exports.string()),
|
|
1612
1612
|
cargoProfile: schemas_exports.property("cargo_profile", schemas_exports.string()),
|
|
1613
1613
|
cargoTarget: schemas_exports.property("cargo_target", schemas_exports.string()),
|
|
1614
|
+
envoyProtocolVersion: schemas_exports.property("envoy_protocol_version", schemas_exports.number()),
|
|
1615
|
+
epoxyProtocolVersion: schemas_exports.property("epoxy_protocol_version", schemas_exports.number()),
|
|
1614
1616
|
gitSha: schemas_exports.property("git_sha", schemas_exports.string()),
|
|
1615
1617
|
runtime: schemas_exports.string(),
|
|
1616
1618
|
rustcHost: schemas_exports.property("rustc_host", schemas_exports.string()),
|
|
@@ -1656,23 +1658,41 @@ var Runner = schemas_exports.object({
|
|
|
1656
1658
|
version: schemas_exports.number()
|
|
1657
1659
|
});
|
|
1658
1660
|
|
|
1661
|
+
// src/serialization/types/RunnerConfigNormal.ts
|
|
1662
|
+
var RunnerConfigNormal = schemas_exports.object({
|
|
1663
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1664
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1665
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1666
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1667
|
+
"drain_on_version_upgrade",
|
|
1668
|
+
schemas_exports.boolean().optional()
|
|
1669
|
+
)
|
|
1670
|
+
});
|
|
1671
|
+
|
|
1659
1672
|
// src/serialization/types/RunnerConfigServerless.ts
|
|
1660
1673
|
var RunnerConfigServerless = schemas_exports.object({
|
|
1674
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1675
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1676
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1661
1677
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1678
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1679
|
+
"drain_on_version_upgrade",
|
|
1680
|
+
schemas_exports.boolean().optional()
|
|
1681
|
+
),
|
|
1662
1682
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1663
1683
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1664
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1684
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1665
1685
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1666
1686
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1667
1687
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1668
1688
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1669
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1689
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1670
1690
|
url: schemas_exports.string()
|
|
1671
1691
|
});
|
|
1672
1692
|
|
|
1673
1693
|
// src/serialization/types/RunnerConfig.ts
|
|
1674
1694
|
var RunnerConfig = schemas_exports.object({
|
|
1675
|
-
normal:
|
|
1695
|
+
normal: RunnerConfigNormal.optional(),
|
|
1676
1696
|
serverless: RunnerConfigServerless.optional(),
|
|
1677
1697
|
drainOnVersionUpgrade: schemas_exports.property(
|
|
1678
1698
|
"drain_on_version_upgrade",
|
|
@@ -1681,22 +1701,40 @@ var RunnerConfig = schemas_exports.object({
|
|
|
1681
1701
|
metadata: schemas_exports.unknown().optional()
|
|
1682
1702
|
});
|
|
1683
1703
|
|
|
1704
|
+
// src/serialization/types/RunnerConfigKindNormalNormal.ts
|
|
1705
|
+
var RunnerConfigKindNormalNormal = schemas_exports.object({
|
|
1706
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1707
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1708
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1709
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1710
|
+
"drain_on_version_upgrade",
|
|
1711
|
+
schemas_exports.boolean().optional()
|
|
1712
|
+
)
|
|
1713
|
+
});
|
|
1714
|
+
|
|
1684
1715
|
// src/serialization/types/RunnerConfigKindNormal.ts
|
|
1685
1716
|
var RunnerConfigKindNormal = schemas_exports.object({
|
|
1686
|
-
normal:
|
|
1717
|
+
normal: RunnerConfigKindNormalNormal
|
|
1687
1718
|
});
|
|
1688
1719
|
|
|
1689
1720
|
// src/serialization/types/RunnerConfigKindServerlessServerless.ts
|
|
1690
1721
|
var RunnerConfigKindServerlessServerless = schemas_exports.object({
|
|
1722
|
+
actorEvictionDelay: schemas_exports.property("actor_eviction_delay", schemas_exports.number().optional()),
|
|
1723
|
+
actorEvictionPeriod: schemas_exports.property("actor_eviction_period", schemas_exports.number().optional()),
|
|
1724
|
+
actorEvictionRate: schemas_exports.property("actor_eviction_rate", schemas_exports.number().optional()),
|
|
1691
1725
|
drainGracePeriod: schemas_exports.property("drain_grace_period", schemas_exports.number().optional()),
|
|
1726
|
+
drainOnVersionUpgrade: schemas_exports.property(
|
|
1727
|
+
"drain_on_version_upgrade",
|
|
1728
|
+
schemas_exports.boolean().optional()
|
|
1729
|
+
),
|
|
1692
1730
|
headers: schemas_exports.record(schemas_exports.string(), schemas_exports.string()).optional(),
|
|
1693
1731
|
maxConcurrentActors: schemas_exports.property("max_concurrent_actors", schemas_exports.number().optional()),
|
|
1694
|
-
maxRunners: schemas_exports.property("max_runners", schemas_exports.number()),
|
|
1732
|
+
maxRunners: schemas_exports.property("max_runners", schemas_exports.number().optional()),
|
|
1695
1733
|
metadataPollInterval: schemas_exports.property("metadata_poll_interval", schemas_exports.number().optional()),
|
|
1696
1734
|
minRunners: schemas_exports.property("min_runners", schemas_exports.number().optional()),
|
|
1697
1735
|
requestLifespan: schemas_exports.property("request_lifespan", schemas_exports.number()),
|
|
1698
1736
|
runnersMargin: schemas_exports.property("runners_margin", schemas_exports.number().optional()),
|
|
1699
|
-
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number()),
|
|
1737
|
+
slotsPerRunner: schemas_exports.property("slots_per_runner", schemas_exports.number().optional()),
|
|
1700
1738
|
url: schemas_exports.string()
|
|
1701
1739
|
});
|
|
1702
1740
|
|
|
@@ -1870,8 +1908,10 @@ export {
|
|
|
1870
1908
|
RunnerConfig,
|
|
1871
1909
|
RunnerConfigKind,
|
|
1872
1910
|
RunnerConfigKindNormal,
|
|
1911
|
+
RunnerConfigKindNormalNormal,
|
|
1873
1912
|
RunnerConfigKindServerless,
|
|
1874
1913
|
RunnerConfigKindServerlessServerless,
|
|
1914
|
+
RunnerConfigNormal,
|
|
1875
1915
|
RunnerConfigResponse,
|
|
1876
1916
|
RunnerConfigServerless,
|
|
1877
1917
|
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";
|