@samva/markup 0.1.2 → 0.3.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 (93) hide show
  1. package/AGENTS.md +25 -5
  2. package/README.md +92 -26
  3. package/dist/{ast-DAhnAvQN.d.ts → ast-63I-VLQx.d.ts} +15 -2
  4. package/dist/ast.d.ts +2 -2
  5. package/dist/ast.js +14 -1
  6. package/dist/{checks-D-zFQt5R.js → checks-DXuERO4B.js} +36 -2
  7. package/dist/checks.d.ts +8 -1
  8. package/dist/checks.js +2 -2
  9. package/dist/compile-sms.d.ts +2 -2
  10. package/dist/compile-whatsapp.d.ts +2 -2
  11. package/dist/compile.d.ts +9 -84
  12. package/dist/compile.js +11 -920
  13. package/dist/compiler.d.ts +303 -0
  14. package/dist/compiler.js +1390 -0
  15. package/dist/components.d.ts +3 -3
  16. package/dist/corpus-qrUD5O6r.d.ts +254 -0
  17. package/dist/css-ar2lU3NC.d.ts +84 -0
  18. package/dist/diagnostics-Djd9ckLg.d.ts +90 -0
  19. package/dist/diagnostics.js +4 -1
  20. package/dist/elements-DtwKlFVH.d.ts +820 -0
  21. package/dist/email/components.d.ts +125 -0
  22. package/dist/email/components.js +210 -0
  23. package/dist/email/diagnostics.d.ts +2 -0
  24. package/dist/email/diagnostics.js +56 -0
  25. package/dist/email/elements.d.ts +2 -0
  26. package/dist/email/elements.js +299 -0
  27. package/dist/email/html.d.ts +42 -0
  28. package/dist/email/html.js +266 -0
  29. package/dist/email/jsx-dev-runtime.d.ts +26 -0
  30. package/dist/email/jsx-dev-runtime.js +12 -0
  31. package/dist/email/jsx-runtime.d.ts +2 -0
  32. package/dist/email/jsx-runtime.js +60 -0
  33. package/dist/email/render.d.ts +43 -0
  34. package/dist/email/render.js +6 -0
  35. package/dist/email/selection.d.ts +102 -0
  36. package/dist/email/selection.js +143 -0
  37. package/dist/email/source-edit.d.ts +67 -0
  38. package/dist/email/source-edit.js +185 -0
  39. package/dist/email/stylesheets.d.ts +15 -0
  40. package/dist/email/stylesheets.js +45 -0
  41. package/dist/email/text.d.ts +7 -0
  42. package/dist/email/text.js +100 -0
  43. package/dist/emit.d.ts +13 -12
  44. package/dist/emit.js +63 -63
  45. package/dist/input-schema-BIfzI63B.d.ts +23 -0
  46. package/dist/input-schema.d.ts +2 -0
  47. package/dist/input-schema.js +170 -0
  48. package/dist/jsx-dev-runtime.d.ts +4 -3
  49. package/dist/jsx-dev-runtime.js +9 -1
  50. package/dist/{jsx-runtime-eNIMY87F.d.ts → jsx-runtime-C5k_Zq0A.d.ts} +3 -3
  51. package/dist/jsx-runtime.d.ts +1 -1
  52. package/dist/jsx-runtime.js +20 -1
  53. package/dist/model.d.ts +1 -1
  54. package/dist/ops.d.ts +1 -1
  55. package/dist/ops.js +1 -1
  56. package/dist/{parser-DkQKIjDa.d.ts → parser-CGBS73Gz.d.ts} +2 -2
  57. package/dist/parser.d.ts +1 -1
  58. package/dist/presets/category-mapping.d.ts +1 -1
  59. package/dist/presets/corpus.d.ts +2 -0
  60. package/dist/presets/corpus.js +247 -0
  61. package/dist/presets/public-gallery.d.ts +290 -2
  62. package/dist/presets/public-gallery.js +428 -6
  63. package/dist/presets/public-handoff.d.ts +164 -2
  64. package/dist/presets/public-handoff.js +229 -61
  65. package/dist/presets/public-preview-artifacts.d.ts +2 -2
  66. package/dist/presets/public-preview-artifacts.js +25 -31
  67. package/dist/presets/public-preview.d.ts +65 -2
  68. package/dist/presets/public-preview.js +402 -1152
  69. package/dist/presets/sources.d.ts +35 -4
  70. package/dist/presets/sources.js +2328 -43
  71. package/dist/presets.d.ts +39 -5
  72. package/dist/presets.js +96 -0
  73. package/dist/printer.d.ts +1 -1
  74. package/dist/render-template.d.ts +5 -2
  75. package/dist/render-template.js +3 -1
  76. package/dist/render-ykQhtMs_.js +592 -0
  77. package/dist/source-locations-BCJQnIfU.d.ts +89 -0
  78. package/dist/source-locations.d.ts +2 -0
  79. package/dist/source-locations.js +125 -0
  80. package/dist/template-Dy5yOPyp.d.ts +60 -0
  81. package/dist/template.d.ts +2 -0
  82. package/dist/template.js +37 -0
  83. package/dist/tsx-source-instrumentation.d.ts +23 -0
  84. package/dist/tsx-source-instrumentation.js +97 -0
  85. package/dist/tsx-tracer.d.ts +116 -0
  86. package/dist/tsx-tracer.js +985 -0
  87. package/generated/sml-agent-contract.json +574 -782
  88. package/generated/sml-email-agent-contract.json +502 -677
  89. package/generated/sml-email-language-reference.md +94 -160
  90. package/generated/sml-language-reference.md +195 -220
  91. package/package.json +111 -9
  92. package/dist/public-gallery-D0Zv0pZE.d.ts +0 -611
  93. package/dist/public-preview-u1Z9aaGq.d.ts +0 -1168
