-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.ts
120 lines (116 loc) · 3.14 KB
/
manifest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// DO NOT EDIT. This file is generated by Kiwi.
// This file SHOULD be checked into source version control.
import { KiwiManifest } from "@kiwi-app/nextjs";
import * as $0 from "@/sections/footer";
import * as $1 from "@/sections/navbar";
import * as $2 from "@/sections/redux-usage";
import * as $3 from "@/sections/with-loader";
const manifest: KiwiManifest = {
sections: {
"@/sections/footer": {
module: $0,
schema: {
component: {
type: "object",
required: ["menus"],
properties: [
{
name: "menus",
type: "array",
items: {
type: "object",
required: ["title", "items"],
properties: [
{ name: "title", type: "string" },
{
name: "items",
type: "array",
items: {
type: "object",
required: ["name", "href"],
properties: [
{ name: "name", type: "string" },
{ name: "href", type: "string" },
],
},
},
],
},
},
],
},
},
},
"@/sections/navbar": {
module: $1,
schema: {
component: {
type: "object",
required: ["items"],
properties: [
{
name: "items",
type: "array",
items: {
type: "object",
required: ["name", "href"],
properties: [
{ name: "name", type: "string" },
{ name: "href", type: "string" },
{
name: "subItems",
type: "array",
items: {
type: "object",
required: ["name", "href"],
properties: [
{ name: "name", type: "string" },
{ name: "href", type: "string" },
],
},
},
],
},
},
],
},
},
},
"@/sections/redux-usage": {
module: $2,
schema: {
component: {
type: "object",
required: ["title", "initialValue"],
properties: [
{ name: "title", type: "string" },
{ name: "initialValue", type: "number" },
],
},
},
},
"@/sections/with-loader": {
module: $3,
schema: {
component: {
type: "object",
required: ["title", "loader"],
properties: [{ name: "title", type: "RichText" }],
},
loader: {
type: "object",
required: ["items"],
properties: [
{
name: "items",
type: "number",
description: "amount of products loaded. default: 5",
},
],
},
},
},
},
site: "kiwi-template",
};
export default manifest;