Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Optional allowDecimal

allowDecimal: boolean

Optional allowFileAi

allowFileAi: boolean

Optional allowFileGif

allowFileGif: boolean

Optional allowFileJpeg

allowFileJpeg: boolean

Optional allowFileMultiple

allowFileMultiple: boolean

Optional allowFilePdf

allowFilePdf: boolean

Optional allowFilePng

allowFilePng: boolean

Optional archived

archived: null | Date

Readonly backObjects

backObjects: Set<Entity> = ...

Optional buyCost

buyCost: number

Optional buyUnitCost

buyUnitCost: number

create

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

Type declaration

Optional currency

currency: string

Optional defaultValue

defaultValue: string

Optional fieldMax

fieldMax: null | number

Optional fieldMin

fieldMin: null | number

Optional fieldType

fieldType: FieldType

Optional id

id: number

Optional independent

independent: boolean

isDirty

isDirty: boolean = false

key

key: string = ...

Optional margin

margin: number

merchi

merchi: Merchi

Optional multipleSelect

multipleSelect: boolean

Optional name

name: string

Optional options

Optional placeholder

placeholder: null | string

Optional position

position: number

Optional product

product: Product

propertiesMap

propertiesMap: Map<string, PropertyInfo>

Optional required

required: boolean

Optional rows

rows: number

Optional sellerProductEditable

sellerProductEditable: boolean

Optional showFilePreview

showFilePreview: boolean

Optional variationCost

variationCost: number

Optional variationCostDiscountGroup

variationCostDiscountGroup: null | DiscountGroup

Optional variationUnitCost

variationUnitCost: number

Optional variationUnitCostDiscountGroup

variationUnitCostDiscountGroup: null | DiscountGroup

Optional variations

variations: Variation[]

Static merchi

merchi: Merchi

Methods

buildEmptyVariation

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>

fromJson

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

getPrimaryKeyValue

  • getPrimaryKeyValue(): any

isSelectable

  • isSelectable(): 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