You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
( @sorja comments: it's good idea to probably have the type of uuid in the uuid included, eg subtype uuidv4 = string uuid = uuidv4? (for discussion))
Schema: public
SystemOfMeasurement / Unit
exporttypeSystemOfMeasurement={baseUnitUUID: UUID// dbname: stringrules: {conversionFactor: Record<UUID,number>// conversion factor of each unit in relation to base unit}uuid: UUID}exporttypeUnit={name: stringsystemOfMeasurementUUIDs: Array<UUID>// a unit can belong to several system of units of measurementuuid: UUID}
exporttypeCategory={dimensions?: Array<Dimension>// not db column - lazy loadedname: stringuuid: UUID}
// TODO: Should Dimension have a value? (e.g. value for numerical columns like 1990 - name='1990',value=1990) useful?exporttypeDimension={categoryUUIDs: Array<UUID>name: stringuuid: UUID}
exportenumMeasureType{// TODO: Question (decimal and integer)decimal='decimal',integer='integer',// TODO: OR only number - and handle input mode decimal/integer)number='number',// AND texttext='text',}exporttypeMeasure={name: stringtype: MeasureTypeunitUUID: UUIDuuid: UUID}
// AxisItem = Col | RowtypeAxisItem={props: {dimensionUUID?: UUID// can be used in design mode to link a dimension to a specific (col or row)index: numbermeasureUUID?: UUID// can be used in design mode to link a measure to a specific (col or row)}tableUUID: UUIDuuid: UUID}exporttypeCol=AxisItemexporttypeRow=AxisItem&{cells: Array<Cell>// added in repository getters}
//= ==== (ex Col)exporttypeCell={rowUUID: UUIDuuid: UUIDprops: {// colName?: removed// colType: removed// ==== COMMON propsclassNames?: Record<CycleUuid,Array<string>>// TODO: Check what and where it's usedindex: number// migrate from number|string(header)style?: Record<CycleUuid,ColStyle>// TODO: Check what it's used (colSpan,rowSpan and ?)type: 'text|label'|'observation'// TODO: Check where colType placeholder is used// ==== EITHER labelslabels?: Record<CycleUuid,Label>// ==== ORcalculateFn?: Record<CycleUuid,string>dimensionUUID?: UUID// newinputPlaceholder?: stringlinkedNodes?: Record<CycleUuid,ColLinkedNode>// TODO: Check - can we use calculateFn instead?measureUUID?: UUID// newmultiline?: boolean// new: ex colType textareareadonly?: booleanselect?: Record<CycleUuid,ColSelectProps>// ex colType selectvalidateFns?: Record<CycleUuid,Array<string>>variableNo?: Record<CycleUuid,string>// TODO: Check where it's used}}
The text was updated successfully, but these errors were encountered:
TODO
Code
introduce common type UUID ?
( @sorja comments: it's good idea to probably have the type of uuid in the uuid included, eg subtype uuidv4 = string uuid = uuidv4? (for discussion))
Schema: public
SystemOfMeasurement / Unit
Category / Dimension / Measure
Schema: assessment_cycle
Observation
AxisItem = Col | Row / Cell
The text was updated successfully, but these errors were encountered: