Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional archived

archived: null | Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional backups

backups: Backup[]

Optional cachedDownloadUrl

cachedDownloadUrl: null | string

Optional cachedViewUrl

cachedViewUrl: null | string

Optional clientJobs

clientJobs: Job[]

Optional companyLogos

companyLogos: Company[]

Optional componentFeatureImages

componentFeatureImages: Component[]

Optional components

components: Component[]

create

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

Type declaration

    • Parameters

      • Optional options: CreateOptions

      Returns Promise<MerchiFile>

Optional creationDate

creationDate: null | Date

Optional domainFavicons

domainFavicons: Domain[]

Optional domainLogos

domainLogos: Domain[]

Optional downloadUrl

downloadUrl: string

Optional downloadUrlExpires

downloadUrlExpires: null | Date

Optional draftComments

draftComments: DraftComment[]

Optional drafts

drafts: Draft[]

Optional featuredProducts

featuredProducts: Product[]

Optional fileData

fileData: File

Optional id

id: number

Optional invoices

invoices: Invoice[]

Optional invoicesPaid

invoicesPaid: Invoice[]

isDirty

isDirty: boolean = false

Optional jobComments

jobComments: JobComment[]

Optional jobs

jobs: Job[]

key

key: string = ...

merchi

merchi: Merchi

Optional mimetype

mimetype: null | string

Optional name

name: null | string

Optional notification

notification: Notification[]

Optional options

Optional productionComments

productionComments: ProductionComment[]

Optional products

products: Product[]

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional size

size: number

Optional themeEmailCss

themeEmailCss: Theme[]

Optional themeEmailCssEditing

themeEmailCssEditing: Theme[]

Optional themeEmailCssUsing

themeEmailCssUsing: Theme[]

Optional themeFeatureImages

themeFeatureImages: Theme[]

Optional themeImages

themeImages: Theme[]

Optional themeMainCss

themeMainCss: Theme[]

Optional themeMainCssEditing

themeMainCssEditing: Theme[]

Optional themeMainCssUsing

themeMainCssUsing: Theme[]

Optional themes

themes: Theme[]

Optional uploadId

uploadId: string

Optional uploader

uploader: null | User

Optional userProfilePictures

userProfilePictures: User[]

Optional variations

variations: Variation[]

Optional viewUrl

viewUrl: string

Optional viewUrlExpires

viewUrlExpires: null | Date

Static merchi

merchi: Merchi

Methods

cleanDirty

  • cleanDirty(): void

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>

fromFormFile

  • fromFormFile(file: File): void

fromJson

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

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

isImage

  • isImage(): boolean

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

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