File

projects/aoc-client/core/configs/aoc-model-config.ts

Implements

PipeTransform

Index

Properties
Methods
Accessors

Properties

Readonly Optional allow
Type : AocModelConfigAllow
Readonly Optional allowCheck
Type : AocModelConfigAllowCheck<T>
Readonly Optional clone
Type : AocModelConfigClone<T>
Readonly Optional form
Type : AocModelConfigPath | AocModelConfigFormImport | AocModelConfigFormResolver<T>
Readonly Optional payload
Type : AocModelConfigClientPayload<T> | AocModelConfigServerPayload
Readonly Optional socketExtraSubscriptions
Type : AocModelConfigSocketExtraSubscriptions

Methods

allowedWith
allowedWith(operation: Exclude<AocModelConfigAllowAttrs | add>, model: T)
Parameters :
Name Type Optional
operation Exclude<AocModelConfigAllowAttrs | add> No
model T No
Returns : undefined | string | Promise
canAdd
canAdd()
Returns : boolean
canClone
canClone()
Returns : boolean
canDelete
canDelete()
Returns : boolean
canEdit
canEdit()
Returns : boolean
cloneWith
cloneWith(newAttributes: P)
Type parameters :
  • C
  • P
Parameters :
Name Type Optional
newAttributes P No
Returns : C
cloneWithAllow
cloneWithAllow(allow: AocModelConfigAllow)
Type parameters :
  • C
Parameters :
Name Type Optional
allow AocModelConfigAllow No
Returns : C
transform
transform(model: T, ...args: any[])
Parameters :
Name Type Optional
model T No
args any[] No
Returns : string

Accessors

modelClassType
getmodelClassType()

results matching ""

    No results matching ""