@vectoriox/iox-ui 5.197.0 → 5.199.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.
Files changed (73) hide show
  1. package/actions-core/index.d.ts +7 -1
  2. package/composite-core/index.d.ts +16 -2
  3. package/data-core/index.d.ts +11 -3
  4. package/design-core/index.d.ts +185 -28
  5. package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
  6. package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-composite-core.mjs +34 -2
  8. package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
  10. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui-design-core.mjs +323 -72
  12. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  13. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +17351 -15175
  14. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  15. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +243 -38
  16. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  17. package/fesm2022/vectoriox-iox-ui.mjs +2 -2
  18. package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
  19. package/generation-core/index.d.ts +1703 -264
  20. package/harness-core/index.d.ts +93 -6
  21. package/package.json +1 -1
  22. package/src/actions-core/element-actions.ts +6 -0
  23. package/src/composite-core/header.ts +34 -1
  24. package/src/data-core/placeholder-rows.ts +29 -4
  25. package/src/design-core/brand.ts +58 -5
  26. package/src/design-core/contrast-audit.ts +49 -22
  27. package/src/design-core/design-apply.ts +34 -3
  28. package/src/design-core/flavor-fixtures.generated.ts +123 -123
  29. package/src/design-core/flavor-spec.generated.ts +44 -4
  30. package/src/design-core/flavor-tokens.ts +1 -1
  31. package/src/design-core/header-behaviour.ts +72 -13
  32. package/src/design-core/menu-look.ts +23 -0
  33. package/src/design-core/motion-language.ts +5 -14
  34. package/src/design-core/node-classes.ts +39 -0
  35. package/src/design-core/preloader.ts +4 -5
  36. package/src/generation-core/body-mix.ts +40 -102
  37. package/src/generation-core/check-free.ts +22 -11
  38. package/src/generation-core/check-layout.ts +10 -4
  39. package/src/generation-core/check-list.ts +3 -25
  40. package/src/generation-core/colour-mix.ts +296 -0
  41. package/src/generation-core/compose-free.ts +47 -20
  42. package/src/generation-core/compose-site.ts +259 -59
  43. package/src/generation-core/footer-mix.ts +258 -64
  44. package/src/generation-core/free-fallback.ts +6 -4
  45. package/src/generation-core/free-opening.ts +13 -2
  46. package/src/generation-core/free-parts.ts +87 -0
  47. package/src/generation-core/free-slot-words.ts +30 -0
  48. package/src/generation-core/free-wire.ts +8 -0
  49. package/src/generation-core/generation-tier.ts +6 -17
  50. package/src/generation-core/header-mix.ts +73 -3
  51. package/src/generation-core/layout-drawers.ts +3 -2
  52. package/src/generation-core/layout-wire.ts +10 -16
  53. package/src/generation-core/legal.ts +24 -0
  54. package/src/generation-core/list-panel.ts +3 -3
  55. package/src/generation-core/list-table.ts +5 -14
  56. package/src/generation-core/list-words.ts +2 -1
  57. package/src/generation-core/menu-shelves.ts +138 -0
  58. package/src/generation-core/nav-shape.ts +138 -15
  59. package/src/generation-core/node-baselines.generated.ts +1 -0
  60. package/src/generation-core/opening-mix.ts +7 -34
  61. package/src/generation-core/part-tier.ts +14 -0
  62. package/src/generation-core/patterns.ts +7 -0
  63. package/src/generation-core/plan-wire.ts +32 -43
  64. package/src/generation-core/public-api.ts +3 -0
  65. package/src/generation-core/site-build-run.ts +8 -0
  66. package/src/generation-core/site-plan.model.ts +3 -0
  67. package/src/generation-core/site-spec.generated.ts +1383 -189
  68. package/src/generation-core/validate-site-plan.ts +6 -5
  69. package/src/harness-core/business-types.ts +4 -0
  70. package/src/harness-core/harness-spec.generated.ts +189 -30
  71. package/src/harness-core/popup-stance.ts +56 -3
  72. package/src/harness-core/run-compose-context.ts +25 -5
  73. package/styles/iox-design.css +162 -3
