api.fluff4.me 1.0.220 → 1.0.222

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 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>
@@ -781,7 +786,7 @@ export interface Paths {
781
786
  },
782
787
  "/tag/demote/{vanity}": {
783
788
  method: "post"
784
- body?: undefined
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": {
@@ -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
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.220",
3
+ "version": "1.0.222",
4
4
  "types": "index.d.ts"
5
5
  }