e621 3.0.3 → 3.2.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/README.md +52 -0
- package/dist/browser/e621.d.ts +2 -0
- package/dist/browser/e621.js +19289 -0
- package/dist/browser/e621.js.map +7 -0
- package/dist/lib/Debug.browser.d.ts +6 -0
- package/dist/lib/Debug.browser.js +8 -0
- package/dist/lib/client.d.ts +59 -0
- package/dist/lib/client.js +72 -0
- package/dist/lib/errors.d.ts +3 -3
- package/dist/lib/errors.js +6 -2
- package/dist/lib/generated/client/client.js +105 -124
- package/dist/lib/generated/client/types.d.ts +6 -3
- package/dist/lib/generated/client/utils.d.ts +7 -3
- package/dist/lib/generated/client/utils.js +4 -4
- package/dist/lib/generated/core/params.js +5 -5
- package/dist/lib/generated/core/serverSentEvents.d.ts +1 -1
- package/dist/lib/generated/core/serverSentEvents.js +4 -5
- package/dist/lib/generated/schemas.d.ts +1192 -219
- package/dist/lib/generated/schemas.js +1780 -483
- package/dist/lib/generated/sdk.d.ts +612 -380
- package/dist/lib/generated/sdk.js +895 -546
- package/dist/lib/generated/types.d.ts +6241 -4549
- package/dist/lib/index.d.ts +2 -43
- package/dist/lib/index.js +5 -61
- package/dist/lib/models/Appeal.d.ts +48 -0
- package/dist/lib/models/Appeal.js +74 -0
- package/dist/lib/models/Artist.d.ts +15 -18
- package/dist/lib/models/Artist.js +24 -27
- package/dist/lib/models/AvoidPosting.d.ts +11 -15
- package/dist/lib/models/AvoidPosting.js +21 -25
- package/dist/lib/models/Base.browser.d.ts +14 -0
- package/dist/lib/models/Base.browser.js +22 -0
- package/dist/lib/models/BasicPost.d.ts +14 -0
- package/dist/lib/models/BasicPost.js +17 -0
- package/dist/lib/models/Blip.d.ts +19 -24
- package/dist/lib/models/Blip.js +30 -35
- package/dist/lib/models/BulkUpdateRequest.d.ts +9 -12
- package/dist/lib/models/BulkUpdateRequest.js +18 -21
- package/dist/lib/models/Comment.d.ts +25 -32
- package/dist/lib/models/Comment.js +39 -46
- package/dist/lib/models/CommentVote.d.ts +47 -0
- package/dist/lib/models/CommentVote.js +74 -0
- package/dist/lib/models/CurrentUser.d.ts +33 -1
- package/dist/lib/models/CurrentUser.js +54 -3
- package/dist/lib/models/DMail.d.ts +15 -9
- package/dist/lib/models/DMail.js +27 -13
- package/dist/lib/models/DbExport.d.ts +14 -0
- package/dist/lib/models/DbExport.js +17 -0
- package/dist/lib/models/EmailBlacklist.d.ts +2 -3
- package/dist/lib/models/EmailBlacklist.js +4 -5
- package/dist/lib/models/ExceptionLog.d.ts +14 -0
- package/dist/lib/models/ExceptionLog.js +17 -0
- package/dist/lib/models/ExtendedPost.d.ts +14 -0
- package/dist/lib/models/ExtendedPost.js +17 -0
- package/dist/lib/models/ForumPost.d.ts +37 -34
- package/dist/lib/models/ForumPost.js +57 -47
- package/dist/lib/models/ForumPostVote.d.ts +2 -3
- package/dist/lib/models/ForumPostVote.js +5 -6
- package/dist/lib/models/ForumTopic.d.ts +20 -26
- package/dist/lib/models/ForumTopic.js +33 -39
- package/dist/lib/models/HelpPage.d.ts +37 -0
- package/dist/lib/models/HelpPage.js +55 -0
- package/dist/lib/models/IpBan.d.ts +2 -3
- package/dist/lib/models/IpBan.js +4 -5
- package/dist/lib/models/Mascot.d.ts +6 -8
- package/dist/lib/models/Mascot.js +10 -12
- package/dist/lib/models/MinimalUser.d.ts +14 -0
- package/dist/lib/models/MinimalUser.js +17 -0
- package/dist/lib/models/NewsUpdate.d.ts +6 -8
- package/dist/lib/models/NewsUpdate.js +10 -12
- package/dist/lib/models/Note.d.ts +9 -12
- package/dist/lib/models/Note.js +18 -21
- package/dist/lib/models/NoteVersion.d.ts +2 -3
- package/dist/lib/models/NoteVersion.js +4 -5
- package/dist/lib/models/Pool.d.ts +15 -20
- package/dist/lib/models/Pool.js +28 -33
- package/dist/lib/models/PoolVersion.d.ts +2 -3
- package/dist/lib/models/PoolVersion.js +4 -5
- package/dist/lib/models/Post.d.ts +5 -174
- package/dist/lib/models/Post.js +8 -294
- package/dist/lib/models/PostApproval.d.ts +2 -3
- package/dist/lib/models/PostApproval.js +4 -5
- package/dist/lib/models/PostFlag.d.ts +4 -6
- package/dist/lib/models/PostFlag.js +8 -10
- package/dist/lib/models/PostReplacement.d.ts +10 -15
- package/dist/lib/models/PostReplacement.js +16 -21
- package/dist/lib/models/PostSet.d.ts +15 -20
- package/dist/lib/models/PostSet.js +26 -31
- package/dist/lib/models/PostVersion.d.ts +8 -12
- package/dist/lib/models/PostVersion.js +13 -17
- package/dist/lib/models/PostVote.d.ts +6 -9
- package/dist/lib/models/PostVote.js +11 -14
- package/dist/lib/models/SearchTrendBlacklist.d.ts +23 -0
- package/dist/lib/models/SearchTrendBlacklist.js +41 -3
- package/dist/lib/models/StaffFile.d.ts +37 -0
- package/dist/lib/models/StaffFile.js +55 -0
- package/dist/lib/models/StaffNote.d.ts +10 -13
- package/dist/lib/models/StaffNote.js +19 -22
- package/dist/lib/models/StaffWiki.d.ts +59 -0
- package/dist/lib/models/StaffWiki.js +93 -0
- package/dist/lib/models/StaffWikiVersion.d.ts +14 -0
- package/dist/lib/models/StaffWikiVersion.js +17 -0
- package/dist/lib/models/Tag.d.ts +16 -20
- package/dist/lib/models/Tag.js +28 -32
- package/dist/lib/models/TagAlias.d.ts +11 -14
- package/dist/lib/models/TagAlias.js +20 -23
- package/dist/lib/models/TagImplication.d.ts +11 -14
- package/dist/lib/models/TagImplication.js +20 -23
- package/dist/lib/models/Takedown.d.ts +18 -24
- package/dist/lib/models/Takedown.js +27 -33
- package/dist/lib/models/ThumbnailPost.d.ts +14 -0
- package/dist/lib/models/ThumbnailPost.js +17 -0
- package/dist/lib/models/Ticket.d.ts +11 -14
- package/dist/lib/models/Ticket.js +20 -23
- package/dist/lib/models/UploadWhitelist.d.ts +6 -8
- package/dist/lib/models/UploadWhitelist.js +10 -12
- package/dist/lib/models/User.d.ts +27 -23
- package/dist/lib/models/User.js +43 -31
- package/dist/lib/models/UserFeedback.d.ts +11 -15
- package/dist/lib/models/UserFeedback.js +21 -25
- package/dist/lib/models/UserNameChangeRequest.d.ts +2 -3
- package/dist/lib/models/UserNameChangeRequest.js +4 -5
- package/dist/lib/models/WikiPage.d.ts +11 -14
- package/dist/lib/models/WikiPage.js +20 -23
- package/dist/lib/models/WikiPageVersion.d.ts +2 -3
- package/dist/lib/models/WikiPageVersion.js +4 -5
- package/dist/lib/models/index.d.ts +12 -1
- package/dist/lib/models/index.js +13 -2
- package/dist/lib/models/posts/Actions.d.ts +279 -0
- package/dist/lib/models/posts/Actions.js +476 -0
- package/dist/lib/modules/Appeals.d.ts +69 -0
- package/dist/lib/modules/Appeals.js +125 -0
- package/dist/lib/modules/ArtistUrls.d.ts +5 -5
- package/dist/lib/modules/ArtistUrls.js +7 -7
- package/dist/lib/modules/ArtistVersions.d.ts +5 -5
- package/dist/lib/modules/ArtistVersions.js +7 -7
- package/dist/lib/modules/Artists.d.ts +31 -36
- package/dist/lib/modules/Artists.js +53 -58
- package/dist/lib/modules/AvoidPostingVersions.d.ts +5 -5
- package/dist/lib/modules/AvoidPostingVersions.js +7 -7
- package/dist/lib/modules/AvoidPostings.d.ts +29 -55
- package/dist/lib/modules/AvoidPostings.js +51 -75
- package/dist/lib/modules/Bans.d.ts +7 -8
- package/dist/lib/modules/Bans.js +11 -12
- package/dist/lib/modules/Base.d.ts +15 -4
- package/dist/lib/modules/Base.js +15 -4
- package/dist/lib/modules/Blips.d.ts +34 -41
- package/dist/lib/modules/Blips.js +59 -64
- package/dist/lib/modules/BulkUpdateRequests.d.ts +25 -30
- package/dist/lib/modules/BulkUpdateRequests.js +47 -52
- package/dist/lib/modules/CommentVotes.d.ts +45 -6
- package/dist/lib/modules/CommentVotes.js +75 -12
- package/dist/lib/modules/Comments.d.ts +34 -43
- package/dist/lib/modules/Comments.js +57 -66
- package/dist/lib/modules/DMails.d.ts +25 -20
- package/dist/lib/modules/DMails.js +37 -32
- package/dist/lib/modules/DText.d.ts +6 -6
- package/dist/lib/modules/DText.js +7 -7
- package/dist/lib/modules/DbExports.d.ts +13 -0
- package/dist/lib/modules/DbExports.js +27 -0
- package/dist/lib/modules/EditHistories.d.ts +8 -9
- package/dist/lib/modules/EditHistories.js +11 -12
- package/dist/lib/modules/EmailBlacklists.d.ts +10 -12
- package/dist/lib/modules/EmailBlacklists.js +16 -18
- package/dist/lib/modules/Favorites.d.ts +15 -17
- package/dist/lib/modules/Favorites.js +20 -20
- package/dist/lib/modules/ForumPostVotes.d.ts +40 -0
- package/dist/lib/modules/ForumPostVotes.js +71 -0
- package/dist/lib/modules/ForumPosts.d.ts +32 -41
- package/dist/lib/modules/ForumPosts.js +55 -64
- package/dist/lib/modules/ForumTopics.d.ts +36 -50
- package/dist/lib/modules/ForumTopics.js +61 -84
- package/dist/lib/modules/Health.d.ts +12 -0
- package/dist/lib/modules/Health.js +26 -0
- package/dist/lib/modules/HelpPages.d.ts +27 -26
- package/dist/lib/modules/HelpPages.js +58 -47
- package/dist/lib/modules/IpBans.d.ts +10 -12
- package/dist/lib/modules/IpBans.js +16 -18
- package/dist/lib/modules/IqdbQueries.d.ts +14 -14
- package/dist/lib/modules/IqdbQueries.js +25 -18
- package/dist/lib/modules/Mascots.d.ts +19 -22
- package/dist/lib/modules/Mascots.js +33 -36
- package/dist/lib/modules/ModActions.d.ts +7 -8
- package/dist/lib/modules/ModActions.js +11 -12
- package/dist/lib/modules/NewsUpdates.d.ts +19 -22
- package/dist/lib/modules/NewsUpdates.js +35 -38
- package/dist/lib/modules/NoteVersions.d.ts +5 -5
- package/dist/lib/modules/NoteVersions.js +7 -7
- package/dist/lib/modules/Notes.d.ts +24 -29
- package/dist/lib/modules/Notes.js +45 -50
- package/dist/lib/modules/PoolVersions.d.ts +5 -5
- package/dist/lib/modules/PoolVersions.js +7 -7
- package/dist/lib/modules/Pools.d.ts +33 -41
- package/dist/lib/modules/Pools.js +58 -66
- package/dist/lib/modules/Popular.d.ts +7 -7
- package/dist/lib/modules/Popular.js +13 -11
- package/dist/lib/modules/PostApprovals.d.ts +9 -11
- package/dist/lib/modules/PostApprovals.js +15 -17
- package/dist/lib/modules/PostDisapprovals.d.ts +11 -9
- package/dist/lib/modules/PostDisapprovals.js +12 -13
- package/dist/lib/modules/PostEvents.d.ts +5 -5
- package/dist/lib/modules/PostEvents.js +13 -9
- package/dist/lib/modules/PostFlags.d.ts +26 -15
- package/dist/lib/modules/PostFlags.js +42 -23
- package/dist/lib/modules/PostReplacements.d.ts +20 -26
- package/dist/lib/modules/PostReplacements.js +36 -38
- package/dist/lib/modules/PostSets.d.ts +34 -42
- package/dist/lib/modules/PostSets.js +60 -68
- package/dist/lib/modules/PostVersions.d.ts +11 -14
- package/dist/lib/modules/PostVersions.js +19 -22
- package/dist/lib/modules/PostVotes.d.ts +33 -12
- package/dist/lib/modules/PostVotes.js +56 -17
- package/dist/lib/modules/Posts.d.ts +130 -70
- package/dist/lib/modules/Posts.js +215 -115
- package/dist/lib/modules/RelatedTags.d.ts +7 -7
- package/dist/lib/modules/RelatedTags.js +7 -7
- package/dist/lib/modules/SearchTrendBlacklists.d.ts +11 -28
- package/dist/lib/modules/SearchTrendBlacklists.js +15 -40
- package/dist/lib/modules/SearchTrends.d.ts +30 -19
- package/dist/lib/modules/SearchTrends.js +41 -22
- package/dist/lib/modules/StaffAutomodDMails.d.ts +55 -0
- package/dist/lib/modules/StaffAutomodDMails.js +98 -0
- package/dist/lib/modules/{users/DMails.d.ts → StaffDMails.d.ts} +8 -9
- package/dist/lib/modules/StaffDMails.js +54 -0
- package/dist/lib/modules/StaffExceptionLogs.d.ts +33 -0
- package/dist/lib/modules/StaffExceptionLogs.js +54 -0
- package/dist/lib/modules/StaffFiles.d.ts +72 -0
- package/dist/lib/modules/StaffFiles.js +121 -0
- package/dist/lib/modules/StaffNotes.d.ts +26 -31
- package/dist/lib/modules/StaffNotes.js +47 -52
- package/dist/lib/modules/StaffUserCleanups.d.ts +60 -0
- package/dist/lib/modules/StaffUserCleanups.js +124 -0
- package/dist/lib/modules/StaffUsers.d.ts +43 -0
- package/dist/lib/modules/StaffUsers.js +75 -0
- package/dist/lib/modules/StaffVoteTrends.d.ts +26 -0
- package/dist/lib/modules/StaffVoteTrends.js +39 -0
- package/dist/lib/modules/StaffWikiVersions.d.ts +33 -0
- package/dist/lib/modules/StaffWikiVersions.js +54 -0
- package/dist/lib/modules/StaffWikis.d.ts +94 -0
- package/dist/lib/modules/StaffWikis.js +165 -0
- package/dist/lib/modules/TagAliases.d.ts +26 -31
- package/dist/lib/modules/TagAliases.js +47 -52
- package/dist/lib/modules/TagCorrections.d.ts +6 -7
- package/dist/lib/modules/TagCorrections.js +12 -13
- package/dist/lib/modules/TagImplications.d.ts +26 -31
- package/dist/lib/modules/TagImplications.js +47 -52
- package/dist/lib/modules/TagTypeVersions.d.ts +5 -5
- package/dist/lib/modules/TagTypeVersions.js +7 -7
- package/dist/lib/modules/Tags.d.ts +23 -27
- package/dist/lib/modules/Tags.js +42 -46
- package/dist/lib/modules/Takedowns.d.ts +37 -45
- package/dist/lib/modules/Takedowns.js +59 -67
- package/dist/lib/modules/Tickets.d.ts +24 -28
- package/dist/lib/modules/Tickets.js +44 -48
- package/dist/lib/modules/UploadWhitelists.d.ts +21 -25
- package/dist/lib/modules/UploadWhitelists.js +37 -41
- package/dist/lib/modules/Uploads.d.ts +11 -13
- package/dist/lib/modules/Uploads.js +16 -18
- package/dist/lib/modules/UserFeedbacks.d.ts +28 -34
- package/dist/lib/modules/UserFeedbacks.js +52 -58
- package/dist/lib/modules/UserNameChangeRequests.d.ts +12 -15
- package/dist/lib/modules/UserNameChangeRequests.js +20 -23
- package/dist/lib/modules/Users.d.ts +56 -40
- package/dist/lib/modules/Users.js +91 -63
- package/dist/lib/modules/WikiPageVersions.d.ts +7 -8
- package/dist/lib/modules/WikiPageVersions.js +11 -12
- package/dist/lib/modules/WikiPages.d.ts +26 -31
- package/dist/lib/modules/WikiPages.js +47 -52
- package/dist/lib/modules/index.d.ts +39 -10
- package/dist/lib/modules/index.js +27 -5
- package/dist/lib/modules/posts/Format.d.ts +27 -0
- package/dist/lib/modules/posts/Format.js +17 -0
- package/dist/lib/standalone.d.ts +20 -0
- package/dist/lib/standalone.js +17 -0
- package/dist/lib/util.js +4 -10
- package/dist/lib/version.d.ts +2 -0
- package/dist/lib/version.js +3 -0
- package/package.json +34 -10
- package/tsconfig.json +2 -2
- package/dist/lib/generated/source.json +0 -19075
- package/dist/lib/models/Help.d.ts +0 -39
- package/dist/lib/models/Help.js +0 -57
- package/dist/lib/modules/admin/Users.d.ts +0 -45
- package/dist/lib/modules/admin/Users.js +0 -77
- package/dist/lib/modules/comments/Votes.d.ts +0 -31
- package/dist/lib/modules/comments/Votes.js +0 -51
- package/dist/lib/modules/forum_posts/Votes.d.ts +0 -29
- package/dist/lib/modules/forum_posts/Votes.js +0 -51
- package/dist/lib/modules/posts/Flag.d.ts +0 -16
- package/dist/lib/modules/posts/Flag.js +0 -31
- package/dist/lib/modules/posts/Votes.d.ts +0 -31
- package/dist/lib/modules/posts/Votes.js +0 -51
- package/dist/lib/modules/users/DMails.js +0 -55
- package/dist/package.json +0 -73
|
@@ -36,11 +36,11 @@ export declare const WarningRecordTypeSchema: {
|
|
|
36
36
|
};
|
|
37
37
|
export declare const ModActionActionsSchema: {
|
|
38
38
|
readonly type: "string";
|
|
39
|
-
readonly enum: readonly ["artist_page_rename", "artist_page_lock", "artist_page_unlock", "artist_user_linked", "artist_user_unlinked", "avoid_posting_create", "avoid_posting_update", "avoid_posting_delete", "avoid_posting_undelete", "avoid_posting_destroy", "blip_destroy", "blip_delete", "blip_undelete", "blip_update", "comment_delete", "comment_hide", "comment_unhide", "comment_update", "forum_category_create", "forum_category_delete", "forum_category_update", "forum_post_delete", "forum_post_hide", "forum_post_unhide", "forum_post_update", "forum_topic_delete", "forum_topic_hide", "forum_topic_unhide", "forum_topic_lock", "forum_topic_unlock", "forum_topic_stick", "forum_topic_unstick", "forum_topic_update", "help_create", "help_delete", "help_update", "ip_ban_create", "ip_ban_delete", "mascot_create", "mascot_update", "mascot_delete", "pool_delete", "report_reason_create", "report_reason_delete", "report_reason_update", "set_update", "set_delete", "set_change_visibility", "tag_alias_create", "tag_alias_update", "tag_implication_create", "tag_implication_update", "ticket_claim", "ticket_unclaim", "ticket_update", "upload_whitelist_create", "upload_whitelist_update", "upload_whitelist_delete", "
|
|
39
|
+
readonly enum: readonly ["admin_user_delete", "artist_page_rename", "artist_page_lock", "artist_page_unlock", "artist_user_linked", "artist_user_unlinked", "avoid_posting_create", "avoid_posting_update", "avoid_posting_delete", "avoid_posting_undelete", "avoid_posting_destroy", "staff_note_create", "staff_note_update", "staff_note_delete", "staff_note_undelete", "blip_destroy", "blip_delete", "blip_undelete", "blip_update", "comment_delete", "comment_hide", "comment_unhide", "comment_update", "forum_category_create", "forum_category_delete", "forum_category_update", "forum_post_delete", "forum_post_hide", "forum_post_unhide", "forum_post_update", "forum_topic_delete", "forum_topic_hide", "forum_topic_unhide", "forum_topic_lock", "forum_topic_unlock", "forum_topic_stick", "forum_topic_unstick", "forum_topic_update", "help_create", "help_delete", "help_update", "ip_ban_create", "ip_ban_delete", "search_trend_blacklist_create", "search_trend_blacklist_update", "search_trend_blacklist_delete", "search_trend_blacklist_purge", "mascot_create", "mascot_update", "mascot_delete", "staff_file_create", "staff_file_update", "staff_file_delete", "pool_delete", "report_reason_create", "report_reason_delete", "report_reason_update", "set_update", "set_delete", "set_change_visibility", "tag_destroy", "tag_alias_create", "tag_alias_update", "tag_implication_create", "tag_implication_update", "ticket_claim", "ticket_unclaim", "ticket_update", "appeal_claim", "appeal_unclaim", "appeal_update", "upload_whitelist_create", "upload_whitelist_update", "upload_whitelist_delete", "user_avatar_clear", "user_profile_clear", "user_comments_hide", "user_forum_posts_hide", "user_blips_delete", "user_blacklist_changed", "user_text_change", "user_custom_title_change", "user_upload_limit_change", "user_uploads_toggle", "user_flags_change", "user_level_change", "user_name_change", "user_delete", "user_ban", "user_ban_update", "user_unban", "user_feedback_create", "user_feedback_update", "user_feedback_delete", "user_feedback_undelete", "user_feedback_destroy", "user_flush_favorites", "wiki_page_rename", "wiki_page_delete", "wiki_page_lock", "wiki_page_unlock", "mass_update", "nuke_tag", "takedown_delete", "takedown_process", "post_version_hide", "post_version_unhide", "created_positive_record", "created_neutral_record", "created_negative_record", "created_flag_reason", "edited_flag_reason", "deleted_flag_reason", "post_move_favorites", "post_delete", "post_undelete", "post_destroy", "post_rating_lock", "post_unapprove", "post_replacement_accept", "post_replacement_reject", "post_replacement_delete"];
|
|
40
40
|
};
|
|
41
41
|
export declare const PostEventActionsSchema: {
|
|
42
42
|
readonly type: "string";
|
|
43
|
-
readonly enum: readonly ["deleted", "undeleted", "approved", "unapproved", "flag_created", "flag_removed", "favorites_moved", "favorites_received", "rating_locked", "rating_unlocked", "status_locked", "status_unlocked", "note_locked", "note_unlocked", "comment_locked", "comment_unlocked", "replacement_accepted", "replacement_rejected", "replacement_promoted", "replacement_deleted", "expunged", "changed_bg_color", "replacement_penalty_changed"];
|
|
43
|
+
readonly enum: readonly ["deleted", "undeleted", "approved", "unapproved", "flag_created", "flag_removed", "favorites_moved", "favorites_received", "rating_locked", "rating_unlocked", "status_locked", "status_unlocked", "note_locked", "note_unlocked", "comment_locked", "comment_unlocked", "replacement_accepted", "replacement_rejected", "replacement_promoted", "replacement_deleted", "expunged", "changed_bg_color", "replacement_penalty_changed", "owner_changed"];
|
|
44
44
|
};
|
|
45
45
|
export declare const RatingsSchema: {
|
|
46
46
|
readonly type: "string";
|
|
@@ -48,7 +48,7 @@ export declare const RatingsSchema: {
|
|
|
48
48
|
};
|
|
49
49
|
export declare const TagCategoriesSchema: {
|
|
50
50
|
readonly type: "integer";
|
|
51
|
-
readonly enum: readonly [0, 1, 3, 4, 5, 6, 7, 8];
|
|
51
|
+
readonly enum: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8];
|
|
52
52
|
};
|
|
53
53
|
export declare const FeedbackCategoriesSchema: {
|
|
54
54
|
readonly type: "string";
|
|
@@ -214,7 +214,7 @@ export declare const AvoidPostingSchema: {
|
|
|
214
214
|
};
|
|
215
215
|
readonly staff_notes: {
|
|
216
216
|
readonly type: "string";
|
|
217
|
-
readonly description: "Only visible to
|
|
217
|
+
readonly description: "Only visible to Staff+";
|
|
218
218
|
};
|
|
219
219
|
readonly details: {
|
|
220
220
|
readonly type: "string";
|
|
@@ -250,7 +250,7 @@ export declare const AvoidPostingVersionSchema: {
|
|
|
250
250
|
};
|
|
251
251
|
readonly staff_notes: {
|
|
252
252
|
readonly type: "string";
|
|
253
|
-
readonly description: "Only visible to
|
|
253
|
+
readonly description: "Only visible to Staff+";
|
|
254
254
|
};
|
|
255
255
|
readonly is_active: {
|
|
256
256
|
readonly type: "boolean";
|
|
@@ -390,7 +390,7 @@ export declare const BulkUpdateRequestSchema: {
|
|
|
390
390
|
};
|
|
391
391
|
export declare const CommentSchema: {
|
|
392
392
|
readonly type: "object";
|
|
393
|
-
readonly required: readonly ["id", "created_at", "post_id", "creator_id", "body", "score", "updated_at", "updater_id", "do_not_bump_post", "is_hidden", "is_sticky", "warning_type", "warning_user_id", "creator_name", "updater_name"];
|
|
393
|
+
readonly required: readonly ["id", "created_at", "post_id", "creator_id", "body", "score", "updated_at", "updater_id", "do_not_bump_post", "is_hidden", "is_sticky", "warning_type", "warning_user_id", "creator_name", "updater_name", "vote"];
|
|
394
394
|
readonly properties: {
|
|
395
395
|
readonly id: {
|
|
396
396
|
readonly type: "integer";
|
|
@@ -441,6 +441,10 @@ export declare const CommentSchema: {
|
|
|
441
441
|
readonly updater_name: {
|
|
442
442
|
readonly type: "string";
|
|
443
443
|
};
|
|
444
|
+
readonly vote: {
|
|
445
|
+
readonly type: "integer";
|
|
446
|
+
readonly enum: readonly [-1, 0, 1];
|
|
447
|
+
};
|
|
444
448
|
};
|
|
445
449
|
};
|
|
446
450
|
export declare const CurrentUserSchema: {
|
|
@@ -513,9 +517,11 @@ export declare const CurrentUserSchema: {
|
|
|
513
517
|
};
|
|
514
518
|
readonly last_logged_in_at: {
|
|
515
519
|
readonly type: "string";
|
|
520
|
+
readonly format: "date-time";
|
|
516
521
|
};
|
|
517
522
|
readonly last_forum_read_at: {
|
|
518
523
|
readonly type: "string";
|
|
524
|
+
readonly format: "date-time";
|
|
519
525
|
};
|
|
520
526
|
readonly recent_tags: {
|
|
521
527
|
readonly type: "string";
|
|
@@ -894,7 +900,7 @@ export declare const FullUserSchema: {
|
|
|
894
900
|
};
|
|
895
901
|
}];
|
|
896
902
|
};
|
|
897
|
-
export declare const
|
|
903
|
+
export declare const HelpPageSchema: {
|
|
898
904
|
readonly type: "object";
|
|
899
905
|
readonly required: readonly ["id", "name", "title", "wiki_page", "related", "created_at", "updated_at"];
|
|
900
906
|
readonly properties: {
|
|
@@ -1143,6 +1149,202 @@ export declare const IqdbPostSchema: {
|
|
|
1143
1149
|
};
|
|
1144
1150
|
};
|
|
1145
1151
|
};
|
|
1152
|
+
export declare const RawPostSchema: {
|
|
1153
|
+
readonly type: "object";
|
|
1154
|
+
readonly required: readonly ["id", "created_at", "updated_at", "up_score", "down_score", "score", "source", "md5", "rating", "is_note_locked", "is_rating_locked", "is_status_locked", "is_pending", "is_flagged", "is_deleted", "uploader_id", "approver_id", "last_noted_at", "last_comment_bumped_at", "fav_count", "tag_string", "tag_count", "tag_count_general", "tag_count_artist", "tag_count_character", "tag_count_copyright", "file_ext", "file_size", "image_width", "image_height", "parent_id", "has_children", "last_commented_at", "has_active_children", "bit_flags", "tag_count_meta", "locked_tags", "tag_count_species", "tag_count_invalid", "description", "comment_count", "change_seq", "tag_count_lore", "bg_color", "generated_samples", "duration", "is_comment_disabled", "is_comment_locked", "has_large", "has_visible_children", "children_ids", "pool_ids", "is_favorited"];
|
|
1155
|
+
readonly properties: {
|
|
1156
|
+
readonly id: {
|
|
1157
|
+
readonly type: "integer";
|
|
1158
|
+
};
|
|
1159
|
+
readonly created_at: {
|
|
1160
|
+
readonly type: "string";
|
|
1161
|
+
readonly format: "date-time";
|
|
1162
|
+
};
|
|
1163
|
+
readonly updated_at: {
|
|
1164
|
+
readonly type: "string";
|
|
1165
|
+
readonly format: "date-time";
|
|
1166
|
+
};
|
|
1167
|
+
readonly up_score: {
|
|
1168
|
+
readonly type: "integer";
|
|
1169
|
+
};
|
|
1170
|
+
readonly down_score: {
|
|
1171
|
+
readonly type: "integer";
|
|
1172
|
+
};
|
|
1173
|
+
readonly score: {
|
|
1174
|
+
readonly type: "integer";
|
|
1175
|
+
};
|
|
1176
|
+
readonly source: {
|
|
1177
|
+
readonly type: "string";
|
|
1178
|
+
};
|
|
1179
|
+
readonly md5: {
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
};
|
|
1182
|
+
readonly rating: {
|
|
1183
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
1184
|
+
};
|
|
1185
|
+
readonly is_note_locked: {
|
|
1186
|
+
readonly type: "boolean";
|
|
1187
|
+
};
|
|
1188
|
+
readonly is_rating_locked: {
|
|
1189
|
+
readonly type: "boolean";
|
|
1190
|
+
};
|
|
1191
|
+
readonly is_status_locked: {
|
|
1192
|
+
readonly type: "boolean";
|
|
1193
|
+
};
|
|
1194
|
+
readonly is_pending: {
|
|
1195
|
+
readonly type: "boolean";
|
|
1196
|
+
};
|
|
1197
|
+
readonly is_flagged: {
|
|
1198
|
+
readonly type: "boolean";
|
|
1199
|
+
};
|
|
1200
|
+
readonly is_deleted: {
|
|
1201
|
+
readonly type: "boolean";
|
|
1202
|
+
};
|
|
1203
|
+
readonly uploader_id: {
|
|
1204
|
+
readonly type: "integer";
|
|
1205
|
+
};
|
|
1206
|
+
readonly approver_id: {
|
|
1207
|
+
readonly type: "integer";
|
|
1208
|
+
};
|
|
1209
|
+
readonly last_noted_at: {
|
|
1210
|
+
readonly type: "string";
|
|
1211
|
+
readonly format: "date-time";
|
|
1212
|
+
readonly nullable: true;
|
|
1213
|
+
};
|
|
1214
|
+
readonly last_comment_bumped_at: {
|
|
1215
|
+
readonly type: "string";
|
|
1216
|
+
readonly format: "date-time";
|
|
1217
|
+
readonly nullable: true;
|
|
1218
|
+
};
|
|
1219
|
+
readonly fav_count: {
|
|
1220
|
+
readonly type: "integer";
|
|
1221
|
+
};
|
|
1222
|
+
readonly tag_string: {
|
|
1223
|
+
readonly type: "string";
|
|
1224
|
+
};
|
|
1225
|
+
readonly tag_count: {
|
|
1226
|
+
readonly type: "integer";
|
|
1227
|
+
};
|
|
1228
|
+
readonly tag_count_general: {
|
|
1229
|
+
readonly type: "integer";
|
|
1230
|
+
};
|
|
1231
|
+
readonly tag_count_artist: {
|
|
1232
|
+
readonly type: "integer";
|
|
1233
|
+
};
|
|
1234
|
+
readonly tag_count_character: {
|
|
1235
|
+
readonly type: "integer";
|
|
1236
|
+
};
|
|
1237
|
+
readonly tag_count_copyright: {
|
|
1238
|
+
readonly type: "integer";
|
|
1239
|
+
};
|
|
1240
|
+
readonly file_ext: {
|
|
1241
|
+
readonly type: "string";
|
|
1242
|
+
};
|
|
1243
|
+
readonly file_size: {
|
|
1244
|
+
readonly type: "integer";
|
|
1245
|
+
readonly format: "int64";
|
|
1246
|
+
};
|
|
1247
|
+
readonly image_width: {
|
|
1248
|
+
readonly type: "integer";
|
|
1249
|
+
};
|
|
1250
|
+
readonly image_height: {
|
|
1251
|
+
readonly type: "integer";
|
|
1252
|
+
};
|
|
1253
|
+
readonly parent_id: {
|
|
1254
|
+
readonly type: "integer";
|
|
1255
|
+
readonly nullable: true;
|
|
1256
|
+
};
|
|
1257
|
+
readonly has_children: {
|
|
1258
|
+
readonly type: "boolean";
|
|
1259
|
+
};
|
|
1260
|
+
readonly last_commented_at: {
|
|
1261
|
+
readonly type: "string";
|
|
1262
|
+
readonly format: "date-time";
|
|
1263
|
+
readonly nullable: true;
|
|
1264
|
+
};
|
|
1265
|
+
readonly has_active_children: {
|
|
1266
|
+
readonly type: "boolean";
|
|
1267
|
+
};
|
|
1268
|
+
readonly bit_flags: {
|
|
1269
|
+
readonly type: "integer";
|
|
1270
|
+
};
|
|
1271
|
+
readonly tag_count_meta: {
|
|
1272
|
+
readonly type: "integer";
|
|
1273
|
+
};
|
|
1274
|
+
readonly locked_tags: {
|
|
1275
|
+
readonly type: "string";
|
|
1276
|
+
readonly nullable: true;
|
|
1277
|
+
};
|
|
1278
|
+
readonly tag_count_species: {
|
|
1279
|
+
readonly type: "integer";
|
|
1280
|
+
};
|
|
1281
|
+
readonly tag_count_invalid: {
|
|
1282
|
+
readonly type: "integer";
|
|
1283
|
+
};
|
|
1284
|
+
readonly description: {
|
|
1285
|
+
readonly type: "string";
|
|
1286
|
+
};
|
|
1287
|
+
readonly comment_count: {
|
|
1288
|
+
readonly type: "integer";
|
|
1289
|
+
};
|
|
1290
|
+
readonly change_seq: {
|
|
1291
|
+
readonly type: "integer";
|
|
1292
|
+
};
|
|
1293
|
+
readonly tag_count_lore: {
|
|
1294
|
+
readonly type: "integer";
|
|
1295
|
+
};
|
|
1296
|
+
readonly bg_color: {
|
|
1297
|
+
readonly type: "string";
|
|
1298
|
+
readonly nullable: true;
|
|
1299
|
+
};
|
|
1300
|
+
readonly generated_samples: {
|
|
1301
|
+
readonly type: "array";
|
|
1302
|
+
readonly nullable: true;
|
|
1303
|
+
readonly items: {
|
|
1304
|
+
readonly type: "string";
|
|
1305
|
+
readonly enum: readonly ["720p", "480p", "original"];
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
readonly duration: {
|
|
1309
|
+
readonly type: "string";
|
|
1310
|
+
readonly nullable: true;
|
|
1311
|
+
};
|
|
1312
|
+
readonly is_comment_disabled: {
|
|
1313
|
+
readonly type: "boolean";
|
|
1314
|
+
};
|
|
1315
|
+
readonly is_comment_locked: {
|
|
1316
|
+
readonly type: "boolean";
|
|
1317
|
+
};
|
|
1318
|
+
readonly has_large: {
|
|
1319
|
+
readonly type: "boolean";
|
|
1320
|
+
};
|
|
1321
|
+
readonly has_visible_children: {
|
|
1322
|
+
readonly type: "boolean";
|
|
1323
|
+
};
|
|
1324
|
+
readonly children_ids: {
|
|
1325
|
+
readonly type: "string";
|
|
1326
|
+
readonly nullable: true;
|
|
1327
|
+
};
|
|
1328
|
+
readonly pool_ids: {
|
|
1329
|
+
readonly type: "array";
|
|
1330
|
+
readonly items: {
|
|
1331
|
+
readonly type: "integer";
|
|
1332
|
+
};
|
|
1333
|
+
};
|
|
1334
|
+
readonly is_favorited: {
|
|
1335
|
+
readonly type: "boolean";
|
|
1336
|
+
};
|
|
1337
|
+
readonly file_url: {
|
|
1338
|
+
readonly type: "string";
|
|
1339
|
+
};
|
|
1340
|
+
readonly large_file_url: {
|
|
1341
|
+
readonly type: "string";
|
|
1342
|
+
};
|
|
1343
|
+
readonly preview_file_url: {
|
|
1344
|
+
readonly type: "string";
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1146
1348
|
export declare const IqdbResponseSchema: {
|
|
1147
1349
|
readonly type: "object";
|
|
1148
1350
|
readonly required: readonly ["hash", "post_id", "score", "post"];
|
|
@@ -1476,7 +1678,7 @@ export declare const PoolVersionSchema: {
|
|
|
1476
1678
|
};
|
|
1477
1679
|
export declare const PostSchema: {
|
|
1478
1680
|
readonly type: "object";
|
|
1479
|
-
readonly required: readonly ["id", "created_at", "updated_at", "
|
|
1681
|
+
readonly required: readonly ["id", "created_at", "updated_at", "change_seq", "files", "uploader_id", "uploader_name", "approver_id", "stats", "flags", "has", "relationships", "pools", "rating", "locked_tags", "sources", "description", "tags"];
|
|
1480
1682
|
readonly properties: {
|
|
1481
1683
|
readonly id: {
|
|
1482
1684
|
readonly type: "integer";
|
|
@@ -1489,187 +1691,143 @@ export declare const PostSchema: {
|
|
|
1489
1691
|
readonly type: "string";
|
|
1490
1692
|
readonly format: "date-time";
|
|
1491
1693
|
};
|
|
1492
|
-
readonly
|
|
1694
|
+
readonly change_seq: {
|
|
1695
|
+
readonly type: "integer";
|
|
1696
|
+
};
|
|
1697
|
+
readonly files: {
|
|
1493
1698
|
readonly type: "object";
|
|
1494
|
-
readonly required: readonly ["
|
|
1699
|
+
readonly required: readonly ["meta", "original", "preview", "sample"];
|
|
1495
1700
|
readonly properties: {
|
|
1496
|
-
readonly
|
|
1497
|
-
readonly type: "
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1701
|
+
readonly meta: {
|
|
1702
|
+
readonly type: "object";
|
|
1703
|
+
readonly required: readonly ["md5", "ext", "size", "duration", "has_sample"];
|
|
1704
|
+
readonly properties: {
|
|
1705
|
+
readonly md5: {
|
|
1706
|
+
readonly type: "string";
|
|
1707
|
+
};
|
|
1708
|
+
readonly ext: {
|
|
1709
|
+
readonly type: "string";
|
|
1710
|
+
};
|
|
1711
|
+
readonly size: {
|
|
1712
|
+
readonly type: "integer";
|
|
1713
|
+
readonly format: "int64";
|
|
1714
|
+
};
|
|
1715
|
+
readonly duration: {
|
|
1716
|
+
readonly type: "number";
|
|
1717
|
+
readonly format: "float";
|
|
1718
|
+
readonly nullable: true;
|
|
1719
|
+
};
|
|
1720
|
+
readonly has_sample: {
|
|
1721
|
+
readonly type: "boolean";
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1504
1724
|
};
|
|
1505
|
-
readonly
|
|
1506
|
-
readonly type: "
|
|
1507
|
-
readonly
|
|
1725
|
+
readonly original: {
|
|
1726
|
+
readonly type: "object";
|
|
1727
|
+
readonly required: readonly ["width", "height", "url"];
|
|
1728
|
+
readonly properties: {
|
|
1729
|
+
readonly width: {
|
|
1730
|
+
readonly type: "integer";
|
|
1731
|
+
};
|
|
1732
|
+
readonly height: {
|
|
1733
|
+
readonly type: "integer";
|
|
1734
|
+
};
|
|
1735
|
+
readonly url: {
|
|
1736
|
+
readonly type: "string";
|
|
1737
|
+
readonly format: "uri";
|
|
1738
|
+
readonly nullable: true;
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1508
1741
|
};
|
|
1509
|
-
readonly
|
|
1510
|
-
readonly type: "
|
|
1742
|
+
readonly preview: {
|
|
1743
|
+
readonly type: "object";
|
|
1744
|
+
readonly required: readonly ["width", "height", "jpg", "webp"];
|
|
1745
|
+
readonly properties: {
|
|
1746
|
+
readonly width: {
|
|
1747
|
+
readonly type: "integer";
|
|
1748
|
+
};
|
|
1749
|
+
readonly height: {
|
|
1750
|
+
readonly type: "integer";
|
|
1751
|
+
};
|
|
1752
|
+
readonly jpg: {
|
|
1753
|
+
readonly type: "string";
|
|
1754
|
+
readonly format: "uri";
|
|
1755
|
+
readonly nullable: true;
|
|
1756
|
+
};
|
|
1757
|
+
readonly webp: {
|
|
1758
|
+
readonly type: "string";
|
|
1759
|
+
readonly format: "uri";
|
|
1760
|
+
readonly nullable: true;
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1511
1763
|
};
|
|
1512
|
-
readonly
|
|
1513
|
-
readonly type: "
|
|
1514
|
-
readonly
|
|
1764
|
+
readonly sample: {
|
|
1765
|
+
readonly type: "object";
|
|
1766
|
+
readonly required: readonly ["width", "height", "jpg", "webp"];
|
|
1767
|
+
readonly properties: {
|
|
1768
|
+
readonly width: {
|
|
1769
|
+
readonly type: "integer";
|
|
1770
|
+
};
|
|
1771
|
+
readonly height: {
|
|
1772
|
+
readonly type: "integer";
|
|
1773
|
+
};
|
|
1774
|
+
readonly jpg: {
|
|
1775
|
+
readonly type: "string";
|
|
1776
|
+
readonly format: "uri";
|
|
1777
|
+
readonly nullable: true;
|
|
1778
|
+
};
|
|
1779
|
+
readonly webp: {
|
|
1780
|
+
readonly type: "string";
|
|
1781
|
+
readonly format: "uri";
|
|
1782
|
+
readonly nullable: true;
|
|
1783
|
+
};
|
|
1784
|
+
};
|
|
1515
1785
|
};
|
|
1516
1786
|
};
|
|
1517
1787
|
};
|
|
1518
|
-
readonly
|
|
1519
|
-
readonly type: "
|
|
1520
|
-
readonly required: readonly ["width", "height", "url"];
|
|
1521
|
-
readonly properties: {
|
|
1522
|
-
readonly width: {
|
|
1523
|
-
readonly type: "integer";
|
|
1524
|
-
};
|
|
1525
|
-
readonly height: {
|
|
1526
|
-
readonly type: "integer";
|
|
1527
|
-
};
|
|
1528
|
-
readonly url: {
|
|
1529
|
-
readonly type: "string";
|
|
1530
|
-
readonly nullable: true;
|
|
1531
|
-
};
|
|
1532
|
-
};
|
|
1788
|
+
readonly uploader_id: {
|
|
1789
|
+
readonly type: "integer";
|
|
1533
1790
|
};
|
|
1534
|
-
readonly
|
|
1791
|
+
readonly uploader_name: {
|
|
1792
|
+
readonly type: "string";
|
|
1793
|
+
};
|
|
1794
|
+
readonly approver_id: {
|
|
1795
|
+
readonly type: "integer";
|
|
1796
|
+
readonly nullable: true;
|
|
1797
|
+
};
|
|
1798
|
+
readonly stats: {
|
|
1535
1799
|
readonly type: "object";
|
|
1536
|
-
readonly required: readonly ["
|
|
1800
|
+
readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count"];
|
|
1537
1801
|
readonly properties: {
|
|
1538
|
-
readonly
|
|
1539
|
-
readonly type: "boolean";
|
|
1540
|
-
};
|
|
1541
|
-
readonly height: {
|
|
1542
|
-
readonly type: "integer";
|
|
1543
|
-
readonly nullable: true;
|
|
1544
|
-
};
|
|
1545
|
-
readonly width: {
|
|
1546
|
-
readonly type: "integer";
|
|
1547
|
-
readonly nullable: true;
|
|
1548
|
-
};
|
|
1549
|
-
readonly url: {
|
|
1550
|
-
readonly type: "string";
|
|
1551
|
-
readonly nullable: true;
|
|
1552
|
-
};
|
|
1553
|
-
readonly alternates: {
|
|
1802
|
+
readonly score: {
|
|
1554
1803
|
readonly type: "object";
|
|
1804
|
+
readonly required: readonly ["up", "down", "total"];
|
|
1555
1805
|
readonly properties: {
|
|
1556
|
-
readonly
|
|
1557
|
-
readonly type: "
|
|
1558
|
-
};
|
|
1559
|
-
readonly original: {
|
|
1560
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1806
|
+
readonly up: {
|
|
1807
|
+
readonly type: "integer";
|
|
1561
1808
|
};
|
|
1562
|
-
readonly
|
|
1563
|
-
readonly type: "
|
|
1564
|
-
readonly properties: {
|
|
1565
|
-
readonly webm: {
|
|
1566
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1567
|
-
};
|
|
1568
|
-
readonly mp4: {
|
|
1569
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1570
|
-
};
|
|
1571
|
-
};
|
|
1809
|
+
readonly down: {
|
|
1810
|
+
readonly type: "integer";
|
|
1572
1811
|
};
|
|
1573
|
-
readonly
|
|
1574
|
-
readonly type: "
|
|
1575
|
-
readonly properties: {
|
|
1576
|
-
readonly '480p': {
|
|
1577
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1578
|
-
};
|
|
1579
|
-
readonly '720p': {
|
|
1580
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1581
|
-
};
|
|
1582
|
-
};
|
|
1812
|
+
readonly total: {
|
|
1813
|
+
readonly type: "integer";
|
|
1583
1814
|
};
|
|
1584
1815
|
};
|
|
1585
1816
|
};
|
|
1586
|
-
|
|
1587
|
-
};
|
|
1588
|
-
readonly score: {
|
|
1589
|
-
readonly type: "object";
|
|
1590
|
-
readonly required: readonly ["up", "down", "total"];
|
|
1591
|
-
readonly properties: {
|
|
1592
|
-
readonly up: {
|
|
1593
|
-
readonly type: "integer";
|
|
1594
|
-
};
|
|
1595
|
-
readonly down: {
|
|
1596
|
-
readonly type: "integer";
|
|
1597
|
-
};
|
|
1598
|
-
readonly total: {
|
|
1817
|
+
readonly fav_count: {
|
|
1599
1818
|
readonly type: "integer";
|
|
1600
1819
|
};
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
readonly tags: {
|
|
1604
|
-
readonly type: "object";
|
|
1605
|
-
readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
|
|
1606
|
-
readonly properties: {
|
|
1607
|
-
readonly general: {
|
|
1608
|
-
readonly type: "array";
|
|
1609
|
-
readonly items: {
|
|
1610
|
-
readonly type: "string";
|
|
1611
|
-
};
|
|
1612
|
-
};
|
|
1613
|
-
readonly artist: {
|
|
1614
|
-
readonly type: "array";
|
|
1615
|
-
readonly items: {
|
|
1616
|
-
readonly type: "string";
|
|
1617
|
-
};
|
|
1618
|
-
};
|
|
1619
|
-
readonly copyright: {
|
|
1620
|
-
readonly type: "array";
|
|
1621
|
-
readonly items: {
|
|
1622
|
-
readonly type: "string";
|
|
1623
|
-
};
|
|
1624
|
-
};
|
|
1625
|
-
readonly character: {
|
|
1626
|
-
readonly type: "array";
|
|
1627
|
-
readonly items: {
|
|
1628
|
-
readonly type: "string";
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
readonly species: {
|
|
1632
|
-
readonly type: "array";
|
|
1633
|
-
readonly items: {
|
|
1634
|
-
readonly type: "string";
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
readonly invalid: {
|
|
1638
|
-
readonly type: "array";
|
|
1639
|
-
readonly items: {
|
|
1640
|
-
readonly type: "string";
|
|
1641
|
-
};
|
|
1642
|
-
};
|
|
1643
|
-
readonly meta: {
|
|
1644
|
-
readonly type: "array";
|
|
1645
|
-
readonly items: {
|
|
1646
|
-
readonly type: "string";
|
|
1647
|
-
};
|
|
1820
|
+
readonly is_favorited: {
|
|
1821
|
+
readonly type: "boolean";
|
|
1648
1822
|
};
|
|
1649
|
-
readonly
|
|
1650
|
-
readonly
|
|
1651
|
-
readonly items: {
|
|
1652
|
-
readonly type: "string";
|
|
1653
|
-
};
|
|
1823
|
+
readonly vote: {
|
|
1824
|
+
readonly $ref: "#/components/schemas/Comment/properties/vote";
|
|
1654
1825
|
};
|
|
1655
|
-
readonly
|
|
1656
|
-
readonly type: "
|
|
1657
|
-
readonly items: {
|
|
1658
|
-
readonly type: "string";
|
|
1659
|
-
};
|
|
1826
|
+
readonly comment_count: {
|
|
1827
|
+
readonly type: "integer";
|
|
1660
1828
|
};
|
|
1661
1829
|
};
|
|
1662
1830
|
};
|
|
1663
|
-
readonly locked_tags: {
|
|
1664
|
-
readonly type: "array";
|
|
1665
|
-
readonly nullable: true;
|
|
1666
|
-
readonly items: {
|
|
1667
|
-
readonly type: "string";
|
|
1668
|
-
};
|
|
1669
|
-
};
|
|
1670
|
-
readonly change_seq: {
|
|
1671
|
-
readonly type: "integer";
|
|
1672
|
-
};
|
|
1673
1831
|
readonly flags: {
|
|
1674
1832
|
readonly type: "object";
|
|
1675
1833
|
readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
|
|
@@ -1694,38 +1852,35 @@ export declare const PostSchema: {
|
|
|
1694
1852
|
};
|
|
1695
1853
|
};
|
|
1696
1854
|
};
|
|
1697
|
-
readonly
|
|
1698
|
-
readonly
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1855
|
+
readonly has: {
|
|
1856
|
+
readonly type: "object";
|
|
1857
|
+
readonly required: readonly ["parent", "children", "active_children", "notes", "sample"];
|
|
1858
|
+
readonly properties: {
|
|
1859
|
+
readonly parent: {
|
|
1860
|
+
readonly type: "boolean";
|
|
1861
|
+
};
|
|
1862
|
+
readonly children: {
|
|
1863
|
+
readonly type: "boolean";
|
|
1864
|
+
};
|
|
1865
|
+
readonly active_children: {
|
|
1866
|
+
readonly type: "boolean";
|
|
1867
|
+
};
|
|
1868
|
+
readonly notes: {
|
|
1869
|
+
readonly type: "boolean";
|
|
1870
|
+
};
|
|
1871
|
+
readonly sample: {
|
|
1872
|
+
readonly type: "boolean";
|
|
1873
|
+
};
|
|
1713
1874
|
};
|
|
1714
1875
|
};
|
|
1715
1876
|
readonly relationships: {
|
|
1716
1877
|
readonly type: "object";
|
|
1717
|
-
readonly required: readonly ["parent_id", "
|
|
1878
|
+
readonly required: readonly ["parent_id", "children"];
|
|
1718
1879
|
readonly properties: {
|
|
1719
1880
|
readonly parent_id: {
|
|
1720
1881
|
readonly type: "integer";
|
|
1721
1882
|
readonly nullable: true;
|
|
1722
1883
|
};
|
|
1723
|
-
readonly has_children: {
|
|
1724
|
-
readonly type: "boolean";
|
|
1725
|
-
};
|
|
1726
|
-
readonly has_active_children: {
|
|
1727
|
-
readonly type: "boolean";
|
|
1728
|
-
};
|
|
1729
1884
|
readonly children: {
|
|
1730
1885
|
readonly type: "array";
|
|
1731
1886
|
readonly items: {
|
|
@@ -1734,31 +1889,28 @@ export declare const PostSchema: {
|
|
|
1734
1889
|
};
|
|
1735
1890
|
};
|
|
1736
1891
|
};
|
|
1737
|
-
readonly
|
|
1738
|
-
readonly type: "
|
|
1739
|
-
readonly
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
readonly type: "integer";
|
|
1743
|
-
};
|
|
1744
|
-
readonly description: {
|
|
1745
|
-
readonly type: "string";
|
|
1746
|
-
};
|
|
1747
|
-
readonly comment_count: {
|
|
1748
|
-
readonly type: "integer";
|
|
1892
|
+
readonly pools: {
|
|
1893
|
+
readonly type: "array";
|
|
1894
|
+
readonly items: {
|
|
1895
|
+
readonly type: "integer";
|
|
1896
|
+
};
|
|
1749
1897
|
};
|
|
1750
|
-
readonly
|
|
1751
|
-
readonly
|
|
1898
|
+
readonly rating: {
|
|
1899
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
1752
1900
|
};
|
|
1753
|
-
readonly
|
|
1754
|
-
readonly type: "
|
|
1901
|
+
readonly locked_tags: {
|
|
1902
|
+
readonly type: "array";
|
|
1903
|
+
readonly items: {
|
|
1904
|
+
readonly type: "string";
|
|
1905
|
+
};
|
|
1755
1906
|
};
|
|
1756
|
-
readonly
|
|
1757
|
-
readonly type: "
|
|
1758
|
-
readonly
|
|
1759
|
-
|
|
1907
|
+
readonly sources: {
|
|
1908
|
+
readonly type: "array";
|
|
1909
|
+
readonly items: {
|
|
1910
|
+
readonly type: "string";
|
|
1911
|
+
};
|
|
1760
1912
|
};
|
|
1761
|
-
readonly
|
|
1913
|
+
readonly description: {
|
|
1762
1914
|
readonly type: "string";
|
|
1763
1915
|
};
|
|
1764
1916
|
};
|
|
@@ -2165,10 +2317,7 @@ export declare const TagSchema: {
|
|
|
2165
2317
|
readonly type: "integer";
|
|
2166
2318
|
};
|
|
2167
2319
|
readonly related_tags: {
|
|
2168
|
-
readonly type: "
|
|
2169
|
-
readonly items: {
|
|
2170
|
-
readonly type: "string";
|
|
2171
|
-
};
|
|
2320
|
+
readonly type: "string";
|
|
2172
2321
|
};
|
|
2173
2322
|
readonly related_tags_updated_at: {
|
|
2174
2323
|
readonly type: "string";
|
|
@@ -2552,7 +2701,7 @@ export declare const UploadSchema: {
|
|
|
2552
2701
|
};
|
|
2553
2702
|
export declare const UserSchema: {
|
|
2554
2703
|
readonly type: "object";
|
|
2555
|
-
readonly required: readonly ["id", "created_at", "name", "level", "base_upload_limit", "post_upload_count", "post_update_count", "note_update_count", "is_banned", "can_approve_posts", "can_upload_free", "level_string", "avatar_id"];
|
|
2704
|
+
readonly required: readonly ["id", "created_at", "name", "level", "base_upload_limit", "post_upload_count", "post_update_count", "note_update_count", "is_banned", "can_approve_posts", "can_upload_free", "level_string", "avatar_id", "has_cropped_avatar"];
|
|
2556
2705
|
readonly properties: {
|
|
2557
2706
|
readonly id: {
|
|
2558
2707
|
readonly type: "integer";
|
|
@@ -2565,7 +2714,7 @@ export declare const UserSchema: {
|
|
|
2565
2714
|
readonly type: "string";
|
|
2566
2715
|
};
|
|
2567
2716
|
readonly level: {
|
|
2568
|
-
readonly
|
|
2717
|
+
readonly $ref: "#/components/schemas/UserLevels";
|
|
2569
2718
|
};
|
|
2570
2719
|
readonly base_upload_limit: {
|
|
2571
2720
|
readonly type: "integer";
|
|
@@ -2589,7 +2738,7 @@ export declare const UserSchema: {
|
|
|
2589
2738
|
readonly type: "boolean";
|
|
2590
2739
|
};
|
|
2591
2740
|
readonly level_string: {
|
|
2592
|
-
readonly
|
|
2741
|
+
readonly $ref: "#/components/schemas/UserLevelsNames";
|
|
2593
2742
|
};
|
|
2594
2743
|
readonly avatar_id: {
|
|
2595
2744
|
readonly type: "integer";
|
|
@@ -2598,6 +2747,14 @@ export declare const UserSchema: {
|
|
|
2598
2747
|
readonly is_verified: {
|
|
2599
2748
|
readonly type: "boolean";
|
|
2600
2749
|
};
|
|
2750
|
+
readonly has_cropped_avatar: {
|
|
2751
|
+
readonly type: "boolean";
|
|
2752
|
+
};
|
|
2753
|
+
readonly last_logged_in_at: {
|
|
2754
|
+
readonly type: "string";
|
|
2755
|
+
readonly format: "date-time";
|
|
2756
|
+
readonly description: "Only visible to Admin+.";
|
|
2757
|
+
};
|
|
2601
2758
|
};
|
|
2602
2759
|
};
|
|
2603
2760
|
export declare const UserFeedbackSchema: {
|
|
@@ -2720,6 +2877,12 @@ export declare const WikiPageSchema: {
|
|
|
2720
2877
|
readonly category_id: {
|
|
2721
2878
|
readonly $ref: "#/components/schemas/TagCategories";
|
|
2722
2879
|
};
|
|
2880
|
+
readonly featured_posts: {
|
|
2881
|
+
readonly type: "array";
|
|
2882
|
+
readonly items: {
|
|
2883
|
+
readonly type: "integer";
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2723
2886
|
};
|
|
2724
2887
|
};
|
|
2725
2888
|
export declare const WikiPageVersionSchema: {
|
|
@@ -2769,6 +2932,12 @@ export declare const WikiPageVersionSchema: {
|
|
|
2769
2932
|
readonly type: "string";
|
|
2770
2933
|
readonly nullable: true;
|
|
2771
2934
|
};
|
|
2935
|
+
readonly featured_posts: {
|
|
2936
|
+
readonly type: "array";
|
|
2937
|
+
readonly items: {
|
|
2938
|
+
readonly type: "integer";
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2772
2941
|
};
|
|
2773
2942
|
};
|
|
2774
2943
|
export declare const ApiKeySchema: {
|
|
@@ -3003,12 +3172,10 @@ export declare const PostRecommendationSchema: {
|
|
|
3003
3172
|
readonly type: "integer";
|
|
3004
3173
|
};
|
|
3005
3174
|
readonly score: {
|
|
3006
|
-
readonly description: "Currently hardcoded as 1, https://github.com/e621ng/e621ng/blob/5f83e77329d4074c5462c7516c3850f33125f441/app/controllers/posts_controller.rb#L177\n";
|
|
3007
3175
|
readonly type: "number";
|
|
3008
3176
|
readonly format: "float";
|
|
3009
3177
|
};
|
|
3010
3178
|
readonly explanation: {
|
|
3011
|
-
readonly description: "Currently hardcoded as null, https://github.com/e621ng/e621ng/blob/5f83e77329d4074c5462c7516c3850f33125f441/app/controllers/posts_controller.rb#L178\n";
|
|
3012
3179
|
readonly type: "string";
|
|
3013
3180
|
readonly nullable: true;
|
|
3014
3181
|
};
|
|
@@ -3016,14 +3183,13 @@ export declare const PostRecommendationSchema: {
|
|
|
3016
3183
|
};
|
|
3017
3184
|
export declare const RecommendedPostsSchema: {
|
|
3018
3185
|
readonly type: "object";
|
|
3019
|
-
readonly required: readonly ["post_id", "model_version", "results"];
|
|
3186
|
+
readonly required: readonly ["post_id", "model_version", "results", "post_data"];
|
|
3020
3187
|
readonly properties: {
|
|
3021
3188
|
readonly post_id: {
|
|
3022
3189
|
readonly type: "integer";
|
|
3023
3190
|
};
|
|
3024
3191
|
readonly model_version: {
|
|
3025
3192
|
readonly type: "string";
|
|
3026
|
-
readonly enum: readonly ["opensearch"];
|
|
3027
3193
|
};
|
|
3028
3194
|
readonly results: {
|
|
3029
3195
|
readonly type: "array";
|
|
@@ -3067,3 +3233,810 @@ export declare const UpDownMehVoteSchema: {
|
|
|
3067
3233
|
readonly type: "integer";
|
|
3068
3234
|
readonly enum: readonly [1, 0, -1];
|
|
3069
3235
|
};
|
|
3236
|
+
export declare const MinimalUserSchema: {
|
|
3237
|
+
readonly type: "object";
|
|
3238
|
+
readonly required: readonly ["id", "name", "level_string", "favorite_count"];
|
|
3239
|
+
readonly properties: {
|
|
3240
|
+
readonly id: {
|
|
3241
|
+
readonly type: "integer";
|
|
3242
|
+
};
|
|
3243
|
+
readonly name: {
|
|
3244
|
+
readonly type: "string";
|
|
3245
|
+
};
|
|
3246
|
+
readonly level_string: {
|
|
3247
|
+
readonly $ref: "#/components/schemas/UserLevelsNames";
|
|
3248
|
+
};
|
|
3249
|
+
readonly favorite_count: {
|
|
3250
|
+
readonly type: "integer";
|
|
3251
|
+
};
|
|
3252
|
+
};
|
|
3253
|
+
};
|
|
3254
|
+
export declare const ThumbnailPostSchema: {
|
|
3255
|
+
readonly type: "object";
|
|
3256
|
+
readonly required: readonly ["id", "created_at", "md5", "file_ext", "width", "height", "size", "preview_url", "preview_webp", "sample_url", "file_url", "preview_width", "preview_height", "uploader_id", "uploader", "score", "fav_count", "is_favorited", "vote", "comment_count", "flags", "pools", "rating", "tags"];
|
|
3257
|
+
readonly properties: {
|
|
3258
|
+
readonly id: {
|
|
3259
|
+
readonly type: "integer";
|
|
3260
|
+
};
|
|
3261
|
+
readonly created_at: {
|
|
3262
|
+
readonly type: "string";
|
|
3263
|
+
readonly format: "date-time";
|
|
3264
|
+
};
|
|
3265
|
+
readonly md5: {
|
|
3266
|
+
readonly type: "string";
|
|
3267
|
+
};
|
|
3268
|
+
readonly file_ext: {
|
|
3269
|
+
readonly type: "string";
|
|
3270
|
+
};
|
|
3271
|
+
readonly width: {
|
|
3272
|
+
readonly type: "integer";
|
|
3273
|
+
};
|
|
3274
|
+
readonly height: {
|
|
3275
|
+
readonly type: "integer";
|
|
3276
|
+
};
|
|
3277
|
+
readonly size: {
|
|
3278
|
+
readonly type: "integer";
|
|
3279
|
+
readonly format: "int64";
|
|
3280
|
+
};
|
|
3281
|
+
readonly preview_url: {
|
|
3282
|
+
readonly type: "string";
|
|
3283
|
+
readonly format: "uri";
|
|
3284
|
+
readonly nullable: true;
|
|
3285
|
+
};
|
|
3286
|
+
readonly preview_webp: {
|
|
3287
|
+
readonly type: "string";
|
|
3288
|
+
readonly format: "uri";
|
|
3289
|
+
readonly nullable: true;
|
|
3290
|
+
};
|
|
3291
|
+
readonly sample_url: {
|
|
3292
|
+
readonly type: "string";
|
|
3293
|
+
readonly format: "uri";
|
|
3294
|
+
readonly nullable: true;
|
|
3295
|
+
};
|
|
3296
|
+
readonly file_url: {
|
|
3297
|
+
readonly type: "string";
|
|
3298
|
+
readonly format: "uri";
|
|
3299
|
+
readonly nullable: true;
|
|
3300
|
+
};
|
|
3301
|
+
readonly preview_width: {
|
|
3302
|
+
readonly type: "integer";
|
|
3303
|
+
};
|
|
3304
|
+
readonly preview_height: {
|
|
3305
|
+
readonly type: "integer";
|
|
3306
|
+
};
|
|
3307
|
+
readonly uploader_id: {
|
|
3308
|
+
readonly type: "integer";
|
|
3309
|
+
};
|
|
3310
|
+
readonly uploader: {
|
|
3311
|
+
readonly type: "string";
|
|
3312
|
+
};
|
|
3313
|
+
readonly score: {
|
|
3314
|
+
readonly type: "integer";
|
|
3315
|
+
};
|
|
3316
|
+
readonly fav_count: {
|
|
3317
|
+
readonly type: "integer";
|
|
3318
|
+
};
|
|
3319
|
+
readonly is_favorited: {
|
|
3320
|
+
readonly type: "boolean";
|
|
3321
|
+
};
|
|
3322
|
+
readonly vote: {
|
|
3323
|
+
readonly $ref: "#/components/schemas/Comment/properties/vote";
|
|
3324
|
+
};
|
|
3325
|
+
readonly comment_count: {
|
|
3326
|
+
readonly type: "integer";
|
|
3327
|
+
};
|
|
3328
|
+
readonly flags: {
|
|
3329
|
+
readonly type: "string";
|
|
3330
|
+
readonly description: "space separated list of flags:\n- pending\n- flagged\n- deleted\n";
|
|
3331
|
+
};
|
|
3332
|
+
readonly pools: {
|
|
3333
|
+
readonly type: "string";
|
|
3334
|
+
readonly description: "space separated list of ids";
|
|
3335
|
+
};
|
|
3336
|
+
readonly rating: {
|
|
3337
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
3338
|
+
};
|
|
3339
|
+
readonly tags: {
|
|
3340
|
+
readonly type: "string";
|
|
3341
|
+
};
|
|
3342
|
+
};
|
|
3343
|
+
};
|
|
3344
|
+
export declare const PostDataSchema: {
|
|
3345
|
+
readonly type: "object";
|
|
3346
|
+
readonly required: readonly ["post_data"];
|
|
3347
|
+
readonly properties: {
|
|
3348
|
+
readonly post_data: {
|
|
3349
|
+
readonly type: "array";
|
|
3350
|
+
readonly items: {
|
|
3351
|
+
readonly $ref: "#/components/schemas/ThumbnailPost";
|
|
3352
|
+
};
|
|
3353
|
+
};
|
|
3354
|
+
};
|
|
3355
|
+
};
|
|
3356
|
+
export declare const CommentVoteSchema: {
|
|
3357
|
+
readonly type: "object";
|
|
3358
|
+
readonly required: readonly ["id", "comment_id", "user_id", "score", "created_at", "updated_at"];
|
|
3359
|
+
readonly properties: {
|
|
3360
|
+
readonly id: {
|
|
3361
|
+
readonly type: "integer";
|
|
3362
|
+
};
|
|
3363
|
+
readonly comment_id: {
|
|
3364
|
+
readonly type: "integer";
|
|
3365
|
+
};
|
|
3366
|
+
readonly user_id: {
|
|
3367
|
+
readonly type: "integer";
|
|
3368
|
+
};
|
|
3369
|
+
readonly score: {
|
|
3370
|
+
readonly $ref: "#/components/schemas/UpDownVote";
|
|
3371
|
+
};
|
|
3372
|
+
readonly created_at: {
|
|
3373
|
+
readonly type: "string";
|
|
3374
|
+
readonly format: "date-time";
|
|
3375
|
+
};
|
|
3376
|
+
readonly updated_at: {
|
|
3377
|
+
readonly type: "string";
|
|
3378
|
+
readonly format: "date-time";
|
|
3379
|
+
};
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3382
|
+
export declare const LegacyPostSchema: {
|
|
3383
|
+
readonly type: "object";
|
|
3384
|
+
readonly required: readonly ["id", "created_at", "updated_at", "file", "preview", "sample", "score", "tags", "locked_tags", "change_seq", "flags", "rating", "fav_count", "sources", "pools", "relationships", "approver_id", "uploader_id", "description", "comment_count", "is_favorited", "has_notes", "duration", "uploader_name", "vote"];
|
|
3385
|
+
readonly properties: {
|
|
3386
|
+
readonly id: {
|
|
3387
|
+
readonly type: "integer";
|
|
3388
|
+
};
|
|
3389
|
+
readonly created_at: {
|
|
3390
|
+
readonly type: "string";
|
|
3391
|
+
readonly format: "date-time";
|
|
3392
|
+
};
|
|
3393
|
+
readonly updated_at: {
|
|
3394
|
+
readonly type: "string";
|
|
3395
|
+
readonly format: "date-time";
|
|
3396
|
+
};
|
|
3397
|
+
readonly file: {
|
|
3398
|
+
readonly type: "object";
|
|
3399
|
+
readonly required: readonly ["width", "height", "ext", "size", "md5", "url"];
|
|
3400
|
+
readonly properties: {
|
|
3401
|
+
readonly width: {
|
|
3402
|
+
readonly type: "integer";
|
|
3403
|
+
};
|
|
3404
|
+
readonly height: {
|
|
3405
|
+
readonly type: "integer";
|
|
3406
|
+
};
|
|
3407
|
+
readonly ext: {
|
|
3408
|
+
readonly type: "string";
|
|
3409
|
+
};
|
|
3410
|
+
readonly size: {
|
|
3411
|
+
readonly type: "integer";
|
|
3412
|
+
readonly format: "int64";
|
|
3413
|
+
};
|
|
3414
|
+
readonly md5: {
|
|
3415
|
+
readonly type: "string";
|
|
3416
|
+
};
|
|
3417
|
+
readonly url: {
|
|
3418
|
+
readonly type: "string";
|
|
3419
|
+
readonly nullable: true;
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
readonly preview: {
|
|
3424
|
+
readonly type: "object";
|
|
3425
|
+
readonly required: readonly ["width", "height", "url"];
|
|
3426
|
+
readonly properties: {
|
|
3427
|
+
readonly width: {
|
|
3428
|
+
readonly type: "integer";
|
|
3429
|
+
};
|
|
3430
|
+
readonly height: {
|
|
3431
|
+
readonly type: "integer";
|
|
3432
|
+
};
|
|
3433
|
+
readonly url: {
|
|
3434
|
+
readonly type: "string";
|
|
3435
|
+
readonly nullable: true;
|
|
3436
|
+
};
|
|
3437
|
+
};
|
|
3438
|
+
};
|
|
3439
|
+
readonly sample: {
|
|
3440
|
+
readonly type: "object";
|
|
3441
|
+
readonly required: readonly ["has", "height", "width", "url", "alternates"];
|
|
3442
|
+
readonly properties: {
|
|
3443
|
+
readonly has: {
|
|
3444
|
+
readonly type: "boolean";
|
|
3445
|
+
};
|
|
3446
|
+
readonly height: {
|
|
3447
|
+
readonly type: "integer";
|
|
3448
|
+
readonly nullable: true;
|
|
3449
|
+
};
|
|
3450
|
+
readonly width: {
|
|
3451
|
+
readonly type: "integer";
|
|
3452
|
+
readonly nullable: true;
|
|
3453
|
+
};
|
|
3454
|
+
readonly url: {
|
|
3455
|
+
readonly type: "string";
|
|
3456
|
+
readonly nullable: true;
|
|
3457
|
+
};
|
|
3458
|
+
readonly alternates: {
|
|
3459
|
+
readonly type: "object";
|
|
3460
|
+
readonly properties: {
|
|
3461
|
+
readonly has: {
|
|
3462
|
+
readonly type: "boolean";
|
|
3463
|
+
};
|
|
3464
|
+
readonly original: {
|
|
3465
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
3466
|
+
};
|
|
3467
|
+
readonly variants: {
|
|
3468
|
+
readonly type: "object";
|
|
3469
|
+
readonly properties: {
|
|
3470
|
+
readonly webm: {
|
|
3471
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
3472
|
+
};
|
|
3473
|
+
readonly mp4: {
|
|
3474
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
};
|
|
3478
|
+
readonly samples: {
|
|
3479
|
+
readonly type: "object";
|
|
3480
|
+
readonly properties: {
|
|
3481
|
+
readonly '480p': {
|
|
3482
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
3483
|
+
};
|
|
3484
|
+
readonly '720p': {
|
|
3485
|
+
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
3486
|
+
};
|
|
3487
|
+
};
|
|
3488
|
+
};
|
|
3489
|
+
};
|
|
3490
|
+
};
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
readonly score: {
|
|
3494
|
+
readonly type: "object";
|
|
3495
|
+
readonly required: readonly ["up", "down", "total"];
|
|
3496
|
+
readonly properties: {
|
|
3497
|
+
readonly up: {
|
|
3498
|
+
readonly type: "integer";
|
|
3499
|
+
};
|
|
3500
|
+
readonly down: {
|
|
3501
|
+
readonly type: "integer";
|
|
3502
|
+
};
|
|
3503
|
+
readonly total: {
|
|
3504
|
+
readonly type: "integer";
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3508
|
+
readonly tags: {
|
|
3509
|
+
readonly type: "object";
|
|
3510
|
+
readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
|
|
3511
|
+
readonly properties: {
|
|
3512
|
+
readonly general: {
|
|
3513
|
+
readonly type: "array";
|
|
3514
|
+
readonly items: {
|
|
3515
|
+
readonly type: "string";
|
|
3516
|
+
};
|
|
3517
|
+
};
|
|
3518
|
+
readonly artist: {
|
|
3519
|
+
readonly type: "array";
|
|
3520
|
+
readonly items: {
|
|
3521
|
+
readonly type: "string";
|
|
3522
|
+
};
|
|
3523
|
+
};
|
|
3524
|
+
readonly copyright: {
|
|
3525
|
+
readonly type: "array";
|
|
3526
|
+
readonly items: {
|
|
3527
|
+
readonly type: "string";
|
|
3528
|
+
};
|
|
3529
|
+
};
|
|
3530
|
+
readonly character: {
|
|
3531
|
+
readonly type: "array";
|
|
3532
|
+
readonly items: {
|
|
3533
|
+
readonly type: "string";
|
|
3534
|
+
};
|
|
3535
|
+
};
|
|
3536
|
+
readonly species: {
|
|
3537
|
+
readonly type: "array";
|
|
3538
|
+
readonly items: {
|
|
3539
|
+
readonly type: "string";
|
|
3540
|
+
};
|
|
3541
|
+
};
|
|
3542
|
+
readonly invalid: {
|
|
3543
|
+
readonly type: "array";
|
|
3544
|
+
readonly items: {
|
|
3545
|
+
readonly type: "string";
|
|
3546
|
+
};
|
|
3547
|
+
};
|
|
3548
|
+
readonly meta: {
|
|
3549
|
+
readonly type: "array";
|
|
3550
|
+
readonly items: {
|
|
3551
|
+
readonly type: "string";
|
|
3552
|
+
};
|
|
3553
|
+
};
|
|
3554
|
+
readonly lore: {
|
|
3555
|
+
readonly type: "array";
|
|
3556
|
+
readonly items: {
|
|
3557
|
+
readonly type: "string";
|
|
3558
|
+
};
|
|
3559
|
+
};
|
|
3560
|
+
readonly contributor: {
|
|
3561
|
+
readonly type: "array";
|
|
3562
|
+
readonly items: {
|
|
3563
|
+
readonly type: "string";
|
|
3564
|
+
};
|
|
3565
|
+
};
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
readonly locked_tags: {
|
|
3569
|
+
readonly type: "array";
|
|
3570
|
+
readonly nullable: true;
|
|
3571
|
+
readonly items: {
|
|
3572
|
+
readonly type: "string";
|
|
3573
|
+
};
|
|
3574
|
+
};
|
|
3575
|
+
readonly change_seq: {
|
|
3576
|
+
readonly type: "integer";
|
|
3577
|
+
};
|
|
3578
|
+
readonly flags: {
|
|
3579
|
+
readonly type: "object";
|
|
3580
|
+
readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
|
|
3581
|
+
readonly properties: {
|
|
3582
|
+
readonly pending: {
|
|
3583
|
+
readonly type: "boolean";
|
|
3584
|
+
};
|
|
3585
|
+
readonly flagged: {
|
|
3586
|
+
readonly type: "boolean";
|
|
3587
|
+
};
|
|
3588
|
+
readonly note_locked: {
|
|
3589
|
+
readonly type: "boolean";
|
|
3590
|
+
};
|
|
3591
|
+
readonly status_locked: {
|
|
3592
|
+
readonly type: "boolean";
|
|
3593
|
+
};
|
|
3594
|
+
readonly rating_locked: {
|
|
3595
|
+
readonly type: "boolean";
|
|
3596
|
+
};
|
|
3597
|
+
readonly deleted: {
|
|
3598
|
+
readonly type: "boolean";
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
};
|
|
3602
|
+
readonly rating: {
|
|
3603
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
3604
|
+
};
|
|
3605
|
+
readonly fav_count: {
|
|
3606
|
+
readonly type: "integer";
|
|
3607
|
+
};
|
|
3608
|
+
readonly sources: {
|
|
3609
|
+
readonly type: "array";
|
|
3610
|
+
readonly items: {
|
|
3611
|
+
readonly type: "string";
|
|
3612
|
+
};
|
|
3613
|
+
};
|
|
3614
|
+
readonly pools: {
|
|
3615
|
+
readonly type: "array";
|
|
3616
|
+
readonly items: {
|
|
3617
|
+
readonly type: "integer";
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
readonly relationships: {
|
|
3621
|
+
readonly type: "object";
|
|
3622
|
+
readonly required: readonly ["parent_id", "has_children", "has_active_children", "children"];
|
|
3623
|
+
readonly properties: {
|
|
3624
|
+
readonly parent_id: {
|
|
3625
|
+
readonly type: "integer";
|
|
3626
|
+
readonly nullable: true;
|
|
3627
|
+
};
|
|
3628
|
+
readonly has_children: {
|
|
3629
|
+
readonly type: "boolean";
|
|
3630
|
+
};
|
|
3631
|
+
readonly has_active_children: {
|
|
3632
|
+
readonly type: "boolean";
|
|
3633
|
+
};
|
|
3634
|
+
readonly children: {
|
|
3635
|
+
readonly type: "array";
|
|
3636
|
+
readonly items: {
|
|
3637
|
+
readonly type: "integer";
|
|
3638
|
+
};
|
|
3639
|
+
};
|
|
3640
|
+
};
|
|
3641
|
+
};
|
|
3642
|
+
readonly approver_id: {
|
|
3643
|
+
readonly type: "integer";
|
|
3644
|
+
readonly nullable: true;
|
|
3645
|
+
};
|
|
3646
|
+
readonly uploader_id: {
|
|
3647
|
+
readonly type: "integer";
|
|
3648
|
+
};
|
|
3649
|
+
readonly description: {
|
|
3650
|
+
readonly type: "string";
|
|
3651
|
+
};
|
|
3652
|
+
readonly comment_count: {
|
|
3653
|
+
readonly type: "integer";
|
|
3654
|
+
};
|
|
3655
|
+
readonly is_favorited: {
|
|
3656
|
+
readonly type: "boolean";
|
|
3657
|
+
};
|
|
3658
|
+
readonly has_notes: {
|
|
3659
|
+
readonly type: "boolean";
|
|
3660
|
+
};
|
|
3661
|
+
readonly duration: {
|
|
3662
|
+
readonly type: "number";
|
|
3663
|
+
readonly format: "float";
|
|
3664
|
+
readonly nullable: true;
|
|
3665
|
+
};
|
|
3666
|
+
readonly uploader_name: {
|
|
3667
|
+
readonly type: "string";
|
|
3668
|
+
};
|
|
3669
|
+
readonly vote: {
|
|
3670
|
+
readonly $ref: "#/components/schemas/Comment/properties/vote";
|
|
3671
|
+
};
|
|
3672
|
+
};
|
|
3673
|
+
};
|
|
3674
|
+
export declare const BasicPostSchema: {
|
|
3675
|
+
readonly allOf: readonly [{
|
|
3676
|
+
readonly $ref: "#/components/schemas/Post";
|
|
3677
|
+
}, {
|
|
3678
|
+
readonly type: "object";
|
|
3679
|
+
readonly required: readonly ["tags"];
|
|
3680
|
+
readonly properties: {
|
|
3681
|
+
readonly tags: {
|
|
3682
|
+
readonly type: "array";
|
|
3683
|
+
readonly items: {
|
|
3684
|
+
readonly type: "string";
|
|
3685
|
+
};
|
|
3686
|
+
};
|
|
3687
|
+
};
|
|
3688
|
+
}];
|
|
3689
|
+
};
|
|
3690
|
+
export declare const ExtendedPostSchema: {
|
|
3691
|
+
readonly allOf: readonly [{
|
|
3692
|
+
readonly $ref: "#/components/schemas/Post";
|
|
3693
|
+
}, {
|
|
3694
|
+
readonly type: "object";
|
|
3695
|
+
readonly required: readonly ["tags"];
|
|
3696
|
+
readonly properties: {
|
|
3697
|
+
readonly tags: {
|
|
3698
|
+
readonly type: "object";
|
|
3699
|
+
readonly required: readonly ["general", "artist", "contributor", "copyright", "character", "species", "invalid", "meta", "lore"];
|
|
3700
|
+
readonly properties: {
|
|
3701
|
+
readonly general: {
|
|
3702
|
+
readonly type: "array";
|
|
3703
|
+
readonly items: {
|
|
3704
|
+
readonly type: "string";
|
|
3705
|
+
};
|
|
3706
|
+
};
|
|
3707
|
+
readonly artist: {
|
|
3708
|
+
readonly type: "array";
|
|
3709
|
+
readonly items: {
|
|
3710
|
+
readonly type: "string";
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
readonly contributor: {
|
|
3714
|
+
readonly type: "array";
|
|
3715
|
+
readonly items: {
|
|
3716
|
+
readonly type: "string";
|
|
3717
|
+
};
|
|
3718
|
+
};
|
|
3719
|
+
readonly copyright: {
|
|
3720
|
+
readonly type: "array";
|
|
3721
|
+
readonly items: {
|
|
3722
|
+
readonly type: "string";
|
|
3723
|
+
};
|
|
3724
|
+
};
|
|
3725
|
+
readonly character: {
|
|
3726
|
+
readonly type: "array";
|
|
3727
|
+
readonly items: {
|
|
3728
|
+
readonly type: "string";
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
readonly species: {
|
|
3732
|
+
readonly type: "array";
|
|
3733
|
+
readonly items: {
|
|
3734
|
+
readonly type: "string";
|
|
3735
|
+
};
|
|
3736
|
+
};
|
|
3737
|
+
readonly invalid: {
|
|
3738
|
+
readonly type: "array";
|
|
3739
|
+
readonly items: {
|
|
3740
|
+
readonly type: "string";
|
|
3741
|
+
};
|
|
3742
|
+
};
|
|
3743
|
+
readonly meta: {
|
|
3744
|
+
readonly type: "array";
|
|
3745
|
+
readonly items: {
|
|
3746
|
+
readonly type: "string";
|
|
3747
|
+
};
|
|
3748
|
+
};
|
|
3749
|
+
readonly lore: {
|
|
3750
|
+
readonly type: "array";
|
|
3751
|
+
readonly items: {
|
|
3752
|
+
readonly type: "string";
|
|
3753
|
+
};
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
};
|
|
3757
|
+
};
|
|
3758
|
+
}];
|
|
3759
|
+
};
|
|
3760
|
+
export declare const ExceptionLogSchema: {
|
|
3761
|
+
readonly type: "object";
|
|
3762
|
+
readonly required: readonly ["id", "created_at", "updated_at", "class_name", "version", "extra_params", "message", "trace", "code", "user_id"];
|
|
3763
|
+
readonly properties: {
|
|
3764
|
+
readonly id: {
|
|
3765
|
+
readonly type: "integer";
|
|
3766
|
+
};
|
|
3767
|
+
readonly created_at: {
|
|
3768
|
+
readonly type: "string";
|
|
3769
|
+
readonly format: "date-time";
|
|
3770
|
+
};
|
|
3771
|
+
readonly updated_at: {
|
|
3772
|
+
readonly type: "string";
|
|
3773
|
+
readonly format: "date-time";
|
|
3774
|
+
};
|
|
3775
|
+
readonly class_name: {
|
|
3776
|
+
readonly type: "string";
|
|
3777
|
+
};
|
|
3778
|
+
readonly version: {
|
|
3779
|
+
readonly type: "string";
|
|
3780
|
+
};
|
|
3781
|
+
readonly extra_params: {
|
|
3782
|
+
readonly type: "object";
|
|
3783
|
+
};
|
|
3784
|
+
readonly message: {
|
|
3785
|
+
readonly type: "string";
|
|
3786
|
+
};
|
|
3787
|
+
readonly trace: {
|
|
3788
|
+
readonly type: "string";
|
|
3789
|
+
};
|
|
3790
|
+
readonly code: {
|
|
3791
|
+
readonly type: "string";
|
|
3792
|
+
readonly format: "uuid";
|
|
3793
|
+
};
|
|
3794
|
+
readonly user_id: {
|
|
3795
|
+
readonly type: "integer";
|
|
3796
|
+
};
|
|
3797
|
+
};
|
|
3798
|
+
};
|
|
3799
|
+
export declare const AppealSchema: {
|
|
3800
|
+
readonly type: "object";
|
|
3801
|
+
readonly required: readonly ["id", "disp_id", "qtype", "status", "handler_id", "created_at", "updated_at"];
|
|
3802
|
+
readonly properties: {
|
|
3803
|
+
readonly id: {
|
|
3804
|
+
readonly type: "integer";
|
|
3805
|
+
};
|
|
3806
|
+
readonly creator_id: {
|
|
3807
|
+
readonly type: "integer";
|
|
3808
|
+
};
|
|
3809
|
+
readonly disp_id: {
|
|
3810
|
+
readonly type: "string";
|
|
3811
|
+
};
|
|
3812
|
+
readonly qtype: {
|
|
3813
|
+
readonly type: "string";
|
|
3814
|
+
readonly enum: readonly ["flag"];
|
|
3815
|
+
};
|
|
3816
|
+
readonly status: {
|
|
3817
|
+
readonly type: "string";
|
|
3818
|
+
readonly enum: readonly ["pending", "partial", "approved", "rejected"];
|
|
3819
|
+
};
|
|
3820
|
+
readonly reason: {
|
|
3821
|
+
readonly type: "string";
|
|
3822
|
+
};
|
|
3823
|
+
readonly response: {
|
|
3824
|
+
readonly type: "string";
|
|
3825
|
+
};
|
|
3826
|
+
readonly claimant_id: {
|
|
3827
|
+
readonly type: "integer";
|
|
3828
|
+
readonly nullable: true;
|
|
3829
|
+
};
|
|
3830
|
+
readonly handler_id: {
|
|
3831
|
+
readonly type: "integer";
|
|
3832
|
+
readonly nullable: true;
|
|
3833
|
+
};
|
|
3834
|
+
readonly accused_id: {
|
|
3835
|
+
readonly type: "integer";
|
|
3836
|
+
};
|
|
3837
|
+
readonly created_at: {
|
|
3838
|
+
readonly type: "string";
|
|
3839
|
+
readonly format: "date-time";
|
|
3840
|
+
};
|
|
3841
|
+
readonly updated_at: {
|
|
3842
|
+
readonly type: "string";
|
|
3843
|
+
readonly format: "date-time";
|
|
3844
|
+
};
|
|
3845
|
+
};
|
|
3846
|
+
};
|
|
3847
|
+
export declare const DBExportSchema: {
|
|
3848
|
+
readonly type: "object";
|
|
3849
|
+
readonly required: readonly ["name", "file_name", "file_size", "updated_at", "url", "checksum"];
|
|
3850
|
+
readonly properties: {
|
|
3851
|
+
readonly name: {
|
|
3852
|
+
readonly $ref: "#/components/schemas/DBExportNames";
|
|
3853
|
+
};
|
|
3854
|
+
readonly file_name: {
|
|
3855
|
+
readonly type: "string";
|
|
3856
|
+
};
|
|
3857
|
+
readonly file_size: {
|
|
3858
|
+
readonly type: "integer";
|
|
3859
|
+
};
|
|
3860
|
+
readonly updated_at: {
|
|
3861
|
+
readonly type: "string";
|
|
3862
|
+
readonly format: "date-time";
|
|
3863
|
+
};
|
|
3864
|
+
readonly url: {
|
|
3865
|
+
readonly type: "string";
|
|
3866
|
+
readonly format: "uri";
|
|
3867
|
+
};
|
|
3868
|
+
readonly checksum: {
|
|
3869
|
+
readonly type: "string";
|
|
3870
|
+
readonly description: "SHA-256";
|
|
3871
|
+
};
|
|
3872
|
+
};
|
|
3873
|
+
};
|
|
3874
|
+
export declare const DBExportNamesSchema: {
|
|
3875
|
+
readonly type: "string";
|
|
3876
|
+
readonly enum: readonly ["artists", "bulk_update_requests", "pools", "post_replacements", "posts", "post_versions", "tag_aliases", "tag_implications", "tags", "wiki_pages"];
|
|
3877
|
+
};
|
|
3878
|
+
export declare const UserLevelsSchema: {
|
|
3879
|
+
readonly type: "integer";
|
|
3880
|
+
readonly enum: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80];
|
|
3881
|
+
};
|
|
3882
|
+
export declare const UserLevelsNamesSchema: {
|
|
3883
|
+
readonly type: "string";
|
|
3884
|
+
readonly enum: readonly ["Anonymous", "Blocked", "Member", "Privileged", "Former Staff", "Staff", "Janitor", "Moderator", "Admin"];
|
|
3885
|
+
};
|
|
3886
|
+
export declare const StaffFileSchema: {
|
|
3887
|
+
readonly type: "object";
|
|
3888
|
+
readonly required: readonly ["id", "creator_id", "storage_id", "md5", "file_ext", "file_size", "original_filename", "title", "description", "created_at", "updated_at"];
|
|
3889
|
+
readonly properties: {
|
|
3890
|
+
readonly id: {
|
|
3891
|
+
readonly type: "integer";
|
|
3892
|
+
};
|
|
3893
|
+
readonly creator_id: {
|
|
3894
|
+
readonly type: "integer";
|
|
3895
|
+
};
|
|
3896
|
+
readonly storage_id: {
|
|
3897
|
+
readonly type: "string";
|
|
3898
|
+
};
|
|
3899
|
+
readonly md5: {
|
|
3900
|
+
readonly type: "string";
|
|
3901
|
+
};
|
|
3902
|
+
readonly file_ext: {
|
|
3903
|
+
readonly type: "string";
|
|
3904
|
+
};
|
|
3905
|
+
readonly file_size: {
|
|
3906
|
+
readonly type: "integer";
|
|
3907
|
+
};
|
|
3908
|
+
readonly original_filename: {
|
|
3909
|
+
readonly type: "string";
|
|
3910
|
+
};
|
|
3911
|
+
readonly title: {
|
|
3912
|
+
readonly type: "string";
|
|
3913
|
+
};
|
|
3914
|
+
readonly description: {
|
|
3915
|
+
readonly type: "string";
|
|
3916
|
+
readonly nullable: true;
|
|
3917
|
+
};
|
|
3918
|
+
readonly created_at: {
|
|
3919
|
+
readonly type: "string";
|
|
3920
|
+
readonly format: "date-time";
|
|
3921
|
+
};
|
|
3922
|
+
readonly updated_at: {
|
|
3923
|
+
readonly type: "string";
|
|
3924
|
+
readonly format: "date-time";
|
|
3925
|
+
};
|
|
3926
|
+
};
|
|
3927
|
+
};
|
|
3928
|
+
export declare const StaffWikiSchema: {
|
|
3929
|
+
readonly type: "object";
|
|
3930
|
+
readonly required: readonly ["id", "creator_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
|
|
3931
|
+
readonly properties: {
|
|
3932
|
+
readonly id: {
|
|
3933
|
+
readonly type: "integer";
|
|
3934
|
+
};
|
|
3935
|
+
readonly creator_id: {
|
|
3936
|
+
readonly type: "integer";
|
|
3937
|
+
};
|
|
3938
|
+
readonly updater_id: {
|
|
3939
|
+
readonly type: "integer";
|
|
3940
|
+
};
|
|
3941
|
+
readonly claimant_id: {
|
|
3942
|
+
readonly type: "integer";
|
|
3943
|
+
readonly nullable: true;
|
|
3944
|
+
};
|
|
3945
|
+
readonly title: {
|
|
3946
|
+
readonly type: "string";
|
|
3947
|
+
};
|
|
3948
|
+
readonly body: {
|
|
3949
|
+
readonly type: "string";
|
|
3950
|
+
};
|
|
3951
|
+
readonly created_at: {
|
|
3952
|
+
readonly type: "string";
|
|
3953
|
+
readonly format: "date-time";
|
|
3954
|
+
};
|
|
3955
|
+
readonly updated_at: {
|
|
3956
|
+
readonly type: "string";
|
|
3957
|
+
readonly format: "date-time";
|
|
3958
|
+
};
|
|
3959
|
+
};
|
|
3960
|
+
};
|
|
3961
|
+
export declare const StaffWikiVersionSchema: {
|
|
3962
|
+
readonly type: "object";
|
|
3963
|
+
readonly required: readonly ["id", "staff_wiki_id", "updater_id", "claimant_id", "title", "body", "created_at", "updated_at"];
|
|
3964
|
+
readonly properties: {
|
|
3965
|
+
readonly id: {
|
|
3966
|
+
readonly type: "integer";
|
|
3967
|
+
};
|
|
3968
|
+
readonly staff_wiki_id: {
|
|
3969
|
+
readonly type: "integer";
|
|
3970
|
+
};
|
|
3971
|
+
readonly updater_id: {
|
|
3972
|
+
readonly type: "integer";
|
|
3973
|
+
};
|
|
3974
|
+
readonly claimant_id: {
|
|
3975
|
+
readonly type: "integer";
|
|
3976
|
+
readonly nullable: true;
|
|
3977
|
+
};
|
|
3978
|
+
readonly title: {
|
|
3979
|
+
readonly type: "string";
|
|
3980
|
+
};
|
|
3981
|
+
readonly body: {
|
|
3982
|
+
readonly type: "string";
|
|
3983
|
+
};
|
|
3984
|
+
readonly created_at: {
|
|
3985
|
+
readonly type: "string";
|
|
3986
|
+
readonly format: "date-time";
|
|
3987
|
+
};
|
|
3988
|
+
readonly updated_at: {
|
|
3989
|
+
readonly type: "string";
|
|
3990
|
+
readonly format: "date-time";
|
|
3991
|
+
};
|
|
3992
|
+
};
|
|
3993
|
+
};
|
|
3994
|
+
export declare const VoteTrendSchema: {
|
|
3995
|
+
readonly oneOf: readonly [{
|
|
3996
|
+
readonly $ref: "#/components/schemas/Tag";
|
|
3997
|
+
}, {
|
|
3998
|
+
readonly $ref: "#/components/schemas/VoteTrendMetatag";
|
|
3999
|
+
}, {
|
|
4000
|
+
readonly $ref: "#/components/schemas/VoteTrendUploader";
|
|
4001
|
+
}];
|
|
4002
|
+
};
|
|
4003
|
+
export declare const VoteTrendMetatagSchema: {
|
|
4004
|
+
readonly type: "object";
|
|
4005
|
+
readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
|
|
4006
|
+
readonly properties: {
|
|
4007
|
+
readonly name: {
|
|
4008
|
+
readonly type: "string";
|
|
4009
|
+
};
|
|
4010
|
+
readonly post_count: {
|
|
4011
|
+
readonly type: "integer";
|
|
4012
|
+
};
|
|
4013
|
+
readonly uploader_id: {
|
|
4014
|
+
readonly type: "integer";
|
|
4015
|
+
readonly nullable: true;
|
|
4016
|
+
readonly enum: readonly [null];
|
|
4017
|
+
};
|
|
4018
|
+
readonly uploader: {
|
|
4019
|
+
readonly type: "object";
|
|
4020
|
+
readonly nullable: true;
|
|
4021
|
+
readonly enum: readonly [null];
|
|
4022
|
+
};
|
|
4023
|
+
};
|
|
4024
|
+
};
|
|
4025
|
+
export declare const VoteTrendUploaderSchema: {
|
|
4026
|
+
readonly type: "object";
|
|
4027
|
+
readonly required: readonly ["name", "post_count", "uploader_id", "uploader"];
|
|
4028
|
+
readonly properties: {
|
|
4029
|
+
readonly name: {
|
|
4030
|
+
readonly type: "string";
|
|
4031
|
+
};
|
|
4032
|
+
readonly post_count: {
|
|
4033
|
+
readonly type: "integer";
|
|
4034
|
+
};
|
|
4035
|
+
readonly uploader_id: {
|
|
4036
|
+
readonly type: "integer";
|
|
4037
|
+
};
|
|
4038
|
+
readonly uploader: {
|
|
4039
|
+
readonly $ref: "#/components/schemas/User";
|
|
4040
|
+
};
|
|
4041
|
+
};
|
|
4042
|
+
};
|