Member Junction
Preparing search index...
@memberjunction/metadata-sync
WatchCallbacks
Interface WatchCallbacks
interface
WatchCallbacks
{
onError
?:
(
error
:
Error
)
=>
void
;
onFileAdd
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
,
)
=>
void
;
onFileChange
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
,
)
=>
void
;
onFileDelete
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
,
)
=>
void
;
onLog
?:
(
message
:
string
)
=>
void
;
onRecordCreated
?:
(
entity
:
BaseEntity
,
entityConfig
:
any
)
=>
void
;
onRecordSaved
?:
(
entity
:
BaseEntity
,
isNew
:
boolean
,
entityConfig
:
any
,
)
=>
void
;
onRecordUpdated
?:
(
entity
:
BaseEntity
,
changes
:
any
,
entityConfig
:
any
,
)
=>
void
;
onWarn
?:
(
message
:
string
)
=>
void
;
}
Index
Properties
on
Error?
on
File
Add?
on
File
Change?
on
File
Delete?
on
Log?
on
Record
Created?
on
Record
Saved?
on
Record
Updated?
on
Warn?
Properties
Optional
on
Error
onError
?:
(
error
:
Error
)
=>
void
Optional
on
File
Add
onFileAdd
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
)
=>
void
Optional
on
File
Change
onFileChange
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
)
=>
void
Optional
on
File
Delete
onFileDelete
?:
(
filePath
:
string
,
entityDir
:
string
,
entityConfig
:
any
)
=>
void
Optional
on
Log
onLog
?:
(
message
:
string
)
=>
void
Optional
on
Record
Created
onRecordCreated
?:
(
entity
:
BaseEntity
,
entityConfig
:
any
)
=>
void
Optional
on
Record
Saved
onRecordSaved
?:
(
entity
:
BaseEntity
,
isNew
:
boolean
,
entityConfig
:
any
)
=>
void
Optional
on
Record
Updated
onRecordUpdated
?:
(
entity
:
BaseEntity
,
changes
:
any
,
entityConfig
:
any
)
=>
void
Optional
on
Warn
onWarn
?:
(
message
:
string
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
on
Error
on
File
Add
on
File
Change
on
File
Delete
on
Log
on
Record
Created
on
Record
Saved
on
Record
Updated
on
Warn
Member Junction
Loading...