mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +08:00
update defaultJson
This commit is contained in:
parent
a5d4f4a007
commit
27f4dba9d7
@ -1,39 +1,37 @@
|
|||||||
import { StorageConfig } from "src/typings/global";
|
import { StorageConfig } from "src/typings/global";
|
||||||
|
|
||||||
export const defaultJson = [
|
export const defaultJson = {
|
||||||
{
|
Author: "J. K. Rowling",
|
||||||
Author: "J. K. Rowling",
|
Genre: "Fantasy",
|
||||||
Genre: "Fantasy",
|
Characters: ["Hermione Granger", "Harry Potter", "Lord Voldemort", "MORE"],
|
||||||
Characters: ["Hermione Granger", "Harry Potter", "Lord Voldemort", "MORE"],
|
Books: [
|
||||||
Books: [
|
{ title: "Philosopher's Stone", date: "1997" },
|
||||||
{ title: "Philosopher's Stone", date: "1997" },
|
{
|
||||||
{
|
title: "Chamber of Secrets",
|
||||||
title: "Chamber of Secrets",
|
date: "1998",
|
||||||
date: "1998",
|
},
|
||||||
},
|
{
|
||||||
{
|
title: "Prisoner of Azkaban",
|
||||||
title: "Prisoner of Azkaban",
|
date: "1999",
|
||||||
date: "1999",
|
},
|
||||||
},
|
{
|
||||||
{
|
title: "Goblet of Fire",
|
||||||
title: "Goblet of Fire",
|
date: "1999",
|
||||||
date: "1999",
|
},
|
||||||
},
|
{
|
||||||
{
|
title: "Order of the Phoenix",
|
||||||
title: "Order of the Phoenix",
|
date: "2003",
|
||||||
date: "2003",
|
},
|
||||||
},
|
{
|
||||||
{
|
title: "Half-Blood Prince",
|
||||||
title: "Half-Blood Prince",
|
date: "2005",
|
||||||
date: "2005",
|
},
|
||||||
},
|
{
|
||||||
{
|
title: "Deathly Hallows",
|
||||||
title: "Deathly Hallows",
|
date: "2007",
|
||||||
date: "2007",
|
},
|
||||||
},
|
],
|
||||||
],
|
};
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
export const defaultConfig: StorageConfig = {
|
export const defaultConfig: StorageConfig = {
|
||||||
layout: "LEFT",
|
layout: "LEFT",
|
||||||
@ -42,4 +40,5 @@ export const defaultConfig: StorageConfig = {
|
|||||||
hideEditor: false,
|
hideEditor: false,
|
||||||
zoomScale: 0.8,
|
zoomScale: 0.8,
|
||||||
transform: 0,
|
transform: 0,
|
||||||
|
searchNode: "",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user