@teamflojo/floimg-templates 0.1.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.
- package/LICENSE +21 -0
- package/README.md +97 -0
- package/dist/index.d.ts +120 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +204 -0
- package/dist/index.js.map +1 -0
- package/dist/templates/ai-workflows.d.ts +42 -0
- package/dist/templates/ai-workflows.d.ts.map +1 -0
- package/dist/templates/ai-workflows.js +392 -0
- package/dist/templates/ai-workflows.js.map +1 -0
- package/dist/templates/data-viz.d.ts +49 -0
- package/dist/templates/data-viz.d.ts.map +1 -0
- package/dist/templates/data-viz.js +476 -0
- package/dist/templates/data-viz.js.map +1 -0
- package/dist/templates/marketing.d.ts +33 -0
- package/dist/templates/marketing.d.ts.map +1 -0
- package/dist/templates/marketing.js +368 -0
- package/dist/templates/marketing.js.map +1 -0
- package/dist/templates/utilities.d.ts +38 -0
- package/dist/templates/utilities.d.ts.map +1 -0
- package/dist/templates/utilities.js +296 -0
- package/dist/templates/utilities.js.map +1 -0
- package/dist/types.d.ts +85 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI Workflow Templates
|
|
3
|
+
*
|
|
4
|
+
* Templates that use AI image generation (OpenAI DALL-E, etc.)
|
|
5
|
+
* These require API keys (cloud deployment) to execute.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* AI Product Photography
|
|
9
|
+
* Canonical ID: ai-product-shot
|
|
10
|
+
*/
|
|
11
|
+
export const aiProductShot = {
|
|
12
|
+
id: "ai-product-shot",
|
|
13
|
+
name: "AI Product Photography",
|
|
14
|
+
description: "Generate professional product images with AI-controlled lighting and backgrounds",
|
|
15
|
+
category: "AI Workflows",
|
|
16
|
+
generator: "openai",
|
|
17
|
+
tags: ["product", "ecommerce", "photography", "dall-e", "ai"],
|
|
18
|
+
requiresCloud: true,
|
|
19
|
+
requiresAuth: true,
|
|
20
|
+
usesAI: true,
|
|
21
|
+
aiCreditsNeeded: 1,
|
|
22
|
+
capabilities: {
|
|
23
|
+
studioCompatible: true,
|
|
24
|
+
},
|
|
25
|
+
icon: "sparkles",
|
|
26
|
+
valueProp: "Professional product photos in seconds",
|
|
27
|
+
preview: {
|
|
28
|
+
imageUrl: "/showcase/ai-generation/product-headphones.png",
|
|
29
|
+
},
|
|
30
|
+
codeExample: `const image = await floimg.generate({
|
|
31
|
+
generator: 'openai',
|
|
32
|
+
params: {
|
|
33
|
+
prompt: 'Professional product photo of headphones on white background',
|
|
34
|
+
size: '1024x1024'
|
|
35
|
+
}
|
|
36
|
+
});`,
|
|
37
|
+
seo: {
|
|
38
|
+
title: "AI Product Photography Template",
|
|
39
|
+
description: "Generate professional product photos with AI-controlled lighting and backgrounds",
|
|
40
|
+
keywords: ["product photography", "ai generation", "ecommerce", "dall-e"],
|
|
41
|
+
},
|
|
42
|
+
workflow: {
|
|
43
|
+
nodes: [
|
|
44
|
+
{
|
|
45
|
+
id: "gen-ai",
|
|
46
|
+
type: "generator",
|
|
47
|
+
position: { x: 100, y: 150 },
|
|
48
|
+
data: {
|
|
49
|
+
generatorName: "openai",
|
|
50
|
+
params: {
|
|
51
|
+
prompt: "Professional product photo of modern wireless headphones on a clean white background, studio lighting, high-end commercial photography style",
|
|
52
|
+
model: "dall-e-3",
|
|
53
|
+
size: "1024x1024",
|
|
54
|
+
quality: "hd",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
edges: [],
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* AI Hero Image
|
|
64
|
+
* Canonical ID: ai-hero-image
|
|
65
|
+
*/
|
|
66
|
+
export const aiHeroImage = {
|
|
67
|
+
id: "ai-hero-image",
|
|
68
|
+
name: "AI Hero Image",
|
|
69
|
+
description: "Create stunning hero images for websites and landing pages",
|
|
70
|
+
category: "AI Workflows",
|
|
71
|
+
generator: "openai",
|
|
72
|
+
tags: ["hero", "landing-page", "marketing", "dall-e", "ai"],
|
|
73
|
+
requiresCloud: true,
|
|
74
|
+
requiresAuth: true,
|
|
75
|
+
usesAI: true,
|
|
76
|
+
aiCreditsNeeded: 1,
|
|
77
|
+
capabilities: {
|
|
78
|
+
studioCompatible: true,
|
|
79
|
+
},
|
|
80
|
+
icon: "sparkles",
|
|
81
|
+
valueProp: "Stunning hero images for your landing page",
|
|
82
|
+
preview: {
|
|
83
|
+
imageUrl: "/showcase/ai-generation/futuristic-city.png",
|
|
84
|
+
},
|
|
85
|
+
codeExample: `const image = await floimg.generate({
|
|
86
|
+
generator: 'openai',
|
|
87
|
+
params: {
|
|
88
|
+
prompt: 'Futuristic city skyline at sunset, cinematic lighting',
|
|
89
|
+
size: '1792x1024'
|
|
90
|
+
}
|
|
91
|
+
});`,
|
|
92
|
+
seo: {
|
|
93
|
+
title: "AI Hero Image Generator",
|
|
94
|
+
description: "Generate stunning hero images for websites and landing pages with AI",
|
|
95
|
+
keywords: ["hero image", "landing page", "ai generation", "website design"],
|
|
96
|
+
},
|
|
97
|
+
workflow: {
|
|
98
|
+
nodes: [
|
|
99
|
+
{
|
|
100
|
+
id: "gen-ai",
|
|
101
|
+
type: "generator",
|
|
102
|
+
position: { x: 100, y: 150 },
|
|
103
|
+
data: {
|
|
104
|
+
generatorName: "openai",
|
|
105
|
+
params: {
|
|
106
|
+
prompt: "Futuristic city skyline at golden hour sunset, cinematic wide angle, volumetric lighting, sci-fi architecture, dramatic clouds, professional photography",
|
|
107
|
+
model: "dall-e-3",
|
|
108
|
+
size: "1792x1024",
|
|
109
|
+
quality: "hd",
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
edges: [],
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* AI Mascot Generator
|
|
119
|
+
* Canonical ID: ai-mascot
|
|
120
|
+
*/
|
|
121
|
+
export const aiMascot = {
|
|
122
|
+
id: "ai-mascot",
|
|
123
|
+
name: "AI Mascot Generator",
|
|
124
|
+
description: "Design unique mascots and characters for your brand",
|
|
125
|
+
category: "AI Workflows",
|
|
126
|
+
generator: "openai",
|
|
127
|
+
tags: ["mascot", "character", "branding", "dall-e", "ai"],
|
|
128
|
+
requiresCloud: true,
|
|
129
|
+
requiresAuth: true,
|
|
130
|
+
usesAI: true,
|
|
131
|
+
aiCreditsNeeded: 1,
|
|
132
|
+
capabilities: {
|
|
133
|
+
studioCompatible: true,
|
|
134
|
+
},
|
|
135
|
+
icon: "sparkles",
|
|
136
|
+
valueProp: "Unique mascots for your brand",
|
|
137
|
+
preview: {
|
|
138
|
+
imageUrl: "/showcase/ai-generation/robot-mascot.png",
|
|
139
|
+
},
|
|
140
|
+
seo: {
|
|
141
|
+
title: "AI Mascot Generator",
|
|
142
|
+
description: "Create unique brand mascots and characters with AI",
|
|
143
|
+
keywords: ["mascot design", "character design", "branding", "ai generation"],
|
|
144
|
+
},
|
|
145
|
+
workflow: {
|
|
146
|
+
nodes: [
|
|
147
|
+
{
|
|
148
|
+
id: "gen-ai",
|
|
149
|
+
type: "generator",
|
|
150
|
+
position: { x: 100, y: 150 },
|
|
151
|
+
data: {
|
|
152
|
+
generatorName: "openai",
|
|
153
|
+
params: {
|
|
154
|
+
prompt: "Friendly robot mascot character, modern flat design style, vibrant teal and purple colors, simple geometric shapes, suitable for tech company branding, white background",
|
|
155
|
+
model: "dall-e-3",
|
|
156
|
+
size: "1024x1024",
|
|
157
|
+
quality: "hd",
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
edges: [],
|
|
163
|
+
},
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* AI Logo to Brand Kit (Cloud Onboarding)
|
|
167
|
+
* Canonical ID: cloud-ai-logo-brand
|
|
168
|
+
*/
|
|
169
|
+
export const aiLogoBrandKit = {
|
|
170
|
+
id: "cloud-ai-logo-brand",
|
|
171
|
+
name: "AI Logo to Brand Kit",
|
|
172
|
+
description: "Generate a logo with AI, then create production-ready brand assets",
|
|
173
|
+
category: "AI Workflows",
|
|
174
|
+
generator: "openai",
|
|
175
|
+
tags: ["ai", "logo", "branding", "dall-e", "pipeline"],
|
|
176
|
+
requiresCloud: true,
|
|
177
|
+
requiresAuth: true,
|
|
178
|
+
usesAI: true,
|
|
179
|
+
aiCreditsNeeded: 1,
|
|
180
|
+
capabilities: {
|
|
181
|
+
studioCompatible: true,
|
|
182
|
+
pipeline: true,
|
|
183
|
+
},
|
|
184
|
+
icon: "sparkles",
|
|
185
|
+
valueProp: "From idea to brand kit in seconds",
|
|
186
|
+
seo: {
|
|
187
|
+
title: "AI Logo to Brand Kit",
|
|
188
|
+
description: "Generate a logo with AI and create production-ready brand assets",
|
|
189
|
+
keywords: ["logo design", "brand kit", "ai generation", "branding"],
|
|
190
|
+
},
|
|
191
|
+
workflow: {
|
|
192
|
+
nodes: [
|
|
193
|
+
{
|
|
194
|
+
id: "gen-ai",
|
|
195
|
+
type: "generator",
|
|
196
|
+
position: { x: 100, y: 150 },
|
|
197
|
+
data: {
|
|
198
|
+
generatorName: "openai",
|
|
199
|
+
params: {
|
|
200
|
+
prompt: "A modern minimalist logo for a tech startup called 'Nexus', clean geometric lines, professional, suitable for business cards and websites, white background",
|
|
201
|
+
model: "dall-e-3",
|
|
202
|
+
size: "1024x1024",
|
|
203
|
+
quality: "standard",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
id: "transform-bg",
|
|
209
|
+
type: "transform",
|
|
210
|
+
position: { x: 400, y: 150 },
|
|
211
|
+
data: {
|
|
212
|
+
operation: "removeBackground",
|
|
213
|
+
params: {},
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: "transform-watermark",
|
|
218
|
+
type: "transform",
|
|
219
|
+
position: { x: 700, y: 150 },
|
|
220
|
+
data: {
|
|
221
|
+
operation: "addCaption",
|
|
222
|
+
params: {
|
|
223
|
+
text: "Nexus Inc.",
|
|
224
|
+
position: "bottom-right",
|
|
225
|
+
fontSize: 14,
|
|
226
|
+
color: "#6B7280",
|
|
227
|
+
padding: 16,
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
edges: [
|
|
233
|
+
{ id: "e1", source: "gen-ai", target: "transform-bg" },
|
|
234
|
+
{ id: "e2", source: "transform-bg", target: "transform-watermark" },
|
|
235
|
+
],
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Product Photo Enhancement (Cloud Onboarding)
|
|
240
|
+
* Canonical ID: cloud-product-enhance
|
|
241
|
+
*/
|
|
242
|
+
export const productPhotoEnhancement = {
|
|
243
|
+
id: "cloud-product-enhance",
|
|
244
|
+
name: "Product Photo Enhancement",
|
|
245
|
+
description: "Remove background and add professional product labeling",
|
|
246
|
+
category: "AI Workflows",
|
|
247
|
+
generator: "input",
|
|
248
|
+
tags: ["product", "ecommerce", "background-removal", "pipeline"],
|
|
249
|
+
requiresCloud: true,
|
|
250
|
+
requiresAuth: true,
|
|
251
|
+
usesAI: false, // Uses AI transforms but not AI generation
|
|
252
|
+
aiCreditsNeeded: 0,
|
|
253
|
+
capabilities: {
|
|
254
|
+
studioCompatible: true,
|
|
255
|
+
pipeline: true,
|
|
256
|
+
},
|
|
257
|
+
icon: "image",
|
|
258
|
+
valueProp: "E-commerce ready in one click",
|
|
259
|
+
workflow: {
|
|
260
|
+
nodes: [
|
|
261
|
+
{
|
|
262
|
+
id: "input-1",
|
|
263
|
+
type: "input",
|
|
264
|
+
position: { x: 100, y: 150 },
|
|
265
|
+
data: {},
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
id: "transform-bg",
|
|
269
|
+
type: "transform",
|
|
270
|
+
position: { x: 400, y: 150 },
|
|
271
|
+
data: {
|
|
272
|
+
operation: "removeBackground",
|
|
273
|
+
params: {},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
id: "transform-caption",
|
|
278
|
+
type: "transform",
|
|
279
|
+
position: { x: 700, y: 150 },
|
|
280
|
+
data: {
|
|
281
|
+
operation: "addCaption",
|
|
282
|
+
params: {
|
|
283
|
+
text: "Premium Quality",
|
|
284
|
+
position: "bottom-center",
|
|
285
|
+
fontSize: 24,
|
|
286
|
+
color: "#18181B",
|
|
287
|
+
padding: 20,
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
edges: [
|
|
293
|
+
{ id: "e1", source: "input-1", target: "transform-bg" },
|
|
294
|
+
{ id: "e2", source: "transform-bg", target: "transform-caption" },
|
|
295
|
+
],
|
|
296
|
+
},
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* AI Art to Social Post (Cloud Onboarding)
|
|
300
|
+
* Canonical ID: cloud-ai-social
|
|
301
|
+
*/
|
|
302
|
+
export const aiArtSocialPost = {
|
|
303
|
+
id: "cloud-ai-social",
|
|
304
|
+
name: "AI Art to Social Post",
|
|
305
|
+
description: "Generate creative AI art, optimize for social media",
|
|
306
|
+
category: "AI Workflows",
|
|
307
|
+
generator: "openai",
|
|
308
|
+
tags: ["ai", "art", "social-media", "dall-e", "pipeline"],
|
|
309
|
+
requiresCloud: true,
|
|
310
|
+
requiresAuth: true,
|
|
311
|
+
usesAI: true,
|
|
312
|
+
aiCreditsNeeded: 1,
|
|
313
|
+
capabilities: {
|
|
314
|
+
studioCompatible: true,
|
|
315
|
+
pipeline: true,
|
|
316
|
+
},
|
|
317
|
+
icon: "share",
|
|
318
|
+
valueProp: "Creative content for your feed",
|
|
319
|
+
workflow: {
|
|
320
|
+
nodes: [
|
|
321
|
+
{
|
|
322
|
+
id: "gen-ai",
|
|
323
|
+
type: "generator",
|
|
324
|
+
position: { x: 100, y: 150 },
|
|
325
|
+
data: {
|
|
326
|
+
generatorName: "openai",
|
|
327
|
+
params: {
|
|
328
|
+
prompt: "Abstract colorful digital art with flowing gradients, trending on artstation, vibrant neon colors, perfect for social media",
|
|
329
|
+
model: "dall-e-3",
|
|
330
|
+
size: "1024x1024",
|
|
331
|
+
style: "vivid",
|
|
332
|
+
},
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
id: "transform-corners",
|
|
337
|
+
type: "transform",
|
|
338
|
+
position: { x: 400, y: 100 },
|
|
339
|
+
data: {
|
|
340
|
+
operation: "roundCorners",
|
|
341
|
+
params: {
|
|
342
|
+
radius: 24,
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
id: "transform-caption",
|
|
348
|
+
type: "transform",
|
|
349
|
+
position: { x: 700, y: 100 },
|
|
350
|
+
data: {
|
|
351
|
+
operation: "addCaption",
|
|
352
|
+
params: {
|
|
353
|
+
text: "@floimg",
|
|
354
|
+
position: "bottom-right",
|
|
355
|
+
fontSize: 18,
|
|
356
|
+
color: "#FFFFFF",
|
|
357
|
+
padding: 16,
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
id: "transform-webp",
|
|
363
|
+
type: "transform",
|
|
364
|
+
position: { x: 1000, y: 100 },
|
|
365
|
+
data: {
|
|
366
|
+
operation: "convert",
|
|
367
|
+
params: {
|
|
368
|
+
to: "image/webp",
|
|
369
|
+
quality: 85,
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
],
|
|
374
|
+
edges: [
|
|
375
|
+
{ id: "e1", source: "gen-ai", target: "transform-corners" },
|
|
376
|
+
{ id: "e2", source: "transform-corners", target: "transform-caption" },
|
|
377
|
+
{ id: "e3", source: "transform-caption", target: "transform-webp" },
|
|
378
|
+
],
|
|
379
|
+
},
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* All AI workflow templates
|
|
383
|
+
*/
|
|
384
|
+
export const aiWorkflowTemplates = [
|
|
385
|
+
aiProductShot,
|
|
386
|
+
aiHeroImage,
|
|
387
|
+
aiMascot,
|
|
388
|
+
aiLogoBrandKit,
|
|
389
|
+
productPhotoEnhancement,
|
|
390
|
+
aiArtSocialPost,
|
|
391
|
+
];
|
|
392
|
+
//# sourceMappingURL=ai-workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-workflows.js","sourceRoot":"","sources":["../../src/templates/ai-workflows.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAa;IACrC,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT,kFAAkF;IACpF,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;IAC7D,aAAa,EAAE,IAAI;IACnB,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,eAAe,EAAE,CAAC;IAClB,YAAY,EAAE;QACZ,gBAAgB,EAAE,IAAI;KACvB;IACD,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,wCAAwC;IACnD,OAAO,EAAE;QACP,QAAQ,EAAE,gDAAgD;KAC3D;IACD,WAAW,EAAE;;;;;;IAMX;IACF,GAAG,EAAE;QACH,KAAK,EAAE,iCAAiC;QACxC,WAAW,EACT,kFAAkF;QACpF,QAAQ,EAAE,CAAC,qBAAqB,EAAE,eAAe,EAAE,WAAW,EAAE,QAAQ,CAAC;KAC1E;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,WAAW;gBACjB,QAAQ,EAAE,EAAE,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,EAAE,MAAM,EAAE,mBAAmB,EAAE;YAC3D,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,mBAAmB,EAAE;YACtE,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,gBAAgB,EAAE;SACpE;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAe;IAC7C,aAAa;IACb,WAAW;IACX,QAAQ;IACR,cAAc;IACd,uBAAuB;IACvB,eAAe;CAChB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data Visualization Templates
|
|
3
|
+
*
|
|
4
|
+
* Charts, graphs, and diagrams using QuickChart and Mermaid generators.
|
|
5
|
+
* All templates in this category work offline (OSS-compatible).
|
|
6
|
+
*/
|
|
7
|
+
import type { Template } from "../types.js";
|
|
8
|
+
/**
|
|
9
|
+
* Revenue Dashboard (QuickChart bar chart)
|
|
10
|
+
* Canonical ID: revenue-chart
|
|
11
|
+
* Previous Studio ID: sales-dashboard
|
|
12
|
+
*/
|
|
13
|
+
export declare const revenueChart: Template;
|
|
14
|
+
/**
|
|
15
|
+
* User Growth Line Chart
|
|
16
|
+
* Canonical ID: monthly-users
|
|
17
|
+
* Previous Studio ID: user-growth
|
|
18
|
+
*/
|
|
19
|
+
export declare const monthlyUsers: Template;
|
|
20
|
+
/**
|
|
21
|
+
* Framework Usage Stats
|
|
22
|
+
* Canonical ID: framework-usage
|
|
23
|
+
*/
|
|
24
|
+
export declare const frameworkUsage: Template;
|
|
25
|
+
/**
|
|
26
|
+
* Traffic Breakdown Doughnut
|
|
27
|
+
* Canonical ID: traffic-breakdown
|
|
28
|
+
*/
|
|
29
|
+
export declare const trafficBreakdown: Template;
|
|
30
|
+
/**
|
|
31
|
+
* API Request Flow Diagram
|
|
32
|
+
* Canonical ID: api-flow
|
|
33
|
+
*/
|
|
34
|
+
export declare const apiFlow: Template;
|
|
35
|
+
/**
|
|
36
|
+
* System Architecture Diagram
|
|
37
|
+
* Canonical ID: system-architecture
|
|
38
|
+
*/
|
|
39
|
+
export declare const systemArchitecture: Template;
|
|
40
|
+
/**
|
|
41
|
+
* Git Branch Workflow
|
|
42
|
+
* Canonical ID: git-workflow
|
|
43
|
+
*/
|
|
44
|
+
export declare const gitWorkflow: Template;
|
|
45
|
+
/**
|
|
46
|
+
* All data visualization templates
|
|
47
|
+
*/
|
|
48
|
+
export declare const dataVizTemplates: Template[];
|
|
49
|
+
//# sourceMappingURL=data-viz.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-viz.d.ts","sourceRoot":"","sources":["../../src/templates/data-viz.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,QA6E1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,QA6D1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,QA2D5B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAwD9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,QAoDrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAoEhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,QAgDzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,EAQtC,CAAC"}
|