UNPKG

@vot.js/shared

Version:

shared for all @vot.js package

74 lines 1.87 kB
export type PostImage = { height: number; url: string; width: number; }; export type PostFileThumbnail = { position: number; url: string; }; export type PostFileProgress = { is_watched: boolean; watch_state: string; }; export type PostFile = { closed_captions_enabled: boolean; default_thumbnail: PostFileThumbnail; duration: number; expires_at: string; full_content_duration: number; height: number; media_id: number; progress: PostFileProgress; state: string; url: string; video_issues: unknown; width: number; }; export type PostDataAttributes = { comment_count: number; content: string; created_at: string; current_user_can_delete: boolean; current_user_can_report: boolean; current_user_can_view: boolean; deleted_at: string | null; edit_url: string; edited_at: string | null; embed: null; has_ti_violation: boolean; image: PostImage; is_automated_monthly_charge: boolean; is_paid: boolean; like_count: number; min_cents_pledged_to_view: number; moderation_status: string; patreon_url: string; pledge_url: string; post_file: PostFile; post_level_suspension_removal_date: null; post_metadata: null; post_type: string; preview_asset_type: null; published_at: string; scheduled_for: string; share_images: Record<string, Record<"url", string>>; teaser_text: string; thumbnail: PostImage; title: string; url: string; video_preview: null; was_posted_by_campaign_owner: boolean; }; export type PostData = { attributes: PostDataAttributes; id: string; relationships?: unknown; type: string; }; export type PostsResponse = { data: PostData; links: Record<string, string>; included?: unknown[]; }; //# sourceMappingURL=patreon.d.ts.map