change data version 2 -> 2610
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// cleanup: Phase A
|
||||
|
||||
import { v4 } from "uuid";
|
||||
import BoardsAndTasksModel from "./boardsAndTasksModel";
|
||||
import {
|
||||
@@ -9,7 +7,6 @@ import {
|
||||
stringify,
|
||||
} from "../Utility/utility";
|
||||
import {
|
||||
checkIsValidObject,
|
||||
checkMatchesObjectStructure,
|
||||
DATA_VERSION,
|
||||
ValidObject,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
export const DATA_VERSION = "v2";
|
||||
|
||||
export function checkIsValidObject(object: any): boolean {
|
||||
return object.dataVersion == DATA_VERSION;
|
||||
}
|
||||
@@ -43,6 +41,7 @@ export function checkMatchesObjectStructure(
|
||||
return true;
|
||||
}
|
||||
|
||||
export const DATA_VERSION = "2610";
|
||||
export interface ValidObject {
|
||||
dataVersion: "v2";
|
||||
dataVersion: "2610";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user