@diagonal-hq/cli 0.18.0 → 0.19.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.
@@ -7607,8 +7607,10 @@ type SdkHooks = {
7607
7607
  /** Include every creatable field, ignoring per-field `show_on_creating` form
7608
7608
  * visibility. Still excludes system/virtual fields and respects field access. */
7609
7609
  includeAllFields?: boolean;
7610
- /** How relation fields resolve inline attach/create. Defaults to `'settings'`;
7611
- * pass `'always'` to force them on. */
7610
+ /** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
7611
+ * the field's stored settings. When omitted, a relation listed in `fields` gets inline
7612
+ * attach on and inline create per its settings; without `fields` the stored settings
7613
+ * apply. `'always'` forces both on. */
7612
7614
  relationVisibility?: RelationVisibility;
7613
7615
  /** Send a booking idempotency key, kept across retries of the same values. Defaults to
7614
7616
  * `false`. Submitting throws when the resource has no booking idempotency field. */
@@ -7667,8 +7669,10 @@ type SdkHooks = {
7667
7669
  /** Include every updatable field, ignoring per-field `show_on_updating` form
7668
7670
  * visibility. Still excludes system/virtual fields and respects field access. */
7669
7671
  includeAllFields?: boolean;
7670
- /** How relation fields resolve inline attach/create. Defaults to `'settings'`;
7671
- * pass `'always'` to force them on. */
7672
+ /** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
7673
+ * the field's stored settings. When omitted, a relation listed in `fields` gets inline
7674
+ * attach on and inline create per its settings; without `fields` the stored settings
7675
+ * apply. `'always'` forces both on. */
7672
7676
  relationVisibility?: RelationVisibility;
7673
7677
  onSuccess?: (record: ResourceRecord) => void;
7674
7678
  }): UseUpdateResourceRecordFormResult;
@@ -10189,8 +10193,12 @@ type CreateResourceRecordFormProps<TResource extends CreateFormResource = Create
10189
10193
  * identity may store them. */
10190
10194
  includeSystemManagedRelationKeys?: string[];
10191
10195
 
10192
- /** How relation fields resolve inline attach/create. Defaults to `'settings'`;
10193
- * pass `'always'` to force them on. */
10196
+ /** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
10197
+ * the field's stored `allow_inline_*` settings. When omitted, a relation listed in
10198
+ * `fields` gets inline attach enabled; inline create still follows its settings.
10199
+ * Without `fields`, omitted visibility uses the stored settings.
10200
+ * `'always'` enables both inline attach and create. `'attach-only'` enables inline
10201
+ * attach and disables inline create. */
10194
10202
  relationVisibility?: RelationVisibility;
10195
10203
 
10196
10204
  /** Render the resource's published `created`/`saved` RecordEvent workflow inputs in the
@@ -13939,8 +13947,12 @@ type UpdateResourceRecordFormProps<TResource extends UpdateFormResource = Update
13939
13947
  * explicit `fields` are provided. */
13940
13948
  includeAllFields?: boolean;
13941
13949
 
13942
- /** How relation fields resolve inline attach/create. Defaults to `'settings'`;
13943
- * pass `'always'` to force them on. */
13950
+ /** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
13951
+ * the field's stored `allow_inline_*` settings. When omitted, a relation listed in
13952
+ * `fields` gets inline attach enabled; inline create still follows its settings.
13953
+ * Without `fields`, omitted visibility uses the stored settings.
13954
+ * `'always'` enables both inline attach and create. `'attach-only'` enables inline
13955
+ * attach and disables inline create. */
13944
13956
  relationVisibility?: RelationVisibility;
13945
13957
 
13946
13958
  /** Render the resource's published `updated`/`saved` RecordEvent workflow inputs in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagonal-hq/cli",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "The diagonal CLI and the configuration helpers for file-based Diagonal workspaces.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {