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