@pixerate/schemas 1.23.0 → 1.25.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 +40 -0
- package/dist/index.d.cts +123 -1
- package/dist/index.d.ts +123 -1
- package/dist/index.js +38 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -192,8 +192,10 @@ __export(index_exports, {
|
|
|
192
192
|
SocialMediaTypeSchema: () => SocialMediaTypeSchema,
|
|
193
193
|
SocialPlatformSchema: () => SocialPlatformSchema,
|
|
194
194
|
SocialPostPayloadSchema: () => SocialPostPayloadSchema,
|
|
195
|
+
SocialProviderCapabilitiesSchema: () => SocialProviderCapabilitiesSchema,
|
|
195
196
|
SocialPublishResultSchema: () => SocialPublishResultSchema,
|
|
196
197
|
SocialSessionStatusSchema: () => SocialSessionStatusSchema,
|
|
198
|
+
SocialTextLengthUnitSchema: () => SocialTextLengthUnitSchema,
|
|
197
199
|
SocialVideoGenerationSchema: () => SocialVideoGenerationSchema,
|
|
198
200
|
StatItemSchema: () => StatItemSchema,
|
|
199
201
|
StatsBlockSchema: () => StatsBlockSchema,
|
|
@@ -2297,8 +2299,36 @@ var SocialPostPayloadSchema = import_zod.z.object({
|
|
|
2297
2299
|
mediaPath: import_zod.z.string().optional(),
|
|
2298
2300
|
mediaType: SocialMediaTypeSchema.optional(),
|
|
2299
2301
|
tags: import_zod.z.array(import_zod.z.string()).optional(),
|
|
2302
|
+
/** Accessibility description for the attached media, where the platform supports it. */
|
|
2303
|
+
altText: import_zod.z.string().optional(),
|
|
2300
2304
|
metadata: import_zod.z.record(import_zod.z.unknown()).optional()
|
|
2301
2305
|
});
|
|
2306
|
+
var SocialTextLengthUnitSchema = import_zod.z.enum(["characters", "graphemes", "weighted"]);
|
|
2307
|
+
var SocialProviderCapabilitiesSchema = import_zod.z.object({
|
|
2308
|
+
platform: SocialPlatformSchema,
|
|
2309
|
+
text: import_zod.z.object({
|
|
2310
|
+
maxLength: import_zod.z.number().int().positive(),
|
|
2311
|
+
unit: SocialTextLengthUnitSchema
|
|
2312
|
+
}),
|
|
2313
|
+
media: import_zod.z.object({
|
|
2314
|
+
/** Media types this provider can publish. Empty when the provider is text-only. */
|
|
2315
|
+
types: import_zod.z.array(SocialMediaTypeSchema),
|
|
2316
|
+
/** Whether a post must include media (e.g. TikTok, Instagram). */
|
|
2317
|
+
required: import_zod.z.boolean(),
|
|
2318
|
+
maxItems: import_zod.z.number().int().nonnegative(),
|
|
2319
|
+
maxImageBytes: import_zod.z.number().int().positive().optional(),
|
|
2320
|
+
maxVideoBytes: import_zod.z.number().int().positive().optional(),
|
|
2321
|
+
altText: import_zod.z.boolean()
|
|
2322
|
+
}),
|
|
2323
|
+
tags: import_zod.z.object({
|
|
2324
|
+
supported: import_zod.z.boolean(),
|
|
2325
|
+
maxCount: import_zod.z.number().int().nonnegative().optional()
|
|
2326
|
+
}),
|
|
2327
|
+
/** Whether the provider exposes replying to an existing post. */
|
|
2328
|
+
replies: import_zod.z.boolean(),
|
|
2329
|
+
/** Whether `PublishResult.url` is populated on success. */
|
|
2330
|
+
returnsUrl: import_zod.z.boolean()
|
|
2331
|
+
});
|
|
2302
2332
|
var SocialPublishResultSchema = import_zod.z.object({
|
|
2303
2333
|
success: import_zod.z.boolean(),
|
|
2304
2334
|
platform: import_zod.z.string(),
|
|
@@ -2336,8 +2366,16 @@ var MetaConfigSchema = import_zod.z.object({
|
|
|
2336
2366
|
canonicalUrl: import_zod.z.string().optional(),
|
|
2337
2367
|
mainImage: import_zod.z.string().optional(),
|
|
2338
2368
|
mainImageAlt: import_zod.z.string().optional(),
|
|
2369
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
2370
|
+
mainImageWidth: import_zod.z.number().int().positive().optional(),
|
|
2371
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
2372
|
+
mainImageHeight: import_zod.z.number().int().positive().optional(),
|
|
2339
2373
|
squareImage: import_zod.z.string().optional(),
|
|
2340
2374
|
squareImageAlt: import_zod.z.string().optional(),
|
|
2375
|
+
/** Pixel width of `squareImage`. */
|
|
2376
|
+
squareImageWidth: import_zod.z.number().int().positive().optional(),
|
|
2377
|
+
/** Pixel height of `squareImage`. */
|
|
2378
|
+
squareImageHeight: import_zod.z.number().int().positive().optional(),
|
|
2341
2379
|
ogType: import_zod.z.enum(["website", "article", "profile", "product"]).optional(),
|
|
2342
2380
|
ogLanguage: import_zod.z.string().optional(),
|
|
2343
2381
|
twitterCard: import_zod.z.enum(["summary", "summary_large_image", "app", "player"]).optional(),
|
|
@@ -2550,8 +2588,10 @@ var LlmsFullTxtConfigSchema = import_zod.z.object({
|
|
|
2550
2588
|
SocialMediaTypeSchema,
|
|
2551
2589
|
SocialPlatformSchema,
|
|
2552
2590
|
SocialPostPayloadSchema,
|
|
2591
|
+
SocialProviderCapabilitiesSchema,
|
|
2553
2592
|
SocialPublishResultSchema,
|
|
2554
2593
|
SocialSessionStatusSchema,
|
|
2594
|
+
SocialTextLengthUnitSchema,
|
|
2555
2595
|
SocialVideoGenerationSchema,
|
|
2556
2596
|
StatItemSchema,
|
|
2557
2597
|
StatsBlockSchema,
|
package/dist/index.d.cts
CHANGED
|
@@ -15790,6 +15790,8 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
|
|
|
15790
15790
|
mediaPath: z.ZodOptional<z.ZodString>;
|
|
15791
15791
|
mediaType: z.ZodOptional<z.ZodEnum<["image", "video"]>>;
|
|
15792
15792
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15793
|
+
/** Accessibility description for the attached media, where the platform supports it. */
|
|
15794
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
15793
15795
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15794
15796
|
}, "strip", z.ZodTypeAny, {
|
|
15795
15797
|
text: string;
|
|
@@ -15797,14 +15799,118 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
|
|
|
15797
15799
|
metadata?: Record<string, unknown> | undefined;
|
|
15798
15800
|
mediaPath?: string | undefined;
|
|
15799
15801
|
mediaType?: "image" | "video" | undefined;
|
|
15802
|
+
altText?: string | undefined;
|
|
15800
15803
|
}, {
|
|
15801
15804
|
text: string;
|
|
15802
15805
|
tags?: string[] | undefined;
|
|
15803
15806
|
metadata?: Record<string, unknown> | undefined;
|
|
15804
15807
|
mediaPath?: string | undefined;
|
|
15805
15808
|
mediaType?: "image" | "video" | undefined;
|
|
15809
|
+
altText?: string | undefined;
|
|
15806
15810
|
}>;
|
|
15807
15811
|
type SocialPostPayload = z.infer<typeof SocialPostPayloadSchema>;
|
|
15812
|
+
/**
|
|
15813
|
+
* How a platform measures post length: JS-style characters, user-perceived graphemes
|
|
15814
|
+
* (Bluesky), or weighted counting where URLs and some scripts cost more (X/Twitter).
|
|
15815
|
+
*/
|
|
15816
|
+
declare const SocialTextLengthUnitSchema: z.ZodEnum<["characters", "graphemes", "weighted"]>;
|
|
15817
|
+
type SocialTextLengthUnit = z.infer<typeof SocialTextLengthUnitSchema>;
|
|
15818
|
+
/**
|
|
15819
|
+
* Describes which parts of `SocialPostPayload` a provider honours and the limits it enforces,
|
|
15820
|
+
* so orchestrators can adapt content per platform instead of discovering limits by failure.
|
|
15821
|
+
*/
|
|
15822
|
+
declare const SocialProviderCapabilitiesSchema: z.ZodObject<{
|
|
15823
|
+
platform: z.ZodEnum<["bluesky", "twitter", "linkedin", "tiktok", "instagram"]>;
|
|
15824
|
+
text: z.ZodObject<{
|
|
15825
|
+
maxLength: z.ZodNumber;
|
|
15826
|
+
unit: z.ZodEnum<["characters", "graphemes", "weighted"]>;
|
|
15827
|
+
}, "strip", z.ZodTypeAny, {
|
|
15828
|
+
maxLength: number;
|
|
15829
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15830
|
+
}, {
|
|
15831
|
+
maxLength: number;
|
|
15832
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15833
|
+
}>;
|
|
15834
|
+
media: z.ZodObject<{
|
|
15835
|
+
/** Media types this provider can publish. Empty when the provider is text-only. */
|
|
15836
|
+
types: z.ZodArray<z.ZodEnum<["image", "video"]>, "many">;
|
|
15837
|
+
/** Whether a post must include media (e.g. TikTok, Instagram). */
|
|
15838
|
+
required: z.ZodBoolean;
|
|
15839
|
+
maxItems: z.ZodNumber;
|
|
15840
|
+
maxImageBytes: z.ZodOptional<z.ZodNumber>;
|
|
15841
|
+
maxVideoBytes: z.ZodOptional<z.ZodNumber>;
|
|
15842
|
+
altText: z.ZodBoolean;
|
|
15843
|
+
}, "strip", z.ZodTypeAny, {
|
|
15844
|
+
required: boolean;
|
|
15845
|
+
maxItems: number;
|
|
15846
|
+
altText: boolean;
|
|
15847
|
+
types: ("image" | "video")[];
|
|
15848
|
+
maxImageBytes?: number | undefined;
|
|
15849
|
+
maxVideoBytes?: number | undefined;
|
|
15850
|
+
}, {
|
|
15851
|
+
required: boolean;
|
|
15852
|
+
maxItems: number;
|
|
15853
|
+
altText: boolean;
|
|
15854
|
+
types: ("image" | "video")[];
|
|
15855
|
+
maxImageBytes?: number | undefined;
|
|
15856
|
+
maxVideoBytes?: number | undefined;
|
|
15857
|
+
}>;
|
|
15858
|
+
tags: z.ZodObject<{
|
|
15859
|
+
supported: z.ZodBoolean;
|
|
15860
|
+
maxCount: z.ZodOptional<z.ZodNumber>;
|
|
15861
|
+
}, "strip", z.ZodTypeAny, {
|
|
15862
|
+
supported: boolean;
|
|
15863
|
+
maxCount?: number | undefined;
|
|
15864
|
+
}, {
|
|
15865
|
+
supported: boolean;
|
|
15866
|
+
maxCount?: number | undefined;
|
|
15867
|
+
}>;
|
|
15868
|
+
/** Whether the provider exposes replying to an existing post. */
|
|
15869
|
+
replies: z.ZodBoolean;
|
|
15870
|
+
/** Whether `PublishResult.url` is populated on success. */
|
|
15871
|
+
returnsUrl: z.ZodBoolean;
|
|
15872
|
+
}, "strip", z.ZodTypeAny, {
|
|
15873
|
+
text: {
|
|
15874
|
+
maxLength: number;
|
|
15875
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15876
|
+
};
|
|
15877
|
+
tags: {
|
|
15878
|
+
supported: boolean;
|
|
15879
|
+
maxCount?: number | undefined;
|
|
15880
|
+
};
|
|
15881
|
+
platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
|
|
15882
|
+
replies: boolean;
|
|
15883
|
+
media: {
|
|
15884
|
+
required: boolean;
|
|
15885
|
+
maxItems: number;
|
|
15886
|
+
altText: boolean;
|
|
15887
|
+
types: ("image" | "video")[];
|
|
15888
|
+
maxImageBytes?: number | undefined;
|
|
15889
|
+
maxVideoBytes?: number | undefined;
|
|
15890
|
+
};
|
|
15891
|
+
returnsUrl: boolean;
|
|
15892
|
+
}, {
|
|
15893
|
+
text: {
|
|
15894
|
+
maxLength: number;
|
|
15895
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15896
|
+
};
|
|
15897
|
+
tags: {
|
|
15898
|
+
supported: boolean;
|
|
15899
|
+
maxCount?: number | undefined;
|
|
15900
|
+
};
|
|
15901
|
+
platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
|
|
15902
|
+
replies: boolean;
|
|
15903
|
+
media: {
|
|
15904
|
+
required: boolean;
|
|
15905
|
+
maxItems: number;
|
|
15906
|
+
altText: boolean;
|
|
15907
|
+
types: ("image" | "video")[];
|
|
15908
|
+
maxImageBytes?: number | undefined;
|
|
15909
|
+
maxVideoBytes?: number | undefined;
|
|
15910
|
+
};
|
|
15911
|
+
returnsUrl: boolean;
|
|
15912
|
+
}>;
|
|
15913
|
+
type SocialProviderCapabilities = z.infer<typeof SocialProviderCapabilitiesSchema>;
|
|
15808
15914
|
declare const SocialPublishResultSchema: z.ZodObject<{
|
|
15809
15915
|
success: z.ZodBoolean;
|
|
15810
15916
|
platform: z.ZodString;
|
|
@@ -15926,8 +16032,16 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15926
16032
|
canonicalUrl: z.ZodOptional<z.ZodString>;
|
|
15927
16033
|
mainImage: z.ZodOptional<z.ZodString>;
|
|
15928
16034
|
mainImageAlt: z.ZodOptional<z.ZodString>;
|
|
16035
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
16036
|
+
mainImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16037
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
16038
|
+
mainImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
15929
16039
|
squareImage: z.ZodOptional<z.ZodString>;
|
|
15930
16040
|
squareImageAlt: z.ZodOptional<z.ZodString>;
|
|
16041
|
+
/** Pixel width of `squareImage`. */
|
|
16042
|
+
squareImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16043
|
+
/** Pixel height of `squareImage`. */
|
|
16044
|
+
squareImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
15931
16045
|
ogType: z.ZodOptional<z.ZodEnum<["website", "article", "profile", "product"]>>;
|
|
15932
16046
|
ogLanguage: z.ZodOptional<z.ZodString>;
|
|
15933
16047
|
twitterCard: z.ZodOptional<z.ZodEnum<["summary", "summary_large_image", "app", "player"]>>;
|
|
@@ -15952,8 +16066,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15952
16066
|
canonicalUrl?: string | undefined;
|
|
15953
16067
|
mainImage?: string | undefined;
|
|
15954
16068
|
mainImageAlt?: string | undefined;
|
|
16069
|
+
mainImageWidth?: number | undefined;
|
|
16070
|
+
mainImageHeight?: number | undefined;
|
|
15955
16071
|
squareImage?: string | undefined;
|
|
15956
16072
|
squareImageAlt?: string | undefined;
|
|
16073
|
+
squareImageWidth?: number | undefined;
|
|
16074
|
+
squareImageHeight?: number | undefined;
|
|
15957
16075
|
article?: boolean | undefined;
|
|
15958
16076
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
15959
16077
|
ogLanguage?: string | undefined;
|
|
@@ -15977,8 +16095,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15977
16095
|
canonicalUrl?: string | undefined;
|
|
15978
16096
|
mainImage?: string | undefined;
|
|
15979
16097
|
mainImageAlt?: string | undefined;
|
|
16098
|
+
mainImageWidth?: number | undefined;
|
|
16099
|
+
mainImageHeight?: number | undefined;
|
|
15980
16100
|
squareImage?: string | undefined;
|
|
15981
16101
|
squareImageAlt?: string | undefined;
|
|
16102
|
+
squareImageWidth?: number | undefined;
|
|
16103
|
+
squareImageHeight?: number | undefined;
|
|
15982
16104
|
article?: boolean | undefined;
|
|
15983
16105
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
15984
16106
|
ogLanguage?: string | undefined;
|
|
@@ -16191,4 +16313,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
|
|
|
16191
16313
|
}>;
|
|
16192
16314
|
type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
|
|
16193
16315
|
|
|
16194
|
-
export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, 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 FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, 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 GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, 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 OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, 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 UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
|
|
16316
|
+
export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, 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 FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, 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 GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, 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 OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialProviderCapabilities, SocialProviderCapabilitiesSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialTextLengthUnit, SocialTextLengthUnitSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, 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 UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -15790,6 +15790,8 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
|
|
|
15790
15790
|
mediaPath: z.ZodOptional<z.ZodString>;
|
|
15791
15791
|
mediaType: z.ZodOptional<z.ZodEnum<["image", "video"]>>;
|
|
15792
15792
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15793
|
+
/** Accessibility description for the attached media, where the platform supports it. */
|
|
15794
|
+
altText: z.ZodOptional<z.ZodString>;
|
|
15793
15795
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15794
15796
|
}, "strip", z.ZodTypeAny, {
|
|
15795
15797
|
text: string;
|
|
@@ -15797,14 +15799,118 @@ declare const SocialPostPayloadSchema: z.ZodObject<{
|
|
|
15797
15799
|
metadata?: Record<string, unknown> | undefined;
|
|
15798
15800
|
mediaPath?: string | undefined;
|
|
15799
15801
|
mediaType?: "image" | "video" | undefined;
|
|
15802
|
+
altText?: string | undefined;
|
|
15800
15803
|
}, {
|
|
15801
15804
|
text: string;
|
|
15802
15805
|
tags?: string[] | undefined;
|
|
15803
15806
|
metadata?: Record<string, unknown> | undefined;
|
|
15804
15807
|
mediaPath?: string | undefined;
|
|
15805
15808
|
mediaType?: "image" | "video" | undefined;
|
|
15809
|
+
altText?: string | undefined;
|
|
15806
15810
|
}>;
|
|
15807
15811
|
type SocialPostPayload = z.infer<typeof SocialPostPayloadSchema>;
|
|
15812
|
+
/**
|
|
15813
|
+
* How a platform measures post length: JS-style characters, user-perceived graphemes
|
|
15814
|
+
* (Bluesky), or weighted counting where URLs and some scripts cost more (X/Twitter).
|
|
15815
|
+
*/
|
|
15816
|
+
declare const SocialTextLengthUnitSchema: z.ZodEnum<["characters", "graphemes", "weighted"]>;
|
|
15817
|
+
type SocialTextLengthUnit = z.infer<typeof SocialTextLengthUnitSchema>;
|
|
15818
|
+
/**
|
|
15819
|
+
* Describes which parts of `SocialPostPayload` a provider honours and the limits it enforces,
|
|
15820
|
+
* so orchestrators can adapt content per platform instead of discovering limits by failure.
|
|
15821
|
+
*/
|
|
15822
|
+
declare const SocialProviderCapabilitiesSchema: z.ZodObject<{
|
|
15823
|
+
platform: z.ZodEnum<["bluesky", "twitter", "linkedin", "tiktok", "instagram"]>;
|
|
15824
|
+
text: z.ZodObject<{
|
|
15825
|
+
maxLength: z.ZodNumber;
|
|
15826
|
+
unit: z.ZodEnum<["characters", "graphemes", "weighted"]>;
|
|
15827
|
+
}, "strip", z.ZodTypeAny, {
|
|
15828
|
+
maxLength: number;
|
|
15829
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15830
|
+
}, {
|
|
15831
|
+
maxLength: number;
|
|
15832
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15833
|
+
}>;
|
|
15834
|
+
media: z.ZodObject<{
|
|
15835
|
+
/** Media types this provider can publish. Empty when the provider is text-only. */
|
|
15836
|
+
types: z.ZodArray<z.ZodEnum<["image", "video"]>, "many">;
|
|
15837
|
+
/** Whether a post must include media (e.g. TikTok, Instagram). */
|
|
15838
|
+
required: z.ZodBoolean;
|
|
15839
|
+
maxItems: z.ZodNumber;
|
|
15840
|
+
maxImageBytes: z.ZodOptional<z.ZodNumber>;
|
|
15841
|
+
maxVideoBytes: z.ZodOptional<z.ZodNumber>;
|
|
15842
|
+
altText: z.ZodBoolean;
|
|
15843
|
+
}, "strip", z.ZodTypeAny, {
|
|
15844
|
+
required: boolean;
|
|
15845
|
+
maxItems: number;
|
|
15846
|
+
altText: boolean;
|
|
15847
|
+
types: ("image" | "video")[];
|
|
15848
|
+
maxImageBytes?: number | undefined;
|
|
15849
|
+
maxVideoBytes?: number | undefined;
|
|
15850
|
+
}, {
|
|
15851
|
+
required: boolean;
|
|
15852
|
+
maxItems: number;
|
|
15853
|
+
altText: boolean;
|
|
15854
|
+
types: ("image" | "video")[];
|
|
15855
|
+
maxImageBytes?: number | undefined;
|
|
15856
|
+
maxVideoBytes?: number | undefined;
|
|
15857
|
+
}>;
|
|
15858
|
+
tags: z.ZodObject<{
|
|
15859
|
+
supported: z.ZodBoolean;
|
|
15860
|
+
maxCount: z.ZodOptional<z.ZodNumber>;
|
|
15861
|
+
}, "strip", z.ZodTypeAny, {
|
|
15862
|
+
supported: boolean;
|
|
15863
|
+
maxCount?: number | undefined;
|
|
15864
|
+
}, {
|
|
15865
|
+
supported: boolean;
|
|
15866
|
+
maxCount?: number | undefined;
|
|
15867
|
+
}>;
|
|
15868
|
+
/** Whether the provider exposes replying to an existing post. */
|
|
15869
|
+
replies: z.ZodBoolean;
|
|
15870
|
+
/** Whether `PublishResult.url` is populated on success. */
|
|
15871
|
+
returnsUrl: z.ZodBoolean;
|
|
15872
|
+
}, "strip", z.ZodTypeAny, {
|
|
15873
|
+
text: {
|
|
15874
|
+
maxLength: number;
|
|
15875
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15876
|
+
};
|
|
15877
|
+
tags: {
|
|
15878
|
+
supported: boolean;
|
|
15879
|
+
maxCount?: number | undefined;
|
|
15880
|
+
};
|
|
15881
|
+
platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
|
|
15882
|
+
replies: boolean;
|
|
15883
|
+
media: {
|
|
15884
|
+
required: boolean;
|
|
15885
|
+
maxItems: number;
|
|
15886
|
+
altText: boolean;
|
|
15887
|
+
types: ("image" | "video")[];
|
|
15888
|
+
maxImageBytes?: number | undefined;
|
|
15889
|
+
maxVideoBytes?: number | undefined;
|
|
15890
|
+
};
|
|
15891
|
+
returnsUrl: boolean;
|
|
15892
|
+
}, {
|
|
15893
|
+
text: {
|
|
15894
|
+
maxLength: number;
|
|
15895
|
+
unit: "weighted" | "characters" | "graphemes";
|
|
15896
|
+
};
|
|
15897
|
+
tags: {
|
|
15898
|
+
supported: boolean;
|
|
15899
|
+
maxCount?: number | undefined;
|
|
15900
|
+
};
|
|
15901
|
+
platform: "bluesky" | "twitter" | "linkedin" | "tiktok" | "instagram";
|
|
15902
|
+
replies: boolean;
|
|
15903
|
+
media: {
|
|
15904
|
+
required: boolean;
|
|
15905
|
+
maxItems: number;
|
|
15906
|
+
altText: boolean;
|
|
15907
|
+
types: ("image" | "video")[];
|
|
15908
|
+
maxImageBytes?: number | undefined;
|
|
15909
|
+
maxVideoBytes?: number | undefined;
|
|
15910
|
+
};
|
|
15911
|
+
returnsUrl: boolean;
|
|
15912
|
+
}>;
|
|
15913
|
+
type SocialProviderCapabilities = z.infer<typeof SocialProviderCapabilitiesSchema>;
|
|
15808
15914
|
declare const SocialPublishResultSchema: z.ZodObject<{
|
|
15809
15915
|
success: z.ZodBoolean;
|
|
15810
15916
|
platform: z.ZodString;
|
|
@@ -15926,8 +16032,16 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15926
16032
|
canonicalUrl: z.ZodOptional<z.ZodString>;
|
|
15927
16033
|
mainImage: z.ZodOptional<z.ZodString>;
|
|
15928
16034
|
mainImageAlt: z.ZodOptional<z.ZodString>;
|
|
16035
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
16036
|
+
mainImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16037
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
16038
|
+
mainImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
15929
16039
|
squareImage: z.ZodOptional<z.ZodString>;
|
|
15930
16040
|
squareImageAlt: z.ZodOptional<z.ZodString>;
|
|
16041
|
+
/** Pixel width of `squareImage`. */
|
|
16042
|
+
squareImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16043
|
+
/** Pixel height of `squareImage`. */
|
|
16044
|
+
squareImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
15931
16045
|
ogType: z.ZodOptional<z.ZodEnum<["website", "article", "profile", "product"]>>;
|
|
15932
16046
|
ogLanguage: z.ZodOptional<z.ZodString>;
|
|
15933
16047
|
twitterCard: z.ZodOptional<z.ZodEnum<["summary", "summary_large_image", "app", "player"]>>;
|
|
@@ -15952,8 +16066,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15952
16066
|
canonicalUrl?: string | undefined;
|
|
15953
16067
|
mainImage?: string | undefined;
|
|
15954
16068
|
mainImageAlt?: string | undefined;
|
|
16069
|
+
mainImageWidth?: number | undefined;
|
|
16070
|
+
mainImageHeight?: number | undefined;
|
|
15955
16071
|
squareImage?: string | undefined;
|
|
15956
16072
|
squareImageAlt?: string | undefined;
|
|
16073
|
+
squareImageWidth?: number | undefined;
|
|
16074
|
+
squareImageHeight?: number | undefined;
|
|
15957
16075
|
article?: boolean | undefined;
|
|
15958
16076
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
15959
16077
|
ogLanguage?: string | undefined;
|
|
@@ -15977,8 +16095,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
15977
16095
|
canonicalUrl?: string | undefined;
|
|
15978
16096
|
mainImage?: string | undefined;
|
|
15979
16097
|
mainImageAlt?: string | undefined;
|
|
16098
|
+
mainImageWidth?: number | undefined;
|
|
16099
|
+
mainImageHeight?: number | undefined;
|
|
15980
16100
|
squareImage?: string | undefined;
|
|
15981
16101
|
squareImageAlt?: string | undefined;
|
|
16102
|
+
squareImageWidth?: number | undefined;
|
|
16103
|
+
squareImageHeight?: number | undefined;
|
|
15982
16104
|
article?: boolean | undefined;
|
|
15983
16105
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
15984
16106
|
ogLanguage?: string | undefined;
|
|
@@ -16191,4 +16313,4 @@ declare const LlmsFullTxtConfigSchema: z.ZodObject<{
|
|
|
16191
16313
|
}>;
|
|
16192
16314
|
type LlmsFullTxtConfig = z.infer<typeof LlmsFullTxtConfigSchema>;
|
|
16193
16315
|
|
|
16194
|
-
export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, 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 FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, 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 GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, 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 OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, 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 UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
|
|
16316
|
+
export { type ActionItem, ActionItemSchema, type ActionsBlockData, ActionsBlockSchema, 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 AudioDiarization, AudioDiarizationSchema, type AudioDiarizationSegment, AudioDiarizationSegmentSchema, type AudioDiarizationWord, AudioDiarizationWordSchema, type AudioDuckingOptions, AudioDuckingOptionsSchema, type AudioDuckingPayload, AudioDuckingSchema, type AudioMixOptions, AudioMixOptionsSchema, type AudioMixPayload, AudioMixSchema, type AudioMixTrack, AudioMixTrackSchema, type AudioNormalizationOptions, AudioNormalizationOptionsSchema, type AudioNormalizationPayload, AudioNormalizationSchema, type AudioSilenceTrimOptions, AudioSilenceTrimOptionsSchema, type AudioVisualizerOptions, AudioVisualizerOptionsSchema, type AudioVisualizerPayload, AudioVisualizerSchema, type AudioVisualizerType, AudioVisualizerTypeSchema, type AuthUser, AuthUserSchema, type AutoFitCaption, AutoFitCaptionSchema, BUILT_IN_EPHEMERAL_LANGS, BaseFormControlSchema, type BuiltInEphemeralBlockData, type BuiltInEphemeralLang, type CRDTSnapshot, CRDTSnapshotSchema, type CachedPage, CachedPageSchema, type CachedPageSearchResult, CachedPageSearchResultSchema, type CachedPageSummary, CachedPageSummarySchema, type CalloutBlockData, CalloutBlockSchema, type ChannelCallback, type ChannelPreferences, ChannelPreferencesSchema, type ChartBlockData, ChartBlockSchema, type ChartDrilldown, ChartDrilldownSchema, type ChartSeries, ChartSeriesSchema, 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 FormBlockData, FormBlockSchema, type FormControl, FormControlSchema, type FormControlType, FormControlTypeSchema, type FormHandoffAction, FormHandoffActionSchema, type FormOption, FormOptionSchema, type FormQuestion, FormQuestionSchema, 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 GridCellBlurEvent, type GridCellDraftEvent, type GridCellEditStartEvent, type GridCellSelectEvent, type GridOTOp, type IRealtimeChannel, 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 LlmsDocumentContent, LlmsDocumentContentSchema, type LlmsFullTxtConfig, LlmsFullTxtConfigSchema, type LlmsLink, LlmsLinkSchema, type LlmsSection, LlmsSectionSchema, type LlmsTxtConfig, LlmsTxtConfigSchema, type LockAcquisitionResult, type LockChangeEvent, type LockClaimRequest, LockClaimRequestSchema, type LockHeartbeatRequest, LockHeartbeatRequestSchema, type LockReleaseRequest, LockReleaseRequestSchema, type LockStatus, LockStatusSchema, type MediaProbeResult, MediaProbeResultSchema, type MetaConfig, MetaConfigSchema, type NodeDiagramBlockData, NodeDiagramBlockSchema, 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 OTTransformResult, type OrgChartBlockData, OrgChartBlockSchema, type OrgChartPerson, OrgChartPersonSchema, type OrgChartReport, OrgChartReportSchema, 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 ProposalItem, ProposalItemSchema, type ProposalsBlockData, ProposalsBlockSchema, type PublishResult, PublishResultSchema, type QueueJob, QueueJobSchema, type QueueJobStatus, QueueJobStatusSchema, type QueueJobType, QueueJobTypeSchema, REALTIME_SUBSCRIBE_STATES, type RealtimeHandlerConfig, type RealtimeMessage, type RecordLock, type RecordLockInfo, RecordLockInfoSchema, RecordLockSchema, type ReferenceDataSource, ReferenceDataSourceSchema, type RemoteCellPresence, 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 SessionStatus, SessionStatusSchema, type SocialMediaType, SocialMediaTypeSchema, type SocialPlatform, SocialPlatformSchema, type SocialPostPayload, SocialPostPayloadSchema, type SocialProviderCapabilities, SocialProviderCapabilitiesSchema, type SocialPublishResult, SocialPublishResultSchema, type SocialSessionStatus, SocialSessionStatusSchema, type SocialTextLengthUnit, SocialTextLengthUnitSchema, type SocialVideoGenerationPayload, SocialVideoGenerationSchema, type StatItem, StatItemSchema, type StatsBlockData, StatsBlockSchema, 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 Topic, type TreeBlockData, TreeBlockSchema, type TreeEdge, TreeEdgeSchema, type TreeNode, TreeNodeSchema, type TypingChangeEvent, 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 UtmParams, UtmParamsSchema, type VectorClock, type VectorTraceOptions, VectorTraceOptionsSchema, type VideoAnalysisCategory, VideoAnalysisCategorySchema, type VideoAnalysisPayload, VideoAnalysisSchema, type VideoAspectRatio, VideoAspectRatioSchema, type VideoAttachment, VideoAttachmentSchema, type VideoCompositingLayerType, VideoCompositingLayerTypeSchema, type VideoCompositingPayload, VideoCompositingSchema, type VideoCompressionPayload, VideoCompressionSchema, type VideoFrameImage, VideoFrameImageSchema, type VideoGenerationPayload, VideoGenerationSchema, type VideoGraphicOverlay, VideoGraphicOverlaySchema, type VideoImageCompositePayload, VideoImageCompositeSchema, type VideoImageOverlay, VideoImageOverlaySchema, type VideoModificationPayload, VideoModificationSchema, type VideoOverlayOptions, VideoOverlayOptionsSchema, type VideoOverlayStyle, VideoOverlayStyleSchema, type VideoPipeline, VideoPipelineSchema, type VideoResolution, VideoResolutionSchema, type VideoScaleAndPad, VideoScaleAndPadSchema, type VideoTextCompositePayload, VideoTextCompositeSchema, type VideoTextOverlay, VideoTextOverlaySchema, type VideoTranscodePayload, VideoTranscodeSchema, type VideoUpscalePayload, VideoUpscaleSchema, type VideoWatermark, VideoWatermarkSchema, type ViewingChangeEvent, type ViewingIndicator, ViewingIndicatorSchema, type ViewportTransform, ViewportTransformSchema, type WaitlistEntry, WaitlistEntrySchema, type WaitlistStatus, WaitlistStatusSchema, type Watermark, type WatermarkPosition, WatermarkPositionSchema, WatermarkSchema, type WebsiteCacheSummary, WebsiteCacheSummarySchema, type WebsiteCrawlScope, WebsiteCrawlScopeSchema };
|
package/dist/index.js
CHANGED
|
@@ -2034,8 +2034,36 @@ var SocialPostPayloadSchema = z.object({
|
|
|
2034
2034
|
mediaPath: z.string().optional(),
|
|
2035
2035
|
mediaType: SocialMediaTypeSchema.optional(),
|
|
2036
2036
|
tags: z.array(z.string()).optional(),
|
|
2037
|
+
/** Accessibility description for the attached media, where the platform supports it. */
|
|
2038
|
+
altText: z.string().optional(),
|
|
2037
2039
|
metadata: z.record(z.unknown()).optional()
|
|
2038
2040
|
});
|
|
2041
|
+
var SocialTextLengthUnitSchema = z.enum(["characters", "graphemes", "weighted"]);
|
|
2042
|
+
var SocialProviderCapabilitiesSchema = z.object({
|
|
2043
|
+
platform: SocialPlatformSchema,
|
|
2044
|
+
text: z.object({
|
|
2045
|
+
maxLength: z.number().int().positive(),
|
|
2046
|
+
unit: SocialTextLengthUnitSchema
|
|
2047
|
+
}),
|
|
2048
|
+
media: z.object({
|
|
2049
|
+
/** Media types this provider can publish. Empty when the provider is text-only. */
|
|
2050
|
+
types: z.array(SocialMediaTypeSchema),
|
|
2051
|
+
/** Whether a post must include media (e.g. TikTok, Instagram). */
|
|
2052
|
+
required: z.boolean(),
|
|
2053
|
+
maxItems: z.number().int().nonnegative(),
|
|
2054
|
+
maxImageBytes: z.number().int().positive().optional(),
|
|
2055
|
+
maxVideoBytes: z.number().int().positive().optional(),
|
|
2056
|
+
altText: z.boolean()
|
|
2057
|
+
}),
|
|
2058
|
+
tags: z.object({
|
|
2059
|
+
supported: z.boolean(),
|
|
2060
|
+
maxCount: z.number().int().nonnegative().optional()
|
|
2061
|
+
}),
|
|
2062
|
+
/** Whether the provider exposes replying to an existing post. */
|
|
2063
|
+
replies: z.boolean(),
|
|
2064
|
+
/** Whether `PublishResult.url` is populated on success. */
|
|
2065
|
+
returnsUrl: z.boolean()
|
|
2066
|
+
});
|
|
2039
2067
|
var SocialPublishResultSchema = z.object({
|
|
2040
2068
|
success: z.boolean(),
|
|
2041
2069
|
platform: z.string(),
|
|
@@ -2073,8 +2101,16 @@ var MetaConfigSchema = z.object({
|
|
|
2073
2101
|
canonicalUrl: z.string().optional(),
|
|
2074
2102
|
mainImage: z.string().optional(),
|
|
2075
2103
|
mainImageAlt: z.string().optional(),
|
|
2104
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
2105
|
+
mainImageWidth: z.number().int().positive().optional(),
|
|
2106
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
2107
|
+
mainImageHeight: z.number().int().positive().optional(),
|
|
2076
2108
|
squareImage: z.string().optional(),
|
|
2077
2109
|
squareImageAlt: z.string().optional(),
|
|
2110
|
+
/** Pixel width of `squareImage`. */
|
|
2111
|
+
squareImageWidth: z.number().int().positive().optional(),
|
|
2112
|
+
/** Pixel height of `squareImage`. */
|
|
2113
|
+
squareImageHeight: z.number().int().positive().optional(),
|
|
2078
2114
|
ogType: z.enum(["website", "article", "profile", "product"]).optional(),
|
|
2079
2115
|
ogLanguage: z.string().optional(),
|
|
2080
2116
|
twitterCard: z.enum(["summary", "summary_large_image", "app", "player"]).optional(),
|
|
@@ -2286,8 +2322,10 @@ export {
|
|
|
2286
2322
|
SocialMediaTypeSchema,
|
|
2287
2323
|
SocialPlatformSchema,
|
|
2288
2324
|
SocialPostPayloadSchema,
|
|
2325
|
+
SocialProviderCapabilitiesSchema,
|
|
2289
2326
|
SocialPublishResultSchema,
|
|
2290
2327
|
SocialSessionStatusSchema,
|
|
2328
|
+
SocialTextLengthUnitSchema,
|
|
2291
2329
|
SocialVideoGenerationSchema,
|
|
2292
2330
|
StatItemSchema,
|
|
2293
2331
|
StatsBlockSchema,
|