Class Ticket

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

autoSave: boolean = true
changeListenerRef?: () => void
checklist?: CheckList
checkpoint?: Partial<CheckPoint>
children: Ticket[] = []
childrenCount?: number
childrenData: ElementData[] = []
completeData: boolean = false
dataHash?: string
dirty: boolean = false
effects: Record<
    string,
    Record<
        string,
        {
            backgroundColor?: string;
            prefix?: string;
            suffix?: string;
            textColor?: string;
        },
    >,
> = {}
elements: Element[] = []
errored?: Error = undefined
hash: string
interalListingHashes: string[] = []
listeners: () => void[] = []
loading: boolean = false
loadingPromise: undefined | Promise<unknown>
onChangeDataHash: () => void
originalData?: ElementData
originalTicketData?: TicketData
parent?: Element
predecessors?: Element[]
predecessorsCount?: number
references: { [attribute: string]: Element[] } = {}
relationElements: { [attribute: string]: Element[] } = {}
saveHandler: () => void
source: DataSource = 'backend'
store: MainStore
ticketData?: TicketData
workRecords: Map<string, IWorkRecord> = ...
workRecordsCount?: number

Accessors

  • get displayType(): string
  • Returns string

  • get elementName(): string
  • Returns string

  • get elementSchemaId(): undefined | string
  • Returns undefined | string

  • get isIncomplete(): boolean
  • Returns boolean

  • get mapLabel(): null | string
  • Returns null | string

  • get markerConfig(): MarkerConfig
  • Returns MarkerConfig

  • get organization(): undefined | string
  • Returns undefined | string

  • get sortValue(): string
  • Returns string

  • get type(): undefined | string
  • Returns undefined | string

  • get ATTRIBUTES(): {
        ARCHIVED: string;
        ASSIGNEES: string;
        CHECKLIST: string;
        DESCRIPTION: string;
        DESCRIPTION_IMAGE: string;
        DUE_DATE: string;
        ELEMENT_NAME: string;
        ELEMENT_PARENT: string;
        ELEMENTS: string;
        FILES: string;
        IS_INCOMPLETE: string;
        LOCATIONS: string;
        PARTICIPANTS: string;
        STATUS: string;
        SUBJECT: string;
    }
  • Returns {
        ARCHIVED: string;
        ASSIGNEES: string;
        CHECKLIST: string;
        DESCRIPTION: string;
        DESCRIPTION_IMAGE: string;
        DUE_DATE: string;
        ELEMENT_NAME: string;
        ELEMENT_PARENT: string;
        ELEMENTS: string;
        FILES: string;
        IS_INCOMPLETE: string;
        LOCATIONS: string;
        PARTICIPANTS: string;
        STATUS: string;
        SUBJECT: string;
    }

  • get DISABLED_ATTRIBUTES(): string[]
  • Returns string[]

  • get GEO_RELATION_ATTRIBUTES(): string[]
  • Returns string[]

  • get LINEVIEW_ATTRIBUTES(): string[]
  • Returns string[]

  • get PREVIEW_ATTRIBUTES(): string[]
  • Returns string[]

  • get SHORTNAME(): string
  • Returns string

  • get TYPE(): string
  • Returns string

Methods

  • Parameters

    • hash: string

    Returns void

  • Returns Promise<boolean>

  • Parameters

    • attribute: string

    Returns boolean

  • Returns undefined | false | Promise<boolean>

  • Returns void

  • Returns void

  • Parameters

    • Optionaldata: Partial<ElementData>
    • onlyAcceptNewerTimestamp: boolean = false

    Returns void

  • Type Parameters

    Parameters

    • attribute: string
    • OptionalonlyModel: new (...params: unknown[]) => T

    Returns undefined | T[]

  • Parameters

    • attribute: string

    Returns any

  • Parameters

    • attribute: string

    Returns string

  • Returns undefined | string

  • Parameters

    • attribute: string

    Returns {
        backgroundColor?: string;
        prefix?: string;
        suffix?: string;
        textColor?: string;
    }

  • Parameters

    Returns Record<
        string,
        {
            backgroundColor?: string;
            prefix?: string;
            suffix?: string;
            textColor?: string;
        },
    >

  • Returns Promise<void>

  • Parameters

    • attributeKey: string

    Returns boolean

  • Returns boolean

  • Parameters

    • attributes: string[]

    Returns Promise<boolean>

  • Parameters

    • relation: string

    Returns Promise<void>

  • Parameters

    • action: "archived" | "relevant"
    • attribute: string
    • fileHash: string

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • publish: boolean

    Returns Promise<boolean>

  • Returns Promise<boolean>

  • Returns void

  • Returns { childrenAtt: string[] }