@@ -5,8 +5,8 @@ import { describeShapeKey, jsonAnyOf, jsonBoolean, jsonInteger, jsonListOf, json
5
5
  import { patternLinkSlots, patternOptionalParts, patternSlots, SITE_PATTERNS } from './patterns';
6
6
  import { withDerivedSources } from './plan-derived';
7
7
  import { DEFAULT_HEADER_PATTERN, HeaderIngredient, headerMeaning, headerMix, headerMixFromWords, headerMixOfPlan, headerMixWords, headerPatternIdOf, headerWireWords } from './header-mix';
8
- import { DEFAULT_FOOTER_PATTERN, FooterIngredient, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPatternIdOf, footerWireWords, footerWords, footerWordTier } from './footer-mix';
9
- import { openingHarnessWord, OpeningIngredient, openingMeaning, openingWireWords, openingWordTier } from './opening-mix';
8
+ import { DEFAULT_FOOTER_PATTERN, FooterIngredient, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPatternIdOf, footerWireWords, footerWords } from './footer-mix';
9
+ import { openingHarnessWord, OpeningIngredient, openingMeaning, openingWireWords } from './opening-mix';
10
10
  import { BodyIngredient, bodyMeaning, bodyMix, bodyMixWords, bodyWireWords } from './body-mix';
11
11
  import { POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, popupMeaning, popupWireWords } from './popup-plan';
12
12
  import { shopCategoriesOf } from './shop-plan';
@@ -93,8 +93,6 @@ interface WireKey {
93
93
  none?: string;
94
94
  /** The part a top-level key is written in. */
95
95
  part?: PlanPart;
96
- /** AW-D23 (AW6 wire): a key only the award tier's request carries — every other tier's wire is without it, byte for byte. */
97
- tier?: GenerationTier.Award;
98
96
  }
99
97
 
100
98
  const PLAN_SHAPE = SPEC_SITE_PLAN_SHAPE as unknown as Readonly<Record<string, ShapeEntry>>;
@@ -108,22 +106,19 @@ const roleWords = ROLE_KEYS.map(role => `${role}: ${describeShapeKey(PLAN_SHAPE[
108
106
  /** The footer's words as the model reads them (LI5): each ingredient, its words and their meanings, from the contract. */
109
107
  const FOOTER_WIRE_TEXT = 'string[] — the footer as ONE list of <ingredient>:<word> words: one word per ingredient but "holds", which lists '
110
108
  + `each block it holds (holds:pages, holds:contact); an ingredient left out is the default (${footerMixWords(footerMix()).join(', ')}). `
111
- // iox-ui#153 (AW12-D13): as the opening's — the grammar offers every word on every tier (a Basic wire stays the format
112
- // it was), the words say which are the award tier's, and a build below it mends them (`pro-only`).
113
- + 'A word marked (award) is worn by an award build only — elsewhere it is mended. '
114
- + Object.values(FooterIngredient).map(k => `${k}: ${footerWords(k).map(w => `${w} (${footerMeaning(k, w)})${footerWordTier(k, w) === 'pro' ? ' (award)' : ''}`).join(' | ')}`).join('; ');
109
+ // AW-D42: every word is every tier's — none is marked, none is mended for a tier.
110
+ + Object.values(FooterIngredient).map(k => `${k}: ${footerWords(k).map(w => `${w} (${footerMeaning(k, w)})`).join(' | ')}`).join('; ');
115
111
 
116
112
  /** The wire's `globals` key the home page's opening travels in (AW8) — a mix beside the header's and the footer's. */
117
113
  const OPENING_WIRE_KEY = 'opening';
118
114
 
119
- /** The opening's words as the model reads them (AW8): each ingredient, the words the product draws, their meanings and
120
- * which the award plan alone wears, from the contract's opening table. */
115
+ /** The opening's words as the model reads them (AW8): each ingredient, the words the product draws and their meanings,
116
+ * from the contract's opening table (every tier's since AW-D42). */
121
117
  const OPENING_WIRE_TEXT = "string[] — the home page's opening (its first screen) as ONE list of <ingredient>:<word> words: one word per "
122
118
  + `ingredient but extras and motion, which list each they take; an ingredient left out is the default; [] = the home page opens with its first `
123
119
  + "section as written. The opening takes the place of the home page's first section when that is a hero (its words and pictures carried in); "
124
- + 'a word marked (award) is worn by an award build only — elsewhere it is mended. '
125
- + Object.values(OpeningIngredient).map(k => `${k}: ${openingWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))
126
- .map(w => `${w} (${openingMeaning(k, w)}${openingWordTier(k, w) === 'pro' ? ', award' : ''}${openingHarnessWord(k, w) ? ', the build\'s own — keep it where the plan has it, never choose it' : ''})`).join(' | ')}`).join('; ');
120
+ + Object.values(OpeningIngredient).map(k => `${k}: ${openingWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))
121
+ .map(w => `${w} (${openingMeaning(k, w)}${openingHarnessWord(k, w) ? ', the build\'s own — keep it where the plan has it, never choose it' : ''})`).join(' | ')}`).join('; ');
127
122
 
128
123
  /** The header's words as the model reads them (HI1): each ingredient, the words the product draws and their meanings,
129
124
  * from the contract's header table. */
@@ -132,16 +127,16 @@ const HEADER_WIRE_TEXT = 'string[] — the header as ONE list of <ingredient>:<w
132
127
  + 'beside the name, pages either side of the name need a short name, two actions need a shop. '
133
128
  + Object.values(HeaderIngredient).map(k => `${k}: ${headerWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1)).map(w => `${w} (${headerMeaning(k, w)})`).join(' | ')}`).join('; ');
134
129
 
135
- /** The wire's `globals` key the site's body travels in (AW6) — the award tier's alone (AW-D23…D25). */
130
+ /** The wire's `globals` key the site's body travels in (AW6) — every tier's since AW-D42. */
136
131
  const BODY_WIRE_KEY = 'body';
137
132
 
138
- /** The body's words as the model reads them (AW6): each ingredient, the words an award build may wear today and their
139
- * meanings, from the contract's body table. */
133
+ /** The body's words as the model reads them (AW6): each ingredient, the words a build may wear today and their meanings,
134
+ * from the contract's body table. */
140
135
  const BODY_WIRE_TEXT = "string[] — the site's body as ONE list of <ingredient>:<word> words: how its sections meet and how their grounds "
141
136
  + `follow one another; one word per ingredient but sections, which lists each extra kind it takes; an ingredient left out is the default `
142
137
  + `(${bodyMixWords(bodyMix()).join(', ')}); [] = straight edges, each section's ground its own. An edge shows only where two neighbouring `
