api.fluff4.me 1.0.1091 → 1.0.1095
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/index.d.ts +3 -3
- package/openapi.json +6 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -79,8 +79,8 @@ export interface AuthorSelf {
|
|
|
79
79
|
works?: WorkMetadata[] | null
|
|
80
80
|
settings?: string | null
|
|
81
81
|
roles?: Role[] | null
|
|
82
|
-
privileges?: ("PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments")[] | null
|
|
83
|
-
revoked_privileges?: ("PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments")[] | null
|
|
82
|
+
privileges?: ("PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments" | "ModerationManageDefaultShelves")[] | null
|
|
83
|
+
revoked_privileges?: ("PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments" | "ModerationManageDefaultShelves")[] | null
|
|
84
84
|
totp_state?: ("enabled" | "disabled") | null
|
|
85
85
|
auth_services_required?: number | null
|
|
86
86
|
age: "sixteen_plus" | "eighteen_plus"
|
|
@@ -175,7 +175,7 @@ export interface Role {
|
|
|
175
175
|
privileges?: Privilege[] | null
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
export type Privilege = "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments"
|
|
178
|
+
export type Privilege = "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove" | "ChangelogModify" | "ModerationLock" | "ModerationCensor" | "ModerationDelete" | "ModerationViewReport" | "ModerationGrantSupporter" | "Admin" | "FundraiserManage" | "ModerationViewPatronOnly" | "TagSuggestionManage" | "WorkCreate" | "ChapterCreate" | "CommentAdd" | "WorkRecommend" | "ReportCreate" | "TagSuggest" | "CustomTagCreate" | "ModerationAuthorTag" | "ModerationViewComments" | "ModerationManageDefaultShelves"
|
|
179
179
|
|
|
180
180
|
export interface AuthDeleteBody {
|
|
181
181
|
id: string
|
package/openapi.json
CHANGED
|
@@ -442,7 +442,8 @@
|
|
|
442
442
|
"TagSuggest",
|
|
443
443
|
"CustomTagCreate",
|
|
444
444
|
"ModerationAuthorTag",
|
|
445
|
-
"ModerationViewComments"
|
|
445
|
+
"ModerationViewComments",
|
|
446
|
+
"ModerationManageDefaultShelves"
|
|
446
447
|
]
|
|
447
448
|
}
|
|
448
449
|
},
|
|
@@ -502,7 +503,8 @@
|
|
|
502
503
|
"TagSuggest",
|
|
503
504
|
"CustomTagCreate",
|
|
504
505
|
"ModerationAuthorTag",
|
|
505
|
-
"ModerationViewComments"
|
|
506
|
+
"ModerationViewComments",
|
|
507
|
+
"ModerationManageDefaultShelves"
|
|
506
508
|
]
|
|
507
509
|
}
|
|
508
510
|
},
|
|
@@ -1092,7 +1094,8 @@
|
|
|
1092
1094
|
"TagSuggest",
|
|
1093
1095
|
"CustomTagCreate",
|
|
1094
1096
|
"ModerationAuthorTag",
|
|
1095
|
-
"ModerationViewComments"
|
|
1097
|
+
"ModerationViewComments",
|
|
1098
|
+
"ModerationManageDefaultShelves"
|
|
1096
1099
|
]
|
|
1097
1100
|
},
|
|
1098
1101
|
"AuthDeleteBody": {
|
package/package.json
CHANGED