@koda-sl/baker-cli 0.394.0-dev.d28cef496 → 0.397.0-dev.afb6a264b
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/README.md +104 -32
- package/canvas/static-ad-composition/index.html +253 -0
- package/canvas/static-ad-composition/meta.json +53 -0
- package/dist/{chunk-AOVFDDVW.js → chunk-7OVZ6SOA.js} +3 -2
- package/dist/{chunk-AOVFDDVW.js.map → chunk-7OVZ6SOA.js.map} +1 -1
- package/dist/{chunk-NEZ3NAJV.js → chunk-EYN7G4KF.js} +4 -4
- package/dist/{chunk-T2UNK5BW.js → chunk-J76AGFBH.js} +3 -3
- package/dist/{chunk-FEJQJ64L.js → chunk-MNSF5SQ3.js} +131 -22
- package/dist/chunk-MNSF5SQ3.js.map +1 -0
- package/dist/{chunk-QIQ57EIA.js → chunk-TWSWUIDI.js} +2 -2
- package/dist/{chunk-OKE2QJSJ.js → chunk-Z7WHG6TA.js} +3 -3
- package/dist/cli.js +7435 -5298
- package/dist/cli.js.map +1 -1
- package/dist/{client-EQOSDYJL.js → client-YUWLIYLF.js} +4 -4
- package/dist/engine/index.js +3 -3
- package/dist/{env-ANKM47IJ.js → env-RQGMYIQN.js} +2 -2
- package/dist/{output-NR4EJQDV.js → output-POG3LVBW.js} +5 -5
- package/dist/{shared-SLCDVV45.js → shared-ZAEUTUNU.js} +6 -6
- package/package.json +2 -1
- package/dist/chunk-FEJQJ64L.js.map +0 -1
- /package/dist/{chunk-NEZ3NAJV.js.map → chunk-EYN7G4KF.js.map} +0 -0
- /package/dist/{chunk-T2UNK5BW.js.map → chunk-J76AGFBH.js.map} +0 -0
- /package/dist/{chunk-QIQ57EIA.js.map → chunk-TWSWUIDI.js.map} +0 -0
- /package/dist/{chunk-OKE2QJSJ.js.map → chunk-Z7WHG6TA.js.map} +0 -0
- /package/dist/{client-EQOSDYJL.js.map → client-YUWLIYLF.js.map} +0 -0
- /package/dist/{env-ANKM47IJ.js.map → env-RQGMYIQN.js.map} +0 -0
- /package/dist/{output-NR4EJQDV.js.map → output-POG3LVBW.js.map} +0 -0
- /package/dist/{shared-SLCDVV45.js.map → shared-ZAEUTUNU.js.map} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "static-ad",
|
|
3
|
+
"title": "Static ad: the picture (or the brand colours) with what the concept holds drawn on top",
|
|
4
|
+
"description": "Written by `baker canvas scaffold-static-ad`, one copy per delivered format. Draws only what prompt.compose.json (derived from prompt.json) holds: each line of copy where the source layout placed it, set the way the reference set it (plain, underlined, with an arrow, as a button or sticker), in the staged fonts, and the logo file only when the concept shows one. The plate is the image model's clean picture; a text-only ad has none and sits on the brand colour. Width and height are this format's delivered size.",
|
|
5
|
+
"width": 1080,
|
|
6
|
+
"height": 1350,
|
|
7
|
+
"fps": 1,
|
|
8
|
+
"default_duration": 1,
|
|
9
|
+
"inputs": {
|
|
10
|
+
"plate": {
|
|
11
|
+
"kind": "image",
|
|
12
|
+
"required": false,
|
|
13
|
+
"staged_as": "plate.png",
|
|
14
|
+
"description": "The picture, with no overlay text and no logo. Absent for a text-only ad."
|
|
15
|
+
},
|
|
16
|
+
"logo": {
|
|
17
|
+
"kind": "image",
|
|
18
|
+
"required": false,
|
|
19
|
+
"staged_as": "logo.png",
|
|
20
|
+
"description": "The brand logo file, wired only when the concept shows a logo."
|
|
21
|
+
},
|
|
22
|
+
"font_headline": {
|
|
23
|
+
"kind": "font",
|
|
24
|
+
"required": false,
|
|
25
|
+
"staged_as": "headline.font",
|
|
26
|
+
"description": "The brand's headline face."
|
|
27
|
+
},
|
|
28
|
+
"font_body": {
|
|
29
|
+
"kind": "font",
|
|
30
|
+
"required": false,
|
|
31
|
+
"staged_as": "body.font",
|
|
32
|
+
"description": "The brand's body face."
|
|
33
|
+
},
|
|
34
|
+
"compose": {
|
|
35
|
+
"kind": "json",
|
|
36
|
+
"required": true,
|
|
37
|
+
"staged_as": "compose.json",
|
|
38
|
+
"description": "prompt.compose.json, also passed inline as the `ad` param."
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"params": {
|
|
42
|
+
"ad": {
|
|
43
|
+
"kind": "json",
|
|
44
|
+
"required": true,
|
|
45
|
+
"description": "The copy blocks, logo placement and CTA colours (prompt.compose.json)."
|
|
46
|
+
},
|
|
47
|
+
"frame": {
|
|
48
|
+
"kind": "json",
|
|
49
|
+
"required": true,
|
|
50
|
+
"description": "This format: its safe area, whether copy is drawn, the picture it is cut from (plate: null for none), and whether fonts are staged."
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -958,7 +958,8 @@ function compactWinningAd(record) {
|
|
|
958
958
|
summary: String(dna.creative_concept ?? ""),
|
|
959
959
|
advertiser_id: String(record.advertiser_id ?? ""),
|
|
960
960
|
ad_id: String(record.ad_id ?? ""),
|
|
961
|
-
media_url: String(record.media_url ?? "")
|
|
961
|
+
media_url: String(record.media_url ?? ""),
|
|
962
|
+
...record.source === "followed" || record.source === "library" ? { source: record.source } : {}
|
|
962
963
|
};
|
|
963
964
|
}
|
|
964
965
|
function fullWinningAd(record) {
|
|
@@ -1299,4 +1300,4 @@ export {
|
|
|
1299
1300
|
captureVimeoCookie,
|
|
1300
1301
|
childEnvWith
|
|
1301
1302
|
};
|
|
1302
|
-
//# sourceMappingURL=chunk-
|
|
1303
|
+
//# sourceMappingURL=chunk-7OVZ6SOA.js.map
|