@rivetkit/engine-api-full 0.0.0-sqlite-sync-3-0-6-final.cf8679c → 0.0.0-sqlite-query-metrics-2-3-32.5bb1917
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 +1081 -327
- package/dist/browser/cjs/serialization.js +379 -94
- package/dist/browser/esm/index.js +1081 -327
- package/dist/browser/esm/serialization.js +379 -94
- package/dist/node/cjs/index.js +1081 -327
- package/dist/node/cjs/serialization.js +421 -104
- package/dist/node/esm/index.js +1081 -327
- package/dist/node/esm/serialization.js +379 -94
- package/package.json +1 -2
- package/types/Client.d.ts +91 -7
- package/types/api/client/requests/ActorsCreateRequest.d.ts +7 -3
- package/types/api/client/requests/ActorsDeleteRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsGetOrCreateRequest.d.ts +8 -4
- package/types/api/client/requests/ActorsKvGetRequest.d.ts +12 -0
- package/types/api/client/requests/ActorsListNamesRequest.d.ts +1 -1
- package/types/api/client/requests/ActorsListRequest.d.ts +5 -2
- package/types/api/client/requests/ActorsRescheduleRequest.d.ts +5 -1
- package/types/api/client/requests/ActorsSleepRequest.d.ts +5 -1
- package/types/api/client/requests/RunnerConfigsDeleteRequest.d.ts +12 -0
- package/types/api/client/requests/RunnerConfigsListRequest.d.ts +21 -0
- package/types/api/client/requests/RunnerConfigsRefreshMetadataRequest.d.ts +17 -0
- package/types/api/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +15 -0
- package/types/api/client/requests/RunnerConfigsUpsertRequestBody.d.ts +17 -0
- package/types/api/client/requests/index.d.ts +6 -1
- package/types/api/resources/authTokens/client/Client.d.ts +20 -0
- package/types/api/resources/authTokens/client/index.d.ts +0 -1
- package/types/api/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +1 -5
- package/types/api/resources/envoys/client/Client.d.ts +39 -0
- package/types/api/resources/{pools/client/requests/PoolsListRequest.d.ts → envoys/client/requests/EnvoysListRequest.d.ts} +4 -2
- package/types/api/resources/envoys/client/requests/index.d.ts +1 -0
- package/types/api/resources/health/client/Client.d.ts +36 -0
- package/types/api/resources/health/client/index.d.ts +1 -0
- package/types/api/resources/health/index.d.ts +1 -0
- package/types/api/resources/index.d.ts +5 -2
- package/types/api/resources/namespaces/client/Client.d.ts +1 -0
- package/types/api/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +2 -0
- package/types/api/resources/namespaces/client/requests/NamespacesListRequest.d.ts +6 -0
- package/types/api/resources/runners/client/Client.d.ts +54 -0
- package/types/api/resources/runners/client/index.d.ts +1 -0
- package/types/api/resources/{pools/client/requests/PoolsListNodesRequest.d.ts → runners/client/requests/RunnersListNamesRequest.d.ts} +2 -2
- package/types/api/resources/runners/client/requests/RunnersListRequest.d.ts +22 -0
- package/types/api/resources/runners/client/requests/index.d.ts +2 -0
- package/types/api/resources/runners/index.d.ts +1 -0
- package/types/api/types/Actor.d.ts +27 -21
- package/types/api/types/ActorName.d.ts +3 -1
- package/types/api/types/ActorsCreateResponse.d.ts +3 -2
- package/types/api/types/ActorsDeleteResponse.d.ts +4 -1
- package/types/api/types/ActorsGetOrCreateResponse.d.ts +3 -1
- package/types/api/types/ActorsKvGetResponse.d.ts +7 -0
- package/types/api/types/ActorsListNamesResponse.d.ts +4 -1
- package/types/api/types/ActorsListResponse.d.ts +4 -1
- package/types/api/types/ActorsRescheduleRequestBody.d.ts +4 -0
- package/types/api/types/ActorsRescheduleResponse.d.ts +4 -1
- package/types/api/types/ActorsSleepRequestBody.d.ts +4 -0
- package/types/api/types/ActorsSleepResponse.d.ts +4 -1
- package/types/api/types/AuthOperationKind.d.ts +10 -0
- package/types/api/types/AuthTokenCreateResponse.d.ts +5 -5
- package/types/api/types/AuthTokenGrant.d.ts +6 -4
- package/types/api/types/AuthTokenInspectResponse.d.ts +7 -9
- package/types/api/types/AuthTokenResource.d.ts +13 -0
- package/types/api/types/AuthTokenTargetScope.d.ts +5 -0
- package/types/api/types/AuthTokenTargetScopeId.d.ts +7 -0
- package/types/api/types/CrashPolicy.d.ts +9 -0
- package/types/api/types/Datacenter.d.ts +5 -1
- package/types/api/types/DatacenterHealth.d.ts +12 -0
- package/types/api/types/DatacentersListResponse.d.ts +5 -1
- package/types/api/types/Envoy.d.ts +18 -0
- package/types/api/types/EnvoysListResponse.d.ts +8 -0
- package/types/api/types/HealthFanoutResponse.d.ts +7 -0
- package/types/api/types/HealthResponse.d.ts +8 -0
- package/types/api/types/HealthStatus.d.ts +8 -0
- package/types/api/types/MetadataGetResponse.d.ts +12 -8
- package/types/api/types/Namespace.d.ts +7 -3
- package/types/api/types/NamespaceListResponse.d.ts +4 -1
- package/types/api/types/NamespacesCreateResponse.d.ts +3 -0
- package/types/api/types/Pagination.d.ts +4 -2
- package/types/api/types/RivetId.d.ts +3 -0
- package/types/api/types/Runner.d.ts +21 -0
- package/types/api/types/RunnerConfig.d.ts +11 -0
- package/types/api/types/RunnerConfigKind.d.ts +5 -0
- package/types/api/types/RunnerConfigKindNormal.d.ts +7 -0
- package/types/api/types/RunnerConfigKindNormalNormal.d.ts +12 -0
- package/types/api/types/RunnerConfigKindServerless.d.ts +7 -0
- package/types/api/types/RunnerConfigKindServerlessServerless.d.ts +29 -0
- package/types/api/types/RunnerConfigNormal.d.ts +12 -0
- package/types/api/types/RunnerConfigResponse.d.ts +8 -0
- package/types/api/types/RunnerConfigServerless.d.ts +29 -0
- package/types/api/types/RunnerConfigVariant.d.ts +8 -0
- package/types/api/types/RunnerConfigsDeleteResponse.d.ts +4 -0
- package/types/api/types/RunnerConfigsListResponse.d.ts +8 -0
- package/types/api/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +7 -0
- package/types/api/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +4 -0
- package/types/api/types/RunnerConfigsRefreshMetadataResponse.d.ts +4 -0
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +5 -0
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +7 -0
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +7 -0
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +7 -0
- package/types/api/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +6 -0
- package/types/api/types/RunnerConfigsServerlessMetadataError.d.ts +16 -0
- package/types/api/types/RunnerConfigsUpsertResponse.d.ts +6 -0
- package/types/api/types/RunnersListNamesResponse.d.ts +8 -0
- package/types/api/types/RunnersListResponse.d.ts +8 -0
- package/types/api/types/index.d.ts +38 -10
- package/types/serialization/client/requests/ActorsCreateRequest.d.ts +4 -1
- package/types/serialization/client/requests/ActorsGetOrCreateRequest.d.ts +5 -2
- package/types/serialization/client/requests/RunnerConfigsServerlessHealthCheckRequest.d.ts +13 -0
- package/types/serialization/client/requests/RunnerConfigsUpsertRequestBody.d.ts +13 -0
- package/types/serialization/client/requests/index.d.ts +2 -0
- package/types/serialization/resources/authTokens/client/index.d.ts +1 -0
- package/types/serialization/resources/authTokens/client/requests/AuthTokenCreateRequest.d.ts +16 -0
- package/types/serialization/resources/authTokens/client/requests/index.d.ts +1 -0
- package/types/serialization/resources/authTokens/index.d.ts +1 -0
- package/types/serialization/resources/index.d.ts +2 -0
- package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts +1 -0
- package/types/serialization/types/Actor.d.ts +17 -10
- package/types/serialization/types/ActorName.d.ts +3 -0
- package/types/serialization/types/ActorsCreateResponse.d.ts +3 -1
- package/types/serialization/types/ActorsDeleteResponse.d.ts +4 -1
- package/types/serialization/types/ActorsGetOrCreateResponse.d.ts +3 -0
- package/types/serialization/types/ActorsKvGetResponse.d.ts +13 -0
- package/types/serialization/types/ActorsListNamesResponse.d.ts +5 -0
- package/types/serialization/types/ActorsListResponse.d.ts +4 -1
- package/types/serialization/types/ActorsRescheduleRequestBody.d.ts +10 -0
- package/types/serialization/types/ActorsRescheduleResponse.d.ts +4 -1
- package/types/serialization/types/ActorsSleepRequestBody.d.ts +10 -0
- package/types/serialization/types/ActorsSleepResponse.d.ts +4 -1
- package/types/serialization/types/AuthOperationKind.d.ts +3 -0
- package/types/serialization/types/AuthTokenCreateResponse.d.ts +5 -2
- package/types/serialization/types/AuthTokenGrant.d.ts +8 -5
- package/types/serialization/types/AuthTokenInspectResponse.d.ts +8 -4
- package/types/serialization/types/AuthTokenResource.d.ts +10 -0
- package/types/serialization/types/AuthTokenTargetScope.d.ts +11 -0
- package/types/serialization/types/AuthTokenTargetScopeId.d.ts +13 -0
- package/types/serialization/types/CrashPolicy.d.ts +10 -0
- package/types/serialization/types/Datacenter.d.ts +5 -0
- package/types/serialization/types/DatacenterHealth.d.ts +19 -0
- package/types/serialization/types/DatacentersListResponse.d.ts +6 -1
- package/types/serialization/types/Envoy.d.ts +24 -0
- package/types/serialization/types/EnvoysListResponse.d.ts +15 -0
- package/types/serialization/types/HealthFanoutResponse.d.ts +13 -0
- package/types/serialization/types/HealthResponse.d.ts +14 -0
- package/types/serialization/types/HealthStatus.d.ts +10 -0
- package/types/serialization/types/MetadataGetResponse.d.ts +12 -4
- package/types/serialization/types/Namespace.d.ts +7 -1
- package/types/serialization/types/NamespaceListResponse.d.ts +4 -1
- package/types/serialization/types/NamespacesCreateResponse.d.ts +3 -0
- package/types/serialization/types/Pagination.d.ts +4 -1
- package/types/serialization/types/RivetId.d.ts +3 -0
- package/types/serialization/types/Runner.d.ts +27 -0
- package/types/serialization/types/RunnerConfig.d.ts +17 -0
- package/types/serialization/types/RunnerConfigKind.d.ts +12 -0
- package/types/serialization/types/RunnerConfigKindNormal.d.ts +13 -0
- package/types/serialization/types/RunnerConfigKindNormalNormal.d.ts +15 -0
- package/types/serialization/types/RunnerConfigKindServerless.d.ts +13 -0
- package/types/serialization/types/RunnerConfigKindServerlessServerless.d.ts +25 -0
- package/types/serialization/types/RunnerConfigNormal.d.ts +15 -0
- package/types/serialization/types/RunnerConfigResponse.d.ts +14 -0
- package/types/serialization/types/RunnerConfigServerless.d.ts +25 -0
- package/types/serialization/types/RunnerConfigVariant.d.ts +10 -0
- package/types/serialization/types/RunnerConfigsDeleteResponse.d.ts +10 -0
- package/types/serialization/types/RunnerConfigsListResponse.d.ts +15 -0
- package/types/serialization/types/RunnerConfigsListResponseRunnerConfigsValue.d.ts +13 -0
- package/types/serialization/types/RunnerConfigsRefreshMetadataRequestBody.d.ts +10 -0
- package/types/serialization/types/RunnerConfigsRefreshMetadataResponse.d.ts +10 -0
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponse.d.ts +12 -0
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailure.d.ts +13 -0
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseFailureFailure.d.ts +13 -0
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccess.d.ts +13 -0
- package/types/serialization/types/RunnerConfigsServerlessHealthCheckResponseSuccessSuccess.d.ts +12 -0
- package/types/serialization/types/RunnerConfigsServerlessMetadataError.d.ts +14 -0
- package/types/serialization/types/RunnerConfigsUpsertResponse.d.ts +12 -0
- package/types/serialization/types/RunnersListNamesResponse.d.ts +14 -0
- package/types/serialization/types/RunnersListResponse.d.ts +15 -0
- package/types/serialization/types/index.d.ts +38 -10
- package/types/api/client/requests/ActorsGetRequest.d.ts +0 -3
- package/types/api/resources/pools/client/Client.d.ts +0 -57
- package/types/api/resources/pools/client/requests/PoolsDeleteRequest.d.ts +0 -3
- package/types/api/resources/pools/client/requests/PoolsGetRequest.d.ts +0 -3
- package/types/api/resources/pools/client/requests/PoolsUpsertRequest.d.ts +0 -8
- package/types/api/resources/pools/client/requests/index.d.ts +0 -5
- package/types/api/types/ActorsGetResponse.d.ts +0 -4
- package/types/api/types/AuthResourceKind.d.ts +0 -1
- package/types/api/types/AuthTargetScope.d.ts +0 -4
- package/types/api/types/ErrorResponse.d.ts +0 -10
- package/types/api/types/Node.d.ts +0 -20
- package/types/api/types/Pool.d.ts +0 -14
- package/types/api/types/PoolResponse.d.ts +0 -4
- package/types/api/types/PoolsDeleteResponse.d.ts +0 -1
- package/types/api/types/PoolsListNodesResponse.d.ts +0 -5
- package/types/api/types/PoolsListResponse.d.ts +0 -5
- package/types/serialization/types/ActorsGetResponse.d.ts +0 -10
- package/types/serialization/types/AuthResourceKind.d.ts +0 -7
- package/types/serialization/types/AuthTargetScope.d.ts +0 -10
- package/types/serialization/types/ErrorResponse.d.ts +0 -12
- package/types/serialization/types/Node.d.ts +0 -17
- package/types/serialization/types/Pool.d.ts +0 -14
- package/types/serialization/types/PoolResponse.d.ts +0 -10
- package/types/serialization/types/PoolsDeleteResponse.d.ts +0 -7
- package/types/serialization/types/PoolsListNodesResponse.d.ts +0 -12
- package/types/serialization/types/PoolsListResponse.d.ts +0 -12
- /package/types/api/resources/{pools → envoys}/client/index.d.ts +0 -0
- /package/types/api/resources/{pools → envoys}/index.d.ts +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
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;
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -3,29 +3,57 @@ export * from "./ActorName";
|
|
|
3
3
|
export * from "./ActorsCreateResponse";
|
|
4
4
|
export * from "./ActorsDeleteResponse";
|
|
5
5
|
export * from "./ActorsGetOrCreateResponse";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./ActorsKvGetResponse";
|
|
7
7
|
export * from "./ActorsListNamesResponse";
|
|
8
8
|
export * from "./ActorsListResponse";
|
|
9
|
+
export * from "./ActorsRescheduleRequestBody";
|
|
9
10
|
export * from "./ActorsRescheduleResponse";
|
|
11
|
+
export * from "./ActorsSleepRequestBody";
|
|
10
12
|
export * from "./ActorsSleepResponse";
|
|
11
13
|
export * from "./AuthOperationKind";
|
|
12
|
-
export * from "./AuthResourceKind";
|
|
13
|
-
export * from "./AuthTargetScope";
|
|
14
14
|
export * from "./AuthTokenCreateResponse";
|
|
15
15
|
export * from "./AuthTokenGrant";
|
|
16
16
|
export * from "./AuthTokenInspectResponse";
|
|
17
|
+
export * from "./AuthTokenResource";
|
|
18
|
+
export * from "./AuthTokenTargetScopeId";
|
|
19
|
+
export * from "./AuthTokenTargetScope";
|
|
20
|
+
export * from "./CrashPolicy";
|
|
17
21
|
export * from "./Datacenter";
|
|
22
|
+
export * from "./DatacenterHealth";
|
|
18
23
|
export * from "./DatacentersListResponse";
|
|
19
|
-
export * from "./
|
|
24
|
+
export * from "./Envoy";
|
|
25
|
+
export * from "./EnvoysListResponse";
|
|
26
|
+
export * from "./HealthFanoutResponse";
|
|
27
|
+
export * from "./HealthResponse";
|
|
28
|
+
export * from "./HealthStatus";
|
|
20
29
|
export * from "./MetadataGetResponse";
|
|
21
30
|
export * from "./Namespace";
|
|
22
31
|
export * from "./NamespaceListResponse";
|
|
23
32
|
export * from "./NamespacesCreateResponse";
|
|
24
|
-
export * from "./Node";
|
|
25
33
|
export * from "./Pagination";
|
|
26
|
-
export * from "./Pool";
|
|
27
|
-
export * from "./PoolResponse";
|
|
28
|
-
export * from "./PoolsDeleteResponse";
|
|
29
|
-
export * from "./PoolsListNodesResponse";
|
|
30
|
-
export * from "./PoolsListResponse";
|
|
31
34
|
export * from "./RivetId";
|
|
35
|
+
export * from "./Runner";
|
|
36
|
+
export * from "./RunnerConfigNormal";
|
|
37
|
+
export * from "./RunnerConfigServerless";
|
|
38
|
+
export * from "./RunnerConfig";
|
|
39
|
+
export * from "./RunnerConfigKindNormalNormal";
|
|
40
|
+
export * from "./RunnerConfigKindNormal";
|
|
41
|
+
export * from "./RunnerConfigKindServerlessServerless";
|
|
42
|
+
export * from "./RunnerConfigKindServerless";
|
|
43
|
+
export * from "./RunnerConfigKind";
|
|
44
|
+
export * from "./RunnerConfigResponse";
|
|
45
|
+
export * from "./RunnerConfigVariant";
|
|
46
|
+
export * from "./RunnerConfigsDeleteResponse";
|
|
47
|
+
export * from "./RunnerConfigsListResponse";
|
|
48
|
+
export * from "./RunnerConfigsListResponseRunnerConfigsValue";
|
|
49
|
+
export * from "./RunnerConfigsRefreshMetadataRequestBody";
|
|
50
|
+
export * from "./RunnerConfigsRefreshMetadataResponse";
|
|
51
|
+
export * from "./RunnerConfigsServerlessHealthCheckResponseSuccessSuccess";
|
|
52
|
+
export * from "./RunnerConfigsServerlessHealthCheckResponseSuccess";
|
|
53
|
+
export * from "./RunnerConfigsServerlessHealthCheckResponseFailureFailure";
|
|
54
|
+
export * from "./RunnerConfigsServerlessHealthCheckResponseFailure";
|
|
55
|
+
export * from "./RunnerConfigsServerlessHealthCheckResponse";
|
|
56
|
+
export * from "./RunnerConfigsServerlessMetadataError";
|
|
57
|
+
export * from "./RunnerConfigsUpsertResponse";
|
|
58
|
+
export * from "./RunnersListNamesResponse";
|
|
59
|
+
export * from "./RunnersListResponse";
|
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../../index";
|
|
5
5
|
import * as Rivet from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
|
+
import { CrashPolicy } from "../../types/CrashPolicy";
|
|
7
8
|
export declare const ActorsCreateRequest: core.serialization.Schema<serializers.ActorsCreateRequest.Raw, Omit<Rivet.ActorsCreateRequest, "namespace">>;
|
|
8
9
|
export declare namespace ActorsCreateRequest {
|
|
9
10
|
interface Raw {
|
|
11
|
+
crash_policy: CrashPolicy.Raw;
|
|
12
|
+
datacenter?: string | null;
|
|
10
13
|
input?: string | null;
|
|
11
14
|
key?: string | null;
|
|
12
15
|
name: string;
|
|
13
|
-
|
|
16
|
+
runner_name_selector: string;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -4,12 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../../index";
|
|
5
5
|
import * as Rivet from "../../../api/index";
|
|
6
6
|
import * as core from "../../../core";
|
|
7
|
+
import { CrashPolicy } from "../../types/CrashPolicy";
|
|
7
8
|
export declare const ActorsGetOrCreateRequest: core.serialization.Schema<serializers.ActorsGetOrCreateRequest.Raw, Omit<Rivet.ActorsGetOrCreateRequest, "namespace">>;
|
|
8
9
|
export declare namespace ActorsGetOrCreateRequest {
|
|
9
10
|
interface Raw {
|
|
11
|
+
crash_policy: CrashPolicy.Raw;
|
|
12
|
+
datacenter?: string | null;
|
|
10
13
|
input?: string | null;
|
|
11
|
-
key
|
|
14
|
+
key: string;
|
|
12
15
|
name: string;
|
|
13
|
-
|
|
16
|
+
runner_name_selector: string;
|
|
14
17
|
}
|
|
15
18
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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,2 +1,4 @@
|
|
|
1
1
|
export { ActorsCreateRequest } from "./ActorsCreateRequest";
|
|
2
2
|
export { ActorsGetOrCreateRequest } from "./ActorsGetOrCreateRequest";
|
|
3
|
+
export { RunnerConfigsServerlessHealthCheckRequest } from "./RunnerConfigsServerlessHealthCheckRequest";
|
|
4
|
+
export { RunnerConfigsUpsertRequestBody } from "./RunnerConfigsUpsertRequestBody";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AuthTokenCreateRequest } from "./AuthTokenCreateRequest";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
package/types/serialization/resources/namespaces/client/requests/NamespacesCreateRequest.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
export declare const NamespacesCreateRequest: core.serialization.Schema<serializers.NamespacesCreateRequest.Raw, Rivet.NamespacesCreateRequest>;
|
|
8
8
|
export declare namespace NamespacesCreateRequest {
|
|
9
9
|
interface Raw {
|
|
10
|
+
display_name: string;
|
|
10
11
|
name: string;
|
|
11
12
|
}
|
|
12
13
|
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
import { RivetId } from "./RivetId";
|
|
8
|
+
import { CrashPolicy } from "./CrashPolicy";
|
|
5
9
|
export declare const Actor: core.serialization.ObjectSchema<serializers.Actor.Raw, Rivet.Actor>;
|
|
6
10
|
export declare namespace Actor {
|
|
7
11
|
interface Raw {
|
|
8
12
|
actor_id: RivetId.Raw;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
namespace: string;
|
|
12
|
-
pool: string;
|
|
13
|
+
connectable_ts?: number | null;
|
|
14
|
+
crash_policy: CrashPolicy.Raw;
|
|
13
15
|
create_ts: number;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
datacenter: string;
|
|
17
|
+
destroy_ts?: number | null;
|
|
18
|
+
error?: Record<string, unknown> | null;
|
|
19
|
+
key?: string | null;
|
|
20
|
+
name: string;
|
|
21
|
+
namespace_id: RivetId.Raw;
|
|
22
|
+
pending_allocation_ts?: number | null;
|
|
23
|
+
reschedule_ts?: number | null;
|
|
24
|
+
runner_name_selector: string;
|
|
25
|
+
sleep_ts?: number | null;
|
|
26
|
+
start_ts?: number | null;
|
|
20
27
|
}
|
|
21
28
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
@@ -6,6 +9,5 @@ export declare const ActorsCreateResponse: core.serialization.ObjectSchema<seria
|
|
|
6
9
|
export declare namespace ActorsCreateResponse {
|
|
7
10
|
interface Raw {
|
|
8
11
|
actor: Actor.Raw;
|
|
9
|
-
created: boolean;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
export declare const ActorsDeleteResponse: core.serialization.Schema<serializers.ActorsDeleteResponse.Raw, Rivet.ActorsDeleteResponse>;
|
|
5
8
|
export declare namespace ActorsDeleteResponse {
|
|
6
|
-
type Raw = Record<string,
|
|
9
|
+
type Raw = Record<string, unknown>;
|
|
7
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
import { ActorName } from "./ActorName";
|
|
8
|
+
import { Pagination } from "./Pagination";
|
|
5
9
|
export declare const ActorsListNamesResponse: core.serialization.ObjectSchema<serializers.ActorsListNamesResponse.Raw, Rivet.ActorsListNamesResponse>;
|
|
6
10
|
export declare namespace ActorsListNamesResponse {
|
|
7
11
|
interface Raw {
|
|
8
12
|
names: Record<string, ActorName.Raw>;
|
|
13
|
+
pagination: Pagination.Raw;
|
|
9
14
|
}
|
|
10
15
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
@@ -6,7 +9,7 @@ import { Pagination } from "./Pagination";
|
|
|
6
9
|
export declare const ActorsListResponse: core.serialization.ObjectSchema<serializers.ActorsListResponse.Raw, Rivet.ActorsListResponse>;
|
|
7
10
|
export declare namespace ActorsListResponse {
|
|
8
11
|
interface Raw {
|
|
9
|
-
actors:
|
|
12
|
+
actors: Actor.Raw[];
|
|
10
13
|
pagination: Pagination.Raw;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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,7 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
export declare const ActorsRescheduleResponse: core.serialization.Schema<serializers.ActorsRescheduleResponse.Raw, Rivet.ActorsRescheduleResponse>;
|
|
5
8
|
export declare namespace ActorsRescheduleResponse {
|
|
6
|
-
type Raw = Record<string,
|
|
9
|
+
type Raw = Record<string, unknown>;
|
|
7
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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,7 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
export declare const ActorsSleepResponse: core.serialization.Schema<serializers.ActorsSleepResponse.Raw, Rivet.ActorsSleepResponse>;
|
|
5
8
|
export declare namespace ActorsSleepResponse {
|
|
6
|
-
type Raw = Record<string,
|
|
9
|
+
type Raw = Record<string, unknown>;
|
|
7
10
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
export declare const AuthTokenCreateResponse: core.serialization.ObjectSchema<serializers.AuthTokenCreateResponse.Raw, Rivet.AuthTokenCreateResponse>;
|
|
5
8
|
export declare namespace AuthTokenCreateResponse {
|
|
6
9
|
interface Raw {
|
|
7
|
-
token: string;
|
|
8
|
-
issued_ts: number;
|
|
9
10
|
expires_ts: number;
|
|
11
|
+
issued_ts: number;
|
|
12
|
+
token: string;
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
import { AuthOperationKind } from "./AuthOperationKind";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
8
|
+
import { AuthTokenResource } from "./AuthTokenResource";
|
|
9
|
+
import { AuthTokenTargetScope } from "./AuthTokenTargetScope";
|
|
7
10
|
export declare const AuthTokenGrant: core.serialization.ObjectSchema<serializers.AuthTokenGrant.Raw, Rivet.AuthTokenGrant>;
|
|
8
11
|
export declare namespace AuthTokenGrant {
|
|
9
12
|
interface Raw {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
operations: AuthOperationKind.Raw[];
|
|
14
|
+
resource: AuthTokenResource.Raw;
|
|
15
|
+
target: AuthTokenTargetScope.Raw;
|
|
13
16
|
}
|
|
14
17
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
1
4
|
import * as serializers from "../index";
|
|
2
5
|
import * as Rivet from "../../api/index";
|
|
3
6
|
import * as core from "../../core";
|
|
4
7
|
import { AuthTokenGrant } from "./AuthTokenGrant";
|
|
8
|
+
import { RivetId } from "./RivetId";
|
|
5
9
|
export declare const AuthTokenInspectResponse: core.serialization.ObjectSchema<serializers.AuthTokenInspectResponse.Raw, Rivet.AuthTokenInspectResponse>;
|
|
6
10
|
export declare namespace AuthTokenInspectResponse {
|
|
7
11
|
interface Raw {
|
|
8
|
-
namespace: string;
|
|
9
|
-
subject: string | null;
|
|
10
|
-
grants: (AuthTokenGrant.Raw)[];
|
|
11
|
-
issued_ts: number;
|
|
12
12
|
expires_ts: number;
|
|
13
|
+
grants: AuthTokenGrant.Raw[];
|
|
14
|
+
issued_ts: number;
|
|
15
|
+
namespace_id: RivetId.Raw;
|
|
16
|
+
subject?: string | null;
|
|
13
17
|
}
|
|
14
18
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|