Type alias DataRecordDto<TData, TMeta>

DataRecordDto<TData, TMeta>: {
    _id?: string;
    app?: string;
    asset_id: number;
    collection?: string;
    company_id: number;
    data: TData;
    metadata?: TMeta;
    provider?: string;
    version?: number;
}

Type Parameters

  • TData

  • TMeta

Type declaration

  • Optional _id?: string

    unique id.

  • Optional app?: string

    app key that created the record.

  • asset_id: number

    asset id.

  • Optional collection?: string

    collection name.

  • company_id: number

    company id.

  • data: TData

    record data.

  • Optional metadata?: TMeta

    record metadata.

  • Optional provider?: string

    provider name.

  • Optional version?: number

    schema version.