143
138
  + 'sections wear different grounds; a calm business (care, advice) never wears a torn or dripping edge. '
144
- + Object.values(BodyIngredient).map(k => [k, bodyWireWords(GenerationTier.Award).filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))] as const)
139
+ + Object.values(BodyIngredient).map(k => [k, bodyWireWords().filter(w => w.startsWith(`${k}:`)).map(w => w.slice(k.length + 1))] as const)
145
140
  .filter(([, words]) => words.length)
146
141
  .map(([k, words]) => `${k}: ${words.map(w => `${w} (${bodyMeaning(k, w)})`).join(' | ')}`).join('; ');
147
142
 
@@ -262,9 +257,9 @@ const WIRE_KEYS: Readonly<Record<`${PlanWireEntry}`, Readonly<Record<string, Wir
262
257
  footer: { refs: ['globals.footer', 'plan.mixes', 'mixes.footer'], text: FOOTER_WIRE_TEXT },
263
258
  // AW8: the home page's opening travels as its MIX, ONE list of `<ingredient>:<word>` words (opening-mix.ts); [] = none.
264
259
  opening: { refs: ['plan.mixes', 'mixes.opening'], text: OPENING_WIRE_TEXT },
265
- // AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. The award
266
- // tier's request alone carries it (AW-D23…D25): a Basic wire is without the key, so its grammar is the one it was.
267
- body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT, tier: GenerationTier.Award },
260
+ // AW6: the site's body travels as its MIX, ONE list of `<ingredient>:<word>` words (body-mix.ts); [] = none. Every
261
+ // tier's request carries it since AW-D42 (it was the award tier's alone, AW-D23).
262
+ body: { refs: ['plan.mixes', 'mixes.body'], text: BODY_WIRE_TEXT },
268
263
  // PU3: the popup travels as its words, ONE list (popup-plan.ts); [] = none. Stamped only from the owner's lines (plan.popup).
