create-tina-app 0.1.4 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{examples/tina-tailwind-sidebar-demo/LICENSE → LICENSE} +1 -26
- package/dist/index.js +19 -11
- package/{examples/tina-tailwind-sidebar-demo/next-env.d.ts → dist/util/preRunChecks.d.ts} +1 -3
- package/package.json +11 -10
- package/CHANGELOG.md +0 -38
- package/examples/tina-tailwind-sidebar-demo/.tina/PageTemplate.ts +0 -427
- package/examples/tina-tailwind-sidebar-demo/.tina/ThemeTemplate.ts +0 -42
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_graphql.json +0 -4180
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_lookup.json +0 -68
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_schema.json +0 -851
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/config/schema.json +0 -479
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/schema.gql +0 -391
- package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/types.ts +0 -520
- package/examples/tina-tailwind-sidebar-demo/.tina/schema.ts +0 -35
- package/examples/tina-tailwind-sidebar-demo/CHANGELOG.md +0 -95
- package/examples/tina-tailwind-sidebar-demo/README.md +0 -10
- package/examples/tina-tailwind-sidebar-demo/components/PageBlocks.tsx +0 -25
- package/examples/tina-tailwind-sidebar-demo/components/actions.js +0 -114
- package/examples/tina-tailwind-sidebar-demo/components/features.tsx +0 -171
- package/examples/tina-tailwind-sidebar-demo/components/footer.tsx +0 -247
- package/examples/tina-tailwind-sidebar-demo/components/hero.js +0 -156
- package/examples/tina-tailwind-sidebar-demo/components/icon.js +0 -264
- package/examples/tina-tailwind-sidebar-demo/components/modal.js +0 -79
- package/examples/tina-tailwind-sidebar-demo/components/nav.tsx +0 -121
- package/examples/tina-tailwind-sidebar-demo/components/section.js +0 -53
- package/examples/tina-tailwind-sidebar-demo/components/testimonial.tsx +0 -87
- package/examples/tina-tailwind-sidebar-demo/components/theme.tsx +0 -81
- package/examples/tina-tailwind-sidebar-demo/components/tina-wrapper.js +0 -85
- package/examples/tina-tailwind-sidebar-demo/content/data/homepage.json +0 -186
- package/examples/tina-tailwind-sidebar-demo/content/theme/NormalTheme.json +0 -5
- package/examples/tina-tailwind-sidebar-demo/graphql.config.js +0 -24
- package/examples/tina-tailwind-sidebar-demo/package.json +0 -41
- package/examples/tina-tailwind-sidebar-demo/pages/_app.js +0 -48
- package/examples/tina-tailwind-sidebar-demo/pages/admin.tsx +0 -26
- package/examples/tina-tailwind-sidebar-demo/pages/index.tsx +0 -186
- package/examples/tina-tailwind-sidebar-demo/postcss.config.js +0 -19
- package/examples/tina-tailwind-sidebar-demo/public/canal.jpg +0 -0
- package/examples/tina-tailwind-sidebar-demo/public/index.html +0 -42
- package/examples/tina-tailwind-sidebar-demo/styles.css +0 -20
- package/examples/tina-tailwind-sidebar-demo/tailwind.config.js +0 -83
- package/examples/tina-tailwind-sidebar-demo/tsconfig.json +0 -19
|
@@ -1,391 +0,0 @@
|
|
|
1
|
-
# DO NOT MODIFY THIS FILE. This file is automatically generated by Tina
|
|
2
|
-
"""References another document, used as a foreign key"""
|
|
3
|
-
scalar Reference
|
|
4
|
-
|
|
5
|
-
""""""
|
|
6
|
-
scalar JSON
|
|
7
|
-
|
|
8
|
-
type SystemInfo {
|
|
9
|
-
filename: String!
|
|
10
|
-
basename: String!
|
|
11
|
-
breadcrumbs(excludeExtension: Boolean): [String!]!
|
|
12
|
-
path: String!
|
|
13
|
-
relativePath: String!
|
|
14
|
-
extension: String!
|
|
15
|
-
template: String!
|
|
16
|
-
collection: Collection!
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
type PageInfo {
|
|
20
|
-
hasPreviousPage: Boolean!
|
|
21
|
-
hasNextPage: Boolean!
|
|
22
|
-
startCursor: String!
|
|
23
|
-
endCursor: String!
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
""""""
|
|
27
|
-
interface Node {
|
|
28
|
-
id: ID!
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
""""""
|
|
32
|
-
interface Document {
|
|
33
|
-
sys: SystemInfo
|
|
34
|
-
id: ID!
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
"""A relay-compliant pagination connection"""
|
|
38
|
-
interface Connection {
|
|
39
|
-
totalCount: Int!
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
type Query {
|
|
43
|
-
getCollection(collection: String): Collection!
|
|
44
|
-
getCollections: [Collection!]!
|
|
45
|
-
node(id: String): Node!
|
|
46
|
-
getDocument(collection: String, relativePath: String): DocumentNode!
|
|
47
|
-
getDocumentList(before: String, after: String, first: Int, last: Int): DocumentConnection!
|
|
48
|
-
getThemeDocument(relativePath: String): ThemeDocument!
|
|
49
|
-
getThemeList(before: String, after: String, first: Int, last: Int): ThemeConnection!
|
|
50
|
-
getPageDocument(relativePath: String): PageDocument!
|
|
51
|
-
getPageList(before: String, after: String, first: Int, last: Int): PageConnection!
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
type DocumentConnectionEdges {
|
|
55
|
-
cursor: String
|
|
56
|
-
node: DocumentNode
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
type DocumentConnection implements Connection {
|
|
60
|
-
pageInfo: PageInfo
|
|
61
|
-
totalCount: Int!
|
|
62
|
-
edges: [DocumentConnectionEdges]
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
type Collection {
|
|
66
|
-
name: String!
|
|
67
|
-
slug: String!
|
|
68
|
-
label: String!
|
|
69
|
-
path: String!
|
|
70
|
-
format: String
|
|
71
|
-
matches: String
|
|
72
|
-
templates: [JSON]
|
|
73
|
-
fields: [JSON]
|
|
74
|
-
documents(before: String, after: String, first: Int, last: Int): DocumentConnection!
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
union DocumentNode = ThemeDocument | PageDocument
|
|
78
|
-
|
|
79
|
-
type Theme {
|
|
80
|
-
color: String
|
|
81
|
-
btnStyle: String
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
type ThemeDocument implements Node & Document {
|
|
85
|
-
id: ID!
|
|
86
|
-
sys: SystemInfo!
|
|
87
|
-
data: Theme!
|
|
88
|
-
form: JSON!
|
|
89
|
-
values: JSON!
|
|
90
|
-
dataJSON: JSON!
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
type ThemeConnectionEdges {
|
|
94
|
-
cursor: String
|
|
95
|
-
node: ThemeDocument
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
type ThemeConnection implements Connection {
|
|
99
|
-
pageInfo: PageInfo
|
|
100
|
-
totalCount: Int!
|
|
101
|
-
edges: [ThemeConnectionEdges]
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
type PageNavWordmarkIcon {
|
|
105
|
-
color: String
|
|
106
|
-
name: String
|
|
107
|
-
style: String
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type PageNavWordmark {
|
|
111
|
-
icon: PageNavWordmarkIcon
|
|
112
|
-
name: String
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
type PageNavItems {
|
|
116
|
-
label: String
|
|
117
|
-
link: String
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
type PageNav {
|
|
121
|
-
wordmark: PageNavWordmark
|
|
122
|
-
items: [PageNavItems]
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
type PageBlocksHeroString {
|
|
126
|
-
color: String
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
type PageBlocksHeroImage {
|
|
130
|
-
src: String
|
|
131
|
-
alt: String
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
type PageBlocksHeroActions {
|
|
135
|
-
label: String
|
|
136
|
-
type: String
|
|
137
|
-
icon: Boolean
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
type PageBlocksHeroStyle {
|
|
141
|
-
color: String
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
type PageBlocksHero {
|
|
145
|
-
tagline: String
|
|
146
|
-
headline: String
|
|
147
|
-
paragraph: String
|
|
148
|
-
string: PageBlocksHeroString
|
|
149
|
-
image: PageBlocksHeroImage
|
|
150
|
-
actions: [PageBlocksHeroActions]
|
|
151
|
-
style: PageBlocksHeroStyle
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
type PageBlocksTestimonialStyle {
|
|
155
|
-
color: String
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
type PageBlocksTestimonial {
|
|
159
|
-
quote: String
|
|
160
|
-
author: String
|
|
161
|
-
style: PageBlocksTestimonialStyle
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
type PageBlocksFeaturesItemsIcon {
|
|
165
|
-
color: String
|
|
166
|
-
name: String
|
|
167
|
-
style: String
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
type PageBlocksFeaturesItemsActions {
|
|
171
|
-
label: String
|
|
172
|
-
type: String
|
|
173
|
-
icon: Boolean
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
type PageBlocksFeaturesItems {
|
|
177
|
-
icon: PageBlocksFeaturesItemsIcon
|
|
178
|
-
title: String
|
|
179
|
-
text: String
|
|
180
|
-
actions: [PageBlocksFeaturesItemsActions]
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
type PageBlocksFeaturesStyle {
|
|
184
|
-
color: String
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
type PageBlocksFeatures {
|
|
188
|
-
items: [PageBlocksFeaturesItems]
|
|
189
|
-
style: PageBlocksFeaturesStyle
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
union PageBlocks = PageBlocksHero | PageBlocksTestimonial | PageBlocksFeatures
|
|
193
|
-
|
|
194
|
-
type PageNavlistNavItems {
|
|
195
|
-
label: String
|
|
196
|
-
link: String
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
type PageNavlistNav {
|
|
200
|
-
title: String
|
|
201
|
-
items: [PageNavlistNavItems]
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
union PageNavlist = PageNavlistNav
|
|
205
|
-
|
|
206
|
-
type PageFooterSocial {
|
|
207
|
-
facebook: String
|
|
208
|
-
twitter: String
|
|
209
|
-
instagram: String
|
|
210
|
-
github: String
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
type PageFooter {
|
|
214
|
-
social: PageFooterSocial
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
type Page {
|
|
218
|
-
nav: PageNav
|
|
219
|
-
blocks: [PageBlocks]
|
|
220
|
-
navlist: [PageNavlist]
|
|
221
|
-
footer: PageFooter
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
type PageDocument implements Node & Document {
|
|
225
|
-
id: ID!
|
|
226
|
-
sys: SystemInfo!
|
|
227
|
-
data: Page!
|
|
228
|
-
form: JSON!
|
|
229
|
-
values: JSON!
|
|
230
|
-
dataJSON: JSON!
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
type PageConnectionEdges {
|
|
234
|
-
cursor: String
|
|
235
|
-
node: PageDocument
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
type PageConnection implements Connection {
|
|
239
|
-
pageInfo: PageInfo
|
|
240
|
-
totalCount: Int!
|
|
241
|
-
edges: [PageConnectionEdges]
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
type Mutation {
|
|
245
|
-
addPendingDocument(collection: String!, relativePath: String!, template: String): DocumentNode!
|
|
246
|
-
updateDocument(collection: String!, relativePath: String!, params: DocumentMutation!): DocumentNode!
|
|
247
|
-
updateThemeDocument(relativePath: String!, params: ThemeMutation!): ThemeDocument!
|
|
248
|
-
updatePageDocument(relativePath: String!, params: PageMutation!): PageDocument!
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
input DocumentMutation {
|
|
252
|
-
theme: ThemeMutation
|
|
253
|
-
page: PageMutation
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
input ThemeMutation {
|
|
257
|
-
color: String
|
|
258
|
-
btnStyle: String
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
input PageNavWordmarkIconMutation {
|
|
262
|
-
color: String
|
|
263
|
-
name: String
|
|
264
|
-
style: String
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
input PageNavWordmarkMutation {
|
|
268
|
-
icon: PageNavWordmarkIconMutation
|
|
269
|
-
name: String
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
input PageNavItemsMutation {
|
|
273
|
-
label: String
|
|
274
|
-
link: String
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
input PageNavMutation {
|
|
278
|
-
wordmark: PageNavWordmarkMutation
|
|
279
|
-
items: [PageNavItemsMutation]
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
input PageBlocksHeroStringMutation {
|
|
283
|
-
color: String
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
input PageBlocksHeroImageMutation {
|
|
287
|
-
src: String
|
|
288
|
-
alt: String
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
input PageBlocksHeroActionsMutation {
|
|
292
|
-
label: String
|
|
293
|
-
type: String
|
|
294
|
-
icon: Boolean
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
input PageBlocksHeroStyleMutation {
|
|
298
|
-
color: String
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
input PageBlocksHeroMutation {
|
|
302
|
-
tagline: String
|
|
303
|
-
headline: String
|
|
304
|
-
paragraph: String
|
|
305
|
-
string: PageBlocksHeroStringMutation
|
|
306
|
-
image: PageBlocksHeroImageMutation
|
|
307
|
-
actions: [PageBlocksHeroActionsMutation]
|
|
308
|
-
style: PageBlocksHeroStyleMutation
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
input PageBlocksTestimonialStyleMutation {
|
|
312
|
-
color: String
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
input PageBlocksTestimonialMutation {
|
|
316
|
-
quote: String
|
|
317
|
-
author: String
|
|
318
|
-
style: PageBlocksTestimonialStyleMutation
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
input PageBlocksFeaturesItemsIconMutation {
|
|
322
|
-
color: String
|
|
323
|
-
name: String
|
|
324
|
-
style: String
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
input PageBlocksFeaturesItemsActionsMutation {
|
|
328
|
-
label: String
|
|
329
|
-
type: String
|
|
330
|
-
icon: Boolean
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
input PageBlocksFeaturesItemsMutation {
|
|
334
|
-
icon: PageBlocksFeaturesItemsIconMutation
|
|
335
|
-
title: String
|
|
336
|
-
text: String
|
|
337
|
-
actions: [PageBlocksFeaturesItemsActionsMutation]
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
input PageBlocksFeaturesStyleMutation {
|
|
341
|
-
color: String
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
input PageBlocksFeaturesMutation {
|
|
345
|
-
items: [PageBlocksFeaturesItemsMutation]
|
|
346
|
-
style: PageBlocksFeaturesStyleMutation
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
input PageBlocksMutation {
|
|
350
|
-
hero: PageBlocksHeroMutation
|
|
351
|
-
testimonial: PageBlocksTestimonialMutation
|
|
352
|
-
features: PageBlocksFeaturesMutation
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
input PageNavlistNavItemsMutation {
|
|
356
|
-
label: String
|
|
357
|
-
link: String
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
input PageNavlistNavMutation {
|
|
361
|
-
title: String
|
|
362
|
-
items: [PageNavlistNavItemsMutation]
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
input PageNavlistMutation {
|
|
366
|
-
nav: PageNavlistNavMutation
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
input PageFooterSocialMutation {
|
|
370
|
-
facebook: String
|
|
371
|
-
twitter: String
|
|
372
|
-
instagram: String
|
|
373
|
-
github: String
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
input PageFooterMutation {
|
|
377
|
-
social: PageFooterSocialMutation
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
input PageMutation {
|
|
381
|
-
nav: PageNavMutation
|
|
382
|
-
blocks: [PageBlocksMutation]
|
|
383
|
-
navlist: [PageNavlistMutation]
|
|
384
|
-
footer: PageFooterMutation
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
schema {
|
|
388
|
-
query: Query
|
|
389
|
-
mutation: Mutation
|
|
390
|
-
}
|
|
391
|
-
|