@stndrds/schema 1.0.0-alpha.181 → 1.0.0-alpha.183
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/{filters-CF9yHR4_.d.mts → filters-DVbxM2W4.d.mts} +6 -2
- package/dist/{filters-H_bOUj15.d.ts → filters-qNc-JmQI.d.ts} +6 -2
- package/dist/{helpers-DXkMlkUv.d.ts → helpers-D-_4FAcR.d.ts} +2 -2
- package/dist/{helpers-vxhRd_lI.d.mts → helpers-g5uHrKfE.d.mts} +2 -2
- package/dist/index.d.mts +18 -7
- package/dist/index.d.ts +18 -7
- package/dist/index.js +46 -5
- package/dist/index.mjs +46 -5
- package/dist/{types-DH61V-D5.d.mts → types-BTrwWar6.d.mts} +1 -1
- package/dist/{types-CJygKhnQ.d.ts → types-CQTltaH_.d.ts} +1 -1
- package/dist/validation/all.d.mts +3 -3
- package/dist/validation/all.d.ts +3 -3
- package/dist/validation/complex/currency.d.mts +2 -2
- package/dist/validation/complex/currency.d.ts +2 -2
- package/dist/validation/complex/file.d.mts +2 -2
- package/dist/validation/complex/file.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 +1 -1
- package/dist/validation/config/index.d.ts +1 -1
- 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 +3 -3
- package/dist/validation/object/index.d.ts +3 -3
- 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/rating.d.mts +2 -2
- package/dist/validation/primitives/rating.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
|
@@ -1459,8 +1459,12 @@ type DateFilterOperator = "is" | "is_not" | "before" | "after" | "on_or_before"
|
|
|
1459
1459
|
type SelectFilterOperator = "is" | "is_not" | "any_of" | "none_of" | "is_empty" | "is_not_empty";
|
|
1460
1460
|
/** Operators for multiselect-based attributes */
|
|
1461
1461
|
type MultiselectFilterOperator = "contains" | "not_contains" | "is_empty" | "is_not_empty";
|
|
1462
|
-
/**
|
|
1463
|
-
|
|
1462
|
+
/**
|
|
1463
|
+
* Operators for relation-based attributes (covers single, multi-value, and
|
|
1464
|
+
* reference-shaped filtering — file, user, relation, document all share the
|
|
1465
|
+
* same edge-backed operator set as of Phase 4.4).
|
|
1466
|
+
*/
|
|
1467
|
+
type RelationFilterOperator = "is" | "is_not" | "any_of" | "none_of" | "contains" | "not_contains" | "is_empty" | "is_not_empty";
|
|
1464
1468
|
/** All possible filter operators */
|
|
1465
1469
|
type FilterOperator = TextFilterOperator | NumberFilterOperator | CheckboxFilterOperator | DateFilterOperator | SelectFilterOperator | MultiselectFilterOperator | RelationFilterOperator;
|
|
1466
1470
|
/** Relative date value for "is_within" operator */
|
|
@@ -1459,8 +1459,12 @@ type DateFilterOperator = "is" | "is_not" | "before" | "after" | "on_or_before"
|
|
|
1459
1459
|
type SelectFilterOperator = "is" | "is_not" | "any_of" | "none_of" | "is_empty" | "is_not_empty";
|
|
1460
1460
|
/** Operators for multiselect-based attributes */
|
|
1461
1461
|
type MultiselectFilterOperator = "contains" | "not_contains" | "is_empty" | "is_not_empty";
|
|
1462
|
-
/**
|
|
1463
|
-
|
|
1462
|
+
/**
|
|
1463
|
+
* Operators for relation-based attributes (covers single, multi-value, and
|
|
1464
|
+
* reference-shaped filtering — file, user, relation, document all share the
|
|
1465
|
+
* same edge-backed operator set as of Phase 4.4).
|
|
1466
|
+
*/
|
|
1467
|
+
type RelationFilterOperator = "is" | "is_not" | "any_of" | "none_of" | "contains" | "not_contains" | "is_empty" | "is_not_empty";
|
|
1464
1468
|
/** All possible filter operators */
|
|
1465
1469
|
type FilterOperator = TextFilterOperator | NumberFilterOperator | CheckboxFilterOperator | DateFilterOperator | SelectFilterOperator | MultiselectFilterOperator | RelationFilterOperator;
|
|
1466
1470
|
/** Relative date value for "is_within" operator */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition, j as CompletionStatus } from './filters-
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition, j as CompletionStatus } from './filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-CQTltaH_.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { A as Attribute, O as ObjectDefinition, j as CompletionStatus } from './filters-
|
|
3
|
-
import { V as ValidationMessages, a as ValidationResult } from './types-
|
|
2
|
+
import { A as Attribute, O as ObjectDefinition, j as CompletionStatus } from './filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages, a as ValidationResult } from './types-BTrwWar6.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Create a Zod schema for any attribute type.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { k as SortRule, l as FilterState, m as Timestamps, n as AttributeType, V as ViewType, o as ViewConfig, p as ConfigOverrides, j as CompletionStatus, A as Attribute, q as LocationGranularity, r as Location, e as FormulaAttribute, f as RollupAttribute, s as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, t as Phone, u as Currency, D as DateAttribute, U as UserAttribute, v as DocumentSlotConfig, w as PropertySchema, x as FeatureGate, g as CheckboxAttribute, C as CurrencyAttribute, i as TextAttribute, T as TextAreaAttribute, N as NumberAttribute, P as PhoneAttribute, y as Option, h as RatingAttribute, L as LocationAttribute, F as FileAttribute, z as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, E as RelationTarget, a as RichtextAttribute, G as RichtextFeature, H as RollupFunction, I as MigrationDefinition, O as ObjectDefinition, J as DetailViewConfig, K as DetailViewDefinition, Q as DetailViewLayout, W as SidePanelConfig, X as Field, Y as AttributeGroupField, Z as FieldGroup, _ as RelationGroup, $ as Group, a0 as TableTab, a1 as CreateMode, a2 as Tab, a3 as ListViewConfig, a4 as ListViewDefinition, a5 as FlagValueType, a6 as FeatureFlagDefinition, a7 as FlagLevel, a8 as FeatureFlagsRepository, a9 as StaticFlagDefault, aa as ResolvedFlag, ab as ViewDefinition, ac as ListViewTab, ad as FilterOperator, ae as FilterValue, af as FilterRule } from './filters-
|
|
2
|
-
export { ag as ActivityTab, ah as AdvancedFilterState, ai as AttributeGroup, aj as BaseAttribute, ak as BuiltInTransform, al as CreateDocument, am as CreateDocumentSlot, an as CreateProcessingJob, ao as CurrencyFilterValue, ap as CustomTab, aq as DEFAULT_DOCUMENT_SLOT, ar as DateFormat, as as DateValue, at as Document, au as DocumentListOptions, av as DocumentSlot, aw as DocumentWithSlots, ax as DocumentsTab, ay as ExtendedFilterRule, az as FeatureFlagsConfig, aA as FilterCombinator, aB as FilterGroup, aC as FlagOverride, aD as FormDensity, aE as FormTab, aF as FormsTab, aG as InverseSource, aH as ListViewLayout, aI as MigrationError, aJ as NO_VALUE_OPERATORS, aK as NoValueOperator, aL as NumberUnit, aM as OPERATORS_BY_TYPE, aN as ObjectAttribute, aO as ObjectRecord, aP as OptionPropertyAttribute, aQ as PhoneFilterValue, aR as ProcessingJob, aS as ProcessingJobStatus, aT as ProcessingJobType, aU as PropertyAttribute, aV as PropertyType, aW as QueryState, aX as RELATION_TARGET_ANY, aY as RESERVED_ATTRIBUTE_NAMES, aZ as RecordDocuments, a_ as RelationSource, a$ as RelativeDateValue, b0 as ReservedAttributeName, b1 as RichtextTab, b2 as SYSTEM_FIELD_NAMES, b3 as SchemaOperation, b4 as SchemaTransform, b5 as SlotStatus, b6 as SortDirection, b7 as StatusGroup, b8 as SystemFieldName, b9 as TabType, ba as TableSource, bb as TransformSource, bc as UpdateDocument, bd as UpdateDocumentSlot, be as UpdateProcessingJob, bf as ViewOperation, bg as ViewOverlay, bh as ViewTransform, bi as getRollupFilterOperators, bj as hasOptions, bk as inferInverseCardinality, bl as isAttributeSortable, bm as isBilateralRelation, bn as isDetailView, bo as isFieldGroup, bp as isListView, bq as isNoValueOperator, br as isRelationGroup, bs as isUniversalRelation } from './filters-
|
|
1
|
+
import { k as SortRule, l as FilterState, m as Timestamps, n as AttributeType, V as ViewType, o as ViewConfig, p as ConfigOverrides, j as CompletionStatus, A as Attribute, q as LocationGranularity, r as Location, e as FormulaAttribute, f as RollupAttribute, s as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, t as Phone, u as Currency, D as DateAttribute, U as UserAttribute, v as DocumentSlotConfig, w as PropertySchema, x as FeatureGate, g as CheckboxAttribute, C as CurrencyAttribute, i as TextAttribute, T as TextAreaAttribute, N as NumberAttribute, P as PhoneAttribute, y as Option, h as RatingAttribute, L as LocationAttribute, F as FileAttribute, z as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, E as RelationTarget, a as RichtextAttribute, G as RichtextFeature, H as RollupFunction, I as MigrationDefinition, O as ObjectDefinition, J as DetailViewConfig, K as DetailViewDefinition, Q as DetailViewLayout, W as SidePanelConfig, X as Field, Y as AttributeGroupField, Z as FieldGroup, _ as RelationGroup, $ as Group, a0 as TableTab, a1 as CreateMode, a2 as Tab, a3 as ListViewConfig, a4 as ListViewDefinition, a5 as FlagValueType, a6 as FeatureFlagDefinition, a7 as FlagLevel, a8 as FeatureFlagsRepository, a9 as StaticFlagDefault, aa as ResolvedFlag, ab as ViewDefinition, ac as ListViewTab, ad as FilterOperator, ae as FilterValue, af as FilterRule } from './filters-DVbxM2W4.mjs';
|
|
2
|
+
export { ag as ActivityTab, ah as AdvancedFilterState, ai as AttributeGroup, aj as BaseAttribute, ak as BuiltInTransform, al as CreateDocument, am as CreateDocumentSlot, an as CreateProcessingJob, ao as CurrencyFilterValue, ap as CustomTab, aq as DEFAULT_DOCUMENT_SLOT, ar as DateFormat, as as DateValue, at as Document, au as DocumentListOptions, av as DocumentSlot, aw as DocumentWithSlots, ax as DocumentsTab, ay as ExtendedFilterRule, az as FeatureFlagsConfig, aA as FilterCombinator, aB as FilterGroup, aC as FlagOverride, aD as FormDensity, aE as FormTab, aF as FormsTab, aG as InverseSource, aH as ListViewLayout, aI as MigrationError, aJ as NO_VALUE_OPERATORS, aK as NoValueOperator, aL as NumberUnit, aM as OPERATORS_BY_TYPE, aN as ObjectAttribute, aO as ObjectRecord, aP as OptionPropertyAttribute, aQ as PhoneFilterValue, aR as ProcessingJob, aS as ProcessingJobStatus, aT as ProcessingJobType, aU as PropertyAttribute, aV as PropertyType, aW as QueryState, aX as RELATION_TARGET_ANY, aY as RESERVED_ATTRIBUTE_NAMES, aZ as RecordDocuments, a_ as RelationSource, a$ as RelativeDateValue, b0 as ReservedAttributeName, b1 as RichtextTab, b2 as SYSTEM_FIELD_NAMES, b3 as SchemaOperation, b4 as SchemaTransform, b5 as SlotStatus, b6 as SortDirection, b7 as StatusGroup, b8 as SystemFieldName, b9 as TabType, ba as TableSource, bb as TransformSource, bc as UpdateDocument, bd as UpdateDocumentSlot, be as UpdateProcessingJob, bf as ViewOperation, bg as ViewOverlay, bh as ViewTransform, bi as getRollupFilterOperators, bj as hasOptions, bk as inferInverseCardinality, bl as isAttributeSortable, bm as isBilateralRelation, bn as isDetailView, bo as isFieldGroup, bp as isListView, bq as isNoValueOperator, br as isRelationGroup, bs as isUniversalRelation } from './filters-DVbxM2W4.mjs';
|
|
3
3
|
import { MimeType, IconName, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
|
|
4
4
|
import { Uuid, TenantId } from './utils.mjs';
|
|
5
5
|
export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.mjs';
|
|
6
6
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
7
7
|
export { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import z from 'zod';
|
|
9
|
-
export { V as ValidationMessages } from './types-
|
|
9
|
+
export { V as ValidationMessages } from './types-BTrwWar6.mjs';
|
|
10
10
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.mjs';
|
|
11
11
|
export { parseAttributeConfig } from './validation/config/index.mjs';
|
|
12
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-
|
|
12
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-g5uHrKfE.mjs';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Generic list options for pagination and sorting
|
|
@@ -335,8 +335,9 @@ interface SearchOptions extends ListOptions {
|
|
|
335
335
|
semanticRatio?: number;
|
|
336
336
|
/**
|
|
337
337
|
* When set, restrict results to records whose `id` is in this list.
|
|
338
|
-
*
|
|
339
|
-
*
|
|
338
|
+
* `null` means "no constraint" (same as omitted). Used by callers that want
|
|
339
|
+
* to intersect search results with a precomputed allow-list (e.g. derived
|
|
340
|
+
* elsewhere in the application).
|
|
340
341
|
*/
|
|
341
342
|
constrainToIds?: string[] | null;
|
|
342
343
|
}
|
|
@@ -6374,7 +6375,7 @@ declare const formRegistry: FormRegistry;
|
|
|
6374
6375
|
* Event types emitted by write paths.
|
|
6375
6376
|
* New types are added as handlers are implemented.
|
|
6376
6377
|
*/
|
|
6377
|
-
type EventType = "record.created" | "record.updated" | "record.deleted" | "record.restored" | "form.submitted";
|
|
6378
|
+
type EventType = "record.created" | "record.updated" | "record.deleted" | "record.restored" | "form.submitted" | "meili.settings.refresh";
|
|
6378
6379
|
/**
|
|
6379
6380
|
* Typed payload map — each event type has a specific data shape.
|
|
6380
6381
|
*/
|
|
@@ -6417,6 +6418,16 @@ interface EventDataMap {
|
|
|
6417
6418
|
slotValues: Record<string, Record<string, unknown>>;
|
|
6418
6419
|
stepValues: Record<string, Record<string, unknown>>;
|
|
6419
6420
|
};
|
|
6421
|
+
/**
|
|
6422
|
+
* Phase 6 — request a refresh of the Meilisearch index settings for a tenant.
|
|
6423
|
+
* Emitted by schema mutations (attribute add/update/delete) so the search
|
|
6424
|
+
* adapter can recompute sortableAttributes from the live schema without a
|
|
6425
|
+
* full reindex.
|
|
6426
|
+
*/
|
|
6427
|
+
"meili.settings.refresh": {
|
|
6428
|
+
/** Tenant whose Meili index should be reconfigured. */
|
|
6429
|
+
tenantId: string;
|
|
6430
|
+
};
|
|
6420
6431
|
}
|
|
6421
6432
|
/**
|
|
6422
6433
|
* A typed domain event.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { k as SortRule, l as FilterState, m as Timestamps, n as AttributeType, V as ViewType, o as ViewConfig, p as ConfigOverrides, j as CompletionStatus, A as Attribute, q as LocationGranularity, r as Location, e as FormulaAttribute, f as RollupAttribute, s as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, t as Phone, u as Currency, D as DateAttribute, U as UserAttribute, v as DocumentSlotConfig, w as PropertySchema, x as FeatureGate, g as CheckboxAttribute, C as CurrencyAttribute, i as TextAttribute, T as TextAreaAttribute, N as NumberAttribute, P as PhoneAttribute, y as Option, h as RatingAttribute, L as LocationAttribute, F as FileAttribute, z as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, E as RelationTarget, a as RichtextAttribute, G as RichtextFeature, H as RollupFunction, I as MigrationDefinition, O as ObjectDefinition, J as DetailViewConfig, K as DetailViewDefinition, Q as DetailViewLayout, W as SidePanelConfig, X as Field, Y as AttributeGroupField, Z as FieldGroup, _ as RelationGroup, $ as Group, a0 as TableTab, a1 as CreateMode, a2 as Tab, a3 as ListViewConfig, a4 as ListViewDefinition, a5 as FlagValueType, a6 as FeatureFlagDefinition, a7 as FlagLevel, a8 as FeatureFlagsRepository, a9 as StaticFlagDefault, aa as ResolvedFlag, ab as ViewDefinition, ac as ListViewTab, ad as FilterOperator, ae as FilterValue, af as FilterRule } from './filters-
|
|
2
|
-
export { ag as ActivityTab, ah as AdvancedFilterState, ai as AttributeGroup, aj as BaseAttribute, ak as BuiltInTransform, al as CreateDocument, am as CreateDocumentSlot, an as CreateProcessingJob, ao as CurrencyFilterValue, ap as CustomTab, aq as DEFAULT_DOCUMENT_SLOT, ar as DateFormat, as as DateValue, at as Document, au as DocumentListOptions, av as DocumentSlot, aw as DocumentWithSlots, ax as DocumentsTab, ay as ExtendedFilterRule, az as FeatureFlagsConfig, aA as FilterCombinator, aB as FilterGroup, aC as FlagOverride, aD as FormDensity, aE as FormTab, aF as FormsTab, aG as InverseSource, aH as ListViewLayout, aI as MigrationError, aJ as NO_VALUE_OPERATORS, aK as NoValueOperator, aL as NumberUnit, aM as OPERATORS_BY_TYPE, aN as ObjectAttribute, aO as ObjectRecord, aP as OptionPropertyAttribute, aQ as PhoneFilterValue, aR as ProcessingJob, aS as ProcessingJobStatus, aT as ProcessingJobType, aU as PropertyAttribute, aV as PropertyType, aW as QueryState, aX as RELATION_TARGET_ANY, aY as RESERVED_ATTRIBUTE_NAMES, aZ as RecordDocuments, a_ as RelationSource, a$ as RelativeDateValue, b0 as ReservedAttributeName, b1 as RichtextTab, b2 as SYSTEM_FIELD_NAMES, b3 as SchemaOperation, b4 as SchemaTransform, b5 as SlotStatus, b6 as SortDirection, b7 as StatusGroup, b8 as SystemFieldName, b9 as TabType, ba as TableSource, bb as TransformSource, bc as UpdateDocument, bd as UpdateDocumentSlot, be as UpdateProcessingJob, bf as ViewOperation, bg as ViewOverlay, bh as ViewTransform, bi as getRollupFilterOperators, bj as hasOptions, bk as inferInverseCardinality, bl as isAttributeSortable, bm as isBilateralRelation, bn as isDetailView, bo as isFieldGroup, bp as isListView, bq as isNoValueOperator, br as isRelationGroup, bs as isUniversalRelation } from './filters-
|
|
1
|
+
import { k as SortRule, l as FilterState, m as Timestamps, n as AttributeType, V as ViewType, o as ViewConfig, p as ConfigOverrides, j as CompletionStatus, A as Attribute, q as LocationGranularity, r as Location, e as FormulaAttribute, f as RollupAttribute, s as DocumentAttribute, d as StatusAttribute, c as SelectAttribute, b as MultiselectAttribute, t as Phone, u as Currency, D as DateAttribute, U as UserAttribute, v as DocumentSlotConfig, w as PropertySchema, x as FeatureGate, g as CheckboxAttribute, C as CurrencyAttribute, i as TextAttribute, T as TextAreaAttribute, N as NumberAttribute, P as PhoneAttribute, y as Option, h as RatingAttribute, L as LocationAttribute, F as FileAttribute, z as FormulaReturnType, R as RelationAttribute, B as BilateralConfig, S as SingleRelationAttribute, M as MultiRelationAttribute, E as RelationTarget, a as RichtextAttribute, G as RichtextFeature, H as RollupFunction, I as MigrationDefinition, O as ObjectDefinition, J as DetailViewConfig, K as DetailViewDefinition, Q as DetailViewLayout, W as SidePanelConfig, X as Field, Y as AttributeGroupField, Z as FieldGroup, _ as RelationGroup, $ as Group, a0 as TableTab, a1 as CreateMode, a2 as Tab, a3 as ListViewConfig, a4 as ListViewDefinition, a5 as FlagValueType, a6 as FeatureFlagDefinition, a7 as FlagLevel, a8 as FeatureFlagsRepository, a9 as StaticFlagDefault, aa as ResolvedFlag, ab as ViewDefinition, ac as ListViewTab, ad as FilterOperator, ae as FilterValue, af as FilterRule } from './filters-qNc-JmQI.js';
|
|
2
|
+
export { ag as ActivityTab, ah as AdvancedFilterState, ai as AttributeGroup, aj as BaseAttribute, ak as BuiltInTransform, al as CreateDocument, am as CreateDocumentSlot, an as CreateProcessingJob, ao as CurrencyFilterValue, ap as CustomTab, aq as DEFAULT_DOCUMENT_SLOT, ar as DateFormat, as as DateValue, at as Document, au as DocumentListOptions, av as DocumentSlot, aw as DocumentWithSlots, ax as DocumentsTab, ay as ExtendedFilterRule, az as FeatureFlagsConfig, aA as FilterCombinator, aB as FilterGroup, aC as FlagOverride, aD as FormDensity, aE as FormTab, aF as FormsTab, aG as InverseSource, aH as ListViewLayout, aI as MigrationError, aJ as NO_VALUE_OPERATORS, aK as NoValueOperator, aL as NumberUnit, aM as OPERATORS_BY_TYPE, aN as ObjectAttribute, aO as ObjectRecord, aP as OptionPropertyAttribute, aQ as PhoneFilterValue, aR as ProcessingJob, aS as ProcessingJobStatus, aT as ProcessingJobType, aU as PropertyAttribute, aV as PropertyType, aW as QueryState, aX as RELATION_TARGET_ANY, aY as RESERVED_ATTRIBUTE_NAMES, aZ as RecordDocuments, a_ as RelationSource, a$ as RelativeDateValue, b0 as ReservedAttributeName, b1 as RichtextTab, b2 as SYSTEM_FIELD_NAMES, b3 as SchemaOperation, b4 as SchemaTransform, b5 as SlotStatus, b6 as SortDirection, b7 as StatusGroup, b8 as SystemFieldName, b9 as TabType, ba as TableSource, bb as TransformSource, bc as UpdateDocument, bd as UpdateDocumentSlot, be as UpdateProcessingJob, bf as ViewOperation, bg as ViewOverlay, bh as ViewTransform, bi as getRollupFilterOperators, bj as hasOptions, bk as inferInverseCardinality, bl as isAttributeSortable, bm as isBilateralRelation, bn as isDetailView, bo as isFieldGroup, bp as isListView, bq as isNoValueOperator, br as isRelationGroup, bs as isUniversalRelation } from './filters-qNc-JmQI.js';
|
|
3
3
|
import { MimeType, IconName, ColorId, CountryIso3, CurrencyCode } from '@stndrds/constants';
|
|
4
4
|
import { Uuid, TenantId } from './utils.js';
|
|
5
5
|
export { UserId, asTenantId, asUserId, deepEqual, generateId, indexBy } from './utils.js';
|
|
6
6
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
7
7
|
export { StandardSchemaV1 } from '@standard-schema/spec';
|
|
8
8
|
import z from 'zod';
|
|
9
|
-
export { V as ValidationMessages } from './types-
|
|
9
|
+
export { V as ValidationMessages } from './types-CQTltaH_.js';
|
|
10
10
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './validation/core/index.js';
|
|
11
11
|
export { parseAttributeConfig } from './validation/config/index.js';
|
|
12
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-
|
|
12
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from './helpers-D-_4FAcR.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Generic list options for pagination and sorting
|
|
@@ -335,8 +335,9 @@ interface SearchOptions extends ListOptions {
|
|
|
335
335
|
semanticRatio?: number;
|
|
336
336
|
/**
|
|
337
337
|
* When set, restrict results to records whose `id` is in this list.
|
|
338
|
-
*
|
|
339
|
-
*
|
|
338
|
+
* `null` means "no constraint" (same as omitted). Used by callers that want
|
|
339
|
+
* to intersect search results with a precomputed allow-list (e.g. derived
|
|
340
|
+
* elsewhere in the application).
|
|
340
341
|
*/
|
|
341
342
|
constrainToIds?: string[] | null;
|
|
342
343
|
}
|
|
@@ -6374,7 +6375,7 @@ declare const formRegistry: FormRegistry;
|
|
|
6374
6375
|
* Event types emitted by write paths.
|
|
6375
6376
|
* New types are added as handlers are implemented.
|
|
6376
6377
|
*/
|
|
6377
|
-
type EventType = "record.created" | "record.updated" | "record.deleted" | "record.restored" | "form.submitted";
|
|
6378
|
+
type EventType = "record.created" | "record.updated" | "record.deleted" | "record.restored" | "form.submitted" | "meili.settings.refresh";
|
|
6378
6379
|
/**
|
|
6379
6380
|
* Typed payload map — each event type has a specific data shape.
|
|
6380
6381
|
*/
|
|
@@ -6417,6 +6418,16 @@ interface EventDataMap {
|
|
|
6417
6418
|
slotValues: Record<string, Record<string, unknown>>;
|
|
6418
6419
|
stepValues: Record<string, Record<string, unknown>>;
|
|
6419
6420
|
};
|
|
6421
|
+
/**
|
|
6422
|
+
* Phase 6 — request a refresh of the Meilisearch index settings for a tenant.
|
|
6423
|
+
* Emitted by schema mutations (attribute add/update/delete) so the search
|
|
6424
|
+
* adapter can recompute sortableAttributes from the live schema without a
|
|
6425
|
+
* full reindex.
|
|
6426
|
+
*/
|
|
6427
|
+
"meili.settings.refresh": {
|
|
6428
|
+
/** Tenant whose Meili index should be reconfigured. */
|
|
6429
|
+
tenantId: string;
|
|
6430
|
+
};
|
|
6420
6431
|
}
|
|
6421
6432
|
/**
|
|
6422
6433
|
* A typed domain event.
|
package/dist/index.js
CHANGED
|
@@ -430,9 +430,41 @@ var OPERATORS_BY_TYPE = {
|
|
|
430
430
|
select: ["is", "is_not", "any_of", "none_of", "is_empty", "is_not_empty"],
|
|
431
431
|
multiselect: ["contains", "not_contains", "is_empty", "is_not_empty"],
|
|
432
432
|
location: ["contains", "is_empty", "is_not_empty"],
|
|
433
|
-
file
|
|
434
|
-
|
|
435
|
-
|
|
433
|
+
// Reference attribute types (file, user, relation, document) all route
|
|
434
|
+
// through the edge filter resolver, which normalizes is/is_not/any_of/
|
|
435
|
+
// none_of/contains/not_contains via `getOperatorPolarity` +
|
|
436
|
+
// `normalizeForEdgeRpc`. Keep the operator lists symmetric so the schema
|
|
437
|
+
// validation matches what the runtime actually supports.
|
|
438
|
+
file: [
|
|
439
|
+
"is",
|
|
440
|
+
"is_not",
|
|
441
|
+
"any_of",
|
|
442
|
+
"none_of",
|
|
443
|
+
"contains",
|
|
444
|
+
"not_contains",
|
|
445
|
+
"is_empty",
|
|
446
|
+
"is_not_empty"
|
|
447
|
+
],
|
|
448
|
+
user: [
|
|
449
|
+
"is",
|
|
450
|
+
"is_not",
|
|
451
|
+
"any_of",
|
|
452
|
+
"none_of",
|
|
453
|
+
"contains",
|
|
454
|
+
"not_contains",
|
|
455
|
+
"is_empty",
|
|
456
|
+
"is_not_empty"
|
|
457
|
+
],
|
|
458
|
+
relation: [
|
|
459
|
+
"is",
|
|
460
|
+
"is_not",
|
|
461
|
+
"any_of",
|
|
462
|
+
"none_of",
|
|
463
|
+
"contains",
|
|
464
|
+
"not_contains",
|
|
465
|
+
"is_empty",
|
|
466
|
+
"is_not_empty"
|
|
467
|
+
],
|
|
436
468
|
rating: ["eq", "neq", "lt", "gt", "lte", "gte", "is_empty", "is_not_empty"],
|
|
437
469
|
// Formula: operators depend on returnType, but we provide a general set
|
|
438
470
|
formula: [
|
|
@@ -449,8 +481,17 @@ var OPERATORS_BY_TYPE = {
|
|
|
449
481
|
"is_empty",
|
|
450
482
|
"is_not_empty"
|
|
451
483
|
],
|
|
452
|
-
// Document:
|
|
453
|
-
document: [
|
|
484
|
+
// Document: same edge-backed operator set as relation / user / file.
|
|
485
|
+
document: [
|
|
486
|
+
"is",
|
|
487
|
+
"is_not",
|
|
488
|
+
"any_of",
|
|
489
|
+
"none_of",
|
|
490
|
+
"contains",
|
|
491
|
+
"not_contains",
|
|
492
|
+
"is_empty",
|
|
493
|
+
"is_not_empty"
|
|
494
|
+
]
|
|
454
495
|
};
|
|
455
496
|
var NO_VALUE_OPERATORS = [
|
|
456
497
|
"is_empty",
|
package/dist/index.mjs
CHANGED
|
@@ -426,9 +426,41 @@ var OPERATORS_BY_TYPE = {
|
|
|
426
426
|
select: ["is", "is_not", "any_of", "none_of", "is_empty", "is_not_empty"],
|
|
427
427
|
multiselect: ["contains", "not_contains", "is_empty", "is_not_empty"],
|
|
428
428
|
location: ["contains", "is_empty", "is_not_empty"],
|
|
429
|
-
file
|
|
430
|
-
|
|
431
|
-
|
|
429
|
+
// Reference attribute types (file, user, relation, document) all route
|
|
430
|
+
// through the edge filter resolver, which normalizes is/is_not/any_of/
|
|
431
|
+
// none_of/contains/not_contains via `getOperatorPolarity` +
|
|
432
|
+
// `normalizeForEdgeRpc`. Keep the operator lists symmetric so the schema
|
|
433
|
+
// validation matches what the runtime actually supports.
|
|
434
|
+
file: [
|
|
435
|
+
"is",
|
|
436
|
+
"is_not",
|
|
437
|
+
"any_of",
|
|
438
|
+
"none_of",
|
|
439
|
+
"contains",
|
|
440
|
+
"not_contains",
|
|
441
|
+
"is_empty",
|
|
442
|
+
"is_not_empty"
|
|
443
|
+
],
|
|
444
|
+
user: [
|
|
445
|
+
"is",
|
|
446
|
+
"is_not",
|
|
447
|
+
"any_of",
|
|
448
|
+
"none_of",
|
|
449
|
+
"contains",
|
|
450
|
+
"not_contains",
|
|
451
|
+
"is_empty",
|
|
452
|
+
"is_not_empty"
|
|
453
|
+
],
|
|
454
|
+
relation: [
|
|
455
|
+
"is",
|
|
456
|
+
"is_not",
|
|
457
|
+
"any_of",
|
|
458
|
+
"none_of",
|
|
459
|
+
"contains",
|
|
460
|
+
"not_contains",
|
|
461
|
+
"is_empty",
|
|
462
|
+
"is_not_empty"
|
|
463
|
+
],
|
|
432
464
|
rating: ["eq", "neq", "lt", "gt", "lte", "gte", "is_empty", "is_not_empty"],
|
|
433
465
|
// Formula: operators depend on returnType, but we provide a general set
|
|
434
466
|
formula: [
|
|
@@ -445,8 +477,17 @@ var OPERATORS_BY_TYPE = {
|
|
|
445
477
|
"is_empty",
|
|
446
478
|
"is_not_empty"
|
|
447
479
|
],
|
|
448
|
-
// Document:
|
|
449
|
-
document: [
|
|
480
|
+
// Document: same edge-backed operator set as relation / user / file.
|
|
481
|
+
document: [
|
|
482
|
+
"is",
|
|
483
|
+
"is_not",
|
|
484
|
+
"any_of",
|
|
485
|
+
"none_of",
|
|
486
|
+
"contains",
|
|
487
|
+
"not_contains",
|
|
488
|
+
"is_empty",
|
|
489
|
+
"is_not_empty"
|
|
490
|
+
]
|
|
450
491
|
};
|
|
451
492
|
var NO_VALUE_OPERATORS = [
|
|
452
493
|
"is_empty",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-BTrwWar6.mjs';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.mjs';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.mjs';
|
|
4
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../filters-
|
|
4
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-g5uHrKfE.mjs';
|
|
5
|
+
import '../filters-DVbxM2W4.mjs';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.mjs';
|
|
8
8
|
import 'zod';
|
package/dist/validation/all.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { V as ValidationMessages } from '../types-
|
|
1
|
+
export { V as ValidationMessages } from '../types-CQTltaH_.js';
|
|
2
2
|
export { DEFAULT_VALIDATION_MESSAGES, formatZodErrors } from './core/index.js';
|
|
3
3
|
export { parseAttributeConfig } from './config/index.js';
|
|
4
|
-
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-
|
|
5
|
-
import '../filters-
|
|
4
|
+
export { c as computeRecordStatus, a as createFormAttributeValidator, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../helpers-D-_4FAcR.js';
|
|
5
|
+
import '../filters-qNc-JmQI.js';
|
|
6
6
|
import '@stndrds/constants';
|
|
7
7
|
import '../utils.js';
|
|
8
8
|
import 'zod';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CurrencyAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { C as CurrencyAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { C as CurrencyAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as FileAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FileAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as FileAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { F as FileAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { L as LocationAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { L as LocationAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { L as LocationAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { L as LocationAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PhoneAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { P as PhoneAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PhoneAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { P as PhoneAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { M as MultiRelationAttribute, R as RelationAttribute, S as SingleRelationAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as RichtextAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { a as RichtextAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { a as RichtextAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { b as MultiselectAttribute, c as SelectAttribute, d as StatusAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { U as UserAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { U as UserAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { U as UserAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { U as UserAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { e as FormulaAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as FormulaAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { e as FormulaAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { e as FormulaAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { f as RollupAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { f as RollupAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { f as RollupAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { f as RollupAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
-
export { a as ValidationResult } from '../../types-
|
|
1
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
2
|
+
export { a as ValidationResult } from '../../types-BTrwWar6.mjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../filters-
|
|
4
|
+
import '../../filters-DVbxM2W4.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.mjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
-
export { a as ValidationResult } from '../../types-
|
|
1
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
2
|
+
export { a as ValidationResult } from '../../types-CQTltaH_.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
-
import '../../filters-
|
|
4
|
+
import '../../filters-qNc-JmQI.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-g5uHrKfE.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../filters-
|
|
4
|
-
import '../../types-
|
|
3
|
+
import { O as ObjectDefinition } from '../../filters-DVbxM2W4.mjs';
|
|
4
|
+
import '../../types-BTrwWar6.mjs';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.mjs';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-
|
|
1
|
+
export { c as computeRecordStatus, f as createAttributeValidator, a as createFormAttributeValidator, g as getMissingRequiredAttributes, i as isRecordComplete, h as validateAttribute, v as validateDraft, b as validateDraftOrThrow, d as validateObject, e as validateObjectOrThrow } from '../../helpers-D-_4FAcR.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { O as ObjectDefinition } from '../../filters-
|
|
4
|
-
import '../../types-
|
|
3
|
+
import { O as ObjectDefinition } from '../../filters-qNc-JmQI.js';
|
|
4
|
+
import '../../types-CQTltaH_.js';
|
|
5
5
|
import '@stndrds/constants';
|
|
6
6
|
import '../../utils.js';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { g as CheckboxAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { g as CheckboxAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { g as CheckboxAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { g as CheckboxAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as DateAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { D as DateAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as DateAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { D as DateAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { N as NumberAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { N as NumberAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { N as NumberAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { N as NumberAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { h as RatingAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { h as RatingAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { h as RatingAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { h as RatingAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { T as TextAreaAttribute, i as TextAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { T as TextAreaAttribute, i as TextAttribute } from '../../filters-DVbxM2W4.mjs';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-BTrwWar6.mjs';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { T as TextAreaAttribute, i as TextAttribute } from '../../filters-
|
|
3
|
-
import { V as ValidationMessages } from '../../types-
|
|
2
|
+
import { T as TextAreaAttribute, i as TextAttribute } from '../../filters-qNc-JmQI.js';
|
|
3
|
+
import { V as ValidationMessages } from '../../types-CQTltaH_.js';
|
|
4
4
|
import '@stndrds/constants';
|
|
5
5
|
import '../../utils.js';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.183",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"expr-eval": "^2.0.2",
|
|
132
132
|
"libphonenumber-js": "^1.12.31",
|
|
133
133
|
"zod": "^4.2.1",
|
|
134
|
-
"@stndrds/constants": "1.0.0-alpha.
|
|
134
|
+
"@stndrds/constants": "1.0.0-alpha.183"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@types/node": "^25.0.3",
|