@stndrds/schema 1.0.0-alpha.303 → 1.0.0-alpha.306
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/{all-EX5romwn.d.mts → all-B5F4Ucq4.d.mts} +25 -3
- package/dist/{all-BV7tFgtR.d.ts → all-D9yoIfEk.d.ts} +25 -3
- package/dist/{attributes-CJNqalP0.d.mts → attributes-B_khA3fi.d.mts} +12 -4
- package/dist/{attributes-CJNqalP0.d.ts → attributes-B_khA3fi.d.ts} +12 -4
- package/dist/chunk-D7GNAYHI.mjs +2 -0
- package/dist/chunk-GL4DMIU4.mjs +2 -0
- package/dist/chunk-INYZJR7M.js +2 -0
- package/dist/chunk-NJQVVPC5.js +2 -0
- package/dist/exceptions.d.mts +1 -1
- package/dist/exceptions.d.ts +1 -1
- package/dist/{helpers-DIWzq1cf.d.ts → helpers-BKinvyuR.d.ts} +3 -3
- package/dist/{helpers-BnyKRb4x.d.mts → helpers-BqSFb28c.d.mts} +3 -3
- package/dist/{index-DcXCAPHR.d.mts → index-BjQ1n6i2.d.mts} +21 -4
- package/dist/{index-B36J5GDI.d.ts → index-DkJ7IaQx.d.ts} +21 -4
- package/dist/index.d.mts +271 -35
- package/dist/index.d.ts +271 -35
- package/dist/index.js +19 -19
- package/dist/index.mjs +18 -18
- package/dist/{objects-DglxOigU.d.mts → objects-DLkL-wPr.d.mts} +1 -1
- package/dist/{objects-CfJvQbZc.d.ts → objects-F9rhbUPZ.d.ts} +1 -1
- package/dist/{types-Co8cq3dM.d.mts → types-B6oO_Fkh.d.mts} +1 -1
- package/dist/{types-CEwRsyh0.d.ts → types-ce2p4cgi.d.ts} +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/dist/validation/all.d.mts +6 -6
- package/dist/validation/all.d.ts +6 -6
- package/dist/validation/all.js +1 -1
- package/dist/validation/all.mjs +1 -1
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/location.d.mts +2 -2
- package/dist/validation/complex/location.d.ts +2 -2
- package/dist/validation/complex/phone.d.mts +2 -2
- package/dist/validation/complex/phone.d.ts +2 -2
- package/dist/validation/complex/relation.d.mts +2 -2
- package/dist/validation/complex/relation.d.ts +2 -2
- package/dist/validation/complex/richtext.d.mts +2 -2
- package/dist/validation/complex/richtext.d.ts +2 -2
- package/dist/validation/complex/select.d.mts +2 -2
- package/dist/validation/complex/select.d.ts +2 -2
- package/dist/validation/complex/user.d.mts +2 -2
- package/dist/validation/complex/user.d.ts +2 -2
- package/dist/validation/computed/formula.d.mts +2 -2
- package/dist/validation/computed/formula.d.ts +2 -2
- package/dist/validation/computed/rollup.d.mts +2 -2
- package/dist/validation/computed/rollup.d.ts +2 -2
- package/dist/validation/config/index.d.mts +3 -3
- package/dist/validation/config/index.d.ts +3 -3
- package/dist/validation/core/index.d.mts +3 -3
- package/dist/validation/core/index.d.ts +3 -3
- package/dist/validation/object/index.d.mts +4 -4
- package/dist/validation/object/index.d.ts +4 -4
- package/dist/validation/primitives/checkbox.d.mts +2 -2
- package/dist/validation/primitives/checkbox.d.ts +2 -2
- package/dist/validation/primitives/date.d.mts +2 -2
- package/dist/validation/primitives/date.d.ts +2 -2
- package/dist/validation/primitives/number.d.mts +2 -2
- package/dist/validation/primitives/number.d.ts +2 -2
- package/dist/validation/primitives/text.d.mts +2 -2
- package/dist/validation/primitives/text.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunk-CCB4E55H.mjs +0 -2
- package/dist/chunk-JKGRSRRX.js +0 -2
- package/dist/chunk-VY5UBDTO.js +0 -2
- package/dist/chunk-WBFUAEWU.mjs +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, k as AttributeType, f as RollupAttribute } from './attributes-
|
|
2
|
+
import { A as Attribute, k as AttributeType, f as RollupAttribute } from './attributes-B_khA3fi.js';
|
|
3
3
|
import { IconName } from '@stndrds/constants';
|
|
4
|
-
import { L as ListViewTabVisibility } from './objects-
|
|
4
|
+
import { L as ListViewTabVisibility } from './objects-F9rhbUPZ.js';
|
|
5
5
|
|
|
6
6
|
/** Operators for text-based attributes */
|
|
7
7
|
type TextFilterOperator = "is" | "is_not" | "contains" | "not_contains" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty";
|
|
@@ -196,6 +196,14 @@ type ViewType = "detail" | "list";
|
|
|
196
196
|
* - `peek`: Create a draft immediately and open it in the record stack side panel
|
|
197
197
|
*/
|
|
198
198
|
type CreateMode = "redirect" | "inline" | "peek";
|
|
199
|
+
/**
|
|
200
|
+
* Where a record opens from this tab: the record-stack side panel, or its own
|
|
201
|
+
* page. Absent means the surface's own default — an existing view must not
|
|
202
|
+
* change how its records open because a field gained a value (#3158).
|
|
203
|
+
*
|
|
204
|
+
* Center peek is deliberately not offered (Karl, 2026-09-04).
|
|
205
|
+
*/
|
|
206
|
+
type RecordOpenMode = "side" | "page";
|
|
199
207
|
/**
|
|
200
208
|
* Inline attribute group configuration
|
|
201
209
|
* Groups multiple attributes into a single composite field with dropdown editing
|
|
@@ -333,6 +341,8 @@ interface TableTab extends BaseTab {
|
|
|
333
341
|
allowCreate?: boolean;
|
|
334
342
|
/** Creation behavior when allowCreate is true. Default: "redirect" */
|
|
335
343
|
createMode?: CreateMode;
|
|
344
|
+
/** Where a record from this tab opens. Absent = the surface's default. */
|
|
345
|
+
openMode?: RecordOpenMode;
|
|
336
346
|
/** Allow inline editing */
|
|
337
347
|
allowEdit?: boolean;
|
|
338
348
|
/** Allow deleting records */
|
|
@@ -377,6 +387,11 @@ interface DocumentsTab extends BaseTab {
|
|
|
377
387
|
allowUpload?: boolean;
|
|
378
388
|
allowRemove?: boolean;
|
|
379
389
|
hideAttachments?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Names of relation attributes on the current object whose target records'
|
|
392
|
+
* drives are listed beside the record's own. Absent = single drive.
|
|
393
|
+
*/
|
|
394
|
+
relations?: string[];
|
|
380
395
|
}
|
|
381
396
|
/**
|
|
382
397
|
* Forms tab - displays available forms for creating related records
|
|
@@ -464,6 +479,8 @@ interface ListViewTab {
|
|
|
464
479
|
readOnly?: boolean;
|
|
465
480
|
/** Creation behavior when clicking "+". Default: "redirect" */
|
|
466
481
|
createMode?: CreateMode;
|
|
482
|
+
/** Where a record from this tab opens. Absent = the surface's default. */
|
|
483
|
+
openMode?: RecordOpenMode;
|
|
467
484
|
/** @deprecated Use displayAttributes. Legacy user attribute on Kanban cards. */
|
|
468
485
|
cardUserAttribute?: string;
|
|
469
486
|
/** @deprecated Use displayAttributes. Legacy date attribute on Kanban cards. */
|
|
@@ -496,7 +513,7 @@ type SidePanelPane = {
|
|
|
496
513
|
} | {
|
|
497
514
|
kind: "documents";
|
|
498
515
|
/**
|
|
499
|
-
* Required, unlike the other kinds: `
|
|
516
|
+
* Required, unlike the other kinds: `RecordDriveContent` keys its
|
|
500
517
|
* sort-mode persistence on it, so a pane without one would share the
|
|
501
518
|
* main-column documents tab's stored sort.
|
|
502
519
|
*/
|
|
@@ -852,4 +869,4 @@ declare function parseAttributeConfigForCreate(type: AttributeType, input: unkno
|
|
|
852
869
|
*/
|
|
853
870
|
declare function parseAttributeConfigForUpdate(stored: Attribute, patch: Partial<AddAttributeInput>): Record<string, unknown>;
|
|
854
871
|
|
|
855
|
-
export { type
|
|
872
|
+
export { type RelationOptionsResponse as $, type AttributeGroupField as A, type ExtendedFilterRule as B, type ConfigOverrides as C, type DetailViewConfig as D, type EmailsTab as E, type FilterState as F, type Group as G, type FilterCombinator as H, type FilterGroup as I, type FormDensity as J, type FormTab as K, type ListViewTab as L, type MeetingsTab as M, type FormsTab as N, type InverseSource as O, type ListViewPresentationOverrides as P, type ListViewPresentationTabOverrides as Q, type RecordOpenMode as R, type SortRule as S, type TableTab as T, NO_VALUE_OPERATORS as U, type ViewType as V, type NoValueOperator as W, OPERATORS_BY_TYPE as X, type PhoneFilterValue as Y, type QueryState as Z, type RelationOption as _, type ViewConfig as a, type RelationSource as a0, type RichtextTab as a1, type SidePanelPane as a2, type SortDirection as a3, type TabType as a4, type TableSource as a5, type UpdateObjectInput as a6, type UpdateViewInput as a7, type ViewOverlay as a8, getRollupFilterOperators as a9, isDetailView as aa, isFieldGroup as ab, isListView as ac, isNoValueOperator as ad, multiselectOptionWriteSchema as ae, parseAttributeConfig as af, parseAttributeConfigForCreate as ag, parseAttributeConfigForUpdate as ah, selectOptionWriteSchema as ai, statusGroupSchema as aj, statusOptionWriteSchema as ak, attributeConfigSchemas as al, getAttributeConfigSchema as am, getAttributeConfigWriteSchema as an, type FilterOperator as b, type DetailViewDefinition as c, type SidePanelConfig as d, type Field as e, type FieldGroup as f, type CreateMode as g, type Tab as h, type ListViewConfig as i, type ListViewDefinition as j, type ListViewLayout as k, type ViewDefinition as l, type FilterValue as m, type FilterRule as n, type DynamicValue as o, type RelativeDateValue as p, type ActivityTab as q, type AddAttributeInput as r, type AdvancedFilterState as s, type CreateCustomObjectInput as t, type CreateViewInput as u, type CurrencyFilterValue as v, type CustomTab as w, type DayMonthValue as x, type DocumentsTab as y, type EdgeQuantifier as z };
|