@rivetkit/engine-api-full 2.0.38 → 2.0.39
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 +5 -130
- package/dist/browser/cjs/serialization.js +5 -130
- package/dist/browser/esm/index.js +5 -130
- package/dist/browser/esm/serialization.js +5 -130
- package/dist/node/{index.js → cjs/index.js} +5 -130
- package/dist/node/{serialization.js → cjs/serialization.js} +5 -147
- package/dist/node/esm/core.js +2317 -0
- package/dist/node/esm/index.js +4218 -0
- package/dist/node/esm/serialization.js +1925 -0
- package/package.json +13 -4
- package/types/api/types/Actor.d.ts +1 -1
- package/types/api/types/RunnerConfigResponse.d.ts +1 -1
- package/types/api/types/index.d.ts +0 -17
- package/types/serialization/types/Actor.d.ts +1 -2
- package/types/serialization/types/RunnerConfigResponse.d.ts +1 -2
- package/types/serialization/types/index.d.ts +0 -17
- package/types/api/types/ActorError.d.ts +0 -20
- package/types/api/types/ActorErrorCrashed.d.ts +0 -11
- package/types/api/types/ActorErrorCrashedCrashed.d.ts +0 -9
- package/types/api/types/ActorErrorRunnerConnectionLost.d.ts +0 -11
- package/types/api/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.d.ts +0 -10
- package/types/api/types/ActorErrorRunnerDrainingTimeout.d.ts +0 -11
- package/types/api/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.d.ts +0 -10
- package/types/api/types/ActorErrorRunnerNoResponse.d.ts +0 -11
- package/types/api/types/ActorErrorRunnerNoResponseRunnerNoResponse.d.ts +0 -10
- package/types/api/types/ActorErrorRunnerPoolError.d.ts +0 -11
- package/types/api/types/RunnerPoolError.d.ts +0 -14
- package/types/api/types/RunnerPoolErrorServerlessConnectionError.d.ts +0 -11
- package/types/api/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.d.ts +0 -9
- package/types/api/types/RunnerPoolErrorServerlessHttpError.d.ts +0 -11
- package/types/api/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.d.ts +0 -10
- package/types/api/types/RunnerPoolErrorServerlessInvalidSsePayload.d.ts +0 -11
- package/types/api/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.d.ts +0 -10
- package/types/serialization/types/ActorError.d.ts +0 -15
- package/types/serialization/types/ActorErrorCrashed.d.ts +0 -13
- package/types/serialization/types/ActorErrorCrashedCrashed.d.ts +0 -12
- package/types/serialization/types/ActorErrorRunnerConnectionLost.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerConnectionLostRunnerConnectionLost.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerDrainingTimeout.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerNoResponse.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerNoResponseRunnerNoResponse.d.ts +0 -13
- package/types/serialization/types/ActorErrorRunnerPoolError.d.ts +0 -13
- package/types/serialization/types/RunnerPoolError.d.ts +0 -13
- package/types/serialization/types/RunnerPoolErrorServerlessConnectionError.d.ts +0 -13
- package/types/serialization/types/RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.d.ts +0 -12
- package/types/serialization/types/RunnerPoolErrorServerlessHttpError.d.ts +0 -13
- package/types/serialization/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.d.ts +0 -13
- package/types/serialization/types/RunnerPoolErrorServerlessInvalidSsePayload.d.ts +0 -13
- package/types/serialization/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.d.ts +0 -13
- /package/dist/node/{core.js → cjs/core.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/engine-api-full",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.39",
|
|
4
4
|
"repository": "https://github.com/rivet-gg/rivet/tree/main/sdks/typescript",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -10,21 +10,30 @@
|
|
|
10
10
|
],
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"node":
|
|
13
|
+
"node": {
|
|
14
|
+
"import": "./dist/node/esm/index.js",
|
|
15
|
+
"require": "./dist/node/cjs/index.js"
|
|
16
|
+
},
|
|
14
17
|
"import": "./dist/browser/esm/index.js",
|
|
15
18
|
"require": "./dist/browser/cjs/index.js",
|
|
16
19
|
"default": "./dist/browser/cjs/index.js",
|
|
17
20
|
"types": "./types/index.d.ts"
|
|
18
21
|
},
|
|
19
22
|
"./core": {
|
|
20
|
-
"node":
|
|
23
|
+
"node": {
|
|
24
|
+
"import": "./dist/node/esm/core.js",
|
|
25
|
+
"require": "./dist/node/cjs/core.js"
|
|
26
|
+
},
|
|
21
27
|
"import": "./dist/browser/esm/core.js",
|
|
22
28
|
"require": "./dist/browser/cjs/core.js",
|
|
23
29
|
"default": "./dist/browser/cjs/core.js",
|
|
24
30
|
"types": "./types/core/index.d.ts"
|
|
25
31
|
},
|
|
26
32
|
"./serialization": {
|
|
27
|
-
"node":
|
|
33
|
+
"node": {
|
|
34
|
+
"import": "./dist/node/esm/serialization.js",
|
|
35
|
+
"require": "./dist/node/cjs/serialization.js"
|
|
36
|
+
},
|
|
28
37
|
"import": "./dist/browser/esm/serialization.js",
|
|
29
38
|
"require": "./dist/browser/cjs/serialization.js",
|
|
30
39
|
"default": "./dist/browser/cjs/serialization.js",
|
|
@@ -13,7 +13,7 @@ export interface Actor {
|
|
|
13
13
|
/** Denotes when the actor was destroyed. */
|
|
14
14
|
destroyTs?: number;
|
|
15
15
|
/** Error details if the actor failed to start. */
|
|
16
|
-
error?:
|
|
16
|
+
error?: Record<string, unknown>;
|
|
17
17
|
key?: string;
|
|
18
18
|
name: string;
|
|
19
19
|
namespaceId: Rivet.RivetId;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
export * from "./Actor";
|
|
2
|
-
export * from "./ActorErrorRunnerPoolError";
|
|
3
|
-
export * from "./ActorErrorRunnerNoResponseRunnerNoResponse";
|
|
4
|
-
export * from "./ActorErrorRunnerNoResponse";
|
|
5
|
-
export * from "./ActorErrorRunnerConnectionLostRunnerConnectionLost";
|
|
6
|
-
export * from "./ActorErrorRunnerConnectionLost";
|
|
7
|
-
export * from "./ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout";
|
|
8
|
-
export * from "./ActorErrorRunnerDrainingTimeout";
|
|
9
|
-
export * from "./ActorErrorCrashedCrashed";
|
|
10
|
-
export * from "./ActorErrorCrashed";
|
|
11
|
-
export * from "./ActorError";
|
|
12
2
|
export * from "./ActorName";
|
|
13
3
|
export * from "./ActorsCreateResponse";
|
|
14
4
|
export * from "./ActorsDeleteResponse";
|
|
@@ -59,12 +49,5 @@ export * from "./RunnerConfigsServerlessMetadataErrorInvalidResponseSchemaInvali
|
|
|
59
49
|
export * from "./RunnerConfigsServerlessMetadataErrorInvalidResponseSchema";
|
|
60
50
|
export * from "./RunnerConfigsServerlessMetadataError";
|
|
61
51
|
export * from "./RunnerConfigsUpsertResponse";
|
|
62
|
-
export * from "./RunnerPoolErrorServerlessHttpErrorServerlessHttpError";
|
|
63
|
-
export * from "./RunnerPoolErrorServerlessHttpError";
|
|
64
|
-
export * from "./RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError";
|
|
65
|
-
export * from "./RunnerPoolErrorServerlessConnectionError";
|
|
66
|
-
export * from "./RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload";
|
|
67
|
-
export * from "./RunnerPoolErrorServerlessInvalidSsePayload";
|
|
68
|
-
export * from "./RunnerPoolError";
|
|
69
52
|
export * from "./RunnersListNamesResponse";
|
|
70
53
|
export * from "./RunnersListResponse";
|
|
@@ -6,7 +6,6 @@ import * as Rivet from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { RivetId } from "./RivetId";
|
|
8
8
|
import { CrashPolicy } from "./CrashPolicy";
|
|
9
|
-
import { ActorError } from "./ActorError";
|
|
10
9
|
export declare const Actor: core.serialization.ObjectSchema<serializers.Actor.Raw, Rivet.Actor>;
|
|
11
10
|
export declare namespace Actor {
|
|
12
11
|
interface Raw {
|
|
@@ -16,7 +15,7 @@ export declare namespace Actor {
|
|
|
16
15
|
create_ts: number;
|
|
17
16
|
datacenter: string;
|
|
18
17
|
destroy_ts?: number | null;
|
|
19
|
-
error?:
|
|
18
|
+
error?: Record<string, unknown> | null;
|
|
20
19
|
key?: string | null;
|
|
21
20
|
name: string;
|
|
22
21
|
namespace_id: RivetId.Raw;
|
|
@@ -4,11 +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 { RunnerPoolError } from "./RunnerPoolError";
|
|
8
7
|
import { RunnerConfig } from "./RunnerConfig";
|
|
9
8
|
export declare const RunnerConfigResponse: core.serialization.ObjectSchema<serializers.RunnerConfigResponse.Raw, Rivet.RunnerConfigResponse>;
|
|
10
9
|
export declare namespace RunnerConfigResponse {
|
|
11
10
|
interface Raw extends RunnerConfig.Raw {
|
|
12
|
-
runner_pool_error?:
|
|
11
|
+
runner_pool_error?: Record<string, unknown> | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
export * from "./Actor";
|
|
2
|
-
export * from "./ActorErrorRunnerPoolError";
|
|
3
|
-
export * from "./ActorErrorRunnerNoResponseRunnerNoResponse";
|
|
4
|
-
export * from "./ActorErrorRunnerNoResponse";
|
|
5
|
-
export * from "./ActorErrorRunnerConnectionLostRunnerConnectionLost";
|
|
6
|
-
export * from "./ActorErrorRunnerConnectionLost";
|
|
7
|
-
export * from "./ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout";
|
|
8
|
-
export * from "./ActorErrorRunnerDrainingTimeout";
|
|
9
|
-
export * from "./ActorErrorCrashedCrashed";
|
|
10
|
-
export * from "./ActorErrorCrashed";
|
|
11
|
-
export * from "./ActorError";
|
|
12
2
|
export * from "./ActorName";
|
|
13
3
|
export * from "./ActorsCreateResponse";
|
|
14
4
|
export * from "./ActorsDeleteResponse";
|
|
@@ -59,12 +49,5 @@ export * from "./RunnerConfigsServerlessMetadataErrorInvalidResponseSchemaInvali
|
|
|
59
49
|
export * from "./RunnerConfigsServerlessMetadataErrorInvalidResponseSchema";
|
|
60
50
|
export * from "./RunnerConfigsServerlessMetadataError";
|
|
61
51
|
export * from "./RunnerConfigsUpsertResponse";
|
|
62
|
-
export * from "./RunnerPoolErrorServerlessHttpErrorServerlessHttpError";
|
|
63
|
-
export * from "./RunnerPoolErrorServerlessHttpError";
|
|
64
|
-
export * from "./RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError";
|
|
65
|
-
export * from "./RunnerPoolErrorServerlessConnectionError";
|
|
66
|
-
export * from "./RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload";
|
|
67
|
-
export * from "./RunnerPoolErrorServerlessInvalidSsePayload";
|
|
68
|
-
export * from "./RunnerPoolError";
|
|
69
52
|
export * from "./RunnersListNamesResponse";
|
|
70
53
|
export * from "./RunnersListResponse";
|
|
@@ -1,20 +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 ActorError =
|
|
6
|
-
/**
|
|
7
|
-
* Runner pool-related errors */
|
|
8
|
-
Rivet.ActorErrorRunnerPoolError | "no_capacity"
|
|
9
|
-
/**
|
|
10
|
-
* Runner was allocated but never started the actor (GC timeout) */
|
|
11
|
-
| Rivet.ActorErrorRunnerNoResponse
|
|
12
|
-
/**
|
|
13
|
-
* Runner connection was lost (no recent ping, network issue, or crash) */
|
|
14
|
-
| Rivet.ActorErrorRunnerConnectionLost
|
|
15
|
-
/**
|
|
16
|
-
* Runner was draining but actor didn't stop in time */
|
|
17
|
-
| Rivet.ActorErrorRunnerDrainingTimeout
|
|
18
|
-
/**
|
|
19
|
-
* Actor exited with an error and is now sleeping */
|
|
20
|
-
| Rivet.ActorErrorCrashed;
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Actor exited with an error and is now sleeping
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorCrashed {
|
|
9
|
-
/** Actor exited with an error and is now sleeping */
|
|
10
|
-
crashed: Rivet.ActorErrorCrashedCrashed;
|
|
11
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Runner connection was lost (no recent ping, network issue, or crash)
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerConnectionLost {
|
|
9
|
-
/** Runner connection was lost (no recent ping, network issue, or crash) */
|
|
10
|
-
runnerConnectionLost: Rivet.ActorErrorRunnerConnectionLostRunnerConnectionLost;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* Runner connection was lost (no recent ping, network issue, or crash)
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerConnectionLostRunnerConnectionLost {
|
|
9
|
-
runnerId: Rivet.RivetId;
|
|
10
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Runner was draining but actor didn't stop in time
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerDrainingTimeout {
|
|
9
|
-
/** Runner was draining but actor didn't stop in time */
|
|
10
|
-
runnerDrainingTimeout: Rivet.ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* Runner was draining but actor didn't stop in time
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout {
|
|
9
|
-
runnerId: Rivet.RivetId;
|
|
10
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Runner was allocated but never started the actor (GC timeout)
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerNoResponse {
|
|
9
|
-
/** Runner was allocated but never started the actor (GC timeout) */
|
|
10
|
-
runnerNoResponse: Rivet.ActorErrorRunnerNoResponseRunnerNoResponse;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Rivet from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* Runner was allocated but never started the actor (GC timeout)
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerNoResponseRunnerNoResponse {
|
|
9
|
-
runnerId: Rivet.RivetId;
|
|
10
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Runner pool-related errors
|
|
7
|
-
*/
|
|
8
|
-
export interface ActorErrorRunnerPoolError {
|
|
9
|
-
/** Runner pool-related errors */
|
|
10
|
-
runnerPoolError: Rivet.RunnerPoolError;
|
|
11
|
-
}
|
|
@@ -1,14 +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 RunnerPoolError =
|
|
6
|
-
/**
|
|
7
|
-
* Serverless: SSE returned non-200 status code (e.g., 404, 500) */
|
|
8
|
-
Rivet.RunnerPoolErrorServerlessHttpError | "serverless_stream_ended_early"
|
|
9
|
-
/**
|
|
10
|
-
* Serverless: SSE connection or network error */
|
|
11
|
-
| Rivet.RunnerPoolErrorServerlessConnectionError
|
|
12
|
-
/**
|
|
13
|
-
* Serverless: Runner sent invalid payload */
|
|
14
|
-
| Rivet.RunnerPoolErrorServerlessInvalidSsePayload | "internal_error";
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Serverless: SSE connection or network error
|
|
7
|
-
*/
|
|
8
|
-
export interface RunnerPoolErrorServerlessConnectionError {
|
|
9
|
-
/** Serverless: SSE connection or network error */
|
|
10
|
-
serverlessConnectionError: Rivet.RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError;
|
|
11
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Serverless: SSE returned non-200 status code (e.g., 404, 500)
|
|
7
|
-
*/
|
|
8
|
-
export interface RunnerPoolErrorServerlessHttpError {
|
|
9
|
-
/** Serverless: SSE returned non-200 status code (e.g., 404, 500) */
|
|
10
|
-
serverlessHttpError: Rivet.RunnerPoolErrorServerlessHttpErrorServerlessHttpError;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Serverless: SSE returned non-200 status code (e.g., 404, 500)
|
|
6
|
-
*/
|
|
7
|
-
export interface RunnerPoolErrorServerlessHttpErrorServerlessHttpError {
|
|
8
|
-
body: string;
|
|
9
|
-
statusCode: number;
|
|
10
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* Serverless: Runner sent invalid payload
|
|
7
|
-
*/
|
|
8
|
-
export interface RunnerPoolErrorServerlessInvalidSsePayload {
|
|
9
|
-
/** Serverless: Runner sent invalid payload */
|
|
10
|
-
serverlessInvalidSsePayload: Rivet.RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload;
|
|
11
|
-
}
|
package/types/api/types/RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Serverless: Runner sent invalid payload
|
|
6
|
-
*/
|
|
7
|
-
export interface RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload {
|
|
8
|
-
message: string;
|
|
9
|
-
rawPayload?: string;
|
|
10
|
-
}
|
|
@@ -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 { ActorErrorRunnerPoolError } from "./ActorErrorRunnerPoolError";
|
|
8
|
-
import { ActorErrorRunnerNoResponse } from "./ActorErrorRunnerNoResponse";
|
|
9
|
-
import { ActorErrorRunnerConnectionLost } from "./ActorErrorRunnerConnectionLost";
|
|
10
|
-
import { ActorErrorRunnerDrainingTimeout } from "./ActorErrorRunnerDrainingTimeout";
|
|
11
|
-
import { ActorErrorCrashed } from "./ActorErrorCrashed";
|
|
12
|
-
export declare const ActorError: core.serialization.Schema<serializers.ActorError.Raw, Rivet.ActorError>;
|
|
13
|
-
export declare namespace ActorError {
|
|
14
|
-
type Raw = ActorErrorRunnerPoolError.Raw | "no_capacity" | ActorErrorRunnerNoResponse.Raw | ActorErrorRunnerConnectionLost.Raw | ActorErrorRunnerDrainingTimeout.Raw | ActorErrorCrashed.Raw;
|
|
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 { ActorErrorCrashedCrashed } from "./ActorErrorCrashedCrashed";
|
|
8
|
-
export declare const ActorErrorCrashed: core.serialization.ObjectSchema<serializers.ActorErrorCrashed.Raw, Rivet.ActorErrorCrashed>;
|
|
9
|
-
export declare namespace ActorErrorCrashed {
|
|
10
|
-
interface Raw {
|
|
11
|
-
crashed: ActorErrorCrashedCrashed.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -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
|
-
export declare const ActorErrorCrashedCrashed: core.serialization.ObjectSchema<serializers.ActorErrorCrashedCrashed.Raw, Rivet.ActorErrorCrashedCrashed>;
|
|
8
|
-
export declare namespace ActorErrorCrashedCrashed {
|
|
9
|
-
interface Raw {
|
|
10
|
-
message?: string | null;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -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 { ActorErrorRunnerConnectionLostRunnerConnectionLost } from "./ActorErrorRunnerConnectionLostRunnerConnectionLost";
|
|
8
|
-
export declare const ActorErrorRunnerConnectionLost: core.serialization.ObjectSchema<serializers.ActorErrorRunnerConnectionLost.Raw, Rivet.ActorErrorRunnerConnectionLost>;
|
|
9
|
-
export declare namespace ActorErrorRunnerConnectionLost {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_connection_lost: ActorErrorRunnerConnectionLostRunnerConnectionLost.Raw;
|
|
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 { RivetId } from "./RivetId";
|
|
8
|
-
export declare const ActorErrorRunnerConnectionLostRunnerConnectionLost: core.serialization.ObjectSchema<serializers.ActorErrorRunnerConnectionLostRunnerConnectionLost.Raw, Rivet.ActorErrorRunnerConnectionLostRunnerConnectionLost>;
|
|
9
|
-
export declare namespace ActorErrorRunnerConnectionLostRunnerConnectionLost {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_id: RivetId.Raw;
|
|
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 { ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout } from "./ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout";
|
|
8
|
-
export declare const ActorErrorRunnerDrainingTimeout: core.serialization.ObjectSchema<serializers.ActorErrorRunnerDrainingTimeout.Raw, Rivet.ActorErrorRunnerDrainingTimeout>;
|
|
9
|
-
export declare namespace ActorErrorRunnerDrainingTimeout {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_draining_timeout: ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.Raw;
|
|
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 { RivetId } from "./RivetId";
|
|
8
|
-
export declare const ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout: core.serialization.ObjectSchema<serializers.ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout.Raw, Rivet.ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout>;
|
|
9
|
-
export declare namespace ActorErrorRunnerDrainingTimeoutRunnerDrainingTimeout {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_id: RivetId.Raw;
|
|
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 { ActorErrorRunnerNoResponseRunnerNoResponse } from "./ActorErrorRunnerNoResponseRunnerNoResponse";
|
|
8
|
-
export declare const ActorErrorRunnerNoResponse: core.serialization.ObjectSchema<serializers.ActorErrorRunnerNoResponse.Raw, Rivet.ActorErrorRunnerNoResponse>;
|
|
9
|
-
export declare namespace ActorErrorRunnerNoResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_no_response: ActorErrorRunnerNoResponseRunnerNoResponse.Raw;
|
|
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 { RivetId } from "./RivetId";
|
|
8
|
-
export declare const ActorErrorRunnerNoResponseRunnerNoResponse: core.serialization.ObjectSchema<serializers.ActorErrorRunnerNoResponseRunnerNoResponse.Raw, Rivet.ActorErrorRunnerNoResponseRunnerNoResponse>;
|
|
9
|
-
export declare namespace ActorErrorRunnerNoResponseRunnerNoResponse {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_id: RivetId.Raw;
|
|
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 { RunnerPoolError } from "./RunnerPoolError";
|
|
8
|
-
export declare const ActorErrorRunnerPoolError: core.serialization.ObjectSchema<serializers.ActorErrorRunnerPoolError.Raw, Rivet.ActorErrorRunnerPoolError>;
|
|
9
|
-
export declare namespace ActorErrorRunnerPoolError {
|
|
10
|
-
interface Raw {
|
|
11
|
-
runner_pool_error: RunnerPoolError.Raw;
|
|
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 { RunnerPoolErrorServerlessHttpError } from "./RunnerPoolErrorServerlessHttpError";
|
|
8
|
-
import { RunnerPoolErrorServerlessConnectionError } from "./RunnerPoolErrorServerlessConnectionError";
|
|
9
|
-
import { RunnerPoolErrorServerlessInvalidSsePayload } from "./RunnerPoolErrorServerlessInvalidSsePayload";
|
|
10
|
-
export declare const RunnerPoolError: core.serialization.Schema<serializers.RunnerPoolError.Raw, Rivet.RunnerPoolError>;
|
|
11
|
-
export declare namespace RunnerPoolError {
|
|
12
|
-
type Raw = RunnerPoolErrorServerlessHttpError.Raw | "serverless_stream_ended_early" | RunnerPoolErrorServerlessConnectionError.Raw | RunnerPoolErrorServerlessInvalidSsePayload.Raw | "internal_error";
|
|
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 { RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError } from "./RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError";
|
|
8
|
-
export declare const RunnerPoolErrorServerlessConnectionError: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessConnectionError.Raw, Rivet.RunnerPoolErrorServerlessConnectionError>;
|
|
9
|
-
export declare namespace RunnerPoolErrorServerlessConnectionError {
|
|
10
|
-
interface Raw {
|
|
11
|
-
serverless_connection_error: RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -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
|
-
export declare const RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError.Raw, Rivet.RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError>;
|
|
8
|
-
export declare namespace RunnerPoolErrorServerlessConnectionErrorServerlessConnectionError {
|
|
9
|
-
interface Raw {
|
|
10
|
-
message: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -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 { RunnerPoolErrorServerlessHttpErrorServerlessHttpError } from "./RunnerPoolErrorServerlessHttpErrorServerlessHttpError";
|
|
8
|
-
export declare const RunnerPoolErrorServerlessHttpError: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessHttpError.Raw, Rivet.RunnerPoolErrorServerlessHttpError>;
|
|
9
|
-
export declare namespace RunnerPoolErrorServerlessHttpError {
|
|
10
|
-
interface Raw {
|
|
11
|
-
serverless_http_error: RunnerPoolErrorServerlessHttpErrorServerlessHttpError.Raw;
|
|
12
|
-
}
|
|
13
|
-
}
|
package/types/serialization/types/RunnerPoolErrorServerlessHttpErrorServerlessHttpError.d.ts
DELETED
|
@@ -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 RunnerPoolErrorServerlessHttpErrorServerlessHttpError: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessHttpErrorServerlessHttpError.Raw, Rivet.RunnerPoolErrorServerlessHttpErrorServerlessHttpError>;
|
|
8
|
-
export declare namespace RunnerPoolErrorServerlessHttpErrorServerlessHttpError {
|
|
9
|
-
interface Raw {
|
|
10
|
-
body: string;
|
|
11
|
-
status_code: number;
|
|
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 { RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload } from "./RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload";
|
|
8
|
-
export declare const RunnerPoolErrorServerlessInvalidSsePayload: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessInvalidSsePayload.Raw, Rivet.RunnerPoolErrorServerlessInvalidSsePayload>;
|
|
9
|
-
export declare namespace RunnerPoolErrorServerlessInvalidSsePayload {
|
|
10
|
-
interface Raw {
|
|
11
|
-
serverless_invalid_sse_payload: RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.Raw;
|
|
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
|
-
export declare const RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload: core.serialization.ObjectSchema<serializers.RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload.Raw, Rivet.RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload>;
|
|
8
|
-
export declare namespace RunnerPoolErrorServerlessInvalidSsePayloadServerlessInvalidSsePayload {
|
|
9
|
-
interface Raw {
|
|
10
|
-
message: string;
|
|
11
|
-
raw_payload?: string | null;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
File without changes
|