api.fluff4.me 1.0.181 → 1.0.183

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.
package/index.d.ts CHANGED
@@ -158,8 +158,11 @@ export interface Chapter {
158
158
  time_last_update?: string | null
159
159
  body?: string | null
160
160
  index: number
161
- notes_before?: TextBody | null
162
- notes_after?: TextBody | null
161
+ notes_before?: string | null
162
+ notes_after?: string | null
163
+ mentions?: Author[] | null
164
+ global_tags?: string[] | null
165
+ custom_tags?: CustomTag[] | null
163
166
  }
164
167
 
165
168
  export interface ChapterCreateBody {
@@ -169,6 +172,8 @@ export interface ChapterCreateBody {
169
172
  is_numbered?: boolean | null
170
173
  notes_before?: string | null
171
174
  notes_after?: string | null
175
+ global_tags?: string[] | null
176
+ custom_tags?: string[] | null
172
177
  }
173
178
 
174
179
  export interface ChapterUpdateBody {
@@ -178,6 +183,8 @@ export interface ChapterUpdateBody {
178
183
  is_numbered?: boolean | null
179
184
  notes_before?: string | null
180
185
  notes_after?: string | null
186
+ global_tags?: string[] | null
187
+ custom_tags?: string[] | null
181
188
  }
182
189
 
183
190
  export interface CommentWithAuthor {
package/openapi.json CHANGED
@@ -820,7 +820,7 @@
820
820
  "notes_before": {
821
821
  "anyOf": [
822
822
  {
823
- "$ref": "#/components/schema/TextBody"
823
+ "type": "string"
824
824
  },
825
825
  {
826
826
  "type": "null"
@@ -830,7 +830,46 @@
830
830
  "notes_after": {
831
831
  "anyOf": [
832
832
  {
833
- "$ref": "#/components/schema/TextBody"
833
+ "type": "string"
834
+ },
835
+ {
836
+ "type": "null"
837
+ }
838
+ ]
839
+ },
840
+ "mentions": {
841
+ "anyOf": [
842
+ {
843
+ "type": "array",
844
+ "items": {
845
+ "$ref": "#/components/schema/Author"
846
+ }
847
+ },
848
+ {
849
+ "type": "null"
850
+ }
851
+ ]
852
+ },
853
+ "global_tags": {
854
+ "anyOf": [
855
+ {
856
+ "type": "array",
857
+ "items": {
858
+ "type": "string"
859
+ }
860
+ },
861
+ {
862
+ "type": "null"
863
+ }
864
+ ]
865
+ },
866
+ "custom_tags": {
867
+ "anyOf": [
868
+ {
869
+ "type": "array",
870
+ "items": {
871
+ "$ref": "#/components/schema/CustomTag"
872
+ }
834
873
  },
835
874
  {
836
875
  "type": "null"
@@ -893,6 +932,35 @@
893
932
  "type": "null"
894
933
  }
895
934
  ]
935
+ },
936
+ "global_tags": {
937
+ "anyOf": [
938
+ {
939
+ "type": "array",
940
+ "items": {
941
+ "type": "string"
942
+ },
943
+ "maxItems": 40
944
+ },
945
+ {
946
+ "type": "null"
947
+ }
948
+ ]
949
+ },
950
+ "custom_tags": {
951
+ "anyOf": [
952
+ {
953
+ "type": "array",
954
+ "items": {
955
+ "type": "string",
956
+ "maxLength": 64
957
+ },
958
+ "maxItems": 20
959
+ },
960
+ {
961
+ "type": "null"
962
+ }
963
+ ]
896
964
  }
897
965
  },
898
966
  "required": [
@@ -969,6 +1037,35 @@
969
1037
  "type": "null"
970
1038
  }
971
1039
  ]
1040
+ },
1041
+ "global_tags": {
1042
+ "anyOf": [
1043
+ {
1044
+ "type": "array",
1045
+ "items": {
1046
+ "type": "string"
1047
+ },
1048
+ "maxItems": 40
1049
+ },
1050
+ {
1051
+ "type": "null"
1052
+ }
1053
+ ]
1054
+ },
1055
+ "custom_tags": {
1056
+ "anyOf": [
1057
+ {
1058
+ "type": "array",
1059
+ "items": {
1060
+ "type": "string",
1061
+ "maxLength": 64
1062
+ },
1063
+ "maxItems": 20
1064
+ },
1065
+ {
1066
+ "type": "null"
1067
+ }
1068
+ ]
972
1069
  }
973
1070
  }
974
1071
  },
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.181",
3
+ "version": "1.0.183",
4
4
  "types": "index.d.ts"
5
5
  }