e621 3.0.2 → 3.1.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/lib/Debug.js +4 -3
- package/dist/lib/errors.d.ts +3 -3
- package/dist/lib/errors.js +8 -3
- package/dist/lib/generated/client/client.js +108 -127
- 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 +5 -5
- 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/core/types.d.ts +1 -1
- package/dist/lib/generated/core/utils.js +2 -2
- package/dist/lib/generated/schemas.d.ts +1273 -220
- package/dist/lib/generated/schemas.js +2005 -601
- package/dist/lib/generated/sdk.d.ts +624 -382
- package/dist/lib/generated/sdk.js +915 -552
- package/dist/lib/generated/source.json +13524 -9670
- package/dist/lib/generated/types.d.ts +6378 -4559
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +9 -9
- package/dist/lib/models/ApiKey.js +2 -2
- package/dist/lib/models/Appeal.d.ts +51 -0
- package/dist/lib/models/Appeal.js +77 -0
- package/dist/lib/models/Artist.d.ts +17 -17
- package/dist/lib/models/Artist.js +27 -27
- package/dist/lib/models/ArtistUrl.js +2 -2
- package/dist/lib/models/ArtistVersion.js +2 -2
- package/dist/lib/models/AvoidPosting.d.ts +16 -16
- package/dist/lib/models/AvoidPosting.js +27 -27
- package/dist/lib/models/AvoidPostingVersion.js +2 -2
- package/dist/lib/models/Ban.js +2 -2
- package/dist/lib/models/Base.d.ts +1 -1
- package/dist/lib/models/Base.js +4 -4
- package/dist/lib/models/BasicPost.d.ts +14 -0
- package/dist/lib/models/BasicPost.js +17 -0
- package/dist/lib/models/Blip.d.ts +28 -28
- package/dist/lib/models/Blip.js +42 -42
- package/dist/lib/models/BulkUpdateRequest.d.ts +11 -11
- package/dist/lib/models/BulkUpdateRequest.js +21 -21
- package/dist/lib/models/Comment.d.ts +29 -29
- package/dist/lib/models/Comment.js +43 -43
- package/dist/lib/models/CommentVote.d.ts +50 -0
- package/dist/lib/models/CommentVote.js +77 -0
- package/dist/lib/models/CurrentUser.d.ts +36 -1
- package/dist/lib/models/CurrentUser.js +57 -3
- package/dist/lib/models/DMail.d.ts +16 -6
- package/dist/lib/models/DMail.js +29 -11
- package/dist/lib/models/DbExport.d.ts +14 -0
- package/dist/lib/models/DbExport.js +17 -0
- package/dist/lib/models/EditHistory.js +2 -2
- package/dist/lib/models/EmailBlacklist.d.ts +2 -2
- package/dist/lib/models/EmailBlacklist.js +5 -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 +41 -30
- package/dist/lib/models/ForumPost.js +60 -42
- package/dist/lib/models/ForumPostVote.d.ts +2 -2
- package/dist/lib/models/ForumPostVote.js +6 -6
- package/dist/lib/models/ForumTopic.d.ts +21 -21
- package/dist/lib/models/ForumTopic.js +35 -35
- package/dist/lib/models/FullCurrentUser.js +2 -2
- package/dist/lib/models/FullUser.js +2 -2
- package/dist/lib/models/HelpPage.d.ts +39 -0
- package/dist/lib/models/HelpPage.js +57 -0
- package/dist/lib/models/IpBan.d.ts +2 -2
- package/dist/lib/models/IpBan.js +5 -5
- package/dist/lib/models/IqdbPost.d.ts +1 -1
- package/dist/lib/models/IqdbPost.js +2 -2
- package/dist/lib/models/Mascot.d.ts +7 -7
- package/dist/lib/models/Mascot.js +12 -12
- package/dist/lib/models/MinimalUser.d.ts +14 -0
- package/dist/lib/models/MinimalUser.js +17 -0
- package/dist/lib/models/ModAction.js +2 -2
- package/dist/lib/models/NewsUpdate.d.ts +7 -7
- package/dist/lib/models/NewsUpdate.js +12 -12
- package/dist/lib/models/Note.d.ts +11 -11
- package/dist/lib/models/Note.js +21 -21
- package/dist/lib/models/NoteVersion.d.ts +2 -2
- package/dist/lib/models/NoteVersion.js +5 -5
- package/dist/lib/models/Pool.d.ts +18 -18
- package/dist/lib/models/Pool.js +32 -32
- package/dist/lib/models/PoolVersion.d.ts +2 -2
- package/dist/lib/models/PoolVersion.js +5 -5
- package/dist/lib/models/Post.d.ts +5 -166
- package/dist/lib/models/Post.js +8 -278
- package/dist/lib/models/PostApproval.d.ts +2 -2
- package/dist/lib/models/PostApproval.js +5 -5
- package/dist/lib/models/PostDisapproval.js +2 -2
- package/dist/lib/models/PostEvent.js +2 -2
- package/dist/lib/models/PostFlag.d.ts +4 -4
- package/dist/lib/models/PostFlag.js +9 -9
- package/dist/lib/models/PostReplacement.d.ts +10 -10
- package/dist/lib/models/PostReplacement.js +17 -17
- package/dist/lib/models/PostSet.d.ts +17 -17
- package/dist/lib/models/PostSet.js +29 -29
- package/dist/lib/models/PostVersion.d.ts +8 -8
- package/dist/lib/models/PostVersion.js +14 -14
- package/dist/lib/models/PostVote.d.ts +48 -0
- package/dist/lib/models/PostVote.js +75 -0
- package/dist/lib/models/RisingSearchTrend.js +2 -2
- package/dist/lib/models/SearchTrend.js +2 -2
- package/dist/lib/models/SearchTrendBlacklist.d.ts +25 -0
- package/dist/lib/models/SearchTrendBlacklist.js +43 -3
- package/dist/lib/models/StaffFile.d.ts +39 -0
- package/dist/lib/models/StaffFile.js +57 -0
- package/dist/lib/models/StaffNote.d.ts +12 -12
- package/dist/lib/models/StaffNote.js +22 -22
- package/dist/lib/models/StaffWiki.d.ts +63 -0
- package/dist/lib/models/StaffWiki.js +97 -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 +19 -19
- package/dist/lib/models/Tag.js +31 -31
- package/dist/lib/models/TagAlias.d.ts +13 -13
- package/dist/lib/models/TagAlias.js +23 -23
- package/dist/lib/models/TagCorrection.js +2 -2
- package/dist/lib/models/TagImplication.d.ts +13 -13
- package/dist/lib/models/TagImplication.js +23 -23
- package/dist/lib/models/TagPreview.js +2 -2
- package/dist/lib/models/TagTypeVersion.js +2 -2
- package/dist/lib/models/Takedown.d.ts +20 -20
- package/dist/lib/models/Takedown.js +30 -30
- package/dist/lib/models/ThumbnailPost.d.ts +14 -0
- package/dist/lib/models/ThumbnailPost.js +17 -0
- package/dist/lib/models/Ticket.d.ts +13 -13
- package/dist/lib/models/Ticket.js +23 -23
- package/dist/lib/models/Upload.js +2 -2
- package/dist/lib/models/UploadWhitelist.d.ts +7 -7
- package/dist/lib/models/UploadWhitelist.js +12 -12
- package/dist/lib/models/User.d.ts +28 -16
- package/dist/lib/models/User.js +46 -26
- package/dist/lib/models/UserFeedback.d.ts +13 -13
- package/dist/lib/models/UserFeedback.js +24 -24
- package/dist/lib/models/UserNameChangeRequest.d.ts +2 -2
- package/dist/lib/models/UserNameChangeRequest.js +5 -5
- package/dist/lib/models/WikiPage.d.ts +13 -13
- package/dist/lib/models/WikiPage.js +23 -23
- package/dist/lib/models/WikiPageVersion.d.ts +2 -2
- package/dist/lib/models/WikiPageVersion.js +5 -5
- package/dist/lib/models/index.d.ts +13 -1
- package/dist/lib/models/index.js +14 -2
- package/dist/lib/models/posts/Actions.d.ts +305 -0
- package/dist/lib/models/posts/Actions.js +502 -0
- package/dist/lib/modules/Appeals.d.ts +73 -0
- package/dist/lib/modules/Appeals.js +129 -0
- package/dist/lib/modules/ArtistUrls.d.ts +7 -7
- package/dist/lib/modules/ArtistUrls.js +10 -10
- package/dist/lib/modules/ArtistVersions.d.ts +7 -7
- package/dist/lib/modules/ArtistVersions.js +10 -10
- package/dist/lib/modules/Artists.d.ts +35 -35
- package/dist/lib/modules/Artists.js +59 -59
- package/dist/lib/modules/AvoidPostingVersions.d.ts +7 -7
- package/dist/lib/modules/AvoidPostingVersions.js +10 -10
- package/dist/lib/modules/AvoidPostings.d.ts +36 -56
- package/dist/lib/modules/AvoidPostings.js +63 -81
- package/dist/lib/modules/Bans.d.ts +9 -9
- package/dist/lib/modules/Bans.js +15 -15
- package/dist/lib/modules/Base.d.ts +2 -2
- package/dist/lib/modules/Base.js +4 -4
- package/dist/lib/modules/Blips.d.ts +43 -43
- package/dist/lib/modules/Blips.js +77 -75
- package/dist/lib/modules/BulkUpdateRequests.d.ts +29 -29
- package/dist/lib/modules/BulkUpdateRequests.js +54 -54
- package/dist/lib/modules/CommentVotes.d.ts +47 -4
- package/dist/lib/modules/CommentVotes.js +80 -13
- package/dist/lib/modules/Comments.d.ts +37 -39
- package/dist/lib/modules/Comments.js +65 -67
- package/dist/lib/modules/DMails.d.ts +27 -17
- package/dist/lib/modules/DMails.js +45 -35
- package/dist/lib/modules/DText.d.ts +6 -6
- package/dist/lib/modules/DText.js +8 -8
- package/dist/lib/modules/DbExports.d.ts +13 -0
- package/dist/lib/modules/DbExports.js +27 -0
- package/dist/lib/modules/EditHistories.d.ts +10 -10
- package/dist/lib/modules/EditHistories.js +15 -15
- package/dist/lib/modules/EmailBlacklists.d.ts +12 -12
- package/dist/lib/modules/EmailBlacklists.js +20 -20
- package/dist/lib/modules/Favorites.d.ts +18 -18
- package/dist/lib/modules/Favorites.js +27 -25
- package/dist/lib/modules/ForumPostVotes.d.ts +42 -0
- package/dist/lib/modules/ForumPostVotes.js +73 -0
- package/dist/lib/modules/ForumPosts.d.ts +35 -37
- package/dist/lib/modules/ForumPosts.js +63 -65
- package/dist/lib/modules/ForumTopics.d.ts +38 -43
- package/dist/lib/modules/ForumTopics.js +71 -85
- package/dist/lib/modules/Health.d.ts +12 -0
- package/dist/lib/modules/Health.js +26 -0
- package/dist/lib/modules/HelpPages.d.ts +31 -25
- package/dist/lib/modules/HelpPages.js +63 -47
- package/dist/lib/modules/IpBans.d.ts +12 -12
- package/dist/lib/modules/IpBans.js +20 -20
- package/dist/lib/modules/IqdbQueries.d.ts +14 -13
- package/dist/lib/modules/IqdbQueries.js +30 -22
- package/dist/lib/modules/Mascots.d.ts +22 -22
- package/dist/lib/modules/Mascots.js +39 -39
- package/dist/lib/modules/ModActions.d.ts +9 -9
- package/dist/lib/modules/ModActions.js +15 -15
- package/dist/lib/modules/NewsUpdates.d.ts +22 -22
- package/dist/lib/modules/NewsUpdates.js +39 -39
- package/dist/lib/modules/NoteVersions.d.ts +7 -7
- package/dist/lib/modules/NoteVersions.js +10 -10
- package/dist/lib/modules/Notes.d.ts +27 -27
- package/dist/lib/modules/Notes.js +51 -51
- package/dist/lib/modules/PoolVersions.d.ts +7 -7
- package/dist/lib/modules/PoolVersions.js +10 -10
- package/dist/lib/modules/Pools.d.ts +36 -36
- package/dist/lib/modules/Pools.js +67 -67
- package/dist/lib/modules/Popular.d.ts +8 -8
- package/dist/lib/modules/Popular.js +16 -14
- package/dist/lib/modules/PostApprovals.d.ts +11 -11
- package/dist/lib/modules/PostApprovals.js +21 -21
- package/dist/lib/modules/PostDisapprovals.d.ts +13 -10
- package/dist/lib/modules/PostDisapprovals.js +15 -15
- package/dist/lib/modules/PostEvents.d.ts +7 -7
- package/dist/lib/modules/PostEvents.js +15 -11
- package/dist/lib/modules/PostFlags.d.ts +29 -14
- package/dist/lib/modules/PostFlags.js +48 -25
- package/dist/lib/modules/PostReplacements.d.ts +23 -23
- package/dist/lib/modules/PostReplacements.js +46 -42
- package/dist/lib/modules/PostSets.d.ts +37 -37
- package/dist/lib/modules/PostSets.js +68 -68
- package/dist/lib/modules/PostVersions.d.ts +12 -12
- package/dist/lib/modules/PostVersions.js +24 -24
- package/dist/lib/modules/PostVotes.d.ts +48 -5
- package/dist/lib/modules/PostVotes.js +81 -14
- package/dist/lib/modules/Posts.d.ts +143 -52
- package/dist/lib/modules/Posts.js +257 -117
- package/dist/lib/modules/RelatedTags.d.ts +7 -7
- package/dist/lib/modules/RelatedTags.js +8 -8
- package/dist/lib/modules/SearchTrendBlacklists.d.ts +12 -27
- package/dist/lib/modules/SearchTrendBlacklists.js +20 -43
- package/dist/lib/modules/SearchTrends.d.ts +37 -19
- package/dist/lib/modules/SearchTrends.js +51 -28
- package/dist/lib/modules/StaffNotes.d.ts +29 -29
- package/dist/lib/modules/StaffNotes.js +54 -54
- package/dist/lib/modules/TagAliases.d.ts +29 -29
- package/dist/lib/modules/TagAliases.js +54 -54
- package/dist/lib/modules/TagCorrections.d.ts +6 -6
- package/dist/lib/modules/TagCorrections.js +15 -15
- package/dist/lib/modules/TagImplications.d.ts +28 -28
- package/dist/lib/modules/TagImplications.js +53 -53
- package/dist/lib/modules/TagTypeVersions.d.ts +6 -6
- package/dist/lib/modules/TagTypeVersions.js +9 -9
- package/dist/lib/modules/Tags.d.ts +26 -26
- package/dist/lib/modules/Tags.js +48 -48
- package/dist/lib/modules/Takedowns.d.ts +41 -41
- package/dist/lib/modules/Takedowns.js +68 -68
- package/dist/lib/modules/Tickets.d.ts +28 -28
- package/dist/lib/modules/Tickets.js +51 -51
- package/dist/lib/modules/UploadWhitelists.d.ts +24 -24
- package/dist/lib/modules/UploadWhitelists.js +42 -42
- package/dist/lib/modules/Uploads.d.ts +13 -13
- package/dist/lib/modules/Uploads.js +23 -23
- package/dist/lib/modules/UserFeedbacks.d.ts +32 -32
- package/dist/lib/modules/UserFeedbacks.js +59 -59
- package/dist/lib/modules/UserNameChangeRequests.d.ts +14 -14
- package/dist/lib/modules/UserNameChangeRequests.js +25 -25
- package/dist/lib/modules/Users.d.ts +61 -33
- package/dist/lib/modules/Users.js +113 -70
- package/dist/lib/modules/WikiPageVersions.d.ts +9 -9
- package/dist/lib/modules/WikiPageVersions.js +15 -15
- package/dist/lib/modules/WikiPages.d.ts +29 -29
- package/dist/lib/modules/WikiPages.js +53 -53
- package/dist/lib/modules/index.d.ts +53 -19
- package/dist/lib/modules/index.js +33 -6
- package/dist/lib/modules/posts/Format.d.ts +27 -0
- package/dist/lib/modules/posts/Format.js +17 -0
- package/dist/lib/modules/staff/AutomodDMails.d.ts +58 -0
- package/dist/lib/modules/staff/AutomodDMails.js +101 -0
- package/dist/lib/modules/{users → staff}/DMails.d.ts +5 -5
- package/dist/lib/modules/staff/DMails.js +55 -0
- package/dist/lib/modules/staff/ExceptionLogs.d.ts +34 -0
- package/dist/lib/modules/staff/ExceptionLogs.js +55 -0
- package/dist/lib/modules/staff/Files.d.ts +76 -0
- package/dist/lib/modules/staff/Files.js +125 -0
- package/dist/lib/modules/staff/UserCleanups.d.ts +64 -0
- package/dist/lib/modules/staff/UserCleanups.js +128 -0
- package/dist/lib/modules/{admin → staff}/Users.d.ts +10 -10
- package/dist/lib/modules/staff/Users.js +77 -0
- package/dist/lib/modules/staff/VoteTrends.d.ts +26 -0
- package/dist/lib/modules/staff/VoteTrends.js +39 -0
- package/dist/lib/modules/staff/WikiVersions.d.ts +34 -0
- package/dist/lib/modules/staff/WikiVersions.js +55 -0
- package/dist/lib/modules/staff/Wikis.d.ts +100 -0
- package/dist/lib/modules/staff/Wikis.js +171 -0
- package/dist/lib/util.d.ts +2 -6
- package/dist/lib/util.js +10 -9
- package/dist/package.json +19 -19
- package/package.json +19 -19
- package/tsconfig.json +2 -2
- package/dist/lib/models/Help.d.ts +0 -39
- package/dist/lib/models/Help.js +0 -57
- 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
|
@@ -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", "
|
|
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";
|
|
@@ -294,7 +294,7 @@ export declare const BanSchema: {
|
|
|
294
294
|
};
|
|
295
295
|
export declare const BlipSchema: {
|
|
296
296
|
readonly type: "object";
|
|
297
|
-
readonly required: readonly ["id", "creator_id", "body", "response_to", "created_at", "updated_at", "
|
|
297
|
+
readonly required: readonly ["id", "creator_id", "body", "response_to", "created_at", "updated_at", "is_deleted", "warning_type", "warning_user_id", "updater_id", "creator_name"];
|
|
298
298
|
readonly properties: {
|
|
299
299
|
readonly id: {
|
|
300
300
|
readonly type: "integer";
|
|
@@ -314,9 +314,8 @@ export declare const BlipSchema: {
|
|
|
314
314
|
};
|
|
315
315
|
readonly updated_at: {
|
|
316
316
|
readonly type: "string";
|
|
317
|
-
readonly format: "date-time";
|
|
318
317
|
};
|
|
319
|
-
readonly
|
|
318
|
+
readonly is_deleted: {
|
|
320
319
|
readonly type: "boolean";
|
|
321
320
|
};
|
|
322
321
|
readonly warning_type: {
|
|
@@ -391,7 +390,7 @@ export declare const BulkUpdateRequestSchema: {
|
|
|
391
390
|
};
|
|
392
391
|
export declare const CommentSchema: {
|
|
393
392
|
readonly type: "object";
|
|
394
|
-
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"];
|
|
395
394
|
readonly properties: {
|
|
396
395
|
readonly id: {
|
|
397
396
|
readonly type: "integer";
|
|
@@ -442,6 +441,10 @@ export declare const CommentSchema: {
|
|
|
442
441
|
readonly updater_name: {
|
|
443
442
|
readonly type: "string";
|
|
444
443
|
};
|
|
444
|
+
readonly vote: {
|
|
445
|
+
readonly type: "integer";
|
|
446
|
+
readonly enum: readonly [-1, 0, 1];
|
|
447
|
+
};
|
|
445
448
|
};
|
|
446
449
|
};
|
|
447
450
|
export declare const CurrentUserSchema: {
|
|
@@ -514,9 +517,11 @@ export declare const CurrentUserSchema: {
|
|
|
514
517
|
};
|
|
515
518
|
readonly last_logged_in_at: {
|
|
516
519
|
readonly type: "string";
|
|
520
|
+
readonly format: "date-time";
|
|
517
521
|
};
|
|
518
522
|
readonly last_forum_read_at: {
|
|
519
523
|
readonly type: "string";
|
|
524
|
+
readonly format: "date-time";
|
|
520
525
|
};
|
|
521
526
|
readonly recent_tags: {
|
|
522
527
|
readonly type: "string";
|
|
@@ -895,7 +900,7 @@ export declare const FullUserSchema: {
|
|
|
895
900
|
};
|
|
896
901
|
}];
|
|
897
902
|
};
|
|
898
|
-
export declare const
|
|
903
|
+
export declare const HelpPageSchema: {
|
|
899
904
|
readonly type: "object";
|
|
900
905
|
readonly required: readonly ["id", "name", "title", "wiki_page", "related", "created_at", "updated_at"];
|
|
901
906
|
readonly properties: {
|
|
@@ -1144,6 +1149,202 @@ export declare const IqdbPostSchema: {
|
|
|
1144
1149
|
};
|
|
1145
1150
|
};
|
|
1146
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
|
+
};
|
|
1147
1348
|
export declare const IqdbResponseSchema: {
|
|
1148
1349
|
readonly type: "object";
|
|
1149
1350
|
readonly required: readonly ["hash", "post_id", "score", "post"];
|
|
@@ -1477,7 +1678,7 @@ export declare const PoolVersionSchema: {
|
|
|
1477
1678
|
};
|
|
1478
1679
|
export declare const PostSchema: {
|
|
1479
1680
|
readonly type: "object";
|
|
1480
|
-
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"];
|
|
1481
1682
|
readonly properties: {
|
|
1482
1683
|
readonly id: {
|
|
1483
1684
|
readonly type: "integer";
|
|
@@ -1490,187 +1691,143 @@ export declare const PostSchema: {
|
|
|
1490
1691
|
readonly type: "string";
|
|
1491
1692
|
readonly format: "date-time";
|
|
1492
1693
|
};
|
|
1493
|
-
readonly
|
|
1694
|
+
readonly change_seq: {
|
|
1695
|
+
readonly type: "integer";
|
|
1696
|
+
};
|
|
1697
|
+
readonly files: {
|
|
1494
1698
|
readonly type: "object";
|
|
1495
|
-
readonly required: readonly ["
|
|
1699
|
+
readonly required: readonly ["meta", "original", "preview", "sample"];
|
|
1496
1700
|
readonly properties: {
|
|
1497
|
-
readonly
|
|
1498
|
-
readonly type: "
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
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
|
+
};
|
|
1505
1724
|
};
|
|
1506
|
-
readonly
|
|
1507
|
-
readonly type: "
|
|
1508
|
-
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
|
+
};
|
|
1509
1741
|
};
|
|
1510
|
-
readonly
|
|
1511
|
-
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
|
+
};
|
|
1512
1763
|
};
|
|
1513
|
-
readonly
|
|
1514
|
-
readonly type: "
|
|
1515
|
-
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
|
+
};
|
|
1516
1785
|
};
|
|
1517
1786
|
};
|
|
1518
1787
|
};
|
|
1519
|
-
readonly
|
|
1520
|
-
readonly type: "
|
|
1521
|
-
readonly required: readonly ["width", "height", "url"];
|
|
1522
|
-
readonly properties: {
|
|
1523
|
-
readonly width: {
|
|
1524
|
-
readonly type: "integer";
|
|
1525
|
-
};
|
|
1526
|
-
readonly height: {
|
|
1527
|
-
readonly type: "integer";
|
|
1528
|
-
};
|
|
1529
|
-
readonly url: {
|
|
1530
|
-
readonly type: "string";
|
|
1531
|
-
readonly nullable: true;
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1788
|
+
readonly uploader_id: {
|
|
1789
|
+
readonly type: "integer";
|
|
1534
1790
|
};
|
|
1535
|
-
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: {
|
|
1536
1799
|
readonly type: "object";
|
|
1537
|
-
readonly required: readonly ["
|
|
1800
|
+
readonly required: readonly ["score", "fav_count", "is_favorited", "vote", "comment_count"];
|
|
1538
1801
|
readonly properties: {
|
|
1539
|
-
readonly
|
|
1540
|
-
readonly type: "boolean";
|
|
1541
|
-
};
|
|
1542
|
-
readonly height: {
|
|
1543
|
-
readonly type: "integer";
|
|
1544
|
-
readonly nullable: true;
|
|
1545
|
-
};
|
|
1546
|
-
readonly width: {
|
|
1547
|
-
readonly type: "integer";
|
|
1548
|
-
readonly nullable: true;
|
|
1549
|
-
};
|
|
1550
|
-
readonly url: {
|
|
1551
|
-
readonly type: "string";
|
|
1552
|
-
readonly nullable: true;
|
|
1553
|
-
};
|
|
1554
|
-
readonly alternates: {
|
|
1802
|
+
readonly score: {
|
|
1555
1803
|
readonly type: "object";
|
|
1804
|
+
readonly required: readonly ["up", "down", "total"];
|
|
1556
1805
|
readonly properties: {
|
|
1557
|
-
readonly
|
|
1558
|
-
readonly type: "
|
|
1559
|
-
};
|
|
1560
|
-
readonly original: {
|
|
1561
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1806
|
+
readonly up: {
|
|
1807
|
+
readonly type: "integer";
|
|
1562
1808
|
};
|
|
1563
|
-
readonly
|
|
1564
|
-
readonly type: "
|
|
1565
|
-
readonly properties: {
|
|
1566
|
-
readonly webm: {
|
|
1567
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1568
|
-
};
|
|
1569
|
-
readonly mp4: {
|
|
1570
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1571
|
-
};
|
|
1572
|
-
};
|
|
1809
|
+
readonly down: {
|
|
1810
|
+
readonly type: "integer";
|
|
1573
1811
|
};
|
|
1574
|
-
readonly
|
|
1575
|
-
readonly type: "
|
|
1576
|
-
readonly properties: {
|
|
1577
|
-
readonly '480p': {
|
|
1578
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1579
|
-
};
|
|
1580
|
-
readonly '720p': {
|
|
1581
|
-
readonly $ref: "#/components/schemas/PostSampleAlternate";
|
|
1582
|
-
};
|
|
1583
|
-
};
|
|
1812
|
+
readonly total: {
|
|
1813
|
+
readonly type: "integer";
|
|
1584
1814
|
};
|
|
1585
1815
|
};
|
|
1586
1816
|
};
|
|
1587
|
-
|
|
1588
|
-
};
|
|
1589
|
-
readonly score: {
|
|
1590
|
-
readonly type: "object";
|
|
1591
|
-
readonly required: readonly ["up", "down", "total"];
|
|
1592
|
-
readonly properties: {
|
|
1593
|
-
readonly up: {
|
|
1594
|
-
readonly type: "integer";
|
|
1595
|
-
};
|
|
1596
|
-
readonly down: {
|
|
1597
|
-
readonly type: "integer";
|
|
1598
|
-
};
|
|
1599
|
-
readonly total: {
|
|
1817
|
+
readonly fav_count: {
|
|
1600
1818
|
readonly type: "integer";
|
|
1601
1819
|
};
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
readonly tags: {
|
|
1605
|
-
readonly type: "object";
|
|
1606
|
-
readonly required: readonly ["general", "artist", "copyright", "character", "species", "invalid", "meta", "lore", "contributor"];
|
|
1607
|
-
readonly properties: {
|
|
1608
|
-
readonly general: {
|
|
1609
|
-
readonly type: "array";
|
|
1610
|
-
readonly items: {
|
|
1611
|
-
readonly type: "string";
|
|
1612
|
-
};
|
|
1613
|
-
};
|
|
1614
|
-
readonly artist: {
|
|
1615
|
-
readonly type: "array";
|
|
1616
|
-
readonly items: {
|
|
1617
|
-
readonly type: "string";
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
readonly copyright: {
|
|
1621
|
-
readonly type: "array";
|
|
1622
|
-
readonly items: {
|
|
1623
|
-
readonly type: "string";
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
1626
|
-
readonly character: {
|
|
1627
|
-
readonly type: "array";
|
|
1628
|
-
readonly items: {
|
|
1629
|
-
readonly type: "string";
|
|
1630
|
-
};
|
|
1631
|
-
};
|
|
1632
|
-
readonly species: {
|
|
1633
|
-
readonly type: "array";
|
|
1634
|
-
readonly items: {
|
|
1635
|
-
readonly type: "string";
|
|
1636
|
-
};
|
|
1637
|
-
};
|
|
1638
|
-
readonly invalid: {
|
|
1639
|
-
readonly type: "array";
|
|
1640
|
-
readonly items: {
|
|
1641
|
-
readonly type: "string";
|
|
1642
|
-
};
|
|
1643
|
-
};
|
|
1644
|
-
readonly meta: {
|
|
1645
|
-
readonly type: "array";
|
|
1646
|
-
readonly items: {
|
|
1647
|
-
readonly type: "string";
|
|
1648
|
-
};
|
|
1820
|
+
readonly is_favorited: {
|
|
1821
|
+
readonly type: "boolean";
|
|
1649
1822
|
};
|
|
1650
|
-
readonly
|
|
1651
|
-
readonly
|
|
1652
|
-
readonly items: {
|
|
1653
|
-
readonly type: "string";
|
|
1654
|
-
};
|
|
1823
|
+
readonly vote: {
|
|
1824
|
+
readonly $ref: "#/components/schemas/Comment/properties/vote";
|
|
1655
1825
|
};
|
|
1656
|
-
readonly
|
|
1657
|
-
readonly type: "
|
|
1658
|
-
readonly items: {
|
|
1659
|
-
readonly type: "string";
|
|
1660
|
-
};
|
|
1826
|
+
readonly comment_count: {
|
|
1827
|
+
readonly type: "integer";
|
|
1661
1828
|
};
|
|
1662
1829
|
};
|
|
1663
1830
|
};
|
|
1664
|
-
readonly locked_tags: {
|
|
1665
|
-
readonly type: "array";
|
|
1666
|
-
readonly nullable: true;
|
|
1667
|
-
readonly items: {
|
|
1668
|
-
readonly type: "string";
|
|
1669
|
-
};
|
|
1670
|
-
};
|
|
1671
|
-
readonly change_seq: {
|
|
1672
|
-
readonly type: "integer";
|
|
1673
|
-
};
|
|
1674
1831
|
readonly flags: {
|
|
1675
1832
|
readonly type: "object";
|
|
1676
1833
|
readonly required: readonly ["pending", "flagged", "note_locked", "status_locked", "rating_locked", "deleted"];
|
|
@@ -1695,38 +1852,35 @@ export declare const PostSchema: {
|
|
|
1695
1852
|
};
|
|
1696
1853
|
};
|
|
1697
1854
|
};
|
|
1698
|
-
readonly
|
|
1699
|
-
readonly
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
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
|
+
};
|
|
1714
1874
|
};
|
|
1715
1875
|
};
|
|
1716
1876
|
readonly relationships: {
|
|
1717
1877
|
readonly type: "object";
|
|
1718
|
-
readonly required: readonly ["parent_id", "
|
|
1878
|
+
readonly required: readonly ["parent_id", "children"];
|
|
1719
1879
|
readonly properties: {
|
|
1720
1880
|
readonly parent_id: {
|
|
1721
1881
|
readonly type: "integer";
|
|
1722
1882
|
readonly nullable: true;
|
|
1723
1883
|
};
|
|
1724
|
-
readonly has_children: {
|
|
1725
|
-
readonly type: "boolean";
|
|
1726
|
-
};
|
|
1727
|
-
readonly has_active_children: {
|
|
1728
|
-
readonly type: "boolean";
|
|
1729
|
-
};
|
|
1730
1884
|
readonly children: {
|
|
1731
1885
|
readonly type: "array";
|
|
1732
1886
|
readonly items: {
|
|
@@ -1735,31 +1889,28 @@ export declare const PostSchema: {
|
|
|
1735
1889
|
};
|
|
1736
1890
|
};
|
|
1737
1891
|
};
|
|
1738
|
-
readonly
|
|
1739
|
-
readonly type: "
|
|
1740
|
-
readonly
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
readonly type: "integer";
|
|
1744
|
-
};
|
|
1745
|
-
readonly description: {
|
|
1746
|
-
readonly type: "string";
|
|
1747
|
-
};
|
|
1748
|
-
readonly comment_count: {
|
|
1749
|
-
readonly type: "integer";
|
|
1892
|
+
readonly pools: {
|
|
1893
|
+
readonly type: "array";
|
|
1894
|
+
readonly items: {
|
|
1895
|
+
readonly type: "integer";
|
|
1896
|
+
};
|
|
1750
1897
|
};
|
|
1751
|
-
readonly
|
|
1752
|
-
readonly
|
|
1898
|
+
readonly rating: {
|
|
1899
|
+
readonly $ref: "#/components/schemas/Ratings";
|
|
1753
1900
|
};
|
|
1754
|
-
readonly
|
|
1755
|
-
readonly type: "
|
|
1901
|
+
readonly locked_tags: {
|
|
1902
|
+
readonly type: "array";
|
|
1903
|
+
readonly items: {
|
|
1904
|
+
readonly type: "string";
|
|
1905
|
+
};
|
|
1756
1906
|
};
|
|
1757
|
-
readonly
|
|
1758
|
-
readonly type: "
|
|
1759
|
-
readonly
|
|
1760
|
-
|
|
1907
|
+
readonly sources: {
|
|
1908
|
+
readonly type: "array";
|
|
1909
|
+
readonly items: {
|
|
1910
|
+
readonly type: "string";
|
|
1911
|
+
};
|
|
1761
1912
|
};
|
|
1762
|
-
readonly
|
|
1913
|
+
readonly description: {
|
|
1763
1914
|
readonly type: "string";
|
|
1764
1915
|
};
|
|
1765
1916
|
};
|
|
@@ -2166,10 +2317,7 @@ export declare const TagSchema: {
|
|
|
2166
2317
|
readonly type: "integer";
|
|
2167
2318
|
};
|
|
2168
2319
|
readonly related_tags: {
|
|
2169
|
-
readonly type: "
|
|
2170
|
-
readonly items: {
|
|
2171
|
-
readonly type: "string";
|
|
2172
|
-
};
|
|
2320
|
+
readonly type: "string";
|
|
2173
2321
|
};
|
|
2174
2322
|
readonly related_tags_updated_at: {
|
|
2175
2323
|
readonly type: "string";
|
|
@@ -2553,7 +2701,7 @@ export declare const UploadSchema: {
|
|
|
2553
2701
|
};
|
|
2554
2702
|
export declare const UserSchema: {
|
|
2555
2703
|
readonly type: "object";
|
|
2556
|
-
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"];
|
|
2557
2705
|
readonly properties: {
|
|
2558
2706
|
readonly id: {
|
|
2559
2707
|
readonly type: "integer";
|
|
@@ -2566,7 +2714,7 @@ export declare const UserSchema: {
|
|
|
2566
2714
|
readonly type: "string";
|
|
2567
2715
|
};
|
|
2568
2716
|
readonly level: {
|
|
2569
|
-
readonly
|
|
2717
|
+
readonly $ref: "#/components/schemas/UserLevels";
|
|
2570
2718
|
};
|
|
2571
2719
|
readonly base_upload_limit: {
|
|
2572
2720
|
readonly type: "integer";
|
|
@@ -2590,7 +2738,7 @@ export declare const UserSchema: {
|
|
|
2590
2738
|
readonly type: "boolean";
|
|
2591
2739
|
};
|
|
2592
2740
|
readonly level_string: {
|
|
2593
|
-
readonly
|
|
2741
|
+
readonly $ref: "#/components/schemas/UserLevelsNames";
|
|
2594
2742
|
};
|
|
2595
2743
|
readonly avatar_id: {
|
|
2596
2744
|
readonly type: "integer";
|
|
@@ -2599,6 +2747,14 @@ export declare const UserSchema: {
|
|
|
2599
2747
|
readonly is_verified: {
|
|
2600
2748
|
readonly type: "boolean";
|
|
2601
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
|
+
};
|
|
2602
2758
|
};
|
|
2603
2759
|
};
|
|
2604
2760
|
export declare const UserFeedbackSchema: {
|
|
@@ -2721,6 +2877,12 @@ export declare const WikiPageSchema: {
|
|
|
2721
2877
|
readonly category_id: {
|
|
2722
2878
|
readonly $ref: "#/components/schemas/TagCategories";
|
|
2723
2879
|
};
|
|
2880
|
+
readonly featured_posts: {
|
|
2881
|
+
readonly type: "array";
|
|
2882
|
+
readonly items: {
|
|
2883
|
+
readonly type: "integer";
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2724
2886
|
};
|
|
2725
2887
|
};
|
|
2726
2888
|
export declare const WikiPageVersionSchema: {
|
|
@@ -2770,6 +2932,12 @@ export declare const WikiPageVersionSchema: {
|
|
|
2770
2932
|
readonly type: "string";
|
|
2771
2933
|
readonly nullable: true;
|
|
2772
2934
|
};
|
|
2935
|
+
readonly featured_posts: {
|
|
2936
|
+
readonly type: "array";
|
|
2937
|
+
readonly items: {
|
|
2938
|
+
readonly type: "integer";
|
|
2939
|
+
};
|
|
2940
|
+
};
|
|
2773
2941
|
};
|
|
2774
2942
|
};
|
|
2775
2943
|
export declare const ApiKeySchema: {
|
|
@@ -2925,11 +3093,20 @@ export declare const SearchTrendSchema: {
|
|
|
2925
3093
|
};
|
|
2926
3094
|
export declare const RisingSearchTrendSchema: {
|
|
2927
3095
|
readonly type: "object";
|
|
2928
|
-
readonly required: readonly ["
|
|
3096
|
+
readonly required: readonly ["name", "pretty_name", "post_count", "category"];
|
|
2929
3097
|
readonly properties: {
|
|
2930
|
-
readonly
|
|
3098
|
+
readonly name: {
|
|
3099
|
+
readonly type: "string";
|
|
3100
|
+
};
|
|
3101
|
+
readonly pretty_name: {
|
|
2931
3102
|
readonly type: "string";
|
|
2932
3103
|
};
|
|
3104
|
+
readonly post_count: {
|
|
3105
|
+
readonly type: "integer";
|
|
3106
|
+
};
|
|
3107
|
+
readonly category: {
|
|
3108
|
+
readonly $ref: "#/components/schemas/TagCategories";
|
|
3109
|
+
};
|
|
2933
3110
|
};
|
|
2934
3111
|
};
|
|
2935
3112
|
export declare const SearchTrendBlacklistSchema: {
|
|
@@ -2987,3 +3164,879 @@ export declare const MessageSuccessResponseSchema: {
|
|
|
2987
3164
|
};
|
|
2988
3165
|
};
|
|
2989
3166
|
};
|
|
3167
|
+
export declare const PostRecommendationSchema: {
|
|
3168
|
+
readonly type: "object";
|
|
3169
|
+
readonly required: readonly ["post_id", "score", "explanation"];
|
|
3170
|
+
readonly properties: {
|
|
3171
|
+
readonly post_id: {
|
|
3172
|
+
readonly type: "integer";
|
|
3173
|
+
};
|
|
3174
|
+
readonly score: {
|
|
3175
|
+
readonly type: "number";
|
|
3176
|
+
readonly format: "float";
|
|
3177
|
+
};
|
|
3178
|
+
readonly explanation: {
|
|
3179
|
+
readonly type: "string";
|
|
3180
|
+
readonly nullable: true;
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
};
|
|
3184
|
+
export declare const RecommendedPostsSchema: {
|
|
3185
|
+
readonly type: "object";
|
|
3186
|
+
readonly required: readonly ["post_id", "model_version", "results", "post_data"];
|
|
3187
|
+
readonly properties: {
|
|
3188
|
+
readonly post_id: {
|
|
3189
|
+
readonly type: "integer";
|
|
3190
|
+
};
|
|
3191
|
+
readonly model_version: {
|
|
3192
|
+
readonly type: "string";
|
|
3193
|
+
};
|
|
3194
|
+
readonly results: {
|
|
3195
|
+
readonly type: "array";
|
|
3196
|
+
readonly items: {
|
|
3197
|
+
readonly $ref: "#/components/schemas/PostRecommendation";
|
|
3198
|
+
};
|
|
3199
|
+
};
|
|
3200
|
+
};
|
|
3201
|
+
};
|
|
3202
|
+
export declare const PostVoteSchema: {
|
|
3203
|
+
readonly type: "object";
|
|
3204
|
+
readonly required: readonly ["id", "post_id", "user_id", "score", "created_at", "updated_at"];
|
|
3205
|
+
readonly properties: {
|
|
3206
|
+
readonly id: {
|
|
3207
|
+
readonly type: "integer";
|
|
3208
|
+
};
|
|
3209
|
+
readonly post_id: {
|
|
3210
|
+
readonly type: "integer";
|
|
3211
|
+
};
|
|
3212
|
+
readonly user_id: {
|
|
3213
|
+
readonly type: "integer";
|
|
3214
|
+
};
|
|
3215
|
+
readonly score: {
|
|
3216
|
+
readonly $ref: "#/components/schemas/UpDownVote";
|
|
3217
|
+
};
|
|
3218
|
+
readonly created_at: {
|
|
3219
|
+
readonly type: "string";
|
|
3220
|
+
readonly format: "date-time";
|
|
3221
|
+
};
|
|
3222
|
+
readonly updated_at: {
|
|
3223
|
+
readonly type: "string";
|
|
3224
|
+
readonly format: "date-time";
|
|
3225
|
+
};
|
|
3226
|
+
};
|
|
3227
|
+
};
|
|
3228
|
+
export declare const UpDownVoteSchema: {
|
|
3229
|
+
readonly type: "integer";
|
|
3230
|
+
readonly enum: readonly [1, -1];
|
|
3231
|
+
};
|
|
3232
|
+
export declare const UpDownMehVoteSchema: {
|
|
3233
|
+
readonly type: "integer";
|
|
3234
|
+
readonly enum: readonly [1, 0, -1];
|
|
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
|
+
};
|