api.fluff4.me 1.0.336 → 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 +6 -10
  2. package/openapi.json +18 -18
  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"
@@ -729,7 +725,7 @@ export interface Paths {
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"
@@ -4552,7 +4552,7 @@
4552
4552
  "type": "object",
4553
4553
  "properties": {
4554
4554
  "data": {
4555
- "$ref": "#/components/schemas/Ignores"
4555
+ "$ref": "#/components/schemas/null"
4556
4556
  },
4557
4557
  "has_more": {
4558
4558
  "type": "boolean"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.336",
3
+ "version": "1.0.337",
4
4
  "types": "index.d.ts"
5
5
  }