Interface DataRecord

interface DataRecord {
    id: string;
    name?: string;
    uri?: string;
    iconUri?: string;
    fields?: Record<string, any>;
    udm?: string;
    unifiedFields?: Record<string, any>;
    rawFields?: Record<string, any>;
    createdTime?: string;
    updatedTime?: string;
    deletedTime?: string;
    createdById?: string;
    updatedById?: string;
}

Properties

id: string

Unique record id

name?: string

Human-readable name of the record.

uri?: string

Record's URI avialable in a browser.

iconUri?: string

Record's icon.

fields?: Record<string, any>

Record's fields.

udm?: string

Unified Data Model this record is transformed to. It is string and not UDM type to avoid nasty problems with mismatched SDK versions in different parts of the system. (as soon as one SDK version has a new value in UDM, all other instances of SDK should have the same). (alternatively it could be solved by making SDK into peer dependencies - we may have to do it later)

unifiedFields?: Record<string, any>

Fields of Unified Data Model associated with the record.

rawFields?: Record<string, any>

Original fields coming from the source, before any mapping happens.

createdTime?: string
updatedTime?: string
deletedTime?: string
createdById?: string
updatedById?: string