@rljson/rljson 0.0.24 → 0.0.25

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,4 +1,4 @@
1
- import { Json, JsonKey, JsonValueType } from '@rljson/json';
1
+ import { Json, JsonValueType } from '@rljson/json';
2
2
  import { RljsonTable } from '../rljson.ts';
3
3
  import { ColumnKey, ContentType, Ref, TableKey } from '../typedefs.ts';
4
4
  /**
@@ -29,11 +29,15 @@ export interface TableCfg extends Json {
29
29
  /**
30
30
  * A short description of the table
31
31
  */
32
- columns: Record<JsonKey, ColumnCfg>;
32
+ columns: Record<ColumnKey, ColumnCfg>;
33
33
  /**
34
34
  * The content type of the table
35
35
  */
36
36
  type: ContentType;
37
+ /**
38
+ * The previous version of the table
39
+ */
40
+ previous?: TableCfgRef;
37
41
  }
38
42
  /**
39
43
  * A table containing columns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "packageManager": "pnpm@10.6.3",
5
5
  "description": "The RLJSON data format specification",
6
6
  "homepage": "https://github.com/rljson/rljson",