@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,
|
|
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<
|
|
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
|