2020-11-19 14:42:14 +00:00
|
|
|
/* eslint-disable sort-keys */
|
|
|
|
import { AttributeInputTypeEnum } from "@saleor/types/globalTypes";
|
|
|
|
|
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",
|
2020-11-19 14:42:14 +00:00
|
|
|
attributes: [
|
|
|
|
{
|
|
|
|
attribute: {
|
|
|
|
id: "QXR0cmlidXRlOjI3",
|
|
|
|
slug: "author",
|
|
|
|
name: "Author",
|
|
|
|
inputType: AttributeInputTypeEnum.DROPDOWN,
|
|
|
|
valueRequired: false,
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODc=",
|
|
|
|
name: "Suzanne Ellison",
|
|
|
|
slug: "suzanne-ellison",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODg=",
|
|
|
|
name: "Dennis Perkins",
|
|
|
|
slug: "dennis-perkins",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODk=",
|
|
|
|
name: "Dylan Lamb",
|
|
|
|
slug: "dylan-lamb",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "Attribute"
|
|
|
|
},
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODk=",
|
|
|
|
name: "Dylan Lamb",
|
|
|
|
slug: "dylan-lamb",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "SelectedAttribute"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
attribute: {
|
|
|
|
id: "QXR0cmlidXRlOjI5",
|
|
|
|
slug: "tag",
|
|
|
|
name: "Tag",
|
|
|
|
inputType: AttributeInputTypeEnum.MULTISELECT,
|
|
|
|
valueRequired: false,
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTA=",
|
|
|
|
name: "Security",
|
|
|
|
slug: "security",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTE=",
|
|
|
|
name: "Support",
|
|
|
|
slug: "support",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTI=",
|
|
|
|
name: "Medical",
|
|
|
|
slug: "medical",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTM=",
|
|
|
|
name: "General",
|
|
|
|
slug: "general",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "Attribute"
|
|
|
|
},
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTA=",
|
|
|
|
name: "Security",
|
|
|
|
slug: "security",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "SelectedAttribute"
|
|
|
|
}
|
|
|
|
],
|
2019-06-19 14:40:52 +00:00
|
|
|
contentJson: JSON.stringify(content),
|
|
|
|
id: "Kzx152sEm==",
|
|
|
|
isPublished: false,
|
2020-10-20 11:20:55 +00:00
|
|
|
metadata: [
|
|
|
|
{
|
|
|
|
__typename: "MetadataItem",
|
|
|
|
key: "integration.id",
|
|
|
|
value: "100023123"
|
|
|
|
}
|
|
|
|
],
|
2020-11-19 14:42:14 +00:00
|
|
|
pageType: {
|
|
|
|
__typename: "PageType",
|
|
|
|
id: "UGFnZVR5cGU6MQ==",
|
|
|
|
name: "Blog",
|
|
|
|
attributes: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlOjI3",
|
|
|
|
name: "Author",
|
|
|
|
inputType: AttributeInputTypeEnum.DROPDOWN,
|
|
|
|
valueRequired: false,
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODc=",
|
|
|
|
name: "Suzanne Ellison",
|
|
|
|
slug: "suzanne-ellison",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODg=",
|
|
|
|
name: "Dennis Perkins",
|
|
|
|
slug: "dennis-perkins",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6ODk=",
|
|
|
|
name: "Dylan Lamb",
|
|
|
|
slug: "dylan-lamb",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "Attribute"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlOjI5",
|
|
|
|
name: "Tag",
|
|
|
|
inputType: AttributeInputTypeEnum.MULTISELECT,
|
|
|
|
valueRequired: false,
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTA=",
|
|
|
|
name: "Security",
|
|
|
|
slug: "security",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTE=",
|
|
|
|
name: "Support",
|
|
|
|
slug: "support",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTI=",
|
|
|
|
name: "Medical",
|
|
|
|
slug: "medical",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: "QXR0cmlidXRlVmFsdWU6OTM=",
|
|
|
|
name: "General",
|
|
|
|
slug: "general",
|
|
|
|
__typename: "AttributeValue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
__typename: "Attribute"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-10-20 11:20:55 +00:00
|
|
|
privateMetadata: [],
|
2019-06-19 14:40:52 +00:00
|
|
|
publicationDate: "",
|
|
|
|
seoDescription: "About",
|
|
|
|
seoTitle: "About",
|
|
|
|
slug: "about",
|
|
|
|
title: "About"
|
|
|
|
};
|