api.fluff4.me 1.0.335 → 1.0.337

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 +7 -11
  2. package/openapi.json +19 -59
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -268,16 +268,12 @@ export interface Follow {
268
268
  }
269
269
 
270
270
  export interface FollowsMerged {
271
- author: Follows
272
- work: Follows
273
- tag: Follows
274
- category: Follows
271
+ author: Follow[]
272
+ work: Follow[]
273
+ tag: Follow[]
274
+ category: Follow[]
275
275
  }
276
276
 
277
- export type Follows = Follow[]
278
-
279
- export type Ignores = Follow[]
280
-
281
277
  export interface Privileges {
282
278
  privileges: "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote"[]
283
279
  }
@@ -689,7 +685,7 @@ export interface Paths {
689
685
  "/following/{type}": {
690
686
  method: "get"
691
687
  body?: undefined
692
- response: PaginatedResponse<Follows> | ErrorResponse
688
+ response: PaginatedResponse<null> | ErrorResponse
693
689
  },
694
690
  "/follows/{type}/{vanity}": {
695
691
  method: "get"
@@ -724,12 +720,12 @@ export interface Paths {
724
720
  "/ignoring": {
725
721
  method: "get"
726
722
  body?: undefined
727
- response: PaginatedResponse<FollowsMerged> | ErrorResponse
723
+ response: Response<FollowsMerged> | ErrorResponse
728
724
  },
729
725
  "/ignoring/{type}": {
730
726
  method: "get"
731
727
  body?: undefined
732
- response: PaginatedResponse<Ignores> | ErrorResponse
728
+ response: PaginatedResponse<null> | ErrorResponse
733
729
  },
734
730
  "/ignores/{type}/{vanity}": {
735
731
  method: "get"
package/openapi.json CHANGED
@@ -1604,16 +1604,28 @@
1604
1604
  "type": "object",
1605
1605
  "properties": {
1606
1606
  "author": {
1607
- "$ref": "#/components/schema/Follows"
1607
+ "type": "array",
1608
+ "items": {
1609
+ "$ref": "#/components/schema/Follow"
1610
+ }
1608
1611
  },
1609
1612
  "work": {
1610
- "$ref": "#/components/schema/Follows"
1613
+ "type": "array",
1614
+ "items": {
1615
+ "$ref": "#/components/schema/Follow"
1616
+ }
1611
1617
  },
1612
1618
  "tag": {
1613
- "$ref": "#/components/schema/Follows"
1619
+ "type": "array",
1620
+ "items": {
1621
+ "$ref": "#/components/schema/Follow"
1622
+ }
1614
1623
  },
1615
1624
  "category": {
1616
- "$ref": "#/components/schema/Follows"
1625
+ "type": "array",
1626
+ "items": {
1627
+ "$ref": "#/components/schema/Follow"
1628
+ }
1617
1629
  }
1618
1630
  },
1619
1631
  "required": [
@@ -1623,18 +1635,6 @@
1623
1635
  "category"
1624
1636
  ]
1625
1637
  },
1626
- "Follows": {
1627
- "type": "array",
1628
- "items": {
1629
- "$ref": "#/components/schema/Follow"
1630
- }
1631
- },
1632
- "Ignores": {
1633
- "type": "array",
1634
- "items": {
1635
- "$ref": "#/components/schema/Follow"
1636
- }
1637
- },
1638
1638
  "Privileges": {
1639
1639
  "type": "object",
1640
1640
  "properties": {
@@ -4164,7 +4164,7 @@
4164
4164
  "type": "object",
4165
4165
  "properties": {
4166
4166
  "data": {
4167
- "$ref": "#/components/schemas/Follows"
4167
+ "$ref": "#/components/schemas/null"
4168
4168
  },
4169
4169
  "has_more": {
4170
4170
  "type": "boolean"
@@ -4489,18 +4489,6 @@
4489
4489
  }
4490
4490
  },
4491
4491
  "/ignoring": {
4492
- "parameters": [
4493
- {
4494
- "name": "page",
4495
- "in": "query",
4496
- "description": "The page of data to query from. This endpoint uses a page size of 25 by default."
4497
- },
4498
- {
4499
- "name": "page_size",
4500
- "in": "query",
4501
- "description": "The custom page size to return. This endpoint uses a page size of 25 by default. The custom page size cannot be raised above the default."
4502
- }
4503
- ],
4504
4492
  "get": {
4505
4493
  "responses": {
4506
4494
  "200": {
@@ -4512,38 +4500,10 @@
4512
4500
  "properties": {
4513
4501
  "data": {
4514
4502
  "$ref": "#/components/schemas/FollowsMerged"
4515
- },
4516
- "has_more": {
4517
- "type": "boolean"
4518
- },
4519
- "page": {
4520
- "type": "number",
4521
- "minimum": 0
4522
- },
4523
- "page_count": {
4524
- "type": [
4525
- "boolean",
4526
- "number"
4527
- ],
4528
- "anyOf": [
4529
- {
4530
- "type": "boolean",
4531
- "enum": [
4532
- true
4533
- ]
4534
- },
4535
- {
4536
- "type": "number",
4537
- "minimum": 0
4538
- }
4539
- ]
4540
4503
  }
4541
4504
  },
4542
4505
  "required": [
4543
- "data",
4544
- "has_more",
4545
- "page",
4546
- "page_count"
4506
+ "data"
4547
4507
  ]
4548
4508
  }
4549
4509
  }
@@ -4592,7 +4552,7 @@
4592
4552
  "type": "object",
4593
4553
  "properties": {
4594
4554
  "data": {
4595
- "$ref": "#/components/schemas/Ignores"
4555
+ "$ref": "#/components/schemas/null"
4596
4556
  },
4597
4557
  "has_more": {
4598
4558
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.335",
3
+ "version": "1.0.337",
4
4
  "types": "index.d.ts"
5
5
  }