api.fluff4.me 1.0.1141 → 1.0.1144

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 +35 -10
  2. package/openapi.json +141 -92
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -379,10 +379,8 @@ export interface WorkResolveSearch {
379
379
  }
380
380
 
381
381
  export interface WorkReference {
382
- author?: string | null
383
- vanity?: string | null
384
- author_vanity?: string | null
385
- work_vanity?: string | null
382
+ author_vanity: string
383
+ work_vanity: string
386
384
  }
387
385
 
388
386
  export interface Chapter {
@@ -608,12 +606,9 @@ export interface CommentRootChapter {
608
606
  }
609
607
 
610
608
  export interface ChapterReference {
611
- author?: string | null
612
- work?: string | null
613
- url?: string | null
614
- author_vanity?: string | null
615
- work_vanity?: string | null
616
- chapter_url?: string | null
609
+ author_vanity: string
610
+ work_vanity: string
611
+ chapter_url: string
617
612
  }
618
613
 
619
614
  export interface CommentRootWorkPrivate {
@@ -1149,12 +1144,30 @@ export interface Paths {
1149
1144
  search?: undefined
1150
1145
  response: void | ErrorResponse
1151
1146
  },
1147
+ "/test/redirect": {
1148
+ method: "get"
1149
+ body?: undefined
1150
+ search?: undefined
1151
+ response: void | ErrorResponse
1152
+ },
1152
1153
  "/test/error": {
1153
1154
  method: "get"
1154
1155
  body?: undefined
1155
1156
  search?: undefined
1156
1157
  response: void | ErrorResponse
1157
1158
  },
1159
+ "/test/error/pg": {
1160
+ method: "get"
1161
+ body?: undefined
1162
+ search?: undefined
1163
+ response: void | ErrorResponse
1164
+ },
1165
+ "/test/error/pg/redirect": {
1166
+ method: "get"
1167
+ body?: undefined
1168
+ search?: undefined
1169
+ response: void | ErrorResponse
1170
+ },
1158
1171
  "/session": {
1159
1172
  method: "get"
1160
1173
  body?: undefined
@@ -1233,12 +1246,24 @@ export interface Paths {
1233
1246
  search?: undefined
1234
1247
  response: void | ErrorResponse
1235
1248
  },
1249
+ "/v2/auth/patreon/campaign/begin": {
1250
+ method: "get"
1251
+ body?: undefined
1252
+ search?: undefined
1253
+ response: void | ErrorResponse
1254
+ },
1236
1255
  "/v2/auth/patreon/campaign/callback": {
1237
1256
  method: "get"
1238
1257
  body?: undefined
1239
1258
  search?: undefined
1240
1259
  response: void | ErrorResponse
1241
1260
  },
1261
+ "/v2/auth/patreon/patron/begin": {
1262
+ method: "get"
1263
+ body?: undefined
1264
+ search?: undefined
1265
+ response: void | ErrorResponse
1266
+ },
1242
1267
  "/v2/auth/patreon/patron/callback": {
1243
1268
  method: "get"
1244
1269
  body?: undefined
package/openapi.json CHANGED
@@ -2433,47 +2433,17 @@
2433
2433
  "WorkReference": {
2434
2434
  "type": "object",
2435
2435
  "properties": {
2436
- "author": {
2437
- "anyOf": [
2438
- {
2439
- "type": "string"
2440
- },
2441
- {
2442
- "type": "null"
2443
- }
2444
- ]
2445
- },
2446
- "vanity": {
2447
- "anyOf": [
2448
- {
2449
- "type": "string"
2450
- },
2451
- {
2452
- "type": "null"
2453
- }
2454
- ]
2455
- },
2456
2436
  "author_vanity": {
2457
- "anyOf": [
2458
- {
2459
- "type": "string"
2460
- },
2461
- {
2462
- "type": "null"
2463
- }
2464
- ]
2437
+ "type": "string"
2465
2438
  },
2466
2439
  "work_vanity": {
2467
- "anyOf": [
2468
- {
2469
- "type": "string"
2470
- },
2471
- {
2472
- "type": "null"
2473
- }
2474
- ]
2440
+ "type": "string"
2475
2441
  }
2476
- }
2442
+ },
2443
+ "required": [
2444
+ "author_vanity",
2445
+ "work_vanity"
2446
+ ]
2477
2447
  },
2478
2448
  "Chapter": {
2479
2449
  "type": "object",
@@ -3890,67 +3860,21 @@
3890
3860
  "ChapterReference": {
3891
3861
  "type": "object",
3892
3862
  "properties": {
3893
- "author": {
3894
- "anyOf": [
3895
- {
3896
- "type": "string"
3897
- },
3898
- {
3899
- "type": "null"
3900
- }
3901
- ]
3902
- },
3903
- "work": {
3904
- "anyOf": [
3905
- {
3906
- "type": "string"
3907
- },
3908
- {
3909
- "type": "null"
3910
- }
3911
- ]
3912
- },
3913
- "url": {
3914
- "anyOf": [
3915
- {
3916
- "type": "string"
3917
- },
3918
- {
3919
- "type": "null"
3920
- }
3921
- ]
3922
- },
3923
3863
  "author_vanity": {
3924
- "anyOf": [
3925
- {
3926
- "type": "string"
3927
- },
3928
- {
3929
- "type": "null"
3930
- }
3931
- ]
3864
+ "type": "string"
3932
3865
  },
3933
3866
  "work_vanity": {
3934
- "anyOf": [
3935
- {
3936
- "type": "string"
3937
- },
3938
- {
3939
- "type": "null"
3940
- }
3941
- ]
3867
+ "type": "string"
3942
3868
  },
3943
3869
  "chapter_url": {
3944
- "anyOf": [
3945
- {
3946
- "type": "string"
3947
- },
3948
- {
3949
- "type": "null"
3950
- }
3951
- ]
3870
+ "type": "string"
3952
3871
  }
3953
- }
3872
+ },
3873
+ "required": [
3874
+ "author_vanity",
3875
+ "work_vanity",
3876
+ "chapter_url"
3877
+ ]
3954
3878
  },
3955
3879
  "CommentRootWorkPrivate": {
3956
3880
  "type": "object",
@@ -6808,6 +6732,28 @@
6808
6732
  }
6809
6733
  }
6810
6734
  },
6735
+ "/test/redirect": {
6736
+ "get": {
6737
+ "responses": {
6738
+ "200": {
6739
+ "description": "200 response"
6740
+ },
6741
+ "302": {
6742
+ "description": "302 response"
6743
+ },
6744
+ "default": {
6745
+ "description": "Error",
6746
+ "content": {
6747
+ "application/json": {
6748
+ "schema": {
6749
+ "$ref": "#/components/schemas/ErrorResponse"
6750
+ }
6751
+ }
6752
+ }
6753
+ }
6754
+ }
6755
+ }
6756
+ },
6811
6757
  "/test/error": {
6812
6758
  "get": {
6813
6759
  "responses": {
@@ -6827,6 +6773,47 @@
6827
6773
  }
6828
6774
  }
6829
6775
  },
6776
+ "/test/error/pg": {
6777
+ "get": {
6778
+ "responses": {
6779
+ "200": {
6780
+ "description": "200 response"
6781
+ },
6782
+ "default": {
6783
+ "description": "Error",
6784
+ "content": {
6785
+ "application/json": {
6786
+ "schema": {
6787
+ "$ref": "#/components/schemas/ErrorResponse"
6788
+ }
6789
+ }
6790
+ }
6791
+ }
6792
+ }
6793
+ }
6794
+ },
6795
+ "/test/error/pg/redirect": {
6796
+ "get": {
6797
+ "responses": {
6798
+ "200": {
6799
+ "description": "200 response"
6800
+ },
6801
+ "302": {
6802
+ "description": "302 response"
6803
+ },
6804
+ "default": {
6805
+ "description": "Error",
6806
+ "content": {
6807
+ "application/json": {
6808
+ "schema": {
6809
+ "$ref": "#/components/schemas/ErrorResponse"
6810
+ }
6811
+ }
6812
+ }
6813
+ }
6814
+ }
6815
+ }
6816
+ },
6830
6817
  "/session": {
6831
6818
  "get": {
6832
6819
  "responses": {
@@ -7188,12 +7175,59 @@
7188
7175
  }
7189
7176
  }
7190
7177
  },
7178
+ "/v2/auth/patreon/campaign/begin": {
7179
+ "get": {
7180
+ "responses": {
7181
+ "200": {
7182
+ "description": "200 response"
7183
+ },
7184
+ "302": {
7185
+ "description": "302 response"
7186
+ },
7187
+ "default": {
7188
+ "description": "Error",
7189
+ "content": {
7190
+ "application/json": {
7191
+ "schema": {
7192
+ "$ref": "#/components/schemas/ErrorResponse"
7193
+ }
7194
+ }
7195
+ }
7196
+ }
7197
+ }
7198
+ }
7199
+ },
7191
7200
  "/v2/auth/patreon/campaign/callback": {
7192
7201
  "get": {
7193
7202
  "responses": {
7194
7203
  "200": {
7195
7204
  "description": "200 response"
7196
7205
  },
7206
+ "302": {
7207
+ "description": "302 response"
7208
+ },
7209
+ "default": {
7210
+ "description": "Error",
7211
+ "content": {
7212
+ "application/json": {
7213
+ "schema": {
7214
+ "$ref": "#/components/schemas/ErrorResponse"
7215
+ }
7216
+ }
7217
+ }
7218
+ }
7219
+ }
7220
+ }
7221
+ },
7222
+ "/v2/auth/patreon/patron/begin": {
7223
+ "get": {
7224
+ "responses": {
7225
+ "200": {
7226
+ "description": "200 response"
7227
+ },
7228
+ "302": {
7229
+ "description": "302 response"
7230
+ },
7197
7231
  "default": {
7198
7232
  "description": "Error",
7199
7233
  "content": {
@@ -7213,6 +7247,9 @@
7213
7247
  "200": {
7214
7248
  "description": "200 response"
7215
7249
  },
7250
+ "302": {
7251
+ "description": "302 response"
7252
+ },
7216
7253
  "default": {
7217
7254
  "description": "Error",
7218
7255
  "content": {
@@ -15603,6 +15640,9 @@
15603
15640
  "200": {
15604
15641
  "description": "200 response"
15605
15642
  },
15643
+ "302": {
15644
+ "description": "302 response"
15645
+ },
15606
15646
  "default": {
15607
15647
  "description": "Error",
15608
15648
  "content": {
@@ -15622,6 +15662,9 @@
15622
15662
  "200": {
15623
15663
  "description": "200 response"
15624
15664
  },
15665
+ "302": {
15666
+ "description": "302 response"
15667
+ },
15625
15668
  "default": {
15626
15669
  "description": "Error",
15627
15670
  "content": {
@@ -15641,6 +15684,9 @@
15641
15684
  "200": {
15642
15685
  "description": "200 response"
15643
15686
  },
15687
+ "302": {
15688
+ "description": "302 response"
15689
+ },
15644
15690
  "default": {
15645
15691
  "description": "Error",
15646
15692
  "content": {
@@ -15660,6 +15706,9 @@
15660
15706
  "200": {
15661
15707
  "description": "200 response"
15662
15708
  },
15709
+ "302": {
15710
+ "description": "302 response"
15711
+ },
15663
15712
  "default": {
15664
15713
  "description": "Error",
15665
15714
  "content": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1141",
3
+ "version": "1.0.1144",
4
4
  "types": "index.d.ts"
5
5
  }