@quarb/wasm 0.30.0 → 0.32.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.
package/index.d.ts CHANGED
@@ -12,7 +12,12 @@ export type Format =
12
12
  | 'markdown'
13
13
  | 'text-html'
14
14
  | 'text-markdown'
15
- | 'text';
15
+ | 'text'
16
+ | 'corpus-html'
17
+ | 'corpus-markdown'
18
+ | 'corpus'
19
+ | 'conllu'
20
+ | 'corpus-conllu';
16
21
 
17
22
  /**
18
23
  * Initialize the engine once; subsequent calls share the load.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quarb/wasm",
3
- "version": "0.30.0",
3
+ "version": "0.32.0",
4
4
  "description": "Quarb \u2014 the arboreal query engine \u2014 compiled to WebAssembly, with TypeScript types. One-shot queries over JSON, YAML, TOML, CSV, XML, HTML, and Markdown, a whole website as one queryable tree (site search from a tarball, links, PageRank), plus the quai session engine (multi-source mounts, joins, &N history, kaiv, SQLite) \u2014 entirely client-side.",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/quai.d.ts CHANGED
@@ -22,6 +22,11 @@ export interface Source {
22
22
  | 'text-html'
23
23
  | 'text-markdown'
24
24
  | 'text'
25
+ | 'corpus-html'
26
+ | 'corpus-markdown'
27
+ | 'corpus'
28
+ | 'conllu'
29
+ | 'corpus-conllu'
25
30
  | 'kaiv'
26
31
  | 'daiv'
27
32
  | 'sqlite';
package/quai_wasm_bg.wasm CHANGED
Binary file
package/quarb_wasm.d.ts CHANGED
@@ -62,7 +62,7 @@ export class Site {
62
62
  /**
63
63
  * Execute `query` against `input` parsed as `format`
64
64
  * (json | yaml | toml | csv | tsv | xml | html | markdown |
65
- * text-html | text-markdown | text).
65
+ * text-html | text-markdown | text | corpus-html | corpus-markdown | corpus).
66
66
  * `now_millis` is the invocation instant for `now()`, as from
67
67
  * `Date.now()`. Returns a JSON envelope; never throws.
68
68
  */
package/quarb_wasm.js CHANGED
@@ -174,7 +174,7 @@ if (Symbol.dispose) Site.prototype[Symbol.dispose] = Site.prototype.free;
174
174
  /**
175
175
  * Execute `query` against `input` parsed as `format`
176
176
  * (json | yaml | toml | csv | tsv | xml | html | markdown |
177
- * text-html | text-markdown | text).
177
+ * text-html | text-markdown | text | corpus-html | corpus-markdown | corpus).
178
178
  * `now_millis` is the invocation instant for `now()`, as from
179
179
  * `Date.now()`. Returns a JSON envelope; never throws.
180
180
  * @param {string} format
Binary file