create-cogenta 0.5.3 → 0.7.0

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 (178) hide show
  1. package/dist/blueprint-defaults.js +1 -1
  2. package/dist/blueprint-defaults.js.map +1 -1
  3. package/dist/blueprints/registry.d.ts +13 -1
  4. package/dist/blueprints/registry.d.ts.map +1 -1
  5. package/dist/blueprints/registry.js +23 -5
  6. package/dist/blueprints/registry.js.map +1 -1
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +2 -2
  10. package/dist/index.js.map +1 -1
  11. package/dist/playground-reset.js +2 -2
  12. package/dist/playground-reset.js.map +1 -1
  13. package/dist/recap.js +1 -1
  14. package/dist/recap.js.map +1 -1
  15. package/dist/scaffold.d.ts +5 -3
  16. package/dist/scaffold.d.ts.map +1 -1
  17. package/dist/scaffold.js +20 -13
  18. package/dist/scaffold.js.map +1 -1
  19. package/dist/types.d.ts.map +1 -1
  20. package/dist/types.js +2 -1
  21. package/dist/types.js.map +1 -1
  22. package/dist/wizard.js +1 -1
  23. package/dist/wizard.js.map +1 -1
  24. package/package.json +14 -13
  25. package/dist/blueprints/assets/photos/association/community-cleanup.jpg +0 -0
  26. package/dist/blueprints/assets/photos/association/fundraising-dinner.jpg +0 -0
  27. package/dist/blueprints/assets/photos/association/garden-planting.jpg +0 -0
  28. package/dist/blueprints/assets/photos/association/harvest-food-drive.jpg +0 -0
  29. package/dist/blueprints/assets/photos/association/hero.jpg +0 -0
  30. package/dist/blueprints/assets/photos/association/volunteer-orientation.jpg +0 -0
  31. package/dist/blueprints/assets/photos/association/winter-coat-collection.jpg +0 -0
  32. package/dist/blueprints/assets/photos/blog/blog-runs-itself.jpg +0 -0
  33. package/dist/blueprints/assets/photos/blog/desk-setup.jpg +0 -0
  34. package/dist/blueprints/assets/photos/blog/editing.jpg +0 -0
  35. package/dist/blueprints/assets/photos/blog/hero.jpg +0 -0
  36. package/dist/blueprints/assets/photos/blog/notebooks.jpg +0 -0
  37. package/dist/blueprints/assets/photos/blog/plain-text-editor.jpg +0 -0
  38. package/dist/blueprints/assets/photos/blog/reading-nonfiction.jpg +0 -0
  39. package/dist/blueprints/assets/photos/blog/small-tool.jpg +0 -0
  40. package/dist/blueprints/assets/photos/blog/writing-schedule.jpg +0 -0
  41. package/dist/blueprints/assets/photos/magazine/business-2.jpg +0 -0
  42. package/dist/blueprints/assets/photos/magazine/business-3.jpg +0 -0
  43. package/dist/blueprints/assets/photos/magazine/business.jpg +0 -0
  44. package/dist/blueprints/assets/photos/magazine/culture-2.jpg +0 -0
  45. package/dist/blueprints/assets/photos/magazine/culture-3.jpg +0 -0
  46. package/dist/blueprints/assets/photos/magazine/culture.jpg +0 -0
  47. package/dist/blueprints/assets/photos/magazine/news-2.jpg +0 -0
  48. package/dist/blueprints/assets/photos/magazine/news-3.jpg +0 -0
  49. package/dist/blueprints/assets/photos/magazine/news.jpg +0 -0
  50. package/dist/blueprints/assets/photos/magazine/opinion-2.jpg +0 -0
  51. package/dist/blueprints/assets/photos/magazine/opinion-3.jpg +0 -0
  52. package/dist/blueprints/assets/photos/magazine/opinion.jpg +0 -0
  53. package/dist/blueprints/assets/photos/portfolio/adatum-publishing.jpg +0 -0
  54. package/dist/blueprints/assets/photos/portfolio/contoso-mobile-app.jpg +0 -0
  55. package/dist/blueprints/assets/photos/portfolio/fabrikam-annual-report.jpg +0 -0
  56. package/dist/blueprints/assets/photos/portfolio/hero.jpg +0 -0
  57. package/dist/blueprints/assets/photos/portfolio/litware-signage.jpg +0 -0
  58. package/dist/blueprints/assets/photos/portfolio/northwind-rebrand.jpg +0 -0
  59. package/dist/blueprints/assets/photos/portfolio/proseware-launch.jpg +0 -0
  60. package/dist/blueprints/assets/photos/portfolio/tailspin-streaming.jpg +0 -0
  61. package/dist/blueprints/assets/photos/portfolio/wingtip-wayfinding.jpg +0 -0
  62. package/dist/blueprints/assets/photos/restaurant/charred-octopus.jpg +0 -0
  63. package/dist/blueprints/assets/photos/restaurant/chocolate-tart.jpg +0 -0
  64. package/dist/blueprints/assets/photos/restaurant/creme-brulee.jpg +0 -0
  65. package/dist/blueprints/assets/photos/restaurant/hero.jpg +0 -0
  66. package/dist/blueprints/assets/photos/restaurant/house-red.jpg +0 -0
  67. package/dist/blueprints/assets/photos/restaurant/house-white.jpg +0 -0
  68. package/dist/blueprints/assets/photos/restaurant/pan-seared-trout.jpg +0 -0
  69. package/dist/blueprints/assets/photos/restaurant/poached-pear.jpg +0 -0
  70. package/dist/blueprints/assets/photos/restaurant/roasted-beet-salad.jpg +0 -0
  71. package/dist/blueprints/assets/photos/restaurant/slow-roast-duck-leg.jpg +0 -0
  72. package/dist/blueprints/assets/photos/restaurant/soup-of-the-day.jpg +0 -0
  73. package/dist/blueprints/assets/photos/restaurant/sparkling-water.jpg +0 -0
  74. package/dist/blueprints/assets/photos/restaurant/wild-mushroom-risotto.jpg +0 -0
  75. package/dist/blueprints/assets/photos/saas/avatar-1.jpg +0 -0
  76. package/dist/blueprints/assets/photos/saas/hero.jpg +0 -0
  77. package/dist/blueprints/assets/photos/store/camp-blanket.jpg +0 -0
  78. package/dist/blueprints/assets/photos/store/canvas-tote.jpg +0 -0
  79. package/dist/blueprints/assets/photos/store/cast-iron-skillet.jpg +0 -0
  80. package/dist/blueprints/assets/photos/store/ceramic-pour-over-set.jpg +0 -0
  81. package/dist/blueprints/assets/photos/store/enamel-mug.jpg +0 -0
  82. package/dist/blueprints/assets/photos/store/everyday-tee.jpg +0 -0
  83. package/dist/blueprints/assets/photos/store/field-jacket.jpg +0 -0
  84. package/dist/blueprints/assets/photos/store/hero.jpg +0 -0
  85. package/dist/blueprints/assets/photos/store/leather-card-holder.jpg +0 -0
  86. package/dist/blueprints/assets/photos/store/linen-table-runner.jpg +0 -0
  87. package/dist/blueprints/assets/photos/store/trail-tote.jpg +0 -0
  88. package/dist/blueprints/assets/photos/store/wool-beanie.jpg +0 -0
  89. package/dist/blueprints/assets/photos/store/wool-overshirt.jpg +0 -0
  90. package/dist/blueprints/assets/photos/vitrine/avatar-1.jpg +0 -0
  91. package/dist/blueprints/assets/photos/vitrine/avatar-2.jpg +0 -0
  92. package/dist/blueprints/assets/photos/vitrine/avatar-3.jpg +0 -0
  93. package/dist/blueprints/assets/photos/vitrine/dashboard.jpg +0 -0
  94. package/dist/blueprints/assets/photos/vitrine/hero.jpg +0 -0
  95. package/dist/blueprints/association.d.ts +0 -151
  96. package/dist/blueprints/association.d.ts.map +0 -1
  97. package/dist/blueprints/association.js +0 -732
  98. package/dist/blueprints/association.js.map +0 -1
  99. package/dist/blueprints/blog.d.ts +0 -198
  100. package/dist/blueprints/blog.d.ts.map +0 -1
  101. package/dist/blueprints/blog.js +0 -665
  102. package/dist/blueprints/blog.js.map +0 -1
  103. package/dist/blueprints/content-pack.d.ts +0 -143
  104. package/dist/blueprints/content-pack.d.ts.map +0 -1
  105. package/dist/blueprints/content-pack.js +0 -111
  106. package/dist/blueprints/content-pack.js.map +0 -1
  107. package/dist/blueprints/content-packs.d.ts +0 -11
  108. package/dist/blueprints/content-packs.d.ts.map +0 -1
  109. package/dist/blueprints/content-packs.js +0 -29
  110. package/dist/blueprints/content-packs.js.map +0 -1
  111. package/dist/blueprints/demo-media.d.ts +0 -39
  112. package/dist/blueprints/demo-media.d.ts.map +0 -1
  113. package/dist/blueprints/demo-media.js +0 -30
  114. package/dist/blueprints/demo-media.js.map +0 -1
  115. package/dist/blueprints/documentation.d.ts +0 -134
  116. package/dist/blueprints/documentation.d.ts.map +0 -1
  117. package/dist/blueprints/documentation.js +0 -678
  118. package/dist/blueprints/documentation.js.map +0 -1
  119. package/dist/blueprints/magazine.d.ts +0 -145
  120. package/dist/blueprints/magazine.d.ts.map +0 -1
  121. package/dist/blueprints/magazine.js +0 -543
  122. package/dist/blueprints/magazine.js.map +0 -1
  123. package/dist/blueprints/menus.d.ts +0 -25
  124. package/dist/blueprints/menus.d.ts.map +0 -1
  125. package/dist/blueprints/menus.js +0 -33
  126. package/dist/blueprints/menus.js.map +0 -1
  127. package/dist/blueprints/photo-assets.d.ts +0 -3
  128. package/dist/blueprints/photo-assets.d.ts.map +0 -1
  129. package/dist/blueprints/photo-assets.js +0 -33
  130. package/dist/blueprints/photo-assets.js.map +0 -1
  131. package/dist/blueprints/portfolio.d.ts +0 -141
  132. package/dist/blueprints/portfolio.d.ts.map +0 -1
  133. package/dist/blueprints/portfolio.js +0 -700
  134. package/dist/blueprints/portfolio.js.map +0 -1
  135. package/dist/blueprints/restaurant.d.ts +0 -124
  136. package/dist/blueprints/restaurant.d.ts.map +0 -1
  137. package/dist/blueprints/restaurant.js +0 -457
  138. package/dist/blueprints/restaurant.js.map +0 -1
  139. package/dist/blueprints/saas.d.ts +0 -133
  140. package/dist/blueprints/saas.d.ts.map +0 -1
  141. package/dist/blueprints/saas.js +0 -551
  142. package/dist/blueprints/saas.js.map +0 -1
  143. package/dist/blueprints/site-settings-seed.d.ts +0 -17
  144. package/dist/blueprints/site-settings-seed.d.ts.map +0 -1
  145. package/dist/blueprints/site-settings-seed.js +0 -45
  146. package/dist/blueprints/site-settings-seed.js.map +0 -1
  147. package/dist/blueprints/starting-skins.d.ts +0 -19
  148. package/dist/blueprints/starting-skins.d.ts.map +0 -1
  149. package/dist/blueprints/starting-skins.js +0 -301
  150. package/dist/blueprints/starting-skins.js.map +0 -1
  151. package/dist/blueprints/store.d.ts +0 -173
  152. package/dist/blueprints/store.d.ts.map +0 -1
  153. package/dist/blueprints/store.js +0 -643
  154. package/dist/blueprints/store.js.map +0 -1
  155. package/dist/blueprints/vitrine.d.ts +0 -178
  156. package/dist/blueprints/vitrine.d.ts.map +0 -1
  157. package/dist/blueprints/vitrine.js +0 -529
  158. package/dist/blueprints/vitrine.js.map +0 -1
  159. package/dist/demo-art/compositions.d.ts +0 -48
  160. package/dist/demo-art/compositions.d.ts.map +0 -1
  161. package/dist/demo-art/compositions.js +0 -690
  162. package/dist/demo-art/compositions.js.map +0 -1
  163. package/dist/demo-art/index.d.ts +0 -8
  164. package/dist/demo-art/index.d.ts.map +0 -1
  165. package/dist/demo-art/index.js +0 -5
  166. package/dist/demo-art/index.js.map +0 -1
  167. package/dist/demo-art/oklch.d.ts +0 -39
  168. package/dist/demo-art/oklch.d.ts.map +0 -1
  169. package/dist/demo-art/oklch.js +0 -79
  170. package/dist/demo-art/oklch.js.map +0 -1
  171. package/dist/demo-art/png.d.ts +0 -24
  172. package/dist/demo-art/png.d.ts.map +0 -1
  173. package/dist/demo-art/png.js +0 -110
  174. package/dist/demo-art/png.js.map +0 -1
  175. package/dist/demo-art/render.d.ts +0 -228
  176. package/dist/demo-art/render.d.ts.map +0 -1
  177. package/dist/demo-art/render.js +0 -478
  178. package/dist/demo-art/render.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog.js","sourceRoot":"","sources":["../../src/blueprints/blog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAEL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,CAAC,EAGD,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAgB,MAAM,6BAA6B,CAAA;AACjG,OAAO,EAGL,UAAU,EAEV,gBAAgB,GACjB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD;;;;;;;;;;;;GAYG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAuB,cAAc,CAAC;IACzD,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,WAAW,EAAE;QAC7C,MAAM,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE;KAC/C;IACD,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;QAC7C,MAAM,SAAS,CAAC,MAAM,CAAC;YACrB,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,OAAO;YAClB,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YAC9C,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,EAAE;SACtD,CAAC,CAAA;IACJ,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAyB;IACnD,WAAW,EAAE,gBAAgB;IAC7B,UAAU,EAAE,eAAe;IAC3B,iBAAiB,EAAE,uBAAuB;IAC1C,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,qBAAqB;IACnC,KAAK,EAAE,UAAU;IACjB,YAAY,EAAE,kBAAkB;IAChC,UAAU,EAAE,gBAAgB;CAC7B,CAAA"}
