create-tina-app 0.0.1 → 0.1.3

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +3 -0
  3. package/bin/create-tina-app +2 -2
  4. package/dist/examples.d.ts +27 -0
  5. package/dist/index.js +186 -43
  6. package/examples/tina-tailwind-sidebar-demo/.tina/PageTemplate.ts +427 -0
  7. package/examples/tina-tailwind-sidebar-demo/.tina/ThemeTemplate.ts +42 -0
  8. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_graphql.json +4180 -0
  9. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_lookup.json +68 -0
  10. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/_schema.json +851 -0
  11. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/config/schema.json +479 -0
  12. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/schema.gql +391 -0
  13. package/examples/tina-tailwind-sidebar-demo/.tina/__generated__/types.ts +520 -0
  14. package/examples/tina-tailwind-sidebar-demo/.tina/schema.ts +35 -0
  15. package/examples/tina-tailwind-sidebar-demo/CHANGELOG.md +95 -0
  16. package/examples/tina-tailwind-sidebar-demo/LICENSE +201 -0
  17. package/examples/tina-tailwind-sidebar-demo/README.md +10 -0
  18. package/examples/tina-tailwind-sidebar-demo/components/PageBlocks.tsx +25 -0
  19. package/examples/tina-tailwind-sidebar-demo/components/actions.js +114 -0
  20. package/examples/tina-tailwind-sidebar-demo/components/features.tsx +171 -0
  21. package/examples/tina-tailwind-sidebar-demo/components/footer.tsx +247 -0
  22. package/examples/tina-tailwind-sidebar-demo/components/hero.js +156 -0
  23. package/examples/tina-tailwind-sidebar-demo/components/icon.js +264 -0
  24. package/examples/tina-tailwind-sidebar-demo/components/modal.js +79 -0
  25. package/examples/tina-tailwind-sidebar-demo/components/nav.tsx +121 -0
  26. package/examples/tina-tailwind-sidebar-demo/components/section.js +53 -0
  27. package/examples/tina-tailwind-sidebar-demo/components/testimonial.tsx +87 -0
  28. package/examples/tina-tailwind-sidebar-demo/components/theme.tsx +81 -0
  29. package/examples/tina-tailwind-sidebar-demo/components/tina-wrapper.js +85 -0
  30. package/examples/tina-tailwind-sidebar-demo/content/data/homepage.json +186 -0
  31. package/examples/tina-tailwind-sidebar-demo/content/theme/NormalTheme.json +5 -0
  32. package/examples/tina-tailwind-sidebar-demo/graphql.config.js +24 -0
  33. package/examples/tina-tailwind-sidebar-demo/next-env.d.ts +15 -0
  34. package/examples/tina-tailwind-sidebar-demo/package.json +42 -0
  35. package/examples/tina-tailwind-sidebar-demo/pages/_app.js +48 -0
  36. package/examples/tina-tailwind-sidebar-demo/pages/admin.tsx +26 -0
  37. package/examples/tina-tailwind-sidebar-demo/pages/index.tsx +186 -0
  38. package/examples/tina-tailwind-sidebar-demo/postcss.config.js +19 -0
  39. package/examples/tina-tailwind-sidebar-demo/public/canal.jpg +0 -0
  40. package/examples/tina-tailwind-sidebar-demo/public/index.html +42 -0
  41. package/examples/tina-tailwind-sidebar-demo/styles.css +20 -0
  42. package/examples/tina-tailwind-sidebar-demo/tailwind.config.js +83 -0
  43. package/examples/tina-tailwind-sidebar-demo/tsconfig.json +19 -0
  44. package/package.json +7 -3
@@ -0,0 +1,68 @@
1
+ {
2
+ "DocumentConnection": {
3
+ "type": "DocumentConnection",
4
+ "resolveType": "multiCollectionDocumentList",
5
+ "collections": [
6
+ "theme",
7
+ "page"
8
+ ]
9
+ },
10
+ "Node": {
11
+ "type": "Node",
12
+ "resolveType": "nodeDocument"
13
+ },
14
+ "DocumentNode": {
15
+ "type": "DocumentNode",
16
+ "resolveType": "multiCollectionDocument"
17
+ },
18
+ "Theme": {
19
+ "type": "Theme",
20
+ "resolveType": "unionData",
21
+ "typeMap": {
22
+ "theme": "ThemeTheme"
23
+ }
24
+ },
25
+ "ThemeDocument": {
26
+ "type": "ThemeDocument",
27
+ "resolveType": "collectionDocument",
28
+ "collection": "theme"
29
+ },
30
+ "ThemeConnection": {
31
+ "type": "ThemeConnection",
32
+ "resolveType": "collectionDocumentList",
33
+ "collection": "theme"
34
+ },
35
+ "Page": {
36
+ "type": "Page",
37
+ "resolveType": "unionData",
38
+ "typeMap": {
39
+ "homepage": "PageHomepage"
40
+ }
41
+ },
42
+ "PageDocument": {
43
+ "type": "PageDocument",
44
+ "resolveType": "collectionDocument",
45
+ "collection": "page"
46
+ },
47
+ "PageConnection": {
48
+ "type": "PageConnection",
49
+ "resolveType": "collectionDocumentList",
50
+ "collection": "page"
51
+ },
52
+ "PageBlocks": {
53
+ "type": "PageBlocks",
54
+ "resolveType": "unionData",
55
+ "typeMap": {
56
+ "hero": "PageBlocksHero",
57
+ "testimonial": "PageBlocksTestimonial",
58
+ "features": "PageBlocksFeatures"
59
+ }
60
+ },
61
+ "PageNavlist": {
62
+ "type": "PageNavlist",
63
+ "resolveType": "unionData",
64
+ "typeMap": {
65
+ "nav": "PageNavlistNav"
66
+ }
67
+ }
68
+ }