@@ -1,611 +0,0 @@
1
- import { d as Channel } from "./ast-DAhnAvQN.js";
2
- import { EmailPresetId, PresetCategory } from "./presets.js";
3
- import { r as PublicTemplatePreview } from "./public-preview-u1Z9aaGq.js";
4
- import { Result } from "effect";
5
- //#region presets/public-handoff.d.ts
6
- /**
7
- * Where a reference packet came from. Existing Samva presets predate this
8
- * contract, so provenance deliberately remains optional during migration.
9
- */
10
- interface TemplateReferenceProvenance {
11
- readonly source: "sanitized-synthetic" | "reviewed-public";
12
- /** Stable identifier in the producing system; never a third-party URL. */
13
- readonly referenceId: string;
14
- /** Stable ISO-8601 timestamp supplied by the producer. */
15
- readonly recordedAt: string;
16
- }
17
- interface ApprovedPublicTemplateArtifact {
18
- readonly approval: {
19
- readonly state: "draft" | "approved" | "rejected";
20
- readonly approvedBy: string;
21
- /** Stable ISO-8601 timestamp supplied by the owner. */
22
- readonly approvedAt: string;
23
- };
24
- readonly preset: {
25
- readonly id: string;
26
- readonly channel: Channel;
27
- readonly category: PresetCategory;
28
- readonly name: string;
29
- readonly description: string;
30
- readonly variables: ReadonlyArray<string>;
31
- readonly source: string;
32
- };
33
- readonly gallery: {
34
- readonly slug: string;
35
- readonly useCase: TemplateUseCase;
36
- readonly collections: ReadonlyArray<TemplateCollectionId>;
37
- readonly relatedTemplates: ReadonlyArray<string>;
38
- };
39
- readonly preview: PublicTemplatePreview;
40
- readonly publicMetadata: {
41
- readonly cardTitle: string;
42
- readonly cardDescription: string;
43
- readonly guidance: ReadonlyArray<string>;
44
- readonly variableDescriptions: Readonly<Record<string, string>>;
45
- readonly seo: {
46
- readonly title: string;
47
- readonly description: string;
48
- };
49
- };
50
- readonly provenance?: TemplateReferenceProvenance;
51
- }
52
- /**
53
- * A destination-neutral template packet. Gallery and agent callers can use
54
- * this shape without depending on a Lab corpus or a particular import source.
55
- */
56
- interface TemplateReferencePacket {
57
- readonly version: 1;
58
- readonly preset: ApprovedPublicTemplateArtifact["preset"];
59
- readonly gallery: ApprovedPublicTemplateArtifact["gallery"] & {
60
- readonly path: `/templates/${string}`;
61
- };
62
- readonly preview: ApprovedPublicTemplateArtifact["preview"];
63
- readonly publicMetadata: ApprovedPublicTemplateArtifact["publicMetadata"];
64
- readonly provenance?: TemplateReferenceProvenance;
65
- }
66
- interface ValidatedPublicTemplateArtifact {
67
- readonly preset: Omit<ApprovedPublicTemplateArtifact["preset"], "source">;
68
- readonly source: string;
69
- readonly gallery: ApprovedPublicTemplateArtifact["gallery"] & {
70
- readonly path: `/templates/${string}`;
71
- };
72
- readonly preview: ApprovedPublicTemplateArtifact["preview"];
73
- readonly publicMetadata: ApprovedPublicTemplateArtifact["publicMetadata"];
74
- readonly approval: ApprovedPublicTemplateArtifact["approval"] & {
75
- readonly state: "approved";
76
- };
77
- readonly reference: TemplateReferencePacket;
78
- }
79
- type PublicHandoffIssueCode = "approval" | "identity" | "duplicate-id" | "duplicate-slug" | "source" | "font-token" | "channel" | "variables" | "sample-data" | "assets" | "public-metadata" | "provenance" | "reference";
80
- interface PublicHandoffIssue {
81
- readonly artifactId: string;
82
- readonly code: PublicHandoffIssueCode;
83
- readonly message: string;
84
- }
85
- /**
86
- * Public imports may only refer to existing font-family tokens. A source may
87
- * still use the supported `font-*` weight utilities; this check deliberately
88
- * rejects a new family token instead of creating a corpus font-hosting path.
89
- */
90
- declare const unsupportedPublicTemplateFontTokens: (source: string) => ReadonlyArray<string>;
91
- /** Accept only bounded HTTPS URLs or the preview's self-contained image data. */
92
- declare const isSafePublicTemplateAsset: (value: string) => boolean;
93
- /** Normalizes one approved handoff for gallery and future agent consumers. */
94
- declare const toTemplateReferencePacket: (artifact: ApprovedPublicTemplateArtifact) => TemplateReferencePacket;
95
- type TemplateReferenceProjection = {
96
- readonly kind: "source";
97
- readonly relativePath: "preset.samva";
98
- readonly contents: string;
99
- } | {
100
- readonly kind: "catalog" | "gallery" | "preview" | "editorial";
101
- readonly relativePath: `${"catalog" | "gallery" | "preview" | "editorial"}.json`;
102
- readonly contents: string;
103
- };
104
- /**
105
- * Emits the five destination projections as deterministic bytes. The importer
106
- * owns no checked-in destination files; callers choose an explicit output dir.
107
- */
108
- declare const emitTemplateReferencePacket: (packet: TemplateReferencePacket) => ReadonlyArray<TemplateReferenceProjection>;
109
- /**
110
- * Validates explicitly supplied, owner-approved artifacts without filesystem,
111
- * network, persistence, or discovery. Successful output is a projection for
112
- * the existing preset, public-gallery, preview, and editorial contracts; this
113
- * function never registers or publishes it.
114
- */
115
- declare const validatePublicTemplateHandoff: (artifacts: ReadonlyArray<ApprovedPublicTemplateArtifact>) => Result.Result<ReadonlyArray<ValidatedPublicTemplateArtifact>, ReadonlyArray<PublicHandoffIssue>>;
116
- //#endregion
117
- //#region presets/public-gallery.d.ts
118
- declare const templateUseCases: readonly ["account-access", "commerce", "product-communication", "lifecycle", "publishing-campaigns"];
119
- declare const templateCollectionFamilies: readonly ["category", "industry", "stage", "style"];
120
- type TemplateUseCase = (typeof templateUseCases)[number];
121
- type TemplateCollectionFamily = (typeof templateCollectionFamilies)[number];
122
- interface PublicTemplate {
123
- readonly presetId: EmailPresetId;
124
- readonly slug: string;
125
- readonly path: `/templates/${string}`;
126
- readonly useCase: TemplateUseCase;
127
- readonly collections: ReadonlyArray<TemplateCollectionId>;
128
- readonly relatedTemplates: ReadonlyArray<EmailPresetId>;
129
- /**
130
- * Optional because curated templates predate the imported-reference contract.
131
- * The public gallery uses this as the sole signal for the Made with Samva label.
132
- */
133
- readonly provenance?: TemplateReferenceProvenance;
134
- }
135
- declare const isMadeWithSamvaTemplate: (template: Pick<PublicTemplate, "provenance">) => boolean;
136
- interface TemplateCollection {
137
- readonly id: TemplateCollectionId;
138
- readonly family: TemplateCollectionFamily;
139
- readonly slug: string;
140
- readonly path: `/templates/${TemplateCollectionFamily}/${string}`;
141
- readonly templates: ReadonlyArray<EmailPresetId>;
142
- readonly relatedCollections: ReadonlyArray<TemplateCollectionId>;
143
- }
144
- type TemplateCollectionId = "category:transactional" | "category:lifecycle" | "category:marketing" | "category:digest-editorial" | "industry:saas" | "industry:ecommerce" | "industry:developer-tools" | "industry:newsletters-media" | "stage:acquisition" | "stage:activation" | "stage:engagement" | "stage:transaction" | "stage:retention" | "stage:recovery" | "style:minimal" | "style:branded" | "style:editorial" | "style:data-heavy" | "style:single-cta";
145
- declare const publicTemplates: readonly [{
146
- readonly presetId: "welcome";
147
- readonly slug: "welcome-email";
148
- readonly useCase: "lifecycle";
149
- readonly collections: readonly ["category:transactional", "industry:saas", "stage:activation", "style:branded", "style:single-cta"];
150
- readonly relatedTemplates: readonly ["email-verification", "onboarding-step"];
151
- } & Pick<PublicTemplate, "path">, {
152
- readonly presetId: "email-verification";
153
- readonly slug: "email-verification";
154
- readonly useCase: "account-access";
155
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:activation", "style:minimal", "style:single-cta"];
156
- readonly relatedTemplates: readonly ["otp", "password-reset"];
157
- } & Pick<PublicTemplate, "path">, {
158
- readonly presetId: "otp";
159
- readonly slug: "one-time-passcode";
160
- readonly useCase: "account-access";
161
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:activation", "style:minimal"];
162
- readonly relatedTemplates: readonly ["email-verification", "password-reset"];
163
- } & Pick<PublicTemplate, "path">, {
164
- readonly presetId: "password-reset";
165
- readonly slug: "password-reset";
166
- readonly useCase: "account-access";
167
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:recovery", "style:minimal", "style:single-cta"];
168
- readonly relatedTemplates: readonly ["otp", "email-verification"];
169
- } & Pick<PublicTemplate, "path">, {
170
- readonly presetId: "receipt";
171
- readonly slug: "receipt";
172
- readonly useCase: "commerce";
173
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy"];
174
- readonly relatedTemplates: readonly ["payment-failed", "shipping-update"];
175
- } & Pick<PublicTemplate, "path">, {
176
- readonly presetId: "payment-failed";
177
- readonly slug: "payment-failed";
178
- readonly useCase: "commerce";
179
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "industry:saas", "stage:recovery", "style:data-heavy", "style:single-cta"];
180
- readonly relatedTemplates: readonly ["receipt", "trial-ending"];
181
- } & Pick<PublicTemplate, "path">, {
182
- readonly presetId: "shipping-update";
183
- readonly slug: "shipping-update";
184
- readonly useCase: "commerce";
185
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy", "style:single-cta"];
186
- readonly relatedTemplates: readonly ["receipt", "notification"];
187
- } & Pick<PublicTemplate, "path">, {
188
- readonly presetId: "notification";
189
- readonly slug: "activity-notification";
190
- readonly useCase: "product-communication";
191
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:engagement", "style:minimal", "style:single-cta"];
192
- readonly relatedTemplates: readonly ["team-invite", "product-digest"];
193
- } & Pick<PublicTemplate, "path">, {
194
- readonly presetId: "team-invite";
195
- readonly slug: "team-invite";
196
- readonly useCase: "product-communication";
197
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:acquisition", "style:branded", "style:single-cta"];
198
- readonly relatedTemplates: readonly ["welcome", "notification"];
199
- } & Pick<PublicTemplate, "path">, {
200
- readonly presetId: "product-digest";
201
- readonly slug: "product-digest";
202
- readonly useCase: "product-communication";
203
- readonly collections: readonly ["category:digest-editorial", "industry:saas", "industry:developer-tools", "stage:engagement", "style:editorial", "style:data-heavy"];
204
- readonly relatedTemplates: readonly ["notification", "newsletter"];
205
- } & Pick<PublicTemplate, "path">, {
206
- readonly presetId: "newsletter";
207
- readonly slug: "newsletter";
208
- readonly useCase: "publishing-campaigns";
209
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:branded"];
210
- readonly relatedTemplates: readonly ["product-digest", "announcement"];
211
- } & Pick<PublicTemplate, "path">, {
212
- readonly presetId: "announcement";
213
- readonly slug: "feature-announcement";
214
- readonly useCase: "publishing-campaigns";
215
- readonly collections: readonly ["category:marketing", "industry:saas", "industry:developer-tools", "stage:engagement", "style:branded", "style:single-cta"];
216
- readonly relatedTemplates: readonly ["newsletter", "event-invite"];
217
- } & Pick<PublicTemplate, "path">, {
218
- readonly presetId: "promo";
219
- readonly slug: "promotion";
220
- readonly useCase: "publishing-campaigns";
221
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
222
- readonly relatedTemplates: readonly ["announcement", "event-invite"];
223
- } & Pick<PublicTemplate, "path">, {
224
- readonly presetId: "event-invite";
225
- readonly slug: "event-invite";
226
- readonly useCase: "publishing-campaigns";
227
- readonly collections: readonly ["category:marketing", "industry:saas", "stage:acquisition", "style:branded", "style:single-cta"];
228
- readonly relatedTemplates: readonly ["announcement", "promo"];
229
- } & Pick<PublicTemplate, "path">, {
230
- readonly presetId: "membership-promo";
231
- readonly slug: "membership-promotion";
232
- readonly useCase: "publishing-campaigns";
233
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
234
- readonly relatedTemplates: readonly ["promo", "announcement"];
235
- } & Pick<PublicTemplate, "path">, {
236
- readonly presetId: "onboarding-step";
237
- readonly slug: "onboarding-step";
238
- readonly useCase: "lifecycle";
239
- readonly collections: readonly ["category:lifecycle", "industry:saas", "industry:developer-tools", "stage:activation", "style:branded", "style:single-cta"];
240
- readonly relatedTemplates: readonly ["welcome", "trial-ending"];
241
- } & Pick<PublicTemplate, "path">, {
242
- readonly presetId: "trial-ending";
243
- readonly slug: "trial-ending";
244
- readonly useCase: "lifecycle";
245
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:retention", "style:data-heavy", "style:single-cta"];
246
- readonly relatedTemplates: readonly ["onboarding-step", "win-back"];
247
- } & Pick<PublicTemplate, "path">, {
248
- readonly presetId: "win-back";
249
- readonly slug: "win-back";
250
- readonly useCase: "lifecycle";
251
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:recovery", "style:branded", "style:single-cta"];
252
- readonly relatedTemplates: readonly ["trial-ending", "feedback-request"];
253
- } & Pick<PublicTemplate, "path">, {
254
- readonly presetId: "feedback-request";
255
- readonly slug: "feedback-request";
256
- readonly useCase: "lifecycle";
257
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:retention", "style:minimal", "style:single-cta"];
258
- readonly relatedTemplates: readonly ["win-back", "onboarding-step"];
259
- } & Pick<PublicTemplate, "path">, {
260
- readonly presetId: "editorial-newsletter";
261
- readonly slug: "editorial-newsletter";
262
- readonly useCase: "publishing-campaigns";
263
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
264
- readonly relatedTemplates: readonly ["newsletter", "product-digest"];
265
- } & Pick<PublicTemplate, "path">, {
266
- readonly presetId: "member-referral-offer";
267
- readonly slug: "member-referral-offer";
268
- readonly useCase: "publishing-campaigns";
269
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:data-heavy"];
270
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
271
- } & Pick<PublicTemplate, "path">, {
272
- readonly presetId: "catalog-sale-newsletter";
273
- readonly slug: "catalog-sale-newsletter";
274
- readonly useCase: "publishing-campaigns";
275
- readonly collections: readonly ["category:marketing", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
276
- readonly relatedTemplates: readonly ["announcement", "promo"];
277
- } & Pick<PublicTemplate, "path">, {
278
- readonly presetId: "limited-time-savings";
279
- readonly slug: "limited-time-savings";
280
- readonly useCase: "publishing-campaigns";
281
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:minimal", "style:single-cta"];
282
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
283
- } & Pick<PublicTemplate, "path">, {
284
- readonly presetId: "rewards-milestone";
285
- readonly slug: "rewards-milestone";
286
- readonly useCase: "publishing-campaigns";
287
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:engagement", "style:branded", "style:data-heavy"];
288
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
289
- } & Pick<PublicTemplate, "path">, {
290
- readonly presetId: "order-delivered";
291
- readonly slug: "order-delivered";
292
- readonly useCase: "commerce";
293
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy"];
294
- readonly relatedTemplates: readonly ["shipping-update", "receipt"];
295
- } & Pick<PublicTemplate, "path">, {
296
- readonly presetId: "travel-rewards-promo";
297
- readonly slug: "travel-rewards-promo";
298
- readonly useCase: "publishing-campaigns";
299
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
300
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
301
- } & Pick<PublicTemplate, "path">, {
302
- readonly presetId: "events-roundup";
303
- readonly slug: "events-roundup";
304
- readonly useCase: "publishing-campaigns";
305
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
306
- readonly relatedTemplates: readonly ["newsletter", "event-invite"];
307
- } & Pick<PublicTemplate, "path">, {
308
- readonly presetId: "product-onboarding-tour";
309
- readonly slug: "product-onboarding-tour";
310
- readonly useCase: "lifecycle";
311
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:activation", "style:branded", "style:data-heavy"];
312
- readonly relatedTemplates: readonly ["onboarding-step", "welcome"];
313
- } & Pick<PublicTemplate, "path">, {
314
- readonly presetId: "product-updates-roundup";
315
- readonly slug: "product-updates-roundup";
316
- readonly useCase: "product-communication";
317
- readonly collections: readonly ["category:marketing", "industry:developer-tools", "stage:engagement", "style:branded", "style:single-cta"];
318
- readonly relatedTemplates: readonly ["announcement", "product-digest"];
319
- } & Pick<PublicTemplate, "path">, {
320
- readonly presetId: "flash-getaway-offer";
321
- readonly slug: "flash-getaway-offer";
322
- readonly useCase: "publishing-campaigns";
323
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
324
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
325
- } & Pick<PublicTemplate, "path">, {
326
- readonly presetId: "membership-benefits-promo";
327
- readonly slug: "membership-benefits-promo";
328
- readonly useCase: "publishing-campaigns";
329
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
330
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
331
- } & Pick<PublicTemplate, "path">, {
332
- readonly presetId: "industry-news-digest";
333
- readonly slug: "industry-news-digest";
334
- readonly useCase: "publishing-campaigns";
335
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
336
- readonly relatedTemplates: readonly ["newsletter", "product-digest"];
337
- } & Pick<PublicTemplate, "path">, {
338
- readonly presetId: "weekly-deals-circular";
339
- readonly slug: "weekly-deals-circular";
340
- readonly useCase: "publishing-campaigns";
341
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:engagement", "style:branded", "style:data-heavy"];
342
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
343
- } & Pick<PublicTemplate, "path">, {
344
- readonly presetId: "data-sharing-review";
345
- readonly slug: "data-sharing-review";
346
- readonly useCase: "product-communication";
347
- readonly collections: readonly ["category:transactional", "industry:saas", "stage:engagement", "style:minimal", "style:single-cta"];
348
- readonly relatedTemplates: readonly ["notification", "team-invite"];
349
- } & Pick<PublicTemplate, "path">, {
350
- readonly presetId: "seasonal-sale-flyer";
351
- readonly slug: "seasonal-sale-flyer";
352
- readonly useCase: "publishing-campaigns";
353
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:data-heavy"];
354
- readonly relatedTemplates: readonly ["promo", "announcement"];
355
- } & Pick<PublicTemplate, "path">, {
356
- readonly presetId: "setup-checklist";
357
- readonly slug: "setup-checklist";
358
- readonly useCase: "lifecycle";
359
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:activation", "style:minimal", "style:single-cta"];
360
- readonly relatedTemplates: readonly ["welcome", "onboarding-step"];
361
- } & Pick<PublicTemplate, "path">, {
362
- readonly presetId: "feature-release-roundup";
363
- readonly slug: "feature-release-roundup";
364
- readonly useCase: "product-communication";
365
- readonly collections: readonly ["category:marketing", "industry:developer-tools", "stage:engagement", "style:branded", "style:data-heavy"];
366
- readonly relatedTemplates: readonly ["announcement", "product-digest"];
367
- } & Pick<PublicTemplate, "path">, {
368
- readonly presetId: "season-clearance-promo";
369
- readonly slug: "season-clearance-promo";
370
- readonly useCase: "publishing-campaigns";
371
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
372
- readonly relatedTemplates: readonly ["promo", "announcement"];
373
- } & Pick<PublicTemplate, "path">];
374
- declare const templateCollections: readonly [TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection];
375
- declare const publicTemplateGallery: {
376
- readonly hubPath: "/templates";
377
- readonly useCases: readonly ["account-access", "commerce", "product-communication", "lifecycle", "publishing-campaigns"];
378
- readonly templates: readonly [{
379
- readonly presetId: "welcome";
380
- readonly slug: "welcome-email";
381
- readonly useCase: "lifecycle";
382
- readonly collections: readonly ["category:transactional", "industry:saas", "stage:activation", "style:branded", "style:single-cta"];
383
- readonly relatedTemplates: readonly ["email-verification", "onboarding-step"];
384
- } & Pick<PublicTemplate, "path">, {
385
- readonly presetId: "email-verification";
386
- readonly slug: "email-verification";
387
- readonly useCase: "account-access";
388
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:activation", "style:minimal", "style:single-cta"];
389
- readonly relatedTemplates: readonly ["otp", "password-reset"];
390
- } & Pick<PublicTemplate, "path">, {
391
- readonly presetId: "otp";
392
- readonly slug: "one-time-passcode";
393
- readonly useCase: "account-access";
394
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:activation", "style:minimal"];
395
- readonly relatedTemplates: readonly ["email-verification", "password-reset"];
396
- } & Pick<PublicTemplate, "path">, {
397
- readonly presetId: "password-reset";
398
- readonly slug: "password-reset";
399
- readonly useCase: "account-access";
400
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:recovery", "style:minimal", "style:single-cta"];
401
- readonly relatedTemplates: readonly ["otp", "email-verification"];
402
- } & Pick<PublicTemplate, "path">, {
403
- readonly presetId: "receipt";
404
- readonly slug: "receipt";
405
- readonly useCase: "commerce";
406
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy"];
407
- readonly relatedTemplates: readonly ["payment-failed", "shipping-update"];
408
- } & Pick<PublicTemplate, "path">, {
409
- readonly presetId: "payment-failed";
410
- readonly slug: "payment-failed";
411
- readonly useCase: "commerce";
412
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "industry:saas", "stage:recovery", "style:data-heavy", "style:single-cta"];
413
- readonly relatedTemplates: readonly ["receipt", "trial-ending"];
414
- } & Pick<PublicTemplate, "path">, {
415
- readonly presetId: "shipping-update";
416
- readonly slug: "shipping-update";
417
- readonly useCase: "commerce";
418
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy", "style:single-cta"];
419
- readonly relatedTemplates: readonly ["receipt", "notification"];
420
- } & Pick<PublicTemplate, "path">, {
421
- readonly presetId: "notification";
422
- readonly slug: "activity-notification";
423
- readonly useCase: "product-communication";
424
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:engagement", "style:minimal", "style:single-cta"];
425
- readonly relatedTemplates: readonly ["team-invite", "product-digest"];
426
- } & Pick<PublicTemplate, "path">, {
427
- readonly presetId: "team-invite";
428
- readonly slug: "team-invite";
429
- readonly useCase: "product-communication";
430
- readonly collections: readonly ["category:transactional", "industry:saas", "industry:developer-tools", "stage:acquisition", "style:branded", "style:single-cta"];
431
- readonly relatedTemplates: readonly ["welcome", "notification"];
432
- } & Pick<PublicTemplate, "path">, {
433
- readonly presetId: "product-digest";
434
- readonly slug: "product-digest";
435
- readonly useCase: "product-communication";
436
- readonly collections: readonly ["category:digest-editorial", "industry:saas", "industry:developer-tools", "stage:engagement", "style:editorial", "style:data-heavy"];
437
- readonly relatedTemplates: readonly ["notification", "newsletter"];
438
- } & Pick<PublicTemplate, "path">, {
439
- readonly presetId: "newsletter";
440
- readonly slug: "newsletter";
441
- readonly useCase: "publishing-campaigns";
442
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:branded"];
443
- readonly relatedTemplates: readonly ["product-digest", "announcement"];
444
- } & Pick<PublicTemplate, "path">, {
445
- readonly presetId: "announcement";
446
- readonly slug: "feature-announcement";
447
- readonly useCase: "publishing-campaigns";
448
- readonly collections: readonly ["category:marketing", "industry:saas", "industry:developer-tools", "stage:engagement", "style:branded", "style:single-cta"];
449
- readonly relatedTemplates: readonly ["newsletter", "event-invite"];
450
- } & Pick<PublicTemplate, "path">, {
451
- readonly presetId: "promo";
452
- readonly slug: "promotion";
453
- readonly useCase: "publishing-campaigns";
454
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
455
- readonly relatedTemplates: readonly ["announcement", "event-invite"];
456
- } & Pick<PublicTemplate, "path">, {
457
- readonly presetId: "event-invite";
458
- readonly slug: "event-invite";
459
- readonly useCase: "publishing-campaigns";
460
- readonly collections: readonly ["category:marketing", "industry:saas", "stage:acquisition", "style:branded", "style:single-cta"];
461
- readonly relatedTemplates: readonly ["announcement", "promo"];
462
- } & Pick<PublicTemplate, "path">, {
463
- readonly presetId: "membership-promo";
464
- readonly slug: "membership-promotion";
465
- readonly useCase: "publishing-campaigns";
466
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
467
- readonly relatedTemplates: readonly ["promo", "announcement"];
468
- } & Pick<PublicTemplate, "path">, {
469
- readonly presetId: "onboarding-step";
470
- readonly slug: "onboarding-step";
471
- readonly useCase: "lifecycle";
472
- readonly collections: readonly ["category:lifecycle", "industry:saas", "industry:developer-tools", "stage:activation", "style:branded", "style:single-cta"];
473
- readonly relatedTemplates: readonly ["welcome", "trial-ending"];
474
- } & Pick<PublicTemplate, "path">, {
475
- readonly presetId: "trial-ending";
476
- readonly slug: "trial-ending";
477
- readonly useCase: "lifecycle";
478
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:retention", "style:data-heavy", "style:single-cta"];
479
- readonly relatedTemplates: readonly ["onboarding-step", "win-back"];
480
- } & Pick<PublicTemplate, "path">, {
481
- readonly presetId: "win-back";
482
- readonly slug: "win-back";
483
- readonly useCase: "lifecycle";
484
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:recovery", "style:branded", "style:single-cta"];
485
- readonly relatedTemplates: readonly ["trial-ending", "feedback-request"];
486
- } & Pick<PublicTemplate, "path">, {
487
- readonly presetId: "feedback-request";
488
- readonly slug: "feedback-request";
489
- readonly useCase: "lifecycle";
490
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:retention", "style:minimal", "style:single-cta"];
491
- readonly relatedTemplates: readonly ["win-back", "onboarding-step"];
492
- } & Pick<PublicTemplate, "path">, {
493
- readonly presetId: "editorial-newsletter";
494
- readonly slug: "editorial-newsletter";
495
- readonly useCase: "publishing-campaigns";
496
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
497
- readonly relatedTemplates: readonly ["newsletter", "product-digest"];
498
- } & Pick<PublicTemplate, "path">, {
499
- readonly presetId: "member-referral-offer";
500
- readonly slug: "member-referral-offer";
501
- readonly useCase: "publishing-campaigns";
502
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:data-heavy"];
503
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
504
- } & Pick<PublicTemplate, "path">, {
505
- readonly presetId: "catalog-sale-newsletter";
506
- readonly slug: "catalog-sale-newsletter";
507
- readonly useCase: "publishing-campaigns";
508
- readonly collections: readonly ["category:marketing", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
509
- readonly relatedTemplates: readonly ["announcement", "promo"];
510
- } & Pick<PublicTemplate, "path">, {
511
- readonly presetId: "limited-time-savings";
512
- readonly slug: "limited-time-savings";
513
- readonly useCase: "publishing-campaigns";
514
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:minimal", "style:single-cta"];
515
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
516
- } & Pick<PublicTemplate, "path">, {
517
- readonly presetId: "rewards-milestone";
518
- readonly slug: "rewards-milestone";
519
- readonly useCase: "publishing-campaigns";
520
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:engagement", "style:branded", "style:data-heavy"];
521
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
522
- } & Pick<PublicTemplate, "path">, {
523
- readonly presetId: "order-delivered";
524
- readonly slug: "order-delivered";
525
- readonly useCase: "commerce";
526
- readonly collections: readonly ["category:transactional", "industry:ecommerce", "stage:transaction", "style:data-heavy"];
527
- readonly relatedTemplates: readonly ["shipping-update", "receipt"];
528
- } & Pick<PublicTemplate, "path">, {
529
- readonly presetId: "travel-rewards-promo";
530
- readonly slug: "travel-rewards-promo";
531
- readonly useCase: "publishing-campaigns";
532
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
533
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
534
- } & Pick<PublicTemplate, "path">, {
535
- readonly presetId: "events-roundup";
536
- readonly slug: "events-roundup";
537
- readonly useCase: "publishing-campaigns";
538
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
539
- readonly relatedTemplates: readonly ["newsletter", "event-invite"];
540
- } & Pick<PublicTemplate, "path">, {
541
- readonly presetId: "product-onboarding-tour";
542
- readonly slug: "product-onboarding-tour";
543
- readonly useCase: "lifecycle";
544
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:activation", "style:branded", "style:data-heavy"];
545
- readonly relatedTemplates: readonly ["onboarding-step", "welcome"];
546
- } & Pick<PublicTemplate, "path">, {
547
- readonly presetId: "product-updates-roundup";
548
- readonly slug: "product-updates-roundup";
549
- readonly useCase: "product-communication";
550
- readonly collections: readonly ["category:marketing", "industry:developer-tools", "stage:engagement", "style:branded", "style:single-cta"];
551
- readonly relatedTemplates: readonly ["announcement", "product-digest"];
552
- } & Pick<PublicTemplate, "path">, {
553
- readonly presetId: "flash-getaway-offer";
554
- readonly slug: "flash-getaway-offer";
555
- readonly useCase: "publishing-campaigns";
556
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
557
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
558
- } & Pick<PublicTemplate, "path">, {
559
- readonly presetId: "membership-benefits-promo";
560
- readonly slug: "membership-benefits-promo";
561
- readonly useCase: "publishing-campaigns";
562
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:retention", "style:branded", "style:data-heavy"];
563
- readonly relatedTemplates: readonly ["membership-promo", "promo"];
564
- } & Pick<PublicTemplate, "path">, {
565
- readonly presetId: "industry-news-digest";
566
- readonly slug: "industry-news-digest";
567
- readonly useCase: "publishing-campaigns";
568
- readonly collections: readonly ["category:digest-editorial", "industry:newsletters-media", "stage:engagement", "style:editorial", "style:data-heavy"];
569
- readonly relatedTemplates: readonly ["newsletter", "product-digest"];
570
- } & Pick<PublicTemplate, "path">, {
571
- readonly presetId: "weekly-deals-circular";
572
- readonly slug: "weekly-deals-circular";
573
- readonly useCase: "publishing-campaigns";
574
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:engagement", "style:branded", "style:data-heavy"];
575
- readonly relatedTemplates: readonly ["promo", "membership-promo"];
576
- } & Pick<PublicTemplate, "path">, {
577
- readonly presetId: "data-sharing-review";
578
- readonly slug: "data-sharing-review";
579
- readonly useCase: "product-communication";
580
- readonly collections: readonly ["category:transactional", "industry:saas", "stage:engagement", "style:minimal", "style:single-cta"];
581
- readonly relatedTemplates: readonly ["notification", "team-invite"];
582
- } & Pick<PublicTemplate, "path">, {
583
- readonly presetId: "seasonal-sale-flyer";
584
- readonly slug: "seasonal-sale-flyer";
585
- readonly useCase: "publishing-campaigns";
586
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:data-heavy"];
587
- readonly relatedTemplates: readonly ["promo", "announcement"];
588
- } & Pick<PublicTemplate, "path">, {
589
- readonly presetId: "setup-checklist";
590
- readonly slug: "setup-checklist";
591
- readonly useCase: "lifecycle";
592
- readonly collections: readonly ["category:lifecycle", "industry:saas", "stage:activation", "style:minimal", "style:single-cta"];
593
- readonly relatedTemplates: readonly ["welcome", "onboarding-step"];
594
- } & Pick<PublicTemplate, "path">, {
595
- readonly presetId: "feature-release-roundup";
596
- readonly slug: "feature-release-roundup";
597
- readonly useCase: "product-communication";
598
- readonly collections: readonly ["category:marketing", "industry:developer-tools", "stage:engagement", "style:branded", "style:data-heavy"];
599
- readonly relatedTemplates: readonly ["announcement", "product-digest"];
600
- } & Pick<PublicTemplate, "path">, {
601
- readonly presetId: "season-clearance-promo";
602
- readonly slug: "season-clearance-promo";
603
- readonly useCase: "publishing-campaigns";
604
- readonly collections: readonly ["category:marketing", "industry:ecommerce", "stage:acquisition", "style:branded", "style:single-cta"];
605
- readonly relatedTemplates: readonly ["promo", "announcement"];
606
- } & Pick<PublicTemplate, "path">];
607
- readonly collections: readonly [TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection, TemplateCollection];
608
- };
609
- //#endregion
610
- export { validatePublicTemplateHandoff as C, unsupportedPublicTemplateFontTokens as S, TemplateReferenceProvenance as _, TemplateUseCase as a, isSafePublicTemplateAsset as b, publicTemplates as c, templateUseCases as d, ApprovedPublicTemplateArtifact as f, TemplateReferenceProjection as g, TemplateReferencePacket as h, TemplateCollectionId as i, templateCollectionFamilies as l, PublicHandoffIssueCode as m, TemplateCollection as n, isMadeWithSamvaTemplate as o, PublicHandoffIssue as p, TemplateCollectionFamily as r, publicTemplateGallery as s, PublicTemplate as t, templateCollections as u, ValidatedPublicTemplateArtifact as v, toTemplateReferencePacket as x, emitTemplateReferencePacket as y };
611
- //# sourceMappingURL=public-gallery-D0Zv0pZE.d.ts.map