@rivetkit/engine-api-full 0.0.0-feat-sqlite-sync.a2b9069 → 0.0.0-feat-sqlite-sync-3x.a00b07f
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 +322 -1077
- package/dist/browser/cjs/serialization.js +93 -379
- package/dist/browser/esm/index.js +322 -1077
- package/dist/browser/esm/serialization.js +93 -379
- package/dist/node/cjs/index.js +322 -1077
- package/dist/node/cjs/serialization.js +103 -421
- package/dist/node/esm/index.js +322 -1077
- package/dist/node/esm/serialization.js +93 -379
- package/package.json +2 -1
- package/types/Client.d.ts +7 -91
- package/types/api/client/requests/ActorsCreateRequest.d.ts +3 -7
- package/types/api/client/requests/ActorsDeleteRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsGetOrCreateRequest.d.ts +4 -8
- package/types/api/client/requests/ActorsGetRequest.d.ts +3 -0
- package/types/api/client/requests/ActorsListNamesRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsListRequest.d.ts +2 -5
- package/types/api/client/requests/ActorsRescheduleRequest.d.ts +1 -5
- package/types/api/client/requests/ActorsSleepRequest.d.ts +1 -5
- package/types/api/client/requests/index.d.ts +1 -6
- package/types/api/resources/authTokens/client/Client.d.ts +0 -20
- package/types/api/resources/authTokens/client/index.d.ts +1 -0
- package/types/api/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +5 -1
- package/types/api/resources/index.d.ts +2 -5
- package/types/api/resources/namespaces/client/Client.d.ts +0 -1
- package/types/api/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +0 -2
- package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +0 -6
- package/types/api/resources/pools/client/Client.d.ts +57 -0
- package/types/api/resources/pools/client/requests/PoolsDeleteRequest.d.ts +3 -0
- package/types/api/resources/pools/client/requests/PoolsGetRequest.d.ts +3 -0
- package/types/api/resources/{runners/client/requests/RunnersListNamesRequest.d.ts → pools/client/requests/PoolsListNodesRequest.d.ts} +2 -2
- package/types/api/resources/{envoys/client/requests/EnvoysListRequest.d.ts → pools/client/requests/PoolsListRequest.d.ts} +2 -4
- package/types/api/resources/pools/client/requests/PoolsUpsertRequest.d.ts +8 -0
- package/types/api/resources/pools/client/requests/index.d.ts +5 -0
- package/types/api/types/Actor.d.ts +21 -27
- package/types/api/types/ActorName.d.ts +1 -3
- package/types/api/types/ActorsCreateResponse.d.ts +2 -3
- package/types/api/types/ActorsDeleteResponse.d.ts +1 -4
- package/types/api/types/ActorsGetOrCreateResponse.d.ts +1 -3
- package/types/api/types/ActorsGetResponse.d.ts +4 -0
- package/types/api/types/ActorsListNamesResponse.d.ts +1 -4
- package/types/api/types/ActorsListResponse.d.ts +1 -4
- package/types/api/types/ActorsRescheduleResponse.d.ts +1 -4
- package/types/api/types/ActorsSleepResponse.d.ts +1 -4
- package/types/api/types/AuthOperationKind.d.ts +0 -10
- package/types/api/types/AuthResourceKind.d.ts +1 -0
- package/types/api/types/AuthTargetScope.d.ts +4 -0
- package/types/api/types/AuthTokenCreateResponse.d.ts +5 -5
- package/types/api/types/AuthTokenGrant.d.ts +4 -6
- package/types/api/types/AuthTokenInspectResponse.d.ts +9 -7
- package/types/api/types/Datacenter.d.ts +1 -5
- package/types/api/types/DatacentersListResponse.d.ts +1 -5
- package/types/api/types/ErrorResponse.d.ts +10 -0
- package/types/api/types/MetadataGetResponse.d.ts +8 -12
- package/types/api/types/Namespace.d.ts +3 -7
- package/types/api/types/NamespaceListResponse.d.ts +1 -4
- package/types/api/types/NamespacesCreateResponse.d.ts +0 -3
- package/types/api/types/Node.d.ts +18 -0
- package/types/api/types/Pagination.d.ts +2 -4
- package/types/api/types/Pool.d.ts +14 -0
- package/types/api/types/PoolResponse.d.ts +4 -0
- package/types/api/types/PoolsDeleteResponse.d.ts +1 -0
- package/types/api/types/PoolsListNodesResponse.d.ts +5 -0
- package/types/api/types/PoolsListResponse.d.ts +5 -0
- package/types/api/types/RivetId.d.ts +0 -3
- package/types/api/types/index.d.ts +10 -38
- package/types/serialization/client/requests/ActorsCreateRequest.d.ts +1 -4
- package/types/serialization/client/requests/ActorsGetOrCreateRequest.d.ts +2 -5
- package/types/serialization/client/requests/index.d.ts +0 -2
- package/types/serialization/resources/index.d.ts +0 -2
- package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +0 -1
- package/types/serialization/types/Actor.d.ts +10 -17
- package/types/serialization/types/ActorName.d.ts +0 -3
- package/types/serialization/types/ActorsCreateResponse.d.ts +1 -3
- package/types/serialization/types/ActorsDeleteResponse.d.ts +1 -4
- package/types/serialization/types/ActorsGetOrCreateResponse.d.ts +0 -3
- package/types/serialization/types/ActorsGetResponse.d.ts +10 -0
- package/types/serialization/types/ActorsListNamesResponse.d.ts +0 -5
- package/types/serialization/types/ActorsListResponse.d.ts +1 -4
- package/types/serialization/types/ActorsRescheduleResponse.d.ts +1 -4
- package/types/serialization/types/ActorsSleepResponse.d.ts +1 -4
- package/types/serialization/types/AuthOperationKind.d.ts +0 -3
- package/types/serialization/types/AuthResourceKind.d.ts +7 -0
- package/types/serialization/types/AuthTargetScope.d.ts +10 -0
- package/types/serialization/types/AuthTokenCreateResponse.d.ts +2 -5
- package/types/serialization/types/AuthTokenGrant.d.ts +5 -8
- package/types/serialization/types/AuthTokenInspectResponse.d.ts +4 -8
- package/types/serialization/types/Datacenter.d.ts +0 -5
- package/types/serialization/types/DatacentersListResponse.d.ts +1 -6
- package/types/serialization/types/ErrorResponse.d.ts +12 -0
- package/types/serialization/types/MetadataGetResponse.d.ts +4 -12
- package/types/serialization/types/Namespace.d.ts +1 -7
- package/types/serialization/types/NamespaceListResponse.d.ts +1 -4
- package/types/serialization/types/NamespacesCreateResponse.d.ts +0 -3
- package/types/serialization/types/Node.d.ts +16 -0
- package/types/serialization/types/Pagination.d.ts +1 -4
- package/types/serialization/types/Pool.d.ts +14 -0
- package/types/serialization/types/PoolResponse.d.ts +10 -0
- package/types/serialization/types/PoolsDeleteResponse.d.ts +7 -0
- package/types/serialization/types/PoolsListNodesResponse.d.ts +12 -0
- package/types/serialization/types/PoolsListResponse.d.ts +12 -0
- package/types/serialization/types/RivetId.d.ts +0 -3
- package/types/serialization/types/index.d.ts +10 -38
- package/types/api/client/requests/ActorsKvGetRequest.d.ts +0 -12
- package/types/api/client/requests/RunnerConfigsDeleteRequest.d.ts +0 -12
- package/types/api/client/requests/RunnerConfigsListRequest.d.ts +0 -21
- package/types/api/client/requests/RunnerConfigsRefreshMetadataRequest.d.ts +0 -17
- package/types/api/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +0 -15
- package/types/api/client/requests/RunnerConfigsUpsertRequestBody.d.ts +0 -17
- package/types/api/resources/envoys/client/Client.d.ts +0 -39
- package/types/api/resources/envoys/client/requests/index.d.ts +0 -1
- package/types/api/resources/health/client/Client.d.ts +0 -36
- package/types/api/resources/health/client/index.d.ts +0 -1
- package/types/api/resources/health/index.d.ts +0 -1
- package/types/api/resources/runners/client/Client.d.ts +0 -54
- package/types/api/resources/runners/client/index.d.ts +0 -1
- package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +0 -22
- package/types/api/resources/runners/client/requests/index.d.ts +0 -2
- package/types/api/resources/runners/index.d.ts +0 -1
- package/types/api/types/ActorsKvGetResponse.d.ts +0 -7
- package/types/api/types/ActorsRescheduleRequestBody.d.ts +0 -4
- package/types/api/types/ActorsSleepRequestBody.d.ts +0 -4
- package/types/api/types/AuthTokenResource.d.ts +0 -13
- package/types/api/types/AuthTokenTargetScope.d.ts +0 -5
- package/types/api/types/AuthTokenTargetScopeId.d.ts +0 -7
- package/types/api/types/CrashPolicy.d.ts +0 -9
- package/types/api/types/DatacenterHealth.d.ts +0 -12
- package/types/api/types/Envoy.d.ts +0 -18
- package/types/api/types/EnvoysListResponse.d.ts +0 -8
- package/types/api/types/HealthFanoutResponse.d.ts +0 -7
- package/types/api/types/HealthResponse.d.ts +0 -8
- package/types/api/types/HealthStatus.d.ts +0 -8
- package/types/api/types/Runner.d.ts +0 -21
- package/types/api/types/RunnerConfig.d.ts +0 -11
- package/types/api/types/RunnerConfigKind.d.ts +0 -5
- package/types/api/types/RunnerConfigKindNormal.d.ts +0 -7
- package/types/api/types/RunnerConfigKindNormalNormal.d.ts +0 -12
- package/types/api/types/RunnerConfigKindServerless.d.ts +0 -7
- package/types/api/types/RunnerConfigKindServerlessServerless.d.ts +0 -29
- package/types/api/types/RunnerConfigNormal.d.ts +0 -12
- package/types/api/types/RunnerConfigResponse.d.ts +0 -8
- package/types/api/types/RunnerConfigServerless.d.ts +0 -29
- package/types/api/types/RunnerConfigVariant.d.ts +0 -8
- package/types/api/types/RunnerConfigsDeleteResponse.d.ts +0 -4
- package/types/api/types/RunnerConfigsListResponse.d.ts +0 -8
- package/types/api/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +0 -7
- package/types/api/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +0 -4
- package/types/api/types/RunnerConfigsRefreshMetadataResponse.d.ts +0 -4
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +0 -5
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +0 -7
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +0 -6
- package/types/api/types/RunnerConfigsServerlessMetadataError.d.ts +0 -16
- package/types/api/types/RunnerConfigsUpsertResponse.d.ts +0 -6
- package/types/api/types/RunnersListNamesResponse.d.ts +0 -8
- package/types/api/types/RunnersListResponse.d.ts +0 -8
- package/types/serialization/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +0 -13
- package/types/serialization/client/requests/RunnerConfigsUpsertRequestBody.d.ts +0 -13
- package/types/serialization/resources/authTokens/client/index.d.ts +0 -1
- package/types/serialization/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +0 -16
- package/types/serialization/resources/authTokens/client/requests/index.d.ts +0 -1
- package/types/serialization/resources/authTokens/index.d.ts +0 -1
- package/types/serialization/types/ActorsKvGetResponse.d.ts +0 -13
- package/types/serialization/types/ActorsRescheduleRequestBody.d.ts +0 -10
- package/types/serialization/types/ActorsSleepRequestBody.d.ts +0 -10
- package/types/serialization/types/AuthTokenResource.d.ts +0 -10
- package/types/serialization/types/AuthTokenTargetScope.d.ts +0 -11
- package/types/serialization/types/AuthTokenTargetScopeId.d.ts +0 -13
- package/types/serialization/types/CrashPolicy.d.ts +0 -10
- package/types/serialization/types/DatacenterHealth.d.ts +0 -19
- package/types/serialization/types/Envoy.d.ts +0 -24
- package/types/serialization/types/EnvoysListResponse.d.ts +0 -15
- package/types/serialization/types/HealthFanoutResponse.d.ts +0 -13
- package/types/serialization/types/HealthResponse.d.ts +0 -14
- package/types/serialization/types/HealthStatus.d.ts +0 -10
- package/types/serialization/types/Runner.d.ts +0 -27
- package/types/serialization/types/RunnerConfig.d.ts +0 -17
- package/types/serialization/types/RunnerConfigKind.d.ts +0 -12
- package/types/serialization/types/RunnerConfigKindNormal.d.ts +0 -13
- package/types/serialization/types/RunnerConfigKindNormalNormal.d.ts +0 -15
- package/types/serialization/types/RunnerConfigKindServerless.d.ts +0 -13
- package/types/serialization/types/RunnerConfigKindServerlessServerless.d.ts +0 -25
- package/types/serialization/types/RunnerConfigNormal.d.ts +0 -15
- package/types/serialization/types/RunnerConfigResponse.d.ts +0 -14
- package/types/serialization/types/RunnerConfigServerless.d.ts +0 -25
- package/types/serialization/types/RunnerConfigVariant.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsDeleteResponse.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsListResponse.d.ts +0 -15
- package/types/serialization/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsRefreshMetadataResponse.d.ts +0 -10
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +0 -12
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +0 -13
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +0 -12
- package/types/serialization/types/RunnerConfigsServerlessMetadataError.d.ts +0 -14
- package/types/serialization/types/RunnerConfigsUpsertResponse.d.ts +0 -12
- package/types/serialization/types/RunnersListNamesResponse.d.ts +0 -14
- package/types/serialization/types/RunnersListResponse.d.ts +0 -15
- /package/types/api/resources/{envoys → pools}/client/index.d.ts +0 -0
- /package/types/api/resources/{envoys → pools}/index.d.ts +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
export interface Runner {
|
|
6
|
-
createTs: number;
|
|
7
|
-
datacenter: string;
|
|
8
|
-
drainTs?: number;
|
|
9
|
-
key: string;
|
|
10
|
-
lastConnectedTs?: number;
|
|
11
|
-
lastPingTs: number;
|
|
12
|
-
lastRtt: number;
|
|
13
|
-
metadata?: Record<string, unknown>;
|
|
14
|
-
name: string;
|
|
15
|
-
namespaceId: Rivet.RivetId;
|
|
16
|
-
remainingSlots: number;
|
|
17
|
-
runnerId: Rivet.RivetId;
|
|
18
|
-
stopTs?: number;
|
|
19
|
-
totalSlots: number;
|
|
20
|
-
version: number;
|
|
21
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
export interface RunnerConfig {
|
|
6
|
-
normal?: Rivet.RunnerConfigNormal;
|
|
7
|
-
serverless?: Rivet.RunnerConfigServerless;
|
|
8
|
-
/** Deprecated. */
|
|
9
|
-
drainOnVersionUpgrade?: boolean;
|
|
10
|
-
metadata?: unknown;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface RunnerConfigKindServerlessServerless {
|
|
5
|
-
/** Seconds. */
|
|
6
|
-
actorEvictionDelay?: number;
|
|
7
|
-
/** Seconds. */
|
|
8
|
-
actorEvictionPeriod?: number;
|
|
9
|
-
/** Actors per second. */
|
|
10
|
-
actorEvictionRate?: number;
|
|
11
|
-
/** Seconds. */
|
|
12
|
-
drainGracePeriod?: number;
|
|
13
|
-
drainOnVersionUpgrade?: boolean;
|
|
14
|
-
headers?: Record<string, string>;
|
|
15
|
-
maxConcurrentActors?: number;
|
|
16
|
-
/** Deprecated. */
|
|
17
|
-
maxRunners?: number;
|
|
18
|
-
/** Milliseconds between metadata polling. If not set, uses the global default. */
|
|
19
|
-
metadataPollInterval?: number;
|
|
20
|
-
/** Deprecated. */
|
|
21
|
-
minRunners?: number;
|
|
22
|
-
/** Seconds. */
|
|
23
|
-
requestLifespan: number;
|
|
24
|
-
/** Deprecated. */
|
|
25
|
-
runnersMargin?: number;
|
|
26
|
-
/** Deprecated. */
|
|
27
|
-
slotsPerRunner?: number;
|
|
28
|
-
url: string;
|
|
29
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface RunnerConfigServerless {
|
|
5
|
-
/** Seconds. */
|
|
6
|
-
actorEvictionDelay?: number;
|
|
7
|
-
/** Seconds. */
|
|
8
|
-
actorEvictionPeriod?: number;
|
|
9
|
-
/** Actors per second. */
|
|
10
|
-
actorEvictionRate?: number;
|
|
11
|
-
/** Seconds. */
|
|
12
|
-
drainGracePeriod?: number;
|
|
13
|
-
drainOnVersionUpgrade?: boolean;
|
|
14
|
-
headers?: Record<string, string>;
|
|
15
|
-
maxConcurrentActors?: number;
|
|
16
|
-
/** Deprecated. */
|
|
17
|
-
maxRunners?: number;
|
|
18
|
-
/** Milliseconds between metadata polling. If not set, uses the global default. */
|
|
19
|
-
metadataPollInterval?: number;
|
|
20
|
-
/** Deprecated. */
|
|
21
|
-
minRunners?: number;
|
|
22
|
-
/** Seconds. */
|
|
23
|
-
requestLifespan: number;
|
|
24
|
-
/** Deprecated. */
|
|
25
|
-
runnersMargin?: number;
|
|
26
|
-
/** Deprecated. */
|
|
27
|
-
slotsPerRunner?: number;
|
|
28
|
-
url: string;
|
|
29
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
export interface RunnerConfigsListResponse {
|
|
6
|
-
pagination: Rivet.Pagination;
|
|
7
|
-
runnerConfigs: Record<string, Rivet.RunnerConfigsListResponseRunnerConfigsValue>;
|
|
8
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
export type RunnerConfigsServerlessHealthCheckResponse = Rivet.RunnerConfigsServerlessHealthCheckResponseSuccess | Rivet.RunnerConfigsServerlessHealthCheckResponseFailure;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Wire-format envelope for serverless metadata errors.
|
|
6
|
-
*
|
|
7
|
-
* Surfaced to API clients with a stable `{message, details, metadata}` shape
|
|
8
|
-
* regardless of which internal `ServerlessMetadataError` variant produced it.
|
|
9
|
-
* `metadata.kind` discriminates the variant; per-variant fields live alongside
|
|
10
|
-
* `kind`.
|
|
11
|
-
*/
|
|
12
|
-
export interface RunnerConfigsServerlessMetadataError {
|
|
13
|
-
details?: string;
|
|
14
|
-
message: string;
|
|
15
|
-
metadata?: unknown;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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 RunnerConfigsServerlessHealthCheckRequest: core.serialization.Schema<serializers.RunnerConfigsServerlessHealthCheckRequest.Raw, Omit<Rivet.RunnerConfigsServerlessHealthCheckRequest, "namespace">>;
|
|
8
|
-
export declare namespace RunnerConfigsServerlessHealthCheckRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
headers?: Record<string, string> | null;
|
|
11
|
-
url: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
import { RunnerConfig } from "../../types/RunnerConfig";
|
|
8
|
-
export declare const RunnerConfigsUpsertRequestBody: core.serialization.Schema<serializers.RunnerConfigsUpsertRequestBody.Raw, Omit<Rivet.RunnerConfigsUpsertRequestBody, "namespace">>;
|
|
9
|
-
export declare namespace RunnerConfigsUpsertRequestBody {
|
|
10
|
-
interface Raw {
|
|
11
|
-
datacenters: Record<string, RunnerConfig.Raw>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
package/types/serialization/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
import { AuthTokenGrant } from "../../../../types/AuthTokenGrant";
|
|
8
|
-
export declare const AuthTokenCreateRequest: core.serialization.Schema<serializers.AuthTokenCreateRequest.Raw, Rivet.AuthTokenCreateRequest>;
|
|
9
|
-
export declare namespace AuthTokenCreateRequest {
|
|
10
|
-
interface Raw {
|
|
11
|
-
duration?: number | null;
|
|
12
|
-
grants: AuthTokenGrant.Raw[];
|
|
13
|
-
namespace: string;
|
|
14
|
-
subject?: string | null;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AuthTokenCreateRequest } from "./AuthTokenCreateRequest";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
@@ -1,13 +0,0 @@
|
|
|
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 ActorsKvGetResponse: core.serialization.ObjectSchema<serializers.ActorsKvGetResponse.Raw, Rivet.ActorsKvGetResponse>;
|
|
8
|
-
export declare namespace ActorsKvGetResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
update_ts: number;
|
|
11
|
-
value: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 ActorsRescheduleRequestBody: core.serialization.Schema<serializers.ActorsRescheduleRequestBody.Raw, Rivet.ActorsRescheduleRequestBody>;
|
|
8
|
-
export declare namespace ActorsRescheduleRequestBody {
|
|
9
|
-
type Raw = Record<string, unknown>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 ActorsSleepRequestBody: core.serialization.Schema<serializers.ActorsSleepRequestBody.Raw, Rivet.ActorsSleepRequestBody>;
|
|
8
|
-
export declare namespace ActorsSleepRequestBody {
|
|
9
|
-
type Raw = Record<string, unknown>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 AuthTokenResource: core.serialization.Schema<serializers.AuthTokenResource.Raw, Rivet.AuthTokenResource>;
|
|
8
|
-
export declare namespace AuthTokenResource {
|
|
9
|
-
type Raw = "namespace" | "actor" | "runner" | "runner_config" | "datacenter" | "actor_gateway" | "actor_kv";
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
import { AuthTokenTargetScopeId } from "./AuthTokenTargetScopeId";
|
|
8
|
-
export declare const AuthTokenTargetScope: core.serialization.Schema<serializers.AuthTokenTargetScope.Raw, Rivet.AuthTokenTargetScope>;
|
|
9
|
-
export declare namespace AuthTokenTargetScope {
|
|
10
|
-
type Raw = "any" | AuthTokenTargetScopeId.Raw;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
import { RivetId } from "./RivetId";
|
|
8
|
-
export declare const AuthTokenTargetScopeId: core.serialization.ObjectSchema<serializers.AuthTokenTargetScopeId.Raw, Rivet.AuthTokenTargetScopeId>;
|
|
9
|
-
export declare namespace AuthTokenTargetScopeId {
|
|
10
|
-
interface Raw {
|
|
11
|
-
id: RivetId.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 CrashPolicy: core.serialization.Schema<serializers.CrashPolicy.Raw, Rivet.CrashPolicy>;
|
|
8
|
-
export declare namespace CrashPolicy {
|
|
9
|
-
type Raw = "restart" | "sleep" | "destroy";
|
|
10
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
import { HealthResponse } from "./HealthResponse";
|
|
8
|
-
import { HealthStatus } from "./HealthStatus";
|
|
9
|
-
export declare const DatacenterHealth: core.serialization.ObjectSchema<serializers.DatacenterHealth.Raw, Rivet.DatacenterHealth>;
|
|
10
|
-
export declare namespace DatacenterHealth {
|
|
11
|
-
interface Raw {
|
|
12
|
-
datacenter_label: number;
|
|
13
|
-
datacenter_name: string;
|
|
14
|
-
error?: string | null;
|
|
15
|
-
response?: HealthResponse.Raw | null;
|
|
16
|
-
rtt_ms?: number | null;
|
|
17
|
-
status: HealthStatus.Raw;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
import { RivetId } from "./RivetId";
|
|
8
|
-
export declare const Envoy: core.serialization.ObjectSchema<serializers.Envoy.Raw, Rivet.Envoy>;
|
|
9
|
-
export declare namespace Envoy {
|
|
10
|
-
interface Raw {
|
|
11
|
-
create_ts: number;
|
|
12
|
-
datacenter: string;
|
|
13
|
-
envoy_key: string;
|
|
14
|
-
last_connected_ts?: number | null;
|
|
15
|
-
last_ping_ts: number;
|
|
16
|
-
last_rtt: number;
|
|
17
|
-
metadata?: Record<string, unknown> | null;
|
|
18
|
-
namespace_id: RivetId.Raw;
|
|
19
|
-
pool_name: string;
|
|
20
|
-
slots: number;
|
|
21
|
-
stop_ts?: number | null;
|
|
22
|
-
version: number;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
import { Envoy } from "./Envoy";
|
|
8
|
-
import { Pagination } from "./Pagination";
|
|
9
|
-
export declare const EnvoysListResponse: core.serialization.ObjectSchema<serializers.EnvoysListResponse.Raw, Rivet.EnvoysListResponse>;
|
|
10
|
-
export declare namespace EnvoysListResponse {
|
|
11
|
-
interface Raw {
|
|
12
|
-
envoys: Envoy.Raw[];
|
|
13
|
-
pagination: Pagination.Raw;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
import { DatacenterHealth } from "./DatacenterHealth";
|
|
8
|
-
export declare const HealthFanoutResponse: core.serialization.ObjectSchema<serializers.HealthFanoutResponse.Raw, Rivet.HealthFanoutResponse>;
|
|
9
|
-
export declare namespace HealthFanoutResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
datacenters: DatacenterHealth.Raw[];
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 HealthResponse: core.serialization.ObjectSchema<serializers.HealthResponse.Raw, Rivet.HealthResponse>;
|
|
8
|
-
export declare namespace HealthResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
runtime: string;
|
|
11
|
-
status: string;
|
|
12
|
-
version: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 HealthStatus: core.serialization.Schema<serializers.HealthStatus.Raw, Rivet.HealthStatus>;
|
|
8
|
-
export declare namespace HealthStatus {
|
|
9
|
-
type Raw = "ok" | "error";
|
|
10
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
import { RivetId } from "./RivetId";
|
|
8
|
-
export declare const Runner: core.serialization.ObjectSchema<serializers.Runner.Raw, Rivet.Runner>;
|
|
9
|
-
export declare namespace Runner {
|
|
10
|
-
interface Raw {
|
|
11
|
-
create_ts: number;
|
|
12
|
-
datacenter: string;
|
|
13
|
-
drain_ts?: number | null;
|
|
14
|
-
key: string;
|
|
15
|
-
last_connected_ts?: number | null;
|
|
16
|
-
last_ping_ts: number;
|
|
17
|
-
last_rtt: number;
|
|
18
|
-
metadata?: Record<string, unknown> | null;
|
|
19
|
-
name: string;
|
|
20
|
-
namespace_id: RivetId.Raw;
|
|
21
|
-
remaining_slots: number;
|
|
22
|
-
runner_id: RivetId.Raw;
|
|
23
|
-
stop_ts?: number | null;
|
|
24
|
-
total_slots: number;
|
|
25
|
-
version: number;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
import { RunnerConfigNormal } from "./RunnerConfigNormal";
|
|
8
|
-
import { RunnerConfigServerless } from "./RunnerConfigServerless";
|
|
9
|
-
export declare const RunnerConfig: core.serialization.ObjectSchema<serializers.RunnerConfig.Raw, Rivet.RunnerConfig>;
|
|
10
|
-
export declare namespace RunnerConfig {
|
|
11
|
-
interface Raw {
|
|
12
|
-
normal?: RunnerConfigNormal.Raw | null;
|
|
13
|
-
serverless?: RunnerConfigServerless.Raw | null;
|
|
14
|
-
drain_on_version_upgrade?: boolean | null;
|
|
15
|
-
metadata?: unknown | null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
import { RunnerConfigKindNormal } from "./RunnerConfigKindNormal";
|
|
8
|
-
import { RunnerConfigKindServerless } from "./RunnerConfigKindServerless";
|
|
9
|
-
export declare const RunnerConfigKind: core.serialization.Schema<serializers.RunnerConfigKind.Raw, Rivet.RunnerConfigKind>;
|
|
10
|
-
export declare namespace RunnerConfigKind {
|
|
11
|
-
type Raw = RunnerConfigKindNormal.Raw | RunnerConfigKindServerless.Raw;
|
|
12
|
-
}
|