Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional accepted

accepted: null | Date

Optional archived

archived: null | Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional comments

comments: DraftComment[]

create

create: (options?: CreateOptions) => Promise<Draft> = ...

Type declaration

    • (options?: CreateOptions): Promise<Draft>
    • Parameters

      • Optional options: CreateOptions

      Returns Promise<Draft>

Optional date

date: null | Date

Optional designer

designer: User

Optional id

id: number

Optional images

images: MerchiFile[]

isDirty

isDirty: boolean = false

Optional job

job: Job

key

key: string = ...

merchi

merchi: Merchi

Optional notification

notification: Notification[]

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional resendDate

resendDate: null | Date

Optional sendEmail

sendEmail: boolean

Optional sendSms

sendSms: boolean

Optional viewed

viewed: boolean

Static merchi

merchi: Merchi

Methods

cleanDirty

  • cleanDirty(): void

commentsYoungestToEldest

createFactory

  • createFactory(__namedParameters: Object): (options?: CreateOptions) => Promise<this>
  • Parameters

    • __namedParameters: Object

    Returns (options?: CreateOptions) => Promise<this>

      • (options?: CreateOptions): Promise<this>
      • Parameters

        • Optional options: CreateOptions

        Returns Promise<this>

delete

  • delete(options?: DeleteOptions): Promise<this>

fromJson

  • fromJson(json: any, options?: FromJsonOptions): this

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

recover

  • recover(options?: SaveOptions): Promise<this>

save

  • save(options?: SaveOptions): Promise<this>

toFormData

  • toFormData(options?: SerialiseOptions, fileIndex?: Counter): FormData

toJson

  • toJson(): any

updateOrder

  • updateOrder(property: string): void

wereChangesRequested

  • wereChangesRequested(): boolean

Static get

  • get<T>(key: string | number, options?: GetOptions): Promise<InstanceType<T>>
  • Type parameters

    Parameters

    • key: string | number
    • Optional options: GetOptions

    Returns Promise<InstanceType<T>>

Static list

  • list<T>(options?: ListOptions): Promise<ListResponse<InstanceType<T>>>

Generated using TypeDoc