Skip to content

Latest commit

 

History

History
61 lines (35 loc) · 937 Bytes

File metadata and controls

61 lines (35 loc) · 937 Bytes
title Field
description Field protocol schemas

Field

**Source:** `packages/spec/src/data/field.zod.ts`

TypeScript Usage

import { AddressSchema, ComputedFieldCacheSchema, CurrencyConfigSchema, CurrencyValueSchema, DataQualityRulesSchema, FieldSchema, FieldTypeSchema, FileAttachmentConfigSchema, LocationCoordinatesSchema, VectorConfigSchema } from '@objectstack/spec/data';
import type { Address, ComputedFieldCache, CurrencyConfig, CurrencyValue, DataQualityRules, Field, FieldType, FileAttachmentConfig, LocationCoordinates, VectorConfig } from '@objectstack/spec/data';

// Validate data
const result = AddressSchema.parse(data);

Address


ComputedFieldCache


CurrencyConfig


CurrencyValue


DataQualityRules


Field


FieldType


FileAttachmentConfig


LocationCoordinates


VectorConfig