269
264
  popup: { refs: ['plan.mixes', 'mixes.popup'], text: POPUP_WIRE_TEXT },
270
265
  },
@@ -288,6 +283,7 @@ export const PLAN_WIRE_DERIVED: Readonly<Record<string, string>> = {
288
283
  'plan.locale': "the reading's language (the context)",
289
284
  'plan.design': "the owner's pick (the context)",
290
285
  'business.facts': "the owner's own facts, verbatim (the context)",
286
+ 'business.social': "the owner's social links as the reading stated them (statedFacts.social, footer-v2 FV1b) — set by the server, never the model's",
291
287
  'page.isHome': 'the page at "/"',
292
288
  'page.required': "a template page's (the wizard's Pages step), never the AI's",
293
289
  sourceTemplate: 'the AI never writes a template plan',
@@ -321,28 +317,21 @@ const wireText = (spec: WireKey): string => {
321
317
  return spec.none === undefined ? base : `${base} — ${spec.none} = none`;
322
318
  };
323
319
 
324
- /** What a plan request is asked at: its generation's tier (AW-D23). Absent = Basic — the wire every tier but the award's reads. */
320
+ /** What a plan request is asked at: its generation's tier. Since AW-D42 every tier reads the same wire (the award tier's,
321
+ * body included); the tier is kept so its callers still read. */
325
322
  export interface PlanWireOptions {
326
323
  tier?: `${GenerationTier}`;
327
324
  }
328
325
 
329
- const isAward = (options: PlanWireOptions) => options.tier === GenerationTier.Award;
330
- /** Is a wire key on the request asked at `options`? (A key with no tier is on every request.) */
331
- const asked = (spec: WireKey, options: PlanWireOptions) => !spec.tier || (spec.tier === GenerationTier.Award && isAward(options));
332
-
333
- const wireShapeAt = (options: PlanWireOptions): Record<`${PlanWireEntry}`, ShapeEntry> => Object.fromEntries(
334
- Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).filter(([, spec]) => asked(spec, options)).map(([k, spec]) => [k, wireText(spec)]))]),
326
+ /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. ONE for
327
+ * every tier since AW-D42. */
328
+ export const PLAN_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = Object.fromEntries(
329
+ Object.entries(WIRE_KEYS).map(([entry, keys]) => [entry, Object.fromEntries(Object.entries(keys).map(([k, spec]) => [k, wireText(spec)]))]),
335
330
  ) as Record<`${PlanWireEntry}`, ShapeEntry>;
336
331
 
