@cloudhal/core-contracts 0.11.0 → 0.12.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.
@@ -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, FieldDefinition, FieldKey, SubFieldDefinition, StructuredDataSource, EntryValueProperty, SiteValueProperty, 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, ReferenceField, FieldCondition, RepeaterField, TextSubField, RichTextSubField, NumberSubField, BooleanSubField, DateSubField, UrlSubField, ImageSubField, SelectSubField, ReferenceSubField, CollectionExpiry, StructuredDataPreset, FieldValueSource, EntryValueSource, SiteValueSource, ConstantValueSource, ThemeRef, Design, Brand, ImageRef, SocialLink, Chrome, ChromeHeader, HeaderAction, ChromeFooter, FooterColumn, HeroSection, Link, RichTextSection, BodyBlock, Actor, ImageSection, ContentListSection, FieldOrder, ComponentSection, SurfaceSection, SurfaceComponent, Announcement, Consent } from "./site.js";
6
+ export type { Locale, FieldDefinition, FieldKey, SubFieldDefinition, StructuredDataSource, EntryValueProperty, SiteValueProperty, ReferenceValueProperty, 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, ReferenceField, FieldCondition, RepeaterField, TextSubField, RichTextSubField, NumberSubField, BooleanSubField, DateSubField, UrlSubField, ImageSubField, SelectSubField, ReferenceSubField, CollectionExpiry, StructuredDataPreset, FieldValueSource, EntryValueSource, SiteValueSource, ConstantValueSource, ReferenceValueSource, ThemeRef, Design, Brand, ImageRef, SocialLink, Chrome, ChromeHeader, HeaderAction, ChromeFooter, FooterColumn, HeroSection, Link, RichTextSection, BodyBlock, Actor, ImageSection, ContentListSection, FieldOrder, 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
 
@@ -244,7 +244,7 @@ export interface ContentListSection {
244
244
  */
245
245
  export interface FieldCondition {
246
246
  /**
247
- * A field key (site.schema.json FieldKey's pattern, repeated).
247
+ * A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.
248
248
  */
249
249
  field: string;
250
250
  op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "set" | "unset";
@@ -258,7 +258,7 @@
258
258
  */
259
259
 
260
260
 
261
-
261
+
262
262
 
263
263
 
264
264
 
@@ -40,7 +40,7 @@ export type Sha256Hex = string;
40
40
  * This interface was referenced by `ReleaseManifest`'s JSON-Schema
41
41
  * via the `definition` "SecretName".
42
42
  */
43
- export type SecretName = "BETTER_AUTH_SECRET" | "MCP_STATE_KEY" | "CLOUDHAL_PREVIEW_SECRET" | "CLOUDHAL_PURGE_TOKEN" | "CLOUDHAL_DEPLOY_TOKEN" | "CLOUDHAL_SETUP_TOKEN" | "CLOUDHAL_COMMENTS_KEY";
43
+ export type SecretName = "BETTER_AUTH_SECRET" | "MCP_STATE_KEY" | "CLOUDHAL_PREVIEW_SECRET" | "CLOUDHAL_PURGE_TOKEN" | "CLOUDHAL_DEPLOY_TOKEN" | "CLOUDHAL_SETUP_TOKEN" | "CLOUDHAL_COMMENTS_KEY" | "CLOUDHAL_UPLOAD_SECRET";
44
44
  /**
45
45
  * This interface was referenced by `ReleaseManifest`'s JSON-Schema
46
46
  * via the `definition` "ScopeId".
@@ -50,7 +50,8 @@
50
50
 
51
51
 
52
52
 
53
-
53
+
54
+
54
55
  /**
55
56
  * This interface was referenced by `ReleaseManifest`'s JSON-Schema
56
57
  * via the `definition` "ScopeId".
@@ -616,8 +616,8 @@ export declare const SiteSchema: {
616
616
  readonly properties: {
617
617
  readonly field: {
618
618
  readonly type: "string";
619
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
620
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
619
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
620
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
621
621
  };
622
622
  readonly op: {
623
623
  readonly type: "string";
@@ -1312,6 +1312,11 @@ export declare const SiteSchema: {
1312
1312
  readonly pattern: "^/(?:[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*)?$";
1313
1313
  readonly maxLength: 1024;
1314
1314
  };
1315
+ readonly ReferenceValueProperty: {
1316
+ readonly type: "string";
1317
+ readonly description: "RFC-0045 step 8b: card properties of a referenced entry a structured-data property may read.";
1318
+ readonly enum: readonly ["title", "url", "summary"];
1319
+ };
1315
1320
  readonly Revision: {
1316
1321
  readonly type: "integer";
1317
1322
  readonly description: "Monotonic per-node revision used for optimistic locking (compare-and-swap on write).";
@@ -1625,6 +1630,27 @@ export declare const SiteSchema: {
1625
1630
  readonly pattern: "^[^\\x00-\\x1F\\x7F]+$";
1626
1631
  };
1627
1632
  };
1633
+ }, {
1634
+ readonly title: "ReferenceValueSource";
1635
+ readonly type: "object";
1636
+ readonly description: "RFC-0045 step 8b: the entry a single reference field (one target collection) names, as the view picks its member: a card property, or one of the target collection's fields. Exactly one of property and targetField (in code).";
1637
+ readonly additionalProperties: false;
1638
+ readonly required: readonly ["kind", "field"];
1639
+ readonly properties: {
1640
+ readonly kind: {
1641
+ readonly type: "string";
1642
+ readonly enum: readonly ["reference"];
1643
+ };
1644
+ readonly field: {
1645
+ readonly $ref: "#/$defs/FieldKey";
1646
+ };
1647
+ readonly property: {
1648
+ readonly $ref: "#/$defs/ReferenceValueProperty";
1649
+ };
1650
+ readonly targetField: {
1651
+ readonly $ref: "#/$defs/FieldKey";
1652
+ };
1653
+ };
1628
1654
  }];
1629
1655
  };
1630
1656
  readonly SubFieldDefinition: {
@@ -2097,8 +2123,8 @@ export declare const PageSchema: {
2097
2123
  readonly properties: {
2098
2124
  readonly field: {
2099
2125
  readonly type: "string";
2100
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
2101
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
2126
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
2127
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
2102
2128
  };
2103
2129
  readonly op: {
2104
2130
  readonly type: "string";
@@ -2850,8 +2876,8 @@ export declare const SectionSchema: {
2850
2876
  readonly properties: {
2851
2877
  readonly field: {
2852
2878
  readonly type: "string";
2853
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
2854
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
2879
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
2880
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
2855
2881
  };
2856
2882
  readonly op: {
2857
2883
  readonly type: "string";
@@ -7335,7 +7361,7 @@ export declare const ReleaseManifestSchema: {
7335
7361
  };
7336
7362
  readonly SecretName: {
7337
7363
  readonly type: "string";
7338
- readonly enum: readonly ["BETTER_AUTH_SECRET", "MCP_STATE_KEY", "CLOUDHAL_PREVIEW_SECRET", "CLOUDHAL_PURGE_TOKEN", "CLOUDHAL_DEPLOY_TOKEN", "CLOUDHAL_SETUP_TOKEN", "CLOUDHAL_COMMENTS_KEY"];
7364
+ readonly enum: readonly ["BETTER_AUTH_SECRET", "MCP_STATE_KEY", "CLOUDHAL_PREVIEW_SECRET", "CLOUDHAL_PURGE_TOKEN", "CLOUDHAL_DEPLOY_TOKEN", "CLOUDHAL_SETUP_TOKEN", "CLOUDHAL_COMMENTS_KEY", "CLOUDHAL_UPLOAD_SECRET"];
7339
7365
  };
7340
7366
  readonly Sha256Hex: {
7341
7367
  readonly type: "string";
@@ -8386,8 +8412,8 @@ export declare const schemas: {
8386
8412
  readonly properties: {
8387
8413
  readonly field: {
8388
8414
  readonly type: "string";
8389
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
8390
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
8415
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
8416
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
8391
8417
  };
8392
8418
  readonly op: {
8393
8419
  readonly type: "string";
@@ -9082,6 +9108,11 @@ export declare const schemas: {
9082
9108
  readonly pattern: "^/(?:[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*)?$";
9083
9109
  readonly maxLength: 1024;
9084
9110
  };
9111
+ readonly ReferenceValueProperty: {
9112
+ readonly type: "string";
9113
+ readonly description: "RFC-0045 step 8b: card properties of a referenced entry a structured-data property may read.";
9114
+ readonly enum: readonly ["title", "url", "summary"];
9115
+ };
9085
9116
  readonly Revision: {
9086
9117
  readonly type: "integer";
9087
9118
  readonly description: "Monotonic per-node revision used for optimistic locking (compare-and-swap on write).";
@@ -9395,6 +9426,27 @@ export declare const schemas: {
9395
9426
  readonly pattern: "^[^\\x00-\\x1F\\x7F]+$";
9396
9427
  };
9397
9428
  };
9429
+ }, {
9430
+ readonly title: "ReferenceValueSource";
9431
+ readonly type: "object";
9432
+ readonly description: "RFC-0045 step 8b: the entry a single reference field (one target collection) names, as the view picks its member: a card property, or one of the target collection's fields. Exactly one of property and targetField (in code).";
9433
+ readonly additionalProperties: false;
9434
+ readonly required: readonly ["kind", "field"];
9435
+ readonly properties: {
9436
+ readonly kind: {
9437
+ readonly type: "string";
9438
+ readonly enum: readonly ["reference"];
9439
+ };
9440
+ readonly field: {
9441
+ readonly $ref: "#/$defs/FieldKey";
9442
+ };
9443
+ readonly property: {
9444
+ readonly $ref: "#/$defs/ReferenceValueProperty";
9445
+ };
9446
+ readonly targetField: {
9447
+ readonly $ref: "#/$defs/FieldKey";
9448
+ };
9449
+ };
9398
9450
  }];
9399
9451
  };
9400
9452
  readonly SubFieldDefinition: {
@@ -9867,8 +9919,8 @@ export declare const schemas: {
9867
9919
  readonly properties: {
9868
9920
  readonly field: {
9869
9921
  readonly type: "string";
9870
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
9871
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
9922
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
9923
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
9872
9924
  };
9873
9925
  readonly op: {
9874
9926
  readonly type: "string";
@@ -10620,8 +10672,8 @@ export declare const schemas: {
10620
10672
  readonly properties: {
10621
10673
  readonly field: {
10622
10674
  readonly type: "string";
10623
- readonly description: "A field key (site.schema.json FieldKey's pattern, repeated).";
10624
- readonly pattern: "^[a-z][A-Za-z0-9]{0,39}$";
10675
+ readonly description: "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.";
10676
+ readonly pattern: "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$";
10625
10677
  };
10626
10678
  readonly op: {
10627
10679
  readonly type: "string";
@@ -15105,7 +15157,7 @@ export declare const schemas: {
15105
15157
  };
15106
15158
  readonly SecretName: {
15107
15159
  readonly type: "string";
15108
- readonly enum: readonly ["BETTER_AUTH_SECRET", "MCP_STATE_KEY", "CLOUDHAL_PREVIEW_SECRET", "CLOUDHAL_PURGE_TOKEN", "CLOUDHAL_DEPLOY_TOKEN", "CLOUDHAL_SETUP_TOKEN", "CLOUDHAL_COMMENTS_KEY"];
15160
+ readonly enum: readonly ["BETTER_AUTH_SECRET", "MCP_STATE_KEY", "CLOUDHAL_PREVIEW_SECRET", "CLOUDHAL_PURGE_TOKEN", "CLOUDHAL_DEPLOY_TOKEN", "CLOUDHAL_SETUP_TOKEN", "CLOUDHAL_COMMENTS_KEY", "CLOUDHAL_UPLOAD_SECRET"];
15109
15161
  };
15110
15162
  readonly Sha256Hex: {
15111
15163
  readonly type: "string";
@@ -758,8 +758,8 @@ export const SiteSchema = {
758
758
  "properties": {
759
759
  "field": {
760
760
  "type": "string",
761
- "description": "A field key (site.schema.json FieldKey's pattern, repeated).",
762
- "pattern": "^[a-z][A-Za-z0-9]{0,39}$"
761
+ "description": "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.",
762
+ "pattern": "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$"
763
763
  },
764
764
  "op": {
765
765
  "type": "string",
@@ -1610,6 +1610,15 @@ export const SiteSchema = {
1610
1610
  "pattern": "^/(?:[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*)?$",
1611
1611
  "maxLength": 1024
1612
1612
  },
1613
+ "ReferenceValueProperty": {
1614
+ "type": "string",
1615
+ "description": "RFC-0045 step 8b: card properties of a referenced entry a structured-data property may read.",
1616
+ "enum": [
1617
+ "title",
1618
+ "url",
1619
+ "summary"
1620
+ ]
1621
+ },
1613
1622
  "Revision": {
1614
1623
  "type": "integer",
1615
1624
  "description": "Monotonic per-node revision used for optimistic locking (compare-and-swap on write).",
@@ -2032,6 +2041,33 @@ export const SiteSchema = {
2032
2041
  "pattern": "^[^\\x00-\\x1F\\x7F]+$"
2033
2042
  }
2034
2043
  }
2044
+ },
2045
+ {
2046
+ "title": "ReferenceValueSource",
2047
+ "type": "object",
2048
+ "description": "RFC-0045 step 8b: the entry a single reference field (one target collection) names, as the view picks its member: a card property, or one of the target collection's fields. Exactly one of property and targetField (in code).",
2049
+ "additionalProperties": false,
2050
+ "required": [
2051
+ "kind",
2052
+ "field"
2053
+ ],
2054
+ "properties": {
2055
+ "kind": {
2056
+ "type": "string",
2057
+ "enum": [
2058
+ "reference"
2059
+ ]
2060
+ },
2061
+ "field": {
2062
+ "$ref": "#/$defs/FieldKey"
2063
+ },
2064
+ "property": {
2065
+ "$ref": "#/$defs/ReferenceValueProperty"
2066
+ },
2067
+ "targetField": {
2068
+ "$ref": "#/$defs/FieldKey"
2069
+ }
2070
+ }
2035
2071
  }
2036
2072
  ]
2037
2073
  },
@@ -2619,8 +2655,8 @@ export const PageSchema = {
2619
2655
  "properties": {
2620
2656
  "field": {
2621
2657
  "type": "string",
2622
- "description": "A field key (site.schema.json FieldKey's pattern, repeated).",
2623
- "pattern": "^[a-z][A-Za-z0-9]{0,39}$"
2658
+ "description": "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.",
2659
+ "pattern": "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$"
2624
2660
  },
2625
2661
  "op": {
2626
2662
  "type": "string",
@@ -3564,8 +3600,8 @@ export const SectionSchema = {
3564
3600
  "properties": {
3565
3601
  "field": {
3566
3602
  "type": "string",
3567
- "description": "A field key (site.schema.json FieldKey's pattern, repeated).",
3568
- "pattern": "^[a-z][A-Za-z0-9]{0,39}$"
3603
+ "description": "A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.",
3604
+ "pattern": "^[a-z][A-Za-z0-9]{0,39}(\\.[a-z][A-Za-z0-9]{0,39})?$"
3569
3605
  },
3570
3606
  "op": {
3571
3607
  "type": "string",
@@ -9174,7 +9210,8 @@ export const ReleaseManifestSchema = {
9174
9210
  "CLOUDHAL_PURGE_TOKEN",
9175
9211
  "CLOUDHAL_DEPLOY_TOKEN",
9176
9212
  "CLOUDHAL_SETUP_TOKEN",
9177
- "CLOUDHAL_COMMENTS_KEY"
9213
+ "CLOUDHAL_COMMENTS_KEY",
9214
+ "CLOUDHAL_UPLOAD_SECRET"
9178
9215
  ]
9179
9216
  },
9180
9217
  "Sha256Hex": {
@@ -127,7 +127,7 @@ export interface ContentListSection {
127
127
  */
128
128
  export interface FieldCondition {
129
129
  /**
130
- * A field key (site.schema.json FieldKey's pattern, repeated).
130
+ * A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.
131
131
  */
132
132
  field: string;
133
133
  op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "set" | "unset";
@@ -141,7 +141,7 @@
141
141
  */
142
142
 
143
143
 
144
-
144
+
145
145
 
146
146
 
147
147
 
@@ -57,7 +57,7 @@ export type SubFieldDefinition = TextSubField | RichTextSubField | NumberSubFiel
57
57
  * This interface was referenced by `Site`'s JSON-Schema
58
58
  * via the `definition` "StructuredDataSource".
59
59
  */
60
- export type StructuredDataSource = FieldValueSource | EntryValueSource | SiteValueSource | ConstantValueSource;
60
+ export type StructuredDataSource = FieldValueSource | EntryValueSource | SiteValueSource | ConstantValueSource | ReferenceValueSource;
61
61
  /**
62
62
  * RFC-0042: entry properties a structured-data property may read.
63
63
  *
@@ -72,6 +72,13 @@ export type EntryValueProperty = "title" | "summary" | "body" | "coverImage" | "
72
72
  * via the `definition` "SiteValueProperty".
73
73
  */
74
74
  export type SiteValueProperty = "name" | "url" | "logo";
75
+ /**
76
+ * RFC-0045 step 8b: card properties of a referenced entry a structured-data property may read.
77
+ *
78
+ * This interface was referenced by `Site`'s JSON-Schema
79
+ * via the `definition` "ReferenceValueProperty".
80
+ */
81
+ export type ReferenceValueProperty = "title" | "url" | "summary";
75
82
  /**
76
83
  * RFC-0025 §2: one optional surface (kind `surface`) above the footer's columns, built and checked like any surface; the store refuses other section kinds.
77
84
  */
@@ -560,7 +567,7 @@ export interface ReferenceField {
560
567
  */
561
568
  export interface FieldCondition {
562
569
  /**
563
- * A field key (site.schema.json FieldKey's pattern, repeated).
570
+ * A field key (site.schema.json FieldKey's pattern, repeated), or (RFC-0045 step 8c) `<reference>.<field>`: a list field of the entry a listed reference field names, one hop. Where a dotted key is allowed is checked in code.
564
571
  */
565
572
  field: string;
566
573
  op: "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "in" | "set" | "unset";
@@ -970,6 +977,15 @@ export interface ConstantValueSource {
970
977
  kind: "constant";
971
978
  value: string;
972
979
  }
980
+ /**
981
+ * RFC-0045 step 8b: the entry a single reference field (one target collection) names, as the view picks its member: a card property, or one of the target collection's fields. Exactly one of property and targetField (in code).
982
+ */
983
+ export interface ReferenceValueSource {
984
+ kind: "reference";
985
+ field: FieldKey;
986
+ property?: ReferenceValueProperty;
987
+ targetField?: FieldKey;
988
+ }
973
989
  /**
974
990
  * Theme (a.k.a. Experience) applied by the renderer. Config is theme-defined and validated by the theme's own schema, not here.
975
991
  *
@@ -81,7 +81,11 @@
81
81
  * via the `definition` "StructuredDataSource".
82
82
  */
83
83
 
84
-
84
+
85
+
86
+
87
+
88
+
85
89
  /**
86
90
  * RFC-0042: entry properties a structured-data property may read.
87
91
  *
@@ -97,6 +101,13 @@
97
101
  * via the `definition` "SiteValueProperty".
98
102
  */
99
103
 
104
+ /**
105
+ * RFC-0045 step 8b: card properties of a referenced entry a structured-data property may read.
106
+ *
107
+ * This interface was referenced by `Site`'s JSON-Schema
108
+ * via the `definition` "ReferenceValueProperty".
109
+ */
110
+
100
111
  /**
101
112
  * RFC-0025 §2: one optional surface (kind `surface`) above the footer's columns, built and checked like any surface; the store refuses other section kinds.
102
113
  */
@@ -622,7 +633,7 @@
622
633
  */
623
634
 
624
635
 
625
-
636
+
626
637
 
627
638
 
628
639
 
@@ -1067,6 +1078,15 @@
1067
1078
 
1068
1079
 
1069
1080
 
1081
+ /**
1082
+ * RFC-0045 step 8b: the entry a single reference field (one target collection) names, as the view picks its member: a card property, or one of the target collection's fields. Exactly one of property and targetField (in code).
1083
+ */
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1070
1090
  /**
1071
1091
  * Theme (a.k.a. Experience) applied by the renderer. Config is theme-defined and validated by the theme's own schema, not here.
1072
1092
  *