toilscript 0.1.29 → 0.1.31

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,7 +1,7 @@
1
1
  {
2
2
  "imports": {
3
- "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.29/dist/toilscript.js",
4
- "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.29/dist/cli.js",
3
+ "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.31/dist/toilscript.js",
4
+ "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.31/dist/cli.js",
5
5
  "binaryen": "https://cdn.jsdelivr.net/npm/binaryen@129.0.0-nightly.20260428/index.js",
6
6
  "long": "https://cdn.jsdelivr.net/npm/long@5.3.2/index.js"
7
7
  }
@@ -3021,7 +3021,7 @@ declare module "types:toilscript/src/parser" {
3021
3021
  parseClassOrInterface(tn: Tokenizer, flags: CommonFlags, decorators: DecoratorNode[] | null, startPos: number): ClassDeclaration | null;
3022
3022
  /**
3023
3023
  * Synthesize the ToilDB `@database` binding: for each `@collection` field
3024
- * (typed as a `Record<V,K>`/... handle), add a STATIC handle to the class
3024
+ * (typed as a `Documents<K,V>`/... handle), add a STATIC handle to the class
3025
3025
  * initialized once at module init via `__toildbResolve("<Db>/<collection>")`.
3026
3026
  * The class name is used as the value: `App.users.get(...)` reads the static
3027
3027
  * handle. The instance field stays as the type carrier (vestigial).