337
- /** The wire's shape table, in the plan table's words — what the model reads, and what the format is built from. The
338
- * Basic tier's (every tier's but the award's); `planWireShape(options)` gives a tier's own. */
339
- export const PLAN_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = wireShapeAt({});
340
-
341
- const AWARD_WIRE_SHAPE: Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> = wireShapeAt({ tier: GenerationTier.Award });
342
-
343
- /** The wire's shape table a request at `options` reads (AW6: the award tier's carries the body). Basic = `PLAN_WIRE_SHAPE`. */
344
- export function planWireShape(options: PlanWireOptions = {}): Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> {
345
- return isAward(options) ? AWARD_WIRE_SHAPE : PLAN_WIRE_SHAPE;
332
+ /** The wire's shape table a request at `options` reads — `PLAN_WIRE_SHAPE` at every tier (AW-D42). */
333
+ export function planWireShape(_options: PlanWireOptions = {}): Readonly<Record<`${PlanWireEntry}`, ShapeEntry>> {
334
+ return PLAN_WIRE_SHAPE;
346
335
  }
347
336
 
348
337
  /** Each part's top-level keys, from the ONE wire table. */
@@ -482,8 +471,8 @@ const PLAN_TOP_SCHEMAS: Readonly<Record<string, (options: PlanWireOptions) => Js
482
471
  globals: options => jsonShapedObject(planWireShape(options).globals, {
483
472
  [GlobalSlot.Header]: jsonListOf(jsonOneOf(headerWireWords())),
484
473
  [GlobalSlot.Footer]: jsonListOf(jsonOneOf(footerWireWords())),
485
- [OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords(GenerationTier.Award))),
486
- ...(isAward(options) ? { [BODY_WIRE_KEY]: jsonListOf(jsonOneOf(bodyWireWords(GenerationTier.Award))) } : {}),
474
+ [OPENING_WIRE_KEY]: jsonListOf(jsonOneOf(openingWireWords())),
475
+ [BODY_WIRE_KEY]: jsonListOf(jsonOneOf(bodyWireWords())),
487
476
  [POPUP_WIRE_KEY]: jsonListOf(jsonText()),
488
477
  }, `wire ${PlanWireEntry.Globals}`),
489
478
  direction: () => shaped(PlanWireEntry.Direction, { idea: jsonText(), cliche: jsonText(), flip: jsonText(), rules: jsonListOf(jsonText()) }),
@@ -505,8 +494,8 @@ export function planWirePartShape(part: PlanPart, options: PlanWireOptions = {})
505
494
 
506
495
  /**
507
496
  * The format a model writes one part of a plan in — one request each (vectoriox/iox-cms#47). The same for every studio
508
- * and run at a tier: nothing in it is pinned, so the provider compiles each part's grammar once per tier (AW6: the award
509
- * tier's Pages part adds `globals.body`; every other tier's is the format it always was, byte for byte).
497
+ * and run: nothing in it is pinned, so the provider compiles each part's grammar once (one wire for every tier since
498
+ * AW-D42 — the Pages part carries `globals.body`).
510
499
  */
