api.fluff4.me 1.0.219 → 1.0.221
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 +8 -3
- package/openapi.json +28 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -343,10 +343,15 @@ export interface TagCategoryUpdateBody {
|
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
export interface TagCustomPromote {
|
|
346
|
+
name: string
|
|
346
347
|
category: string
|
|
347
348
|
description: string
|
|
348
349
|
}
|
|
349
350
|
|
|
351
|
+
export interface TagGlobalDemote {
|
|
352
|
+
name: string
|
|
353
|
+
}
|
|
354
|
+
|
|
350
355
|
export interface ManifestGlobalTags {
|
|
351
356
|
updated_at: number
|
|
352
357
|
tags: Record<string, Tag>
|
|
@@ -689,12 +694,12 @@ export interface Paths {
|
|
|
689
694
|
body: RoleCreateBody
|
|
690
695
|
response: void | ErrorResponse
|
|
691
696
|
},
|
|
692
|
-
"/role/delete/{
|
|
697
|
+
"/role/delete/{role}": {
|
|
693
698
|
method: "post"
|
|
694
699
|
body?: undefined
|
|
695
700
|
response: void | ErrorResponse
|
|
696
701
|
},
|
|
697
|
-
"/role/update/{
|
|
702
|
+
"/role/update/{role}": {
|
|
698
703
|
method: "post"
|
|
699
704
|
body: RoleUpdateBody
|
|
700
705
|
response: Response<Role> | ErrorResponse
|
|
@@ -781,7 +786,7 @@ export interface Paths {
|
|
|
781
786
|
},
|
|
782
787
|
"/tag/demote/{vanity}": {
|
|
783
788
|
method: "post"
|
|
784
|
-
body
|
|
789
|
+
body: TagGlobalDemote
|
|
785
790
|
response: Response<CustomTag> | ErrorResponse
|
|
786
791
|
},
|
|
787
792
|
"/manifest/tags": {
|
package/openapi.json
CHANGED
|
@@ -1802,6 +1802,9 @@
|
|
|
1802
1802
|
"TagCustomPromote": {
|
|
1803
1803
|
"type": "object",
|
|
1804
1804
|
"properties": {
|
|
1805
|
+
"name": {
|
|
1806
|
+
"type": "string"
|
|
1807
|
+
},
|
|
1805
1808
|
"category": {
|
|
1806
1809
|
"type": "string"
|
|
1807
1810
|
},
|
|
@@ -1811,10 +1814,22 @@
|
|
|
1811
1814
|
}
|
|
1812
1815
|
},
|
|
1813
1816
|
"required": [
|
|
1817
|
+
"name",
|
|
1814
1818
|
"category",
|
|
1815
1819
|
"description"
|
|
1816
1820
|
]
|
|
1817
1821
|
},
|
|
1822
|
+
"TagGlobalDemote": {
|
|
1823
|
+
"type": "object",
|
|
1824
|
+
"properties": {
|
|
1825
|
+
"name": {
|
|
1826
|
+
"type": "string"
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
"required": [
|
|
1830
|
+
"name"
|
|
1831
|
+
]
|
|
1832
|
+
},
|
|
1818
1833
|
"ManifestGlobalTags": {
|
|
1819
1834
|
"type": "object",
|
|
1820
1835
|
"properties": {
|
|
@@ -4486,10 +4501,10 @@
|
|
|
4486
4501
|
}
|
|
4487
4502
|
}
|
|
4488
4503
|
},
|
|
4489
|
-
"/role/delete/{
|
|
4504
|
+
"/role/delete/{role}": {
|
|
4490
4505
|
"parameters": [
|
|
4491
4506
|
{
|
|
4492
|
-
"name": "
|
|
4507
|
+
"name": "role",
|
|
4493
4508
|
"in": "path"
|
|
4494
4509
|
}
|
|
4495
4510
|
],
|
|
@@ -4511,10 +4526,10 @@
|
|
|
4511
4526
|
}
|
|
4512
4527
|
}
|
|
4513
4528
|
},
|
|
4514
|
-
"/role/update/{
|
|
4529
|
+
"/role/update/{role}": {
|
|
4515
4530
|
"parameters": [
|
|
4516
4531
|
{
|
|
4517
|
-
"name": "
|
|
4532
|
+
"name": "role",
|
|
4518
4533
|
"in": "path"
|
|
4519
4534
|
}
|
|
4520
4535
|
],
|
|
@@ -5163,6 +5178,15 @@
|
|
|
5163
5178
|
}
|
|
5164
5179
|
],
|
|
5165
5180
|
"post": {
|
|
5181
|
+
"requestBody": {
|
|
5182
|
+
"content": {
|
|
5183
|
+
"application/json": {
|
|
5184
|
+
"schema": {
|
|
5185
|
+
"$ref": "#/components/schemas/TagGlobalDemote"
|
|
5186
|
+
}
|
|
5187
|
+
}
|
|
5188
|
+
}
|
|
5189
|
+
},
|
|
5166
5190
|
"responses": {
|
|
5167
5191
|
"200": {
|
|
5168
5192
|
"description": "200 response",
|
package/package.json
CHANGED