Reference Interface

Packages > @anticrm/domains > Reference

A reference object from and source to any target

source - define a source object with class and properties. target - define a target object with class and properties.

Signature:

export interface Reference extends Doc 

Extends: Doc

Properties

List of properties of this interface
Property Type Description
_sourceClass Ref<Class<Doc>>
_sourceId Ref<Doc>
_sourceProps Record
_targetClass Ref<Class<Doc>>
_targetId Ref<Doc>
_targetProps Record

Events

_sourceClass

Signature:

_sourceClass: Ref<Class<Doc>>;

_sourceId

Signature:

_sourceId?: Ref<Doc>;

_sourceProps

Signature:

_sourceProps?: Record<string, unknown>;

_targetClass

Signature:

_targetClass: Ref<Class<Doc>>;

_targetId

Signature:

_targetId?: Ref<Doc>;

_targetProps

Signature:

_targetProps?: Record<string, unknown>;