refactor(reactivity): separate track and trigger operation types
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
export const enum OperationTypes {
|
||||
// using literal strings instead of numbers so that it's easier to inspect
|
||||
// debugger events
|
||||
SET = 'set',
|
||||
ADD = 'add',
|
||||
DELETE = 'delete',
|
||||
CLEAR = 'clear',
|
||||
// using literal strings instead of numbers so that it's easier to inspect
|
||||
// debugger events
|
||||
|
||||
export const enum TrackOpTypes {
|
||||
GET = 'get',
|
||||
HAS = 'has',
|
||||
ITERATE = 'iterate'
|
||||
}
|
||||
|
||||
export const enum TriggerOpTypes {
|
||||
SET = 'set',
|
||||
ADD = 'add',
|
||||
DELETE = 'delete',
|
||||
CLEAR = 'clear'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user