api.fluff4.me 1.0.303 → 1.0.307

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 +23 -0
  2. package/openapi.json +202 -6
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -82,6 +82,9 @@ export interface AuthorCreateBody {
82
82
  support_link?: string | null
83
83
  support_message?: string | null
84
84
  pronouns?: string | null
85
+ feedback_preference_critique?: boolean | null
86
+ feedback_preference_dont_hold_back?: boolean | null
87
+ feedback_preference_typos?: boolean | null
85
88
  }
86
89
 
87
90
  export interface AuthorFull {
@@ -102,6 +105,9 @@ export interface AuthorInsert {
102
105
  support_link?: string | null
103
106
  support_message?: string | null
104
107
  pronouns?: string | null
108
+ feedback_preference_critique?: boolean | null
109
+ feedback_preference_dont_hold_back?: boolean | null
110
+ feedback_preference_typos?: boolean | null
105
111
  }
106
112
 
107
113
  export interface WorkFull {
@@ -129,6 +135,9 @@ export interface WorkCreateBody {
129
135
  visibility?: "Private" | "Public" | null
130
136
  global_tags?: string[] | null
131
137
  custom_tags?: string[] | null
138
+ feedback_preference_critique?: boolean | null
139
+ feedback_preference_dont_hold_back?: boolean | null
140
+ feedback_preference_typos?: boolean | null
132
141
  }
133
142
 
134
143
  export interface TextBodyWithAuthor {
@@ -147,6 +156,15 @@ export interface WorkUpdateBody {
147
156
  visibility?: string | null
148
157
  global_tags?: string[] | null
149
158
  custom_tags?: string[] | null
159
+ feedback_preference_critique?: boolean | null
160
+ feedback_preference_dont_hold_back?: boolean | null
161
+ feedback_preference_typos?: boolean | null
162
+ }
163
+
164
+ export interface Feedback {
165
+ feedback_preference_critique?: boolean | null
166
+ feedback_preference_dont_hold_back?: boolean | null
167
+ feedback_preference_typos?: boolean | null
150
168
  }
151
169
 
152
170
  export interface Chapter {
@@ -566,6 +584,11 @@ export interface Paths {
566
584
  body?: undefined
567
585
  response: void | ErrorResponse
568
586
  },
587
+ "/work/{author}/{vanity}/feedback": {
588
+ method: "get"
589
+ body?: undefined
590
+ response: Response<Feedback> | ErrorResponse
591
+ },
569
592
  "/work/{author}/{vanity}/chapter/create": {
570
593
  method: "post"
571
594
  body: ChapterCreateBody
package/openapi.json CHANGED
@@ -337,6 +337,36 @@
337
337
  "type": "null"
338
338
  }
339
339
  ]
340
+ },
341
+ "feedback_preference_critique": {
342
+ "anyOf": [
343
+ {
344
+ "type": "boolean"
345
+ },
346
+ {
347
+ "type": "null"
348
+ }
349
+ ]
350
+ },
351
+ "feedback_preference_dont_hold_back": {
352
+ "anyOf": [
353
+ {
354
+ "type": "boolean"
355
+ },
356
+ {
357
+ "type": "null"
358
+ }
359
+ ]
360
+ },
361
+ "feedback_preference_typos": {
362
+ "anyOf": [
363
+ {
364
+ "type": "boolean"
365
+ },
366
+ {
367
+ "type": "null"
368
+ }
369
+ ]
340
370
  }
341
371
  },
342
372
  "required": [
@@ -461,6 +491,36 @@
461
491
  "type": "null"
462
492
  }
463
493
  ]
494
+ },
495
+ "feedback_preference_critique": {
496
+ "anyOf": [
497
+ {
498
+ "type": "boolean"
499
+ },
500
+ {
501
+ "type": "null"
502
+ }
503
+ ]
504
+ },
505
+ "feedback_preference_dont_hold_back": {
506
+ "anyOf": [
507
+ {
508
+ "type": "boolean"
509
+ },
510
+ {
511
+ "type": "null"
512
+ }
513
+ ]
514
+ },
515
+ "feedback_preference_typos": {
516
+ "anyOf": [
517
+ {
518
+ "type": "boolean"
519
+ },
520
+ {
521
+ "type": "null"
522
+ }
523
+ ]
464
524
  }
465
525
  }
466
526
  },
@@ -639,6 +699,36 @@
639
699
  "type": "null"
640
700
  }
641
701
  ]
