@diagonal-hq/pages 0.2.0 → 0.2.1
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/dist/index.d.ts +20 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7669,8 +7669,10 @@ export type SdkHooks = {
|
|
|
7669
7669
|
/** Include every creatable field, ignoring per-field `show_on_creating` form
|
|
7670
7670
|
* visibility. Still excludes system/virtual fields and respects field access. */
|
|
7671
7671
|
includeAllFields?: boolean;
|
|
7672
|
-
/** How relation fields resolve inline attach/create.
|
|
7673
|
-
*
|
|
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. */
|
|
7674
7676
|
relationVisibility?: RelationVisibility;
|
|
7675
7677
|
/** Send a booking idempotency key, kept across retries of the same values. Defaults to
|
|
7676
7678
|
* `false`. Submitting throws when the resource has no booking idempotency field. */
|
|
@@ -7729,8 +7731,10 @@ export type SdkHooks = {
|
|
|
7729
7731
|
/** Include every updatable field, ignoring per-field `show_on_updating` form
|
|
7730
7732
|
* visibility. Still excludes system/virtual fields and respects field access. */
|
|
7731
7733
|
includeAllFields?: boolean;
|
|
7732
|
-
/** How relation fields resolve inline attach/create.
|
|
7733
|
-
*
|
|
7734
|
+
/** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
|
|
7735
|
+
* the field's stored settings. When omitted, a relation listed in `fields` gets inline
|
|
7736
|
+
* attach on and inline create per its settings; without `fields` the stored settings
|
|
7737
|
+
* apply. `'always'` forces both on. */
|
|
7734
7738
|
relationVisibility?: RelationVisibility;
|
|
7735
7739
|
onSuccess?: (record: ResourceRecord) => void;
|
|
7736
7740
|
}): UseUpdateResourceRecordFormResult;
|
|
@@ -10251,8 +10255,12 @@ export type CreateResourceRecordFormProps<TResource extends CreateFormResource =
|
|
|
10251
10255
|
* identity may store them. */
|
|
10252
10256
|
includeSystemManagedRelationKeys?: string[];
|
|
10253
10257
|
|
|
10254
|
-
/** How relation fields resolve inline attach/create.
|
|
10255
|
-
*
|
|
10258
|
+
/** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
|
|
10259
|
+
* the field's stored `allow_inline_*` settings. When omitted, a relation listed in
|
|
10260
|
+
* `fields` gets inline attach enabled; inline create still follows its settings.
|
|
10261
|
+
* Without `fields`, omitted visibility uses the stored settings.
|
|
10262
|
+
* `'always'` enables both inline attach and create. `'attach-only'` enables inline
|
|
10263
|
+
* attach and disables inline create. */
|
|
10256
10264
|
relationVisibility?: RelationVisibility;
|
|
10257
10265
|
|
|
10258
10266
|
/** Render the resource's published `created`/`saved` RecordEvent workflow inputs in the
|
|
@@ -14001,8 +14009,12 @@ export type UpdateResourceRecordFormProps<TResource extends UpdateFormResource =
|
|
|
14001
14009
|
* explicit `fields` are provided. */
|
|
14002
14010
|
includeAllFields?: boolean;
|
|
14003
14011
|
|
|
14004
|
-
/** How relation fields resolve inline attach/create.
|
|
14005
|
-
*
|
|
14012
|
+
/** How relation fields resolve inline attach/create. Explicit `'settings'` uses only
|
|
14013
|
+
* the field's stored `allow_inline_*` settings. When omitted, a relation listed in
|
|
14014
|
+
* `fields` gets inline attach enabled; inline create still follows its settings.
|
|
14015
|
+
* Without `fields`, omitted visibility uses the stored settings.
|
|
14016
|
+
* `'always'` enables both inline attach and create. `'attach-only'` enables inline
|
|
14017
|
+
* attach and disables inline create. */
|
|
14006
14018
|
relationVisibility?: RelationVisibility;
|
|
14007
14019
|
|
|
14008
14020
|
/** Render the resource's published `updated`/`saved` RecordEvent workflow inputs in the
|