File

projects/m2-core/src/lib/model/callback/DeclarationChangesMessage.ts

Extends

CallbackMessage

Index

Properties
Methods

Constructor

constructor(createdDeclarations?: DeclarationInfo[], editedDeclarations?: PropertyDeclaration[], deletedDeclarationIds?: number[])
Parameters :
Name Type Optional
createdDeclarations DeclarationInfo[] Yes
editedDeclarations PropertyDeclaration[] Yes
deletedDeclarationIds number[] Yes

Properties

Public createdDeclarations
Type : DeclarationInfo[]
Public deletedCategories
Type : CategoryInfo[]
Public deletedDeclarationIds
Type : number[]
Public editedDeclarations
Type : PropertyDeclaration[]
Public type
Type : CallbackMessageType
Default value : 'DeclarationChangesMessage'
Public origin
Default value : -1

Methods

Static buildCategoriesDeletedMessage
buildCategoriesDeletedMessage(categoryInfos: CategoryInfo[])
Parameters :
Name Type Optional
categoryInfos CategoryInfo[] No
Static getMsgType
getMsgType(msg: CallbackMessage)
Parameters :
Name Type Optional
msg CallbackMessage No
Static isServerSideMsg
isServerSideMsg(msg: CallbackMessage)
Parameters :
Name Type Optional
msg CallbackMessage No
Returns : boolean

results matching ""

    No results matching ""