@ankhorage/templates 9.0.0 → 9.0.1
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/CHANGELOG.md +6 -0
- package/assets/templates/lifestyle/plant-journal/evidence/concepts/000-garden-plan-a2d8d3cd507c.png +0 -0
- package/assets/templates/lifestyle/plant-journal/evidence/concepts/001-plant-detail-985c72c412d0.png +0 -0
- package/assets/templates/lifestyle/plant-journal/evidence/concepts/002-care-log-a35946ee0127.png +0 -0
- package/assets/templates/lifestyle/plant-journal/runtime/mara-detail-28e8095ae2e5.png +0 -0
- package/assets/templates/lifestyle/plant-journal/runtime/mara-hero-f4bc5dae1e42.png +0 -0
- package/dist/templates/starter/categories/lifestyle/index.d.ts +16 -2
- package/dist/templates/starter/categories/lifestyle/index.d.ts.map +1 -1
- package/dist/templates/starter/categories/lifestyle/index.js +9 -0
- package/dist/templates/starter/categories/lifestyle/index.js.map +1 -1
- package/dist/templates/starter/categories/lifestyle/plant-journal/assets.d.ts +8 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/assets.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/assets.js +17 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/assets.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/index.d.ts +2 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/index.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/index.js +2 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/index.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/manifest.d.ts +399 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/manifest.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/manifest.js +381 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/manifest.js.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/template.d.ts +5 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/template.d.ts.map +1 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/template.js +21 -0
- package/dist/templates/starter/categories/lifestyle/plant-journal/template.js.map +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/assets/templates/lifestyle/plant-journal/evidence/concepts/000-garden-plan-a2d8d3cd507c.png
ADDED
|
Binary file
|
package/assets/templates/lifestyle/plant-journal/evidence/concepts/001-plant-detail-985c72c412d0.png
ADDED
|
Binary file
|
package/assets/templates/lifestyle/plant-journal/evidence/concepts/002-care-log-a35946ee0127.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { createLifestyleStarterTemplate } from './default.template';
|
|
2
|
-
|
|
2
|
+
import { createPlantJournalStarterTemplate } from './plant-journal';
|
|
3
|
+
export declare const lifestyleStarterTemplates: ({
|
|
3
4
|
id: string;
|
|
4
5
|
label: string;
|
|
5
6
|
description: string;
|
|
6
7
|
create: typeof createLifestyleStarterTemplate;
|
|
7
|
-
|
|
8
|
+
assets?: never;
|
|
9
|
+
} | {
|
|
10
|
+
id: string;
|
|
11
|
+
label: string;
|
|
12
|
+
description: string;
|
|
13
|
+
create: typeof createPlantJournalStarterTemplate;
|
|
14
|
+
assets: {
|
|
15
|
+
sourcePath: string;
|
|
16
|
+
targetPath: string;
|
|
17
|
+
contentType: "image/png";
|
|
18
|
+
sizeBytes: number;
|
|
19
|
+
sha256: string;
|
|
20
|
+
}[];
|
|
21
|
+
})[];
|
|
8
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/lifestyle/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/lifestyle/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,iBAAiB,CAAC;AACpE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;IAgBkB,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { AUTHORED_PLANT_JOURNAL_ASSETS } from './plant-journal/assets';
|
|
1
2
|
import { createLifestyleStarterTemplate } from './default.template';
|
|
3
|
+
import { createPlantJournalStarterTemplate } from './plant-journal';
|
|
2
4
|
export const lifestyleStarterTemplates = [
|
|
3
5
|
{
|
|
4
6
|
id: 'default',
|
|
@@ -6,5 +8,12 @@ export const lifestyleStarterTemplates = [
|
|
|
6
8
|
description: 'A dashboard, collections, plans, explore, and profile starter for lifestyle apps.',
|
|
7
9
|
create: createLifestyleStarterTemplate,
|
|
8
10
|
},
|
|
11
|
+
{
|
|
12
|
+
id: 'plant-journal',
|
|
13
|
+
label: 'Plant Journal',
|
|
14
|
+
description: 'A calm three-screen plant-care journal with bundled botanical imagery and a focused care rhythm.',
|
|
15
|
+
create: createPlantJournalStarterTemplate,
|
|
16
|
+
assets: AUTHORED_PLANT_JOURNAL_ASSETS,
|
|
17
|
+
},
|
|
9
18
|
];
|
|
10
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/lifestyle/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/templates/starter/categories/lifestyle/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,iBAAiB,CAAC;AACpE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACT,mFAAmF;QACrF,MAAM,EAAE,8BAA8B;KACvC;IACD;QACE,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,eAAe;QACtB,WAAW,EACT,kGAAkG;QACpG,MAAM,EAAE,iCAAiC;QACzC,MAAM,EAAE,6BAA6B;KACtC;CACqD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/assets.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,6BAA6B;;;;;;GAeC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const AUTHORED_PLANT_JOURNAL_ASSETS = [
|
|
2
|
+
{
|
|
3
|
+
sourcePath: 'assets/templates/lifestyle/plant-journal/runtime/mara-detail-28e8095ae2e5.png',
|
|
4
|
+
targetPath: 'assets/media/plant-journal/mara-detail-28e8095ae2e5.png',
|
|
5
|
+
contentType: 'image/png',
|
|
6
|
+
sizeBytes: 2073467,
|
|
7
|
+
sha256: '77a7541bd20e0f215c667e372957a58802ffb66d3d1be54ff51de64c9bc2e20c',
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
sourcePath: 'assets/templates/lifestyle/plant-journal/runtime/mara-hero-f4bc5dae1e42.png',
|
|
11
|
+
targetPath: 'assets/media/plant-journal/mara-hero-f4bc5dae1e42.png',
|
|
12
|
+
contentType: 'image/png',
|
|
13
|
+
sizeBytes: 2400112,
|
|
14
|
+
sha256: 'f55bf3f8c90cdd217b32c217e2a01a408bcd9c1cdc37f083993f0c5eab0a224a',
|
|
15
|
+
},
|
|
16
|
+
];
|
|
17
|
+
//# sourceMappingURL=assets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/assets.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;QACE,UAAU,EAAE,+EAA+E;QAC3F,UAAU,EAAE,yDAAyD;QACrE,WAAW,EAAE,WAAW;QACxB,SAAS,EAAE,OAAO;QAClB,MAAM,EAAE,kEAAkE;KAC3E;IACD;QACE,UAAU,EAAE,6EAA6E;QACzF,UAAU,EAAE,uDAAuD;QACnE,WAAW,EAAE,WAAW;QACxB,SAAS,EAAE,OAAO;QAClB,MAAM,EAAE,kEAAkE;KAC3E;CACwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
export declare const AUTHORED_PLANT_JOURNAL_MANIFEST: {
|
|
2
|
+
metadata: {
|
|
3
|
+
name: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
version: string;
|
|
6
|
+
category: "lifestyle";
|
|
7
|
+
themeId: string;
|
|
8
|
+
};
|
|
9
|
+
themes: {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
light: {
|
|
13
|
+
primaryColor: string;
|
|
14
|
+
harmony: "analogous";
|
|
15
|
+
};
|
|
16
|
+
dark: {
|
|
17
|
+
primaryColor: string;
|
|
18
|
+
harmony: "analogous";
|
|
19
|
+
};
|
|
20
|
+
tokens: {
|
|
21
|
+
spacing: {
|
|
22
|
+
none: number;
|
|
23
|
+
xs: number;
|
|
24
|
+
s: number;
|
|
25
|
+
m: number;
|
|
26
|
+
l: number;
|
|
27
|
+
xl: number;
|
|
28
|
+
xxl: number;
|
|
29
|
+
};
|
|
30
|
+
radii: {
|
|
31
|
+
none: number;
|
|
32
|
+
s: number;
|
|
33
|
+
m: number;
|
|
34
|
+
l: number;
|
|
35
|
+
full: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}[];
|
|
39
|
+
activeThemeId: string;
|
|
40
|
+
splashScreen: {
|
|
41
|
+
backgroundColor: string;
|
|
42
|
+
image: string;
|
|
43
|
+
imageWidth: number;
|
|
44
|
+
resizeMode: "contain";
|
|
45
|
+
dark: {
|
|
46
|
+
backgroundColor: string;
|
|
47
|
+
image: string;
|
|
48
|
+
imageWidth: number;
|
|
49
|
+
resizeMode: "contain";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
infra: {
|
|
53
|
+
database: {
|
|
54
|
+
provider: "supabase";
|
|
55
|
+
tier: "dev";
|
|
56
|
+
};
|
|
57
|
+
storage: {
|
|
58
|
+
provider: "auto";
|
|
59
|
+
buckets: string[];
|
|
60
|
+
};
|
|
61
|
+
secretStore: {
|
|
62
|
+
provider: "supabase-vault";
|
|
63
|
+
};
|
|
64
|
+
deployment: {
|
|
65
|
+
target: "minikube";
|
|
66
|
+
monitoring: false;
|
|
67
|
+
};
|
|
68
|
+
auth: {
|
|
69
|
+
provider: "supabase";
|
|
70
|
+
scope: "global";
|
|
71
|
+
flow: {
|
|
72
|
+
signInRoute: string;
|
|
73
|
+
signUpRoute: string;
|
|
74
|
+
signOutRoute: string;
|
|
75
|
+
forgotPasswordRoute: string;
|
|
76
|
+
postSignInRoute: string;
|
|
77
|
+
unauthorizedRoute: string;
|
|
78
|
+
};
|
|
79
|
+
signIn: {
|
|
80
|
+
identifiers: "email"[];
|
|
81
|
+
};
|
|
82
|
+
signUp: {
|
|
83
|
+
requiredFields: ("email" | "password")[];
|
|
84
|
+
optionalFields: ("firstName" | "lastName")[];
|
|
85
|
+
signUpPolicy: "autoSignIn";
|
|
86
|
+
};
|
|
87
|
+
profile: {
|
|
88
|
+
fields: ("email" | "firstName" | "lastName")[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
networking: {
|
|
92
|
+
cdn: false;
|
|
93
|
+
};
|
|
94
|
+
modules: never[];
|
|
95
|
+
};
|
|
96
|
+
settings: {
|
|
97
|
+
localization: {
|
|
98
|
+
defaultLocale: string;
|
|
99
|
+
locales: string[];
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
navigator: {
|
|
103
|
+
type: "tabs";
|
|
104
|
+
initialRouteName: string;
|
|
105
|
+
routes: {
|
|
106
|
+
name: string;
|
|
107
|
+
screenId: string;
|
|
108
|
+
label: string;
|
|
109
|
+
icon: {
|
|
110
|
+
provider: string;
|
|
111
|
+
name: string;
|
|
112
|
+
};
|
|
113
|
+
}[];
|
|
114
|
+
};
|
|
115
|
+
screens: {
|
|
116
|
+
'plant-journal-garden': {
|
|
117
|
+
id: string;
|
|
118
|
+
name: string;
|
|
119
|
+
title: string;
|
|
120
|
+
description: string;
|
|
121
|
+
root: {
|
|
122
|
+
id: string;
|
|
123
|
+
type: string;
|
|
124
|
+
props: {
|
|
125
|
+
width: string;
|
|
126
|
+
};
|
|
127
|
+
children: ({
|
|
128
|
+
id: string;
|
|
129
|
+
type: string;
|
|
130
|
+
props: {
|
|
131
|
+
eyebrow: string;
|
|
132
|
+
title: string;
|
|
133
|
+
description: string;
|
|
134
|
+
itemSize?: never;
|
|
135
|
+
gap?: never;
|
|
136
|
+
padding?: never;
|
|
137
|
+
peek?: never;
|
|
138
|
+
showControls?: never;
|
|
139
|
+
direction?: never;
|
|
140
|
+
motion?: never;
|
|
141
|
+
accessibilityLabel?: never;
|
|
142
|
+
previousLabel?: never;
|
|
143
|
+
nextLabel?: never;
|
|
144
|
+
};
|
|
145
|
+
children?: never;
|
|
146
|
+
} | {
|
|
147
|
+
id: string;
|
|
148
|
+
type: string;
|
|
149
|
+
props: {
|
|
150
|
+
title: string;
|
|
151
|
+
description: string;
|
|
152
|
+
eyebrow?: never;
|
|
153
|
+
itemSize?: never;
|
|
154
|
+
gap?: never;
|
|
155
|
+
padding?: never;
|
|
156
|
+
peek?: never;
|
|
157
|
+
showControls?: never;
|
|
158
|
+
direction?: never;
|
|
159
|
+
motion?: never;
|
|
160
|
+
accessibilityLabel?: never;
|
|
161
|
+
previousLabel?: never;
|
|
162
|
+
nextLabel?: never;
|
|
163
|
+
};
|
|
164
|
+
children: ({
|
|
165
|
+
id: string;
|
|
166
|
+
type: string;
|
|
167
|
+
props: {
|
|
168
|
+
eyebrow: string;
|
|
169
|
+
title: string;
|
|
170
|
+
description: string;
|
|
171
|
+
tone: string;
|
|
172
|
+
children?: never;
|
|
173
|
+
color?: never;
|
|
174
|
+
variant?: never;
|
|
175
|
+
size?: never;
|
|
176
|
+
};
|
|
177
|
+
} | {
|
|
178
|
+
id: string;
|
|
179
|
+
type: string;
|
|
180
|
+
props: {
|
|
181
|
+
children: string;
|
|
182
|
+
color: string;
|
|
183
|
+
variant: string;
|
|
184
|
+
size: string;
|
|
185
|
+
eyebrow?: never;
|
|
186
|
+
title?: never;
|
|
187
|
+
description?: never;
|
|
188
|
+
tone?: never;
|
|
189
|
+
};
|
|
190
|
+
})[];
|
|
191
|
+
} | {
|
|
192
|
+
id: string;
|
|
193
|
+
type: string;
|
|
194
|
+
props: {
|
|
195
|
+
itemSize: string;
|
|
196
|
+
gap: string;
|
|
197
|
+
padding: string;
|
|
198
|
+
peek: number;
|
|
199
|
+
showControls: boolean;
|
|
200
|
+
direction: string;
|
|
201
|
+
motion: string;
|
|
202
|
+
accessibilityLabel: string;
|
|
203
|
+
previousLabel: string;
|
|
204
|
+
nextLabel: string;
|
|
205
|
+
eyebrow?: never;
|
|
206
|
+
title?: never;
|
|
207
|
+
description?: never;
|
|
208
|
+
};
|
|
209
|
+
children: {
|
|
210
|
+
id: string;
|
|
211
|
+
type: string;
|
|
212
|
+
props: {
|
|
213
|
+
source: {
|
|
214
|
+
mediaId: string;
|
|
215
|
+
};
|
|
216
|
+
alt: string;
|
|
217
|
+
};
|
|
218
|
+
}[];
|
|
219
|
+
})[];
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
'plant-journal-detail': {
|
|
223
|
+
id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
title: string;
|
|
226
|
+
description: string;
|
|
227
|
+
root: {
|
|
228
|
+
id: string;
|
|
229
|
+
type: string;
|
|
230
|
+
props: {
|
|
231
|
+
width: string;
|
|
232
|
+
};
|
|
233
|
+
children: ({
|
|
234
|
+
id: string;
|
|
235
|
+
type: string;
|
|
236
|
+
props: {
|
|
237
|
+
eyebrow: string;
|
|
238
|
+
title: string;
|
|
239
|
+
description: string;
|
|
240
|
+
itemSize?: never;
|
|
241
|
+
gap?: never;
|
|
242
|
+
padding?: never;
|
|
243
|
+
peek?: never;
|
|
244
|
+
showControls?: never;
|
|
245
|
+
direction?: never;
|
|
246
|
+
motion?: never;
|
|
247
|
+
accessibilityLabel?: never;
|
|
248
|
+
previousLabel?: never;
|
|
249
|
+
nextLabel?: never;
|
|
250
|
+
};
|
|
251
|
+
children?: never;
|
|
252
|
+
} | {
|
|
253
|
+
id: string;
|
|
254
|
+
type: string;
|
|
255
|
+
props: {
|
|
256
|
+
itemSize: string;
|
|
257
|
+
gap: string;
|
|
258
|
+
padding: string;
|
|
259
|
+
peek: number;
|
|
260
|
+
showControls: boolean;
|
|
261
|
+
direction: string;
|
|
262
|
+
motion: string;
|
|
263
|
+
accessibilityLabel: string;
|
|
264
|
+
previousLabel: string;
|
|
265
|
+
nextLabel: string;
|
|
266
|
+
eyebrow?: never;
|
|
267
|
+
title?: never;
|
|
268
|
+
description?: never;
|
|
269
|
+
};
|
|
270
|
+
children: {
|
|
271
|
+
id: string;
|
|
272
|
+
type: string;
|
|
273
|
+
props: {
|
|
274
|
+
source: {
|
|
275
|
+
mediaId: string;
|
|
276
|
+
};
|
|
277
|
+
alt: string;
|
|
278
|
+
};
|
|
279
|
+
}[];
|
|
280
|
+
} | {
|
|
281
|
+
id: string;
|
|
282
|
+
type: string;
|
|
283
|
+
props: {
|
|
284
|
+
title: string;
|
|
285
|
+
description: string;
|
|
286
|
+
eyebrow?: never;
|
|
287
|
+
itemSize?: never;
|
|
288
|
+
gap?: never;
|
|
289
|
+
padding?: never;
|
|
290
|
+
peek?: never;
|
|
291
|
+
showControls?: never;
|
|
292
|
+
direction?: never;
|
|
293
|
+
motion?: never;
|
|
294
|
+
accessibilityLabel?: never;
|
|
295
|
+
previousLabel?: never;
|
|
296
|
+
nextLabel?: never;
|
|
297
|
+
};
|
|
298
|
+
children: {
|
|
299
|
+
id: string;
|
|
300
|
+
type: string;
|
|
301
|
+
props: {
|
|
302
|
+
eyebrow: string;
|
|
303
|
+
title: string;
|
|
304
|
+
description: string;
|
|
305
|
+
tone: string;
|
|
306
|
+
};
|
|
307
|
+
}[];
|
|
308
|
+
})[];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
'plant-journal-care-log': {
|
|
312
|
+
id: string;
|
|
313
|
+
name: string;
|
|
314
|
+
title: string;
|
|
315
|
+
description: string;
|
|
316
|
+
root: {
|
|
317
|
+
id: string;
|
|
318
|
+
type: string;
|
|
319
|
+
props: {
|
|
320
|
+
width: string;
|
|
321
|
+
};
|
|
322
|
+
children: ({
|
|
323
|
+
id: string;
|
|
324
|
+
type: string;
|
|
325
|
+
props: {
|
|
326
|
+
eyebrow: string;
|
|
327
|
+
title: string;
|
|
328
|
+
description: string;
|
|
329
|
+
};
|
|
330
|
+
children?: never;
|
|
331
|
+
} | {
|
|
332
|
+
id: string;
|
|
333
|
+
type: string;
|
|
334
|
+
props: {
|
|
335
|
+
title: string;
|
|
336
|
+
description: string;
|
|
337
|
+
eyebrow?: never;
|
|
338
|
+
};
|
|
339
|
+
children: ({
|
|
340
|
+
id: string;
|
|
341
|
+
type: string;
|
|
342
|
+
props: {
|
|
343
|
+
eyebrow: string;
|
|
344
|
+
title: string;
|
|
345
|
+
description: string;
|
|
346
|
+
tone: string;
|
|
347
|
+
color?: never;
|
|
348
|
+
};
|
|
349
|
+
} | {
|
|
350
|
+
id: string;
|
|
351
|
+
type: string;
|
|
352
|
+
props: {
|
|
353
|
+
title: string;
|
|
354
|
+
description: string;
|
|
355
|
+
color: string;
|
|
356
|
+
eyebrow?: never;
|
|
357
|
+
tone?: never;
|
|
358
|
+
};
|
|
359
|
+
})[];
|
|
360
|
+
})[];
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
media: {
|
|
365
|
+
assets: {
|
|
366
|
+
'mara-detail': {
|
|
367
|
+
id: string;
|
|
368
|
+
name: string;
|
|
369
|
+
kind: "image";
|
|
370
|
+
source: {
|
|
371
|
+
kind: "bundled";
|
|
372
|
+
path: string;
|
|
373
|
+
};
|
|
374
|
+
contentType: string;
|
|
375
|
+
metadata: {
|
|
376
|
+
sizeBytes: number;
|
|
377
|
+
width: number;
|
|
378
|
+
height: number;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
'mara-hero': {
|
|
382
|
+
id: string;
|
|
383
|
+
name: string;
|
|
384
|
+
kind: "image";
|
|
385
|
+
source: {
|
|
386
|
+
kind: "bundled";
|
|
387
|
+
path: string;
|
|
388
|
+
};
|
|
389
|
+
contentType: string;
|
|
390
|
+
metadata: {
|
|
391
|
+
sizeBytes: number;
|
|
392
|
+
width: number;
|
|
393
|
+
height: number;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/manifest.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2XrB,CAAC"}
|
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
export const AUTHORED_PLANT_JOURNAL_MANIFEST = {
|
|
2
|
+
metadata: {
|
|
3
|
+
name: 'Plant Journal',
|
|
4
|
+
slug: 'plant-journal',
|
|
5
|
+
version: '1.0.0',
|
|
6
|
+
category: 'lifestyle',
|
|
7
|
+
themeId: 'plant-journal',
|
|
8
|
+
},
|
|
9
|
+
themes: [
|
|
10
|
+
{
|
|
11
|
+
id: 'plant-journal',
|
|
12
|
+
name: 'Plant Journal',
|
|
13
|
+
light: {
|
|
14
|
+
primaryColor: '#9A4E36',
|
|
15
|
+
harmony: 'analogous',
|
|
16
|
+
},
|
|
17
|
+
dark: {
|
|
18
|
+
primaryColor: '#9A4E36',
|
|
19
|
+
harmony: 'analogous',
|
|
20
|
+
},
|
|
21
|
+
tokens: {
|
|
22
|
+
spacing: {
|
|
23
|
+
none: 0,
|
|
24
|
+
xs: 5,
|
|
25
|
+
s: 10,
|
|
26
|
+
m: 20,
|
|
27
|
+
l: 30,
|
|
28
|
+
xl: 40,
|
|
29
|
+
xxl: 60,
|
|
30
|
+
},
|
|
31
|
+
radii: {
|
|
32
|
+
none: 0,
|
|
33
|
+
s: 8,
|
|
34
|
+
m: 12,
|
|
35
|
+
l: 24,
|
|
36
|
+
full: 9999,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
activeThemeId: 'plant-journal',
|
|
42
|
+
splashScreen: {
|
|
43
|
+
backgroundColor: '#9A4E36',
|
|
44
|
+
image: './assets/splash/icon.png',
|
|
45
|
+
imageWidth: 160,
|
|
46
|
+
resizeMode: 'contain',
|
|
47
|
+
dark: {
|
|
48
|
+
backgroundColor: '#9A4E36',
|
|
49
|
+
image: './assets/splash/icon-dark.png',
|
|
50
|
+
imageWidth: 160,
|
|
51
|
+
resizeMode: 'contain',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
infra: {
|
|
55
|
+
database: {
|
|
56
|
+
provider: 'supabase',
|
|
57
|
+
tier: 'dev',
|
|
58
|
+
},
|
|
59
|
+
storage: {
|
|
60
|
+
provider: 'auto',
|
|
61
|
+
buckets: ['media'],
|
|
62
|
+
},
|
|
63
|
+
secretStore: {
|
|
64
|
+
provider: 'supabase-vault',
|
|
65
|
+
},
|
|
66
|
+
deployment: {
|
|
67
|
+
target: 'minikube',
|
|
68
|
+
monitoring: false,
|
|
69
|
+
},
|
|
70
|
+
auth: {
|
|
71
|
+
provider: 'supabase',
|
|
72
|
+
scope: 'global',
|
|
73
|
+
flow: {
|
|
74
|
+
signInRoute: 'sign-in',
|
|
75
|
+
signUpRoute: 'sign-up',
|
|
76
|
+
signOutRoute: 'sign-out',
|
|
77
|
+
forgotPasswordRoute: 'forgot-password',
|
|
78
|
+
postSignInRoute: '/',
|
|
79
|
+
unauthorizedRoute: 'sign-in',
|
|
80
|
+
},
|
|
81
|
+
signIn: {
|
|
82
|
+
identifiers: ['email'],
|
|
83
|
+
},
|
|
84
|
+
signUp: {
|
|
85
|
+
requiredFields: ['email', 'password'],
|
|
86
|
+
optionalFields: ['firstName', 'lastName'],
|
|
87
|
+
signUpPolicy: 'autoSignIn',
|
|
88
|
+
},
|
|
89
|
+
profile: {
|
|
90
|
+
fields: ['email', 'firstName', 'lastName'],
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
networking: {
|
|
94
|
+
cdn: false,
|
|
95
|
+
},
|
|
96
|
+
modules: [],
|
|
97
|
+
},
|
|
98
|
+
settings: {
|
|
99
|
+
localization: {
|
|
100
|
+
defaultLocale: 'en',
|
|
101
|
+
locales: ['en'],
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
navigator: {
|
|
105
|
+
type: 'tabs',
|
|
106
|
+
initialRouteName: 'garden',
|
|
107
|
+
routes: [
|
|
108
|
+
{
|
|
109
|
+
name: 'garden',
|
|
110
|
+
screenId: 'plant-journal-garden',
|
|
111
|
+
label: 'Garden',
|
|
112
|
+
icon: {
|
|
113
|
+
provider: 'material-community',
|
|
114
|
+
name: 'sprout',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'plants',
|
|
119
|
+
screenId: 'plant-journal-detail',
|
|
120
|
+
label: 'Plants',
|
|
121
|
+
icon: {
|
|
122
|
+
provider: 'material-community',
|
|
123
|
+
name: 'leaf',
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: 'care-log',
|
|
128
|
+
screenId: 'plant-journal-care-log',
|
|
129
|
+
label: 'Care log',
|
|
130
|
+
icon: {
|
|
131
|
+
provider: 'material-community',
|
|
132
|
+
name: 'clipboard-check-outline',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
screens: {
|
|
138
|
+
'plant-journal-garden': {
|
|
139
|
+
id: 'plant-journal-garden',
|
|
140
|
+
name: 'Garden',
|
|
141
|
+
title: 'Your indoor garden',
|
|
142
|
+
description: 'A calm care plan for the plants that need you today.',
|
|
143
|
+
root: {
|
|
144
|
+
id: 'plant-journal-garden-screen',
|
|
145
|
+
type: 'Screen',
|
|
146
|
+
props: {
|
|
147
|
+
width: 'wide',
|
|
148
|
+
},
|
|
149
|
+
children: [
|
|
150
|
+
{
|
|
151
|
+
id: 'plant-journal-garden-header',
|
|
152
|
+
type: 'SectionHeader',
|
|
153
|
+
props: {
|
|
154
|
+
eyebrow: 'Plant Journal',
|
|
155
|
+
title: 'Your indoor garden',
|
|
156
|
+
description: 'A calm care plan for the plants that need you today.',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: 'plant-journal-garden-next-care',
|
|
161
|
+
type: 'ScreenSection',
|
|
162
|
+
props: {
|
|
163
|
+
title: 'Next care',
|
|
164
|
+
description: 'One small task keeps your garden in rhythm.',
|
|
165
|
+
},
|
|
166
|
+
children: [
|
|
167
|
+
{
|
|
168
|
+
id: 'plant-journal-garden-next-care-card',
|
|
169
|
+
type: 'Card',
|
|
170
|
+
props: {
|
|
171
|
+
eyebrow: 'Today',
|
|
172
|
+
title: 'Water Mara',
|
|
173
|
+
description: 'Check the top inch of soil before you water.',
|
|
174
|
+
tone: 'outline',
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: 'plant-journal-garden-complete-care',
|
|
179
|
+
type: 'Button',
|
|
180
|
+
props: {
|
|
181
|
+
children: 'Mark as cared for',
|
|
182
|
+
color: 'primary',
|
|
183
|
+
variant: 'solid',
|
|
184
|
+
size: 'm',
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: 'plant-journal-garden-plant-rail',
|
|
191
|
+
type: 'ContentRail',
|
|
192
|
+
props: {
|
|
193
|
+
itemSize: 'regular',
|
|
194
|
+
gap: 'm',
|
|
195
|
+
padding: 'm',
|
|
196
|
+
peek: 28,
|
|
197
|
+
showControls: true,
|
|
198
|
+
direction: 'auto',
|
|
199
|
+
motion: 'system',
|
|
200
|
+
accessibilityLabel: 'Plant collection',
|
|
201
|
+
previousLabel: 'Previous plant',
|
|
202
|
+
nextLabel: 'Next plant',
|
|
203
|
+
},
|
|
204
|
+
children: [
|
|
205
|
+
{
|
|
206
|
+
id: 'plant-journal-garden-mara-image',
|
|
207
|
+
type: 'Image',
|
|
208
|
+
props: {
|
|
209
|
+
source: {
|
|
210
|
+
mediaId: 'mara-hero',
|
|
211
|
+
},
|
|
212
|
+
alt: 'Mara, a healthy monstera in a terracotta pot by a window.',
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
},
|
|
217
|
+
],
|
|
218
|
+
},
|
|
219
|
+
},
|
|
220
|
+
'plant-journal-detail': {
|
|
221
|
+
id: 'plant-journal-detail',
|
|
222
|
+
name: 'Plant detail',
|
|
223
|
+
title: 'Mara, the monstera',
|
|
224
|
+
description: 'A focused view of light, watering, and growth notes.',
|
|
225
|
+
root: {
|
|
226
|
+
id: 'plant-journal-detail-screen',
|
|
227
|
+
type: 'Screen',
|
|
228
|
+
props: {
|
|
229
|
+
width: 'default',
|
|
230
|
+
},
|
|
231
|
+
children: [
|
|
232
|
+
{
|
|
233
|
+
id: 'plant-journal-detail-header',
|
|
234
|
+
type: 'SectionHeader',
|
|
235
|
+
props: {
|
|
236
|
+
eyebrow: 'Plant profile',
|
|
237
|
+
title: 'Mara, the monstera',
|
|
238
|
+
description: 'A focused view of light, watering, and growth notes.',
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
id: 'plant-journal-detail-image-rail',
|
|
243
|
+
type: 'ContentRail',
|
|
244
|
+
props: {
|
|
245
|
+
itemSize: 'wide',
|
|
246
|
+
gap: 'm',
|
|
247
|
+
padding: 'm',
|
|
248
|
+
peek: 24,
|
|
249
|
+
showControls: true,
|
|
250
|
+
direction: 'auto',
|
|
251
|
+
motion: 'system',
|
|
252
|
+
accessibilityLabel: 'Mara photo',
|
|
253
|
+
previousLabel: 'Previous photo',
|
|
254
|
+
nextLabel: 'Next photo',
|
|
255
|
+
},
|
|
256
|
+
children: [
|
|
257
|
+
{
|
|
258
|
+
id: 'plant-journal-detail-mara-image',
|
|
259
|
+
type: 'Image',
|
|
260
|
+
props: {
|
|
261
|
+
source: {
|
|
262
|
+
mediaId: 'mara-detail',
|
|
263
|
+
},
|
|
264
|
+
alt: "Close-up of Mara's healthy monstera leaf and an unfurling new leaf.",
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
id: 'plant-journal-detail-care-section',
|
|
271
|
+
type: 'ScreenSection',
|
|
272
|
+
props: {
|
|
273
|
+
title: 'Care rhythm',
|
|
274
|
+
description: 'A small record keeps the next decision clear.',
|
|
275
|
+
},
|
|
276
|
+
children: [
|
|
277
|
+
{
|
|
278
|
+
id: 'plant-journal-detail-care-card',
|
|
279
|
+
type: 'Card',
|
|
280
|
+
props: {
|
|
281
|
+
eyebrow: 'Light',
|
|
282
|
+
title: 'Bright, indirect light',
|
|
283
|
+
description: 'Rotate a quarter turn when new leaves lean toward the window.',
|
|
284
|
+
tone: 'subtle',
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
'plant-journal-care-log': {
|
|
293
|
+
id: 'plant-journal-care-log',
|
|
294
|
+
name: 'Care log',
|
|
295
|
+
title: 'Care that adds up',
|
|
296
|
+
description: 'A reassuring history of the small actions already complete.',
|
|
297
|
+
root: {
|
|
298
|
+
id: 'plant-journal-care-log-screen',
|
|
299
|
+
type: 'Screen',
|
|
300
|
+
props: {
|
|
301
|
+
width: 'default',
|
|
302
|
+
},
|
|
303
|
+
children: [
|
|
304
|
+
{
|
|
305
|
+
id: 'plant-journal-care-log-header',
|
|
306
|
+
type: 'SectionHeader',
|
|
307
|
+
props: {
|
|
308
|
+
eyebrow: 'Care log',
|
|
309
|
+
title: 'Care that adds up',
|
|
310
|
+
description: 'A reassuring history of the small actions already complete.',
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: 'plant-journal-care-log-section',
|
|
315
|
+
type: 'ScreenSection',
|
|
316
|
+
props: {
|
|
317
|
+
title: 'This week',
|
|
318
|
+
description: 'Completed actions stay visible without demanding attention.',
|
|
319
|
+
},
|
|
320
|
+
children: [
|
|
321
|
+
{
|
|
322
|
+
id: 'plant-journal-care-log-card',
|
|
323
|
+
type: 'Card',
|
|
324
|
+
props: {
|
|
325
|
+
eyebrow: 'Complete',
|
|
326
|
+
title: 'Leaf check recorded',
|
|
327
|
+
description: 'Mara has a new unfurling leaf and no dry edges.',
|
|
328
|
+
tone: 'outline',
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
id: 'plant-journal-care-log-reminder',
|
|
333
|
+
type: 'Notice',
|
|
334
|
+
props: {
|
|
335
|
+
title: 'Next reminder',
|
|
336
|
+
description: 'Check soil moisture again in four days.',
|
|
337
|
+
color: 'success',
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
},
|
|
342
|
+
],
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
media: {
|
|
347
|
+
assets: {
|
|
348
|
+
'mara-detail': {
|
|
349
|
+
id: 'mara-detail',
|
|
350
|
+
name: 'Mara unfurling leaf',
|
|
351
|
+
kind: 'image',
|
|
352
|
+
source: {
|
|
353
|
+
kind: 'bundled',
|
|
354
|
+
path: 'assets/media/plant-journal/mara-detail-28e8095ae2e5.png',
|
|
355
|
+
},
|
|
356
|
+
contentType: 'image/png',
|
|
357
|
+
metadata: {
|
|
358
|
+
sizeBytes: 2073467,
|
|
359
|
+
width: 1024,
|
|
360
|
+
height: 1536,
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
'mara-hero': {
|
|
364
|
+
id: 'mara-hero',
|
|
365
|
+
name: 'Mara by the window',
|
|
366
|
+
kind: 'image',
|
|
367
|
+
source: {
|
|
368
|
+
kind: 'bundled',
|
|
369
|
+
path: 'assets/media/plant-journal/mara-hero-f4bc5dae1e42.png',
|
|
370
|
+
},
|
|
371
|
+
contentType: 'image/png',
|
|
372
|
+
metadata: {
|
|
373
|
+
sizeBytes: 2400112,
|
|
374
|
+
width: 1024,
|
|
375
|
+
height: 1536,
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
};
|
|
381
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/manifest.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE;QACR,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,OAAO;QAChB,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,eAAe;KACzB;IACD,MAAM,EAAE;QACN;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE;gBACL,YAAY,EAAE,SAAS;gBACvB,OAAO,EAAE,WAAW;aACrB;YACD,IAAI,EAAE;gBACJ,YAAY,EAAE,SAAS;gBACvB,OAAO,EAAE,WAAW;aACrB;YACD,MAAM,EAAE;gBACN,OAAO,EAAE;oBACP,IAAI,EAAE,CAAC;oBACP,EAAE,EAAE,CAAC;oBACL,CAAC,EAAE,EAAE;oBACL,CAAC,EAAE,EAAE;oBACL,CAAC,EAAE,EAAE;oBACL,EAAE,EAAE,EAAE;oBACN,GAAG,EAAE,EAAE;iBACR;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,CAAC;oBACP,CAAC,EAAE,CAAC;oBACJ,CAAC,EAAE,EAAE;oBACL,CAAC,EAAE,EAAE;oBACL,IAAI,EAAE,IAAI;iBACX;aACF;SACF;KACF;IACD,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE;QACZ,eAAe,EAAE,SAAS;QAC1B,KAAK,EAAE,0BA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;oBACN,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,uDAAuD;iBAC9D;gBACD,WAAW,EAAE,WAAW;gBACxB,QAAQ,EAAE;oBACR,SAAS,EAAE,OAAO;oBAClB,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,IAAI;iBACb;aACF;SACF;KACF;CACoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AppManifest } from '@ankhorage/contracts';
|
|
2
|
+
import type { TemplateSeed } from '../../../starter.types';
|
|
3
|
+
/*** Create the authored starter while applying the caller's canonical app identity and theme. */
|
|
4
|
+
export declare function createPlantJournalStarterTemplate(seed: TemplateSeed): AppManifest;
|
|
5
|
+
//# sourceMappingURL=template.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,iGAAiG;AACjG,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,YAAY,GAAG,WAAW,CAiBjF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AUTHORED_PLANT_JOURNAL_MANIFEST } from './manifest';
|
|
2
|
+
/*** Create the authored starter while applying the caller's canonical app identity and theme. */
|
|
3
|
+
export function createPlantJournalStarterTemplate(seed) {
|
|
4
|
+
const theme = seed.theme ?? AUTHORED_PLANT_JOURNAL_MANIFEST.themes[0];
|
|
5
|
+
if (theme === undefined) {
|
|
6
|
+
throw new Error('The authored template requires one resolved theme.');
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
...AUTHORED_PLANT_JOURNAL_MANIFEST,
|
|
10
|
+
metadata: {
|
|
11
|
+
...AUTHORED_PLANT_JOURNAL_MANIFEST.metadata,
|
|
12
|
+
name: seed.appName,
|
|
13
|
+
slug: seed.slug,
|
|
14
|
+
version: seed.version ?? AUTHORED_PLANT_JOURNAL_MANIFEST.metadata.version,
|
|
15
|
+
themeId: theme.id,
|
|
16
|
+
},
|
|
17
|
+
themes: [theme],
|
|
18
|
+
activeThemeId: theme.id,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../../../../../src/templates/starter/categories/lifestyle/plant-journal/template.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,YAAY,CAAC;AAE7D,iGAAiG;AACjG,MAAM,UAAU,iCAAiC,CAAC,IAAkB;IAClE,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,+BAA+B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACtE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;IACxE,CAAC;IACD,OAAO;QACL,GAAG,+BAA+B;QAClC,QAAQ,EAAE;YACR,GAAG,+BAA+B,CAAC,QAAQ;YAC3C,IAAI,EAAE,IAAI,CAAC,OAAO;YAClB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,+BAA+B,CAAC,QAAQ,CAAC,OAAO;YACzE,OAAO,EAAE,KAAK,CAAC,EAAE;SAClB;QACD,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,aAAa,EAAE,KAAK,CAAC,EAAE;KACxB,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/templates",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.1",
|
|
4
4
|
"description": "Reusable Ankhorage app templates, presets, and manifest generators.",
|
|
5
5
|
"homepage": "https://github.com/ankhorage/templates#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@ankhorage/ankh": "^0.8.8",
|
|
84
|
-
"@ankhorage/devtools": "^1.10.
|
|
84
|
+
"@ankhorage/devtools": "^1.10.3",
|
|
85
85
|
"@ankhorage/doctor": "^0.10.6",
|
|
86
86
|
"@ankhorage/paradox": "^0.1.24",
|
|
87
87
|
"@types/bun": "^1.4.0",
|