@crombolo/core 0.9.1 → 0.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crombolo/core",
3
- "version": "0.9.1",
3
+ "version": "0.11.0",
4
4
  "description": "Domain model, entity keys and shared contracts for crombolo. No I/O.",
5
5
  "license": "MIT",
6
6
  "author": "Crombolo",
@@ -31,6 +31,11 @@ export interface PropertyTypeModel {
31
31
  memberCanEdit?: boolean
32
32
  /** Member types only: hidden from users without sensitive-data access. */
33
33
  isSensitive?: boolean
34
+ /**
35
+ * False keeps the property's values out of backoffice search. Absent means
36
+ * unchanged on a save, which is what a backoffice save sends.
37
+ */
38
+ searchable?: boolean
34
39
  }
35
40
 
36
41
  export interface PropertyGroupModel {
@@ -5,7 +5,7 @@
5
5
  * same rules for immediate feedback, but every submission is re-validated from
6
6
  * the definition before anything is stored — and so is every condition, because
7
7
  * "this field was hidden" is a client-side claim. A value for a field the
8
- * conditions hide is discarded rather than trusted (`docs/18-forms.md`).
8
+ * conditions hide is discarded rather than trusted (`docs/forms.md`).
9
9
  *
10
10
  * This is a deliberate divergence from Umbraco Forms, whose conditional logic
11
11
  * is a client-side concern tied to CSS classes.
package/src/forms.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  * Field types are an internal registry rather than an extension point: the TOML
9
9
  * vocabulary, the validator, the renderer and the entry value shape all have to
10
10
  * agree, and freezing that contract before anything has stressed it would be a
11
- * promise made too early (`docs/18-forms.md`).
11
+ * promise made too early (`docs/forms.md`).
12
12
  */
13
13
 
14
14
  export type FormFieldType =
package/src/sections.ts CHANGED
@@ -23,7 +23,7 @@ export const SECTION_ALIASES = {
23
23
  packages: 'Umb.Section.Packages',
24
24
  // Umbraco seeds this alias and then has no section for it: Forms is a
25
25
  // commercial add-on there. Form building is in core here, so the section is
26
- // real and the alias resolves (`docs/18-forms.md`).
26
+ // real and the alias resolves (`docs/forms.md`).
27
27
  forms: 'Crombolo.Section.Forms',
28
28
  } as const
29
29