api.fluff4.me 1.0.336 → 1.0.338
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.
- package/index.d.ts +6 -10
- package/openapi.json +24 -18
- 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:
|
|
272
|
-
work:
|
|
273
|
-
tag:
|
|
274
|
-
category:
|
|
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<
|
|
688
|
+
response: PaginatedResponse<Follow[]> | 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<
|
|
728
|
+
response: PaginatedResponse<Follow[]> | 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
|
-
"
|
|
1607
|
+
"type": "array",
|
|
1608
|
+
"items": {
|
|
1609
|
+
"$ref": "#/components/schema/Follow"
|
|
1610
|
+
}
|
|
1608
1611
|
},
|
|
1609
1612
|
"work": {
|
|
1610
|
-
"
|
|
1613
|
+
"type": "array",
|
|
1614
|
+
"items": {
|
|
1615
|
+
"$ref": "#/components/schema/Follow"
|
|
1616
|
+
}
|
|
1611
1617
|
},
|
|
1612
1618
|
"tag": {
|
|
1613
|
-
"
|
|
1619
|
+
"type": "array",
|
|
1620
|
+
"items": {
|
|
1621
|
+
"$ref": "#/components/schema/Follow"
|
|
1622
|
+
}
|
|
1614
1623
|
},
|
|
1615
1624
|
"category": {
|
|
1616
|
-
"
|
|
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,10 @@
|
|
|
4164
4164
|
"type": "object",
|
|
4165
4165
|
"properties": {
|
|
4166
4166
|
"data": {
|
|
4167
|
-
"
|
|
4167
|
+
"type": "array",
|
|
4168
|
+
"items": {
|
|
4169
|
+
"$ref": "#/components/schema/Follow"
|
|
4170
|
+
}
|
|
4168
4171
|
},
|
|
4169
4172
|
"has_more": {
|
|
4170
4173
|
"type": "boolean"
|
|
@@ -4552,7 +4555,10 @@
|
|
|
4552
4555
|
"type": "object",
|
|
4553
4556
|
"properties": {
|
|
4554
4557
|
"data": {
|
|
4555
|
-
"
|
|
4558
|
+
"type": "array",
|
|
4559
|
+
"items": {
|
|
4560
|
+
"$ref": "#/components/schema/Follow"
|
|
4561
|
+
}
|
|
4556
4562
|
},
|
|
4557
4563
|
"has_more": {
|
|
4558
4564
|
"type": "boolean"
|
package/package.json
CHANGED