api.fluff4.me 1.0.506 → 1.0.508

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 +27 -1
  2. package/openapi.json +132 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -437,6 +437,14 @@ export interface TagCategoryUpdateBody {
437
437
  description?: string | null
438
438
  }
439
439
 
440
+ export interface CustomTagRename {
441
+ name: CustomTag
442
+ }
443
+
444
+ export interface CustomTagsDelete {
445
+ tags: CustomTag[]
446
+ }
447
+
440
448
  export interface TagCustomPromote {
441
449
  customTags: string[]
442
450
  existingGlobalTag?: string | null
@@ -1171,6 +1179,12 @@ export interface Paths {
1171
1179
  search?: undefined
1172
1180
  response: Response<TagCategory> | ErrorResponse
1173
1181
  },
1182
+ "/tag/update/custom/{vanity}": {
1183
+ method: "post"
1184
+ body: CustomTagRename
1185
+ search?: undefined
1186
+ response: Response<CustomTag> | ErrorResponse
1187
+ },
1174
1188
  "/tag/delete/global/{vanity}": {
1175
1189
  method: "post"
1176
1190
  body?: undefined
@@ -1183,6 +1197,12 @@ export interface Paths {
1183
1197
  search?: undefined
1184
1198
  response: void | ErrorResponse
1185
1199
  },
1200
+ "/tag/delete/custom": {
1201
+ method: "post"
1202
+ body: CustomTagsDelete
1203
+ search?: undefined
1204
+ response: void | ErrorResponse
1205
+ },
1186
1206
  "/tag/promote": {
1187
1207
  method: "post"
1188
1208
  body: TagCustomPromote
@@ -1195,7 +1215,7 @@ export interface Paths {
1195
1215
  search?: undefined
1196
1216
  response: Response<CustomTag> | ErrorResponse
1197
1217
  },
1198
- "/tag/custom/get": {
1218
+ "/tags/custom": {
1199
1219
  method: "get"
1200
1220
  body?: undefined
1201
1221
  search?: undefined
@@ -1291,6 +1311,12 @@ export interface Paths {
1291
1311
  search?: undefined
1292
1312
  response: void | ErrorResponse
1293
1313
  },
1314
+ "/danger-token/request/tag-modify/{service}/begin": {
1315
+ method: "get"
1316
+ body?: undefined
1317
+ search?: undefined
1318
+ response: void | ErrorResponse
1319
+ },
1294
1320
  "/feed/get": {
1295
1321
  method: "get"
1296
1322
  body?: undefined
package/openapi.json CHANGED
@@ -423,7 +423,7 @@
423
423
  "anyOf": [
424
424
  {
425
425
  "type": "string",
426
- "maxLength": 541
426
+ "maxLength": 512
427
427
  },
428
428
  {
429
429
  "type": "null"
@@ -2520,6 +2520,31 @@
2520
2520
  }
2521
2521
  }
2522
2522
  },
2523
+ "CustomTagRename": {
2524
+ "type": "object",
2525
+ "properties": {
2526
+ "name": {
2527
+ "$ref": "#/components/schema/CustomTag"
2528
+ }
2529
+ },
2530
+ "required": [
2531
+ "name"
2532
+ ]
2533
+ },
2534
+ "CustomTagsDelete": {
2535
+ "type": "object",
2536
+ "properties": {
2537
+ "tags": {
2538
+ "type": "array",
2539
+ "items": {
2540
+ "$ref": "#/components/schema/CustomTag"
2541
+ }
2542
+ }
2543
+ },
2544
+ "required": [
2545
+ "tags"
2546
+ ]
2547
+ },
2523
2548
  "TagCustomPromote": {
2524
2549
  "type": "object",
2525
2550
  "properties": {
@@ -7160,6 +7185,55 @@
7160
7185
  }
7161
7186
  }
7162
7187
  },
7188
+ "/tag/update/custom/{vanity}": {
7189
+ "parameters": [
7190
+ {
7191
+ "name": "vanity",
7192
+ "in": "path"
7193
+ }
7194
+ ],
7195
+ "post": {
7196
+ "requestBody": {
7197
+ "content": {
7198
+ "application/json": {
7199
+ "schema": {
7200
+ "$ref": "#/components/schemas/CustomTagRename"
7201
+ }
7202
+ }
7203
+ }
7204
+ },
7205
+ "responses": {
7206
+ "200": {
7207
+ "description": "200 response",
7208
+ "content": {
7209
+ "application/json": {
7210
+ "schema": {
7211
+ "type": "object",
7212
+ "properties": {
7213
+ "data": {
7214
+ "$ref": "#/components/schemas/CustomTag"
7215
+ }
7216
+ },
7217
+ "required": [
7218
+ "data"
7219
+ ]
7220
+ }
7221
+ }
7222
+ }
7223
+ },
7224
+ "default": {
7225
+ "description": "Error",
7226
+ "content": {
7227
+ "application/json": {
7228
+ "schema": {
7229
+ "$ref": "#/components/schemas/ErrorResponse"
7230
+ }
7231
+ }
7232
+ }
7233
+ }
7234
+ }
7235
+ }
7236
+ },
7163
7237
  "/tag/delete/global/{vanity}": {
7164
7238
  "parameters": [
7165
7239
  {
@@ -7210,6 +7284,34 @@
7210
7284
  }
7211
7285
  }
7212
7286
  },
7287
+ "/tag/delete/custom": {
7288
+ "post": {
7289
+ "requestBody": {
7290
+ "content": {
7291
+ "application/json": {
7292
+ "schema": {
7293
+ "$ref": "#/components/schemas/CustomTagsDelete"
7294
+ }
7295
+ }
7296
+ }
7297
+ },
7298
+ "responses": {
7299
+ "200": {
7300
+ "description": "200 response"
7301
+ },
7302
+ "default": {
7303
+ "description": "Error",
7304
+ "content": {
7305
+ "application/json": {
7306
+ "schema": {
7307
+ "$ref": "#/components/schemas/ErrorResponse"
7308
+ }
7309
+ }
7310
+ }
7311
+ }
7312
+ }
7313
+ }
7314
+ },
7213
7315
  "/tag/promote": {
7214
7316
  "post": {
7215
7317
  "requestBody": {
@@ -7302,7 +7404,7 @@
7302
7404
  }
7303
7405
  }
7304
7406
  },
7305
- "/tag/custom/get": {
7407
+ "/tags/custom": {
7306
7408
  "get": {
7307
7409
  "responses": {
7308
7410
  "200": {
@@ -7889,6 +7991,34 @@
7889
7991
  }
7890
7992
  }
7891
7993
  },
7994
+ "/danger-token/request/tag-modify/{service}/begin": {
7995
+ "parameters": [
7996
+ {
7997
+ "name": "service",
7998
+ "in": "path"
7999
+ }
8000
+ ],
8001
+ "get": {
8002
+ "responses": {
8003
+ "200": {
8004
+ "description": "200 response"
8005
+ },
8006
+ "302": {
8007
+ "description": "302 response"
8008
+ },
8009
+ "default": {
8010
+ "description": "Error",
8011
+ "content": {
8012
+ "application/json": {
8013
+ "schema": {
8014
+ "$ref": "#/components/schemas/ErrorResponse"
8015
+ }
8016
+ }
8017
+ }
8018
+ }
8019
+ }
8020
+ }
8021
+ },
7892
8022
  "/feed/get": {
7893
8023
  "get": {
7894
8024
  "parameters": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.506",
3
+ "version": "1.0.508",
4
4
  "types": "index.d.ts"
5
5
  }