@rerun-io/web-viewer 0.22.1 → 0.23.0-alpha.2
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/README.md +5 -3
- package/index.d.ts +39 -6
- package/index.d.ts.map +1 -1
- package/index.js +33 -7
- package/index.js.map +1 -1
- package/index.ts +82 -20
- package/package.json +1 -1
- package/re_viewer.d.ts +39 -35
- package/re_viewer.js +1264 -1367
- package/re_viewer_bg.wasm +0 -0
- package/re_viewer_bg.wasm.d.ts +34 -31
package/re_viewer.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ declare namespace wasm_bindgen {
|
|
|
62
62
|
* Add an rrd to the viewer directly from a byte array.
|
|
63
63
|
*/
|
|
64
64
|
send_rrd_to_channel(id: string, data: Uint8Array): void;
|
|
65
|
+
send_table_to_channel(id: string, data: Uint8Array): void;
|
|
65
66
|
get_active_recording_id(): string | undefined;
|
|
66
67
|
set_active_recording_id(store_id: string): void;
|
|
67
68
|
get_active_timeline(store_id: string): string | undefined;
|
|
@@ -70,10 +71,10 @@ declare namespace wasm_bindgen {
|
|
|
70
71
|
*
|
|
71
72
|
* This does nothing if the timeline can't be found.
|
|
72
73
|
*/
|
|
73
|
-
set_active_timeline(store_id: string,
|
|
74
|
-
get_time_for_timeline(store_id: string,
|
|
75
|
-
set_time_for_timeline(store_id: string,
|
|
76
|
-
get_timeline_time_range(store_id: string,
|
|
74
|
+
set_active_timeline(store_id: string, timeline_name: string): void;
|
|
75
|
+
get_time_for_timeline(store_id: string, timeline_name: string): number | undefined;
|
|
76
|
+
set_time_for_timeline(store_id: string, timeline_name: string, time: number): void;
|
|
77
|
+
get_timeline_time_range(store_id: string, timeline_name: string): any;
|
|
77
78
|
get_playing(store_id: string): boolean | undefined;
|
|
78
79
|
set_playing(store_id: string, value: boolean): void;
|
|
79
80
|
}
|
|
@@ -85,60 +86,63 @@ declare type InitInput = RequestInfo | URL | Response | BufferSource | WebAssemb
|
|
|
85
86
|
declare interface InitOutput {
|
|
86
87
|
readonly memory: WebAssembly.Memory;
|
|
87
88
|
readonly __wbg_webhandle_free: (a: number, b: number) => void;
|
|
88
|
-
readonly webhandle_new: (a: number,
|
|
89
|
-
readonly webhandle_start: (a: number, b:
|
|
89
|
+
readonly webhandle_new: (a: any) => [number, number, number];
|
|
90
|
+
readonly webhandle_start: (a: number, b: any) => any;
|
|
90
91
|
readonly webhandle_toggle_panel_overrides: (a: number, b: number) => void;
|
|
91
|
-
readonly webhandle_override_panel_state: (a: number, b: number, c: number, d: number, e: number
|
|
92
|
+
readonly webhandle_override_panel_state: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
92
93
|
readonly webhandle_destroy: (a: number) => void;
|
|
93
94
|
readonly webhandle_has_panicked: (a: number) => number;
|
|
94
|
-
readonly webhandle_panic_message: (a: number
|
|
95
|
-
readonly webhandle_panic_callstack: (a: number
|
|
95
|
+
readonly webhandle_panic_message: (a: number) => [number, number];
|
|
96
|
+
readonly webhandle_panic_callstack: (a: number) => [number, number];
|
|
96
97
|
readonly webhandle_add_receiver: (a: number, b: number, c: number, d: number) => void;
|
|
97
98
|
readonly webhandle_remove_receiver: (a: number, b: number, c: number) => void;
|
|
98
99
|
readonly webhandle_open_channel: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
99
100
|
readonly webhandle_close_channel: (a: number, b: number, c: number) => void;
|
|
100
101
|
readonly webhandle_send_rrd_to_channel: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
101
|
-
readonly
|
|
102
|
+
readonly webhandle_send_table_to_channel: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
103
|
+
readonly webhandle_get_active_recording_id: (a: number) => [number, number];
|
|
102
104
|
readonly webhandle_set_active_recording_id: (a: number, b: number, c: number) => void;
|
|
103
|
-
readonly webhandle_get_active_timeline: (a: number, b: number, c: number
|
|
105
|
+
readonly webhandle_get_active_timeline: (a: number, b: number, c: number) => [number, number];
|
|
104
106
|
readonly webhandle_set_active_timeline: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
105
|
-
readonly webhandle_get_time_for_timeline: (a: number, b: number, c: number, d: number, e: number
|
|
107
|
+
readonly webhandle_get_time_for_timeline: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
106
108
|
readonly webhandle_set_time_for_timeline: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
107
|
-
readonly webhandle_get_timeline_time_range: (a: number, b: number, c: number, d: number, e: number) =>
|
|
109
|
+
readonly webhandle_get_timeline_time_range: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
108
110
|
readonly webhandle_get_playing: (a: number, b: number, c: number) => number;
|
|
109
111
|
readonly webhandle_set_playing: (a: number, b: number, c: number, d: number) => void;
|
|
110
112
|
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
111
|
-
readonly intounderlyingsink_write: (a: number, b:
|
|
112
|
-
readonly intounderlyingsink_close: (a: number) =>
|
|
113
|
-
readonly intounderlyingsink_abort: (a: number, b:
|
|
113
|
+
readonly intounderlyingsink_write: (a: number, b: any) => any;
|
|
114
|
+
readonly intounderlyingsink_close: (a: number) => any;
|
|
115
|
+
readonly intounderlyingsink_abort: (a: number, b: any) => any;
|
|
114
116
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
115
|
-
readonly intounderlyingbytesource_type: (a: number
|
|
117
|
+
readonly intounderlyingbytesource_type: (a: number) => [number, number];
|
|
116
118
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
117
|
-
readonly intounderlyingbytesource_start: (a: number, b:
|
|
118
|
-
readonly intounderlyingbytesource_pull: (a: number, b:
|
|
119
|
+
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
120
|
+
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
119
121
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
120
122
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
121
|
-
readonly intounderlyingsource_pull: (a: number, b:
|
|
123
|
+
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
122
124
|
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
125
|
+
readonly __externref_table_alloc: () => number;
|
|
126
|
+
readonly __wbindgen_export_1: WebAssembly.Table;
|
|
123
127
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
124
128
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
125
129
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
126
130
|
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
131
|
+
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
132
|
+
readonly __externref_table_dealloc: (a: number) => void;
|
|
133
|
+
readonly closure119_externref_shim_multivalue_shim: (a: number, b: number, c: any) => [number, number];
|
|
134
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf8b2e1e138bd9a18: (a: number, b: number) => void;
|
|
135
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha61f4681493bdb8f: (a: number, b: number) => void;
|
|
136
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h08b191b72e04463a: (a: number, b: number) => void;
|
|
137
|
+
readonly closure7982_externref_shim: (a: number, b: number, c: any) => void;
|
|
138
|
+
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbb7c8410aa30d4e4_multivalue_shim: (a: number, b: number) => [number, number];
|
|
139
|
+
readonly closure8757_externref_shim: (a: number, b: number, c: any) => void;
|
|
140
|
+
readonly closure12028_externref_shim: (a: number, b: number, c: any) => void;
|
|
141
|
+
readonly closure12602_externref_shim: (a: number, b: number, c: any) => void;
|
|
142
|
+
readonly closure12651_externref_shim: (a: number, b: number, c: any) => void;
|
|
143
|
+
readonly closure12694_externref_shim: (a: number, b: number, c: any) => void;
|
|
144
|
+
readonly closure17118_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
145
|
+
readonly __wbindgen_start: () => void;
|
|
142
146
|
}
|
|
143
147
|
|
|
144
148
|
/**
|