api.fluff4.me 1.0.422 → 1.0.423

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.
Files changed (3) hide show
  1. package/index.d.ts +10 -4
  2. package/openapi.json +44 -19
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -402,9 +402,15 @@ export interface TagCategoryUpdateBody {
402
402
  }
403
403
 
404
404
  export interface TagCustomPromote {
405
- name: string
406
- category: string
407
- description: string
405
+ customTags: string[]
406
+ existingGlobalTag?: string | null
407
+ newGlobalTag?:
408
+ | {
409
+ name: string
410
+ category: string
411
+ description: string
412
+ }
413
+ | null
408
414
  }
409
415
 
410
416
  export interface TagGlobalDemote {
@@ -1120,7 +1126,7 @@ export interface Paths {
1120
1126
  search?: undefined
1121
1127
  response: void | ErrorResponse
1122
1128
  },
1123
- "/tag/promote/{vanity}": {
1129
+ "/tag/promote": {
1124
1130
  method: "post"
1125
1131
  body: TagCustomPromote
1126
1132
  search?: undefined
package/openapi.json CHANGED
@@ -2305,23 +2305,54 @@
2305
2305
  "TagCustomPromote": {
2306
2306
  "type": "object",
2307
2307
  "properties": {
2308
- "name": {
2309
- "type": "string",
2310
- "minLength": 1,
2311
- "maxLength": 64
2308
+ "customTags": {
2309
+ "type": "array",
2310
+ "items": {
2311
+ "type": "string"
2312
+ }
2312
2313
  },
2313
- "category": {
2314
- "type": "string"
2314
+ "existingGlobalTag": {
2315
+ "anyOf": [
2316
+ {
2317
+ "type": "string"
2318
+ },
2319
+ {
2320
+ "type": "null"
2321
+ }
2322
+ ]
2315
2323
  },
2316
- "description": {
2317
- "type": "string",
2318
- "maxLength": 512
2324
+ "newGlobalTag": {
2325
+ "anyOf": [
2326
+ {
2327
+ "type": "object",
2328
+ "properties": {
2329
+ "name": {
2330
+ "type": "string",
2331
+ "minLength": 1,
2332
+ "maxLength": 64
2333
+ },
2334
+ "category": {
2335
+ "type": "string"
2336
+ },
2337
+ "description": {
2338
+ "type": "string",
2339
+ "maxLength": 512
2340
+ }
2341
+ },
2342
+ "required": [
2343
+ "name",
2344
+ "category",
2345
+ "description"
2346
+ ]
2347
+ },
2348
+ {
2349
+ "type": "null"
2350
+ }
2351
+ ]
2319
2352
  }
2320
2353
  },
2321
2354
  "required": [
2322
- "name",
2323
- "category",
2324
- "description"
2355
+ "customTags"
2325
2356
  ]
2326
2357
  },
2327
2358
  "TagGlobalDemote": {
@@ -6814,13 +6845,7 @@
6814
6845
  }
6815
6846
  }
6816
6847
  },
6817
- "/tag/promote/{vanity}": {
6818
- "parameters": [
6819
- {
6820
- "name": "vanity",
6821
- "in": "path"
6822
- }
6823
- ],
6848
+ "/tag/promote": {
6824
6849
  "post": {
6825
6850
  "requestBody": {
6826
6851
  "content": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.422",
3
+ "version": "1.0.423",
4
4
  "types": "index.d.ts"
5
5
  }