e621 2.2.4 → 3.0.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/LICENSE +21 -0
- package/README.md +15 -40
- package/dist/lib/Debug.d.ts +1 -0
- package/dist/lib/Debug.js +16 -0
- package/dist/lib/errors.d.ts +8 -0
- package/dist/lib/errors.js +37 -0
- package/dist/lib/generated/client/client.d.ts +2 -0
- package/dist/lib/generated/client/client.js +236 -0
- package/dist/lib/generated/client/index.d.ts +8 -0
- package/dist/lib/generated/client/index.js +7 -0
- package/dist/lib/generated/client/types.d.ts +117 -0
- package/dist/lib/generated/client/types.js +3 -0
- package/dist/lib/generated/client/utils.d.ts +33 -0
- package/dist/lib/generated/client/utils.js +229 -0
- package/dist/lib/generated/client.d.ts +12 -0
- package/dist/lib/generated/client.js +4 -0
- package/dist/lib/generated/core/auth.d.ts +18 -0
- package/dist/lib/generated/core/auth.js +15 -0
- package/dist/lib/generated/core/bodySerializer.d.ts +25 -0
- package/dist/lib/generated/core/bodySerializer.js +58 -0
- package/dist/lib/generated/core/params.d.ts +43 -0
- package/dist/lib/generated/core/params.js +101 -0
- package/dist/lib/generated/core/pathSerializer.d.ts +33 -0
- package/dist/lib/generated/core/pathSerializer.js +107 -0
- package/dist/lib/generated/core/queryKeySerializer.d.ts +18 -0
- package/dist/lib/generated/core/queryKeySerializer.js +93 -0
- package/dist/lib/generated/core/serverSentEvents.d.ts +71 -0
- package/dist/lib/generated/core/serverSentEvents.js +134 -0
- package/dist/lib/generated/core/types.d.ts +78 -0
- package/dist/lib/generated/core/types.js +3 -0
- package/dist/lib/generated/core/utils.d.ts +19 -0
- package/dist/lib/generated/core/utils.js +88 -0
- package/dist/lib/generated/schemas.d.ts +2908 -0
- package/dist/lib/generated/schemas.js +3911 -0
- package/dist/lib/generated/sdk.d.ts +1373 -0
- package/dist/lib/generated/sdk.js +2557 -0
- package/dist/lib/generated/source.json +19299 -0
- package/dist/lib/generated/types.d.ts +9663 -0
- package/dist/lib/generated/types.js +3 -0
- package/dist/lib/generated.d.ts +4 -0
- package/dist/lib/generated.js +5 -0
- package/dist/lib/index.d.ts +58 -0
- package/dist/lib/index.js +74 -0
- package/dist/lib/models/ApiKey.d.ts +14 -0
- package/dist/lib/models/ApiKey.js +17 -0
- package/dist/lib/models/Artist.d.ts +61 -0
- package/dist/lib/models/Artist.js +86 -0
- package/dist/lib/models/ArtistUrl.d.ts +14 -0
- package/dist/lib/models/ArtistUrl.js +17 -0
- package/dist/lib/models/ArtistVersion.d.ts +14 -0
- package/dist/lib/models/ArtistVersion.js +17 -0
- package/dist/lib/models/AvoidPosting.d.ts +63 -0
- package/dist/lib/models/AvoidPosting.js +97 -0
- package/dist/lib/models/AvoidPostingVersion.d.ts +14 -0
- package/dist/lib/models/AvoidPostingVersion.js +17 -0
- package/dist/lib/models/Ban.d.ts +14 -0
- package/dist/lib/models/Ban.js +17 -0
- package/dist/lib/models/Base.d.ts +11 -0
- package/dist/lib/models/Base.js +39 -0
- package/dist/lib/models/Blip.d.ts +79 -0
- package/dist/lib/models/Blip.js +120 -0
- package/dist/lib/models/BulkUpdateRequest.d.ts +49 -0
- package/dist/lib/models/BulkUpdateRequest.js +75 -0
- package/dist/lib/models/Comment.d.ts +100 -0
- package/dist/lib/models/Comment.js +157 -0
- package/dist/lib/models/CurrentUser.d.ts +14 -0
- package/dist/lib/models/CurrentUser.js +17 -0
- package/dist/lib/models/DMail.d.ts +46 -0
- package/dist/lib/models/DMail.js +73 -0
- package/dist/lib/models/EditHistory.d.ts +14 -0
- package/dist/lib/models/EditHistory.js +17 -0
- package/dist/lib/models/EmailBlacklist.d.ts +26 -0
- package/dist/lib/models/EmailBlacklist.js +37 -0
- package/dist/lib/models/ForumPost.d.ts +97 -0
- package/dist/lib/models/ForumPost.js +154 -0
- package/dist/lib/models/ForumPostVote.d.ts +24 -0
- package/dist/lib/models/ForumPostVote.js +35 -0
- package/dist/lib/models/ForumTopic.d.ts +81 -0
- package/dist/lib/models/ForumTopic.js +131 -0
- package/dist/lib/models/FullCurrentUser.d.ts +14 -0
- package/dist/lib/models/FullCurrentUser.js +17 -0
- package/dist/lib/models/FullUser.d.ts +14 -0
- package/dist/lib/models/FullUser.js +17 -0
- package/dist/lib/models/Help.d.ts +39 -0
- package/dist/lib/models/Help.js +57 -0
- package/dist/lib/models/IpBan.d.ts +28 -0
- package/dist/lib/models/IpBan.js +39 -0
- package/dist/lib/models/IqdbPost.d.ts +14 -0
- package/dist/lib/models/IqdbPost.js +17 -0
- package/dist/lib/models/Mascot.d.ts +39 -0
- package/dist/lib/models/Mascot.js +57 -0
- package/dist/lib/models/ModAction.d.ts +14 -0
- package/dist/lib/models/ModAction.js +17 -0
- package/dist/lib/models/NewsUpdate.d.ts +39 -0
- package/dist/lib/models/NewsUpdate.js +57 -0
- package/dist/lib/models/Note.d.ts +45 -0
- package/dist/lib/models/Note.js +71 -0
- package/dist/lib/models/NoteVersion.d.ts +24 -0
- package/dist/lib/models/NoteVersion.js +35 -0
- package/dist/lib/models/Pool.d.ts +67 -0
- package/dist/lib/models/Pool.js +109 -0
- package/dist/lib/models/PoolVersion.d.ts +24 -0
- package/dist/lib/models/PoolVersion.js +35 -0
- package/dist/lib/models/Post.d.ts +174 -0
- package/dist/lib/models/Post.js +287 -0
- package/dist/lib/models/PostApproval.d.ts +26 -0
- package/dist/lib/models/PostApproval.js +37 -0
- package/dist/lib/models/PostDisapproval.d.ts +14 -0
- package/dist/lib/models/PostDisapproval.js +17 -0
- package/dist/lib/models/PostEvent.d.ts +14 -0
- package/dist/lib/models/PostEvent.js +17 -0
- package/dist/lib/models/PostFlag.d.ts +38 -0
- package/dist/lib/models/PostFlag.js +57 -0
- package/dist/lib/models/PostReplacement.d.ts +75 -0
- package/dist/lib/models/PostReplacement.js +117 -0
- package/dist/lib/models/PostSet.d.ts +75 -0
- package/dist/lib/models/PostSet.js +117 -0
- package/dist/lib/models/PostVersion.d.ts +58 -0
- package/dist/lib/models/PostVersion.js +93 -0
- package/dist/lib/models/StaffNote.d.ts +53 -0
- package/dist/lib/models/StaffNote.js +79 -0
- package/dist/lib/models/Tag.d.ts +59 -0
- package/dist/lib/models/Tag.js +91 -0
- package/dist/lib/models/TagAlias.d.ts +51 -0
- package/dist/lib/models/TagAlias.js +77 -0
- package/dist/lib/models/TagCorrection.d.ts +15 -0
- package/dist/lib/models/TagCorrection.js +20 -0
- package/dist/lib/models/TagImplication.d.ts +51 -0
- package/dist/lib/models/TagImplication.js +77 -0
- package/dist/lib/models/TagPreview.d.ts +14 -0
- package/dist/lib/models/TagPreview.js +17 -0
- package/dist/lib/models/TagTypeVersion.d.ts +14 -0
- package/dist/lib/models/TagTypeVersion.js +17 -0
- package/dist/lib/models/Takedown.d.ts +87 -0
- package/dist/lib/models/Takedown.js +137 -0
- package/dist/lib/models/Ticket.d.ts +51 -0
- package/dist/lib/models/Ticket.js +77 -0
- package/dist/lib/models/Upload.d.ts +14 -0
- package/dist/lib/models/Upload.js +17 -0
- package/dist/lib/models/UploadWhitelist.d.ts +37 -0
- package/dist/lib/models/UploadWhitelist.js +55 -0
- package/dist/lib/models/User.d.ts +97 -0
- package/dist/lib/models/User.js +160 -0
- package/dist/lib/models/UserFeedback.d.ts +63 -0
- package/dist/lib/models/UserFeedback.js +97 -0
- package/dist/lib/models/UserNameChangeRequest.d.ts +26 -0
- package/dist/lib/models/UserNameChangeRequest.js +37 -0
- package/dist/lib/models/WikiPage.d.ts +49 -0
- package/dist/lib/models/WikiPage.js +75 -0
- package/dist/lib/models/WikiPageVersion.d.ts +24 -0
- package/dist/lib/models/WikiPageVersion.js +35 -0
- package/dist/lib/models/index.d.ts +53 -0
- package/dist/lib/models/index.js +54 -0
- package/dist/lib/modules/ArtistUrls.d.ts +18 -0
- package/dist/lib/modules/ArtistUrls.js +28 -0
- package/dist/lib/modules/ArtistVersions.d.ts +18 -0
- package/dist/lib/modules/ArtistVersions.js +28 -0
- package/dist/lib/modules/Artists.d.ts +90 -0
- package/dist/lib/modules/Artists.js +151 -0
- package/dist/lib/modules/AvoidPostingVersions.d.ts +18 -0
- package/dist/lib/modules/AvoidPostingVersions.js +28 -0
- package/dist/lib/modules/AvoidPostings.d.ts +112 -0
- package/dist/lib/modules/AvoidPostings.js +181 -0
- package/dist/lib/modules/Bans.d.ts +26 -0
- package/dist/lib/modules/Bans.js +47 -0
- package/dist/lib/modules/Base.d.ts +20 -0
- package/dist/lib/modules/Base.js +39 -0
- package/dist/lib/modules/Blips.d.ts +105 -0
- package/dist/lib/modules/Blips.js +188 -0
- package/dist/lib/modules/BulkUpdateRequests.d.ts +76 -0
- package/dist/lib/modules/BulkUpdateRequests.js +136 -0
- package/dist/lib/modules/CommentVotes.d.ts +30 -0
- package/dist/lib/modules/CommentVotes.js +56 -0
- package/dist/lib/modules/Comments.d.ts +112 -0
- package/dist/lib/modules/Comments.js +195 -0
- package/dist/lib/modules/DMails.d.ts +70 -0
- package/dist/lib/modules/DMails.js +134 -0
- package/dist/lib/modules/DText.d.ts +18 -0
- package/dist/lib/modules/DText.js +32 -0
- package/dist/lib/modules/EditHistories.d.ts +34 -0
- package/dist/lib/modules/EditHistories.js +56 -0
- package/dist/lib/modules/EmailBlacklists.d.ts +45 -0
- package/dist/lib/modules/EmailBlacklists.js +74 -0
- package/dist/lib/modules/Favorites.d.ts +38 -0
- package/dist/lib/modules/Favorites.js +73 -0
- package/dist/lib/modules/ForumPosts.d.ts +107 -0
- package/dist/lib/modules/ForumPosts.js +190 -0
- package/dist/lib/modules/ForumTopics.d.ts +125 -0
- package/dist/lib/modules/ForumTopics.js +237 -0
- package/dist/lib/modules/HelpPages.d.ts +67 -0
- package/dist/lib/modules/HelpPages.js +118 -0
- package/dist/lib/modules/IpBans.d.ts +47 -0
- package/dist/lib/modules/IpBans.js +76 -0
- package/dist/lib/modules/IqdbQueries.d.ts +36 -0
- package/dist/lib/modules/IqdbQueries.js +63 -0
- package/dist/lib/modules/Mascots.d.ts +60 -0
- package/dist/lib/modules/Mascots.js +98 -0
- package/dist/lib/modules/ModActions.d.ts +34 -0
- package/dist/lib/modules/ModActions.js +55 -0
- package/dist/lib/modules/NewsUpdates.d.ts +60 -0
- package/dist/lib/modules/NewsUpdates.js +98 -0
- package/dist/lib/modules/NoteVersions.d.ts +18 -0
- package/dist/lib/modules/NoteVersions.js +28 -0
- package/dist/lib/modules/Notes.d.ts +72 -0
- package/dist/lib/modules/Notes.js +133 -0
- package/dist/lib/modules/PoolVersions.d.ts +18 -0
- package/dist/lib/modules/PoolVersions.js +28 -0
- package/dist/lib/modules/Pools.d.ts +104 -0
- package/dist/lib/modules/Pools.js +197 -0
- package/dist/lib/modules/Popular.d.ts +18 -0
- package/dist/lib/modules/Popular.js +31 -0
- package/dist/lib/modules/PostApprovals.d.ts +42 -0
- package/dist/lib/modules/PostApprovals.js +77 -0
- package/dist/lib/modules/PostDisapprovals.d.ts +37 -0
- package/dist/lib/modules/PostDisapprovals.js +55 -0
- package/dist/lib/modules/PostEvents.d.ts +20 -0
- package/dist/lib/modules/PostEvents.js +30 -0
- package/dist/lib/modules/PostFlags.d.ts +53 -0
- package/dist/lib/modules/PostFlags.js +93 -0
- package/dist/lib/modules/PostReplacements.d.ts +94 -0
- package/dist/lib/modules/PostReplacements.js +167 -0
- package/dist/lib/modules/PostSets.d.ts +116 -0
- package/dist/lib/modules/PostSets.js +211 -0
- package/dist/lib/modules/PostVersions.d.ts +51 -0
- package/dist/lib/modules/PostVersions.js +94 -0
- package/dist/lib/modules/PostVotes.d.ts +28 -0
- package/dist/lib/modules/PostVotes.js +54 -0
- package/dist/lib/modules/Posts.d.ts +193 -0
- package/dist/lib/modules/Posts.js +395 -0
- package/dist/lib/modules/RelatedTags.d.ts +19 -0
- package/dist/lib/modules/RelatedTags.js +29 -0
- package/dist/lib/modules/StaffNotes.d.ts +80 -0
- package/dist/lib/modules/StaffNotes.js +140 -0
- package/dist/lib/modules/TagAliases.d.ts +80 -0
- package/dist/lib/modules/TagAliases.js +140 -0
- package/dist/lib/modules/TagCorrections.d.ts +25 -0
- package/dist/lib/modules/TagCorrections.js +52 -0
- package/dist/lib/modules/TagImplications.d.ts +80 -0
- package/dist/lib/modules/TagImplications.js +140 -0
- package/dist/lib/modules/TagTypeVersions.d.ts +18 -0
- package/dist/lib/modules/TagTypeVersions.js +28 -0
- package/dist/lib/modules/Tags.d.ts +64 -0
- package/dist/lib/modules/Tags.js +116 -0
- package/dist/lib/modules/Takedowns.d.ts +114 -0
- package/dist/lib/modules/Takedowns.js +211 -0
- package/dist/lib/modules/Tickets.d.ts +71 -0
- package/dist/lib/modules/Tickets.js +123 -0
- package/dist/lib/modules/UploadWhitelists.d.ts +68 -0
- package/dist/lib/modules/UploadWhitelists.js +117 -0
- package/dist/lib/modules/Uploads.d.ts +42 -0
- package/dist/lib/modules/Uploads.js +78 -0
- package/dist/lib/modules/UserFeedbacks.d.ts +94 -0
- package/dist/lib/modules/UserFeedbacks.js +165 -0
- package/dist/lib/modules/UserNameChangeRequests.d.ts +59 -0
- package/dist/lib/modules/UserNameChangeRequests.js +99 -0
- package/dist/lib/modules/Users.d.ts +132 -0
- package/dist/lib/modules/Users.js +263 -0
- package/dist/lib/modules/WikiPageVersions.d.ts +26 -0
- package/dist/lib/modules/WikiPageVersions.js +47 -0
- package/dist/lib/modules/WikiPages.d.ts +76 -0
- package/dist/lib/modules/WikiPages.js +137 -0
- package/dist/lib/modules/admin/Users.d.ts +45 -0
- package/dist/lib/modules/admin/Users.js +77 -0
- package/dist/lib/modules/comments/Votes.d.ts +26 -0
- package/dist/lib/modules/comments/Votes.js +51 -0
- package/dist/lib/modules/forum_posts/Votes.d.ts +26 -0
- package/dist/lib/modules/forum_posts/Votes.js +51 -0
- package/dist/lib/modules/index.d.ts +172 -0
- package/dist/lib/modules/index.js +114 -0
- package/dist/lib/modules/posts/Flag.d.ts +16 -0
- package/dist/lib/modules/posts/Flag.js +31 -0
- package/dist/lib/modules/posts/Votes.d.ts +26 -0
- package/dist/lib/modules/posts/Votes.js +51 -0
- package/dist/lib/modules/users/DMails.d.ts +29 -0
- package/dist/lib/modules/users/DMails.js +55 -0
- package/dist/lib/util.d.ts +48 -0
- package/dist/lib/util.js +49 -0
- package/dist/package.json +73 -0
- package/package.json +46 -20
- package/tsconfig.json +54 -0
- package/.mocharc.json +0 -6
- package/.ncurc.json +0 -3
- package/.node-version +0 -1
- package/Features/Artists.md +0 -39
- package/Features/Blips.md +0 -33
- package/Features/E621SearchInconsistencies.md +0 -54
- package/Features/FuturePlans.md +0 -50
- package/Features/Notes.md +0 -34
- package/Features/Pools.md +0 -38
- package/Features/PostFlags.md +0 -31
- package/Features/PostSets.md +0 -36
- package/Features/Posts.md +0 -46
- package/Features/README.md +0 -15
- package/Features/Tags.md +0 -34
- package/Features/Takedowns.md +0 -32
- package/Features/UserFeedback.md +0 -32
- package/Features/Users.md +0 -36
- package/Features/WikiPages.md +0 -36
- package/build/package.json +0 -45
- package/build/src/index.d.ts +0 -68
- package/build/src/index.js +0 -194
- package/build/src/modules/Artists.d.ts +0 -128
- package/build/src/modules/Artists.js +0 -295
- package/build/src/modules/Blips.d.ts +0 -79
- package/build/src/modules/Blips.js +0 -157
- package/build/src/modules/Notes.d.ts +0 -88
- package/build/src/modules/Notes.js +0 -189
- package/build/src/modules/Pools.d.ts +0 -130
- package/build/src/modules/Pools.js +0 -261
- package/build/src/modules/PostFlags.d.ts +0 -55
- package/build/src/modules/PostFlags.js +0 -126
- package/build/src/modules/PostSets.d.ts +0 -102
- package/build/src/modules/PostSets.js +0 -208
- package/build/src/modules/Posts.d.ts +0 -154
- package/build/src/modules/Posts.js +0 -390
- package/build/src/modules/Tags.d.ts +0 -78
- package/build/src/modules/Tags.js +0 -174
- package/build/src/modules/Takedowns.d.ts +0 -81
- package/build/src/modules/Takedowns.js +0 -195
- package/build/src/modules/UserFeedback.d.ts +0 -66
- package/build/src/modules/UserFeedback.js +0 -136
- package/build/src/modules/Users.d.ts +0 -117
- package/build/src/modules/Users.js +0 -261
- package/build/src/modules/WikiPages.d.ts +0 -107
- package/build/src/modules/WikiPages.js +0 -220
- package/build/src/structures/Artist.d.ts +0 -36
- package/build/src/structures/Artist.js +0 -51
- package/build/src/structures/ArtistHistory.d.ts +0 -39
- package/build/src/structures/ArtistHistory.js +0 -50
- package/build/src/structures/AuthenticatedUser.d.ts +0 -109
- package/build/src/structures/AuthenticatedUser.js +0 -128
- package/build/src/structures/Blip.d.ts +0 -66
- package/build/src/structures/Blip.js +0 -85
- package/build/src/structures/Note.d.ts +0 -32
- package/build/src/structures/Note.js +0 -41
- package/build/src/structures/NoteHistory.d.ts +0 -38
- package/build/src/structures/NoteHistory.js +0 -47
- package/build/src/structures/Pool.d.ts +0 -85
- package/build/src/structures/Pool.js +0 -112
- package/build/src/structures/PoolHistory.d.ts +0 -43
- package/build/src/structures/PoolHistory.js +0 -54
- package/build/src/structures/Post.d.ts +0 -157
- package/build/src/structures/Post.js +0 -170
- package/build/src/structures/PostApproval.d.ts +0 -25
- package/build/src/structures/PostApproval.js +0 -33
- package/build/src/structures/PostFlag.d.ts +0 -38
- package/build/src/structures/PostFlag.js +0 -47
- package/build/src/structures/PostHistory.d.ts +0 -52
- package/build/src/structures/PostHistory.js +0 -93
- package/build/src/structures/PostSet.d.ts +0 -71
- package/build/src/structures/PostSet.js +0 -93
- package/build/src/structures/Tag.d.ts +0 -61
- package/build/src/structures/Tag.js +0 -87
- package/build/src/structures/TagHistory.d.ts +0 -28
- package/build/src/structures/TagHistory.js +0 -36
- package/build/src/structures/Takedown.d.ts +0 -49
- package/build/src/structures/Takedown.js +0 -64
- package/build/src/structures/User.d.ts +0 -62
- package/build/src/structures/User.js +0 -80
- package/build/src/structures/WikiPage.d.ts +0 -17
- package/build/src/structures/WikiPage.js +0 -27
- package/build/src/structures/WikiPageHistory.d.ts +0 -38
- package/build/src/structures/WikiPageHistory.js +0 -49
- package/build/src/types/artists.d.ts +0 -82
- package/build/src/types/blips.d.ts +0 -37
- package/build/src/types/index.d.ts +0 -96
- package/build/src/types/notes.d.ts +0 -64
- package/build/src/types/pools.d.ts +0 -62
- package/build/src/types/post_flags.d.ts +0 -36
- package/build/src/types/post_sets.d.ts +0 -33
- package/build/src/types/posts.d.ts +0 -181
- package/build/src/types/tags.d.ts +0 -56
- package/build/src/types/takedowns.d.ts +0 -62
- package/build/src/types/user_feedback.d.ts +0 -27
- package/build/src/types/users.d.ts +0 -277
- package/build/src/types/wiki_pages.d.ts +0 -66
- package/build/src/util/Debug.d.ts +0 -1
- package/build/src/util/Debug.js +0 -16
- package/build/src/util/FormHelper.d.ts +0 -9
- package/build/src/util/FormHelper.js +0 -15
- package/build/src/util/MultipartData.d.ts +0 -7
- package/build/src/util/MultipartData.js +0 -39
- package/build/src/util/RequestHandler.d.ts +0 -38
- package/build/src/util/RequestHandler.js +0 -343
- package/build/src/util/Timer.d.ts +0 -6
- package/build/src/util/Timer.js +0 -71
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import Base from "./Base.js";
|
|
3
|
+
import { OperationID, Schema } from "../util.js";
|
|
4
|
+
/**
|
|
5
|
+
* @category Models
|
|
6
|
+
*
|
|
7
|
+
* @schema {@link https://e621.wiki/#model-PostReplacement PostReplacement}
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://e621.wiki/#model-PostReplacement Documentation} for more details.
|
|
10
|
+
*/
|
|
11
|
+
let PostReplacement = class PostReplacement extends Base {
|
|
12
|
+
/**
|
|
13
|
+
* Approve Post Replacement
|
|
14
|
+
*
|
|
15
|
+
* You must have the "Approve Posts" permission.
|
|
16
|
+
*
|
|
17
|
+
* @requiresApiKeyAuth
|
|
18
|
+
*
|
|
19
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Replacements-approvePostReplacement approvePostReplacement}
|
|
20
|
+
*
|
|
21
|
+
* @see {@link https://e621.wiki/#operations-Post_Replacements-approvePostReplacement Documentation} for more details.
|
|
22
|
+
*/
|
|
23
|
+
async approve() {
|
|
24
|
+
return this.e621.postReplacements.approve(this.id);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Delete Post Replacement
|
|
28
|
+
*
|
|
29
|
+
* You must be Admin+.
|
|
30
|
+
*
|
|
31
|
+
* @requiresApiKeyAuth
|
|
32
|
+
*
|
|
33
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Replacements-deletePostReplacement deletePostReplacement}
|
|
34
|
+
*
|
|
35
|
+
* @see {@link https://e621.wiki/#operations-Post_Replacements-deletePostReplacement Documentation} for more details.
|
|
36
|
+
*/
|
|
37
|
+
async delete() {
|
|
38
|
+
return this.e621.postReplacements.delete(this.id);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Promote Post Replacement
|
|
42
|
+
*
|
|
43
|
+
* You must have the "Approve Posts" permission.
|
|
44
|
+
*
|
|
45
|
+
* @requiresApiKeyAuth
|
|
46
|
+
*
|
|
47
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Replacements-promotePostReplacement promotePostReplacement}
|
|
48
|
+
*
|
|
49
|
+
* @see {@link https://e621.wiki/#operations-Post_Replacements-promotePostReplacement Documentation} for more details.
|
|
50
|
+
*/
|
|
51
|
+
async promote() {
|
|
52
|
+
return this.e621.postReplacements.promote(this.id);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Reject Post Replacement
|
|
56
|
+
*
|
|
57
|
+
* You must have the "Approve Posts" permission.
|
|
58
|
+
*
|
|
59
|
+
* @requiresApiKeyAuth
|
|
60
|
+
*
|
|
61
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Replacements-rejectPostReplacement rejectPostReplacement}
|
|
62
|
+
*
|
|
63
|
+
* @see {@link https://e621.wiki/#operations-Post_Replacements-rejectPostReplacement Documentation} for more details.
|
|
64
|
+
*/
|
|
65
|
+
async reject() {
|
|
66
|
+
return this.e621.postReplacements.reject(this.id);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Toggle Post Replacement Penalty
|
|
70
|
+
*
|
|
71
|
+
* You must have the "Approve Posts" permission.
|
|
72
|
+
*
|
|
73
|
+
* @requiresApiKeyAuth
|
|
74
|
+
*
|
|
75
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Replacements-togglePostReplacementPenalty togglePostReplacementPenalty}
|
|
76
|
+
*
|
|
77
|
+
* @see {@link https://e621.wiki/#operations-Post_Replacements-togglePostReplacementPenalty Documentation} for more details.
|
|
78
|
+
*/
|
|
79
|
+
async togglePenalize() {
|
|
80
|
+
return this.e621.postReplacements.togglePenalize(this.id);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
__decorate([
|
|
84
|
+
OperationID("approvePostReplacement"),
|
|
85
|
+
__metadata("design:type", Function),
|
|
86
|
+
__metadata("design:paramtypes", []),
|
|
87
|
+
__metadata("design:returntype", Promise)
|
|
88
|
+
], PostReplacement.prototype, "approve", null);
|
|
89
|
+
__decorate([
|
|
90
|
+
OperationID("deletePostReplacement"),
|
|
91
|
+
__metadata("design:type", Function),
|
|
92
|
+
__metadata("design:paramtypes", []),
|
|
93
|
+
__metadata("design:returntype", Promise)
|
|
94
|
+
], PostReplacement.prototype, "delete", null);
|
|
95
|
+
__decorate([
|
|
96
|
+
OperationID("promotePostReplacement"),
|
|
97
|
+
__metadata("design:type", Function),
|
|
98
|
+
__metadata("design:paramtypes", []),
|
|
99
|
+
__metadata("design:returntype", Promise)
|
|
100
|
+
], PostReplacement.prototype, "promote", null);
|
|
101
|
+
__decorate([
|
|
102
|
+
OperationID("rejectPostReplacement"),
|
|
103
|
+
__metadata("design:type", Function),
|
|
104
|
+
__metadata("design:paramtypes", []),
|
|
105
|
+
__metadata("design:returntype", Promise)
|
|
106
|
+
], PostReplacement.prototype, "reject", null);
|
|
107
|
+
__decorate([
|
|
108
|
+
OperationID("togglePostReplacementPenalty"),
|
|
109
|
+
__metadata("design:type", Function),
|
|
110
|
+
__metadata("design:paramtypes", []),
|
|
111
|
+
__metadata("design:returntype", Promise)
|
|
112
|
+
], PostReplacement.prototype, "togglePenalize", null);
|
|
113
|
+
PostReplacement = __decorate([
|
|
114
|
+
Schema("PostReplacement")
|
|
115
|
+
], PostReplacement);
|
|
116
|
+
export default PostReplacement;
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9zdFJlcGxhY2VtZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL21vZGVscy9Qb3N0UmVwbGFjZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sSUFBSSxNQUFNLFdBQVcsQ0FBQztBQUc3QixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxNQUFNLFlBQVksQ0FBQztBQUdqRDs7Ozs7O0dBTUc7QUFFSCxJQUFNLGVBQWUsR0FBckIsTUFBTSxlQUFnQixTQUFRLElBQXlCO0lBQ25EOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxPQUFPO1FBQ1QsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkQsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxNQUFNO1FBQ1IsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdEQsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxPQUFPO1FBQ1QsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkQsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxNQUFNO1FBQ1IsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLGdCQUFnQixDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdEQsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxjQUFjO1FBQ2hCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxjQUFjLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQzlELENBQUM7Q0FFSixDQUFBO0FBcEVTO0lBRFIsV0FBVyxDQUFDLHdCQUF3QixDQUFDOzs7OzhDQUdsQztBQWNLO0lBRFIsV0FBVyxDQUFDLHVCQUF1QixDQUFDOzs7OzZDQUdqQztBQWNLO0lBRFIsV0FBVyxDQUFDLHdCQUF3QixDQUFDOzs7OzhDQUdsQztBQWNLO0lBRFIsV0FBVyxDQUFDLHVCQUF1QixDQUFDOzs7OzZDQUdqQztBQWNLO0lBRFIsV0FBVyxDQUFDLDhCQUE4QixDQUFDOzs7O3FEQUd4QztBQS9FQyxlQUFlO0lBRHBCLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQztHQUNwQixlQUFlLENBaUZwQjtBQUVELGVBQWUsZUFBZSxDQUFDIn0=
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import Base from "./Base.js";
|
|
2
|
+
import type { PostSet as PostSetData } from "../generated/types.js";
|
|
3
|
+
import type { EditPostSetOptions } from "../modules/PostSets.js";
|
|
4
|
+
interface PostSet extends PostSetData {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @category Models
|
|
8
|
+
*
|
|
9
|
+
* @schema {@link https://e621.wiki/#model-PostSet PostSet}
|
|
10
|
+
*
|
|
11
|
+
* @see {@link https://e621.wiki/#model-PostSet Documentation} for more details.
|
|
12
|
+
*/
|
|
13
|
+
declare class PostSet extends Base<PostSetData> {
|
|
14
|
+
/**
|
|
15
|
+
* Add Posts To Post Set
|
|
16
|
+
*
|
|
17
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
18
|
+
*
|
|
19
|
+
* @requiresApiKeyAuth
|
|
20
|
+
*
|
|
21
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet addPostsToPostSet}
|
|
22
|
+
*
|
|
23
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet Documentation} for more details.
|
|
24
|
+
*/
|
|
25
|
+
addPosts(post_ids: Array<number>): Promise<PostSet>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete Post Set
|
|
28
|
+
*
|
|
29
|
+
* You must be the owner of the set, or Admin+.
|
|
30
|
+
*
|
|
31
|
+
* @requiresApiKeyAuth
|
|
32
|
+
*
|
|
33
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-deletePostSet deletePostSet}
|
|
34
|
+
*
|
|
35
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-deletePostSet Documentation} for more details.
|
|
36
|
+
*/
|
|
37
|
+
delete(): Promise<null>;
|
|
38
|
+
/**
|
|
39
|
+
* Edit Post Set
|
|
40
|
+
*
|
|
41
|
+
* You must be the owner of the set, or Admin+.
|
|
42
|
+
*
|
|
43
|
+
* @requiresApiKeyAuth
|
|
44
|
+
*
|
|
45
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-editPostSet editPostSet}
|
|
46
|
+
*
|
|
47
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-editPostSet Documentation} for more details.
|
|
48
|
+
*/
|
|
49
|
+
edit(options: EditPostSetOptions): Promise<null>;
|
|
50
|
+
/**
|
|
51
|
+
* Remove Posts From Post Set
|
|
52
|
+
*
|
|
53
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
54
|
+
*
|
|
55
|
+
* @requiresApiKeyAuth
|
|
56
|
+
*
|
|
57
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet removePostsFromPostSet}
|
|
58
|
+
*
|
|
59
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet Documentation} for more details.
|
|
60
|
+
*/
|
|
61
|
+
removePosts(post_ids: Array<number>): Promise<PostSet>;
|
|
62
|
+
/**
|
|
63
|
+
* Update Post Set Posts
|
|
64
|
+
*
|
|
65
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
66
|
+
*
|
|
67
|
+
* @requiresApiKeyAuth
|
|
68
|
+
*
|
|
69
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts updatePostSetPosts}
|
|
70
|
+
*
|
|
71
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts Documentation} for more details.
|
|
72
|
+
*/
|
|
73
|
+
updatePosts(post_ids: Array<number>): Promise<PostSet>;
|
|
74
|
+
}
|
|
75
|
+
export default PostSet;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import Base from "./Base.js";
|
|
3
|
+
import { OperationID, Schema } from "../util.js";
|
|
4
|
+
/**
|
|
5
|
+
* @category Models
|
|
6
|
+
*
|
|
7
|
+
* @schema {@link https://e621.wiki/#model-PostSet PostSet}
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://e621.wiki/#model-PostSet Documentation} for more details.
|
|
10
|
+
*/
|
|
11
|
+
let PostSet = class PostSet extends Base {
|
|
12
|
+
/**
|
|
13
|
+
* Add Posts To Post Set
|
|
14
|
+
*
|
|
15
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
16
|
+
*
|
|
17
|
+
* @requiresApiKeyAuth
|
|
18
|
+
*
|
|
19
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet addPostsToPostSet}
|
|
20
|
+
*
|
|
21
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet Documentation} for more details.
|
|
22
|
+
*/
|
|
23
|
+
async addPosts(post_ids) {
|
|
24
|
+
return this.e621.postSets.addPosts(this.id, post_ids);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Delete Post Set
|
|
28
|
+
*
|
|
29
|
+
* You must be the owner of the set, or Admin+.
|
|
30
|
+
*
|
|
31
|
+
* @requiresApiKeyAuth
|
|
32
|
+
*
|
|
33
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-deletePostSet deletePostSet}
|
|
34
|
+
*
|
|
35
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-deletePostSet Documentation} for more details.
|
|
36
|
+
*/
|
|
37
|
+
async delete() {
|
|
38
|
+
return this.e621.postSets.delete(this.id);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Edit Post Set
|
|
42
|
+
*
|
|
43
|
+
* You must be the owner of the set, or Admin+.
|
|
44
|
+
*
|
|
45
|
+
* @requiresApiKeyAuth
|
|
46
|
+
*
|
|
47
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-editPostSet editPostSet}
|
|
48
|
+
*
|
|
49
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-editPostSet Documentation} for more details.
|
|
50
|
+
*/
|
|
51
|
+
async edit(options) {
|
|
52
|
+
return this.e621.postSets.edit(this.id, options);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Remove Posts From Post Set
|
|
56
|
+
*
|
|
57
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
58
|
+
*
|
|
59
|
+
* @requiresApiKeyAuth
|
|
60
|
+
*
|
|
61
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet removePostsFromPostSet}
|
|
62
|
+
*
|
|
63
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet Documentation} for more details.
|
|
64
|
+
*/
|
|
65
|
+
async removePosts(post_ids) {
|
|
66
|
+
return this.e621.postSets.removePosts(this.id, post_ids);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Update Post Set Posts
|
|
70
|
+
*
|
|
71
|
+
* You must be the owner of the set, a maintainer (if public), or Admin+.
|
|
72
|
+
*
|
|
73
|
+
* @requiresApiKeyAuth
|
|
74
|
+
*
|
|
75
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts updatePostSetPosts}
|
|
76
|
+
*
|
|
77
|
+
* @see {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts Documentation} for more details.
|
|
78
|
+
*/
|
|
79
|
+
async updatePosts(post_ids) {
|
|
80
|
+
return this.e621.postSets.updatePosts(this.id, post_ids);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
__decorate([
|
|
84
|
+
OperationID("addPostsToPostSet"),
|
|
85
|
+
__metadata("design:type", Function),
|
|
86
|
+
__metadata("design:paramtypes", [Array]),
|
|
87
|
+
__metadata("design:returntype", Promise)
|
|
88
|
+
], PostSet.prototype, "addPosts", null);
|
|
89
|
+
__decorate([
|
|
90
|
+
OperationID("deletePostSet"),
|
|
91
|
+
__metadata("design:type", Function),
|
|
92
|
+
__metadata("design:paramtypes", []),
|
|
93
|
+
__metadata("design:returntype", Promise)
|
|
94
|
+
], PostSet.prototype, "delete", null);
|
|
95
|
+
__decorate([
|
|
96
|
+
OperationID("editPostSet"),
|
|
97
|
+
__metadata("design:type", Function),
|
|
98
|
+
__metadata("design:paramtypes", [Object]),
|
|
99
|
+
__metadata("design:returntype", Promise)
|
|
100
|
+
], PostSet.prototype, "edit", null);
|
|
101
|
+
__decorate([
|
|
102
|
+
OperationID("removePostsFromPostSet"),
|
|
103
|
+
__metadata("design:type", Function),
|
|
104
|
+
__metadata("design:paramtypes", [Array]),
|
|
105
|
+
__metadata("design:returntype", Promise)
|
|
106
|
+
], PostSet.prototype, "removePosts", null);
|
|
107
|
+
__decorate([
|
|
108
|
+
OperationID("updatePostSetPosts"),
|
|
109
|
+
__metadata("design:type", Function),
|
|
110
|
+
__metadata("design:paramtypes", [Array]),
|
|
111
|
+
__metadata("design:returntype", Promise)
|
|
112
|
+
], PostSet.prototype, "updatePosts", null);
|
|
113
|
+
PostSet = __decorate([
|
|
114
|
+
Schema("PostSet")
|
|
115
|
+
], PostSet);
|
|
116
|
+
export default PostSet;
|
|
117
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9zdFNldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9tb2RlbHMvUG9zdFNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxJQUFJLE1BQU0sV0FBVyxDQUFDO0FBRTdCLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBSWpEOzs7Ozs7R0FNRztBQUVILElBQU0sT0FBTyxHQUFiLE1BQU0sT0FBUSxTQUFRLElBQWlCO0lBQ25DOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxRQUFRLENBQUMsUUFBdUI7UUFDbEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRSxRQUFRLENBQUMsQ0FBQztJQUMxRCxDQUFDO0lBRUQ7Ozs7Ozs7Ozs7T0FVQTtJQUVNLEFBQU4sS0FBSyxDQUFDLE1BQU07UUFDUixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDOUMsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxJQUFJLENBQUMsT0FBMkI7UUFDbEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQztJQUNyRCxDQUFDO0lBRUQ7Ozs7Ozs7Ozs7T0FVQTtJQUVNLEFBQU4sS0FBSyxDQUFDLFdBQVcsQ0FBQyxRQUF1QjtRQUNyQyxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsRUFBRSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0lBQzdELENBQUM7SUFFRDs7Ozs7Ozs7OztPQVVBO0lBRU0sQUFBTixLQUFLLENBQUMsV0FBVyxDQUFDLFFBQXVCO1FBQ3JDLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxFQUFFLEVBQUUsUUFBUSxDQUFDLENBQUM7SUFDN0QsQ0FBQztDQUVKLENBQUE7QUFwRVM7SUFEUixXQUFXLENBQUMsbUJBQW1CLENBQUM7O3FDQUNMLEtBQUs7O3VDQUU3QjtBQWNLO0lBRFIsV0FBVyxDQUFDLGVBQWUsQ0FBQzs7OztxQ0FHekI7QUFjSztJQURSLFdBQVcsQ0FBQyxhQUFhLENBQUM7Ozs7bUNBR3ZCO0FBY0s7SUFEUixXQUFXLENBQUMsd0JBQXdCLENBQUM7O3FDQUNQLEtBQUs7OzBDQUVoQztBQWNLO0lBRFIsV0FBVyxDQUFDLG9CQUFvQixDQUFDOztxQ0FDSCxLQUFLOzswQ0FFaEM7QUEvRUMsT0FBTztJQURaLE1BQU0sQ0FBQyxTQUFTLENBQUM7R0FDWixPQUFPLENBaUZaO0FBRUQsZUFBZSxPQUFPLENBQUMifQ==
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Base from "./Base.js";
|
|
2
|
+
import type { PostVersion as PostVersionData } from "../generated/types.js";
|
|
3
|
+
interface PostVersion extends PostVersionData {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* @category Models
|
|
7
|
+
*
|
|
8
|
+
* @schema {@link https://e621.wiki/#model-PostVersion PostVersion}
|
|
9
|
+
*
|
|
10
|
+
* @see {@link https://e621.wiki/#model-PostVersion Documentation} for more details.
|
|
11
|
+
*/
|
|
12
|
+
declare class PostVersion extends Base<PostVersionData> {
|
|
13
|
+
/**
|
|
14
|
+
* Hide Post Version
|
|
15
|
+
*
|
|
16
|
+
* You must be Admin+.
|
|
17
|
+
*
|
|
18
|
+
* @requiresApiKeyAuth
|
|
19
|
+
*
|
|
20
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-hidePostVersion hidePostVersion}
|
|
21
|
+
*
|
|
22
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-hidePostVersion Documentation} for more details.
|
|
23
|
+
*/
|
|
24
|
+
hide(): Promise<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Revert Post
|
|
27
|
+
*
|
|
28
|
+
* @requiresApiKeyAuth
|
|
29
|
+
*
|
|
30
|
+
* @operationId {@link https://e621.wiki/#operations-Posts-revertPost revertPost}
|
|
31
|
+
*
|
|
32
|
+
* @see {@link https://e621.wiki/#operations-Posts-revertPost Documentation} for more details.
|
|
33
|
+
*/
|
|
34
|
+
revertTo(): Promise<null>;
|
|
35
|
+
/**
|
|
36
|
+
* Undo Post Version
|
|
37
|
+
*
|
|
38
|
+
* @requiresApiKeyAuth
|
|
39
|
+
*
|
|
40
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-undoPostVersion undoPostVersion}
|
|
41
|
+
*
|
|
42
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-undoPostVersion Documentation} for more details.
|
|
43
|
+
*/
|
|
44
|
+
undo(): Promise<null>;
|
|
45
|
+
/**
|
|
46
|
+
* Unhide Post Version
|
|
47
|
+
*
|
|
48
|
+
* You must be Admin+.
|
|
49
|
+
*
|
|
50
|
+
* @requiresApiKeyAuth
|
|
51
|
+
*
|
|
52
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-unhidePostVersion unhidePostVersion}
|
|
53
|
+
*
|
|
54
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-unhidePostVersion Documentation} for more details.
|
|
55
|
+
*/
|
|
56
|
+
unhide(): Promise<string>;
|
|
57
|
+
}
|
|
58
|
+
export default PostVersion;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import Base from "./Base.js";
|
|
3
|
+
import { OperationID, Schema } from "../util.js";
|
|
4
|
+
/**
|
|
5
|
+
* @category Models
|
|
6
|
+
*
|
|
7
|
+
* @schema {@link https://e621.wiki/#model-PostVersion PostVersion}
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://e621.wiki/#model-PostVersion Documentation} for more details.
|
|
10
|
+
*/
|
|
11
|
+
let PostVersion = class PostVersion extends Base {
|
|
12
|
+
/**
|
|
13
|
+
* Hide Post Version
|
|
14
|
+
*
|
|
15
|
+
* You must be Admin+.
|
|
16
|
+
*
|
|
17
|
+
* @requiresApiKeyAuth
|
|
18
|
+
*
|
|
19
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-hidePostVersion hidePostVersion}
|
|
20
|
+
*
|
|
21
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-hidePostVersion Documentation} for more details.
|
|
22
|
+
*/
|
|
23
|
+
async hide() {
|
|
24
|
+
return this.e621.postVersions.hide(this.id);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Revert Post
|
|
28
|
+
*
|
|
29
|
+
* @requiresApiKeyAuth
|
|
30
|
+
*
|
|
31
|
+
* @operationId {@link https://e621.wiki/#operations-Posts-revertPost revertPost}
|
|
32
|
+
*
|
|
33
|
+
* @see {@link https://e621.wiki/#operations-Posts-revertPost Documentation} for more details.
|
|
34
|
+
*/
|
|
35
|
+
async revertTo() {
|
|
36
|
+
return this.e621.posts.revert(this.post_id, this.id);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Undo Post Version
|
|
40
|
+
*
|
|
41
|
+
* @requiresApiKeyAuth
|
|
42
|
+
*
|
|
43
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-undoPostVersion undoPostVersion}
|
|
44
|
+
*
|
|
45
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-undoPostVersion Documentation} for more details.
|
|
46
|
+
*/
|
|
47
|
+
async undo() {
|
|
48
|
+
return this.e621.postVersions.undo(this.id);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Unhide Post Version
|
|
52
|
+
*
|
|
53
|
+
* You must be Admin+.
|
|
54
|
+
*
|
|
55
|
+
* @requiresApiKeyAuth
|
|
56
|
+
*
|
|
57
|
+
* @operationId {@link https://e621.wiki/#operations-Post_Versions-unhidePostVersion unhidePostVersion}
|
|
58
|
+
*
|
|
59
|
+
* @see {@link https://e621.wiki/#operations-Post_Versions-unhidePostVersion Documentation} for more details.
|
|
60
|
+
*/
|
|
61
|
+
async unhide() {
|
|
62
|
+
return this.e621.postVersions.unhide(this.id);
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
__decorate([
|
|
66
|
+
OperationID("hidePostVersion"),
|
|
67
|
+
__metadata("design:type", Function),
|
|
68
|
+
__metadata("design:paramtypes", []),
|
|
69
|
+
__metadata("design:returntype", Promise)
|
|
70
|
+
], PostVersion.prototype, "hide", null);
|
|
71
|
+
__decorate([
|
|
72
|
+
OperationID("revertPost"),
|
|
73
|
+
__metadata("design:type", Function),
|
|
74
|
+
__metadata("design:paramtypes", []),
|
|
75
|
+
__metadata("design:returntype", Promise)
|
|
76
|
+
], PostVersion.prototype, "revertTo", null);
|
|
77
|
+
__decorate([
|
|
78
|
+
OperationID("undoPostVersion"),
|
|
79
|
+
__metadata("design:type", Function),
|
|
80
|
+
__metadata("design:paramtypes", []),
|
|
81
|
+
__metadata("design:returntype", Promise)
|
|
82
|
+
], PostVersion.prototype, "undo", null);
|
|
83
|
+
__decorate([
|
|
84
|
+
OperationID("unhidePostVersion"),
|
|
85
|
+
__metadata("design:type", Function),
|
|
86
|
+
__metadata("design:paramtypes", []),
|
|
87
|
+
__metadata("design:returntype", Promise)
|
|
88
|
+
], PostVersion.prototype, "unhide", null);
|
|
89
|
+
PostVersion = __decorate([
|
|
90
|
+
Schema("PostVersion")
|
|
91
|
+
], PostVersion);
|
|
92
|
+
export default PostVersion;
|
|
93
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9zdFZlcnNpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvbW9kZWxzL1Bvc3RWZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLElBQUksTUFBTSxXQUFXLENBQUM7QUFFN0IsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFHakQ7Ozs7OztHQU1HO0FBRUgsSUFBTSxXQUFXLEdBQWpCLE1BQU0sV0FBWSxTQUFRLElBQXFCO0lBQzNDOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ2hELENBQUM7SUFFRDs7Ozs7Ozs7T0FRQTtJQUVNLEFBQU4sS0FBSyxDQUFDLFFBQVE7UUFDVixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUN6RCxDQUFDO0lBRUQ7Ozs7Ozs7O09BUUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ2hELENBQUM7SUFFRDs7Ozs7Ozs7OztPQVVBO0lBRU0sQUFBTixLQUFLLENBQUMsTUFBTTtRQUNSLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNsRCxDQUFDO0NBQ0osQ0FBQTtBQS9DUztJQURSLFdBQVcsQ0FBQyxpQkFBaUIsQ0FBQzs7Ozt1Q0FHM0I7QUFZSztJQURSLFdBQVcsQ0FBQyxZQUFZLENBQUM7Ozs7MkNBR3RCO0FBWUs7SUFEUixXQUFXLENBQUMsaUJBQWlCLENBQUM7Ozs7dUNBRzNCO0FBY0s7SUFEUixXQUFXLENBQUMsbUJBQW1CLENBQUM7Ozs7eUNBRzdCO0FBM0RDLFdBQVc7SUFEaEIsTUFBTSxDQUFDLGFBQWEsQ0FBQztHQUNoQixXQUFXLENBNERoQjtBQUVELGVBQWUsV0FBVyxDQUFDIn0=
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import Base from "./Base.js";
|
|
2
|
+
import type { StaffNote as StaffNoteData } from "../generated/types.js";
|
|
3
|
+
import type { EditStaffNoteOptions } from "../modules/StaffNotes.js";
|
|
4
|
+
interface StaffNote extends StaffNoteData {
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* @category Models
|
|
8
|
+
*
|
|
9
|
+
* @schema {@link https://e621.wiki/#model-StaffNote StaffNote}
|
|
10
|
+
*
|
|
11
|
+
* @see {@link https://e621.wiki/#model-StaffNote Documentation} for more details.
|
|
12
|
+
*/
|
|
13
|
+
declare class StaffNote extends Base<StaffNoteData> {
|
|
14
|
+
/**
|
|
15
|
+
* Delete Staff Note
|
|
16
|
+
*
|
|
17
|
+
* You must be the creator or Admin+.
|
|
18
|
+
|
|
19
|
+
*
|
|
20
|
+
* @requiresApiKeyAuth
|
|
21
|
+
*
|
|
22
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote deleteStaffNote}
|
|
23
|
+
*
|
|
24
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote Documentation} for more details.
|
|
25
|
+
*/
|
|
26
|
+
delete(): Promise<StaffNote>;
|
|
27
|
+
/**
|
|
28
|
+
* Edit Staff Note
|
|
29
|
+
*
|
|
30
|
+
* You must be the creator or Admin+.
|
|
31
|
+
*
|
|
32
|
+
* @requiresApiKeyAuth
|
|
33
|
+
*
|
|
34
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote editStaffNote}
|
|
35
|
+
*
|
|
36
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote Documentation} for more details.
|
|
37
|
+
*/
|
|
38
|
+
edit(options: EditStaffNoteOptions): Promise<StaffNote>;
|
|
39
|
+
/**
|
|
40
|
+
* Undelete Staff Note
|
|
41
|
+
*
|
|
42
|
+
* You must be the creator or Admin+.
|
|
43
|
+
|
|
44
|
+
*
|
|
45
|
+
* @requiresApiKeyAuth
|
|
46
|
+
*
|
|
47
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote undeleteStaffNote}
|
|
48
|
+
*
|
|
49
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote Documentation} for more details.
|
|
50
|
+
*/
|
|
51
|
+
undelete(): Promise<StaffNote>;
|
|
52
|
+
}
|
|
53
|
+
export default StaffNote;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import Base from "./Base.js";
|
|
3
|
+
import { OperationID, Schema } from "../util.js";
|
|
4
|
+
/**
|
|
5
|
+
* @category Models
|
|
6
|
+
*
|
|
7
|
+
* @schema {@link https://e621.wiki/#model-StaffNote StaffNote}
|
|
8
|
+
*
|
|
9
|
+
* @see {@link https://e621.wiki/#model-StaffNote Documentation} for more details.
|
|
10
|
+
*/
|
|
11
|
+
let StaffNote = class StaffNote extends Base {
|
|
12
|
+
/**
|
|
13
|
+
* Delete Staff Note
|
|
14
|
+
*
|
|
15
|
+
* You must be the creator or Admin+.
|
|
16
|
+
|
|
17
|
+
*
|
|
18
|
+
* @requiresApiKeyAuth
|
|
19
|
+
*
|
|
20
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote deleteStaffNote}
|
|
21
|
+
*
|
|
22
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-deleteStaffNote Documentation} for more details.
|
|
23
|
+
*/
|
|
24
|
+
async delete() {
|
|
25
|
+
return this.e621.staffNotes.delete(this.id);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Edit Staff Note
|
|
29
|
+
*
|
|
30
|
+
* You must be the creator or Admin+.
|
|
31
|
+
*
|
|
32
|
+
* @requiresApiKeyAuth
|
|
33
|
+
*
|
|
34
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote editStaffNote}
|
|
35
|
+
*
|
|
36
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-editStaffNote Documentation} for more details.
|
|
37
|
+
*/
|
|
38
|
+
async edit(options) {
|
|
39
|
+
return this.e621.staffNotes.edit(this.id, options);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Undelete Staff Note
|
|
43
|
+
*
|
|
44
|
+
* You must be the creator or Admin+.
|
|
45
|
+
|
|
46
|
+
*
|
|
47
|
+
* @requiresApiKeyAuth
|
|
48
|
+
*
|
|
49
|
+
* @operationId {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote undeleteStaffNote}
|
|
50
|
+
*
|
|
51
|
+
* @see {@link https://e621.wiki/#operations-Staff_Notes-undeleteStaffNote Documentation} for more details.
|
|
52
|
+
*/
|
|
53
|
+
async undelete() {
|
|
54
|
+
return this.e621.staffNotes.undelete(this.id);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
__decorate([
|
|
58
|
+
OperationID("deleteStaffNote"),
|
|
59
|
+
__metadata("design:type", Function),
|
|
60
|
+
__metadata("design:paramtypes", []),
|
|
61
|
+
__metadata("design:returntype", Promise)
|
|
62
|
+
], StaffNote.prototype, "delete", null);
|
|
63
|
+
__decorate([
|
|
64
|
+
OperationID("editStaffNote"),
|
|
65
|
+
__metadata("design:type", Function),
|
|
66
|
+
__metadata("design:paramtypes", [Object]),
|
|
67
|
+
__metadata("design:returntype", Promise)
|
|
68
|
+
], StaffNote.prototype, "edit", null);
|
|
69
|
+
__decorate([
|
|
70
|
+
OperationID("undeleteStaffNote"),
|
|
71
|
+
__metadata("design:type", Function),
|
|
72
|
+
__metadata("design:paramtypes", []),
|
|
73
|
+
__metadata("design:returntype", Promise)
|
|
74
|
+
], StaffNote.prototype, "undelete", null);
|
|
75
|
+
StaffNote = __decorate([
|
|
76
|
+
Schema("StaffNote")
|
|
77
|
+
], StaffNote);
|
|
78
|
+
export default StaffNote;
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RhZmZOb3RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL21vZGVscy9TdGFmZk5vdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sSUFBSSxNQUFNLFdBQVcsQ0FBQztBQUU3QixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxNQUFNLFlBQVksQ0FBQztBQUlqRDs7Ozs7O0dBTUc7QUFFSCxJQUFNLFNBQVMsR0FBZixNQUFNLFNBQVUsU0FBUSxJQUFtQjtJQUN2Qzs7Ozs7Ozs7Ozs7T0FXQTtJQUVNLEFBQU4sS0FBSyxDQUFDLE1BQU07UUFDUixPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDaEQsQ0FBQztJQUVEOzs7Ozs7Ozs7O09BVUE7SUFFTSxBQUFOLEtBQUssQ0FBQyxJQUFJLENBQUMsT0FBNkI7UUFDcEMsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQztJQUN2RCxDQUFDO0lBRUQ7Ozs7Ozs7Ozs7O09BV0E7SUFFTSxBQUFOLEtBQUssQ0FBQyxRQUFRO1FBQ1YsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ2xELENBQUM7Q0FFSixDQUFBO0FBckNTO0lBRFIsV0FBVyxDQUFDLGlCQUFpQixDQUFDOzs7O3VDQUczQjtBQWNLO0lBRFIsV0FBVyxDQUFDLGVBQWUsQ0FBQzs7OztxQ0FHekI7QUFlSztJQURSLFdBQVcsQ0FBQyxtQkFBbUIsQ0FBQzs7Ozt5Q0FHN0I7QUFqREMsU0FBUztJQURkLE1BQU0sQ0FBQyxXQUFXLENBQUM7R0FDZCxTQUFTLENBbURkO0FBRUQsZUFBZSxTQUFTLENBQUMifQ==
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import Base from "./Base.js";
|
|
2
|
+
import type TagCorrection from "./TagCorrection.js";
|
|
3
|
+
import type TagPreview from "./TagPreview.js";
|
|
4
|
+
import type { Tag as TagData } from "../generated/types.js";
|
|
5
|
+
import type { EditTagOptions } from "../modules/Tags.js";
|
|
6
|
+
interface Tag extends TagData {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @category Models
|
|
10
|
+
*
|
|
11
|
+
* @schema {@link https://e621.wiki/#model-Tag Tag}
|
|
12
|
+
*
|
|
13
|
+
* @see {@link https://e621.wiki/#model-Tag Documentation} for more details.
|
|
14
|
+
*/
|
|
15
|
+
declare class Tag extends Base<TagData> {
|
|
16
|
+
/**
|
|
17
|
+
* Delete Tag
|
|
18
|
+
*
|
|
19
|
+
* You must have the bd staff user flag.
|
|
20
|
+
*
|
|
21
|
+
* @requiresApiKeyAuth
|
|
22
|
+
*
|
|
23
|
+
* @operationId {@link https://e621.wiki/#operations-Tags-deleteTag deleteTag}
|
|
24
|
+
*
|
|
25
|
+
* @see {@link https://e621.wiki/#operations-Tags-deleteTag Documentation} for more details.
|
|
26
|
+
*/
|
|
27
|
+
delete(): Promise<null>;
|
|
28
|
+
/**
|
|
29
|
+
* Edit Tag
|
|
30
|
+
*
|
|
31
|
+
* Must be Admin+ if the tag is locked or post count is >100.
|
|
32
|
+
*
|
|
33
|
+
* @requiresApiKeyAuth
|
|
34
|
+
*
|
|
35
|
+
* @operationId {@link https://e621.wiki/#operations-Tags-editTag editTag}
|
|
36
|
+
*
|
|
37
|
+
* @see {@link https://e621.wiki/#operations-Tags-editTag Documentation} for more details.
|
|
38
|
+
*/
|
|
39
|
+
edit(options: EditTagOptions): Promise<null>;
|
|
40
|
+
/**
|
|
41
|
+
* Get Tag Correction
|
|
42
|
+
*
|
|
43
|
+
* @operationId {@link https://e621.wiki/#operations-Tags-getTagCorrection getTagCorrection}
|
|
44
|
+
*
|
|
45
|
+
* @see {@link https://e621.wiki/#operations-Tags-getTagCorrection Documentation} for more details.
|
|
46
|
+
*/
|
|
47
|
+
getCorrection(): Promise<TagCorrection>;
|
|
48
|
+
/**
|
|
49
|
+
* Preview Tags
|
|
50
|
+
*
|
|
51
|
+
* @requiresApiKeyAuth
|
|
52
|
+
*
|
|
53
|
+
* @operationId {@link https://e621.wiki/#operations-Tags-previewTags previewTags}
|
|
54
|
+
*
|
|
55
|
+
* @see {@link https://e621.wiki/#operations-Tags-previewTags Documentation} for more details.
|
|
56
|
+
*/
|
|
57
|
+
preview(): Promise<Array<TagPreview>>;
|
|
58
|
+
}
|
|
59
|
+
export default Tag;
|