api.fluff4.me 1.0.179 → 1.0.181

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 +11 -1
  2. package/openapi.json +69 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -158,6 +158,8 @@ 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
163
  }
162
164
 
163
165
  export interface ChapterCreateBody {
@@ -165,6 +167,8 @@ export interface ChapterCreateBody {
165
167
  visibility: "Private" | "Public" | "Patreon"
166
168
  body: string
167
169
  is_numbered?: boolean | null
170
+ notes_before?: string | null
171
+ notes_after?: string | null
168
172
  }
169
173
 
170
174
  export interface ChapterUpdateBody {
@@ -172,6 +176,8 @@ export interface ChapterUpdateBody {
172
176
  visibility?: "Private" | "Public" | "Patreon" | null
173
177
  body?: string | null
174
178
  is_numbered?: boolean | null
179
+ notes_before?: string | null
180
+ notes_after?: string | null
175
181
  }
176
182
 
177
183
  export interface CommentWithAuthor {
@@ -359,7 +365,11 @@ export interface ManifestFormInputLengths {
359
365
  synopsis: number
360
366
  description: number
361
367
  }
362
- chapter: { name: number }
368
+ chapter: {
369
+ name: number
370
+ index: number
371
+ notes: number
372
+ }
363
373
  role: {
364
374
  name: number
365
375
  description: number
package/openapi.json CHANGED
@@ -816,6 +816,26 @@
816
816
  },
817
817
  "index": {
818
818
  "type": "number"
819
+ },
820
+ "notes_before": {
821
+ "anyOf": [
822
+ {
823
+ "$ref": "#/components/schema/TextBody"
824
+ },
825
+ {
826
+ "type": "null"
827
+ }
828
+ ]
829
+ },
830
+ "notes_after": {
831
+ "anyOf": [
832
+ {
833
+ "$ref": "#/components/schema/TextBody"
834
+ },
835
+ {
836
+ "type": "null"
837
+ }
838
+ ]
819
839
  }
820
840
  },
821
841
  "required": [
@@ -853,6 +873,26 @@
853
873
  "type": "null"
854
874
  }
855
875
  ]
876
+ },
877
+ "notes_before": {
878
+ "anyOf": [
879
+ {
880
+ "type": "string"
881
+ },
882
+ {
883
+ "type": "null"
884
+ }
885
+ ]
886
+ },
887
+ "notes_after": {
888
+ "anyOf": [
889
+ {
890
+ "type": "string"
891
+ },
892
+ {
893
+ "type": "null"
894
+ }
895
+ ]
856
896
  }
857
897
  },
858
898
  "required": [
@@ -909,6 +949,26 @@
909
949
  "type": "null"
910
950
  }
911
951
  ]
952
+ },
953
+ "notes_before": {
954
+ "anyOf": [
955
+ {
956
+ "type": "string"
957
+ },
958
+ {
959
+ "type": "null"
960
+ }
961
+ ]
962
+ },
963
+ "notes_after": {
964
+ "anyOf": [
965
+ {
966
+ "type": "string"
967
+ },
968
+ {
969
+ "type": "null"
970
+ }
971
+ ]
912
972
  }
913
973
  }
914
974
  },
@@ -1760,10 +1820,18 @@
1760
1820
  "properties": {
1761
1821
  "name": {
1762
1822
  "type": "number"
1823
+ },
1824
+ "index": {
1825
+ "type": "number"
1826
+ },
1827
+ "notes": {
1828
+ "type": "number"
1763
1829
  }
1764
1830
  },
1765
1831
  "required": [
1766
- "name"
1832
+ "name",
1833
+ "index",
1834
+ "notes"
1767
1835
  ]
1768
1836
  },
1769
1837
  "role": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.179",
3
+ "version": "1.0.181",
4
4
  "types": "index.d.ts"
5
5
  }