@pixerate/schemas 1.17.0 → 1.17.1
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 +29 -27
- package/dist/index.d.cts +183 -1
- package/dist/index.d.ts +183 -1
- package/dist/index.js +28 -27
- package/package.json +1 -1
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,33 @@ var FormControlTypeSchema = import_zod.z.enum([
|
|
|
919
920
|
"computed",
|
|
920
921
|
"repeater"
|
|
921
922
|
]);
|
|
922
|
-
var
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
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
|
+
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
|
+
});
|
|
946
|
+
var FormControlSchema = BaseFormControlSchema.extend({
|
|
947
|
+
itemControls: import_zod.z.array(BaseFormControlSchema).optional(),
|
|
948
|
+
controls: import_zod.z.array(BaseFormControlSchema).optional()
|
|
949
|
+
});
|
|
949
950
|
var FormSectionSchema = import_zod.z.object({
|
|
950
951
|
id: import_zod.z.string(),
|
|
951
952
|
title: import_zod.z.string(),
|
|
@@ -1954,6 +1955,7 @@ var TaskUnreadSummarySchema = import_zod.z.object({
|
|
|
1954
1955
|
AudioVisualizerTypeSchema,
|
|
1955
1956
|
AuthUserSchema,
|
|
1956
1957
|
AutoFitCaptionSchema,
|
|
1958
|
+
BaseFormControlSchema,
|
|
1957
1959
|
CRDTSnapshotSchema,
|
|
1958
1960
|
ChannelPreferencesSchema,
|
|
1959
1961
|
CodeGenerationSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -8847,6 +8847,188 @@ type FormControl = {
|
|
|
8847
8847
|
itemControls?: FormControl[];
|
|
8848
8848
|
controls?: FormControl[];
|
|
8849
8849
|
};
|
|
8850
|
+
declare const BaseFormControlSchema: z.ZodObject<{
|
|
8851
|
+
id: z.ZodString;
|
|
8852
|
+
type: z.ZodEnum<["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"]>;
|
|
8853
|
+
label: z.ZodString;
|
|
8854
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8855
|
+
helperText: z.ZodOptional<z.ZodString>;
|
|
8856
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
8857
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
8858
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
8859
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8860
|
+
label: z.ZodString;
|
|
8861
|
+
value: z.ZodString;
|
|
8862
|
+
}, "strip", z.ZodTypeAny, {
|
|
8863
|
+
value: string;
|
|
8864
|
+
label: string;
|
|
8865
|
+
}, {
|
|
8866
|
+
value: string;
|
|
8867
|
+
label: string;
|
|
8868
|
+
}>, "many">>;
|
|
8869
|
+
dataSource: z.ZodOptional<z.ZodEnum<["companies", "users"]>>;
|
|
8870
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
8871
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
8872
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
8873
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
8874
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
8875
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
8876
|
+
message: z.ZodOptional<z.ZodString>;
|
|
8877
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
8878
|
+
}, "strip", z.ZodTypeAny, {
|
|
8879
|
+
message?: string | undefined;
|
|
8880
|
+
min?: number | undefined;
|
|
8881
|
+
max?: number | undefined;
|
|
8882
|
+
minLength?: number | undefined;
|
|
8883
|
+
maxLength?: number | undefined;
|
|
8884
|
+
pattern?: string | undefined;
|
|
8885
|
+
unit?: string | undefined;
|
|
8886
|
+
}, {
|
|
8887
|
+
message?: string | undefined;
|
|
8888
|
+
min?: number | undefined;
|
|
8889
|
+
max?: number | undefined;
|
|
8890
|
+
minLength?: number | undefined;
|
|
8891
|
+
maxLength?: number | undefined;
|
|
8892
|
+
pattern?: string | undefined;
|
|
8893
|
+
unit?: string | undefined;
|
|
8894
|
+
}>>;
|
|
8895
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
8896
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
8897
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
8898
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
8899
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
8900
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
8901
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8902
|
+
computed: z.ZodOptional<z.ZodObject<{
|
|
8903
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8904
|
+
}, "strip", z.ZodTypeAny, {
|
|
8905
|
+
formula?: string | undefined;
|
|
8906
|
+
}, {
|
|
8907
|
+
formula?: string | undefined;
|
|
8908
|
+
}>>;
|
|
8909
|
+
visibleWhen: z.ZodOptional<z.ZodObject<{
|
|
8910
|
+
field: z.ZodOptional<z.ZodString>;
|
|
8911
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
8912
|
+
operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
|
|
8913
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
8914
|
+
}, "strip", z.ZodTypeAny, {
|
|
8915
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8916
|
+
value?: string | number | boolean | undefined;
|
|
8917
|
+
field?: string | undefined;
|
|
8918
|
+
fieldId?: string | undefined;
|
|
8919
|
+
}, {
|
|
8920
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8921
|
+
value?: string | number | boolean | undefined;
|
|
8922
|
+
field?: string | undefined;
|
|
8923
|
+
fieldId?: string | undefined;
|
|
8924
|
+
}>>;
|
|
8925
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
8926
|
+
field: z.ZodOptional<z.ZodString>;
|
|
8927
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
8928
|
+
operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
|
|
8929
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
8930
|
+
}, "strip", z.ZodTypeAny, {
|
|
8931
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8932
|
+
value?: string | number | boolean | undefined;
|
|
8933
|
+
field?: string | undefined;
|
|
8934
|
+
fieldId?: string | undefined;
|
|
8935
|
+
}, {
|
|
8936
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8937
|
+
value?: string | number | boolean | undefined;
|
|
8938
|
+
field?: string | undefined;
|
|
8939
|
+
fieldId?: string | undefined;
|
|
8940
|
+
}>>;
|
|
8941
|
+
}, "strip", z.ZodTypeAny, {
|
|
8942
|
+
type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
|
|
8943
|
+
id: string;
|
|
8944
|
+
label: string;
|
|
8945
|
+
options?: {
|
|
8946
|
+
value: string;
|
|
8947
|
+
label: string;
|
|
8948
|
+
}[] | undefined;
|
|
8949
|
+
validation?: {
|
|
8950
|
+
message?: string | undefined;
|
|
8951
|
+
min?: number | undefined;
|
|
8952
|
+
max?: number | undefined;
|
|
8953
|
+
minLength?: number | undefined;
|
|
8954
|
+
maxLength?: number | undefined;
|
|
8955
|
+
pattern?: string | undefined;
|
|
8956
|
+
unit?: string | undefined;
|
|
8957
|
+
} | undefined;
|
|
8958
|
+
description?: string | undefined;
|
|
8959
|
+
min?: number | undefined;
|
|
8960
|
+
max?: number | undefined;
|
|
8961
|
+
required?: boolean | undefined;
|
|
8962
|
+
pattern?: string | undefined;
|
|
8963
|
+
computed?: {
|
|
8964
|
+
formula?: string | undefined;
|
|
8965
|
+
} | undefined;
|
|
8966
|
+
helperText?: string | undefined;
|
|
8967
|
+
placeholder?: string | undefined;
|
|
8968
|
+
defaultValue?: any;
|
|
8969
|
+
dataSource?: "companies" | "users" | undefined;
|
|
8970
|
+
step?: number | undefined;
|
|
8971
|
+
minItems?: number | undefined;
|
|
8972
|
+
maxItems?: number | undefined;
|
|
8973
|
+
formula?: string | undefined;
|
|
8974
|
+
visibleWhen?: {
|
|
8975
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8976
|
+
value?: string | number | boolean | undefined;
|
|
8977
|
+
field?: string | undefined;
|
|
8978
|
+
fieldId?: string | undefined;
|
|
8979
|
+
} | undefined;
|
|
8980
|
+
condition?: {
|
|
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
|
+
}, {
|
|
8987
|
+
type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
|
|
8988
|
+
id: string;
|
|
8989
|
+
label: string;
|
|
8990
|
+
options?: {
|
|
8991
|
+
value: string;
|
|
8992
|
+
label: string;
|
|
8993
|
+
}[] | undefined;
|
|
8994
|
+
validation?: {
|
|
8995
|
+
message?: string | undefined;
|
|
8996
|
+
min?: number | undefined;
|
|
8997
|
+
max?: number | undefined;
|
|
8998
|
+
minLength?: number | undefined;
|
|
8999
|
+
maxLength?: number | undefined;
|
|
9000
|
+
pattern?: string | undefined;
|
|
9001
|
+
unit?: string | undefined;
|
|
9002
|
+
} | undefined;
|
|
9003
|
+
description?: string | undefined;
|
|
9004
|
+
min?: number | undefined;
|
|
9005
|
+
max?: number | undefined;
|
|
9006
|
+
required?: boolean | undefined;
|
|
9007
|
+
pattern?: string | undefined;
|
|
9008
|
+
computed?: {
|
|
9009
|
+
formula?: string | undefined;
|
|
9010
|
+
} | undefined;
|
|
9011
|
+
helperText?: string | undefined;
|
|
9012
|
+
placeholder?: string | undefined;
|
|
9013
|
+
defaultValue?: any;
|
|
9014
|
+
dataSource?: "companies" | "users" | undefined;
|
|
9015
|
+
step?: number | undefined;
|
|
9016
|
+
minItems?: number | undefined;
|
|
9017
|
+
maxItems?: number | undefined;
|
|
9018
|
+
formula?: string | undefined;
|
|
9019
|
+
visibleWhen?: {
|
|
9020
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
9021
|
+
value?: string | number | boolean | undefined;
|
|
9022
|
+
field?: string | undefined;
|
|
9023
|
+
fieldId?: string | undefined;
|
|
9024
|
+
} | undefined;
|
|
9025
|
+
condition?: {
|
|
9026
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
9027
|
+
value?: string | number | boolean | undefined;
|
|
9028
|
+
field?: string | undefined;
|
|
9029
|
+
fieldId?: string | undefined;
|
|
9030
|
+
} | undefined;
|
|
9031
|
+
}>;
|
|
8850
9032
|
declare const FormControlSchema: z.ZodType<FormControl>;
|
|
8851
9033
|
declare const FormSectionSchema: z.ZodObject<{
|
|
8852
9034
|
id: z.ZodString;
|
|
@@ -13099,4 +13281,4 @@ declare const TaskUnreadSummarySchema: z.ZodObject<{
|
|
|
13099
13281
|
}>;
|
|
13100
13282
|
type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
|
|
13101
13283
|
|
|
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 };
|
|
13284
|
+
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
|
@@ -8847,6 +8847,188 @@ type FormControl = {
|
|
|
8847
8847
|
itemControls?: FormControl[];
|
|
8848
8848
|
controls?: FormControl[];
|
|
8849
8849
|
};
|
|
8850
|
+
declare const BaseFormControlSchema: z.ZodObject<{
|
|
8851
|
+
id: z.ZodString;
|
|
8852
|
+
type: z.ZodEnum<["text", "textarea", "number", "select", "multiselect", "radio", "checkbox", "date", "file", "company", "user", "slider", "computed", "repeater"]>;
|
|
8853
|
+
label: z.ZodString;
|
|
8854
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8855
|
+
helperText: z.ZodOptional<z.ZodString>;
|
|
8856
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
8857
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
8858
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
8859
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8860
|
+
label: z.ZodString;
|
|
8861
|
+
value: z.ZodString;
|
|
8862
|
+
}, "strip", z.ZodTypeAny, {
|
|
8863
|
+
value: string;
|
|
8864
|
+
label: string;
|
|
8865
|
+
}, {
|
|
8866
|
+
value: string;
|
|
8867
|
+
label: string;
|
|
8868
|
+
}>, "many">>;
|
|
8869
|
+
dataSource: z.ZodOptional<z.ZodEnum<["companies", "users"]>>;
|
|
8870
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
8871
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
8872
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
8873
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
8874
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
8875
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
8876
|
+
message: z.ZodOptional<z.ZodString>;
|
|
8877
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
8878
|
+
}, "strip", z.ZodTypeAny, {
|
|
8879
|
+
message?: string | undefined;
|
|
8880
|
+
min?: number | undefined;
|
|
8881
|
+
max?: number | undefined;
|
|
8882
|
+
minLength?: number | undefined;
|
|
8883
|
+
maxLength?: number | undefined;
|
|
8884
|
+
pattern?: string | undefined;
|
|
8885
|
+
unit?: string | undefined;
|
|
8886
|
+
}, {
|
|
8887
|
+
message?: string | undefined;
|
|
8888
|
+
min?: number | undefined;
|
|
8889
|
+
max?: number | undefined;
|
|
8890
|
+
minLength?: number | undefined;
|
|
8891
|
+
maxLength?: number | undefined;
|
|
8892
|
+
pattern?: string | undefined;
|
|
8893
|
+
unit?: string | undefined;
|
|
8894
|
+
}>>;
|
|
8895
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
8896
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
8897
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
8898
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
8899
|
+
minItems: z.ZodOptional<z.ZodNumber>;
|
|
8900
|
+
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
8901
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8902
|
+
computed: z.ZodOptional<z.ZodObject<{
|
|
8903
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8904
|
+
}, "strip", z.ZodTypeAny, {
|
|
8905
|
+
formula?: string | undefined;
|
|
8906
|
+
}, {
|
|
8907
|
+
formula?: string | undefined;
|
|
8908
|
+
}>>;
|
|
8909
|
+
visibleWhen: z.ZodOptional<z.ZodObject<{
|
|
8910
|
+
field: z.ZodOptional<z.ZodString>;
|
|
8911
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
8912
|
+
operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
|
|
8913
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
8914
|
+
}, "strip", z.ZodTypeAny, {
|
|
8915
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8916
|
+
value?: string | number | boolean | undefined;
|
|
8917
|
+
field?: string | undefined;
|
|
8918
|
+
fieldId?: string | undefined;
|
|
8919
|
+
}, {
|
|
8920
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8921
|
+
value?: string | number | boolean | undefined;
|
|
8922
|
+
field?: string | undefined;
|
|
8923
|
+
fieldId?: string | undefined;
|
|
8924
|
+
}>>;
|
|
8925
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
8926
|
+
field: z.ZodOptional<z.ZodString>;
|
|
8927
|
+
fieldId: z.ZodOptional<z.ZodString>;
|
|
8928
|
+
operator: z.ZodEnum<["equals", "notEquals", "not_equals", "includes", "contains", "greaterThan", "greater_than", "lessThan", "less_than", "exists"]>;
|
|
8929
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
8930
|
+
}, "strip", z.ZodTypeAny, {
|
|
8931
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8932
|
+
value?: string | number | boolean | undefined;
|
|
8933
|
+
field?: string | undefined;
|
|
8934
|
+
fieldId?: string | undefined;
|
|
8935
|
+
}, {
|
|
8936
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8937
|
+
value?: string | number | boolean | undefined;
|
|
8938
|
+
field?: string | undefined;
|
|
8939
|
+
fieldId?: string | undefined;
|
|
8940
|
+
}>>;
|
|
8941
|
+
}, "strip", z.ZodTypeAny, {
|
|
8942
|
+
type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
|
|
8943
|
+
id: string;
|
|
8944
|
+
label: string;
|
|
8945
|
+
options?: {
|
|
8946
|
+
value: string;
|
|
8947
|
+
label: string;
|
|
8948
|
+
}[] | undefined;
|
|
8949
|
+
validation?: {
|
|
8950
|
+
message?: string | undefined;
|
|
8951
|
+
min?: number | undefined;
|
|
8952
|
+
max?: number | undefined;
|
|
8953
|
+
minLength?: number | undefined;
|
|
8954
|
+
maxLength?: number | undefined;
|
|
8955
|
+
pattern?: string | undefined;
|
|
8956
|
+
unit?: string | undefined;
|
|
8957
|
+
} | undefined;
|
|
8958
|
+
description?: string | undefined;
|
|
8959
|
+
min?: number | undefined;
|
|
8960
|
+
max?: number | undefined;
|
|
8961
|
+
required?: boolean | undefined;
|
|
8962
|
+
pattern?: string | undefined;
|
|
8963
|
+
computed?: {
|
|
8964
|
+
formula?: string | undefined;
|
|
8965
|
+
} | undefined;
|
|
8966
|
+
helperText?: string | undefined;
|
|
8967
|
+
placeholder?: string | undefined;
|
|
8968
|
+
defaultValue?: any;
|
|
8969
|
+
dataSource?: "companies" | "users" | undefined;
|
|
8970
|
+
step?: number | undefined;
|
|
8971
|
+
minItems?: number | undefined;
|
|
8972
|
+
maxItems?: number | undefined;
|
|
8973
|
+
formula?: string | undefined;
|
|
8974
|
+
visibleWhen?: {
|
|
8975
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
8976
|
+
value?: string | number | boolean | undefined;
|
|
8977
|
+
field?: string | undefined;
|
|
8978
|
+
fieldId?: string | undefined;
|
|
8979
|
+
} | undefined;
|
|
8980
|
+
condition?: {
|
|
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
|
+
}, {
|
|
8987
|
+
type: "number" | "date" | "text" | "textarea" | "select" | "multiselect" | "radio" | "checkbox" | "file" | "company" | "user" | "slider" | "computed" | "repeater";
|
|
8988
|
+
id: string;
|
|
8989
|
+
label: string;
|
|
8990
|
+
options?: {
|
|
8991
|
+
value: string;
|
|
8992
|
+
label: string;
|
|
8993
|
+
}[] | undefined;
|
|
8994
|
+
validation?: {
|
|
8995
|
+
message?: string | undefined;
|
|
8996
|
+
min?: number | undefined;
|
|
8997
|
+
max?: number | undefined;
|
|
8998
|
+
minLength?: number | undefined;
|
|
8999
|
+
maxLength?: number | undefined;
|
|
9000
|
+
pattern?: string | undefined;
|
|
9001
|
+
unit?: string | undefined;
|
|
9002
|
+
} | undefined;
|
|
9003
|
+
description?: string | undefined;
|
|
9004
|
+
min?: number | undefined;
|
|
9005
|
+
max?: number | undefined;
|
|
9006
|
+
required?: boolean | undefined;
|
|
9007
|
+
pattern?: string | undefined;
|
|
9008
|
+
computed?: {
|
|
9009
|
+
formula?: string | undefined;
|
|
9010
|
+
} | undefined;
|
|
9011
|
+
helperText?: string | undefined;
|
|
9012
|
+
placeholder?: string | undefined;
|
|
9013
|
+
defaultValue?: any;
|
|
9014
|
+
dataSource?: "companies" | "users" | undefined;
|
|
9015
|
+
step?: number | undefined;
|
|
9016
|
+
minItems?: number | undefined;
|
|
9017
|
+
maxItems?: number | undefined;
|
|
9018
|
+
formula?: string | undefined;
|
|
9019
|
+
visibleWhen?: {
|
|
9020
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
9021
|
+
value?: string | number | boolean | undefined;
|
|
9022
|
+
field?: string | undefined;
|
|
9023
|
+
fieldId?: string | undefined;
|
|
9024
|
+
} | undefined;
|
|
9025
|
+
condition?: {
|
|
9026
|
+
operator: "includes" | "equals" | "notEquals" | "not_equals" | "contains" | "greaterThan" | "greater_than" | "lessThan" | "less_than" | "exists";
|
|
9027
|
+
value?: string | number | boolean | undefined;
|
|
9028
|
+
field?: string | undefined;
|
|
9029
|
+
fieldId?: string | undefined;
|
|
9030
|
+
} | undefined;
|
|
9031
|
+
}>;
|
|
8850
9032
|
declare const FormControlSchema: z.ZodType<FormControl>;
|
|
8851
9033
|
declare const FormSectionSchema: z.ZodObject<{
|
|
8852
9034
|
id: z.ZodString;
|
|
@@ -13099,4 +13281,4 @@ declare const TaskUnreadSummarySchema: z.ZodObject<{
|
|
|
13099
13281
|
}>;
|
|
13100
13282
|
type TaskUnreadSummary = z.infer<typeof TaskUnreadSummarySchema>;
|
|
13101
13283
|
|
|
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 };
|
|
13284
|
+
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,33 @@ var FormControlTypeSchema = z.enum([
|
|
|
709
709
|
"computed",
|
|
710
710
|
"repeater"
|
|
711
711
|
]);
|
|
712
|
-
var
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
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
|
+
required: z.boolean().optional(),
|
|
720
|
+
defaultValue: z.any().optional(),
|
|
721
|
+
options: z.array(FormOptionSchema).optional(),
|
|
722
|
+
dataSource: ReferenceDataSourceSchema.optional(),
|
|
723
|
+
validation: ControlValidationSchema.optional(),
|
|
724
|
+
pattern: z.string().optional(),
|
|
725
|
+
min: z.number().optional(),
|
|
726
|
+
max: z.number().optional(),
|
|
727
|
+
step: z.number().optional(),
|
|
728
|
+
minItems: z.number().optional(),
|
|
729
|
+
maxItems: z.number().optional(),
|
|
730
|
+
formula: z.string().optional(),
|
|
731
|
+
computed: z.object({ formula: z.string().optional() }).optional(),
|
|
732
|
+
visibleWhen: ConditionSchema.optional(),
|
|
733
|
+
condition: ConditionSchema.optional()
|
|
734
|
+
});
|
|
735
|
+
var FormControlSchema = BaseFormControlSchema.extend({
|
|
736
|
+
itemControls: z.array(BaseFormControlSchema).optional(),
|
|
737
|
+
controls: z.array(BaseFormControlSchema).optional()
|
|
738
|
+
});
|
|
739
739
|
var FormSectionSchema = z.object({
|
|
740
740
|
id: z.string(),
|
|
741
741
|
title: z.string(),
|
|
@@ -1743,6 +1743,7 @@ export {
|
|
|
1743
1743
|
AudioVisualizerTypeSchema,
|
|
1744
1744
|
AuthUserSchema,
|
|
1745
1745
|
AutoFitCaptionSchema,
|
|
1746
|
+
BaseFormControlSchema,
|
|
1746
1747
|
CRDTSnapshotSchema,
|
|
1747
1748
|
ChannelPreferencesSchema,
|
|
1748
1749
|
CodeGenerationSchema,
|