api.fluff4.me 1.0.621 → 1.0.623

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 +16 -0
  2. package/openapi.json +102 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -738,6 +738,16 @@ export interface ChangelogItem {
738
738
  body: string
739
739
  }
740
740
 
741
+ export interface Fundraiser {
742
+ name?: string | null
743
+ description?: string | null
744
+ start_time?: string | null
745
+ end_time?: string | null
746
+ thresholds: number[]
747
+ threshold_descriptions: string[]
748
+ funds_raised: number
749
+ }
750
+
741
751
  export interface ErrorResponse {
742
752
  code: number
743
753
  detail?: string | null
@@ -1661,4 +1671,10 @@ export interface Paths {
1661
1671
  }
1662
1672
  response: PaginatedResponse<ChangelogItem[]> | ErrorResponse
1663
1673
  },
1674
+ "/site/status": {
1675
+ method: "get"
1676
+ body?: undefined
1677
+ search?: undefined
1678
+ response: Response<Fundraiser[]> | ErrorResponse
1679
+ },
1664
1680
  }
package/openapi.json CHANGED
@@ -4033,6 +4033,71 @@
4033
4033
  "body"
4034
4034
  ]
4035
4035
  },
4036
+ "Fundraiser": {
4037
+ "type": "object",
4038
+ "properties": {
4039
+ "name": {
4040
+ "anyOf": [
4041
+ {
4042
+ "type": "string"
4043
+ },
4044
+ {
4045
+ "type": "null"
4046
+ }
4047
+ ]
4048
+ },
4049
+ "description": {
4050
+ "anyOf": [
4051
+ {
4052
+ "type": "string"
4053
+ },
4054
+ {
4055
+ "type": "null"
4056
+ }
4057
+ ]
4058
+ },
4059
+ "start_time": {
4060
+ "anyOf": [
4061
+ {
4062
+ "type": "string"
4063
+ },
4064
+ {
4065
+ "type": "null"
4066
+ }
4067
+ ]
4068
+ },
4069
+ "end_time": {
4070
+ "anyOf": [
4071
+ {
4072
+ "type": "string"
4073
+ },
4074
+ {
4075
+ "type": "null"
4076
+ }
4077
+ ]
4078
+ },
4079
+ "thresholds": {
4080
+ "type": "array",
4081
+ "items": {
4082
+ "type": "number"
4083
+ }
4084
+ },
4085
+ "threshold_descriptions": {
4086
+ "type": "array",
4087
+ "items": {
4088
+ "type": "string"
4089
+ }
4090
+ },
4091
+ "funds_raised": {
4092
+ "type": "number"
4093
+ }
4094
+ },
4095
+ "required": [
4096
+ "thresholds",
4097
+ "threshold_descriptions",
4098
+ "funds_raised"
4099
+ ]
4100
+ },
4036
4101
  "ErrorResponse": {
4037
4102
  "type": "object",
4038
4103
  "properties": {
@@ -10240,6 +10305,43 @@
10240
10305
  }
10241
10306
  }
10242
10307
  }
10308
+ },
10309
+ "/site/status": {
10310
+ "get": {
10311
+ "responses": {
10312
+ "200": {
10313
+ "description": "200 response",
10314
+ "content": {
10315
+ "application/json": {
10316
+ "schema": {
10317
+ "type": "object",
10318
+ "properties": {
10319
+ "data": {
10320
+ "type": "array",
10321
+ "items": {
10322
+ "$ref": "#/components/schema/Fundraiser"
10323
+ }
10324
+ }
10325
+ },
10326
+ "required": [
10327
+ "data"
10328
+ ]
10329
+ }
10330
+ }
10331
+ }
10332
+ },
10333
+ "default": {
10334
+ "description": "Error",
10335
+ "content": {
10336
+ "application/json": {
10337
+ "schema": {
10338
+ "$ref": "#/components/schemas/ErrorResponse"
10339
+ }
10340
+ }
10341
+ }
10342
+ }
10343
+ }
10344
+ }
10243
10345
  }
10244
10346
  }
10245
10347
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.621",
3
+ "version": "1.0.623",
4
4
  "types": "index.d.ts"
5
5
  }