ferst-core 0.12.0 → 0.12.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/bin/ferst-update.mjs +35 -0
- package/cms/config.template.yml +239 -232
- package/package.json +1 -1
package/bin/ferst-update.mjs
CHANGED
|
@@ -312,6 +312,28 @@ export function scaffoldFileAfterUpdate(path, upstreamRaw, currentRaw, coreRange
|
|
|
312
312
|
return out;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
+
/** The site's content folders the first scaffold ignored; routines and sessions commit them. */
|
|
316
|
+
const NO_LONGER_IGNORED = new Set(['public/uploads', 'public/uploads/', 'src/content/posts', 'src/content/posts/']);
|
|
317
|
+
const OLD_IGNORE_COMMENT = ['# Content authored in production by editors via /admin', '# git-proxy straight to the configured branch). Local dev edits must not pollute.'];
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Take `public/uploads/` and `src/content/posts/` (and the comment the first scaffold put above
|
|
321
|
+
* them) out of a site's .gitignore. The file is the site's own (a seed path, copied once), so
|
|
322
|
+
* only those lines go and every other rule stays. Keeps the file's line endings. Pure.
|
|
323
|
+
* @param {string} raw the site's .gitignore
|
|
324
|
+
* @returns {string | null} the new text, or null when there's nothing to change
|
|
325
|
+
*/
|
|
326
|
+
export function unignoreClientContent(raw) {
|
|
327
|
+
if (typeof raw !== 'string') return null;
|
|
328
|
+
const eol = raw.includes('\r\n') ? '\r\n' : '\n';
|
|
329
|
+
const lines = raw.split(/\r?\n/);
|
|
330
|
+
if (!lines.some((l) => NO_LONGER_IGNORED.has(l.trim()))) return null;
|
|
331
|
+
const kept = lines.filter((l) => !NO_LONGER_IGNORED.has(l.trim()) && !OLD_IGNORE_COMMENT.some((c) => l.trim().startsWith(c)));
|
|
332
|
+
// Don't leave a run of blank lines where the block was.
|
|
333
|
+
const tidy = kept.filter((l, i) => !(l.trim() === '' && i > 0 && kept[i - 1].trim() === ''));
|
|
334
|
+
return tidy.join(eol);
|
|
335
|
+
}
|
|
336
|
+
|
|
315
337
|
/** Whether a new drift stamp records a different state than the last (the time alone isn't). */
|
|
316
338
|
export function stampChanged(previous, next) {
|
|
317
339
|
if (!previous || typeof previous !== 'object') return true;
|
|
@@ -454,6 +476,9 @@ function main() {
|
|
|
454
476
|
const lf = (t) => t.replace(/\r\n/g, '\n'); // a checkout's line endings aren't a change
|
|
455
477
|
if (upstreamRaw === null || current === null || lf(scaffoldFileAfterUpdate(f, lf(upstreamRaw), lf(current), range)) !== lf(current)) dryScaffold.push(f);
|
|
456
478
|
}
|
|
479
|
+
try {
|
|
480
|
+
if (unignoreClientContent(readFileSync(resolve(cwd, '.gitignore'), 'utf8')) !== null) dryScaffold.push('.gitignore');
|
|
481
|
+
} catch { /* no .gitignore */ }
|
|
457
482
|
console.log('ferst-update: --dry-run — scaffold changes that WOULD apply:');
|
|
458
483
|
console.log(dryScaffold.length ? dryScaffold.map((f) => ` ${f}`).join('\n') : ' (no scaffold changes)');
|
|
459
484
|
} else {
|
|
@@ -500,6 +525,16 @@ function main() {
|
|
|
500
525
|
}
|
|
501
526
|
}
|
|
502
527
|
templateVersion = upstreamVersion ?? readTemplateVersion(raw);
|
|
528
|
+
// .gitignore is the site's own, but two of the first scaffold's lines stopped routines and
|
|
529
|
+
// sessions committing pictures and posts: take just those out.
|
|
530
|
+
const ignorePath = resolve(cwd, '.gitignore');
|
|
531
|
+
try {
|
|
532
|
+
const unignored = unignoreClientContent(readFileSync(ignorePath, 'utf8'));
|
|
533
|
+
if (unignored !== null) {
|
|
534
|
+
writeFileSync(ignorePath, unignored);
|
|
535
|
+
console.log('ferst-update: .gitignore no longer ignores public/uploads/ or src/content/posts/.');
|
|
536
|
+
}
|
|
537
|
+
} catch { /* no .gitignore */ }
|
|
503
538
|
const status = (tryGit('status --short', cwd) || '').trim();
|
|
504
539
|
scaffoldCount = status ? status.split(/\r?\n/).filter(Boolean).length : 0;
|
|
505
540
|
console.log('ferst-update: scaffold synced. git status --short:');
|
package/cms/config.template.yml
CHANGED
|
@@ -1,232 +1,239 @@
|
|
|
1
|
-
# Sveltia CMS — the content editor for a Ferst site. SINGLE SOURCE: this file lives
|
|
2
|
-
# in ferst-core and is written to dist/admin/config.yml at build by `ferst-cms-config`,
|
|
3
|
-
# so every client's collections are identical and always match the engine. The client
|
|
4
|
-
# repo commits NO config.yml — it is a build product, so it can never drift by hand.
|
|
5
|
-
#
|
|
6
|
-
# The backend repo (owner/name), git-proxy origin, its /git api_root and this
|
|
7
|
-
# deployment's branch are injected at build by ferst-cms-config.
|
|
8
|
-
backend:
|
|
9
|
-
name: github
|
|
10
|
-
repo: __REPO__
|
|
11
|
-
branch: __BRANCH__
|
|
12
|
-
base_url: __BASE_URL__
|
|
13
|
-
auth_endpoint: auth
|
|
14
|
-
api_root: __API_ROOT__
|
|
15
|
-
|
|
16
|
-
media_folder: public/uploads
|
|
17
|
-
public_folder: /uploads
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- { name:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- { name:
|
|
59
|
-
- { name:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
- { name:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
- { name:
|
|
136
|
-
- { name:
|
|
137
|
-
- { name:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
1
|
+
# Sveltia CMS — the content editor for a Ferst site. SINGLE SOURCE: this file lives
|
|
2
|
+
# in ferst-core and is written to dist/admin/config.yml at build by `ferst-cms-config`,
|
|
3
|
+
# so every client's collections are identical and always match the engine. The client
|
|
4
|
+
# repo commits NO config.yml — it is a build product, so it can never drift by hand.
|
|
5
|
+
#
|
|
6
|
+
# The backend repo (owner/name), git-proxy origin, its /git api_root and this
|
|
7
|
+
# deployment's branch are injected at build by ferst-cms-config.
|
|
8
|
+
backend:
|
|
9
|
+
name: github
|
|
10
|
+
repo: __REPO__
|
|
11
|
+
branch: __BRANCH__
|
|
12
|
+
base_url: __BASE_URL__
|
|
13
|
+
auth_endpoint: auth
|
|
14
|
+
api_root: __API_ROOT__
|
|
15
|
+
|
|
16
|
+
media_folder: public/uploads
|
|
17
|
+
public_folder: /uploads
|
|
18
|
+
|
|
19
|
+
# The site's own icon on the sign-in and in the header (the ferst() integration writes it
|
|
20
|
+
# into every build), so editors see their site, not the tools behind it.
|
|
21
|
+
logo_url: /apple-touch-icon.png
|
|
22
|
+
|
|
23
|
+
collections:
|
|
24
|
+
- name: settings
|
|
25
|
+
label: Site settings
|
|
26
|
+
files:
|
|
27
|
+
# No design tokens pane: a site's look is set in the portal, on its Design tab, for every
|
|
28
|
+
# site and branch (myai4-webdev #119). The themeSettings file is the portal's to write.
|
|
29
|
+
- name: identity
|
|
30
|
+
label: Identity & contact
|
|
31
|
+
file: src/content/siteSettings/index.json
|
|
32
|
+
icon: info
|
|
33
|
+
fields:
|
|
34
|
+
- name: identity
|
|
35
|
+
label: Identity
|
|
36
|
+
widget: object
|
|
37
|
+
fields:
|
|
38
|
+
- { name: siteTitle, label: Site title, widget: string }
|
|
39
|
+
- { name: shortName, label: Short name, widget: string }
|
|
40
|
+
- { name: description, label: Description, widget: text }
|
|
41
|
+
- { name: location, label: Location, widget: string, required: false }
|
|
42
|
+
- { name: kind, label: Kind of organisation, widget: select, required: false, default: organisation, options: [{ label: Church, value: church }, { label: School, value: school }, { label: Charity, value: charity }, { label: Business, value: business }, { label: Other organisation, value: organisation }], hint: "Tells search engines what the site is for." }
|
|
43
|
+
- name: contact
|
|
44
|
+
label: Contact
|
|
45
|
+
widget: object
|
|
46
|
+
fields:
|
|
47
|
+
- { name: phoneDisplay, label: Phone (display), widget: string, required: false }
|
|
48
|
+
- { name: phoneTel, label: 'Phone (tel: digits)', widget: string, required: false }
|
|
49
|
+
- { name: email, label: Email, widget: string, required: false }
|
|
50
|
+
- { name: facebookUrl, label: Facebook URL, widget: string, required: false }
|
|
51
|
+
- name: places
|
|
52
|
+
label: Places
|
|
53
|
+
label_singular: Place
|
|
54
|
+
widget: list
|
|
55
|
+
required: false
|
|
56
|
+
hint: "Each place the site is for, with its address (a parish may have several churches). Search engines read these."
|
|
57
|
+
fields:
|
|
58
|
+
- { name: name, label: Name, widget: string }
|
|
59
|
+
- { name: streetAddress, label: Street address, widget: string, required: false }
|
|
60
|
+
- { name: locality, label: Town, widget: string, required: false }
|
|
61
|
+
- { name: postalCode, label: Postcode, widget: string, required: false }
|
|
62
|
+
- { name: country, label: Country code, widget: string, required: false, default: GB }
|
|
63
|
+
- { name: mapUrl, label: Map link, widget: string, required: false }
|
|
64
|
+
- name: verification
|
|
65
|
+
label: Search engine verification
|
|
66
|
+
widget: object
|
|
67
|
+
required: false
|
|
68
|
+
collapsed: true
|
|
69
|
+
hint: "Codes from Google Search Console and Bing Webmaster Tools, when they ask for an HTML tag."
|
|
70
|
+
fields:
|
|
71
|
+
- { name: google, label: Google code, widget: string, required: false }
|
|
72
|
+
- { name: bing, label: Bing code, widget: string, required: false }
|
|
73
|
+
|
|
74
|
+
- name: logos
|
|
75
|
+
label: Logos
|
|
76
|
+
file: src/content/logoSettings/index.json
|
|
77
|
+
icon: image
|
|
78
|
+
fields:
|
|
79
|
+
- { name: primaryLogoLight, label: Header logo (light), widget: image, required: false }
|
|
80
|
+
- { name: primaryLogoDark, label: Header logo (dark), widget: image, required: false }
|
|
81
|
+
- { name: secondaryLogoLight, label: Footer logo (light), widget: image, required: false }
|
|
82
|
+
- { name: secondaryLogoDark, label: Footer logo (dark), widget: image, required: false }
|
|
83
|
+
- { name: favicon, label: Browser icon, widget: image, required: false, hint: "A square image (PNG or SVG), at least 48 x 48. Leave blank to use the header logo if it's square, or the site's initial in its brand colour." }
|
|
84
|
+
|
|
85
|
+
- name: navbar
|
|
86
|
+
label: Navigation
|
|
87
|
+
file: src/content/navbarSettings/index.json
|
|
88
|
+
icon: menu
|
|
89
|
+
fields:
|
|
90
|
+
- name: primary
|
|
91
|
+
label: Primary links
|
|
92
|
+
widget: list
|
|
93
|
+
fields:
|
|
94
|
+
- { name: label, label: Label, widget: string }
|
|
95
|
+
- { name: href, label: Link, widget: string }
|
|
96
|
+
- name: cta
|
|
97
|
+
label: Header button
|
|
98
|
+
widget: object
|
|
99
|
+
required: false
|
|
100
|
+
hint: The button at the right of the header (and in the footer). Leave as Contact → /contact/ unless your contact page lives elsewhere.
|
|
101
|
+
fields:
|
|
102
|
+
- { name: label, label: Label, widget: string, default: Contact }
|
|
103
|
+
- { name: href, label: Link, widget: string, default: /contact/ }
|
|
104
|
+
|
|
105
|
+
- name: footer
|
|
106
|
+
label: Footer
|
|
107
|
+
file: src/content/footerSettings/index.json
|
|
108
|
+
icon: table_rows
|
|
109
|
+
fields:
|
|
110
|
+
- name: footer
|
|
111
|
+
label: Footer links
|
|
112
|
+
widget: list
|
|
113
|
+
fields:
|
|
114
|
+
- { name: label, label: Label, widget: string }
|
|
115
|
+
- { name: href, label: Link, widget: string }
|
|
116
|
+
- name: groups
|
|
117
|
+
label: Footer columns
|
|
118
|
+
widget: list
|
|
119
|
+
required: false
|
|
120
|
+
hint: Headed columns for policies, safeguarding, documents and forms — keep the main menu short.
|
|
121
|
+
fields:
|
|
122
|
+
- { name: heading, label: Heading, widget: string }
|
|
123
|
+
- name: links
|
|
124
|
+
label: Links
|
|
125
|
+
widget: list
|
|
126
|
+
fields:
|
|
127
|
+
- { name: label, label: Label, widget: string }
|
|
128
|
+
- { name: href, label: Link, widget: string }
|
|
129
|
+
|
|
130
|
+
- name: calendar-settings
|
|
131
|
+
label: Calendar
|
|
132
|
+
file: src/content/calendarSettings/index.json
|
|
133
|
+
icon: calendar_today
|
|
134
|
+
fields:
|
|
135
|
+
- { name: title, label: Heading, widget: string, default: Calendar }
|
|
136
|
+
- { name: intro, label: Intro, widget: text, required: false }
|
|
137
|
+
- { name: embedUrl, label: Embed URL, widget: string, required: false }
|
|
138
|
+
- { name: publicUrl, label: Public link, widget: string, required: false }
|
|
139
|
+
- { name: height, label: Height (px), widget: number, default: 700, value_type: int, min: 200, max: 2000 }
|
|
140
|
+
- { name: provider, label: Provider name, widget: string, default: Google Calendar }
|
|
141
|
+
- { name: weekStart, label: Week starts on, widget: select, default: monday, options: [{ label: "Monday", value: monday }, { label: "Sunday", value: sunday }] }
|
|
142
|
+
|
|
143
|
+
- name: posts-settings
|
|
144
|
+
label: News
|
|
145
|
+
file: src/content/postsSettings/index.json
|
|
146
|
+
icon: newspaper
|
|
147
|
+
fields:
|
|
148
|
+
- { name: title, label: Heading, widget: string, default: News }
|
|
149
|
+
- { name: intro, label: Intro, widget: text, required: false }
|
|
150
|
+
- { name: perPage, label: Posts per page, widget: number, default: 12, value_type: int, min: 1, max: 48, hint: "How many posts each news page shows. 12 fills rows of one, two, three or four evenly." }
|
|
151
|
+
- { name: excludeFromIndex, label: Tags kept off the main news page, widget: list, required: false, hint: "Tag names (for example newsletter) whose posts appear only on their own tag page." }
|
|
152
|
+
|
|
153
|
+
- name: posts
|
|
154
|
+
label: Posts
|
|
155
|
+
label_singular: Post
|
|
156
|
+
folder: src/content/posts
|
|
157
|
+
create: true
|
|
158
|
+
slug: "{{slug}}"
|
|
159
|
+
extension: md
|
|
160
|
+
format: frontmatter
|
|
161
|
+
icon: article
|
|
162
|
+
summary: "{{title}} — {{date}}"
|
|
163
|
+
# Newest first: editors look for what they wrote last.
|
|
164
|
+
sortable_fields:
|
|
165
|
+
fields: [date, title]
|
|
166
|
+
default: { field: date, direction: descending }
|
|
167
|
+
fields:
|
|
168
|
+
- { name: title, label: Title, widget: string }
|
|
169
|
+
- { name: date, label: Date, widget: datetime, picker_utc: true }
|
|
170
|
+
- { name: summary, label: Summary, widget: text, required: false }
|
|
171
|
+
- name: tags
|
|
172
|
+
label: Tags
|
|
173
|
+
widget: relation
|
|
174
|
+
required: false
|
|
175
|
+
collection: tags
|
|
176
|
+
value_field: "{{slug}}"
|
|
177
|
+
display_fields: [label]
|
|
178
|
+
search_fields: [label]
|
|
179
|
+
multiple: true
|
|
180
|
+
- { name: heroImage, label: Hero image, widget: image, required: false }
|
|
181
|
+
- { name: heroImageAlt, label: Picture description, widget: string, required: false, hint: "Who or what the picture shows, in a short sentence, for people who can't see it (e.g. Parishioners outside the church after the Easter Vigil). Leave empty if it's only decoration." }
|
|
182
|
+
- { name: attachment, label: Attachment (e.g. PDF), widget: file, required: false }
|
|
183
|
+
- { name: draft, label: Draft, widget: boolean, default: false, required: false }
|
|
184
|
+
- { name: body, label: Body, widget: markdown, required: false }
|
|
185
|
+
|
|
186
|
+
- name: tags
|
|
187
|
+
label: Tags
|
|
188
|
+
label_singular: Tag
|
|
189
|
+
folder: src/content/tags
|
|
190
|
+
create: true
|
|
191
|
+
slug: "{{slug}}"
|
|
192
|
+
extension: json
|
|
193
|
+
format: json
|
|
194
|
+
icon: label
|
|
195
|
+
identifier_field: label
|
|
196
|
+
fields:
|
|
197
|
+
- { name: label, label: Label, widget: string }
|
|
198
|
+
- { name: description, label: Description, widget: text, required: false }
|
|
199
|
+
- { name: hidden, label: Hidden, widget: boolean, default: false, required: false }
|
|
200
|
+
|
|
201
|
+
- name: pages
|
|
202
|
+
label: Pages
|
|
203
|
+
label_singular: Page
|
|
204
|
+
description: "__PAGES_DESCRIPTION__"
|
|
205
|
+
folder: src/content/pages
|
|
206
|
+
extension: json
|
|
207
|
+
format: json
|
|
208
|
+
icon: description
|
|
209
|
+
# Pages are added, published and made drafts on the portal's Pages tab, within the site's
|
|
210
|
+
# plan (myai4-webdev #119): the CMS shows each page, for its people to request changes.
|
|
211
|
+
create: false
|
|
212
|
+
delete: false
|
|
213
|
+
nested: { depth: 3, summary: "{{title}}" }
|
|
214
|
+
summary: "{{title}}"
|
|
215
|
+
identifier_field: title
|
|
216
|
+
fields:
|
|
217
|
+
- { name: title, label: Page title, widget: string }
|
|
218
|
+
# ferst:requests (the Basic plan only: bin/cms-config.mjs leaves it out on the free plan)
|
|
219
|
+
- name: requests
|
|
220
|
+
label: Requested changes
|
|
221
|
+
label_singular: Request
|
|
222
|
+
widget: list
|
|
223
|
+
required: false
|
|
224
|
+
summary: "{{fields.text}}"
|
|
225
|
+
fields:
|
|
226
|
+
- { name: text, label: "What would you like changed?", widget: text }
|
|
227
|
+
- { name: status, label: Status, widget: select, default: open, options: [{ label: Open, value: open }, { label: Done, value: done }] }
|
|
228
|
+
# Stamped by the platform when the request is raised with the team (who, when, the
|
|
229
|
+
# tracking number). Hidden, but kept on every save so a request is raised only once.
|
|
230
|
+
- { name: issue, widget: hidden, required: false }
|
|
231
|
+
- { name: by, widget: hidden, required: false }
|
|
232
|
+
- { name: at, widget: hidden, required: false }
|
|
233
|
+
# /ferst:requests
|
|
234
|
+
- { name: description, label: SEO description, widget: hidden, required: false }
|
|
235
|
+
- { name: heroImage, widget: hidden, required: false }
|
|
236
|
+
- { name: align, widget: hidden, required: false }
|
|
237
|
+
- { name: templateId, widget: hidden, required: false }
|
|
238
|
+
- { name: draft, widget: hidden, required: false }
|
|
239
|
+
- { name: blocks, widget: hidden }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ferst-core",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ferst Core — the shared, brand-agnostic client-site system: Astro components, layouts, content schemas, the layered config resolver, and a neutral styling architecture that every client overrides.",
|
|
6
6
|
"license": "BUSL-1.1",
|