api.fluff4.me 1.0.934 → 1.0.938

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 +22 -10
  2. package/openapi.json +82 -26
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -471,7 +471,7 @@ export interface CampaignTierSetBody {
471
471
 
472
472
  export type Works = WorkMetadata[]
473
473
 
474
- export interface FeedResponse {
474
+ export interface WorkResolveResponse {
475
475
  works: WorkMetadata[]
476
476
  authors: AuthorMetadata[]
477
477
  }
@@ -784,6 +784,12 @@ export interface NotificationsBody {
784
784
  notification_ids: string[]
785
785
  }
786
786
 
787
+ export interface FeedResponse {
788
+ works: WorkMetadata[]
789
+ authors: AuthorMetadata[]
790
+ rss_url: string
791
+ }
792
+
787
793
  export interface FeedSearch {
788
794
  whitelistTags?: string[] | null
789
795
  blacklistTags?: string[] | null
@@ -1285,7 +1291,7 @@ export interface Paths {
1285
1291
  search: {
1286
1292
  works: WorkReference[]
1287
1293
  }
1288
- response: Response<FeedResponse> | ErrorResponse
1294
+ response: Response<WorkResolveResponse> | ErrorResponse
1289
1295
  },
1290
1296
  "/follow/author/{id}": {
1291
1297
  method: "post"
@@ -1846,12 +1852,6 @@ export interface Paths {
1846
1852
  }
1847
1853
  response: PaginatedResponse<FeedResponse> | ErrorResponse
1848
1854
  },
1849
- "/feed/get/authed/rss.xml": {
1850
- method: "get"
1851
- body?: undefined
1852
- search?: undefined
1853
- response: void | ErrorResponse
1854
- },
1855
1855
  "/feed/get/followed": {
1856
1856
  method: "get"
1857
1857
  body?: undefined
@@ -1861,18 +1861,30 @@ export interface Paths {
1861
1861
  }
1862
1862
  response: PaginatedResponse<FeedResponse> | ErrorResponse
1863
1863
  },
1864
- "/feed/get/followed/rss.xml": {
1864
+ "/feed/get/rss.xml": {
1865
1865
  method: "get"
1866
1866
  body?: undefined
1867
1867
  search?: undefined
1868
1868
  response: void | ErrorResponse
1869
1869
  },
1870
- "/feed/get/rss.xml": {
1870
+ "/feed/{id}/authed/rss.xml": {
1871
+ method: "get"
1872
+ body?: undefined
1873
+ search?: undefined
1874
+ response: void | ErrorResponse
1875
+ },
1876
+ "/feed/{id}/followed/rss.xml": {
1871
1877
  method: "get"
1872
1878
  body?: undefined
1873
1879
  search?: undefined
1874
1880
  response: void | ErrorResponse
1875
1881
  },
1882
+ "/feed/regen": {
1883
+ method: "post"
1884
+ body?: undefined
1885
+ search?: undefined
1886
+ response: void | ErrorResponse
1887
+ },
1876
1888
  "/history/get": {
1877
1889
  method: "get"
1878
1890
  body?: undefined
package/openapi.json CHANGED
@@ -2906,7 +2906,7 @@
2906
2906
  "$ref": "#/components/schema/WorkMetadata"
2907
2907
  }
2908
2908
  },
2909
- "FeedResponse": {
2909
+ "WorkResolveResponse": {
2910
2910
  "type": "object",
2911
2911
  "properties": {
2912
2912
  "works": {
@@ -4404,6 +4404,31 @@
4404
4404
  "notification_ids"
4405
4405
  ]
4406
4406
  },
4407
+ "FeedResponse": {
4408
+ "type": "object",
4409
+ "properties": {
4410
+ "works": {
4411
+ "type": "array",
4412
+ "items": {
4413
+ "$ref": "#/components/schema/WorkMetadata"
4414
+ }
4415
+ },
4416
+ "authors": {
4417
+ "type": "array",
4418
+ "items": {
4419
+ "$ref": "#/components/schema/AuthorMetadata"
4420
+ }
4421
+ },
4422
+ "rss_url": {
4423
+ "type": "string"
4424
+ }
4425
+ },
4426
+ "required": [
4427
+ "works",
4428
+ "authors",
4429
+ "rss_url"
4430
+ ]
4431
+ },
4407
4432
  "FeedSearch": {
4408
4433
  "type": "object",
4409
4434
  "properties": {
@@ -7475,7 +7500,7 @@
7475
7500
  "type": "object",
7476
7501
  "properties": {
7477
7502
  "data": {
7478
- "$ref": "#/components/schemas/FeedResponse"
7503
+ "$ref": "#/components/schemas/WorkResolveResponse"
7479
7504
  }
7480
7505
  },
7481
7506
  "required": [
@@ -11439,28 +11464,6 @@
11439
11464
  }
11440
11465
  }
11441
11466
  },
11442
- "/feed/get/authed/rss.xml": {
11443
- "get": {
11444
- "responses": {
11445
- "200": {
11446
- "description": "200 response",
11447
- "content": {
11448
- "application/rss+xml": {}
11449
- }
11450
- },
11451
- "default": {
11452
- "description": "Error",
11453
- "content": {
11454
- "application/json": {
11455
- "schema": {
11456
- "$ref": "#/components/schemas/ErrorResponse"
11457
- }
11458
- }
11459
- }
11460
- }
11461
- }
11462
- }
11463
- },
11464
11467
  "/feed/get/followed": {
11465
11468
  "get": {
11466
11469
  "parameters": [
@@ -11544,7 +11547,7 @@
11544
11547
  }
11545
11548
  }
11546
11549
  },
11547
- "/feed/get/followed/rss.xml": {
11550
+ "/feed/get/rss.xml": {
11548
11551
  "get": {
11549
11552
  "responses": {
11550
11553
  "200": {
@@ -11566,7 +11569,13 @@
11566
11569
  }
11567
11570
  }
11568
11571
  },
11569
- "/feed/get/rss.xml": {
11572
+ "/feed/{id}/authed/rss.xml": {
11573
+ "parameters": [
11574
+ {
11575
+ "name": "id",
11576
+ "in": "path"
11577
+ }
11578
+ ],
11570
11579
  "get": {
11571
11580
  "responses": {
11572
11581
  "200": {
@@ -11588,6 +11597,53 @@
11588
11597
  }
11589
11598
  }
11590
11599
  },
11600
+ "/feed/{id}/followed/rss.xml": {
11601
+ "parameters": [
11602
+ {
11603
+ "name": "id",
11604
+ "in": "path"
11605
+ }
11606
+ ],
11607
+ "get": {
11608
+ "responses": {
11609
+ "200": {
11610
+ "description": "200 response",
11611
+ "content": {
11612
+ "application/rss+xml": {}
11613
+ }
11614
+ },
11615
+ "default": {
11616
+ "description": "Error",
11617
+ "content": {
11618
+ "application/json": {
11619
+ "schema": {
11620
+ "$ref": "#/components/schemas/ErrorResponse"
11621
+ }
11622
+ }
11623
+ }
11624
+ }
11625
+ }
11626
+ }
11627
+ },
11628
+ "/feed/regen": {
11629
+ "post": {
11630
+ "responses": {
11631
+ "200": {
11632
+ "description": "200 response"
11633
+ },
11634
+ "default": {
11635
+ "description": "Error",
11636
+ "content": {
11637
+ "application/json": {
11638
+ "schema": {
11639
+ "$ref": "#/components/schemas/ErrorResponse"
11640
+ }
11641
+ }
11642
+ }
11643
+ }
11644
+ }
11645
+ }
11646
+ },
11591
11647
  "/history/get": {
11592
11648
  "get": {
11593
11649
  "parameters": [
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.934",
3
+ "version": "1.0.938",
4
4
  "types": "index.d.ts"
5
5
  }