511
500
  export function planWirePartJsonSchema(part: PlanPart, options: PlanWireOptions = {}): JsonSchema {
512
501
  const gaps = planWireGaps();
@@ -754,11 +743,11 @@ const PLAN_TO_WIRE: Readonly<Record<string, (plan: SitePlan, options: PlanWireOp
754
743
  contentTypes: plan => plan.contentTypes.map(type => contentTypeToWire(type)),
755
744
  dataSources: plan => plan.dataSources.map(dataSourceToWire),
756
745
  pages: plan => plan.pages.map(page => pageToWire(page)),
757
- globals: (plan, options) => ({
746
+ globals: plan => ({
758
747
  ...plan.globals, [GlobalSlot.Header]: headerMixWords(headerMixOfPlan(plan)), [GlobalSlot.Footer]: footerMixWords(footerMixOfPlan(plan)),
759
748
  [OPENING_WIRE_KEY]: [...(plan.mixes?.opening ?? [])],
760
- // AW6: the award tier's wire writes the body ([] = none); every other tier's has no such key (its plan wears none).
761
- ...(isAward(options) ? { [BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])] } : {}),
749
+ // AW6: the wire writes the body ([] = none) — at every tier since AW-D42.
750
+ [BODY_WIRE_KEY]: [...(plan.mixes?.body ?? [])],
762
751
  [POPUP_WIRE_KEY]: [...(plan.mixes?.popup ?? [])],
763
752
  }),
764
753
  direction: plan => ({ idea: plan.direction?.idea ?? NONE, cliche: plan.direction?.cliche ?? NONE, flip: plan.direction?.flip ?? NONE, rules: [...(plan.direction?.rules ?? [])] }),
@@ -28,6 +28,7 @@ export * from './validate-site-plan';
28
28
  export * from './compose-site';
29
29
  export * from './contact-facts';
30
30
  export * from './nav-shape';
31
+ export * from './menu-shelves';
31
32
  export * from './item-fill';
32
33
  export * from './entrances';
33
34
  export * from './text-scroll';
@@ -71,6 +72,7 @@ export * from './check-free';
71
72
  export * from './free-fallback';
72
73
  export * from './free-slots';
73
74
  export * from './compose-free';
75
+ export * from './free-parts';
74
76
  export * from './free-render-check';
75
77
  export * from './free-opening';
76
78
  export * from './prompt-limits';
@@ -90,6 +92,7 @@ export * from './header-mix';
90
92
  export * from './header-edit';
91
93
  export * from './opening-mix';
92
94
  export * from './body-mix';
95
+ export * from './colour-mix';
93
96
  export * from './popup-plan';
94
97
  export * from './opening-edit';
95
98
  export * from './footer-mix';
@@ -8,6 +8,7 @@ import { SitePlanIssueCode } from './validate-site-plan';
8
8
  import { planSells } from './shop-plan';
9
9
  import { importedPicturesOf, importRedirects } from './import-plan';
10
10
  import type { PictureSupply, TypeLed } from './type-led';
11
+ import type { PicturesRefused } from './free-opening';
11
12
  import { isPopupNode, POPUP_GLOBAL_ID } from './popup-plan';
12
13
  import { SerializedNode, walkSerialized } from './serialized-node';
13
14
 
@@ -342,6 +343,13 @@ export interface BuildComposeDecisions {
342
343
  * (`headerReadableOfSite`, where the picture's pixels are known) — every compose of the run takes the same answer.
343
344
  * Absent or null: not judged. */
344
345
  headerReadable?: boolean | null;
346
+ /** Pictures first: the owner ruled pictures out — `all` ("no pictures", `PromptLimit.NoPictures`) or `stock` ("no stock
347
+ * photos", `refusesStock`) — read by the generation from the owner's words; the Home's opening is then never given a
348
+ * picture it did not ask for (`businessComposeContext`). Absent: nothing ruled out. */
349
+ picturesRefused?: `${PicturesRefused}` | null;
350
+ /** The owner's own photos (addresses) the build may place — their count lets a type whose work stock may not show open
351
+ * on a picture (pictures first). */
352
+ ownPhotos?: ReadonlyArray<string>;
345
353
  }
346
354
 
347
355
  /** The run as `GET …/site-builds/:id` (and `?latest=1`) answers it. */
@@ -44,6 +44,9 @@ export interface SiteBusiness {
44
44
  readonly name: string;
45
45
  readonly tagline?: string;
46
46
  readonly facts?: Readonly<Partial<Record<FactKey, string>>>;
47
+ /** FV1b (footer-v2 FV-D10): the owner's social links as stated (harness `statedFacts.social`) — set by the server from
48
+ * the reading, never a model's. A footer holding `social` lists the ones on a network it can name. */
49
+ readonly social?: ReadonlyArray<string>;
47
50
  }
48
51
 
49
52
  /** How a content field is edited: the closed list a plan chooses from. */