update defaultJson

This commit is contained in:
AykutSarac 2022-04-09 14:22:08 +03:00
parent a5d4f4a007
commit 27f4dba9d7

View File

@ -1,39 +1,37 @@
import { StorageConfig } from "src/typings/global";
export const defaultJson = [
{
Author: "J. K. Rowling",
Genre: "Fantasy",
Characters: ["Hermione Granger", "Harry Potter", "Lord Voldemort", "MORE"],
Books: [
{ title: "Philosopher's Stone", date: "1997" },
{
title: "Chamber of Secrets",
date: "1998",
},
{
title: "Prisoner of Azkaban",
date: "1999",
},
{
title: "Goblet of Fire",
date: "1999",
},
{
title: "Order of the Phoenix",
date: "2003",
},
{
title: "Half-Blood Prince",
date: "2005",
},
{
title: "Deathly Hallows",
date: "2007",
},
],
},
];
export const defaultJson = {
Author: "J. K. Rowling",
Genre: "Fantasy",
Characters: ["Hermione Granger", "Harry Potter", "Lord Voldemort", "MORE"],
Books: [
{ title: "Philosopher's Stone", date: "1997" },
{
title: "Chamber of Secrets",
date: "1998",
},
{
title: "Prisoner of Azkaban",
date: "1999",
},
{
title: "Goblet of Fire",
date: "1999",
},
{
title: "Order of the Phoenix",
date: "2003",
},
{
title: "Half-Blood Prince",
date: "2005",
},
{
title: "Deathly Hallows",
date: "2007",
},
],
};
export const defaultConfig: StorageConfig = {
layout: "LEFT",
@ -42,4 +40,5 @@ export const defaultConfig: StorageConfig = {
hideEditor: false,
zoomScale: 0.8,
transform: 0,
searchNode: "",
};