@@ -1,143 +0,0 @@
1
- import type { RichTextDocument, VocabularyBlock } from '@cogenta/blocks';
2
- import type { DatabaseHandle } from '@cogenta/core';
3
- import { type CollectionDefinition, type TaxonomyDefinition } from '@cogenta/schema';
4
- import type { DemoMediaSpec } from './demo-media.js';
5
- import type { BlueprintMenus } from './menus.js';
6
- /**
7
- * One paragraph, as the structured rich-text document contract A stores (never
8
- * a string of HTML — rule R3). Shared because a `faq` answer is a rich-text
9
- * document too, and five blueprints now seed one: writing the same four nested
10
- * literals out by hand in each of them is how a `_key` collision or a missing
11
- * `markDefs` gets in.
12
- */
13
- export declare function richTextParagraph(key: string, text: string): RichTextDocument;
14
- /**
15
- * Names, and does not wire, an agent a blueprint recommends.
16
- *
17
- * No site anywhere in this codebase constructs a live `AgentRegistry` yet
18
- * (see `Site.agentsRouter` in `@cogenta/cli`'s `serve.ts`) — R2 requires the
19
- * CMS to work with no AI provider configured at all. Pretending to schedule
20
- * an agent from the installer would be dishonest about what actually runs;
21
- * naming it here is the scoped, truthful version of "agents préconfigurés"
22
- * until a live scheduler exists somewhere to preconfigure.
23
- */
24
- export interface RecommendedAgentHint {
25
- readonly name: string;
26
- readonly package: string;
27
- readonly reason: string;
28
- }
29
- /**
30
- * What every `SeedDemoContent` function receives (L25 task A0b — previously
31
- * three positional parameters, `db`/`defaultLocale`/`adminId`; widened to
32
- * carry `media` so a blueprint's demo content can reference the images
33
- * `seedDemoMedia` (`./demo-media.js`) already ingested — `hero.media`,
34
- * `product.photo`, an article's `coverImage`, and so on). Every blueprint
35
- * that predates this task takes the same three fields it always did and
36
- * simply ignores `media`; nothing about their existing content changes.
37
- */
38
- export interface SeedContext {
39
- readonly db: DatabaseHandle;
40
- readonly defaultLocale: string;
41
- readonly adminId: string | null;
42
- /** `{ [DemoMediaSpec.name]: mediaId }` — see `./demo-media.js`. Empty for a blueprint that seeds no media. */
43
- readonly media: Readonly<Record<string, string>>;
44
- }
45
- export type SeedDemoContent = (ctx: SeedContext) => Promise<void>;
46
- /**
47
- * "Un blueprint = modèle de contenu + skin + agents préconfigurés + contenu
48
- * de démo + pages types" (`docs/lots/L9-ecosysteme.md`). The skin is a
49
- * separate, shared concern (`chooseSkin`, L9 task 7) — this is the part that
50
- * differs per blueprint: its collections, the agents it recommends, and how
51
- * it seeds its own demo content (including template pages, via
52
- * `f.blocks()`) through the real `ContentStore`.
53
- *
54
- * L25 task A0b adds four optional fields, all additive: `defaultTheme` (an
55
- * npm package name — `scaffold.ts` writes it to `cogenta_theme.active_theme`
56
- * and to the generated site's `package.json`), `menus`/`siteSettings` (seeded
57
- * before `seedDemoContent` runs), and (unchanged) `taxonomies`. A blueprint
58
- * that declares none of them behaves exactly as it did before this task.
59
- */
60
- export interface BlueprintContentPack {
61
- readonly collections: readonly CollectionDefinition[];
62
- /** Declared taxonomies (`schema@2.0`, ADR-0022). Absent: the blueprint declares none — the pre-T02 behaviour. */
63
- readonly taxonomies?: readonly TaxonomyDefinition[];
64
- readonly recommendedAgents: readonly RecommendedAgentHint[];
65
- readonly seedDemoContent: SeedDemoContent;
66
- /** An npm package name (e.g. `@cogenta/theme-ecommerce`) this blueprint activates by default. Absent: the canonical theme, unchanged. */
67
- readonly defaultTheme?: string;
68
- /** Header/footer/header-action navigation, seeded through the real `MenuStore`. Absent: no menus seeded. */
69
- readonly menus?: BlueprintMenus;
70
- /** Site settings this blueprint seeds (`general.tagline`, `general.socialLinks`, …), keyed by their registry key. Absent: none seeded. */
71
- readonly siteSettings?: Readonly<Record<string, unknown>>;
72
- /**
73
- * Procedural demo visuals (`demo-art`), rendered and ingested through the
74
- * real media pipeline (`seedDemoMedia`) *before* `seedDemoContent` runs —
75
- * the resulting `{ name: mediaId }` map is what `SeedContext.media`
76
- * carries. Absent: no media seeded, `media` stays `{}`.
77
- */
78
- readonly mediaSpecs?: readonly DemoMediaSpec[];
79
- }
80
- /**
81
- * A `VocabularyBlock` (contract B: `_key`/`_type`/`_version` plus its own
82
- * fields) as the block zone `f.blocks()` stores it: `key`/`type`/`data`,
83
- * where `data` is everything but the three contract-B envelope fields.
84
- * Shared by every blueprint that seeds a page with a `blocks` field.
85
- */
86
- export declare function toBlockZoneEntry(block: VocabularyBlock): {
87
- key: string;
88
- type: string;
89
- data: Record<string, unknown>;
90
- };
91
- /**
92
- * The four SEO override fields `seo-panel.tsx` (the admin's SEO panel) and
93
- * `@cogenta/seo`'s `metadata.ts`/`indexable.ts` already read by naming
94
- * convention (fiche 13, Task 0 § decision (a)) — declaring them on a
95
- * collection is the only thing that makes the panel render instead of the
96
- * `null` it falls back to for a collection that has none of them. Shared
97
- * across every routed collection of every blueprint (well past the "three
98
- * real usages" bar in AGENTS.md) so the four names, the four field kinds
99
- * and their limits never drift blueprint to blueprint.
100
- *
101
- * `admin.label`/`admin.help` are a single string each — `FieldAdminOptions`
102
- * (`@cogenta/schema`) has no per-locale form, unlike a taxonomy's or a
103
- * collection's own `labels` — so these are written in English, consistent
104
- * with every other piece of blueprint content and every other field label
105
- * in this file and its siblings (all English-only; there is no French
106
- * variant of any blueprint's schema to match).
107
- *
108
- * `seoCanonical` is deliberately not included (fiche 13 audit, T01): rarely
109
- * useful for a brand-new site and left as a field an editor adds by hand if
110
- * they ever need it, rather than a fifth SEO field in every form by default.
111
- */
112
- export declare const SEO_FIELDS: {
113
- readonly seoTitle: import("@cogenta/schema").FieldDefinition & {
114
- readonly kind: "text";
115
- readonly options: Readonly<Record<string, unknown>>;
116
- };
117
- readonly seoDescription: import("@cogenta/schema").FieldDefinition & {
118
- readonly kind: "text";
119
- readonly options: Readonly<Record<string, unknown>>;
120
- };
121
- readonly seoImage: import("@cogenta/schema").FieldDefinition & {
122
- readonly kind: "media";
123
- readonly options: {
124
- accept: readonly ("audio" | "file" | "image" | "video")[];
125
- many: boolean;
126
- };
127
- };
128
- readonly seoNoindex: import("@cogenta/schema").FieldDefinition & {
129
- readonly kind: "boolean";
130
- readonly options: {};
131
- };
132
- };
133
- /**
134
- * The "page types" shape every blueprint beyond `blog` needs (this is the
135
- * third real usage of it, after `blog.ts`'s own hand-written `page` — see
136
- * AGENTS.md "not before three real usages"): a title plus a block zone,
137
- * routed generically. `blog.ts` keeps its own copy rather than being
138
- * refactored to call this — it predates this helper and already has
139
- * passing tests against its exact shape; duplication of one small,
140
- * frozen-contract-shaped collection is cheaper than touching working code.
141
- */
142
- export declare function definePageCollection(routingPattern: string): CollectionDefinition;
143
- //# sourceMappingURL=content-pack.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-pack.d.ts","sourceRoot":"","sources":["../../src/blueprints/content-pack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EACL,KAAK,oBAAoB,EAGzB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,KAAK,EAAE,c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,CAAC,CAAC,CAAA;IACzD;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,aAAa,EAAE,CAAA;CAC/C;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG;IACxD,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B,CAGA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,UAAU;aACrB,QAAQ;;;;aAOR,cAAc;;;;aAQd,QAAQ;;;;;;;aAOR,UAAU;;;;CAOF,CAAA;AAEV;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,MAAM,GAAG,oBAAoB,CAmBjF"}
@@ -1,111 +0,0 @@
1
- import { defineCollection, f, } from '@cogenta/schema';
2
- /**
3
- * One paragraph, as the structured rich-text document contract A stores (never
4
- * a string of HTML — rule R3). Shared because a `faq` answer is a rich-text
5
- * document too, and five blueprints now seed one: writing the same four nested
6
- * literals out by hand in each of them is how a `_key` collision or a missing
7
- * `markDefs` gets in.
8
- */
9
- export function richTextParagraph(key, text) {
10
- return [
11
- {
12
- _key: key,
13
- _type: 'block',
14
- style: 'normal',
15
- children: [{ _key: `${key}-span`, _type: 'span', text, marks: [] }],
16
- markDefs: [],
17
- },
18
- ];
19
- }
20
- /**
21
- * A `VocabularyBlock` (contract B: `_key`/`_type`/`_version` plus its own
22
- * fields) as the block zone `f.blocks()` stores it: `key`/`type`/`data`,
23
- * where `data` is everything but the three contract-B envelope fields.
24
- * Shared by every blueprint that seeds a page with a `blocks` field.
25
- */
26
- export function toBlockZoneEntry(block) {
27
- const { _key, _type, _version: _discard, ...data } = block;
28
- return { key: _key, type: _type, data };
29
- }
30
- /**
31
- * The four SEO override fields `seo-panel.tsx` (the admin's SEO panel) and
32
- * `@cogenta/seo`'s `metadata.ts`/`indexable.ts` already read by naming
33
- * convention (fiche 13, Task 0 § decision (a)) — declaring them on a
34
- * collection is the only thing that makes the panel render instead of the
35
- * `null` it falls back to for a collection that has none of them. Shared
36
- * across every routed collection of every blueprint (well past the "three
37
- * real usages" bar in AGENTS.md) so the four names, the four field kinds
38
- * and their limits never drift blueprint to blueprint.
39
- *
40
- * `admin.label`/`admin.help` are a single string each — `FieldAdminOptions`
41
- * (`@cogenta/schema`) has no per-locale form, unlike a taxonomy's or a
42
- * collection's own `labels` — so these are written in English, consistent
43
- * with every other piece of blueprint content and every other field label
44
- * in this file and its siblings (all English-only; there is no French
45
- * variant of any blueprint's schema to match).
46
- *
47
- * `seoCanonical` is deliberately not included (fiche 13 audit, T01): rarely
48
- * useful for a brand-new site and left as a field an editor adds by hand if
49
- * they ever need it, rather than a fifth SEO field in every form by default.
50
- */
51
- export const SEO_FIELDS = {
52
- seoTitle: f.text({
53
- max: 60,
54
- admin: {
55
- label: 'SEO title',
56
- help: 'Overrides the browser tab title and the title shown in search results. Leave blank to use the page title.',
57
- },
58
- }),
59
- seoDescription: f.text({
60
- max: 160,
61
- multiline: true,
62
- admin: {
63
- label: 'SEO description',
64
- help: 'The summary shown under the title in search results. Leave blank to derive one from the content.',
65
- },
66
- }),
67
- seoImage: f.media({
68
- accept: ['image'],
69
- admin: {
70
- label: 'SEO image',
71
- help: 'Used for social previews (Open Graph, Twitter Card). Leave blank to fall back to the page content.',
72
- },
73
- }),
74
- seoNoindex: f.boolean({
75
- default: false,
76
- admin: {
77
- label: 'Hide from search engines',
78
- help: 'Adds a "noindex" instruction and removes this entry from the sitemap.',
79
- },
80
- }),
81
- };
82
- /**
83
- * The "page types" shape every blueprint beyond `blog` needs (this is the
84
- * third real usage of it, after `blog.ts`'s own hand-written `page` — see
85
- * AGENTS.md "not before three real usages"): a title plus a block zone,
86
- * routed generically. `blog.ts` keeps its own copy rather than being
87
- * refactored to call this — it predates this helper and already has
88
- * passing tests against its exact shape; duplication of one small,
89
- * frozen-contract-shaped collection is cheaper than touching working code.
90
- */
91
- export function definePageCollection(routingPattern) {
92
- return defineCollection({
93
- name: 'page',
94
- labels: { singular: 'Page', plural: 'Pages' },
95
- routing: { pattern: routingPattern },
96
- fields: {
97
- title: f.text({ required: true, max: 200 }),
98
- slug: f.slug({ from: 'title', unique: true }),
99
- blocks: f.blocks({ required: true }),
100
- ...SEO_FIELDS,
101
- },
102
- indexes: [['slug']],
103
- permissions: {
104
- read: ['public'],
105
- create: ['editor', 'admin'],
106
- update: ['editor', 'admin'],
107
- delete: ['admin'],
108
- },
109
- });
110
- }
111
- //# sourceMappingURL=content-pack.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-pack.js","sourceRoot":"","sources":["../../src/blueprints/content-pack.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,gBAAgB,EAChB,CAAC,GAEF,MAAM,iBAAiB,CAAA;AAIxB;;;;;;GAMG;AACH,MAAM,UAAU,iBAAiB,CAAC,GAAW,EAAE,IAAY;IACzD,OAAO;QACL;YACE,IAAI,EAAE,GAAG;YACT,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;YACnE,QAAQ,EAAE,EAAE;SACb;KACF,CAAA;AACH,CAAC;AAwED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAsB;IAKrD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAA;IAC1D,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;AACzC,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,QAAQ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AAC,CAAC;QACnB,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,QAAQ,CAAC;YAChB,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;YAC3B,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;YAC3B,MAAM,EAAE,CAAC,OAAO,CAAC;SAClB;KACF,CAAC,CAAA;AACJ,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { BlueprintContentPack } from './content-pack.js';
2
- /**
3
- * Every blueprint beyond `blank` that has a real content pack, keyed by its
4
- * `Blueprint.id` (`./registry.js`). Every blueprint listed in `BLUEPRINTS`
5
- * now has one (L9 task 8, batch B, plus `store` in L22 task 10) — `blank`
6
- * remains the only one without, which is honest: it is the empty schema by
7
- * design, never `resolveBlueprint` handing out an `available: false`
8
- * blueprint.
9
- */
10
- export declare const BLUEPRINT_CONTENT_PACKS: Readonly<Record<string, BlueprintContentPack>>;
11
- //# sourceMappingURL=content-packs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-packs.d.ts","sourceRoot":"","sources":["../../src/blueprints/content-packs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAS7D;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAUlF,CAAA"}
@@ -1,29 +0,0 @@
1
- import { associationContentPack } from './association.js';
2
- import { blogContentPack } from './blog.js';
3
- import { documentationContentPack } from './documentation.js';
4
- import { magazineContentPack } from './magazine.js';
5
- import { portfolioContentPack } from './portfolio.js';
6
- import { restaurantContentPack } from './restaurant.js';
7
- import { saasContentPack } from './saas.js';
8
- import { storeContentPack } from './store.js';
9
- import { vitrineContentPack } from './vitrine.js';
10
- /**
11
- * Every blueprint beyond `blank` that has a real content pack, keyed by its
12
- * `Blueprint.id` (`./registry.js`). Every blueprint listed in `BLUEPRINTS`
13
- * now has one (L9 task 8, batch B, plus `store` in L22 task 10) — `blank`
14
- * remains the only one without, which is honest: it is the empty schema by
15
- * design, never `resolveBlueprint` handing out an `available: false`
16
- * blueprint.
17
- */
18
- export const BLUEPRINT_CONTENT_PACKS = {
19
- blog: blogContentPack,
20
- vitrine: vitrineContentPack,
21
- portfolio: portfolioContentPack,
22
- documentation: documentationContentPack,
23
- magazine: magazineContentPack,
24
- association: associationContentPack,
25
- restaurant: restaurantContentPack,
26
- saas: saasContentPack,
27
- store: storeContentPack,
28
- };
29
- //# sourceMappingURL=content-packs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content-packs.js","sourceRoot":"","sources":["../../src/blueprints/content-packs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAmD;IACrF,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,kBAAkB;IAC3B,SAAS,EAAE,oBAAoB;IAC/B,aAAa,EAAE,wBAAwB;IACvC,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,sBAAsB;IACnC,UAAU,EAAE,qBAAqB;IACjC,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,gBAAgB;CACxB,CAAA"}
@@ -1,39 +0,0 @@
1
- import { type MediaImageProcessor } from '@cogenta/api';
2
- import { type DatabaseHandle, type StorageDriver } from '@cogenta/core';
3
- import type { ArtSpec } from '../demo-art/render.js';
4
- /**
5
- * Seeds a blueprint's demo visuals through the real media pipeline (L25
6
- * task A0b) — the same {@link ingestMediaUpload} a human upload from the
7
- * admin takes, so a demo image gets real-type verification, an intrinsic
8
- * size, and (when an image processor is available) resized WebP variants,
9
- * exactly like anything a person drags into the media library.
10
- *
11
- * One asset per `{ name, spec, alt }` in `specs`; the returned map's keys
12
- * are those names, so a blueprint can write
13
- * `product.create({ ..., photo: media.product1 })` without caring what id
14
- * the store happened to assign.
15
- *
16
- * `photo`, when set, names a bundled photograph under `assets/photos/`
17
- * (see `photo-assets.ts`) — used in place of the procedural `spec` when the
18
- * file exists, so a hero, a dish, a product or a testimonial avatar is a
19
- * real, concrete image rather than an abstract flat composition. Absent, or
20
- * pointing at a file this package does not (or no longer) bundle, falls
21
- * back to `spec` — a photo is always optional, never a hard requirement.
22
- */
23
- export interface DemoMediaSpec {
24
- readonly name: string;
25
- readonly spec: ArtSpec;
26
- readonly alt: string;
27
- readonly photo?: string;
28
- }
29
- export interface SeedDemoMediaDeps {
30
- readonly db: DatabaseHandle;
31
- readonly storage: StorageDriver;
32
- /** Absent: images are still ingested, but carry no dimensions and no variants (R2's shape, applied to images). */
33
- readonly images?: MediaImageProcessor;
34
- /** Attributed as the uploader — the admin's id when a site has one, `null` otherwise (never guessed). */
35
- readonly adminId: string | null;
36
- }
37
- /** Renders every spec and ingests it, returning `{ [spec.name]: mediaId }`. */
38
- export declare function seedDemoMedia(deps: SeedDemoMediaDeps, specs: readonly DemoMediaSpec[]): Promise<Record<string, string>>;
39
- //# sourceMappingURL=demo-media.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo-media.d.ts","sourceRoot":"","sources":["../../src/blueprints/demo-media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAC1E,OAAO,EAA4B,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,MAAM,eAAe,CAAA;AACjG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAIpD;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAA;IAC3B,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;IAC/B,kHAAkH;IAClH,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAA;IACrC,yGAAyG;IACzG,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC;AAED,+EAA+E;AAC/E,wBAAsB,aAAa,CACjC,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,SAAS,aAAa,EAAE,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CA4BjC"}
@@ -1,30 +0,0 @@
1
- import { ingestMediaUpload } from '@cogenta/api';
2
- import { createDatabaseMediaStore } from '@cogenta/core';
3
- import { renderArt } from '../demo-art/render.js';
4
- import { loadPhotoAsset } from './photo-assets.js';
5
- /** Renders every spec and ingests it, returning `{ [spec.name]: mediaId }`. */
6
- export async function seedDemoMedia(deps, specs) {
7
- if (specs.length === 0)
8
- return {};
9
- const store = createDatabaseMediaStore({ db: deps.db });
10
- const ids = {};
11
- for (const item of specs) {
12
- const photo = item.photo === undefined ? undefined : loadPhotoAsset(item.photo);
13
- const bytes = photo ?? renderArt(item.spec);
14
- const asset = await ingestMediaUpload({
15
- store,
16
- storage: deps.storage,
17
- ...(deps.images === undefined ? {} : { images: deps.images }),
18
- }, {
19
- kind: 'image',
20
- filename: photo === undefined ? `${item.name}.png` : `${item.name}.jpg`,
21
- mimeType: photo === undefined ? 'image/png' : 'image/jpeg',
22
- bytes,
23
- actorId: deps.adminId,
24
- alt: item.alt,
25
- });
26
- ids[item.name] = asset.id;
27
- }
28
- return ids;
29
- }
30
- //# sourceMappingURL=demo-media.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo-media.js","sourceRoot":"","sources":["../../src/blueprints/demo-media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA4B,MAAM,cAAc,CAAA;AAC1E,OAAO,EAAE,wBAAwB,EAA2C,MAAM,eAAe,CAAA;AAEjG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAsClD,+EAA+E;AAC/E,MAAM,CAAC,KAAK,UAAU,aAAa,CACjC,IAAuB,EACvB,KAA+B;IAE/B,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAA;IAEjC,MAAM,KAAK,GAAG,wBAAwB,CAAC,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;IACvD,MAAM,GAAG,GAA2B,EAAE,CAAA;IAEtC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC/E,MAAM,KAAK,GAAG,KAAK,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAC3C,MAAM,KAAK,GAAG,MAAM,iBAAiB,CACnC;YACE,KAAK;YACL,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,GAAG,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;SAC9D,EACD;YACE,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,MAAM;YACvE,QAAQ,EAAE,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY;YAC1D,KAAK;YACL,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CACF,CAAA;QACD,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,EAAE,CAAA;IAC3B,CAAC;IAED,OAAO,GAAG,CAAA;AACZ,CAAC"}
@@ -1,134 +0,0 @@
1
- import type { RichTextDocument, VocabularyBlock } from '@cogenta/blocks';
2
- import { type CollectionDefinition } from '@cogenta/schema';
3
- import { type BlueprintContentPack, type RecommendedAgentHint } from './content-pack.js';
4
- import type { DemoMediaSpec } from './demo-media.js';
5
- import type { BlueprintMenus } from './menus.js';
6
- /**
7
- * The `documentation` blueprint's content model (L9 task 8, batch A;
8
- * rebuilt for L25 task Phase 1 — `theme-docs`): reference material, not
9
- * marketing — the "page types" are `doc_page` entries themselves (ordered,
10
- * grouped into sections), rather than a generic block-composed page for
11
- * each one. A single `page` entry (`home`) still exists so the site root
12
- * works and links into the docs, exactly like every other blueprint's
13
- * landing page.
14
- *
15
- * `body: f.blocks()`, not `f.richText()`: a doc page's own content is a
16
- * block zone like `page.blocks`, whose *first* block is always the
17
- * `collectionList` `@cogenta/theme-docs` reads as the left-hand sidebar
18
- * (`section`/`order`, plain fields — neither is a valid
19
- * `collectionList.sort.field`, so the theme groups and re-sorts the
20
- * already-fetched slice itself; see the theme's own `render-block.ts`).
21
- * Everything after that first block is ordinary prose.
22
- */
23
- export declare const docPage: {
24
- readonly name: "doc_page";
25
- readonly labels: {
26
- readonly singular: "Doc page";
27
- readonly plural: "Doc pages";
28
- };
29
- readonly routing: {
30
- readonly pattern: "/docs/:slug";
31
- };
32
- readonly fields: {
33
- readonly seoTitle: import("@cogenta/schema").FieldDefinition & {
34
- readonly kind: "text";
35
- readonly options: Readonly<Record<string, unknown>>;
36
- };
37
- readonly seoDescription: import("@cogenta/schema").FieldDefinition & {
38
- readonly kind: "text";
39
- readonly options: Readonly<Record<string, unknown>>;
40
- };
41
- readonly seoImage: import("@cogenta/schema").FieldDefinition & {
42
- readonly kind: "media";
43
- readonly options: {
44
- accept: readonly ("audio" | "file" | "image" | "video")[];
45
- many: boolean;
46
- };
47
- };
48
- readonly seoNoindex: import("@cogenta/schema").FieldDefinition & {
49
- readonly kind: "boolean";
50
- readonly options: {};
51
- };
52
- readonly title: import("@cogenta/schema").FieldDefinition & {
53
- readonly kind: "text";
54
- readonly options: Readonly<Record<string, unknown>>;
55
- };
56
- readonly slug: import("@cogenta/schema").FieldDefinition & {
57
- readonly kind: "slug";
58
- readonly options: Readonly<Record<string, unknown>>;
59
- };
60
- readonly section: import("@cogenta/schema").FieldDefinition & {
61
- readonly kind: "text";
62
- readonly options: Readonly<Record<string, unknown>>;
63
- };
64
- readonly order: import("@cogenta/schema").FieldDefinition & {
65
- readonly kind: "number";
66
- readonly options: Readonly<Record<string, unknown>>;
67
- };
68
- readonly body: import("@cogenta/schema").FieldDefinition & {
69
- readonly kind: "blocks";
70
- readonly options: {
71
- allow: "*" | readonly string[];
72
- };
73
- };
74
- };
75
- readonly indexes: readonly [readonly ["slug"], readonly ["section"]];
76
- readonly permissions: {
77
- readonly read: readonly ["public"];
78
- readonly create: readonly ["editor", "admin"];
79
- readonly update: readonly ["editor", "admin"];
80
- readonly delete: readonly ["admin"];
81
- };
82
- };
83
- export declare const page: CollectionDefinition;
84
- export declare const DOCUMENTATION_COLLECTIONS: readonly CollectionDefinition[];
85
- export interface DocumentationDemoDocPage {
86
- readonly title: string;
87
- readonly slug: string;
88
- readonly section: 'Getting started' | 'Guides' | 'Reference';
89
- readonly order: number;
90
- readonly body: RichTextDocument;
91
- }
92
- /**
93
- * Ten real, technical doc pages across three sections — the exact shape the
94
- * brief asks for: headings, code blocks, lists, and (where a real table
95
- * would go) a definition-style list, credible enough to read as an actual
96
- * getting-started guide rather than placeholder copy.
97
- */
98
- export declare const DOCUMENTATION_DEMO_DOC_PAGES: readonly DocumentationDemoDocPage[];
99
- export interface DocumentationDemoPage {
100
- readonly title: string;
101
- readonly slug: string;
102
- readonly blocks: readonly VocabularyBlock[];
103
- }
104
- /**
105
- * `home` — the six-block composition the brief fixes exactly, in order:
106
- * hero (title/subtitle/actions, a small decorative `coverArt` panel) →
107
- * featureGrid "Start here" (six cards, each linking a real seeded doc page)
108
- * → collectionList "All guides" on `doc_page` (the theme groups it by
109
- * section) → prose "Quick install" (with a real code block) → faq → cta
110
- * "Contribute on GitHub".
111
- *
112
- * A function of `media` (`SeedContext.media`), not a static const: the
113
- * hero's `media` field needs the id `seedDemoMedia` only knows at scaffold
114
- * time.
115
- */
116
- export declare function buildDocumentationDemoPages(media: Readonly<Record<string, string>>): readonly DocumentationDemoPage[];
117
- /**
118
- * A small decorative panel for the hero (`coverArt`, not `heroArt`: the
119
- * brief asks for "a small coverArt used as decorative right-side panel",
120
- * not a full-bleed backdrop), plus two more for the "Content model" and
121
- * "Themes" doc pages (L26 D2/D3) — the two guides dense enough in prose
122
- * that the user's "some pages read as too bare" complaint applied to them
123
- * specifically. This blueprint has no bundled photography (a docs site is
124
- * diagram-led, not photo-led, and there is no Replicate key any more to
125
- * generate new photos) — every one of these three is the same zero-
126
- * dependency procedural generator, at a different seed so no two repeat.
127
- */
128
- export declare const DOCUMENTATION_MEDIA_SPECS: readonly DemoMediaSpec[];
129
- /** Header/footer navigation and the header call-to-action button (L25 D4). */
130
- export declare const DOCUMENTATION_MENUS: BlueprintMenus;
131
- export declare const DOCUMENTATION_SITE_SETTINGS: Readonly<Record<string, unknown>>;
132
- export declare const DOCUMENTATION_RECOMMENDED_AGENTS: readonly RecommendedAgentHint[];
133
- export declare const documentationContentPack: BlueprintContentPack;
134
- //# sourceMappingURL=documentation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"documentation.d.ts","sourceRoot":"","sources":["../../src/blueprints/documentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAExE,OAAO,EACL,KAAK,oBAAoB,EAK1B,MAAM,iBAAiB,CAAA;AAExB,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,oBAAoB,EAK1B,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAGhD;;;;;;;;;;;;;;;;GAgBG;AAEH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlB,CAAA;AAEF,eAAO,MAAM,IAAI,sBAAiC,CAAA;AAElD,eAAO,MAAM,yBAAyB,EAAE,SAAS,oBAAoB,EAAoB,CAAA;AA6EzF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,OAAO,EAAE,iBAAiB,GAAG,QAAQ,GAAG,WAAW,CAAA;IAC5D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAA;CAChC;AAED;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,EAAE,SAAS,wBAAwB,EA0V3E,CAAA;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,KA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