@cloudhal/core-contracts 0.3.13 → 0.5.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.
@@ -96,7 +96,7 @@ export interface ContentEntry {
96
96
  summary?: string;
97
97
  body: Body;
98
98
  /**
99
- * Collection-specific values; any JSON.
99
+ * Collection-specific values, keyed by field. A collection with typed fields (RFC-0041, Site.collections.<key>.fields) checks each value against its definition on write; otherwise any JSON. An absent key means no value.
100
100
  */
101
101
  fields: {
102
102
  [k: string]: unknown | undefined;
@@ -3,7 +3,7 @@
3
3
  * Source: packages/core-contracts/schemas/*.schema.json (run `pnpm gen`)
4
4
  */
5
5
  export type { SchemaVersion, Id, Slug, Revision, Timestamp, Project, Metadata } from "./project.js";
6
- export type { Locale, Section, BodyProfile, ActorKind, BodyBlocks, SurfaceComponentId, Path, Section1, TimeZone, Site, Domain, Localization, CollectionSettings, ThemeRef, Design, Brand, ImageRef, SocialLink, Chrome, ChromeHeader, HeaderAction, ChromeFooter, FooterColumn, HeroSection, Link, RichTextSection, BodyBlock, Actor, ImageSection, ContentListSection, ComponentSection, SurfaceSection, SurfaceComponent, Announcement, Consent } from "./site.js";
6
+ export type { Locale, FieldDefinition, FieldKey, Section, BodyProfile, ActorKind, BodyBlocks, SurfaceComponentId, Path, Section1, TimeZone, Site, Domain, Localization, CollectionSettings, CollectionLabel, TextField, FieldLabels, FieldLabel, FieldMigration, RichTextField, NumberField, BooleanField, DateField, DateTimeField, UrlField, ImageField, SelectField, FieldOption, ThemeRef, Design, Brand, ImageRef, SocialLink, Chrome, ChromeHeader, HeaderAction, ChromeFooter, FooterColumn, HeroSection, Link, RichTextSection, BodyBlock, Actor, ImageSection, ContentListSection, ComponentSection, SurfaceSection, SurfaceComponent, Announcement, Consent } from "./site.js";
7
7
  export type { PublishStatus, TranslationMethod, MotionLevel, Page, Seo, Availability, Translation } from "./page.js";
8
8
  export type { ContentEntry, Body, TermAssignment, Correction } from "./content-entry.js";
9
9
  export type { Snapshot, NodeRef, ChangeSummary } from "./snapshot.js";
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
 
9
-
9
+
10
10
 
11
11
 
12
12