api.fluff4.me 1.0.180 → 1.0.182
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 +8 -2
- package/openapi.json +86 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -158,8 +158,10 @@ export interface Chapter {
|
|
|
158
158
|
time_last_update?: string | null
|
|
159
159
|
body?: string | null
|
|
160
160
|
index: number
|
|
161
|
-
notes_before?:
|
|
162
|
-
notes_after?:
|
|
161
|
+
notes_before?: TextBody | null
|
|
162
|
+
notes_after?: TextBody | null
|
|
163
|
+
global_tags?: string[] | null
|
|
164
|
+
custom_tags?: CustomTag[] | null
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
export interface ChapterCreateBody {
|
|
@@ -169,6 +171,8 @@ export interface ChapterCreateBody {
|
|
|
169
171
|
is_numbered?: boolean | null
|
|
170
172
|
notes_before?: string | null
|
|
171
173
|
notes_after?: string | null
|
|
174
|
+
global_tags?: string[] | null
|
|
175
|
+
custom_tags?: string[] | null
|
|
172
176
|
}
|
|
173
177
|
|
|
174
178
|
export interface ChapterUpdateBody {
|
|
@@ -178,6 +182,8 @@ export interface ChapterUpdateBody {
|
|
|
178
182
|
is_numbered?: boolean | null
|
|
179
183
|
notes_before?: string | null
|
|
180
184
|
notes_after?: string | null
|
|
185
|
+
global_tags?: string[] | null
|
|
186
|
+
custom_tags?: string[] | null
|
|
181
187
|
}
|
|
182
188
|
|
|
183
189
|
export interface CommentWithAuthor {
|
package/openapi.json
CHANGED
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
"notes_before": {
|
|
821
821
|
"anyOf": [
|
|
822
822
|
{
|
|
823
|
-
"
|
|
823
|
+
"$ref": "#/components/schema/TextBody"
|
|
824
824
|
},
|
|
825
825
|
{
|
|
826
826
|
"type": "null"
|
|
@@ -830,7 +830,33 @@
|
|
|
830
830
|
"notes_after": {
|
|
831
831
|
"anyOf": [
|
|
832
832
|
{
|
|
833
|
-
"
|
|
833
|
+
"$ref": "#/components/schema/TextBody"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"type": "null"
|
|
837
|
+
}
|
|
838
|
+
]
|
|
839
|
+
},
|
|
840
|
+
"global_tags": {
|
|
841
|
+
"anyOf": [
|
|
842
|
+
{
|
|
843
|
+
"type": "array",
|
|
844
|
+
"items": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"type": "null"
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
"custom_tags": {
|
|
854
|
+
"anyOf": [
|
|
855
|
+
{
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"$ref": "#/components/schema/CustomTag"
|
|
859
|
+
}
|
|
834
860
|
},
|
|
835
861
|
{
|
|
836
862
|
"type": "null"
|
|
@@ -893,6 +919,35 @@
|
|
|
893
919
|
"type": "null"
|
|
894
920
|
}
|
|
895
921
|
]
|
|
922
|
+
},
|
|
923
|
+
"global_tags": {
|
|
924
|
+
"anyOf": [
|
|
925
|
+
{
|
|
926
|
+
"type": "array",
|
|
927
|
+
"items": {
|
|
928
|
+
"type": "string"
|
|
929
|
+
},
|
|
930
|
+
"maxItems": 40
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"type": "null"
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
"custom_tags": {
|
|
938
|
+
"anyOf": [
|
|
939
|
+
{
|
|
940
|
+
"type": "array",
|
|
941
|
+
"items": {
|
|
942
|
+
"type": "string",
|
|
943
|
+
"maxLength": 64
|
|
944
|
+
},
|
|
945
|
+
"maxItems": 20
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"type": "null"
|
|
949
|
+
}
|
|
950
|
+
]
|
|
896
951
|
}
|
|
897
952
|
},
|
|
898
953
|
"required": [
|
|
@@ -969,6 +1024,35 @@
|
|
|
969
1024
|
"type": "null"
|
|
970
1025
|
}
|
|
971
1026
|
]
|
|
1027
|
+
},
|
|
1028
|
+
"global_tags": {
|
|
1029
|
+
"anyOf": [
|
|
1030
|
+
{
|
|
1031
|
+
"type": "array",
|
|
1032
|
+
"items": {
|
|
1033
|
+
"type": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"maxItems": 40
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"type": "null"
|
|
1039
|
+
}
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
1042
|
+
"custom_tags": {
|
|
1043
|
+
"anyOf": [
|
|
1044
|
+
{
|
|
1045
|
+
"type": "array",
|
|
1046
|
+
"items": {
|
|
1047
|
+
"type": "string",
|
|
1048
|
+
"maxLength": 64
|
|
1049
|
+
},
|
|
1050
|
+
"maxItems": 20
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"type": "null"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
972
1056
|
}
|
|
973
1057
|
}
|
|
974
1058
|
},
|
package/package.json
CHANGED