@perspective-dev/viewer 5.7.0 → 5.8.0

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.
@@ -1,3 +1,3 @@
1
1
  // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
2
 
3
- export type ViewOnUpdateResp = { delta: Uint8Array | undefined, port_id: number, };
3
+ export type ViewOnUpdateResp = { delta: Uint8Array | undefined, port_id: number, reset: boolean, };
@@ -42,13 +42,13 @@ plugin?: string,
42
42
  /**
43
43
  * Panel title, shown in its tab. Absent renders the default title.
44
44
  */
45
- title?: string,
45
+ title?: string | null,
46
46
  /**
47
47
  * Theme NAME (e.g. `"Pro Dark"`) — not a CSS value. Valid names are
48
48
  * the Perspective themes loaded on the page. Absent uses the
49
49
  * default.
50
50
  */
51
- theme?: string,
51
+ theme?: string | null,
52
52
  /**
53
53
  * Plugin-wide settings (as opposed to the per-column
54
54
  * [`Self::columns_config`]). Opaque to the viewer and defined by
@@ -481,18 +481,27 @@ export class GenericSQLVirtualServerModel {
481
481
  * Creates a new `JsDuckDBSqlBuilder` instance.
482
482
  */
483
483
  constructor(args?: any | null);
484
+ /**
485
+ * Returns the SQL relation reference for an entity id.
486
+ */
487
+ quoteEntity(entity_id: string): string;
484
488
  /**
485
489
  * Returns the SQL query that plans the view `config` would build and
486
490
  * reports its result columns without materializing it (`split_by` folded
487
491
  * into `group_by`, no `PIVOT`), or `undefined` when the config selects no
488
492
  * columns.
489
493
  */
490
- tableDescribe(table_id: string, config: any, schema: any): string;
494
+ tableDescribe(table_id: string, config: any, schema: any, unordered?: boolean | null): string;
491
495
  /**
492
496
  * Returns the SQL query to create a view from a table with the given
493
497
  * configuration.
494
498
  */
495
- tableMakeView(table_id: string, view_id: string, config: any, schema: any): string;
499
+ tableMakeView(table_id: string, view_id: string, config: any, schema: any, unordered?: boolean | null): string;
500
+ /**
501
+ * Returns the entity id of the hosted table at relation path `parts`,
502
+ * each part quoted only when it is not a bare identifier.
503
+ */
504
+ tablePath(parts: string[]): string;
496
505
  /**
497
506
  * Returns the SQL query to describe a table's schema.
498
507
  */
@@ -2082,8 +2091,10 @@ export interface InitOutput {
2082
2091
  readonly genericsqlvirtualservermodel_expressionsDescribe: (a: number, b: number, c: number, d: number, e: number) => void;
2083
2092
  readonly genericsqlvirtualservermodel_getHostedTables: (a: number, b: number) => void;
2084
2093
  readonly genericsqlvirtualservermodel_new: (a: number, b: number) => void;
2085
- readonly genericsqlvirtualservermodel_tableDescribe: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
2086
- readonly genericsqlvirtualservermodel_tableMakeView: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
2094
+ readonly genericsqlvirtualservermodel_quoteEntity: (a: number, b: number, c: number, d: number) => void;
2095
+ readonly genericsqlvirtualservermodel_tableDescribe: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2096
+ readonly genericsqlvirtualservermodel_tableMakeView: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
2097
+ readonly genericsqlvirtualservermodel_tablePath: (a: number, b: number, c: number, d: number) => void;
2087
2098
  readonly genericsqlvirtualservermodel_tableSchema: (a: number, b: number, c: number, d: number) => void;
2088
2099
  readonly genericsqlvirtualservermodel_tableSize: (a: number, b: number, c: number, d: number) => void;
2089
2100
  readonly genericsqlvirtualservermodel_viewCollapse: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -2157,22 +2168,22 @@ export interface InitOutput {
2157
2168
  readonly virtualdataslice_setStringCol: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
2158
2169
  readonly virtualserver_handleRequest: (a: number, b: number, c: number) => number;
2159
2170
  readonly virtualserver_new: (a: number, b: number) => void;
2160
- readonly __wasm_bindgen_func_elem_7606: (a: number, b: number) => void;
2161
- readonly __wasm_bindgen_func_elem_20715: (a: number, b: number) => void;
2162
- readonly __wasm_bindgen_func_elem_21331: (a: number, b: number) => void;
2163
- readonly __wasm_bindgen_func_elem_22750: (a: number, b: number) => void;
2164
- readonly __wasm_bindgen_func_elem_27432: (a: number, b: number) => void;
2165
- readonly __wasm_bindgen_func_elem_35898: (a: number, b: number, c: number, d: number) => void;
2166
- readonly __wasm_bindgen_func_elem_8701: (a: number, b: number, c: number) => void;
2167
- readonly __wasm_bindgen_func_elem_8702: (a: number, b: number, c: number) => void;
2168
- readonly __wasm_bindgen_func_elem_8703: (a: number, b: number, c: number) => void;
2169
- readonly __wasm_bindgen_func_elem_8699: (a: number, b: number, c: number) => void;
2170
- readonly __wasm_bindgen_func_elem_20738: (a: number, b: number, c: number) => void;
2171
- readonly __wasm_bindgen_func_elem_21335: (a: number, b: number, c: number) => void;
2172
- readonly __wasm_bindgen_func_elem_27434: (a: number, b: number, c: number) => void;
2173
- readonly __wasm_bindgen_func_elem_23402: (a: number, b: number) => number;
2174
- readonly __wasm_bindgen_func_elem_21334: (a: number, b: number) => void;
2175
- readonly __wasm_bindgen_func_elem_23403: (a: number, b: number) => void;
2171
+ readonly __wasm_bindgen_func_elem_7632: (a: number, b: number) => void;
2172
+ readonly __wasm_bindgen_func_elem_20819: (a: number, b: number) => void;
2173
+ readonly __wasm_bindgen_func_elem_21433: (a: number, b: number) => void;
2174
+ readonly __wasm_bindgen_func_elem_22881: (a: number, b: number) => void;
2175
+ readonly __wasm_bindgen_func_elem_27560: (a: number, b: number) => void;
2176
+ readonly __wasm_bindgen_func_elem_36047: (a: number, b: number, c: number, d: number) => void;
2177
+ readonly __wasm_bindgen_func_elem_8749: (a: number, b: number, c: number) => void;
2178
+ readonly __wasm_bindgen_func_elem_8750: (a: number, b: number, c: number) => void;
2179
+ readonly __wasm_bindgen_func_elem_8751: (a: number, b: number, c: number) => void;
2180
+ readonly __wasm_bindgen_func_elem_8747: (a: number, b: number, c: number) => void;
2181
+ readonly __wasm_bindgen_func_elem_20842: (a: number, b: number, c: number) => void;
2182
+ readonly __wasm_bindgen_func_elem_21437: (a: number, b: number, c: number) => void;
2183
+ readonly __wasm_bindgen_func_elem_27562: (a: number, b: number, c: number) => void;
2184
+ readonly __wasm_bindgen_func_elem_23511: (a: number, b: number) => number;
2185
+ readonly __wasm_bindgen_func_elem_21436: (a: number, b: number) => void;
2186
+ readonly __wasm_bindgen_func_elem_23512: (a: number, b: number) => void;
2176
2187
  readonly __wbindgen_export: (a: number, b: number) => number;
2177
2188
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
2178
2189
  readonly __wbindgen_export3: (a: number) => void;