api.fluff4.me 1.0.341 → 1.0.344

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 +14 -11
  2. package/openapi.json +72 -65
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -276,11 +276,19 @@ export interface WorkReference {
276
276
  vanity: string
277
277
  }
278
278
 
279
- export interface FollowsMerged {
280
- author: Follow[]
281
- work: Follow[]
282
- tag: Follow[]
283
- category: Follow[]
279
+ export interface FollowsManifest {
280
+ following: {
281
+ author: Follow[]
282
+ work: Follow[]
283
+ tag: Follow[]
284
+ category: Follow[]
285
+ }
286
+ ignoring: {
287
+ author: Follow[]
288
+ work: Follow[]
289
+ tag: Follow[]
290
+ category: Follow[]
291
+ }
284
292
  }
285
293
 
286
294
  export interface Privileges {
@@ -684,7 +692,7 @@ export interface Paths {
684
692
  "/following": {
685
693
  method: "get"
686
694
  body?: undefined
687
- response: Response<FollowsMerged> | ErrorResponse
695
+ response: Response<FollowsManifest> | ErrorResponse
688
696
  },
689
697
  "/following/{type}": {
690
698
  method: "get"
@@ -721,11 +729,6 @@ export interface Paths {
721
729
  body?: undefined
722
730
  response: Response<Follow> | ErrorResponse
723
731
  },
724
- "/ignoring": {
725
- method: "get"
726
- body?: undefined
727
- response: Response<FollowsMerged> | ErrorResponse
728
- },
729
732
  "/ignoring/{type}": {
730
733
  method: "get"
731
734
  body?: undefined
package/openapi.json CHANGED
@@ -1655,39 +1655,83 @@
1655
1655
  "vanity"
1656
1656
  ]
1657
1657
  },
1658
- "FollowsMerged": {
1658
+ "FollowsManifest": {
1659
1659
  "type": "object",
1660
1660
  "properties": {
1661
- "author": {
1662
- "type": "array",
1663
- "items": {
1664
- "$ref": "#/components/schema/Follow"
1665
- }
1666
- },
1667
- "work": {
1668
- "type": "array",
1669
- "items": {
1670
- "$ref": "#/components/schema/Follow"
1671
- }
1672
- },
1673
- "tag": {
1674
- "type": "array",
1675
- "items": {
1676
- "$ref": "#/components/schema/Follow"
1677
- }
1661
+ "following": {
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "author": {
1665
+ "type": "array",
1666
+ "items": {
1667
+ "$ref": "#/components/schema/Follow"
1668
+ }
1669
+ },
1670
+ "work": {
1671
+ "type": "array",
1672
+ "items": {
1673
+ "$ref": "#/components/schema/Follow"
1674
+ }
1675
+ },
1676
+ "tag": {
1677
+ "type": "array",
1678
+ "items": {
1679
+ "$ref": "#/components/schema/Follow"
1680
+ }
1681
+ },
1682
+ "category": {
1683
+ "type": "array",
1684
+ "items": {
1685
+ "$ref": "#/components/schema/Follow"
1686
+ }
1687
+ }
1688
+ },
1689
+ "required": [
1690
+ "author",
1691
+ "work",
1692
+ "tag",
1693
+ "category"
1694
+ ]
1678
1695
  },
1679
- "category": {
1680
- "type": "array",
1681
- "items": {
1682
- "$ref": "#/components/schema/Follow"
1683
- }
1696
+ "ignoring": {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "author": {
1700
+ "type": "array",
1701
+ "items": {
1702
+ "$ref": "#/components/schema/Follow"
1703
+ }
1704
+ },
1705
+ "work": {
1706
+ "type": "array",
1707
+ "items": {
1708
+ "$ref": "#/components/schema/Follow"
1709
+ }
1710
+ },
1711
+ "tag": {
1712
+ "type": "array",
1713
+ "items": {
1714
+ "$ref": "#/components/schema/Follow"
1715
+ }
1716
+ },
1717
+ "category": {
1718
+ "type": "array",
1719
+ "items": {
1720
+ "$ref": "#/components/schema/Follow"
1721
+ }
1722
+ }
1723
+ },
1724
+ "required": [
1725
+ "author",
1726
+ "work",
1727
+ "tag",
1728
+ "category"
1729
+ ]
1684
1730
  }
1685
1731
  },
1686
1732
  "required": [
1687
- "author",
1688
- "work",
1689
- "tag",
1690
- "category"
1733
+ "following",
1734
+ "ignoring"
1691
1735
  ]
1692
1736
  },
1693
1737
  "Privileges": {
@@ -4151,7 +4195,7 @@
4151
4195
  "type": "object",
4152
4196
  "properties": {
4153
4197
  "data": {
4154
- "$ref": "#/components/schemas/FollowsMerged"
4198
+ "$ref": "#/components/schemas/FollowsManifest"
4155
4199
  }
4156
4200
  },
4157
4201
  "required": [
@@ -4531,43 +4575,6 @@
4531
4575
  }
4532
4576
  }
4533
4577
  },
4534
- "/ignoring": {
4535
- "get": {
4536
- "responses": {
4537
- "200": {
4538
- "description": "200 response",
4539
- "content": {
4540
- "application/json": {
4541
- "schema": {
4542
- "type": "object",
4543
- "properties": {
4544
- "data": {
4545
- "$ref": "#/components/schemas/FollowsMerged"
4546
- }
4547
- },
4548
- "required": [
4549
- "data"
4550
- ]
4551
- }
4552
- }
4553
- }
4554
- },
4555
- "304": {
4556
- "description": "304 response"
4557
- },
4558
- "default": {
4559
- "description": "Error",
4560
- "content": {
4561
- "application/json": {
4562
- "schema": {
4563
- "$ref": "#/components/schemas/ErrorResponse"
4564
- }
4565
- }
4566
- }
4567
- }
4568
- }
4569
- }
4570
- },
4571
4578
  "/ignoring/{type}": {
4572
4579
  "parameters": [
4573
4580
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.341",
3
+ "version": "1.0.344",
4
4
  "types": "index.d.ts"
5
5
  }