api.fluff4.me 1.0.1046 → 1.0.1049

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 +34 -7
  2. package/openapi.json +135 -21
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -581,7 +581,40 @@ export interface AuthorCommentsList {
581
581
 
582
582
  export interface AuthorComment {
583
583
  comment: Comment
584
- root_object: CommentRootComment | CommentRootWork | CommentRootChapter
584
+ root_object: CommentRootComment | CommentRootWork | CommentRootChapter | CommentRootWorkPrivate | CommentRootChapterPrivate
585
+ }
586
+
587
+ export interface CommentRootComment {
588
+ comment_id: string
589
+ type: "comment"
590
+ }
591
+
592
+ export interface CommentRootWork {
593
+ work: WorkReference
594
+ visibility: "Private" | "Public" | "Patreon"
595
+ type: "work"
596
+ }
597
+
598
+ export interface CommentRootChapter {
599
+ chapter: ChapterReference
600
+ visibility: "Private" | "Public" | "Patreon"
601
+ type: "chapter"
602
+ }
603
+
604
+ export interface ChapterReference {
605
+ author: string
606
+ work: string
607
+ url: string
608
+ }
609
+
610
+ export interface CommentRootWorkPrivate {
611
+ visibility: "Private"
612
+ type: "work_private"
613
+ }
614
+
615
+ export interface CommentRootChapterPrivate {
616
+ visibility: "Private"
617
+ type: "chapter_private"
585
618
  }
586
619
 
587
620
  export interface Tag {
@@ -815,12 +848,6 @@ export interface Notification {
815
848
  comment?: string | null
816
849
  }
817
850
 
818
- export interface ChapterReference {
819
- author: string
820
- work: string
821
- url: string
822
- }
823
-
824
851
  export interface NotificationCount {
825
852
  unread_notification_count: number
826
853
  notification_time_last_modified: string
package/openapi.json CHANGED
@@ -3669,10 +3669,10 @@
3669
3669
  "$ref": "#/components/schema/CommentRootChapter"
3670
3670
  },
3671
3671
  {
3672
- "$ref": "#/components/schema/CommentRootWork"
3672
+ "$ref": "#/components/schema/CommentRootWorkPrivate"
3673
3673
  },
3674
3674
  {
3675
- "$ref": "#/components/schema/CommentRootChapter"
3675
+ "$ref": "#/components/schema/CommentRootChapterPrivate"
3676
3676
  }
3677
3677
  ]
3678
3678
  }
@@ -3682,6 +3682,139 @@
3682
3682
  "root_object"
3683
3683
  ]
3684
3684
  },
3685
+ "CommentRootComment": {
3686
+ "type": "object",
3687
+ "properties": {
3688
+ "comment_id": {
3689
+ "type": "string"
3690
+ },
3691
+ "type": {
3692
+ "type": "string",
3693
+ "enum": [
3694
+ "comment"
3695
+ ]
3696
+ }
3697
+ },
3698
+ "required": [
3699
+ "comment_id",
3700
+ "type"
3701
+ ]
3702
+ },
3703
+ "CommentRootWork": {
3704
+ "type": "object",
3705
+ "properties": {
3706
+ "work": {
3707
+ "$ref": "#/components/schema/WorkReference"
3708
+ },
3709
+ "visibility": {
3710
+ "type": "string",
3711
+ "enum": [
3712
+ "Private",
3713
+ "Public",
3714
+ "Patreon"
3715
+ ]
3716
+ },
3717
+ "type": {
3718
+ "type": "string",
3719
+ "enum": [
3720
+ "work"
3721
+ ]
3722
+ }
3723
+ },
3724
+ "required": [
3725
+ "work",
3726
+ "visibility",
3727
+ "type"
3728
+ ]
3729
+ },
3730
+ "CommentRootChapter": {
3731
+ "type": "object",
3732
+ "properties": {
3733
+ "chapter": {
3734
+ "$ref": "#/components/schema/ChapterReference"
3735
+ },
3736
+ "visibility": {
3737
+ "type": "string",
3738
+ "enum": [
3739
+ "Private",
3740
+ "Public",
3741
+ "Patreon"
3742
+ ]
3743
+ },
3744
+ "type": {
3745
+ "type": "string",
3746
+ "enum": [
3747
+ "chapter"
3748
+ ]
3749
+ }
3750
+ },
3751
+ "required": [
3752
+ "chapter",
3753
+ "visibility",
3754
+ "type"
3755
+ ]
3756
+ },
3757
+ "ChapterReference": {
3758
+ "type": "object",
3759
+ "properties": {
3760
+ "author": {
3761
+ "type": "string"
3762
+ },
3763
+ "work": {
3764
+ "type": "string"
3765
+ },
3766
+ "url": {
3767
+ "type": "string"
3768
+ }
3769
+ },
3770
+ "required": [
3771
+ "author",
3772
+ "work",
3773
+ "url"
3774
+ ]
3775
+ },
3776
+ "CommentRootWorkPrivate": {
3777
+ "type": "object",
3778
+ "properties": {
3779
+ "visibility": {
3780
+ "type": "string",
3781
+ "enum": [
3782
+ "Private"
3783
+ ]
3784
+ },
3785
+ "type": {
3786
+ "type": "string",
3787
+ "enum": [
3788
+ "work_private"
3789
+ ]
3790
+ }
3791
+ },
3792
+ "required": [
3793
+ "visibility",
3794
+ "type"
3795
+ ]
3796
+ },
3797
+ "CommentRootChapterPrivate": {
3798
+ "type": "object",
3799
+ "properties": {
3800
+ "visibility": {
3801
+ "type": "string",
3802
+ "enum": [
3803
+ "Private"
3804
+ ]
3805
+ },
3806
+ "type": {
3807
+ "type": "string",
3808
+ "enum": [
3809
+ "chapter_private"
3810
+ ]
3811
+ }
3812
+ },
3813
+ "required": [
3814
+ "visibility",
3815
+ "type"
3816
+ ]
3817
+ },
3685
3818
  "Tag": {
3686
3819
  "type": "object",
3687
3820
  "properties": {
@@ -4755,25 +4888,6 @@
4755
4888
  "read"
4756
4889
  ]
4757
4890
  },
4758
- "ChapterReference": {
4759
- "type": "object",
4760
- "properties": {
4761
- "author": {
4762
- "type": "string"
4763
- },
4764
- "work": {
4765
- "type": "string"
4766
- },
4767
- "url": {
4768
- "type": "string"
4769
- }
4770
- },
4771
- "required": [
4772
- "author",
4773
- "work",
4774
- "url"
4775
- ]
4776
- },
4777
4891
  "NotificationCount": {
4778
4892
  "type": "object",
4779
4893
  "properties": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.1046",
3
+ "version": "1.0.1049",
4
4
  "types": "index.d.ts"
5
5
  }