@rivetkit/rivetkit-napi 2.3.0-rc.12 → 2.3.0-rc.13
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/index.d.ts +23 -0
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -47,6 +47,26 @@ export interface JsQueueSendResult {
|
|
|
47
47
|
export interface JsActionDefinition {
|
|
48
48
|
name: string
|
|
49
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* One entry in the actor's `inspector.tabs[]` declaration. Either a
|
|
52
|
+
* custom-tab descriptor (id + label + source dir) or a built-in modifier
|
|
53
|
+
* (id + hidden=true). Validation already happened on the TS side; the
|
|
54
|
+
* runtime just splits the discriminator.
|
|
55
|
+
*/
|
|
56
|
+
export interface JsInspectorTabEntry {
|
|
57
|
+
id: string
|
|
58
|
+
/** Required for custom entries; omitted for HideBuiltin. */
|
|
59
|
+
label?: string
|
|
60
|
+
/** Required for custom entries — absolute path to the source directory. */
|
|
61
|
+
source?: string
|
|
62
|
+
/**
|
|
63
|
+
* Optional icon id for custom entries. Dashboard maps strings to
|
|
64
|
+
* glyphs; unknown ids fall back to a generic icon.
|
|
65
|
+
*/
|
|
66
|
+
icon?: string
|
|
67
|
+
/** Set to true for HideBuiltin entries. */
|
|
68
|
+
hidden?: boolean
|
|
69
|
+
}
|
|
50
70
|
export interface JsActorConfig {
|
|
51
71
|
name?: string
|
|
52
72
|
icon?: string
|
|
@@ -78,6 +98,7 @@ export interface JsActorConfig {
|
|
|
78
98
|
preloadMaxWorkflowBytes?: number
|
|
79
99
|
preloadMaxConnectionsBytes?: number
|
|
80
100
|
actions?: Array<JsActionDefinition>
|
|
101
|
+
inspectorTabs?: Array<JsInspectorTabEntry>
|
|
81
102
|
}
|
|
82
103
|
export interface JsBindParam {
|
|
83
104
|
kind: string
|
|
@@ -155,6 +176,8 @@ export interface JsServeConfig {
|
|
|
155
176
|
namespace: string
|
|
156
177
|
poolName: string
|
|
157
178
|
engineBinaryPath?: string
|
|
179
|
+
engineHost?: string
|
|
180
|
+
enginePort?: number
|
|
158
181
|
handleInspectorHttpInRuntime?: boolean
|
|
159
182
|
serverlessBasePath?: string
|
|
160
183
|
serverlessPackageVersion: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "2.3.0-rc.
|
|
3
|
+
"version": "2.3.0-rc.13",
|
|
4
4
|
"description": "Native N-API addon for RivetKit providing envoy client and SQLite access",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "index.js",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
46
|
-
"@rivetkit/engine-envoy-protocol": "2.3.0-rc.
|
|
46
|
+
"@rivetkit/engine-envoy-protocol": "2.3.0-rc.13"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.
|
|
50
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.
|
|
51
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.
|
|
52
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.
|
|
53
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.
|
|
54
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.
|
|
55
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.
|
|
49
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.13",
|
|
50
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.13",
|
|
51
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.13",
|
|
52
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.13",
|
|
53
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.13",
|
|
54
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.13",
|
|
55
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.13"
|
|
56
56
|
}
|
|
57
57
|
}
|