saleor-dashboard/src/pages/fixtures.ts

56 lines
1.2 KiB
TypeScript
Raw Normal View History

2020-11-05 13:56:29 +00:00
import * as richTextEditorFixtures from "../components/RichTextEditor/fixtures.json";
2019-06-19 14:40:52 +00:00
import { PageDetails_page } from "./types/PageDetails";
import { PageList_pages_edges_node } from "./types/PageList";
2020-11-05 13:56:29 +00:00
const content = richTextEditorFixtures.richTextEditor;
2019-06-19 14:40:52 +00:00
export const pageList: PageList_pages_edges_node[] = [
{
__typename: "Page",
id: "Jzx123sEt==",
isPublished: true,
slug: "about",
title: "About"
},
{
__typename: "Page",
id: "Jzx123sEx==",
isPublished: false,
slug: "about",
title: "About"
},
{
__typename: "Page",
id: "Jzx123sEu==",
isPublished: true,
slug: "about",
title: "About"
},
{
__typename: "Page",
id: "Jzx123sEm==",
isPublished: true,
slug: "about",
title: "About"
}
];
export const page: PageDetails_page = {
__typename: "Page",
contentJson: JSON.stringify(content),
id: "Kzx152sEm==",
isPublished: false,
2020-10-20 11:20:55 +00:00
metadata: [
{
__typename: "MetadataItem",
key: "integration.id",
value: "100023123"
}
],
privateMetadata: [],
2019-06-19 14:40:52 +00:00
publicationDate: "",
seoDescription: "About",
seoTitle: "About",
slug: "about",
title: "About"
};