Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

_createdAt

_createdAt: Date

_createdBy

_createdBy: string

Optional _refLocales

_refLocales: StringTMap<StringAnyMap>

_updatedAt

_updatedAt: Date

_updatedBy

_updatedBy: string

deco

deco: Deco

enableAdminNotification

enableAdminNotification: boolean = false

enableUserNotification

enableUserNotification: boolean = false

fields

id

id: string

isPublic

isPublic: boolean = false

label

label: string = ''

name

name: string = ''

notificationAdminContentPrefix

notificationAdminContentPrefix: string

notificationAdminContentSuffix

notificationAdminContentSuffix: string

notificationAdminEmail

notificationAdminEmail: string

notificationAdminSubject

notificationAdminSubject: string

notificationAdminTemplate

notificationAdminTemplate: string

notificationType

notificationType: "email" = 'email'

notificationUserContentPrefix

notificationUserContentPrefix: string

notificationUserContentSuffix

notificationUserContentSuffix: string

notificationUserField

notificationUserField: string

notificationUserSubject

notificationUserSubject: string

notificationUserTemplate

notificationUserTemplate: string

notifyWhen

notifyWhen: "create" | "edit" | "delete" = 'create'

policy

policy: any = ...

readingAccess

readingAccess: string = 'all'

readingRoles

readingRoles: string[] = ...

relatedToAppId

relatedToAppId: string

slug

slug: string = ''

writingAccess

writingAccess: string = 'all'

writingRoles

writingRoles: string[] = ...

Accessors

_label

  • get _label(): string

api

isMultilang

  • get isMultilang(): boolean

validationController

  • get validationController(): ValidationController

Methods

addLocaleInSuffixIfNecessary

  • addLocaleInSuffixIfNecessary(suffix: string, options?: GetAllOptions): string

deleteRoute

  • deleteRoute(elementId: string): string

fixBodyIfFilesToUpload

  • fixBodyIfFilesToUpload(body: any, options?: FixBodyOptions): Promise<any>

get

  • get(propertyName: string): any

getFilePreview

  • getFilePreview(property: string, format: string, options?: FilePreviewOptions): Promise<Blob>

getFilePreviewUrl

  • getFilePreviewUrl(property: string, format: string): Promise<string>

getOneRoute

  • getOneRoute(elementId: string): string

getRoute

  • getRoute(): string

getUxFilePreviewData

  • getUxFilePreviewData(property: string, file: UxFileItem, format: string): Promise<void>

postRoute

  • postRoute(): string

putRoute

  • putRoute(elementId: string): string

remove

save

  • save(suffix?: string, options?: SaveOptions): Promise<any>

set

  • set(propertyName: string, value: any): void

unClass

  • unClass(): any

updateInstanceFromElement

  • updateInstanceFromElement<T>(element: any, properties?: string[]): Promise<T>

updateInstanceFromUnclassedElement

  • updateInstanceFromUnclassedElement<T>(element: any, properties?: string[]): T

updateProperties

validate

  • validate(): Promise<boolean>

validationRules

  • validationRules(): any

Generated using TypeDoc