@softure-ai/marketing-kit 0.16.0 → 0.18.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/CHANGELOG.md +65 -0
- package/README.md +72 -19
- package/dist/config/actions-schema.d.ts +14 -14
- package/dist/config/config.d.ts.map +1 -1
- package/dist/config/config.js +11 -1
- package/dist/config/config.js.map +1 -1
- package/dist/config/schema.d.ts +78 -70
- package/dist/config/schema.d.ts.map +1 -1
- package/dist/config/schema.js +25 -8
- package/dist/config/schema.js.map +1 -1
- package/dist/config/shot-steps.d.ts +16 -16
- package/dist/footage/compose.d.ts +17 -3
- package/dist/footage/compose.d.ts.map +1 -1
- package/dist/footage/compose.js +61 -17
- package/dist/footage/compose.js.map +1 -1
- package/dist/footage/declick.d.ts +49 -41
- package/dist/footage/declick.d.ts.map +1 -1
- package/dist/footage/declick.js +181 -92
- package/dist/footage/declick.js.map +1 -1
- package/dist/footage/film.d.ts +45 -2
- package/dist/footage/film.d.ts.map +1 -1
- package/dist/footage/film.js +23 -0
- package/dist/footage/film.js.map +1 -1
- package/dist/footage/isolate-ranges.d.ts +10 -1
- package/dist/footage/isolate-ranges.d.ts.map +1 -1
- package/dist/footage/isolate-ranges.js +56 -10
- package/dist/footage/isolate-ranges.js.map +1 -1
- package/dist/footage/paid.d.ts +1 -1
- package/dist/footage/paid.d.ts.map +1 -1
- package/dist/footage/paid.js +3 -2
- package/dist/footage/paid.js.map +1 -1
- package/dist/footage/pipeline.d.ts +6 -0
- package/dist/footage/pipeline.d.ts.map +1 -1
- package/dist/footage/pipeline.js +19 -14
- package/dist/footage/pipeline.js.map +1 -1
- package/dist/footage/render.d.ts +5 -1
- package/dist/footage/render.d.ts.map +1 -1
- package/dist/footage/render.js +6 -2
- package/dist/footage/render.js.map +1 -1
- package/dist/footage/speech-ranges.d.ts +28 -1
- package/dist/footage/speech-ranges.d.ts.map +1 -1
- package/dist/footage/speech-ranges.js +47 -2
- package/dist/footage/speech-ranges.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/og/character-map.d.ts +2 -1
- package/dist/og/character-map.d.ts.map +1 -1
- package/dist/og/character-map.js +7 -63
- package/dist/og/character-map.js.map +1 -1
- package/dist/og/font-file.d.ts +53 -0
- package/dist/og/font-file.d.ts.map +1 -0
- package/dist/og/font-file.js +153 -0
- package/dist/og/font-file.js.map +1 -0
- package/dist/og/font-tables.d.ts +25 -0
- package/dist/og/font-tables.d.ts.map +1 -0
- package/dist/og/font-tables.js +212 -0
- package/dist/og/font-tables.js.map +1 -0
- package/dist/og/index.d.ts +3 -1
- package/dist/og/index.d.ts.map +1 -1
- package/dist/og/index.js +2 -1
- package/dist/og/index.js.map +1 -1
- package/dist/og/photo-cover.d.ts +49 -8
- package/dist/og/photo-cover.d.ts.map +1 -1
- package/dist/og/photo-cover.js +213 -53
- package/dist/og/photo-cover.js.map +1 -1
- package/package.json +1 -1
- package/schema/marketing.schema.json +76 -23
- package/src/config/config.ts +10 -2
- package/src/config/schema.ts +24 -5
- package/src/footage/compose.ts +72 -17
- package/src/footage/declick.ts +172 -97
- package/src/footage/film.ts +54 -2
- package/src/footage/isolate-ranges.ts +66 -11
- package/src/footage/paid.ts +3 -3
- package/src/footage/pipeline.ts +25 -14
- package/src/footage/render.ts +7 -3
- package/src/footage/speech-ranges.ts +55 -3
- package/src/index.ts +34 -5
- package/src/og/character-map.ts +8 -61
- package/src/og/font-file.ts +172 -0
- package/src/og/font-tables.ts +221 -0
- package/src/og/index.ts +19 -0
- package/src/og/photo-cover.ts +259 -62
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,71 @@ Newest first. Each version lists what changed for an app that uses `@softure-ai/
|
|
|
4
4
|
production, the version gets a line `verified in: <app>@<commit>` ([docs/05](../../docs/05-adoption-playbook.md),
|
|
5
5
|
"Definition of done"). Versions before the first one below are described in their GitHub Releases (`marketing-kit@x.y.z`).
|
|
6
6
|
|
|
7
|
+
## 0.18.0
|
|
8
|
+
|
|
9
|
+
- **The speech declick repairs impulses and no longer gates speech (#1170):** `speech.declick` `gentle` and `strong`
|
|
10
|
+
lowered the pauses between transcript words by 15 or 20 dB; the transcript's boundaries are 20 to 60 ms off the real
|
|
11
|
+
sound, so the gate lowered decays and onsets and was heard as hoarseness and pumping. Now the stage changes no gain:
|
|
12
|
+
nothing within ±80 ms of a word is touched, and each single impulse in a longer pause (a burst under 12 ms) is
|
|
13
|
+
replaced by least-squares AR interpolation with a 3 ms crossfade on each side; every other sample is unchanged. The
|
|
14
|
+
default stays `off`. Breaking for apps that import the stage's internals:
|
|
15
|
+
- `DeclickReport` is `{ level, impulses, repairs }` (`repairs`: each repaired impulse's `start` and `end` in
|
|
16
|
+
seconds); `gateDb` is gone, and the log line lists the repair times;
|
|
17
|
+
- `getGateWindows`, `getDeclickGain`, `DECLICK_GATE_FADE`, `DECLICK_IMPULSE_DB`, `DECLICK_WORD_WINDOW` and
|
|
18
|
+
`DeclickSettings.gateDb` / `crossfadeSeconds` are removed; new are `getRepairZones`, `repairSpan`,
|
|
19
|
+
`getArPolynomial`, `DECLICK_WORD_GUARD`, `DECLICK_CROSSFADE`, `DECLICK_AR_ORDER` and `DECLICK_AR_CONTEXT`;
|
|
20
|
+
- `DECLICK_MAX_IMPULSE` is 12 ms (was 30 ms).
|
|
21
|
+
|
|
22
|
+
- **Where the cover's text and focus landed (#1172):** `PhotoCover` answers `textBox` (the drawn text with its shadow,
|
|
23
|
+
the box the fit check measured, `{ left, top, right, bottom }` in pixels with right and bottom excluded; null for
|
|
24
|
+
layout `photo`) and `focusPoint` (`{ x, y }`, the focus point on the cover after the crop). The new
|
|
25
|
+
`isPointUnderCoverText(cover, point, marginPx = 0)` tells whether a point lies under the text, so an app can warn when
|
|
26
|
+
the caption covers the photo's subject without re-deriving the kit's layout rules. Types `CoverBox` and `CoverPoint`.
|
|
27
|
+
- **Read an uploaded font file (#1174):** `readFontFileInfo(data)` answers a `.ttf`, `.otf`, `.woff` or `.woff2`
|
|
28
|
+
file's family, format, weight (static, or a variable `wght` range), the CSS weight a `brand.fonts` file takes,
|
|
29
|
+
style, and whether captions, the footage draft and OG images (the photo cover included) can use it, with a reason
|
|
30
|
+
code when not. A `.woff2` file says it is not usable for the cover (Satori does not read it), so an app refuses it
|
|
31
|
+
at upload. `findMissingCharacters(data, characters)` runs the glyph check on a file directly. Both are exported
|
|
32
|
+
from `.` and `./og` and return error values, never exceptions.
|
|
33
|
+
- `readCharacterMap` reads WOFF2 files too (their tables are Brotli-decompressed), and a file it cannot read says
|
|
34
|
+
"not a TrueType, OpenType, WOFF or WOFF2 font".
|
|
35
|
+
|
|
36
|
+
- **A footage end card of any length and a short logo card (#1173):** a footage film's `endCard` takes `seconds`
|
|
37
|
+
(1-3, default 3, so today's films are unchanged); `getFootageFilmSeconds`, the paid-step estimate and the dry run
|
|
38
|
+
follow it, and a shorter full card plays its entrances faster. `endCard.layout: "logo"` draws a short brand card:
|
|
39
|
+
the brand's background fading in over `fadeSeconds` (default 0.2), the logo (the card's own `logo`, `.svg` or `.png`
|
|
40
|
+
with alpha; else `brand.logo`; else the brand name) and an optional `line`, inside the 9:16 platform safe zone, for
|
|
41
|
+
`seconds` (default 1.5), with the music fading out over the whole card to the film's end (`buildMusicArgs` takes
|
|
42
|
+
`fadeOutSeconds`). The glyph check covers the line. New exports: `FootageEndCard`, `FullFootageEndCard`,
|
|
43
|
+
`LogoFootageEndCard`, `getEndCardSeconds`, `getEndCardTexts`, `getLogoCardBox`, `DEFAULT_END_CARD_SECONDS`,
|
|
44
|
+
`DEFAULT_LOGO_END_CARD_SECONDS`, `DEFAULT_LOGO_END_CARD_FADE_SECONDS`. The footage pipeline now copies the logo with
|
|
45
|
+
its own extension (`assets/logo.png` for a PNG).
|
|
46
|
+
|
|
47
|
+
## 0.17.0
|
|
48
|
+
|
|
49
|
+
- **Cached speech ranges land at the pre-gained level (#1159):** since the speech pre-gain (#1139) `isolateSpeechRanges`
|
|
50
|
+
lays every cleaned window over the clip's pre-gained sound, but a range cached from the un-gained sound kept its old
|
|
51
|
+
level, so the voice dropped by the clip's pre-gain (about 17 dB on a quiet phone clip) inside that window. Now:
|
|
52
|
+
- a bought range records the gain of the sound it was cut from next to its cached file
|
|
53
|
+
(`<path>.gain.json`, `{ "inputGainDb": <dB> }`; `getSpeechRangeGainPath`, `formatSpeechRangeGain`,
|
|
54
|
+
`readSpeechRangeGain`). Commit it with the cached file;
|
|
55
|
+
- each laid window is raised by the clip's pre-gain minus that gain. A cached range without a record is told apart by
|
|
56
|
+
its loudness against the same range of the clip's pre-gained sound (`getRangeInputGainDb`, `buildRangeMeasureArgs`),
|
|
57
|
+
so ranges bought before 0.16.0 and with 0.16.0 both land right. Cache keys are unchanged: nothing is bought again;
|
|
58
|
+
- each range answers the `gainDb` it was raised by (`LaidRange.gainDb` in `buildRangeLayArgs`), and
|
|
59
|
+
`IsolatedSpeech.speechGainDb` and `TranscribeOutcome.speechGainDb` (optional in the type, always answered) give each
|
|
60
|
+
clip's pre-gain in dB, so an app that lays its own cached ranges over the speech map can apply the same correction.
|
|
61
|
+
|
|
62
|
+
- **Photo cover layouts (#1163):** `renderPhotoCover` takes `layout` (`PHOTO_COVER_LAYOUTS`: `photo`,
|
|
63
|
+
`title-bottom`, `title-center`, `title-top`, `kicker-title`, `pill`), `kicker` (at most 40 characters, drawn by
|
|
64
|
+
`kicker-title` above the caption) and `tone` (`light`: light text over a dark scrim, the default; `dark`: dark text
|
|
65
|
+
over a light scrim). Each layout keeps its text to its part of the centre 4:5 band (the lower half, the middle third
|
|
66
|
+
or the upper half), measured on the drawn pixels, and refuses text that does not fit. The scrim follows the text
|
|
67
|
+
(from the bottom, from the top, a stripe behind a centred title); the `pill` label (at most 32 characters) sits in a
|
|
68
|
+
rounded box of the dark colour instead. An overlong kicker or pill label, a character the fonts cannot draw in either,
|
|
69
|
+
a layout without the text it needs and a text its layout does not draw are errors. Without `layout` a call draws what
|
|
70
|
+
it drew in 0.16.0.
|
|
71
|
+
|
|
7
72
|
## 0.16.0
|
|
8
73
|
|
|
9
74
|
- **Provider failures carry structured details (#1141):** a failed answer of a footage provider (`TtsResult` with
|
package/README.md
CHANGED
|
@@ -703,19 +703,33 @@ softure-marketing footage <film> --step=render # the EDL as it is, maybe e
|
|
|
703
703
|
`CAPTION_PILL_PADDING`) for an app that sizes the box itself. Before the render the caption and end-card fonts are checked against the film's words: a letter no
|
|
704
704
|
file of the brand font draws (an accented letter outside a Latin-only subset) stops the run with the letters it lacks. The **end card** follows the cut over its last
|
|
705
705
|
frame. `social.posts` may name a footage film; its `posts.md` carries no persona disclosure.
|
|
706
|
+
- **End card (`endCard`, issue #1173):** no speech plays under it; the music plays on. Two layouts:
|
|
707
|
+
- `"full"` (the default when `layout` is left out): the brand row, `headline`, the `url` pill and the `note`, for
|
|
708
|
+
`seconds` (1-3, default 3; a shorter card plays its entrances faster, so every line is on screen before the end);
|
|
709
|
+
- `"logo"`: a short brand card, `{ "layout": "logo", "line": "Follow for more", "logo": "brand/mark.png" }`. The
|
|
710
|
+
brand's background fades in over the last frame in `fadeSeconds` (default 0.2), with the logo (its own `logo`, an
|
|
711
|
+
`.svg` or a `.png` with alpha; else `brand.logo`; else the brand name) and the optional `line` in the heading font,
|
|
712
|
+
inside the 9:16 platform safe zone (the film's `captionPreset`, `all` without one; `getLogoCardBox`). An SVG fills
|
|
713
|
+
a 720×480 box as a vector; a PNG is never drawn past its own pixels, so give it at least the size it should show at
|
|
714
|
+
1080×1920. It lasts `seconds` (1-3, default 1.5), and the music fades out over the whole card to the film's end.
|
|
715
|
+
The film's length is the cut plus `getEndCardSeconds(endCard)` (`getFootageFilmSeconds`), the final loudness pass
|
|
716
|
+
(`mixLoudness`) covers the card, and the glyph check covers the card's line. The end card's pop plays only when it
|
|
717
|
+
starts before the film's end.
|
|
706
718
|
- **Paying:** without `--commit` a run that needs a paid call prints each one (speech to text, isolation, music) with
|
|
707
719
|
the seconds billed and stops; nothing is sent. `--placeholder` rehearses without any paid call: a transcript from
|
|
708
720
|
each talking clip's `script` (its words spread evenly over the clip), no isolation, no generated music (a local
|
|
709
721
|
music file still plays). It writes `edl.placeholder.json` and `<film>.placeholder.mp4`, never the real film's files.
|
|
710
|
-
- **Mouth clicks (`speech.declick`,
|
|
711
|
-
speech track and its loudness pass (the draft runs it too).
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
2-8 kHz energy jumps 15 dB
|
|
715
|
-
hop) are
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
722
|
+
- **Mouth clicks (`speech.declick`, issues #1084, #1170):** `"gentle"` or `"strong"` adds a declick stage between
|
|
723
|
+
the cut speech track and its loudness pass (the draft runs it too). It repairs single impulses and changes no gain:
|
|
724
|
+
nothing within ±80 ms of a transcript word is touched (`DECLICK_WORD_GUARD`; the speech-to-text boundaries are 20 to
|
|
725
|
+
60 ms off the real sound), so only pauses longer than 160 ms are searched. An impulse is a burst under 12 ms whose
|
|
726
|
+
2-8 kHz energy jumps 15 dB (`gentle`) or 9 dB (`strong`) above the band's running median over ±100 ms (2 ms frames,
|
|
727
|
+
1 ms hop); its samples are replaced by least-squares AR interpolation (order 24, fitted by Burg's method on 10 ms on
|
|
728
|
+
each side) joined to the original by a 3 ms raised-cosine crossfade on each side. Every other sample leaves the
|
|
729
|
+
stage as it came in, and a track without words is not repaired. The log and the result's `declick`
|
|
730
|
+
(`{ level, impulses, repairs }`, each repair's start and end in seconds; null when off) report every intervention.
|
|
731
|
+
`"off"` (the default) runs no extra pass: the speech track is unchanged. Until 0.17.0 the levels also gated the
|
|
732
|
+
pauses by 15 or 20 dB, which lowered decays and onsets (heard as hoarseness and pumping); that gate is gone.
|
|
719
733
|
- **A lossless speech chain (issue #1139):** each clip's sound is read from its source (with the clip's trim) into
|
|
720
734
|
`audio/<clip>.wav`, 24-bit 48 kHz stereo, and pre-gained right away by one linear gain to about −23 LUFS, its true
|
|
721
735
|
peak kept at or under −3 dBTP (`SPEECH_PRE_GAIN`); a b-roll or other non-talking clip takes the mean gain of the
|
|
@@ -908,8 +922,13 @@ await renderFootage(film, clips, { ...transcript, speech: isolated.value.speech
|
|
|
908
922
|
(with the last `error`, `attempts` and `providerFailure`, null when the provider gave none), `skipped` (too short for
|
|
909
923
|
the provider) or `not_bought` (without `isCommit`).
|
|
910
924
|
- Each range is cut for the isolator from the clip's lossless, pre-gained sound (`<buildDir>/audio/<clip>.wav`, as
|
|
911
|
-
the speech chain reads it) as WAV
|
|
912
|
-
|
|
925
|
+
the speech chain reads it) as WAV, and the gain it was cut at is recorded next to its cached file
|
|
926
|
+
(`<path>.gain.json`, `getSpeechRangeGainPath`; commit it with the file). Every window lands at the level of the
|
|
927
|
+
clip's pre-gained sound (#1159): a range cached before the pre-gain (#1139) was cleaned from the un-gained sound, so
|
|
928
|
+
it is raised by the clip's pre-gain. A range without a record is told apart by its loudness against the same range
|
|
929
|
+
of the clip's sound (`getRangeInputGainDb`: nearer to the clip's gain under it means un-gained). Each range answers
|
|
930
|
+
the `gainDb` it was raised by, and the outcome answers `speechGainDb`, each clip's pre-gain, as `transcribeFootage`
|
|
931
|
+
does: an app that lays its own cached ranges over the speech map raises one cut from the un-gained sound by it.
|
|
913
932
|
- Each clip's cleaned windows are laid over its lossless sound into `<buildDir>/audio/<clip>.ranges.wav`, as long as the
|
|
914
933
|
clip; overlapping ranges switch at the middle of their overlap, and a mono answer goes to both channels at full level.
|
|
915
934
|
Every join is a linear crossfade of `fadeMs` (default 15; 0 switches at once): centred on a switch between two
|
|
@@ -1182,6 +1201,20 @@ every weight the copy uses: a letter only a `latin-ext` file of another weight h
|
|
|
1182
1201
|
lighter or heavier than its line, so it is refused like a missing one. Whitespace, format characters
|
|
1183
1202
|
and variation selectors are not checked; emoji are, and need a font that has them.
|
|
1184
1203
|
|
|
1204
|
+
**An uploaded font file.** An app that lets its owner upload a brand font reads it with `readFontFileInfo(data)`
|
|
1205
|
+
before storing it as a `brand.fonts` file: the `family` (the typographic family, name ID 16, else name ID 1), the
|
|
1206
|
+
`format` (`ttf`, `otf`, `woff`, `woff2`), the `weight` (`{ kind: "static", value }` from `OS/2`, or
|
|
1207
|
+
`{ kind: "variable", min, max, default }` from a `wght` axis), `cssWeight` (`"400"` or `"100 900"`, as a file's
|
|
1208
|
+
`weight` takes it) and the `style`. `usableFor` answers each use, `captions` (the browser render: all four
|
|
1209
|
+
formats), `draft` (libass: `.ttf` and `.otf` that name a family) and `cover` (Satori, OG images and the photo
|
|
1210
|
+
cover: static `.ttf`, `.otf` and `.woff` at 100-900 in steps of 100), with `{ isUsable: false, reason, detail }`
|
|
1211
|
+
where it cannot be used: `reason` is a code (`format`, `variable`, `weight`, `character-map`, `family-name`) the app
|
|
1212
|
+
words in its own language, `detail` an English sentence for logs. A `.woff2` file is read but not drawn on the
|
|
1213
|
+
cover, so refuse it there at upload, or ask for a `.ttf`, `.otf` or `.woff` next to it.
|
|
1214
|
+
`findMissingCharacters(data, characters)` lists the characters the file has no glyph for, unique and in order
|
|
1215
|
+
(whitespace skipped), e.g. the Polish letters an app requires. Both return error values for a broken file, never
|
|
1216
|
+
exceptions.
|
|
1217
|
+
|
|
1185
1218
|
**A thin Next route.** The `@softure-ai/marketing-kit/og` entry does not load Playwright, so a route
|
|
1186
1219
|
can render the same card per request, with live values in place of the configured `data`:
|
|
1187
1220
|
|
|
@@ -1218,7 +1251,7 @@ renders without a `marketing.json` at all. For a carousel, pass `slide` (1-based
|
|
|
1218
1251
|
photo the owner picks, instead of a frame of the film:
|
|
1219
1252
|
|
|
1220
1253
|
```ts
|
|
1221
|
-
import { loadOgFonts, renderPhotoCover } from "@softure-ai/marketing-kit/og";
|
|
1254
|
+
import { isPointUnderCoverText, loadOgFonts, renderPhotoCover } from "@softure-ai/marketing-kit/og";
|
|
1222
1255
|
|
|
1223
1256
|
const fonts = loadOgFonts(config.brand.fonts);
|
|
1224
1257
|
if (!fonts.ok) throw new Error(fonts.error);
|
|
@@ -1230,21 +1263,41 @@ const cover = await renderPhotoCover({
|
|
|
1230
1263
|
fonts: fonts.value,
|
|
1231
1264
|
});
|
|
1232
1265
|
if (!cover.ok) throw new Error(cover.error);
|
|
1233
|
-
// cover.value: { jpeg, width: 1080, height: 1920, bytes }
|
|
1266
|
+
// cover.value: { jpeg, width: 1080, height: 1920, bytes, textBox, focusPoint }
|
|
1267
|
+
if (isPointUnderCoverText(cover.value, cover.value.focusPoint, 40)) console.warn("the caption covers the photo's subject");
|
|
1234
1268
|
```
|
|
1235
1269
|
|
|
1236
1270
|
- The photo is scaled to cover `size` (1080×1920 by default) and cropped so the `focus` point (fractions of the
|
|
1237
1271
|
upright photo's width and height) sits as near the centre as the photo allows. EXIF orientation (JPEG `APP1`, PNG
|
|
1238
1272
|
`eXIf`) is applied first.
|
|
1239
|
-
- The
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
platforms keep when they crop the cover for the
|
|
1243
|
-
|
|
1244
|
-
|
|
1273
|
+
- The text is set in the brand's heading font (the loaded weight nearest 700), centred, in the lighter of the brand's
|
|
1274
|
+
`foreground` and `background`, with a soft shadow and a gradient scrim of the darker one behind it. `tone: "dark"`
|
|
1275
|
+
swaps them (dark text over a light scrim); `tone: "light"` is the default. The text keeps to its part of the centre
|
|
1276
|
+
4:5 band (1080×1350 of 1080×1920; `getCoverBand(size)`), which the platforms keep when they crop the cover for the
|
|
1277
|
+
profile grid; a long caption wraps. A caption over 80 characters, a kicker over 40, a pill label over 32, text whose
|
|
1278
|
+
drawn pixels reach outside its part of the band (measured on the pixels, so it holds for any font) and a character
|
|
1279
|
+
the fonts cannot draw are errors, never drawn or clipped.
|
|
1280
|
+
- `layout` picks where the text goes (`PHOTO_COVER_LAYOUTS`). Without it, a caption is `title-bottom` and no caption
|
|
1281
|
+
is `photo`, so a call without `layout` draws what it always drew. A layout that needs a text it was not given, or a
|
|
1282
|
+
text its layout does not draw, is an error.
|
|
1283
|
+
|
|
1284
|
+
| `layout` | Draws | Example |
|
|
1285
|
+
| --- | --- | --- |
|
|
1286
|
+
| `photo` | the cropped photo alone | `{ layout: "photo" }` |
|
|
1287
|
+
| `title-bottom` | the caption in the lower half of the band, the scrim rising from the bottom | `{ layout: "title-bottom", caption: "Stop working at 49" }` |
|
|
1288
|
+
| `title-center` | the caption in the band's middle third, the scrim a soft stripe behind it | `{ layout: "title-center", caption: "One evening, real numbers" }` |
|
|
1289
|
+
| `title-top` | the caption in the upper half of the band, the scrim falling from the top | `{ layout: "title-top", caption: "Retire at 49?" }` |
|
|
1290
|
+
| `kicker-title` | a small kicker line above the caption, in the lower half | `{ layout: "kicker-title", kicker: "Episode 3", caption: "The early retirement plan" }` |
|
|
1291
|
+
| `pill` | the caption as a short label in a rounded box of the dark colour (the box is its scrim), in the lower half | `{ layout: "pill", caption: "Lisbon, Portugal" }` |
|
|
1292
|
+
|
|
1245
1293
|
- The result is a baseline JPEG (`quality` 90 by default) of exactly the size, with its `width`, `height` and
|
|
1246
1294
|
`bytes`. No network, no system fonts. An ICC profile in the photo (e.g. Display P3) is not converted: its values are
|
|
1247
1295
|
taken as sRGB.
|
|
1296
|
+
- The result also says where things landed, in pixels of the cover: `textBox` (`{ left, top, right, bottom }`, right
|
|
1297
|
+
and bottom excluded) is the drawn text with its shadow, the box the fit check measured (null for layout `photo`), and
|
|
1298
|
+
`focusPoint` (`{ x, y }`) is where the focus point landed after the crop, off-centre when the photo's edge stopped the
|
|
1299
|
+
shift. `isPointUnderCoverText(cover, point, marginPx = 0)` says whether a point lies inside `textBox` grown by the
|
|
1300
|
+
margin on every side, so every app tests "the text covers the subject" the same way.
|
|
1248
1301
|
|
|
1249
1302
|
## Requirements
|
|
1250
1303
|
|
|
@@ -52,6 +52,7 @@ export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
|
|
|
52
52
|
log: "log";
|
|
53
53
|
code: "code";
|
|
54
54
|
none: "none";
|
|
55
|
+
note: "note";
|
|
55
56
|
strong: "strong";
|
|
56
57
|
alert: "alert";
|
|
57
58
|
alertdialog: "alertdialog";
|
|
@@ -96,7 +97,6 @@ export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
|
|
|
96
97
|
menuitemcheckbox: "menuitemcheckbox";
|
|
97
98
|
menuitemradio: "menuitemradio";
|
|
98
99
|
navigation: "navigation";
|
|
99
|
-
note: "note";
|
|
100
100
|
option: "option";
|
|
101
101
|
paragraph: "paragraph";
|
|
102
102
|
presentation: "presentation";
|
|
@@ -177,7 +177,7 @@ export declare const locatorSchema: z.ZodPipe<z.ZodObject<{
|
|
|
177
177
|
hasText: TextMatch | null;
|
|
178
178
|
nth: number | null;
|
|
179
179
|
}, {
|
|
180
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
180
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
181
181
|
name?: string | {
|
|
182
182
|
regex: string;
|
|
183
183
|
flags: string;
|
|
@@ -211,6 +211,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
211
211
|
log: "log";
|
|
212
212
|
code: "code";
|
|
213
213
|
none: "none";
|
|
214
|
+
note: "note";
|
|
214
215
|
strong: "strong";
|
|
215
216
|
alert: "alert";
|
|
216
217
|
alertdialog: "alertdialog";
|
|
@@ -255,7 +256,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
255
256
|
menuitemcheckbox: "menuitemcheckbox";
|
|
256
257
|
menuitemradio: "menuitemradio";
|
|
257
258
|
navigation: "navigation";
|
|
258
|
-
note: "note";
|
|
259
259
|
option: "option";
|
|
260
260
|
paragraph: "paragraph";
|
|
261
261
|
presentation: "presentation";
|
|
@@ -336,7 +336,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
336
336
|
hasText: TextMatch | null;
|
|
337
337
|
nth: number | null;
|
|
338
338
|
}, {
|
|
339
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
339
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
340
340
|
name?: string | {
|
|
341
341
|
regex: string;
|
|
342
342
|
flags: string;
|
|
@@ -383,6 +383,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
383
383
|
log: "log";
|
|
384
384
|
code: "code";
|
|
385
385
|
none: "none";
|
|
386
|
+
note: "note";
|
|
386
387
|
strong: "strong";
|
|
387
388
|
alert: "alert";
|
|
388
389
|
alertdialog: "alertdialog";
|
|
@@ -427,7 +428,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
427
428
|
menuitemcheckbox: "menuitemcheckbox";
|
|
428
429
|
menuitemradio: "menuitemradio";
|
|
429
430
|
navigation: "navigation";
|
|
430
|
-
note: "note";
|
|
431
431
|
option: "option";
|
|
432
432
|
paragraph: "paragraph";
|
|
433
433
|
presentation: "presentation";
|
|
@@ -508,7 +508,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
508
508
|
hasText: TextMatch | null;
|
|
509
509
|
nth: number | null;
|
|
510
510
|
}, {
|
|
511
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
511
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
512
512
|
name?: string | {
|
|
513
513
|
regex: string;
|
|
514
514
|
flags: string;
|
|
@@ -535,6 +535,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
535
535
|
log: "log";
|
|
536
536
|
code: "code";
|
|
537
537
|
none: "none";
|
|
538
|
+
note: "note";
|
|
538
539
|
strong: "strong";
|
|
539
540
|
alert: "alert";
|
|
540
541
|
alertdialog: "alertdialog";
|
|
@@ -579,7 +580,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
579
580
|
menuitemcheckbox: "menuitemcheckbox";
|
|
580
581
|
menuitemradio: "menuitemradio";
|
|
581
582
|
navigation: "navigation";
|
|
582
|
-
note: "note";
|
|
583
583
|
option: "option";
|
|
584
584
|
paragraph: "paragraph";
|
|
585
585
|
presentation: "presentation";
|
|
@@ -660,7 +660,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
660
660
|
hasText: TextMatch | null;
|
|
661
661
|
nth: number | null;
|
|
662
662
|
}, {
|
|
663
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
663
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
664
664
|
name?: string | {
|
|
665
665
|
regex: string;
|
|
666
666
|
flags: string;
|
|
@@ -692,6 +692,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
692
692
|
log: "log";
|
|
693
693
|
code: "code";
|
|
694
694
|
none: "none";
|
|
695
|
+
note: "note";
|
|
695
696
|
strong: "strong";
|
|
696
697
|
alert: "alert";
|
|
697
698
|
alertdialog: "alertdialog";
|
|
@@ -736,7 +737,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
736
737
|
menuitemcheckbox: "menuitemcheckbox";
|
|
737
738
|
menuitemradio: "menuitemradio";
|
|
738
739
|
navigation: "navigation";
|
|
739
|
-
note: "note";
|
|
740
740
|
option: "option";
|
|
741
741
|
paragraph: "paragraph";
|
|
742
742
|
presentation: "presentation";
|
|
@@ -817,7 +817,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
817
817
|
hasText: TextMatch | null;
|
|
818
818
|
nth: number | null;
|
|
819
819
|
}, {
|
|
820
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
820
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
821
821
|
name?: string | {
|
|
822
822
|
regex: string;
|
|
823
823
|
flags: string;
|
|
@@ -850,6 +850,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
850
850
|
log: "log";
|
|
851
851
|
code: "code";
|
|
852
852
|
none: "none";
|
|
853
|
+
note: "note";
|
|
853
854
|
strong: "strong";
|
|
854
855
|
alert: "alert";
|
|
855
856
|
alertdialog: "alertdialog";
|
|
@@ -894,7 +895,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
894
895
|
menuitemcheckbox: "menuitemcheckbox";
|
|
895
896
|
menuitemradio: "menuitemradio";
|
|
896
897
|
navigation: "navigation";
|
|
897
|
-
note: "note";
|
|
898
898
|
option: "option";
|
|
899
899
|
paragraph: "paragraph";
|
|
900
900
|
presentation: "presentation";
|
|
@@ -975,7 +975,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
975
975
|
hasText: TextMatch | null;
|
|
976
976
|
nth: number | null;
|
|
977
977
|
}, {
|
|
978
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
978
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
979
979
|
name?: string | {
|
|
980
980
|
regex: string;
|
|
981
981
|
flags: string;
|
|
@@ -1002,6 +1002,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1002
1002
|
log: "log";
|
|
1003
1003
|
code: "code";
|
|
1004
1004
|
none: "none";
|
|
1005
|
+
note: "note";
|
|
1005
1006
|
strong: "strong";
|
|
1006
1007
|
alert: "alert";
|
|
1007
1008
|
alertdialog: "alertdialog";
|
|
@@ -1046,7 +1047,6 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1046
1047
|
menuitemcheckbox: "menuitemcheckbox";
|
|
1047
1048
|
menuitemradio: "menuitemradio";
|
|
1048
1049
|
navigation: "navigation";
|
|
1049
|
-
note: "note";
|
|
1050
1050
|
option: "option";
|
|
1051
1051
|
paragraph: "paragraph";
|
|
1052
1052
|
presentation: "presentation";
|
|
@@ -1127,7 +1127,7 @@ export declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1127
1127
|
hasText: TextMatch | null;
|
|
1128
1128
|
nth: number | null;
|
|
1129
1129
|
}, {
|
|
1130
|
-
role?: "caption" | "log" | "code" | "none" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "
|
|
1130
|
+
role?: "caption" | "log" | "code" | "none" | "note" | "strong" | "alert" | "alertdialog" | "application" | "article" | "banner" | "blockquote" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "deletion" | "dialog" | "directory" | "document" | "emphasis" | "feed" | "figure" | "form" | "generic" | "grid" | "gridcell" | "group" | "heading" | "img" | "insertion" | "link" | "list" | "listbox" | "listitem" | "main" | "marquee" | "math" | "meter" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "option" | "paragraph" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "subscript" | "superscript" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "time" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
1131
1131
|
name?: string | {
|
|
1132
1132
|
regex: string;
|
|
1133
1133
|
flags: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAU,UAAU,EAAE,MAAM,YAAY,CAAC;A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AO,CAAA;KAAE,CAAC;CAC7D;AAED,MAAM,MAAM,gBAAgB,GAAG;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAqKpG,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,CAsDlE;AAED,0DAA0D;AAC1D,wBAAgB,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAEjF;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,GAAG,WAAW,EAAE,CAgBjH;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,MAAM,EAAE,eAAe,EAAE,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAErF;AAED,qIAAqI;AACrI,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,GAAG,WAAW,EAAE,CAoBzH;AAED,2EAA2E;AAC3E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,SAAS,WAAW,EAAE,GAAG,MAAM,CAElG"}
|
package/dist/config/config.js
CHANGED
|
@@ -90,6 +90,14 @@ function resolveMusicSource(music, at) {
|
|
|
90
90
|
const fromVideo = music.fromVideo ?? { description: "", tags: [] };
|
|
91
91
|
return { kind: "video", description: fromVideo.description, tags: fromVideo.tags };
|
|
92
92
|
}
|
|
93
|
+
/** A footage film's end card with its own logo resolved against the folder of marketing.json; null without a card. */
|
|
94
|
+
function resolveFootageEndCard(card, at) {
|
|
95
|
+
if (card === undefined)
|
|
96
|
+
return null;
|
|
97
|
+
if (card.layout !== "logo")
|
|
98
|
+
return card;
|
|
99
|
+
return { ...card, ...(card.logo === undefined ? {} : { logo: at(card.logo) }) };
|
|
100
|
+
}
|
|
93
101
|
/** The film's key terms, normalized (the schema has checked them); none when absent or empty. */
|
|
94
102
|
function resolveKeyTerms(terms) {
|
|
95
103
|
const normalized = normalizeKeyTerms(terms ?? []);
|
|
@@ -143,7 +151,7 @@ function resolveFootage(data, at) {
|
|
|
143
151
|
cutAudioFadeMs: film.edit.cutAudioFadeMs,
|
|
144
152
|
isCutAudioCrossfade: film.edit.cutAudioCrossfade,
|
|
145
153
|
},
|
|
146
|
-
endCard: film.endCard
|
|
154
|
+
endCard: resolveFootageEndCard(film.endCard, at),
|
|
147
155
|
...(film.speech.declick === "off" ? {} : { speech: { declick: film.speech.declick } }),
|
|
148
156
|
loudness: film.loudness === false ? null : film.loudness,
|
|
149
157
|
mixLoudness: film.mixLoudness === false ? null : film.mixLoudness,
|
|
@@ -276,6 +284,8 @@ export function findMissingFootageFiles(config, film, isRendering) {
|
|
|
276
284
|
return issues;
|
|
277
285
|
if (config.brand.logo !== null)
|
|
278
286
|
check(["brand", "logo", "svg"], config.brand.logo);
|
|
287
|
+
if (film.endCard?.layout === "logo" && film.endCard.logo !== undefined)
|
|
288
|
+
check(["footage", film.index, "endCard", "logo"], film.endCard.logo);
|
|
279
289
|
for (const kind of ["heading", "body"]) {
|
|
280
290
|
config.brand.fonts[kind]?.files.forEach((font, index) => check(["brand", "fonts", kind, "files", index, "path"], font.path));
|
|
281
291
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,oBAAoB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