You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
327 B
23 lines
327 B
|
8 months ago
|
// primitives.ts
|
||
|
|
|
||
|
|
|
||
|
|
export type ID<T extends string = string> = `${T}:${string}`;
|
||
|
|
|
||
|
|
|
||
|
|
export type Value =
|
||
|
|
| string
|
||
|
|
| number
|
||
|
|
| boolean
|
||
|
|
| Date
|
||
|
|
| ID
|
||
|
|
| Value[];
|
||
|
|
|
||
|
|
export type DataType =
|
||
|
|
| 'string'
|
||
|
|
| 'number'
|
||
|
|
| 'boolean'
|
||
|
|
| 'date'
|
||
|
|
| 'currency'
|
||
|
|
| 'dimension'
|
||
|
|
| 'reference'
|
||
|
|
| 'list';
|