@pixerate/schemas 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -51,6 +51,7 @@ __export(index_exports, {
51
51
  AudioVisualizerTypeSchema: () => AudioVisualizerTypeSchema,
52
52
  AuthUserSchema: () => AuthUserSchema,
53
53
  AutoFitCaptionSchema: () => AutoFitCaptionSchema,
54
+ BaseFormControlSchema: () => BaseFormControlSchema,
54
55
  CRDTSnapshotSchema: () => CRDTSnapshotSchema,
55
56
  ChannelPreferencesSchema: () => ChannelPreferencesSchema,
56
57
  CodeGenerationSchema: () => CodeGenerationSchema,
@@ -919,33 +920,35 @@ var FormControlTypeSchema = import_zod.z.enum([
919
920
  "computed",
920
921
  "repeater"
921
922
  ]);
922
- var FormControlSchema = import_zod.z.lazy(
923
- () => import_zod.z.object({
924
- id: import_zod.z.string(),
925
- type: FormControlTypeSchema,
926
- label: import_zod.z.string(),
927
- description: import_zod.z.string().optional(),
928
- helperText: import_zod.z.string().optional(),
929
- placeholder: import_zod.z.string().optional(),
930
- required: import_zod.z.boolean().optional(),
931
- defaultValue: import_zod.z.any().optional(),
932
- options: import_zod.z.array(FormOptionSchema).optional(),
933
- dataSource: ReferenceDataSourceSchema.optional(),
934
- validation: ControlValidationSchema.optional(),
935
- pattern: import_zod.z.string().optional(),
936
- min: import_zod.z.number().optional(),
937
- max: import_zod.z.number().optional(),
938
- step: import_zod.z.number().optional(),
939
- minItems: import_zod.z.number().optional(),
940
- maxItems: import_zod.z.number().optional(),
941
- formula: import_zod.z.string().optional(),
942
- computed: import_zod.z.object({ formula: import_zod.z.string().optional() }).optional(),
943
- visibleWhen: ConditionSchema.optional(),
944
- condition: ConditionSchema.optional(),
945
- itemControls: import_zod.z.array(FormControlSchema).optional(),
946
- controls: import_zod.z.array(FormControlSchema).optional()
947
- })
948
- );
923
+ var BaseFormControlSchema = import_zod.z.object({
924
+ id: import_zod.z.string(),
925
+ type: FormControlTypeSchema,
926
+ label: import_zod.z.string(),
927
+ description: import_zod.z.string().optional(),
928
+ helperText: import_zod.z.string().optional(),
929
+ placeholder: import_zod.z.string().optional(),
930
+ examples: import_zod.z.array(import_zod.z.string()).optional(),
931
+ suggestions: import_zod.z.array(import_zod.z.string()).optional(),
932
+ required: import_zod.z.boolean().optional(),
933
+ defaultValue: import_zod.z.any().optional(),
934
+ options: import_zod.z.array(FormOptionSchema).optional(),
935
+ dataSource: ReferenceDataSourceSchema.optional(),
936
+ validation: ControlValidationSchema.optional(),
937
+ pattern: import_zod.z.string().optional(),
938
+ min: import_zod.z.number().optional(),
939
+ max: import_zod.z.number().optional(),
940
+ step: import_zod.z.number().optional(),
941
+ minItems: import_zod.z.number().optional(),
942
+ maxItems: import_zod.z.number().optional(),
943
+ formula: import_zod.z.string().optional(),
944
+ computed: import_zod.z.object({ formula: import_zod.z.string().optional() }).optional(),
945
+ visibleWhen: ConditionSchema.optional(),
946
+ condition: ConditionSchema.optional()
947
+ });
948
+ var FormControlSchema = BaseFormControlSchema.extend({
949
+ itemControls: import_zod.z.array(BaseFormControlSchema).optional(),
950
+ controls: import_zod.z.array(BaseFormControlSchema).optional()
951
+ });
949
952
  var FormSectionSchema = import_zod.z.object({
950
953
  id: import_zod.z.string(),
951
954
  title: import_zod.z.string(),
@@ -1954,6 +1957,7 @@ var TaskUnreadSummarySchema = import_zod.z.object({
1954
1957
  AudioVisualizerTypeSchema,
1955
1958
  AuthUserSchema,
1956
1959
  AutoFitCaptionSchema,
1960
+ BaseFormControlSchema,
1957
1961
  CRDTSnapshotSchema,
1958
1962
  ChannelPreferencesSchema,
1959
1963
  CodeGenerationSchema,
package/dist/index.d.cts CHANGED
@@ -8827,6 +8827,8 @@ type FormControl = {
8827
8827
  description?: string;
8828
8828
  helperText?: string;
8829
8829
  placeholder?: string;
8830
+ examples?: string[];
8831
+ suggestions?: string[];
8830
8832
  required?: boolean;
8831
8833
  defaultValue?: any;
8832
8834
  options?: FormOption[];
@@ -8847,6 +8849,194 @@ type FormControl = {
8847
8849
  itemControls?: FormControl[];
8848
8850
  controls?: FormControl[];
8849
8851
  };
8852
+ declare const BaseFormControlSchema: z.ZodObject<{
8853
+ id: z.ZodString;
8854
+ type: z.ZodEnum<["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"]>;
8855
+ label: z.ZodString;
8856
+ description: z.ZodOptional<z.ZodString>;
8857
+ helperText: z.ZodOptional<z.ZodString>;
8858
+ placeholder: z.ZodOptional<z.ZodString>;
8859
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8860
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8861
+ required: z.ZodOptional<z.ZodBoolean>;
8862
+ defaultValue: z.ZodOptional<z.ZodAny>;
8863
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8864
+ label: z.ZodString;
8865
+ value: z.ZodString;
8866
+ }, "strip", z.ZodTypeAny, {
8867
+ value: string;
8868
+ label: string;
8869
+ }, {
8870
+ value: string;
8871
+ label: string;
8872
+ }>, "many">>;
8873
+ dataSource: z.ZodOptional<z.ZodEnum<["companies", "users"]>>;
8874
+ validation: z.ZodOptional<z.ZodObject<{
8875
+ min: z.ZodOptional<z.ZodNumber>;
8876
+ max: z.ZodOptional<z.ZodNumber>;
8877
+ minLength: z.ZodOptional<z.ZodNumber>;
8878
+ maxLength: z.ZodOptional<z.ZodNumber>;
8879
+ pattern: z.ZodOptional<z.ZodString>;
8880
+ message: z.ZodOptional<z.ZodString>;
8881
+ unit: z.ZodOptional<z.ZodString>;
8882
+ }, "strip", z.ZodTypeAny, {
8883
+ message?: string | undefined;
8884
+ min?: number | undefined;
8885
+ max?: number | undefined;
8886
+ minLength?: number | undefined;
8887
+ maxLength?: number | undefined;
8888
+ pattern?: string | undefined;
8889
+ unit?: string | undefined;
8890
+ }, {
8891
+ message?: string | undefined;
8892
+ min?: number | undefined;
8893
+ max?: number | undefined;
8894
+ minLength?: number | undefined;
8895
+ maxLength?: number | undefined;
8896
+ pattern?: string | undefined;
8897
+ unit?: string | undefined;
8898
+ }>>;
8899
+ pattern: z.ZodOptional<z.ZodString>;
8900
+ min: z.ZodOptional<z.ZodNumber>;
8901
+ max: z.ZodOptional<z.ZodNumber>;
8902
+ step: z.ZodOptional<z.ZodNumber>;
8903
+ minItems: z.ZodOptional<z.ZodNumber>;
8904
+ maxItems: z.ZodOptional<z.ZodNumber>;
8905
+ formula: z.ZodOptional<z.ZodString>;
8906
+ computed: z.ZodOptional<z.ZodObject<{
8907
+ formula: z.ZodOptional<z.ZodString>;
8908
+ }, "strip", z.ZodTypeAny, {
8909
+ formula?: string | undefined;
8910
+ }, {
8911
+ formula?: string | undefined;
8912
+ }>>;
8913
+ visibleWhen: z.ZodOptional<z.ZodObject<{
8914
+ field: z.ZodOptional<z.ZodString>;
8915
+ fieldId: z.ZodOptional<z.ZodString>;
8916
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
8917
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8918
+ }, "strip", z.ZodTypeAny, {
8919
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8920
+ value?: string | number | boolean | undefined;
8921
+ field?: string | undefined;
8922
+ fieldId?: string | undefined;
8923
+ }, {
8924
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8925
+ value?: string | number | boolean | undefined;
8926
+ field?: string | undefined;
8927
+ fieldId?: string | undefined;
8928
+ }>>;
8929
+ condition: z.ZodOptional<z.ZodObject<{
8930
+ field: z.ZodOptional<z.ZodString>;
8931
+ fieldId: z.ZodOptional<z.ZodString>;
8932
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
8933
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8934
+ }, "strip", z.ZodTypeAny, {
8935
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8936
+ value?: string | number | boolean | undefined;
8937
+ field?: string | undefined;
8938
+ fieldId?: string | undefined;
8939
+ }, {
8940
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8941
+ value?: string | number | boolean | undefined;
8942
+ field?: string | undefined;
8943
+ fieldId?: string | undefined;
8944
+ }>>;
8945
+ }, "strip", z.ZodTypeAny, {
8946
+ type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
8947
+ id: string;
8948
+ label: string;
8949
+ options?: {
8950
+ value: string;
8951
+ label: string;
8952
+ }[] | undefined;
8953
+ validation?: {
8954
+ message?: string | undefined;
8955
+ min?: number | undefined;
8956
+ max?: number | undefined;
8957
+ minLength?: number | undefined;
8958
+ maxLength?: number | undefined;
8959
+ pattern?: string | undefined;
8960
+ unit?: string | undefined;
8961
+ } | undefined;
8962
+ description?: string | undefined;
8963
+ min?: number | undefined;
8964
+ max?: number | undefined;
8965
+ required?: boolean | undefined;
8966
+ pattern?: string | undefined;
8967
+ computed?: {
8968
+ formula?: string | undefined;
8969
+ } | undefined;
8970
+ helperText?: string | undefined;
8971
+ placeholder?: string | undefined;
8972
+ examples?: string[] | undefined;
8973
+ suggestions?: string[] | undefined;
8974
+ defaultValue?: any;
8975
+ dataSource?: "companies" | "users" | undefined;
8976
+ step?: number | undefined;
8977
+ minItems?: number | undefined;
8978
+ maxItems?: number | undefined;
8979
+ formula?: string | undefined;
8980
+ visibleWhen?: {
8981
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8982
+ value?: string | number | boolean | undefined;
8983
+ field?: string | undefined;
8984
+ fieldId?: string | undefined;
8985
+ } | undefined;
8986
+ condition?: {
8987
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8988
+ value?: string | number | boolean | undefined;
8989
+ field?: string | undefined;
8990
+ fieldId?: string | undefined;
8991
+ } | undefined;
8992
+ }, {
8993
+ type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
8994
+ id: string;
8995
+ label: string;
8996
+ options?: {
8997
+ value: string;
8998
+ label: string;
8999
+ }[] | undefined;
9000
+ validation?: {
9001
+ message?: string | undefined;
9002
+ min?: number | undefined;
9003
+ max?: number | undefined;
9004
+ minLength?: number | undefined;
9005
+ maxLength?: number | undefined;
9006
+ pattern?: string | undefined;
9007
+ unit?: string | undefined;
9008
+ } | undefined;
9009
+ description?: string | undefined;
9010
+ min?: number | undefined;
9011
+ max?: number | undefined;
9012
+ required?: boolean | undefined;
9013
+ pattern?: string | undefined;
9014
+ computed?: {
9015
+ formula?: string | undefined;
9016
+ } | undefined;
9017
+ helperText?: string | undefined;
9018
+ placeholder?: string | undefined;
9019
+ examples?: string[] | undefined;
9020
+ suggestions?: string[] | undefined;
9021
+ defaultValue?: any;
9022
+ dataSource?: "companies" | "users" | undefined;
9023
+ step?: number | undefined;
9024
+ minItems?: number | undefined;
9025
+ maxItems?: number | undefined;
9026
+ formula?: string | undefined;
9027
+ visibleWhen?: {
9028
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
9029
+ value?: string | number | boolean | undefined;
9030
+ field?: string | undefined;
9031
+ fieldId?: string | undefined;
9032
+ } | undefined;
9033
+ condition?: {
9034
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
9035
+ value?: string | number | boolean | undefined;
9036
+ field?: string | undefined;
9037
+ fieldId?: string | undefined;
9038
+ } | undefined;
9039
+ }>;
8850
9040
  declare const FormControlSchema: z.ZodType<FormControl>;
8851
9041
  declare const FormSectionSchema: z.ZodObject<{
8852
9042
  id: z.ZodString;
@@ -13099,4 +13289,4 @@ declare const TaskUnreadSummarySchema: z.ZodObject<{
13099
13289
  }>;
13100
13290
  type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
13101
13291
 
13102
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
13292
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BaseFormControlSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.d.ts CHANGED
@@ -8827,6 +8827,8 @@ type FormControl = {
8827
8827
  description?: string;
8828
8828
  helperText?: string;
8829
8829
  placeholder?: string;
8830
+ examples?: string[];
8831
+ suggestions?: string[];
8830
8832
  required?: boolean;
8831
8833
  defaultValue?: any;
8832
8834
  options?: FormOption[];
@@ -8847,6 +8849,194 @@ type FormControl = {
8847
8849
  itemControls?: FormControl[];
8848
8850
  controls?: FormControl[];
8849
8851
  };
8852
+ declare const BaseFormControlSchema: z.ZodObject<{
8853
+ id: z.ZodString;
8854
+ type: z.ZodEnum<["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"]>;
8855
+ label: z.ZodString;
8856
+ description: z.ZodOptional<z.ZodString>;
8857
+ helperText: z.ZodOptional<z.ZodString>;
8858
+ placeholder: z.ZodOptional<z.ZodString>;
8859
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8860
+ suggestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8861
+ required: z.ZodOptional<z.ZodBoolean>;
8862
+ defaultValue: z.ZodOptional<z.ZodAny>;
8863
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8864
+ label: z.ZodString;
8865
+ value: z.ZodString;
8866
+ }, "strip", z.ZodTypeAny, {
8867
+ value: string;
8868
+ label: string;
8869
+ }, {
8870
+ value: string;
8871
+ label: string;
8872
+ }>, "many">>;
8873
+ dataSource: z.ZodOptional<z.ZodEnum<["companies", "users"]>>;
8874
+ validation: z.ZodOptional<z.ZodObject<{
8875
+ min: z.ZodOptional<z.ZodNumber>;
8876
+ max: z.ZodOptional<z.ZodNumber>;
8877
+ minLength: z.ZodOptional<z.ZodNumber>;
8878
+ maxLength: z.ZodOptional<z.ZodNumber>;
8879
+ pattern: z.ZodOptional<z.ZodString>;
8880
+ message: z.ZodOptional<z.ZodString>;
8881
+ unit: z.ZodOptional<z.ZodString>;
8882
+ }, "strip", z.ZodTypeAny, {
8883
+ message?: string | undefined;
8884
+ min?: number | undefined;
8885
+ max?: number | undefined;
8886
+ minLength?: number | undefined;
8887
+ maxLength?: number | undefined;
8888
+ pattern?: string | undefined;
8889
+ unit?: string | undefined;
8890
+ }, {
8891
+ message?: string | undefined;
8892
+ min?: number | undefined;
8893
+ max?: number | undefined;
8894
+ minLength?: number | undefined;
8895
+ maxLength?: number | undefined;
8896
+ pattern?: string | undefined;
8897
+ unit?: string | undefined;
8898
+ }>>;
8899
+ pattern: z.ZodOptional<z.ZodString>;
8900
+ min: z.ZodOptional<z.ZodNumber>;
8901
+ max: z.ZodOptional<z.ZodNumber>;
8902
+ step: z.ZodOptional<z.ZodNumber>;
8903
+ minItems: z.ZodOptional<z.ZodNumber>;
8904
+ maxItems: z.ZodOptional<z.ZodNumber>;
8905
+ formula: z.ZodOptional<z.ZodString>;
8906
+ computed: z.ZodOptional<z.ZodObject<{
8907
+ formula: z.ZodOptional<z.ZodString>;
8908
+ }, "strip", z.ZodTypeAny, {
8909
+ formula?: string | undefined;
8910
+ }, {
8911
+ formula?: string | undefined;
8912
+ }>>;
8913
+ visibleWhen: z.ZodOptional<z.ZodObject<{
8914
+ field: z.ZodOptional<z.ZodString>;
8915
+ fieldId: z.ZodOptional<z.ZodString>;
8916
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
8917
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8918
+ }, "strip", z.ZodTypeAny, {
8919
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8920
+ value?: string | number | boolean | undefined;
8921
+ field?: string | undefined;
8922
+ fieldId?: string | undefined;
8923
+ }, {
8924
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8925
+ value?: string | number | boolean | undefined;
8926
+ field?: string | undefined;
8927
+ fieldId?: string | undefined;
8928
+ }>>;
8929
+ condition: z.ZodOptional<z.ZodObject<{
8930
+ field: z.ZodOptional<z.ZodString>;
8931
+ fieldId: z.ZodOptional<z.ZodString>;
8932
+ operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
8933
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8934
+ }, "strip", z.ZodTypeAny, {
8935
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8936
+ value?: string | number | boolean | undefined;
8937
+ field?: string | undefined;
8938
+ fieldId?: string | undefined;
8939
+ }, {
8940
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8941
+ value?: string | number | boolean | undefined;
8942
+ field?: string | undefined;
8943
+ fieldId?: string | undefined;
8944
+ }>>;
8945
+ }, "strip", z.ZodTypeAny, {
8946
+ type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
8947
+ id: string;
8948
+ label: string;
8949
+ options?: {
8950
+ value: string;
8951
+ label: string;
8952
+ }[] | undefined;
8953
+ validation?: {
8954
+ message?: string | undefined;
8955
+ min?: number | undefined;
8956
+ max?: number | undefined;
8957
+ minLength?: number | undefined;
8958
+ maxLength?: number | undefined;
8959
+ pattern?: string | undefined;
8960
+ unit?: string | undefined;
8961
+ } | undefined;
8962
+ description?: string | undefined;
8963
+ min?: number | undefined;
8964
+ max?: number | undefined;
8965
+ required?: boolean | undefined;
8966
+ pattern?: string | undefined;
8967
+ computed?: {
8968
+ formula?: string | undefined;
8969
+ } | undefined;
8970
+ helperText?: string | undefined;
8971
+ placeholder?: string | undefined;
8972
+ examples?: string[] | undefined;
8973
+ suggestions?: string[] | undefined;
8974
+ defaultValue?: any;
8975
+ dataSource?: "companies" | "users" | undefined;
8976
+ step?: number | undefined;
8977
+ minItems?: number | undefined;
8978
+ maxItems?: number | undefined;
8979
+ formula?: string | undefined;
8980
+ visibleWhen?: {
8981
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8982
+ value?: string | number | boolean | undefined;
8983
+ field?: string | undefined;
8984
+ fieldId?: string | undefined;
8985
+ } | undefined;
8986
+ condition?: {
8987
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
8988
+ value?: string | number | boolean | undefined;
8989
+ field?: string | undefined;
8990
+ fieldId?: string | undefined;
8991
+ } | undefined;
8992
+ }, {
8993
+ type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
8994
+ id: string;
8995
+ label: string;
8996
+ options?: {
8997
+ value: string;
8998
+ label: string;
8999
+ }[] | undefined;
9000
+ validation?: {
9001
+ message?: string | undefined;
9002
+ min?: number | undefined;
9003
+ max?: number | undefined;
9004
+ minLength?: number | undefined;
9005
+ maxLength?: number | undefined;
9006
+ pattern?: string | undefined;
9007
+ unit?: string | undefined;
9008
+ } | undefined;
9009
+ description?: string | undefined;
9010
+ min?: number | undefined;
9011
+ max?: number | undefined;
9012
+ required?: boolean | undefined;
9013
+ pattern?: string | undefined;
9014
+ computed?: {
9015
+ formula?: string | undefined;
9016
+ } | undefined;
9017
+ helperText?: string | undefined;
9018
+ placeholder?: string | undefined;
9019
+ examples?: string[] | undefined;
9020
+ suggestions?: string[] | undefined;
9021
+ defaultValue?: any;
9022
+ dataSource?: "companies" | "users" | undefined;
9023
+ step?: number | undefined;
9024
+ minItems?: number | undefined;
9025
+ maxItems?: number | undefined;
9026
+ formula?: string | undefined;
9027
+ visibleWhen?: {
9028
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
9029
+ value?: string | number | boolean | undefined;
9030
+ field?: string | undefined;
9031
+ fieldId?: string | undefined;
9032
+ } | undefined;
9033
+ condition?: {
9034
+ operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
9035
+ value?: string | number | boolean | undefined;
9036
+ field?: string | undefined;
9037
+ fieldId?: string | undefined;
9038
+ } | undefined;
9039
+ }>;
8850
9040
  declare const FormControlSchema: z.ZodType<FormControl>;
8851
9041
  declare const FormSectionSchema: z.ZodObject<{
8852
9042
  id: z.ZodString;
@@ -13099,4 +13289,4 @@ declare const TaskUnreadSummarySchema: z.ZodObject<{
13099
13289
  }>;
13100
13290
  type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
13101
13291
 
13102
- export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
13292
+ export { type ActivityAction, ActivityActionSchema, type ActivityActionType, ActivityActionTypeSchema, type ActivityActor, ActivityActorSchema, type ActivityEvent, ActivityEventSchema, type ActivityLog, ActivityLogSchema, type ActivityStreamFilter, ActivityStreamFilterSchema, type ActivitySubscriptionOptions, type ActorType, ActorTypeSchema, type Aesthetic, AestheticSchema, type AgentActorMetadata, AgentActorMetadataSchema, type AgentConfig, AgentConfigSchema, type AgentDocumentAttachment, AgentDocumentAttachmentSchema, type AgentEnvironment, AgentEnvironmentSchema, type AgentInteractionRequest, AgentInteractionRequestSchema, type AgentInteractionResult, AgentInteractionResultSchema, type AgentInteractionStatus, AgentInteractionStatusSchema, type AgentNetworkAllowlistRule, AgentNetworkAllowlistRuleSchema, type AgentNetworkTransformRule, AgentNetworkTransformRuleSchema, type AgentTool, AgentToolSchema, type AgentToolType, AgentToolTypeSchema, type AnimatedGifComposite, AnimatedGifCompositeSchema, type ArcDistort, ArcDistortSchema, type AspectRatio, AspectRatioSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BaseFormControlSchema, type CRDTSnapshot, CRDTSnapshotSchema, type ChannelPreferences, ChannelPreferencesSchema, type CodeGenerationPayload, CodeGenerationSchema, type ComponentDependency, ComponentDependencySchema, type ComponentDocs, ComponentDocsSchema, type ComponentPackage, ComponentPackageSchema, type ComponentPropDefinition, ComponentPropDefinitionSchema, type ComponentPropDoc, ComponentPropDocSchema, type ComponentSynthesisPayload, ComponentSynthesisSchema, type ComponentTransformationResult, ComponentTransformationResultSchema, type ComponentVariant, ComponentVariantSchema, type ComponentVersion, ComponentVersionSchema, type Condition, type ConditionOperator, ConditionOperatorSchema, ConditionSchema, type ControlValidation, ControlValidationSchema, type CursorPosition, CursorPositionSchema, type CursorUpdateEvent, type DecisionGate, type DecisionGateKind, DecisionGateKindSchema, DecisionGateSchema, type DimensionScore, DimensionScoreSchema, type DisplacementMap, DisplacementMapSchema, type DocumentGenerationOptions, DocumentGenerationOptionsSchema, type DropShadow, DropShadowSchema, type EmailAttachment, EmailAttachmentSchema, type EmailMessage, EmailMessageSchema, type ExternalPackageDependency, ExternalPackageDependencySchema, FORM_SCHEMA_JSON_SCHEMA, type Fidelity, FidelitySchema, type FieldPresence, FieldPresenceSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormReviewMeta, FormReviewMetaSchema, type FormSection, FormSectionSchema, type FormStage, FormStageSchema, type FormSubmissionPayload, FormSubmissionPayloadSchema, type FormValidator, FormValidatorSchema, type FuelCostMap, FuelCostMapSchema, type FuelPlan, FuelPlanSchema, type FuelTransaction, FuelTransactionSchema, type FuelTransactionType, FuelTransactionTypeSchema, type GenerateHarnessOptions, GenerateHarnessOptionsSchema, type ImageCompositingPayload, ImageCompositingSchema, type ImageGenerationPayload, ImageGenerationSchema, type ImageOverlayOptions, ImageOverlayOptionsSchema, type ImagePipeline, ImagePipelineSchema, type ImageTextOverlay, ImageTextOverlaySchema, type ImageTransformationPayload, ImageTransformationSchema, type ImageWatermark, ImageWatermarkSchema, type IngestionInput, IngestionInputSchema, type InternalComponentDependency, InternalComponentDependencySchema, type Invite, InviteSchema, type InviteStatus, InviteStatusSchema, type InviteTargetType, InviteTargetTypeSchema, type JsonGenerationPayload, JsonGenerationSchema, type KenBurnsOptions, KenBurnsOptionsSchema, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type Notification, type NotificationActor, NotificationActorSchema, type NotificationCategory, NotificationCategorySchema, type NotificationChannel, NotificationChannelSchema, type NotificationDeliveryRecord, NotificationDeliveryRecordSchema, type NotificationDeliveryState, NotificationDeliveryStateSchema, type NotificationPreferences, NotificationPreferencesSchema, type NotificationPriority, NotificationPrioritySchema, NotificationSchema, type NotificationStatus, NotificationStatusSchema, type OTJsonOp, OTJsonOpSchema, type OTJsonOpType, OTJsonOpTypeSchema, type OTOperation, OTOperationSchema, type OTRevision, OTRevisionSchema, type OTTextOp, OTTextOpSchema, type OTTextOpType, OTTextOpTypeSchema, type OrgMember, OrgMemberSchema, type Organization, OrganizationSchema, type PerceptualHashAlgorithm, PerceptualHashAlgorithmSchema, type PerceptualHashOptions, PerceptualHashOptionsSchema, type PerspectiveQuad, PerspectiveQuadSchema, type PerspectiveWarp, PerspectiveWarpSchema, type PlatformLanguage, PlatformLanguageSchema, type Point2D, Point2DSchema, type PresenceColor, PresenceColorSchema, type PresenceHeartbeat, type PresenceJoinEvent, type PresenceLeaveEvent, type PresenceState, PresenceStateSchema, type PresenceStatus, PresenceStatusSchema, type PresenceUser, PresenceUserSchema, type PreviewHarness, PreviewHarnessSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type ScoreBand, ScoreBandSchema, type ScoringConfig, ScoringConfigSchema, type ScoringDimension, ScoringDimensionSchema, type ScoringRule, ScoringRuleSchema, type SemanticReviewIssue, SemanticReviewIssueSchema, type SemanticReviewResult, SemanticReviewResultSchema, type SemanticReviewStatus, SemanticReviewStatusSchema, type ServiceClient, ServiceClientSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type SubmissionScore, SubmissionScoreSchema, type SubtitleBurnOptions, SubtitleBurnOptionsSchema, type SubtitleFormat, SubtitleFormatSchema, type TaskUnreadSummary, TaskUnreadSummarySchema, type Team, type TeamMember, type TeamMemberDoc, TeamMemberDocSchema, TeamMemberSchema, type TeamRole, TeamRoleSchema, TeamSchema, TechnicalFormSchema, type TechnicalSchema, type TextAlignment, TextAlignmentSchema, type TextOverlay, type TextOverlayPosition, TextOverlayPositionSchema, TextOverlaySchema, type TextOverlayStyle, TextOverlayStyleSchema, type Theme, type ThemeColors, ThemeColorsSchema, type ThemeIngestionInput, ThemeIngestionInputSchema, ThemeSchema, type ThemeSupport, ThemeSupportSchema, type ThemeTokens, ThemeTokensSchema, type ThemeTypographyTokens, ThemeTypographyTokensSchema, type TypingIndicator, TypingIndicatorSchema, type UIComponentType, UIComponentTypeSchema, type UIExtractionResult, UIExtractionResultSchema, type UIGenerationOptionsPayload, UIGenerationOptionsSchema, type UIGenerationResult, UIGenerationResultSchema, type UIValidationResult, UIValidationResultSchema, type UserPreferences, UserPreferencesSchema, type UserProfile, UserProfileSchema, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema };
package/dist/index.js CHANGED
@@ -709,33 +709,35 @@ var FormControlTypeSchema = z.enum([
709
709
  "computed",
710
710
  "repeater"
711
711
  ]);
712
- var FormControlSchema = z.lazy(
713
- () => z.object({
714
- id: z.string(),
715
- type: FormControlTypeSchema,
716
- label: z.string(),
717
- description: z.string().optional(),
718
- helperText: z.string().optional(),
719
- placeholder: z.string().optional(),
720
- required: z.boolean().optional(),
721
- defaultValue: z.any().optional(),
722
- options: z.array(FormOptionSchema).optional(),
723
- dataSource: ReferenceDataSourceSchema.optional(),
724
- validation: ControlValidationSchema.optional(),
725
- pattern: z.string().optional(),
726
- min: z.number().optional(),
727
- max: z.number().optional(),
728
- step: z.number().optional(),
729
- minItems: z.number().optional(),
730
- maxItems: z.number().optional(),
731
- formula: z.string().optional(),
732
- computed: z.object({ formula: z.string().optional() }).optional(),
733
- visibleWhen: ConditionSchema.optional(),
734
- condition: ConditionSchema.optional(),
735
- itemControls: z.array(FormControlSchema).optional(),
736
- controls: z.array(FormControlSchema).optional()
737
- })
738
- );
712
+ var BaseFormControlSchema = z.object({
713
+ id: z.string(),
714
+ type: FormControlTypeSchema,
715
+ label: z.string(),
716
+ description: z.string().optional(),
717
+ helperText: z.string().optional(),
718
+ placeholder: z.string().optional(),
719
+ examples: z.array(z.string()).optional(),
720
+ suggestions: z.array(z.string()).optional(),
721
+ required: z.boolean().optional(),
722
+ defaultValue: z.any().optional(),
723
+ options: z.array(FormOptionSchema).optional(),
724
+ dataSource: ReferenceDataSourceSchema.optional(),
725
+ validation: ControlValidationSchema.optional(),
726
+ pattern: z.string().optional(),
727
+ min: z.number().optional(),
728
+ max: z.number().optional(),
729
+ step: z.number().optional(),
730
+ minItems: z.number().optional(),
731
+ maxItems: z.number().optional(),
732
+ formula: z.string().optional(),
733
+ computed: z.object({ formula: z.string().optional() }).optional(),
734
+ visibleWhen: ConditionSchema.optional(),
735
+ condition: ConditionSchema.optional()
736
+ });
737
+ var FormControlSchema = BaseFormControlSchema.extend({
738
+ itemControls: z.array(BaseFormControlSchema).optional(),
739
+ controls: z.array(BaseFormControlSchema).optional()
740
+ });
739
741
  var FormSectionSchema = z.object({
740
742
  id: z.string(),
741
743
  title: z.string(),
@@ -1743,6 +1745,7 @@ export {
1743
1745
  AudioVisualizerTypeSchema,
1744
1746
  AuthUserSchema,
1745
1747
  AutoFitCaptionSchema,
1748
+ BaseFormControlSchema,
1746
1749
  CRDTSnapshotSchema,
1747
1750
  ChannelPreferencesSchema,
1748
1751
  CodeGenerationSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/schemas",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",