@stndrds/schema 0.1.0-alpha.27 → 0.1.0-alpha.28
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/{chunk-5QPP23AN.mjs → chunk-6GFSSJS6.mjs} +27 -26
- package/dist/{chunk-YMDB2AB5.js → chunk-NSJ6MRRL.js} +27 -26
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +1 -1
- package/dist/{runtime-CIQ6qNe2.d.mts → runtime-CiSfzhbd.d.mts} +4 -0
- package/dist/{runtime-CIQ6qNe2.d.ts → runtime-CiSfzhbd.d.ts} +4 -0
- package/dist/runtime.d.mts +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/dist/runtime.mjs +1 -1
- package/package.json +2 -2
|
@@ -3735,11 +3735,32 @@ function isUniversalRelation(attr) {
|
|
|
3735
3735
|
|
|
3736
3736
|
// src/builders/attribute-validators.ts
|
|
3737
3737
|
import { ICONS } from "@stndrds/constants";
|
|
3738
|
+
|
|
3739
|
+
// src/types/objects.ts
|
|
3740
|
+
var SYSTEM_FIELD_NAMES = [
|
|
3741
|
+
"id",
|
|
3742
|
+
"createdAt",
|
|
3743
|
+
"updatedAt",
|
|
3744
|
+
"createdBy",
|
|
3745
|
+
"lastUpdatedBy"
|
|
3746
|
+
];
|
|
3747
|
+
var RESERVED_ATTRIBUTE_NAMES = [
|
|
3748
|
+
// System fields (auto-managed)
|
|
3749
|
+
...SYSTEM_FIELD_NAMES,
|
|
3750
|
+
// Other ObjectRecord properties
|
|
3751
|
+
"objectId",
|
|
3752
|
+
"label",
|
|
3753
|
+
"completionStatus",
|
|
3754
|
+
"values",
|
|
3755
|
+
"metadata",
|
|
3756
|
+
"deletedAt"
|
|
3757
|
+
];
|
|
3758
|
+
|
|
3759
|
+
// src/builders/attribute-validators.ts
|
|
3738
3760
|
var VALID_ICONS = new Set(ICONS);
|
|
3739
3761
|
var ATTRIBUTE_NAME_REGEX = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
3740
3762
|
var MAX_NAME_LENGTH = 63;
|
|
3741
3763
|
var MAX_LABEL_LENGTH = 128;
|
|
3742
|
-
var RESERVED_ATTRIBUTE_NAMES = ["id", "createdAt", "updatedAt", "metadata"];
|
|
3743
3764
|
function validateAttributeName(name) {
|
|
3744
3765
|
if (!name || name.length === 0) {
|
|
3745
3766
|
throw new Error("[AttributeBuilder] Attribute name cannot be empty");
|
|
@@ -5556,26 +5577,6 @@ var ObjectReferencedError = class extends Error {
|
|
|
5556
5577
|
}
|
|
5557
5578
|
};
|
|
5558
5579
|
|
|
5559
|
-
// src/types/objects.ts
|
|
5560
|
-
var SYSTEM_FIELD_NAMES = [
|
|
5561
|
-
"id",
|
|
5562
|
-
"createdAt",
|
|
5563
|
-
"updatedAt",
|
|
5564
|
-
"createdBy",
|
|
5565
|
-
"lastUpdatedBy"
|
|
5566
|
-
];
|
|
5567
|
-
var RESERVED_ATTRIBUTE_NAMES2 = [
|
|
5568
|
-
// System fields (auto-managed)
|
|
5569
|
-
...SYSTEM_FIELD_NAMES,
|
|
5570
|
-
// Other ObjectRecord properties
|
|
5571
|
-
"objectId",
|
|
5572
|
-
"label",
|
|
5573
|
-
"completionStatus",
|
|
5574
|
-
"values",
|
|
5575
|
-
"metadata",
|
|
5576
|
-
"deletedAt"
|
|
5577
|
-
];
|
|
5578
|
-
|
|
5579
5580
|
// src/types/system-attributes.ts
|
|
5580
5581
|
var SYSTEM_ATTRIBUTES = {
|
|
5581
5582
|
createdAt: {
|
|
@@ -6040,7 +6041,7 @@ function createObjectValidator(objectDef) {
|
|
|
6040
6041
|
}
|
|
6041
6042
|
shape[attr.name] = validator;
|
|
6042
6043
|
}
|
|
6043
|
-
return z4.object(shape);
|
|
6044
|
+
return z4.object(shape).strict();
|
|
6044
6045
|
}
|
|
6045
6046
|
function validateAttribute(attr, value) {
|
|
6046
6047
|
const validator = createAttributeValidator(attr);
|
|
@@ -6094,7 +6095,7 @@ function createDraftValidator(objectDef) {
|
|
|
6094
6095
|
const validator = createAttributeValidator(attr).optional();
|
|
6095
6096
|
shape[attr.name] = validator;
|
|
6096
6097
|
}
|
|
6097
|
-
return z4.object(shape);
|
|
6098
|
+
return z4.object(shape).strict();
|
|
6098
6099
|
}
|
|
6099
6100
|
function validateDraft(objectDef, data) {
|
|
6100
6101
|
const validator = createDraftValidator(objectDef);
|
|
@@ -6560,10 +6561,10 @@ var ObjectSchemaService = class extends TenantAwareService {
|
|
|
6560
6561
|
"Invalid attribute name format.\nName must be a valid variable identifier:\n \u2705 Valid: 'firstName', 'first_name', 'FirstName', 'FIRST_NAME'\n \u274C Invalid: 'first-name', 'first name', '123name', 'first.name'"
|
|
6561
6562
|
);
|
|
6562
6563
|
}
|
|
6563
|
-
if (
|
|
6564
|
+
if (RESERVED_ATTRIBUTE_NAMES.includes(name)) {
|
|
6564
6565
|
throw new Error(
|
|
6565
6566
|
`"${name}" is a reserved name and cannot be used as an attribute name.
|
|
6566
|
-
Reserved names: ${
|
|
6567
|
+
Reserved names: ${RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
6567
6568
|
);
|
|
6568
6569
|
}
|
|
6569
6570
|
}
|
|
@@ -9891,7 +9892,7 @@ export {
|
|
|
9891
9892
|
ObjectReferencedError,
|
|
9892
9893
|
NoopGeocodingAdapter,
|
|
9893
9894
|
SYSTEM_FIELD_NAMES,
|
|
9894
|
-
|
|
9895
|
+
RESERVED_ATTRIBUTE_NAMES,
|
|
9895
9896
|
PolicyViolationError,
|
|
9896
9897
|
SYSTEM_ATTRIBUTES,
|
|
9897
9898
|
getSystemAttributeList,
|
|
@@ -3735,11 +3735,32 @@ function isUniversalRelation(attr) {
|
|
|
3735
3735
|
|
|
3736
3736
|
// src/builders/attribute-validators.ts
|
|
3737
3737
|
|
|
3738
|
+
|
|
3739
|
+
// src/types/objects.ts
|
|
3740
|
+
var SYSTEM_FIELD_NAMES = [
|
|
3741
|
+
"id",
|
|
3742
|
+
"createdAt",
|
|
3743
|
+
"updatedAt",
|
|
3744
|
+
"createdBy",
|
|
3745
|
+
"lastUpdatedBy"
|
|
3746
|
+
];
|
|
3747
|
+
var RESERVED_ATTRIBUTE_NAMES = [
|
|
3748
|
+
// System fields (auto-managed)
|
|
3749
|
+
...SYSTEM_FIELD_NAMES,
|
|
3750
|
+
// Other ObjectRecord properties
|
|
3751
|
+
"objectId",
|
|
3752
|
+
"label",
|
|
3753
|
+
"completionStatus",
|
|
3754
|
+
"values",
|
|
3755
|
+
"metadata",
|
|
3756
|
+
"deletedAt"
|
|
3757
|
+
];
|
|
3758
|
+
|
|
3759
|
+
// src/builders/attribute-validators.ts
|
|
3738
3760
|
var VALID_ICONS = new Set(_constants.ICONS);
|
|
3739
3761
|
var ATTRIBUTE_NAME_REGEX = /^[a-zA-Z_][a-zA-Z0-9_]*$/;
|
|
3740
3762
|
var MAX_NAME_LENGTH = 63;
|
|
3741
3763
|
var MAX_LABEL_LENGTH = 128;
|
|
3742
|
-
var RESERVED_ATTRIBUTE_NAMES = ["id", "createdAt", "updatedAt", "metadata"];
|
|
3743
3764
|
function validateAttributeName(name) {
|
|
3744
3765
|
if (!name || name.length === 0) {
|
|
3745
3766
|
throw new Error("[AttributeBuilder] Attribute name cannot be empty");
|
|
@@ -5556,26 +5577,6 @@ var ObjectReferencedError = class extends Error {
|
|
|
5556
5577
|
}
|
|
5557
5578
|
};
|
|
5558
5579
|
|
|
5559
|
-
// src/types/objects.ts
|
|
5560
|
-
var SYSTEM_FIELD_NAMES = [
|
|
5561
|
-
"id",
|
|
5562
|
-
"createdAt",
|
|
5563
|
-
"updatedAt",
|
|
5564
|
-
"createdBy",
|
|
5565
|
-
"lastUpdatedBy"
|
|
5566
|
-
];
|
|
5567
|
-
var RESERVED_ATTRIBUTE_NAMES2 = [
|
|
5568
|
-
// System fields (auto-managed)
|
|
5569
|
-
...SYSTEM_FIELD_NAMES,
|
|
5570
|
-
// Other ObjectRecord properties
|
|
5571
|
-
"objectId",
|
|
5572
|
-
"label",
|
|
5573
|
-
"completionStatus",
|
|
5574
|
-
"values",
|
|
5575
|
-
"metadata",
|
|
5576
|
-
"deletedAt"
|
|
5577
|
-
];
|
|
5578
|
-
|
|
5579
5580
|
// src/types/system-attributes.ts
|
|
5580
5581
|
var SYSTEM_ATTRIBUTES = {
|
|
5581
5582
|
createdAt: {
|
|
@@ -6040,7 +6041,7 @@ function createObjectValidator(objectDef) {
|
|
|
6040
6041
|
}
|
|
6041
6042
|
shape[attr.name] = validator;
|
|
6042
6043
|
}
|
|
6043
|
-
return _zod.z.object(shape);
|
|
6044
|
+
return _zod.z.object(shape).strict();
|
|
6044
6045
|
}
|
|
6045
6046
|
function validateAttribute(attr, value) {
|
|
6046
6047
|
const validator = createAttributeValidator(attr);
|
|
@@ -6094,7 +6095,7 @@ function createDraftValidator(objectDef) {
|
|
|
6094
6095
|
const validator = createAttributeValidator(attr).optional();
|
|
6095
6096
|
shape[attr.name] = validator;
|
|
6096
6097
|
}
|
|
6097
|
-
return _zod.z.object(shape);
|
|
6098
|
+
return _zod.z.object(shape).strict();
|
|
6098
6099
|
}
|
|
6099
6100
|
function validateDraft(objectDef, data) {
|
|
6100
6101
|
const validator = createDraftValidator(objectDef);
|
|
@@ -6560,10 +6561,10 @@ var ObjectSchemaService = class extends TenantAwareService {
|
|
|
6560
6561
|
"Invalid attribute name format.\nName must be a valid variable identifier:\n \u2705 Valid: 'firstName', 'first_name', 'FirstName', 'FIRST_NAME'\n \u274C Invalid: 'first-name', 'first name', '123name', 'first.name'"
|
|
6561
6562
|
);
|
|
6562
6563
|
}
|
|
6563
|
-
if (
|
|
6564
|
+
if (RESERVED_ATTRIBUTE_NAMES.includes(name)) {
|
|
6564
6565
|
throw new Error(
|
|
6565
6566
|
`"${name}" is a reserved name and cannot be used as an attribute name.
|
|
6566
|
-
Reserved names: ${
|
|
6567
|
+
Reserved names: ${RESERVED_ATTRIBUTE_NAMES.join(", ")}`
|
|
6567
6568
|
);
|
|
6568
6569
|
}
|
|
6569
6570
|
}
|
|
@@ -10085,4 +10086,4 @@ var NoopGeocodingAdapter = class {
|
|
|
10085
10086
|
|
|
10086
10087
|
|
|
10087
10088
|
|
|
10088
|
-
exports.RELATION_TARGET_ANY = RELATION_TARGET_ANY; exports.isUniversalRelation = isUniversalRelation; exports.RecordReferencedError = RecordReferencedError; exports.AttributeInUseError = AttributeInUseError; exports.ObjectReferencedError = ObjectReferencedError; exports.NoopGeocodingAdapter = NoopGeocodingAdapter; exports.SYSTEM_FIELD_NAMES = SYSTEM_FIELD_NAMES; exports.RESERVED_ATTRIBUTE_NAMES =
|
|
10089
|
+
exports.RELATION_TARGET_ANY = RELATION_TARGET_ANY; exports.isUniversalRelation = isUniversalRelation; exports.RecordReferencedError = RecordReferencedError; exports.AttributeInUseError = AttributeInUseError; exports.ObjectReferencedError = ObjectReferencedError; exports.NoopGeocodingAdapter = NoopGeocodingAdapter; exports.SYSTEM_FIELD_NAMES = SYSTEM_FIELD_NAMES; exports.RESERVED_ATTRIBUTE_NAMES = RESERVED_ATTRIBUTE_NAMES; exports.PolicyViolationError = PolicyViolationError; exports.SYSTEM_ATTRIBUTES = SYSTEM_ATTRIBUTES; exports.getSystemAttributeList = getSystemAttributeList; exports.isSystemAttribute = isSystemAttribute; exports.isSystemAttributeObject = isSystemAttributeObject; exports.asTenantId = asTenantId; exports.asUserId = asUserId; exports.generateId = generateId; exports.generatePrefixedId = generatePrefixedId; exports.EMPTY_VALUE_PLACEHOLDER = EMPTY_VALUE_PLACEHOLDER; exports.formatAttributeValue = formatAttributeValue; exports.SchemaErrorCode = SchemaErrorCode; exports.SchemaError = SchemaError; exports.NotFoundError = NotFoundError; exports.ObjectNotFoundError = ObjectNotFoundError; exports.AttributeNotFoundError = AttributeNotFoundError; exports.RecordNotFoundError = RecordNotFoundError; exports.UserProfileNotFoundError = UserProfileNotFoundError; exports.FileNotFoundError = FileNotFoundError; exports.ValidationError = ValidationError; exports.ProtectedResourceError = ProtectedResourceError; exports.SyncError = SyncError; exports.NotSystemObjectError = NotSystemObjectError; exports.DuplicateError = DuplicateError; exports.isSchemaError = isSchemaError; exports.isNotFoundError = isNotFoundError; exports.isValidationError = isValidationError; exports.isProtectedResourceError = isProtectedResourceError; exports.ForbiddenError = ForbiddenError; exports.ProtectedRoleError = ProtectedRoleError; exports.RoleNotFoundError = RoleNotFoundError; exports.isForbiddenError = isForbiddenError; exports.text = text; exports.textarea = textarea; exports.richtext = richtext; exports.number = number; exports.checkbox = checkbox; exports.date = date; exports.phone = phone; exports.currency = currency; exports.status = status; exports.select = select; exports.multiselect = multiselect; exports.location = location; exports.file = file; exports.user = user; exports.relation = relation; exports.rating = rating; exports.formula = formula; exports.rollup = rollup; exports.FlowRowBuilder = FlowRowBuilder; exports.FlowPageBuilder = FlowPageBuilder; exports.FlowBuilder = FlowBuilder; exports.flow = flow; exports.ObjectBuilder = ObjectBuilder; exports.object = object; exports.GroupBuilder = GroupBuilder; exports.TableTabConfig = TableTabConfig; exports.CustomTabConfig = CustomTabConfig; exports.NotesTabConfig = NotesTabConfig; exports.ActivityTabConfig = ActivityTabConfig; exports.TabBuilder = TabBuilder; exports.ViewBuilder = ViewBuilder; exports.view = view; exports.group = group; exports.registry = registry; exports.textConfigSchema = textConfigSchema; exports.textareaConfigSchema = textareaConfigSchema; exports.richtextConfigSchema = richtextConfigSchema; exports.numberConfigSchema = numberConfigSchema; exports.checkboxConfigSchema = checkboxConfigSchema; exports.dateConfigSchema = dateConfigSchema; exports.phoneConfigSchema = phoneConfigSchema; exports.currencyConfigSchema = currencyConfigSchema; exports.statusConfigSchema = statusConfigSchema; exports.locationConfigSchema = locationConfigSchema; exports.selectConfigSchema = selectConfigSchema; exports.multiselectConfigSchema = multiselectConfigSchema; exports.fileConfigSchema = fileConfigSchema; exports.userConfigSchema = userConfigSchema; exports.relationConfigSchema = relationConfigSchema; exports.ratingConfigSchema = ratingConfigSchema; exports.formulaConfigSchema = formulaConfigSchema; exports.rollupConfigSchema = rollupConfigSchema; exports.attributeConfigSchemas = attributeConfigSchemas; exports.getAttributeConfigSchema = getAttributeConfigSchema; exports.validateAttributeConfig = validateAttributeConfig; exports.parseAttributeConfig = parseAttributeConfig; exports.safeParseAttributeConfig = safeParseAttributeConfig; exports.createTextValidator = createTextValidator; exports.createNumberValidator = createNumberValidator; exports.createCheckboxValidator = createCheckboxValidator; exports.createDateValidator = createDateValidator; exports.createPhoneValidator = createPhoneValidator; exports.createCurrencyValidator = createCurrencyValidator; exports.createStatusValidator = createStatusValidator; exports.createSelectValidator = createSelectValidator; exports.createMultiselectValidator = createMultiselectValidator; exports.createLocationValidator = createLocationValidator; exports.createFileValidator = createFileValidator; exports.createUserValidator = createUserValidator; exports.createSingleRelationValidator = createSingleRelationValidator; exports.createMultiRelationValidator = createMultiRelationValidator; exports.createRelationValidator = createRelationValidator; exports.createRatingValidator = createRatingValidator; exports.createFormulaValidator = createFormulaValidator; exports.createRollupValidator = createRollupValidator; exports.createTextAreaValidator = createTextAreaValidator; exports.createRichtextValidator = createRichtextValidator; exports.createAttributeValidator = createAttributeValidator; exports.createObjectValidator = createObjectValidator; exports.validateAttribute = validateAttribute; exports.validateObject = validateObject; exports.validateObjectOrThrow = validateObjectOrThrow; exports.createDraftValidator = createDraftValidator; exports.validateDraft = validateDraft; exports.validateDraftOrThrow = validateDraftOrThrow; exports.getMissingRequiredAttributes = getMissingRequiredAttributes; exports.isRecordComplete = isRecordComplete; exports.computeRecordStatus = computeRecordStatus; exports.formatRecord = formatRecord; exports.formatRecords = formatRecords; exports.createDefaultState = createDefaultState; exports.SHORTCUT_TO_FILTER_OPERATOR = SHORTCUT_TO_FILTER_OPERATOR; exports.QueryNoResultError = QueryNoResultError; exports.QueryMultipleResultsError = QueryMultipleResultsError; exports.TenantContextError = TenantContextError; exports.getContext = getContext; exports.getTenantId = getTenantId; exports.getUserId = getUserId; exports.hasContext = hasContext; exports.runWithContext = runWithContext; exports.withTenantContext = withTenantContext; exports.QueryBuilder = QueryBuilder; exports.createQueryBuilder = createQueryBuilder; exports.evaluateFormula = evaluateFormula; exports.evaluateFormulaWithResult = evaluateFormulaWithResult; exports.formatFormulaResult = formatFormulaResult; exports.evaluateFormulaAttribute = evaluateFormulaAttribute; exports.validateFormulaExpression = validateFormulaExpression; exports.extractFormulaVariables = extractFormulaVariables; exports.extractRelationReferences = extractRelationReferences; exports.extractRelationNames = extractRelationNames; exports.hasRelationReferences = hasRelationReferences; exports.flattenRelationsForEval = flattenRelationsForEval; exports.evaluateFormulaWithRelations = evaluateFormulaWithRelations; exports.evaluateFormulaAttributeWithRelations = evaluateFormulaAttributeWithRelations; exports.InvalidPathError = InvalidPathError; exports.MaxDepthExceededError = MaxDepthExceededError; exports.parsePath = parsePath; exports.validatePath = validatePath; exports.pathHasManyCardinality = pathHasManyCardinality; exports.getPathDepth = getPathDepth; exports.getTargetAttributeName = getTargetAttributeName; exports.getRelationPath = getRelationPath; exports.traversePath = traversePath; exports.resolveSingleValue = resolveSingleValue; exports.resolveMultiplePaths = resolveMultiplePaths; exports.NoopHookRegistry = NoopHookRegistry; exports.DEFAULT_LABEL_FALLBACK = DEFAULT_LABEL_FALLBACK; exports.renderLabelExpression = renderLabelExpression; exports.isLabelExpression = isLabelExpression; exports.extractAttributeNames = extractAttributeNames; exports.enrichValuesWithSelectLabels = enrichValuesWithSelectLabels; exports.createMockAdapter = createMockAdapter; exports.PolicyRegistry = PolicyRegistry; exports.defaultPolicyRegistry = defaultPolicyRegistry; exports.notesPolicy = notesPolicy; exports.buildAuditChanges = buildAuditChanges; exports.TenantAwareService = TenantAwareService; exports.TenantAwareRepository = TenantAwareRepository; exports.AuditService = AuditService; exports.FileService = FileService; exports.FlowService = FlowService; exports.GeocodingService = GeocodingService; exports.GlobalSearchService = GlobalSearchService; exports.ObjectSchemaService = ObjectSchemaService; exports.PermissionService = PermissionService; exports.RelationService = RelationService; exports.RollupService = RollupService; exports.UserService = UserService; exports.RecordService = RecordService; exports.RelationResolverService = RelationResolverService; exports.RollupScheduler = RollupScheduler; exports.UserProfileService = UserProfileService; exports.ViewService = ViewService; exports.syncNativeViews = syncNativeViews; exports.verifyNativeViewsSync = verifyNativeViewsSync; exports.getViewSyncPreview = getViewSyncPreview; exports.syncNativeObjects = syncNativeObjects; exports.verifyNativeObjectsSync = verifyNativeObjectsSync; exports.getSyncPreview = getSyncPreview; exports.syncAll = syncAll;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-
|
|
2
|
-
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-
|
|
1
|
+
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-CiSfzhbd.mjs';
|
|
2
|
+
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-CiSfzhbd.mjs';
|
|
3
3
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-
|
|
2
|
-
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-
|
|
1
|
+
import { D as DateAttribute, U as UserAttribute, A as Attribute, S as SystemResource, a as SystemAction, O as ObjectAction, T as TextAttribute, b as TextAreaAttribute, R as RichtextAttribute, c as RichtextFeature, N as NumberAttribute, C as CheckboxAttribute, P as PhoneAttribute, d as CurrencyAttribute, e as Option, f as StatusAttribute, g as SelectAttribute, M as MultiselectAttribute, L as LocationAttribute, F as FileAttribute, h as SingleRelationAttribute, i as MultiRelationAttribute, j as RelationTarget, k as RatingAttribute, l as FormulaAttribute, m as FormulaReturnType, n as RollupAttribute, o as RollupFunction, p as FlowDefinition, q as FlowPage, r as FlowRow, I as InferAttributeValue, s as ObjectDefinition, t as Field, u as AttributeGroupField, G as Group, V as ViewDefinition, v as Tab, B as BlockNoteContent } from './runtime-CiSfzhbd.js';
|
|
2
|
+
export { bV as ActivityTab, bb as AddAttribute, ep as AddAttributeInput, aK as AdvancedFilterState, bI as AssignRoleInput, dV as AttributeChange, y as AttributeGroup, ba as AttributeMap, b6 as AttributeSchema, w as AttributeType, e5 as AttributesRepository, ah as AuditAction, ai as AuditActorType, aj as AuditChange, am as AuditListOptions, ak as AuditLogEntry, eb as AuditRepository, ag as AuditResourceType, ee as AuditService, an as AuditServiceOptions, z as BaseAttribute, $ as BlockNoteBlock, a0 as BlockNoteCustomInlineContent, a1 as BlockNoteDefaultProps, a2 as BlockNoteInlineContent, a3 as BlockNoteLink, a4 as BlockNoteStyledText, a5 as BlockNoteStyles, a6 as BlockNoteTableCell, a7 as BlockNoteTableCellProps, a8 as BlockNoteTableContent, av as CheckboxFilterOperator, bw as CompletionStatus, al as CreateAuditLogInput, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ar as CreateFile, ej as CreateFlowInput, fg as CreateObjectRecord, bH as CreatePermissionInput, bF as CreateRoleInput, bP as CreateUserProfile, eO as CreateViewInput, Q as Currency, aC as CurrencyFilterValue, bf as CustomAttributeValue, bU as CustomTab, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, aw as DateFilterOperator, H as DateFormat, J as DateValue, bC as EffectivePermissions, aG as ExtendedFilterRule, bp as ExtractAttributes, bj as ExtractRecord, bl as ExtractRecordInput, bm as ExtractRecordInputStrict, bk as ExtractRecordStrict, bn as ExtractRecordUpdate, bo as ExtractRecordUpdateStrict, d1 as FetchResult, aq as File, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, ap as FileVisibility, e7 as FilesRepository, aH as FilterCombinator, aJ as FilterGroup, aA as FilterOperator, aF as FilterRule, aI as FilterState, aE as FilterValue, aX as FlowRelation, aW as FlowRowField, el as FlowService, aV as FlowSlot, aY as FlowStatus, ea as FlowsRepository, bS as FormTab, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, bc as InferRecord, b7 as InferRecordFromSchema, bd as InferRecordInput, be as InferRecordUpdate, b8 as InferRecordWithRequirements, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, W as Location, X as LocationGranularity, dI as MaxDepthExceededError, ay as MultiselectFilterOperator, aT as NO_VALUE_OPERATORS, aS as NoValueOperator, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, bW as NotesTab, au as NumberFilterOperator, E as NumberUnit, aR as OPERATORS_BY_TYPE, bv as ObjectAttribute, bD as ObjectPermissions, bx as ObjectRecord, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, a9 as PartialBlockNoteBlock, aa as PartialBlockNoteContent, ab as PartialBlockNoteInlineContent, ac as PartialBlockNoteLink, ad as PartialBlockNoteStyledText, ae as PartialBlockNoteTableCell, af as PartialBlockNoteTableContent, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, bA as Permission, by as PermissionScope, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, K as Phone, aD as PhoneFilterValue, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, aQ as QueryState, Y as RELATION_TARGET_ANY, bq as RESERVED_ATTRIBUTE_NAMES, bh as RecordMetadata, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, Z as RelationAttribute, az as RelationFilterOperator, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, aB as RelativeDateValue, bs as ReservedAttributeName, eD as ResolvedRelations, b2 as ReverseGeocodingParams, bz as Role, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, br as SYSTEM_FIELD_NAMES, dP as SchemaResolver, fi as SearchOptions, ax as SelectFilterOperator, d8 as ShortcutOperator, eU as SignedUrlOptions, aO as SortDirection, aP as SortRule, x as StatusGroup, eV as StorageAdapter, ao as StorageProvider, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, bt as SystemFieldName, bi as SystemFields, bE as SystemPermissions, bR as TabType, bT as TableTab, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, c1 as TenantId, at as TextFilterOperator, bu as Timestamps, dT as TraversalOptions, dU as TraversalResult, b9 as TypedAttribute, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, as as UpdateFile, ek as UpdateFlowInput, eq as UpdateObjectInput, bG as UpdateRoleInput, bQ as UpdateUserProfile, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, c2 as UserId, bO as UserProfile, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, bM as UserRole, bB as UserRoleAssignment, eN as UserService, bN as UserStatus, eM as UserValidationError, eL as UserValidationResult, c0 as Uuid, cS as ValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, bg as WithCustomAttributes, c3 as asTenantId, c4 as asUserId, cr as attributeConfigSchemas, ed as buildAuditChanges, cd as checkboxConfigSchema, c$ as computeRecordStatus, cQ as createAttributeValidator, cy as createCheckboxValidator, cB as createCurrencyValidator, cz as createDateValidator, d9 as createDefaultState, cW as createDraftValidator, cG as createFileValidator, cM as createFormulaValidator, cF as createLocationValidator, e0 as createMockAdapter, cJ as createMultiRelationValidator, cE as createMultiselectValidator, cx as createNumberValidator, cR as createObjectValidator, cA as createPhoneValidator, df as createQueryBuilder, cL as createRatingValidator, cK as createRelationValidator, cP as createRichtextValidator, cN as createRollupValidator, cD as createSelectValidator, cI as createSingleRelationValidator, cC as createStatusValidator, cO as createTextAreaValidator, cw as createTextValidator, cH as createUserValidator, cg as currencyConfigSchema, ce as dateConfigSchema, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, cl as fileConfigSchema, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, cp as formulaConfigSchema, c5 as generateId, c6 as generatePrefixedId, cs as getAttributeConfigSchema, dj as getContext, cZ as getMissingRequiredAttributes, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, b_ as isActivityTab, aL as isAdvancedFilterState, bZ as isCustomTab, aZ as isFlowDefinition, a_ as isFlowPublished, bX as isFormTab, f5 as isLabelExpression, aU as isNoValueOperator, b$ as isNotesTab, c_ as isRecordComplete, a$ as isSystemFlow, bY as isTableTab, _ as isUniversalRelation, ci as locationConfigSchema, ck as multiselectConfigSchema, e3 as notesPolicy, cc as numberConfigSchema, cu as parseAttributeConfig, dJ as parsePath, dK as pathHasManyCardinality, cf as phoneConfigSchema, co as ratingConfigSchema, c7 as registry, cn as relationConfigSchema, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, cb as richtextConfigSchema, cq as rollupConfigSchema, dn as runWithContext, cv as safeParseAttributeConfig, cj as selectConfigSchema, ch as statusConfigSchema, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, c9 as textConfigSchema, ca as textareaConfigSchema, aM as toAdvancedFilterState, aN as toSimpleFilterState, dS as traversePath, cm as userConfigSchema, cT as validateAttribute, ct as validateAttributeConfig, cX as validateDraft, cY as validateDraftOrThrow, dC as validateFormulaExpression, cU as validateObject, cV as validateObjectOrThrow, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, c8 as viewRegistry, dp as withTenantContext } from './runtime-CiSfzhbd.js';
|
|
3
3
|
import { IconName, CountryIso3, CurrencyCode, MimeType, ColorId } from '@stndrds/constants';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.js
CHANGED
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
|
|
203
|
-
var
|
|
203
|
+
var _chunkNSJ6MRRLjs = require('./chunk-NSJ6MRRL.js');
|
|
204
204
|
|
|
205
205
|
|
|
206
206
|
|
|
@@ -344,13 +344,13 @@ function isNotesTab(tab) {
|
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
// src/native/notes.ts
|
|
347
|
-
var NOTES =
|
|
348
|
-
|
|
347
|
+
var NOTES = _chunkNSJ6MRRLjs.object.call(void 0, { name: "notes", label: "Note" }).pluralLabel("Notes").icon("file-text").description("Notes that can be linked to any record or used globally").system().labelExpression("{{ title }}").attribute(_chunkNSJ6MRRLjs.text.call(void 0, { name: "title", label: "Title" }).placeholder("Untitled").required()).attribute(_chunkNSJ6MRRLjs.richtext.call(void 0, { name: "content", label: "Content" }).required()).attribute(
|
|
348
|
+
_chunkNSJ6MRRLjs.select.call(void 0, { name: "visibility", label: "Visibility" }).options([
|
|
349
349
|
{ id: "private", label: "Private", value: "private", icon: "lock" },
|
|
350
350
|
{ id: "shared", label: "Shared", value: "shared", icon: "users" }
|
|
351
351
|
]).defaultValue("private").required()
|
|
352
|
-
).attribute(
|
|
353
|
-
|
|
352
|
+
).attribute(_chunkNSJ6MRRLjs.relation.call(void 0, { name: "linkedTo", label: "Linked To" }).toAny().hidden());
|
|
353
|
+
_chunkNSJ6MRRLjs.registry.register(NOTES);
|
|
354
354
|
|
|
355
355
|
// src/views/registry.ts
|
|
356
356
|
var ViewRegistry = class {
|
|
@@ -715,4 +715,4 @@ var viewRegistry = new ViewRegistry();
|
|
|
715
715
|
|
|
716
716
|
|
|
717
717
|
|
|
718
|
-
exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunkYMDB2AB5js.ActivityTabConfig; exports.AttributeInUseError = _chunkYMDB2AB5js.AttributeInUseError; exports.AttributeNotFoundError = _chunkYMDB2AB5js.AttributeNotFoundError; exports.AuditService = _chunkYMDB2AB5js.AuditService; exports.CustomTabConfig = _chunkYMDB2AB5js.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunkYMDB2AB5js.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DuplicateError = _chunkYMDB2AB5js.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunkYMDB2AB5js.EMPTY_VALUE_PLACEHOLDER; exports.FileNotFoundError = _chunkYMDB2AB5js.FileNotFoundError; exports.FileService = _chunkYMDB2AB5js.FileService; exports.FlowBuilder = _chunkYMDB2AB5js.FlowBuilder; exports.FlowPageBuilder = _chunkYMDB2AB5js.FlowPageBuilder; exports.FlowRowBuilder = _chunkYMDB2AB5js.FlowRowBuilder; exports.FlowService = _chunkYMDB2AB5js.FlowService; exports.ForbiddenError = _chunkYMDB2AB5js.ForbiddenError; exports.GeocodingService = _chunkYMDB2AB5js.GeocodingService; exports.GlobalSearchService = _chunkYMDB2AB5js.GlobalSearchService; exports.GroupBuilder = _chunkYMDB2AB5js.GroupBuilder; exports.InvalidPathError = _chunkYMDB2AB5js.InvalidPathError; exports.MaxDepthExceededError = _chunkYMDB2AB5js.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NoopGeocodingAdapter = _chunkYMDB2AB5js.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkYMDB2AB5js.NoopHookRegistry; exports.NotFoundError = _chunkYMDB2AB5js.NotFoundError; exports.NotSystemObjectError = _chunkYMDB2AB5js.NotSystemObjectError; exports.NotesTabConfig = _chunkYMDB2AB5js.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunkYMDB2AB5js.ObjectBuilder; exports.ObjectNotFoundError = _chunkYMDB2AB5js.ObjectNotFoundError; exports.ObjectReferencedError = _chunkYMDB2AB5js.ObjectReferencedError; exports.ObjectSchemaService = _chunkYMDB2AB5js.ObjectSchemaService; exports.PermissionService = _chunkYMDB2AB5js.PermissionService; exports.PolicyRegistry = _chunkYMDB2AB5js.PolicyRegistry; exports.PolicyViolationError = _chunkYMDB2AB5js.PolicyViolationError; exports.ProtectedResourceError = _chunkYMDB2AB5js.ProtectedResourceError; exports.ProtectedRoleError = _chunkYMDB2AB5js.ProtectedRoleError; exports.QueryBuilder = _chunkYMDB2AB5js.QueryBuilder; exports.QueryMultipleResultsError = _chunkYMDB2AB5js.QueryMultipleResultsError; exports.QueryNoResultError = _chunkYMDB2AB5js.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunkYMDB2AB5js.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunkYMDB2AB5js.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunkYMDB2AB5js.RecordNotFoundError; exports.RecordReferencedError = _chunkYMDB2AB5js.RecordReferencedError; exports.RecordService = _chunkYMDB2AB5js.RecordService; exports.RelationResolverService = _chunkYMDB2AB5js.RelationResolverService; exports.RelationService = _chunkYMDB2AB5js.RelationService; exports.RoleNotFoundError = _chunkYMDB2AB5js.RoleNotFoundError; exports.RollupScheduler = _chunkYMDB2AB5js.RollupScheduler; exports.RollupService = _chunkYMDB2AB5js.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkYMDB2AB5js.SHORTCUT_TO_FILTER_OPERATOR; exports.SYSTEM_ATTRIBUTES = _chunkYMDB2AB5js.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunkYMDB2AB5js.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SchemaError = _chunkYMDB2AB5js.SchemaError; exports.SchemaErrorCode = _chunkYMDB2AB5js.SchemaErrorCode; exports.SyncError = _chunkYMDB2AB5js.SyncError; exports.TabBuilder = _chunkYMDB2AB5js.TabBuilder; exports.TableTabConfig = _chunkYMDB2AB5js.TableTabConfig; exports.TenantAwareRepository = _chunkYMDB2AB5js.TenantAwareRepository; exports.TenantAwareService = _chunkYMDB2AB5js.TenantAwareService; exports.TenantContextError = _chunkYMDB2AB5js.TenantContextError; exports.UserProfileNotFoundError = _chunkYMDB2AB5js.UserProfileNotFoundError; exports.UserProfileService = _chunkYMDB2AB5js.UserProfileService; exports.UserService = _chunkYMDB2AB5js.UserService; exports.ValidationError = _chunkYMDB2AB5js.ValidationError; exports.ViewBuilder = _chunkYMDB2AB5js.ViewBuilder; exports.ViewService = _chunkYMDB2AB5js.ViewService; exports.asTenantId = _chunkYMDB2AB5js.asTenantId; exports.asUserId = _chunkYMDB2AB5js.asUserId; exports.attributeConfigSchemas = _chunkYMDB2AB5js.attributeConfigSchemas; exports.buildAuditChanges = _chunkYMDB2AB5js.buildAuditChanges; exports.checkbox = _chunkYMDB2AB5js.checkbox; exports.checkboxConfigSchema = _chunkYMDB2AB5js.checkboxConfigSchema; exports.computeRecordStatus = _chunkYMDB2AB5js.computeRecordStatus; exports.createAttributeValidator = _chunkYMDB2AB5js.createAttributeValidator; exports.createCheckboxValidator = _chunkYMDB2AB5js.createCheckboxValidator; exports.createCurrencyValidator = _chunkYMDB2AB5js.createCurrencyValidator; exports.createDateValidator = _chunkYMDB2AB5js.createDateValidator; exports.createDefaultState = _chunkYMDB2AB5js.createDefaultState; exports.createDraftValidator = _chunkYMDB2AB5js.createDraftValidator; exports.createFileValidator = _chunkYMDB2AB5js.createFileValidator; exports.createFormulaValidator = _chunkYMDB2AB5js.createFormulaValidator; exports.createLocationValidator = _chunkYMDB2AB5js.createLocationValidator; exports.createMockAdapter = _chunkYMDB2AB5js.createMockAdapter; exports.createMultiRelationValidator = _chunkYMDB2AB5js.createMultiRelationValidator; exports.createMultiselectValidator = _chunkYMDB2AB5js.createMultiselectValidator; exports.createNumberValidator = _chunkYMDB2AB5js.createNumberValidator; exports.createObjectValidator = _chunkYMDB2AB5js.createObjectValidator; exports.createPhoneValidator = _chunkYMDB2AB5js.createPhoneValidator; exports.createQueryBuilder = _chunkYMDB2AB5js.createQueryBuilder; exports.createRatingValidator = _chunkYMDB2AB5js.createRatingValidator; exports.createRelationValidator = _chunkYMDB2AB5js.createRelationValidator; exports.createRichtextValidator = _chunkYMDB2AB5js.createRichtextValidator; exports.createRollupValidator = _chunkYMDB2AB5js.createRollupValidator; exports.createSelectValidator = _chunkYMDB2AB5js.createSelectValidator; exports.createSingleRelationValidator = _chunkYMDB2AB5js.createSingleRelationValidator; exports.createStatusValidator = _chunkYMDB2AB5js.createStatusValidator; exports.createTextAreaValidator = _chunkYMDB2AB5js.createTextAreaValidator; exports.createTextValidator = _chunkYMDB2AB5js.createTextValidator; exports.createUserValidator = _chunkYMDB2AB5js.createUserValidator; exports.currency = _chunkYMDB2AB5js.currency; exports.currencyConfigSchema = _chunkYMDB2AB5js.currencyConfigSchema; exports.date = _chunkYMDB2AB5js.date; exports.dateConfigSchema = _chunkYMDB2AB5js.dateConfigSchema; exports.defaultPolicyRegistry = _chunkYMDB2AB5js.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunkYMDB2AB5js.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunkYMDB2AB5js.evaluateFormula; exports.evaluateFormulaAttribute = _chunkYMDB2AB5js.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkYMDB2AB5js.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkYMDB2AB5js.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkYMDB2AB5js.evaluateFormulaWithResult; exports.extractAttributeNames = _chunkYMDB2AB5js.extractAttributeNames; exports.extractFormulaVariables = _chunkYMDB2AB5js.extractFormulaVariables; exports.extractRelationNames = _chunkYMDB2AB5js.extractRelationNames; exports.extractRelationReferences = _chunkYMDB2AB5js.extractRelationReferences; exports.file = _chunkYMDB2AB5js.file; exports.fileConfigSchema = _chunkYMDB2AB5js.fileConfigSchema; exports.flattenRelationsForEval = _chunkYMDB2AB5js.flattenRelationsForEval; exports.flow = _chunkYMDB2AB5js.flow; exports.formatAttributeValue = _chunkYMDB2AB5js.formatAttributeValue; exports.formatFormulaResult = _chunkYMDB2AB5js.formatFormulaResult; exports.formatRecord = _chunkYMDB2AB5js.formatRecord; exports.formatRecords = _chunkYMDB2AB5js.formatRecords; exports.formula = _chunkYMDB2AB5js.formula; exports.formulaConfigSchema = _chunkYMDB2AB5js.formulaConfigSchema; exports.generateId = _chunkYMDB2AB5js.generateId; exports.generatePrefixedId = _chunkYMDB2AB5js.generatePrefixedId; exports.getAttributeConfigSchema = _chunkYMDB2AB5js.getAttributeConfigSchema; exports.getContext = _chunkYMDB2AB5js.getContext; exports.getMissingRequiredAttributes = _chunkYMDB2AB5js.getMissingRequiredAttributes; exports.getPathDepth = _chunkYMDB2AB5js.getPathDepth; exports.getRelationPath = _chunkYMDB2AB5js.getRelationPath; exports.getSyncPreview = _chunkYMDB2AB5js.getSyncPreview; exports.getSystemAttributeList = _chunkYMDB2AB5js.getSystemAttributeList; exports.getTargetAttributeName = _chunkYMDB2AB5js.getTargetAttributeName; exports.getTenantId = _chunkYMDB2AB5js.getTenantId; exports.getUserId = _chunkYMDB2AB5js.getUserId; exports.getViewSyncPreview = _chunkYMDB2AB5js.getViewSyncPreview; exports.group = _chunkYMDB2AB5js.group; exports.hasContext = _chunkYMDB2AB5js.hasContext; exports.hasRelationReferences = _chunkYMDB2AB5js.hasRelationReferences; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isForbiddenError = _chunkYMDB2AB5js.isForbiddenError; exports.isFormTab = isFormTab; exports.isLabelExpression = _chunkYMDB2AB5js.isLabelExpression; exports.isNoValueOperator = isNoValueOperator; exports.isNotFoundError = _chunkYMDB2AB5js.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isProtectedResourceError = _chunkYMDB2AB5js.isProtectedResourceError; exports.isRecordComplete = _chunkYMDB2AB5js.isRecordComplete; exports.isSchemaError = _chunkYMDB2AB5js.isSchemaError; exports.isSystemAttribute = _chunkYMDB2AB5js.isSystemAttribute; exports.isSystemAttributeObject = _chunkYMDB2AB5js.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isTableTab = isTableTab; exports.isUniversalRelation = _chunkYMDB2AB5js.isUniversalRelation; exports.isValidationError = _chunkYMDB2AB5js.isValidationError; exports.location = _chunkYMDB2AB5js.location; exports.locationConfigSchema = _chunkYMDB2AB5js.locationConfigSchema; exports.multiselect = _chunkYMDB2AB5js.multiselect; exports.multiselectConfigSchema = _chunkYMDB2AB5js.multiselectConfigSchema; exports.notesPolicy = _chunkYMDB2AB5js.notesPolicy; exports.number = _chunkYMDB2AB5js.number; exports.numberConfigSchema = _chunkYMDB2AB5js.numberConfigSchema; exports.object = _chunkYMDB2AB5js.object; exports.parseAttributeConfig = _chunkYMDB2AB5js.parseAttributeConfig; exports.parsePath = _chunkYMDB2AB5js.parsePath; exports.pathHasManyCardinality = _chunkYMDB2AB5js.pathHasManyCardinality; exports.phone = _chunkYMDB2AB5js.phone; exports.phoneConfigSchema = _chunkYMDB2AB5js.phoneConfigSchema; exports.rating = _chunkYMDB2AB5js.rating; exports.ratingConfigSchema = _chunkYMDB2AB5js.ratingConfigSchema; exports.registry = _chunkYMDB2AB5js.registry; exports.relation = _chunkYMDB2AB5js.relation; exports.relationConfigSchema = _chunkYMDB2AB5js.relationConfigSchema; exports.renderLabelExpression = _chunkYMDB2AB5js.renderLabelExpression; exports.resolveMultiplePaths = _chunkYMDB2AB5js.resolveMultiplePaths; exports.resolveSingleValue = _chunkYMDB2AB5js.resolveSingleValue; exports.richtext = _chunkYMDB2AB5js.richtext; exports.richtextConfigSchema = _chunkYMDB2AB5js.richtextConfigSchema; exports.rollup = _chunkYMDB2AB5js.rollup; exports.rollupConfigSchema = _chunkYMDB2AB5js.rollupConfigSchema; exports.runWithContext = _chunkYMDB2AB5js.runWithContext; exports.safeParseAttributeConfig = _chunkYMDB2AB5js.safeParseAttributeConfig; exports.select = _chunkYMDB2AB5js.select; exports.selectConfigSchema = _chunkYMDB2AB5js.selectConfigSchema; exports.status = _chunkYMDB2AB5js.status; exports.statusConfigSchema = _chunkYMDB2AB5js.statusConfigSchema; exports.syncAll = _chunkYMDB2AB5js.syncAll; exports.syncNativeObjects = _chunkYMDB2AB5js.syncNativeObjects; exports.syncNativeViews = _chunkYMDB2AB5js.syncNativeViews; exports.text = _chunkYMDB2AB5js.text; exports.textConfigSchema = _chunkYMDB2AB5js.textConfigSchema; exports.textarea = _chunkYMDB2AB5js.textarea; exports.textareaConfigSchema = _chunkYMDB2AB5js.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunkYMDB2AB5js.traversePath; exports.user = _chunkYMDB2AB5js.user; exports.userConfigSchema = _chunkYMDB2AB5js.userConfigSchema; exports.validateAttribute = _chunkYMDB2AB5js.validateAttribute; exports.validateAttributeConfig = _chunkYMDB2AB5js.validateAttributeConfig; exports.validateDraft = _chunkYMDB2AB5js.validateDraft; exports.validateDraftOrThrow = _chunkYMDB2AB5js.validateDraftOrThrow; exports.validateFormulaExpression = _chunkYMDB2AB5js.validateFormulaExpression; exports.validateObject = _chunkYMDB2AB5js.validateObject; exports.validateObjectOrThrow = _chunkYMDB2AB5js.validateObjectOrThrow; exports.validatePath = _chunkYMDB2AB5js.validatePath; exports.verifyNativeObjectsSync = _chunkYMDB2AB5js.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkYMDB2AB5js.verifyNativeViewsSync; exports.view = _chunkYMDB2AB5js.view; exports.viewRegistry = viewRegistry; exports.withTenantContext = _chunkYMDB2AB5js.withTenantContext;
|
|
718
|
+
exports.ALL_SYSTEM_RESOURCES = _chunk36UBIXJNjs.ALL_SYSTEM_RESOURCES; exports.ActivityTabConfig = _chunkNSJ6MRRLjs.ActivityTabConfig; exports.AttributeInUseError = _chunkNSJ6MRRLjs.AttributeInUseError; exports.AttributeNotFoundError = _chunkNSJ6MRRLjs.AttributeNotFoundError; exports.AuditService = _chunkNSJ6MRRLjs.AuditService; exports.CustomTabConfig = _chunkNSJ6MRRLjs.CustomTabConfig; exports.DEFAULT_LABEL_FALLBACK = _chunkNSJ6MRRLjs.DEFAULT_LABEL_FALLBACK; exports.DEFAULT_ROLES = _chunk36UBIXJNjs.DEFAULT_ROLES; exports.DEFAULT_ROLE_DESCRIPTIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_DESCRIPTIONS; exports.DEFAULT_ROLE_LABELS = _chunk36UBIXJNjs.DEFAULT_ROLE_LABELS; exports.DEFAULT_ROLE_PERMISSIONS = _chunk36UBIXJNjs.DEFAULT_ROLE_PERMISSIONS; exports.DuplicateError = _chunkNSJ6MRRLjs.DuplicateError; exports.EMPTY_VALUE_PLACEHOLDER = _chunkNSJ6MRRLjs.EMPTY_VALUE_PLACEHOLDER; exports.FileNotFoundError = _chunkNSJ6MRRLjs.FileNotFoundError; exports.FileService = _chunkNSJ6MRRLjs.FileService; exports.FlowBuilder = _chunkNSJ6MRRLjs.FlowBuilder; exports.FlowPageBuilder = _chunkNSJ6MRRLjs.FlowPageBuilder; exports.FlowRowBuilder = _chunkNSJ6MRRLjs.FlowRowBuilder; exports.FlowService = _chunkNSJ6MRRLjs.FlowService; exports.ForbiddenError = _chunkNSJ6MRRLjs.ForbiddenError; exports.GeocodingService = _chunkNSJ6MRRLjs.GeocodingService; exports.GlobalSearchService = _chunkNSJ6MRRLjs.GlobalSearchService; exports.GroupBuilder = _chunkNSJ6MRRLjs.GroupBuilder; exports.InvalidPathError = _chunkNSJ6MRRLjs.InvalidPathError; exports.MaxDepthExceededError = _chunkNSJ6MRRLjs.MaxDepthExceededError; exports.NOTES = NOTES; exports.NO_VALUE_OPERATORS = NO_VALUE_OPERATORS; exports.NoopGeocodingAdapter = _chunkNSJ6MRRLjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkNSJ6MRRLjs.NoopHookRegistry; exports.NotFoundError = _chunkNSJ6MRRLjs.NotFoundError; exports.NotSystemObjectError = _chunkNSJ6MRRLjs.NotSystemObjectError; exports.NotesTabConfig = _chunkNSJ6MRRLjs.NotesTabConfig; exports.OPERATORS_BY_TYPE = OPERATORS_BY_TYPE; exports.ObjectBuilder = _chunkNSJ6MRRLjs.ObjectBuilder; exports.ObjectNotFoundError = _chunkNSJ6MRRLjs.ObjectNotFoundError; exports.ObjectReferencedError = _chunkNSJ6MRRLjs.ObjectReferencedError; exports.ObjectSchemaService = _chunkNSJ6MRRLjs.ObjectSchemaService; exports.PermissionService = _chunkNSJ6MRRLjs.PermissionService; exports.PolicyRegistry = _chunkNSJ6MRRLjs.PolicyRegistry; exports.PolicyViolationError = _chunkNSJ6MRRLjs.PolicyViolationError; exports.ProtectedResourceError = _chunkNSJ6MRRLjs.ProtectedResourceError; exports.ProtectedRoleError = _chunkNSJ6MRRLjs.ProtectedRoleError; exports.QueryBuilder = _chunkNSJ6MRRLjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkNSJ6MRRLjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkNSJ6MRRLjs.QueryNoResultError; exports.RELATION_TARGET_ANY = _chunkNSJ6MRRLjs.RELATION_TARGET_ANY; exports.RESERVED_ATTRIBUTE_NAMES = _chunkNSJ6MRRLjs.RESERVED_ATTRIBUTE_NAMES; exports.RecordNotFoundError = _chunkNSJ6MRRLjs.RecordNotFoundError; exports.RecordReferencedError = _chunkNSJ6MRRLjs.RecordReferencedError; exports.RecordService = _chunkNSJ6MRRLjs.RecordService; exports.RelationResolverService = _chunkNSJ6MRRLjs.RelationResolverService; exports.RelationService = _chunkNSJ6MRRLjs.RelationService; exports.RoleNotFoundError = _chunkNSJ6MRRLjs.RoleNotFoundError; exports.RollupScheduler = _chunkNSJ6MRRLjs.RollupScheduler; exports.RollupService = _chunkNSJ6MRRLjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkNSJ6MRRLjs.SHORTCUT_TO_FILTER_OPERATOR; exports.SYSTEM_ATTRIBUTES = _chunkNSJ6MRRLjs.SYSTEM_ATTRIBUTES; exports.SYSTEM_FIELD_NAMES = _chunkNSJ6MRRLjs.SYSTEM_FIELD_NAMES; exports.SYSTEM_RESOURCES = _chunk36UBIXJNjs.SYSTEM_RESOURCES; exports.SYSTEM_RESOURCE_LABELS = _chunk36UBIXJNjs.SYSTEM_RESOURCE_LABELS; exports.SchemaError = _chunkNSJ6MRRLjs.SchemaError; exports.SchemaErrorCode = _chunkNSJ6MRRLjs.SchemaErrorCode; exports.SyncError = _chunkNSJ6MRRLjs.SyncError; exports.TabBuilder = _chunkNSJ6MRRLjs.TabBuilder; exports.TableTabConfig = _chunkNSJ6MRRLjs.TableTabConfig; exports.TenantAwareRepository = _chunkNSJ6MRRLjs.TenantAwareRepository; exports.TenantAwareService = _chunkNSJ6MRRLjs.TenantAwareService; exports.TenantContextError = _chunkNSJ6MRRLjs.TenantContextError; exports.UserProfileNotFoundError = _chunkNSJ6MRRLjs.UserProfileNotFoundError; exports.UserProfileService = _chunkNSJ6MRRLjs.UserProfileService; exports.UserService = _chunkNSJ6MRRLjs.UserService; exports.ValidationError = _chunkNSJ6MRRLjs.ValidationError; exports.ViewBuilder = _chunkNSJ6MRRLjs.ViewBuilder; exports.ViewService = _chunkNSJ6MRRLjs.ViewService; exports.asTenantId = _chunkNSJ6MRRLjs.asTenantId; exports.asUserId = _chunkNSJ6MRRLjs.asUserId; exports.attributeConfigSchemas = _chunkNSJ6MRRLjs.attributeConfigSchemas; exports.buildAuditChanges = _chunkNSJ6MRRLjs.buildAuditChanges; exports.checkbox = _chunkNSJ6MRRLjs.checkbox; exports.checkboxConfigSchema = _chunkNSJ6MRRLjs.checkboxConfigSchema; exports.computeRecordStatus = _chunkNSJ6MRRLjs.computeRecordStatus; exports.createAttributeValidator = _chunkNSJ6MRRLjs.createAttributeValidator; exports.createCheckboxValidator = _chunkNSJ6MRRLjs.createCheckboxValidator; exports.createCurrencyValidator = _chunkNSJ6MRRLjs.createCurrencyValidator; exports.createDateValidator = _chunkNSJ6MRRLjs.createDateValidator; exports.createDefaultState = _chunkNSJ6MRRLjs.createDefaultState; exports.createDraftValidator = _chunkNSJ6MRRLjs.createDraftValidator; exports.createFileValidator = _chunkNSJ6MRRLjs.createFileValidator; exports.createFormulaValidator = _chunkNSJ6MRRLjs.createFormulaValidator; exports.createLocationValidator = _chunkNSJ6MRRLjs.createLocationValidator; exports.createMockAdapter = _chunkNSJ6MRRLjs.createMockAdapter; exports.createMultiRelationValidator = _chunkNSJ6MRRLjs.createMultiRelationValidator; exports.createMultiselectValidator = _chunkNSJ6MRRLjs.createMultiselectValidator; exports.createNumberValidator = _chunkNSJ6MRRLjs.createNumberValidator; exports.createObjectValidator = _chunkNSJ6MRRLjs.createObjectValidator; exports.createPhoneValidator = _chunkNSJ6MRRLjs.createPhoneValidator; exports.createQueryBuilder = _chunkNSJ6MRRLjs.createQueryBuilder; exports.createRatingValidator = _chunkNSJ6MRRLjs.createRatingValidator; exports.createRelationValidator = _chunkNSJ6MRRLjs.createRelationValidator; exports.createRichtextValidator = _chunkNSJ6MRRLjs.createRichtextValidator; exports.createRollupValidator = _chunkNSJ6MRRLjs.createRollupValidator; exports.createSelectValidator = _chunkNSJ6MRRLjs.createSelectValidator; exports.createSingleRelationValidator = _chunkNSJ6MRRLjs.createSingleRelationValidator; exports.createStatusValidator = _chunkNSJ6MRRLjs.createStatusValidator; exports.createTextAreaValidator = _chunkNSJ6MRRLjs.createTextAreaValidator; exports.createTextValidator = _chunkNSJ6MRRLjs.createTextValidator; exports.createUserValidator = _chunkNSJ6MRRLjs.createUserValidator; exports.currency = _chunkNSJ6MRRLjs.currency; exports.currencyConfigSchema = _chunkNSJ6MRRLjs.currencyConfigSchema; exports.date = _chunkNSJ6MRRLjs.date; exports.dateConfigSchema = _chunkNSJ6MRRLjs.dateConfigSchema; exports.defaultPolicyRegistry = _chunkNSJ6MRRLjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunkNSJ6MRRLjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunkNSJ6MRRLjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkNSJ6MRRLjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkNSJ6MRRLjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkNSJ6MRRLjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkNSJ6MRRLjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunkNSJ6MRRLjs.extractAttributeNames; exports.extractFormulaVariables = _chunkNSJ6MRRLjs.extractFormulaVariables; exports.extractRelationNames = _chunkNSJ6MRRLjs.extractRelationNames; exports.extractRelationReferences = _chunkNSJ6MRRLjs.extractRelationReferences; exports.file = _chunkNSJ6MRRLjs.file; exports.fileConfigSchema = _chunkNSJ6MRRLjs.fileConfigSchema; exports.flattenRelationsForEval = _chunkNSJ6MRRLjs.flattenRelationsForEval; exports.flow = _chunkNSJ6MRRLjs.flow; exports.formatAttributeValue = _chunkNSJ6MRRLjs.formatAttributeValue; exports.formatFormulaResult = _chunkNSJ6MRRLjs.formatFormulaResult; exports.formatRecord = _chunkNSJ6MRRLjs.formatRecord; exports.formatRecords = _chunkNSJ6MRRLjs.formatRecords; exports.formula = _chunkNSJ6MRRLjs.formula; exports.formulaConfigSchema = _chunkNSJ6MRRLjs.formulaConfigSchema; exports.generateId = _chunkNSJ6MRRLjs.generateId; exports.generatePrefixedId = _chunkNSJ6MRRLjs.generatePrefixedId; exports.getAttributeConfigSchema = _chunkNSJ6MRRLjs.getAttributeConfigSchema; exports.getContext = _chunkNSJ6MRRLjs.getContext; exports.getMissingRequiredAttributes = _chunkNSJ6MRRLjs.getMissingRequiredAttributes; exports.getPathDepth = _chunkNSJ6MRRLjs.getPathDepth; exports.getRelationPath = _chunkNSJ6MRRLjs.getRelationPath; exports.getSyncPreview = _chunkNSJ6MRRLjs.getSyncPreview; exports.getSystemAttributeList = _chunkNSJ6MRRLjs.getSystemAttributeList; exports.getTargetAttributeName = _chunkNSJ6MRRLjs.getTargetAttributeName; exports.getTenantId = _chunkNSJ6MRRLjs.getTenantId; exports.getUserId = _chunkNSJ6MRRLjs.getUserId; exports.getViewSyncPreview = _chunkNSJ6MRRLjs.getViewSyncPreview; exports.group = _chunkNSJ6MRRLjs.group; exports.hasContext = _chunkNSJ6MRRLjs.hasContext; exports.hasRelationReferences = _chunkNSJ6MRRLjs.hasRelationReferences; exports.isActivityTab = isActivityTab; exports.isAdvancedFilterState = isAdvancedFilterState; exports.isCustomTab = isCustomTab; exports.isDefaultRole = _chunk36UBIXJNjs.isDefaultRole; exports.isFlowDefinition = isFlowDefinition; exports.isFlowPublished = isFlowPublished; exports.isForbiddenError = _chunkNSJ6MRRLjs.isForbiddenError; exports.isFormTab = isFormTab; exports.isLabelExpression = _chunkNSJ6MRRLjs.isLabelExpression; exports.isNoValueOperator = isNoValueOperator; exports.isNotFoundError = _chunkNSJ6MRRLjs.isNotFoundError; exports.isNotesTab = isNotesTab; exports.isProtectedResourceError = _chunkNSJ6MRRLjs.isProtectedResourceError; exports.isRecordComplete = _chunkNSJ6MRRLjs.isRecordComplete; exports.isSchemaError = _chunkNSJ6MRRLjs.isSchemaError; exports.isSystemAttribute = _chunkNSJ6MRRLjs.isSystemAttribute; exports.isSystemAttributeObject = _chunkNSJ6MRRLjs.isSystemAttributeObject; exports.isSystemFlow = isSystemFlow; exports.isTableTab = isTableTab; exports.isUniversalRelation = _chunkNSJ6MRRLjs.isUniversalRelation; exports.isValidationError = _chunkNSJ6MRRLjs.isValidationError; exports.location = _chunkNSJ6MRRLjs.location; exports.locationConfigSchema = _chunkNSJ6MRRLjs.locationConfigSchema; exports.multiselect = _chunkNSJ6MRRLjs.multiselect; exports.multiselectConfigSchema = _chunkNSJ6MRRLjs.multiselectConfigSchema; exports.notesPolicy = _chunkNSJ6MRRLjs.notesPolicy; exports.number = _chunkNSJ6MRRLjs.number; exports.numberConfigSchema = _chunkNSJ6MRRLjs.numberConfigSchema; exports.object = _chunkNSJ6MRRLjs.object; exports.parseAttributeConfig = _chunkNSJ6MRRLjs.parseAttributeConfig; exports.parsePath = _chunkNSJ6MRRLjs.parsePath; exports.pathHasManyCardinality = _chunkNSJ6MRRLjs.pathHasManyCardinality; exports.phone = _chunkNSJ6MRRLjs.phone; exports.phoneConfigSchema = _chunkNSJ6MRRLjs.phoneConfigSchema; exports.rating = _chunkNSJ6MRRLjs.rating; exports.ratingConfigSchema = _chunkNSJ6MRRLjs.ratingConfigSchema; exports.registry = _chunkNSJ6MRRLjs.registry; exports.relation = _chunkNSJ6MRRLjs.relation; exports.relationConfigSchema = _chunkNSJ6MRRLjs.relationConfigSchema; exports.renderLabelExpression = _chunkNSJ6MRRLjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkNSJ6MRRLjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkNSJ6MRRLjs.resolveSingleValue; exports.richtext = _chunkNSJ6MRRLjs.richtext; exports.richtextConfigSchema = _chunkNSJ6MRRLjs.richtextConfigSchema; exports.rollup = _chunkNSJ6MRRLjs.rollup; exports.rollupConfigSchema = _chunkNSJ6MRRLjs.rollupConfigSchema; exports.runWithContext = _chunkNSJ6MRRLjs.runWithContext; exports.safeParseAttributeConfig = _chunkNSJ6MRRLjs.safeParseAttributeConfig; exports.select = _chunkNSJ6MRRLjs.select; exports.selectConfigSchema = _chunkNSJ6MRRLjs.selectConfigSchema; exports.status = _chunkNSJ6MRRLjs.status; exports.statusConfigSchema = _chunkNSJ6MRRLjs.statusConfigSchema; exports.syncAll = _chunkNSJ6MRRLjs.syncAll; exports.syncNativeObjects = _chunkNSJ6MRRLjs.syncNativeObjects; exports.syncNativeViews = _chunkNSJ6MRRLjs.syncNativeViews; exports.text = _chunkNSJ6MRRLjs.text; exports.textConfigSchema = _chunkNSJ6MRRLjs.textConfigSchema; exports.textarea = _chunkNSJ6MRRLjs.textarea; exports.textareaConfigSchema = _chunkNSJ6MRRLjs.textareaConfigSchema; exports.toAdvancedFilterState = toAdvancedFilterState; exports.toSimpleFilterState = toSimpleFilterState; exports.traversePath = _chunkNSJ6MRRLjs.traversePath; exports.user = _chunkNSJ6MRRLjs.user; exports.userConfigSchema = _chunkNSJ6MRRLjs.userConfigSchema; exports.validateAttribute = _chunkNSJ6MRRLjs.validateAttribute; exports.validateAttributeConfig = _chunkNSJ6MRRLjs.validateAttributeConfig; exports.validateDraft = _chunkNSJ6MRRLjs.validateDraft; exports.validateDraftOrThrow = _chunkNSJ6MRRLjs.validateDraftOrThrow; exports.validateFormulaExpression = _chunkNSJ6MRRLjs.validateFormulaExpression; exports.validateObject = _chunkNSJ6MRRLjs.validateObject; exports.validateObjectOrThrow = _chunkNSJ6MRRLjs.validateObjectOrThrow; exports.validatePath = _chunkNSJ6MRRLjs.validatePath; exports.verifyNativeObjectsSync = _chunkNSJ6MRRLjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkNSJ6MRRLjs.verifyNativeViewsSync; exports.view = _chunkNSJ6MRRLjs.view; exports.viewRegistry = viewRegistry; exports.withTenantContext = _chunkNSJ6MRRLjs.withTenantContext;
|
package/dist/index.mjs
CHANGED
|
@@ -3491,6 +3491,8 @@ declare function createRichtextValidator(attr: RichtextAttribute): z.ZodTypeAny;
|
|
|
3491
3491
|
declare function createAttributeValidator(attr: Attribute): z.ZodTypeAny;
|
|
3492
3492
|
/**
|
|
3493
3493
|
* Create a Zod schema for an entire object
|
|
3494
|
+
*
|
|
3495
|
+
* Uses strict mode to reject unknown keys, preventing invalid data from being stored.
|
|
3494
3496
|
*/
|
|
3495
3497
|
declare function createObjectValidator(objectDef: ObjectDefinition): z.ZodType<Record<string, unknown>>;
|
|
3496
3498
|
/**
|
|
@@ -3519,6 +3521,8 @@ declare function validateObjectOrThrow(objectDef: ObjectDefinition, data: Record
|
|
|
3519
3521
|
/**
|
|
3520
3522
|
* Create a Zod schema for draft validation.
|
|
3521
3523
|
* All attributes become optional, but provided values are still validated.
|
|
3524
|
+
*
|
|
3525
|
+
* Uses strict mode to reject unknown keys, preventing invalid data from being stored.
|
|
3522
3526
|
*/
|
|
3523
3527
|
declare function createDraftValidator(objectDef: ObjectDefinition): z.ZodType<Record<string, unknown>>;
|
|
3524
3528
|
/**
|
|
@@ -3491,6 +3491,8 @@ declare function createRichtextValidator(attr: RichtextAttribute): z.ZodTypeAny;
|
|
|
3491
3491
|
declare function createAttributeValidator(attr: Attribute): z.ZodTypeAny;
|
|
3492
3492
|
/**
|
|
3493
3493
|
* Create a Zod schema for an entire object
|
|
3494
|
+
*
|
|
3495
|
+
* Uses strict mode to reject unknown keys, preventing invalid data from being stored.
|
|
3494
3496
|
*/
|
|
3495
3497
|
declare function createObjectValidator(objectDef: ObjectDefinition): z.ZodType<Record<string, unknown>>;
|
|
3496
3498
|
/**
|
|
@@ -3519,6 +3521,8 @@ declare function validateObjectOrThrow(objectDef: ObjectDefinition, data: Record
|
|
|
3519
3521
|
/**
|
|
3520
3522
|
* Create a Zod schema for draft validation.
|
|
3521
3523
|
* All attributes become optional, but provided values are still validated.
|
|
3524
|
+
*
|
|
3525
|
+
* Uses strict mode to reject unknown keys, preventing invalid data from being stored.
|
|
3522
3526
|
*/
|
|
3523
3527
|
declare function createDraftValidator(objectDef: ObjectDefinition): z.ZodType<Record<string, unknown>>;
|
|
3524
3528
|
/**
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-
|
|
1
|
+
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-CiSfzhbd.mjs';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-
|
|
1
|
+
export { ep as AddAttributeInput, dV as AttributeChange, e5 as AttributesRepository, eb as AuditRepository, ee as AuditService, bw as CompletionStatus, eo as CreateCustomObjectInput, fd as CreateDBAttribute, fr as CreateDBFlow, f9 as CreateDBObject, fn as CreateDBView, ej as CreateFlowInput, fg as CreateObjectRecord, eO as CreateViewInput, fc as DBAttribute, fq as DBFlow, f8 as DBObject, fm as DBView, f3 as DEFAULT_LABEL_FALLBACK, d0 as DatabaseAdapter, d1 as FetchResult, eR as FileContent, fl as FileListOptions, ei as FileService, eh as FileServiceOptions, e7 as FilesRepository, el as FlowService, ea as FlowsRepository, d2 as FormattedRecord, dD as FormulaResult, f1 as FullSyncOptions, f0 as FullSyncResult, b4 as GeocodingAdapter, b1 as GeocodingAutocompleteParams, b3 as GeocodingParams, em as GeocodingService, b0 as GeocodingSuggestion, eB as GetRelationOptionsParams, fj as GlobalSearchOptions, fk as GlobalSearchResultItem, en as GlobalSearchService, d3 as GroupedFetchResult, dW as HookContext, dX as HookDefinition, dY as HookHandler, d$ as HookRegistry, dZ as HookType, d4 as InsertOptions, dH as InvalidPathError, fh as ListOptions, dI as MaxDepthExceededError, b5 as NoopGeocodingAdapter, d_ as NoopHookRegistry, e8 as ObjectRecordsRepository, es as ObjectSchemaService, er as ObjectSchemaServiceOptions, e4 as ObjectsRepository, ft as OperationResult, dM as PathCardinality, dN as PathSegment, dO as PathSegmentType, eu as PermissionService, et as PermissionServiceOptions, ec as PermissionsRepository, bJ as PolicyContext, e2 as PolicyRegistry, bL as PolicyViolationError, dg as QueryBuilder, dh as QueryBuilderOptions, d5 as QueryBuilderState, dc as QueryMultipleResultsError, dd as QueryNoResultError, bK as RecordPolicy, ew as RecordService, ev as RecordServiceOptions, d6 as RegistryMap, d7 as RegistryObjectNames, ez as RelationOption, eA as RelationOptionsResponse, eE as RelationResolverService, eC as RelationService, ey as RelationValidationError, ex as RelationValidationResult, eD as ResolvedRelations, b2 as ReverseGeocodingParams, eF as RollupResult, eI as RollupScheduler, eH as RollupSchedulerOptions, eG as RollupService, de as SHORTCUT_TO_FILTER_OPERATOR, dP as SchemaResolver, fi as SearchOptions, d8 as ShortcutOperator, eU as SignedUrlOptions, eV as StorageAdapter, eS as StorageUploadInput, eT as StorageUploadResult, eY as SyncOptions, eX as SyncResult, eg as TenantAwareRepository, ef as TenantAwareService, dq as TenantContext, di as TenantContextError, dT as TraversalOptions, dU as TraversalResult, fe as UpdateDBAttribute, fs as UpdateDBFlow, fa as UpdateDBObject, fo as UpdateDBView, ek as UpdateFlowInput, eq as UpdateObjectInput, eP as UpdateViewInput, eW as UploadFileInput, ff as UpsertDBAttribute, fb as UpsertDBObject, fp as UpsertDBView, eK as UserProfileService, eJ as UserProfileServiceOptions, e6 as UserProfilesRepository, eN as UserService, eM as UserValidationError, eL as UserValidationResult, eQ as ViewService, fv as ViewSyncOptions, fu as ViewSyncResult, e9 as ViewsRepository, ed as buildAuditChanges, d9 as createDefaultState, e0 as createMockAdapter, df as createQueryBuilder, e1 as defaultPolicyRegistry, f7 as enrichValuesWithSelectLabels, dr as evaluateFormula, ds as evaluateFormulaAttribute, dt as evaluateFormulaAttributeWithRelations, du as evaluateFormulaWithRelations, dv as evaluateFormulaWithResult, f6 as extractAttributeNames, dw as extractFormulaVariables, dx as extractRelationNames, dy as extractRelationReferences, dz as flattenRelationsForEval, dA as formatFormulaResult, da as formatRecord, db as formatRecords, dj as getContext, dE as getPathDepth, dF as getRelationPath, e$ as getSyncPreview, dG as getTargetAttributeName, dk as getTenantId, dl as getUserId, fy as getViewSyncPreview, dm as hasContext, dB as hasRelationReferences, f5 as isLabelExpression, e3 as notesPolicy, dJ as parsePath, dK as pathHasManyCardinality, f4 as renderLabelExpression, dQ as resolveMultiplePaths, dR as resolveSingleValue, dn as runWithContext, f2 as syncAll, eZ as syncNativeObjects, fw as syncNativeViews, dS as traversePath, dC as validateFormulaExpression, dL as validatePath, e_ as verifyNativeObjectsSync, fx as verifyNativeViewsSync, dp as withTenantContext } from './runtime-CiSfzhbd.js';
|
|
2
2
|
import '@stndrds/constants';
|
|
3
3
|
import 'zod';
|
package/dist/runtime.js
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunkNSJ6MRRLjs = require('./chunk-NSJ6MRRL.js');
|
|
78
78
|
require('./chunk-3RG5ZIWI.js');
|
|
79
79
|
|
|
80
80
|
|
|
@@ -152,4 +152,4 @@ require('./chunk-3RG5ZIWI.js');
|
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
exports.AuditService =
|
|
155
|
+
exports.AuditService = _chunkNSJ6MRRLjs.AuditService; exports.DEFAULT_LABEL_FALLBACK = _chunkNSJ6MRRLjs.DEFAULT_LABEL_FALLBACK; exports.FileService = _chunkNSJ6MRRLjs.FileService; exports.FlowService = _chunkNSJ6MRRLjs.FlowService; exports.GeocodingService = _chunkNSJ6MRRLjs.GeocodingService; exports.GlobalSearchService = _chunkNSJ6MRRLjs.GlobalSearchService; exports.InvalidPathError = _chunkNSJ6MRRLjs.InvalidPathError; exports.MaxDepthExceededError = _chunkNSJ6MRRLjs.MaxDepthExceededError; exports.NoopGeocodingAdapter = _chunkNSJ6MRRLjs.NoopGeocodingAdapter; exports.NoopHookRegistry = _chunkNSJ6MRRLjs.NoopHookRegistry; exports.ObjectSchemaService = _chunkNSJ6MRRLjs.ObjectSchemaService; exports.PermissionService = _chunkNSJ6MRRLjs.PermissionService; exports.PolicyRegistry = _chunkNSJ6MRRLjs.PolicyRegistry; exports.PolicyViolationError = _chunkNSJ6MRRLjs.PolicyViolationError; exports.QueryBuilder = _chunkNSJ6MRRLjs.QueryBuilder; exports.QueryMultipleResultsError = _chunkNSJ6MRRLjs.QueryMultipleResultsError; exports.QueryNoResultError = _chunkNSJ6MRRLjs.QueryNoResultError; exports.RecordService = _chunkNSJ6MRRLjs.RecordService; exports.RelationResolverService = _chunkNSJ6MRRLjs.RelationResolverService; exports.RelationService = _chunkNSJ6MRRLjs.RelationService; exports.RollupScheduler = _chunkNSJ6MRRLjs.RollupScheduler; exports.RollupService = _chunkNSJ6MRRLjs.RollupService; exports.SHORTCUT_TO_FILTER_OPERATOR = _chunkNSJ6MRRLjs.SHORTCUT_TO_FILTER_OPERATOR; exports.TenantAwareRepository = _chunkNSJ6MRRLjs.TenantAwareRepository; exports.TenantAwareService = _chunkNSJ6MRRLjs.TenantAwareService; exports.TenantContextError = _chunkNSJ6MRRLjs.TenantContextError; exports.UserProfileService = _chunkNSJ6MRRLjs.UserProfileService; exports.UserService = _chunkNSJ6MRRLjs.UserService; exports.ViewService = _chunkNSJ6MRRLjs.ViewService; exports.buildAuditChanges = _chunkNSJ6MRRLjs.buildAuditChanges; exports.createDefaultState = _chunkNSJ6MRRLjs.createDefaultState; exports.createMockAdapter = _chunkNSJ6MRRLjs.createMockAdapter; exports.createQueryBuilder = _chunkNSJ6MRRLjs.createQueryBuilder; exports.defaultPolicyRegistry = _chunkNSJ6MRRLjs.defaultPolicyRegistry; exports.enrichValuesWithSelectLabels = _chunkNSJ6MRRLjs.enrichValuesWithSelectLabels; exports.evaluateFormula = _chunkNSJ6MRRLjs.evaluateFormula; exports.evaluateFormulaAttribute = _chunkNSJ6MRRLjs.evaluateFormulaAttribute; exports.evaluateFormulaAttributeWithRelations = _chunkNSJ6MRRLjs.evaluateFormulaAttributeWithRelations; exports.evaluateFormulaWithRelations = _chunkNSJ6MRRLjs.evaluateFormulaWithRelations; exports.evaluateFormulaWithResult = _chunkNSJ6MRRLjs.evaluateFormulaWithResult; exports.extractAttributeNames = _chunkNSJ6MRRLjs.extractAttributeNames; exports.extractFormulaVariables = _chunkNSJ6MRRLjs.extractFormulaVariables; exports.extractRelationNames = _chunkNSJ6MRRLjs.extractRelationNames; exports.extractRelationReferences = _chunkNSJ6MRRLjs.extractRelationReferences; exports.flattenRelationsForEval = _chunkNSJ6MRRLjs.flattenRelationsForEval; exports.formatFormulaResult = _chunkNSJ6MRRLjs.formatFormulaResult; exports.formatRecord = _chunkNSJ6MRRLjs.formatRecord; exports.formatRecords = _chunkNSJ6MRRLjs.formatRecords; exports.getContext = _chunkNSJ6MRRLjs.getContext; exports.getPathDepth = _chunkNSJ6MRRLjs.getPathDepth; exports.getRelationPath = _chunkNSJ6MRRLjs.getRelationPath; exports.getSyncPreview = _chunkNSJ6MRRLjs.getSyncPreview; exports.getTargetAttributeName = _chunkNSJ6MRRLjs.getTargetAttributeName; exports.getTenantId = _chunkNSJ6MRRLjs.getTenantId; exports.getUserId = _chunkNSJ6MRRLjs.getUserId; exports.getViewSyncPreview = _chunkNSJ6MRRLjs.getViewSyncPreview; exports.hasContext = _chunkNSJ6MRRLjs.hasContext; exports.hasRelationReferences = _chunkNSJ6MRRLjs.hasRelationReferences; exports.isLabelExpression = _chunkNSJ6MRRLjs.isLabelExpression; exports.notesPolicy = _chunkNSJ6MRRLjs.notesPolicy; exports.parsePath = _chunkNSJ6MRRLjs.parsePath; exports.pathHasManyCardinality = _chunkNSJ6MRRLjs.pathHasManyCardinality; exports.renderLabelExpression = _chunkNSJ6MRRLjs.renderLabelExpression; exports.resolveMultiplePaths = _chunkNSJ6MRRLjs.resolveMultiplePaths; exports.resolveSingleValue = _chunkNSJ6MRRLjs.resolveSingleValue; exports.runWithContext = _chunkNSJ6MRRLjs.runWithContext; exports.syncAll = _chunkNSJ6MRRLjs.syncAll; exports.syncNativeObjects = _chunkNSJ6MRRLjs.syncNativeObjects; exports.syncNativeViews = _chunkNSJ6MRRLjs.syncNativeViews; exports.traversePath = _chunkNSJ6MRRLjs.traversePath; exports.validateFormulaExpression = _chunkNSJ6MRRLjs.validateFormulaExpression; exports.validatePath = _chunkNSJ6MRRLjs.validatePath; exports.verifyNativeObjectsSync = _chunkNSJ6MRRLjs.verifyNativeObjectsSync; exports.verifyNativeViewsSync = _chunkNSJ6MRRLjs.verifyNativeViewsSync; exports.withTenantContext = _chunkNSJ6MRRLjs.withTenantContext;
|
package/dist/runtime.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/schema",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.28",
|
|
4
4
|
"description": "Standard schema definitions and utilities",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"expr-eval": "^2.0.2",
|
|
25
25
|
"zod": "^4.2.1",
|
|
26
|
-
"@stndrds/constants": "0.1.0-alpha.
|
|
26
|
+
"@stndrds/constants": "0.1.0-alpha.28"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^25.0.3",
|