702
+ },
703
+ "feedback_preference_critique": {
704
+ "anyOf": [
705
+ {
706
+ "type": "boolean"
707
+ },
708
+ {
709
+ "type": "null"
710
+ }
711
+ ]
712
+ },
713
+ "feedback_preference_dont_hold_back": {
714
+ "anyOf": [
715
+ {
716
+ "type": "boolean"
717
+ },
718
+ {
719
+ "type": "null"
720
+ }
721
+ ]
722
+ },
723
+ "feedback_preference_typos": {
724
+ "anyOf": [
725
+ {
726
+ "type": "boolean"
727
+ },
728
+ {
729
+ "type": "null"
730
+ }
731
+ ]
642
732
  }
643
733
  },
644
734
  "required": [
@@ -765,6 +855,71 @@
765
855
  "type": "null"
766
856
  }
767
857
  ]
858
+ },
859
+ "feedback_preference_critique": {
860
+ "anyOf": [
861
+ {
862
+ "type": "boolean"
863
+ },
864
+ {
865
+ "type": "null"
866
+ }
867
+ ]
868
+ },
869
+ "feedback_preference_dont_hold_back": {
870
+ "anyOf": [
871
+ {
872
+ "type": "boolean"
873
+ },
874
+ {
875
+ "type": "null"
876
+ }
877
+ ]
878
+ },
879
+ "feedback_preference_typos": {
880
+ "anyOf": [
881
+ {
882
+ "type": "boolean"
883
+ },
884
+ {
885
+ "type": "null"
886
+ }
887
+ ]
888
+ }
889
+ }
890
+ },
891
+ "Feedback": {
892
+ "type": "object",
893
+ "properties": {
894
+ "feedback_preference_critique": {
895
+ "anyOf": [
896
+ {
897
+ "type": "boolean"
898
+ },
899
+ {
900
+ "type": "null"
901
+ }
902
+ ]
903
+ },
904
+ "feedback_preference_dont_hold_back": {
905
+ "anyOf": [
906
+ {
907
+ "type": "boolean"
908
+ },
909
+ {
910
+ "type": "null"
911
+ }
912
+ ]
913
+ },
914
+ "feedback_preference_typos": {
915
+ "anyOf": [
916
+ {
917
+ "type": "boolean"
918
+ },
919
+ {
920
+ "type": "null"
921
+ }
922
+ ]
768
923
  }
769
924
  }
770
925
  },
@@ -2984,6 +3139,53 @@
2984
3139
  }
2985
3140
  }
2986
3141
  },
3142
+ "/work/{author}/{vanity}/feedback": {
3143
+ "parameters": [
3144
+ {
3145
+ "name": "author",
3146
+ "in": "path"
3147
+ },
3148
+ {
3149
+ "name": "vanity",
3150
+ "in": "path"
3151
+ }
3152
+ ],
3153
+ "get": {
3154
+ "responses": {
3155
+ "200": {
3156
+ "description": "200 response",
3157
+ "content": {
3158
+ "application/json": {
3159
+ "schema": {
3160
+ "type": "object",
3161
+ "properties": {
3162
+ "data": {
3163
+ "$ref": "#/components/schemas/Feedback"
3164
+ }
3165
+ },
3166
+ "required": [
3167
+ "data"
3168
+ ]
3169
+ }
3170
+ }
3171
+ }
3172
+ },
3173
+ "304": {
3174
+ "description": "304 response"
3175
+ },
3176
+ "default": {
3177
+ "description": "Error",
3178
+ "content": {
3179
+ "application/json": {
3180
+ "schema": {
3181
+ "$ref": "#/components/schemas/ErrorResponse"
3182
+ }
3183
+ }
3184
+ }
3185
+ }
3186
+ }
3187
+ }
3188
+ },
2987
3189
  "/work/{author}/{vanity}/chapter/create": {
2988
3190
  "parameters": [
2989
3191
  {
@@ -5599,9 +5801,6 @@
5599
5801
  }
5600
5802
  }
5601
5803
  },
5602
- "304": {
5603
- "description": "304 response"
5604
- },
5605
5804
  "default": {
5606
5805
  "description": "Error",
5607
5806
  "content": {
@@ -5636,9 +5835,6 @@
5636
5835
  }
5637
5836
  }
5638
5837
  },
5639
- "304": {
5640
- "description": "304 response"
5641
- },
5642
5838
  "default": {
5643
5839
  "description": "Error",
5644
5840
  "content": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.303",
3
+ "version": "1.0.307",
4
4
  "types": "index.d.ts"
5
5
  }