api.fluff4.me 1.0.754 → 1.0.755
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 +5 -1
- package/openapi.json +15 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -846,6 +846,10 @@ export interface ChangelogItem {
|
|
|
846
846
|
body: string
|
|
847
847
|
}
|
|
848
848
|
|
|
849
|
+
export interface SiteStatus {
|
|
850
|
+
fundraisers: Fundraiser[]
|
|
851
|
+
}
|
|
852
|
+
|
|
849
853
|
export interface Fundraiser {
|
|
850
854
|
name?: string | null
|
|
851
855
|
description?: string | null
|
|
@@ -1904,7 +1908,7 @@ export interface Paths {
|
|
|
1904
1908
|
method: "get"
|
|
1905
1909
|
body?: undefined
|
|
1906
1910
|
search?: undefined
|
|
1907
|
-
response: Response<
|
|
1911
|
+
response: Response<SiteStatus> | ErrorResponse
|
|
1908
1912
|
},
|
|
1909
1913
|
"/moderation/work/{author}/{vanity}/censor": {
|
|
1910
1914
|
method: "post"
|
package/openapi.json
CHANGED
|
@@ -4689,6 +4689,20 @@
|
|
|
4689
4689
|
"body"
|
|
4690
4690
|
]
|
|
4691
4691
|
},
|
|
4692
|
+
"SiteStatus": {
|
|
4693
|
+
"type": "object",
|
|
4694
|
+
"properties": {
|
|
4695
|
+
"fundraisers": {
|
|
4696
|
+
"type": "array",
|
|
4697
|
+
"items": {
|
|
4698
|
+
"$ref": "#/components/schema/Fundraiser"
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
},
|
|
4702
|
+
"required": [
|
|
4703
|
+
"fundraisers"
|
|
4704
|
+
]
|
|
4705
|
+
},
|
|
4692
4706
|
"Fundraiser": {
|
|
4693
4707
|
"type": "object",
|
|
4694
4708
|
"properties": {
|
|
@@ -11698,10 +11712,7 @@
|
|
|
11698
11712
|
"type": "object",
|
|
11699
11713
|
"properties": {
|
|
11700
11714
|
"data": {
|
|
11701
|
-
"
|
|
11702
|
-
"items": {
|
|
11703
|
-
"$ref": "#/components/schema/Fundraiser"
|
|
11704
|
-
}
|
|
11715
|
+
"$ref": "#/components/schemas/SiteStatus"
|
|
11705
11716
|
}
|
|
11706
11717
|
},
|
|
11707
11718
|
"required": [
|
package/package.json
CHANGED