feat: add models package
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
let dirtyIndex = 0
|
||||
|
||||
export function getIncrementedDirtyIndex() {
|
||||
dirtyIndex++
|
||||
return dirtyIndex
|
||||
}
|
||||
|
||||
export function getCurrentDirtyIndex() {
|
||||
return dirtyIndex
|
||||
}
|
||||
Reference in New Issue
Block a user