@camstack/types 1.2.424 → 1.2.426

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.
@@ -143,6 +143,18 @@ export interface ConfigFieldBase {
143
143
  readonly placeholder?: string;
144
144
  /** Default value used when the current value is undefined */
145
145
  readonly default?: unknown;
146
+ /**
147
+ * A default that depends on the operator's country (ISO 3166 alpha-2, read
148
+ * from the browser locale, e.g. `it-IT` is `IT`). Wins over `default` when
149
+ * the country is listed; a form that creates a record uses it to prefill
150
+ * what the operator would otherwise have to look up.
151
+ */
152
+ readonly defaultByCountry?: Readonly<Record<string, unknown>>;
153
+ /**
154
+ * The value is written by an interactive sign-in the kind offers, never typed
155
+ * first. A form that has such a sign-in tucks the field under "Advanced".
156
+ */
157
+ readonly filledBySignIn?: boolean;
146
158
  readonly span?: 1 | 2 | 3 | 4;
147
159
  readonly showWhen?: ConfigCondition;
148
160
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.424",
3
+ "version": "1.2.426",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",