@rljson/rljson 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/dist/rljson.d.ts +4 -4
  2. package/package.json +1 -1
package/dist/rljson.d.ts CHANGED
@@ -22,9 +22,9 @@ export type TableName = ItemId;
22
22
  * - `ids` Tables containing item ids
23
23
  * - `properties` Tables containing item properties
24
24
  */
25
- export type TableType = 'buffet' | 'cake' | 'collection' | 'ids' | 'properties';
25
+ export type ContentType = 'buffet' | 'cake' | 'collection' | 'ids' | 'properties';
26
26
  /** A table in the rljson format */
27
- export interface RljsonTable<Data extends Json, Type extends TableType> extends Json {
27
+ export interface RljsonTable<Data extends Json, Type extends ContentType> extends Json {
28
28
  /** The data rows of the table */
29
29
  _data: Data[];
30
30
  /** The type of the table */
@@ -160,9 +160,9 @@ export type BuffetsTable = RljsonTable<Buffet, 'buffet'>;
160
160
  /**
161
161
  * One of the supported Rljson table types
162
162
  */
163
- export type RljsonTableType = BuffetsTable | PropertiesTable | CollectionsTable | IdSetsTable | CakesTable;
163
+ export type TableType = BuffetsTable | PropertiesTable | CollectionsTable | IdSetsTable | CakesTable;
164
164
  /** The rljson data format */
165
165
  export interface Rljson extends Json {
166
- [tableId: TableName]: RljsonTableType | string;
166
+ [tableId: TableName]: TableType | string;
167
167
  }
168
168
  export declare const exampleRljson: () => Rljson;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rljson/rljson",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "packageManager": "pnpm@10.6.2",
5
5
  "description": "The RLJSON data format specification",
6
6
  "homepage": "https://github.com/rljson/rljson",