@ifunny/ifunny-api-types 1.0.3 → 1.2.0

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 (215) hide show
  1. package/.devenv/bootstrap/bootstrapLib.nix +630 -0
  2. package/.devenv/bootstrap/default.nix +22 -0
  3. package/.devenv/bootstrap/resolve-lock.nix +190 -0
  4. package/.devenv/changelog-cache.json +9 -0
  5. package/.devenv/devenv.fish +252 -0
  6. package/.devenv/imports.txt +0 -0
  7. package/.devenv/input-paths.txt +10 -0
  8. package/.devenv/load-exports +1 -0
  9. package/.devenv/nix-eval-cache.db +0 -0
  10. package/.devenv/nix-eval-cache.db-shm +0 -0
  11. package/.devenv/nix-eval-cache.db-wal +0 -0
  12. package/.devenv/nix-eval-cache.db.init.lock +0 -0
  13. package/.devenv/nixpkgs-config-99f33fda17d41bc9.nix +17 -0
  14. package/.devenv/nixpkgs-config-c46eff8321b73149.nix +29 -0
  15. package/.devenv/profiles/nix/bootstrap/bootstrapLib.nix +571 -0
  16. package/.devenv/profiles/nix/bootstrap/default.nix +19 -0
  17. package/.devenv/profiles/nix/bootstrap/resolve-lock.nix +157 -0
  18. package/.devenv/profiles/nix/imports.txt +0 -0
  19. package/.devenv/profiles/nix/input-paths.txt +4 -0
  20. package/.devenv/profiles/nix/load-exports +1 -0
  21. package/.devenv/profiles/nix/nix-eval-cache.db +0 -0
  22. package/.devenv/profiles/nix/nix-eval-cache.db-shm +0 -0
  23. package/.devenv/profiles/nix/nix-eval-cache.db-wal +0 -0
  24. package/.devenv/profiles/nix/nixpkgs-config-99f33fda17d41bc9.nix +17 -0
  25. package/.devenv/profiles/nix/shell-0d722b4fe4724c8e.sh +2270 -0
  26. package/.devenv/profiles/nix/shell-314b72302fb2c916.sh +2270 -0
  27. package/.devenv/profiles/nix/shell-6a4b00b5ca837a3b.sh +2270 -0
  28. package/.devenv/profiles/nix/shell-956adc1e664f64c3.sh +2270 -0
  29. package/.devenv/profiles/nix/shell-9dbff87fad44e8d9.sh +2270 -0
  30. package/.devenv/profiles/nix/shell-b1e9e1f82076662f.sh +2270 -0
  31. package/.devenv/profiles/nix/shell-b4f4bbfa36797bee.sh +2270 -0
  32. package/.devenv/profiles/nix/shell-c4b190d331c48d67.sh +2270 -0
  33. package/.devenv/profiles/nix/state/files.json +1 -0
  34. package/.devenv/profiles/nix/state/tasks.db +0 -0
  35. package/.devenv/profiles/nix/state/tasks.db-shm +0 -0
  36. package/.devenv/profiles/nix/state/tasks.db-wal +0 -0
  37. package/.devenv/profiles/nix/task-names.txt +5 -0
  38. package/.devenv/shell-086ca2c39799e6a6.sh +2270 -0
  39. package/.devenv/shell-2c06a35dd99be3d1.sh +2270 -0
  40. package/.devenv/shell-36f1fe0faec08873.sh +2270 -0
  41. package/.devenv/shell-676361065bda5b43.sh +2270 -0
  42. package/.devenv/shell-9f6cb513d1721fef.sh +2270 -0
  43. package/.devenv/shell-c0e4459b4f5922d7.sh +2270 -0
  44. package/.devenv/shell-c862a0db6e9ad5f4.sh +2270 -0
  45. package/.devenv/shell-d71ade933a43e837.sh +2270 -0
  46. package/.devenv/shell-dd73aac05b182946.sh +2270 -0
  47. package/.devenv/shell-e39d0b30a7e0eb13.sh +2270 -0
  48. package/.devenv/shell-env.sh +2263 -0
  49. package/.devenv/shell-f924d749ff8c17ee.sh +2270 -0
  50. package/.devenv/shell-rcfile.sh +152 -0
  51. package/.devenv/state/files.json +1 -0
  52. package/.devenv/state/tasks.db +0 -0
  53. package/.devenv/state/tasks.db-shm +0 -0
  54. package/.devenv/state/tasks.db-wal +0 -0
  55. package/.devenv/state/tasks.db.init.lock +0 -0
  56. package/.devenv/task-names.txt +5 -0
  57. package/.github/workflows/codeql.yml +72 -72
  58. package/.github/workflows/test.yml +31 -31
  59. package/CHANGELOG.md +8405 -417
  60. package/LICENSE +121 -121
  61. package/README.md +2 -2
  62. package/devenv.lock +65 -0
  63. package/devenv.nix +38 -0
  64. package/devenv.yaml +18 -0
  65. package/eslint.config.mjs +18 -0
  66. package/package.json +59 -50
  67. package/prettier.config.js +15 -0
  68. package/dist/errors/bad_request.js +0 -8
  69. package/dist/errors/bad_request.js.map +0 -1
  70. package/dist/errors/captcha_required.js +0 -19
  71. package/dist/errors/captcha_required.js.map +0 -1
  72. package/dist/errors/email_exists.js +0 -8
  73. package/dist/errors/email_exists.js.map +0 -1
  74. package/dist/errors/error.js +0 -3
  75. package/dist/errors/error.js.map +0 -1
  76. package/dist/errors/error_base.js +0 -43
  77. package/dist/errors/error_base.js.map +0 -1
  78. package/dist/errors/index.js +0 -29
  79. package/dist/errors/index.js.map +0 -1
  80. package/dist/errors/invalid_client.js +0 -8
  81. package/dist/errors/invalid_client.js.map +0 -1
  82. package/dist/errors/invalid_email.js +0 -8
  83. package/dist/errors/invalid_email.js.map +0 -1
  84. package/dist/errors/invalid_grant.js +0 -8
  85. package/dist/errors/invalid_grant.js.map +0 -1
  86. package/dist/errors/not_found.js +0 -3
  87. package/dist/errors/not_found.js.map +0 -1
  88. package/dist/errors/permission_denied.js +0 -8
  89. package/dist/errors/permission_denied.js.map +0 -1
  90. package/dist/errors/unauthorized.js +0 -8
  91. package/dist/errors/unauthorized.js.map +0 -1
  92. package/dist/errors/wrong_params.js +0 -8
  93. package/dist/errors/wrong_params.js.map +0 -1
  94. package/dist/index.js +0 -21
  95. package/dist/index.js.map +0 -1
  96. package/dist/payloads/activity.js +0 -50
  97. package/dist/payloads/activity.js.map +0 -1
  98. package/dist/payloads/app.js +0 -3
  99. package/dist/payloads/app.js.map +0 -1
  100. package/dist/payloads/appeal.js +0 -14
  101. package/dist/payloads/appeal.js.map +0 -1
  102. package/dist/payloads/ban.js +0 -36
  103. package/dist/payloads/ban.js.map +0 -1
  104. package/dist/payloads/base.js +0 -3
  105. package/dist/payloads/base.js.map +0 -1
  106. package/dist/payloads/client.js +0 -13
  107. package/dist/payloads/client.js.map +0 -1
  108. package/dist/payloads/comment.js +0 -42
  109. package/dist/payloads/comment.js.map +0 -1
  110. package/dist/payloads/content.js +0 -176
  111. package/dist/payloads/content.js.map +0 -1
  112. package/dist/payloads/index.js +0 -27
  113. package/dist/payloads/index.js.map +0 -1
  114. package/dist/payloads/strike.js +0 -3
  115. package/dist/payloads/strike.js.map +0 -1
  116. package/dist/payloads/user.js +0 -214
  117. package/dist/payloads/user.js.map +0 -1
  118. package/dist/rest/account.js +0 -3
  119. package/dist/rest/account.js.map +0 -1
  120. package/dist/rest/content.js +0 -54
  121. package/dist/rest/content.js.map +0 -1
  122. package/dist/rest/counters.js +0 -3
  123. package/dist/rest/counters.js.map +0 -1
  124. package/dist/rest/endpoints.js +0 -199
  125. package/dist/rest/endpoints.js.map +0 -1
  126. package/dist/rest/explore.js +0 -82
  127. package/dist/rest/explore.js.map +0 -1
  128. package/dist/rest/feeds.js +0 -3
  129. package/dist/rest/feeds.js.map +0 -1
  130. package/dist/rest/index.js +0 -25
  131. package/dist/rest/index.js.map +0 -1
  132. package/dist/rest/issues.js +0 -3
  133. package/dist/rest/issues.js.map +0 -1
  134. package/dist/rest/oauth2.js +0 -9
  135. package/dist/rest/oauth2.js.map +0 -1
  136. package/dist/utils/index.js +0 -19
  137. package/dist/utils/index.js.map +0 -1
  138. package/dist/utils/rest.js +0 -3
  139. package/dist/utils/rest.js.map +0 -1
  140. package/dist/utils/util.js +0 -3
  141. package/dist/utils/util.js.map +0 -1
  142. package/types/errors/bad_request.d.ts +0 -12
  143. package/types/errors/bad_request.d.ts.map +0 -1
  144. package/types/errors/captcha_required.d.ts +0 -33
  145. package/types/errors/captcha_required.d.ts.map +0 -1
  146. package/types/errors/email_exists.d.ts +0 -15
  147. package/types/errors/email_exists.d.ts.map +0 -1
  148. package/types/errors/error.d.ts +0 -29
  149. package/types/errors/error.d.ts.map +0 -1
  150. package/types/errors/error_base.d.ts +0 -61
  151. package/types/errors/error_base.d.ts.map +0 -1
  152. package/types/errors/index.d.ts +0 -13
  153. package/types/errors/index.d.ts.map +0 -1
  154. package/types/errors/invalid_client.d.ts +0 -15
  155. package/types/errors/invalid_client.d.ts.map +0 -1
  156. package/types/errors/invalid_email.d.ts +0 -15
  157. package/types/errors/invalid_email.d.ts.map +0 -1
  158. package/types/errors/invalid_grant.d.ts +0 -12
  159. package/types/errors/invalid_grant.d.ts.map +0 -1
  160. package/types/errors/not_found.d.ts +0 -8
  161. package/types/errors/not_found.d.ts.map +0 -1
  162. package/types/errors/permission_denied.d.ts +0 -12
  163. package/types/errors/permission_denied.d.ts.map +0 -1
  164. package/types/errors/unauthorized.d.ts +0 -12
  165. package/types/errors/unauthorized.d.ts.map +0 -1
  166. package/types/errors/wrong_params.d.ts +0 -11
  167. package/types/errors/wrong_params.d.ts.map +0 -1
  168. package/types/index.d.ts +0 -5
  169. package/types/index.d.ts.map +0 -1
  170. package/types/payloads/activity.d.ts +0 -114
  171. package/types/payloads/activity.d.ts.map +0 -1
  172. package/types/payloads/app.d.ts +0 -266
  173. package/types/payloads/app.d.ts.map +0 -1
  174. package/types/payloads/appeal.d.ts +0 -22
  175. package/types/payloads/appeal.d.ts.map +0 -1
  176. package/types/payloads/ban.d.ts +0 -85
  177. package/types/payloads/ban.d.ts.map +0 -1
  178. package/types/payloads/base.d.ts +0 -5
  179. package/types/payloads/base.d.ts.map +0 -1
  180. package/types/payloads/client.d.ts +0 -106
  181. package/types/payloads/client.d.ts.map +0 -1
  182. package/types/payloads/comment.d.ts +0 -124
  183. package/types/payloads/comment.d.ts.map +0 -1
  184. package/types/payloads/content.d.ts +0 -676
  185. package/types/payloads/content.d.ts.map +0 -1
  186. package/types/payloads/index.d.ts +0 -11
  187. package/types/payloads/index.d.ts.map +0 -1
  188. package/types/payloads/strike.d.ts +0 -15
  189. package/types/payloads/strike.d.ts.map +0 -1
  190. package/types/payloads/user.d.ts +0 -515
  191. package/types/payloads/user.d.ts.map +0 -1
  192. package/types/rest/account.d.ts +0 -4
  193. package/types/rest/account.d.ts.map +0 -1
  194. package/types/rest/content.d.ts +0 -96
  195. package/types/rest/content.d.ts.map +0 -1
  196. package/types/rest/counters.d.ts +0 -10
  197. package/types/rest/counters.d.ts.map +0 -1
  198. package/types/rest/endpoints.d.ts +0 -153
  199. package/types/rest/endpoints.d.ts.map +0 -1
  200. package/types/rest/explore.d.ts +0 -113
  201. package/types/rest/explore.d.ts.map +0 -1
  202. package/types/rest/feeds.d.ts +0 -17
  203. package/types/rest/feeds.d.ts.map +0 -1
  204. package/types/rest/index.d.ts +0 -9
  205. package/types/rest/index.d.ts.map +0 -1
  206. package/types/rest/issues.d.ts +0 -16
  207. package/types/rest/issues.d.ts.map +0 -1
  208. package/types/rest/oauth2.d.ts +0 -37
  209. package/types/rest/oauth2.d.ts.map +0 -1
  210. package/types/utils/index.d.ts +0 -3
  211. package/types/utils/index.d.ts.map +0 -1
  212. package/types/utils/rest.d.ts +0 -50
  213. package/types/utils/rest.d.ts.map +0 -1
  214. package/types/utils/util.d.ts +0 -80
  215. package/types/utils/util.d.ts.map +0 -1
@@ -1,676 +0,0 @@
1
- import { APIUser } from "./user";
2
- import { HexCode, Size, EpochSec } from "../utils/util";
3
- /**
4
- * JSON data of an iFunny Post
5
- */
6
- export interface APIContentBase {
7
- gif?: APIGifCaptionContentData | APIGifContentData;
8
- coub?: APICoubContentData;
9
- video?: APIVideoContentData;
10
- video_clip?: APIVideoClipContentData;
11
- vine?: APIVineContentData;
12
- pic?: APIPicContentData;
13
- mem?: APIMemeContentData;
14
- comics?: APIComicsContentData;
15
- caption?: APICaptionContentData;
16
- app?: APIAppContentData;
17
- dem?: unknown;
18
- old?: unknown;
19
- /**
20
- * Unique id of the Content.\
21
- * Typically 9 characters long
22
- */
23
- id: string;
24
- /**
25
- * The type of the Content
26
- */
27
- type: APIContentType;
28
- /**
29
- * Content url of the Content
30
- */
31
- url: string;
32
- /**
33
- * Seems to be the same as {@link url APIContentBase#url}
34
- * ? Not always present on gifs and gif captions
35
- */
36
- share_url?: string;
37
- /**
38
- * If the Content uses the old watermark or the new one
39
- */
40
- old_watermark: boolean;
41
- /**
42
- * In-app share url.
43
- * @example
44
- * `https://ifunny.co/picture/${content.id}`
45
- * `https://ifunny.co/video/${content.id}`
46
- */
47
- link: string;
48
- /**
49
- * The title of the Content
50
- */
51
- title: string;
52
- /**
53
- * Fixed title of the Content
54
- * @example
55
- * `Gif memes ${content.id} by ${content.creator.nick}`
56
- * `Picture memes ${content.id} by ${content.creator.nick}: ${content.num.comments} comments`
57
- */
58
- fixed_title?: string;
59
- description?: string;
60
- /**
61
- * Array of tags on the Content
62
- */
63
- tags: string[];
64
- /**
65
- * The publish state of the Content
66
- */
67
- state: APIContentState;
68
- /**
69
- * EpochSec of when the Content was created (or repubbed if a repub) in seconds
70
- */
71
- date_create: EpochSec;
72
- /**
73
- * EpochSec of when the Content was published in seconds
74
- */
75
- publish_at: EpochSec;
76
- /**
77
- * Is the Content smiled by the Client
78
- */
79
- is_smiled: boolean;
80
- /**
81
- * Is the Content unsmiled by the Client
82
- */
83
- is_unsmiled: boolean;
84
- /**
85
- * Was the Content removed by iFunny
86
- */
87
- is_abused: boolean;
88
- /**
89
- * Is the Content featured
90
- */
91
- is_featured: boolean;
92
- /**
93
- * Is the Content republished by the Client
94
- */
95
- is_republished: boolean;
96
- /**
97
- * Is the Content pinned by the creator
98
- */
99
- is_pinned: boolean;
100
- /**
101
- * Background color of the Content.
102
- */
103
- bg_color?: HexCode;
104
- /**
105
- * The {@link APIContentThumbnail thumbnail} of the Content
106
- */
107
- thumb: APIContentThumbnail;
108
- /**
109
- * The Content's {@link APIContentCopyright copyright} data
110
- */
111
- copyright?: APIContentCopyright;
112
- /**
113
- * The {@link APIContentNums numbers} on the Content
114
- */
115
- num: APIContentNums;
116
- /**
117
- * The author of the Content
118
- */
119
- creator?: APIContentCreator;
120
- /**
121
- * Size of the Content
122
- */
123
- size: Size;
124
- /**
125
- * EpochSec of when the Content was featured if it was featured
126
- */
127
- issue_at?: EpochSec;
128
- /**
129
- * Url of the original source
130
- * ? Only seen on Coubs
131
- */
132
- traceback_url?: string;
133
- /**
134
- * ? Decompiled, not observed
135
- */
136
- engagement_rate?: number;
137
- /**
138
- * ? Decompiled, not observed
139
- */
140
- engagement_rate_explain?: string;
141
- /**
142
- * The Content's visibility
143
- */
144
- visibility: APIContentVisibility;
145
- /**
146
- * TODO: ShotStatus description
147
- */
148
- shot_status: APIContentShotStatus;
149
- /**
150
- * TODO: fast_start description
151
- */
152
- fast_start: boolean;
153
- subtitles?: APIContentSubtitles[];
154
- /**
155
- * The risk level of the Content\
156
- * `1` Default
157
- */
158
- risk: number;
159
- /**
160
- * @example
161
- * `https://ifunny.co/picture/${content.id}`
162
- */
163
- canonical_url: string;
164
- /**
165
- * Text generated from iFunny's OCR
166
- */
167
- ocr_text?: string;
168
- /**
169
- * Can the Content still be boosted
170
- */
171
- can_be_boosted: boolean;
172
- /**
173
- * Latitude Coordinate
174
- */
175
- lat?: number;
176
- /**
177
- * Longitude Coordinate
178
- */
179
- lon?: number;
180
- /**
181
- * Only seen present on videos and gifs
182
- */
183
- has_header?: boolean;
184
- /**
185
- * The source of the Content if it's a republish
186
- */
187
- source?: APIContentSource;
188
- /**
189
- * From Tag (maybe?)\
190
- * ? Only seems to appear in feature feed. Possibly incorrect documentation
191
- */
192
- ftag?: APIFeedFrom;
193
- }
194
- /**
195
- * Content visibility types
196
- */
197
- export declare enum ContentVisibility {
198
- /**
199
- * Anyone can see the Content
200
- */
201
- PUBLIC = "public",
202
- /**
203
- * Content is hidden from collective and explore
204
- */
205
- SUBSCRIBERS = "subscribers",
206
- /**
207
- * Only the creator can see the Content
208
- */
209
- CLOSED = "closed",
210
- /**
211
- * Only visible in Chats
212
- */
213
- CHATS = "chats"
214
- }
215
- export declare type APIContentVisibility = `${ContentVisibility}`;
216
- /**
217
- * Content shot status types
218
- */
219
- export declare enum ShotStatus {
220
- /**
221
- * The Content was approved for upload and comment attachments are enabled
222
- */
223
- APPROVED = "approved",
224
- /**
225
- * The Content was deleted by the automoderation system
226
- */
227
- HARD_SHOT = "hardShot",
228
- /**
229
- * Content was approved for upload, but can't be used in comments
230
- */
231
- SHOT = "shot"
232
- }
233
- /**
234
- * Possible shot statuses
235
- */
236
- export declare type APIContentShotStatus = `${ShotStatus}`;
237
- /**
238
- * All currently known Content types
239
- */
240
- export declare enum ContentType {
241
- /**
242
- * Most common video Content type\
243
- * Data key: `video_clip`
244
- */
245
- VIDEO_CLIP = "video_clip",
246
- /**
247
- * A video uploaded from a url like YouTube\
248
- * Data key: `video`
249
- */
250
- VIDEO = "video",
251
- /**
252
- * A video uploaded from vine\
253
- * Data key: `vine`
254
- */
255
- VINE = "vine",
256
- /**
257
- * Video meme from {@link https://coub.com Coub}\
258
- * Data key: `coub`
259
- */
260
- COUB = "coub",
261
- /**
262
- * A Gif Content\
263
- * Data key: `gif`
264
- */
265
- GIF = "gif",
266
- /**
267
- * A Gif Content with a custom caption\
268
- * Data key: `gif`
269
- */
270
- GIF_CAPTION = "gif_caption",
271
- /**
272
- * An image meme with a custom caption\
273
- * Data key: `caption`
274
- */
275
- CAPTION = "caption",
276
- /**
277
- * An image meme\
278
- * Data key: `pic`
279
- */
280
- PIC = "pic",
281
- /**
282
- * Image uploaded from iFunny's old "Meme" creator.\
283
- * Data key: `mem`
284
- */
285
- MEME = "mem",
286
- /**
287
- * Image uploaded from iFunny's old "Comic" creator.\
288
- * Data key: `comics`
289
- */
290
- COMICS = "comics",
291
- /**
292
- * An interactive Content from iFunny\
293
- * Data key: `app`\
294
- * Deprecated by iFunny. This Content type has been removed from iFunny
295
- */
296
- APP = "app",
297
- /**
298
- * Unknown Content type\
299
- * Data key: `old` (Unknown due to deprecation)\
300
- * TODO: Document what ContentType.OLD is
301
- */
302
- OLD = "old",
303
- /**
304
- * Unknown Content type\
305
- * Data key: `dem` (Unknown due to deprecation)\
306
- * TODO: Document what ContentType.DEM is
307
- */
308
- DEM = "dem",
309
- /**
310
- * Unknown Content type\
311
- * Data key: `special` (unknown due to being observed)
312
- */
313
- SPECIAL = "special"
314
- }
315
- /**
316
- * Possible Content types
317
- */
318
- export declare type APIContentType = `${ContentType}`;
319
- export declare enum ContentState {
320
- /**
321
- * Content that was scheduled to be published later
322
- */
323
- DELAYED = "delayed",
324
- /**
325
- * Content was deleted
326
- */
327
- DELETED = "deleted",
328
- /**
329
- * Content is a draft that hasn't been published
330
- */
331
- DRAFT = "draft",
332
- /**
333
- * The Content is published. Default
334
- */
335
- PUBLISHED = "published"
336
- }
337
- /**
338
- * Possible Content states
339
- */
340
- export declare type APIContentState = `${ContentState}`;
341
- /**
342
- * Where an action was completed
343
- * @example
344
- * PUT /v4/reads/:contentId?from=:ACTION_LOCATION
345
- */
346
- export declare enum FeedFrom {
347
- ATTACHMENT = "attach",
348
- CHANNEL = "channel",
349
- COLLECTIVE = "coll",
350
- FEATURES = "feat",
351
- MONOFEED = "monofeed",
352
- MYSMILES = "mySmiles",
353
- MY_SMILES = "my-smiles",
354
- MY_COMMENTS = "mycomms",
355
- PROFILE = "prof",
356
- REC = "rec",
357
- SEAR = "sear",
358
- SUBS = "subs",
359
- USER_FEATURES = "userfeat",
360
- READS = "reads",
361
- TAG = "tag"
362
- }
363
- /**
364
- * Possible `from` locations
365
- */
366
- export declare type APIFeedFrom = `${FeedFrom}`;
367
- export declare type APIFTag = APIFeedFrom;
368
- /**
369
- * The creator object for the Content
370
- */
371
- export declare type APIContentCreator = APIUser;
372
- /**
373
- * Alias for {@link APIContentCreator}
374
- */
375
- export declare type APIContentAuthor = APIContentCreator;
376
- /**
377
- * Numbers attached to the Content
378
- */
379
- export interface APIContentNums {
380
- /**
381
- * The amount of smiles the Content has
382
- */
383
- smiles: number;
384
- /**
385
- * The amount of unsmiles the Content has
386
- */
387
- unsmiles: number;
388
- /**
389
- * How many smiles came from users not signed in to iFunny
390
- * ? Not possible in-app but possible in the API by using a basic token
391
- */
392
- guest_smiles: number;
393
- /**
394
- * How many comments are on the Content
395
- */
396
- comments: number;
397
- /**
398
- * How many views the Content has
399
- */
400
- views: number;
401
- /**
402
- * How many republishes the Content has
403
- */
404
- republished: number;
405
- /**
406
- * How many shares the Content has
407
- */
408
- shares: number;
409
- }
410
- /**
411
- * Copyright data for the Content
412
- */
413
- export interface APIContentCopyright {
414
- /**
415
- * Note about the copyright
416
- */
417
- note?: string;
418
- /**
419
- * URL of original source
420
- */
421
- url?: string;
422
- }
423
- /**
424
- * The Thumbnail object returned from the API\
425
- * @example
426
- * ```ts
427
- * APIContentThumbnail.url = `https://imageproxy.ifunny.co/${params}/images/${content_id}.jpg`
428
- * APIContentThumbnail.webp_url = `https://imageproxy.ifunny.co/${params}/images/${content_id}.webp
429
- * ```
430
- * Content URL params:\
431
- * `crop:x-{number}` crops `number` pixels from bottom of the image\
432
- * `crop:x+{number}` leaves `number` pixels at the top, and crops the rest\
433
- * `crop:square` makes the image a square aspect ratio\
434
- * `resize:{number}` changes the size of the image\
435
- * `quality:{number}` changes the image quality
436
- *
437
- *
438
- * ? Bottom iFunny watermarks are 20 pixels tall\
439
- * ? `crop:x-20` crops the watermark from an image
440
- */
441
- export interface APIContentThumbnail {
442
- /**
443
- * crop:x-20,crop:square,resize:65x,quality:90x75\
444
- * `jpg`
445
- */
446
- small_url?: string;
447
- /**
448
- * crop:x-20,crop:square,resize:160x,quality:90x75\
449
- * `jpg`
450
- */
451
- url: string;
452
- /**
453
- * crop:x-20,crop:square,resize:320x,quality:90x75\
454
- * `jpg`
455
- */
456
- large_url: string;
457
- /**
458
- * crop:x-20,resize:640x,quality:90x75\
459
- * `jpg`
460
- */
461
- x640_url: string;
462
- /**
463
- * crop:x-20,resize:640x,quality:90x75
464
- */
465
- webp_url: string;
466
- /**
467
- * crop:x-20,crop:square,resize:320x,quality:90
468
- */
469
- large_webp_url: string;
470
- /**
471
- * crop:x-20,resize:640x,quality:90
472
- */
473
- x640_webp_url: string;
474
- /**
475
- * crop:x-20,resize:320x,crop:x800,quality:90x75
476
- */
477
- proportional_url: string;
478
- /**
479
- * crop:x-20,resize:320x,crop:x800,quality:90
480
- */
481
- proportional_webp_url: string;
482
- /**
483
- * The proportional size of the image
484
- */
485
- proportional_size: Size;
486
- }
487
- /**
488
- * Decompiled, not observed
489
- */
490
- export interface APIContentSubtitles {
491
- /**
492
- * ? Possibly Language Code
493
- * @example
494
- * "en-US"
495
- */
496
- lang: string;
497
- /**
498
- * ? Must end in .srt or .vtt
499
- */
500
- url: string;
501
- }
502
- export declare enum VideoSource {
503
- USER = "user",
504
- INSTAGRAM = "instagram"
505
- }
506
- export declare type APIVideoSourceType = `${VideoSource}`;
507
- export interface APICoubContentData {
508
- /**
509
- * WebP thumbnail of the Coub
510
- */
511
- screen_url: string;
512
- bytes: number;
513
- /**
514
- * Original Coub source
515
- */
516
- trackback_url: string;
517
- /**
518
- * Length in seconds
519
- */
520
- duration: number;
521
- }
522
- export interface APIVideoContentData {
523
- /**
524
- * Url of original video
525
- */
526
- url: string;
527
- /**
528
- * Length in seconds
529
- */
530
- duration: number;
531
- /**
532
- * Length in seconds
533
- */
534
- length: number;
535
- }
536
- export interface APIVideoClipContentData {
537
- /**
538
- * JPEG image of the video clip
539
- */
540
- screen_url: string;
541
- bytes: number;
542
- source_type: APIVideoSourceType;
543
- /**
544
- * Logo url to the source if not 'user'
545
- */
546
- logo_url?: string;
547
- /**
548
- * In seconds
549
- */
550
- duration: EpochSec;
551
- }
552
- export interface APIVineContentData {
553
- screen_url: string;
554
- bytes: number;
555
- }
556
- /**
557
- * Pic Data
558
- */
559
- export interface APIPicContentData {
560
- /**
561
- * webp format url of the Content
562
- */
563
- webp_url: string;
564
- }
565
- export interface APICaptionContentData {
566
- /**
567
- * The caption of the Content
568
- */
569
- caption_text: string;
570
- }
571
- export declare type APIComicsContentData = APIPicContentData;
572
- export declare type APIMemeContentData = APIPicContentData;
573
- export interface APIGifContentData {
574
- /**
575
- * JPEG url of the Content
576
- */
577
- screen_url: string;
578
- /**
579
- * How many bytes the Content is
580
- */
581
- bytes: number;
582
- /**
583
- * Url of the Content in MP4 format
584
- */
585
- mp4_url: string;
586
- /**
587
- * How many bytes the mp4 version is
588
- */
589
- mp4_bytes: number;
590
- webm_url?: string;
591
- webm_bytes: number;
592
- }
593
- export declare type APIGifCaptionContentData = APIGifContentData & APICaptionContentData;
594
- export interface APIAppContentData {
595
- url: string;
596
- is_scroll_allowed: boolean;
597
- }
598
- /**
599
- * The content data for content from Content.pic, Content.video_clip, etc.
600
- */
601
- export declare type APIContentData = APIAppContentData | APICaptionContentData | APIComicsContentData | APICoubContentData | APIGifCaptionContentData | APIGifContentData | APIMemeContentData | APIPicContentData | APIVideoClipContentData | APIVideoContentData | APIVineContentData | UnknownContentData;
602
- export interface UnknownContentData extends JSON {
603
- }
604
- export interface APICoubContent extends APIContentBase {
605
- type: ContentType.COUB;
606
- coub: APICoubContentData;
607
- }
608
- export interface APIVideoClipContent extends APIContentBase {
609
- type: ContentType.VIDEO_CLIP;
610
- video_clip: APIVideoClipContentData;
611
- }
612
- export interface APIVideoContent extends APIContentBase {
613
- type: ContentType.VIDEO;
614
- video: APIVideoContentData;
615
- }
616
- export interface APIVineContent extends APIContentBase {
617
- type: ContentType.VINE;
618
- vine: APIVineContentData;
619
- }
620
- export interface APICaptionContent extends APIContentBase {
621
- type: ContentType.CAPTION;
622
- caption: APICaptionContentData;
623
- }
624
- export interface APIComicsContent extends APIContentBase {
625
- type: ContentType.COMICS;
626
- comics: APIComicsContentData;
627
- }
628
- export interface APIMemeContent extends APIContentBase {
629
- type: ContentType.MEME;
630
- mem: APIMemeContentData;
631
- }
632
- export interface APIPicContent extends APIContentBase {
633
- type: ContentType.PIC;
634
- pic?: APIPicContentData;
635
- }
636
- export interface APIGifContent extends APIContentBase {
637
- type: ContentType.GIF;
638
- gif: APIGifContentData;
639
- }
640
- export interface APIGifCaptionContent extends APIContentBase {
641
- type: ContentType.GIF_CAPTION;
642
- gif: APIGifCaptionContentData;
643
- }
644
- export interface APIAppContent extends APIContentBase {
645
- type: ContentType.APP;
646
- app: APIAppContentData;
647
- }
648
- export interface APIUnknownContent extends APIContentBase {
649
- type: ContentType.OLD | ContentType.DEM | ContentType.SPECIAL;
650
- }
651
- /**
652
- * The source of the original content
653
- */
654
- export declare type APIContentSource = Pick<APIContent, "id" | "date_create" | "creator">;
655
- /**
656
- * Any possible Content type
657
- */
658
- export declare type APIContent = APIContentVideo | APIContentPic | APIContentGif | APIContentSpecial;
659
- /**
660
- * All video/mp4 Content types
661
- */
662
- export declare type APIContentVideo = APICoubContent | APIVideoClipContent | APIVideoContent | APIVineContent;
663
- /**
664
- * All picture/jpg Content types
665
- */
666
- export declare type APIContentPic = APICaptionContent | APIPicContent | APIComicsContent | APIMemeContent;
667
- /**
668
- * All Gif Content types
669
- */
670
- export declare type APIContentGif = APIGifContent | APIGifCaptionContent;
671
- /**
672
- * All currently undocumented Content types. Once documented, these may move into the appropriate Content types above.\
673
- * ? Currently: 'dem', 'old', 'app'
674
- */
675
- export declare type APIContentSpecial = APIUnknownContent | APIAppContent;
676
- //# sourceMappingURL=content.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/payloads/content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC9B,GAAG,CAAC,EAAE,wBAAwB,GAAG,iBAAiB,CAAC;IACnD,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,GAAG,CAAC,EAAE,iBAAiB,CAAC;IACxB,GAAG,CAAC,EAAE,kBAAkB,CAAC;IACzB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,GAAG,CAAC,EAAE,iBA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CAAC,EAAE,iBAAiB,CAAC;CACxB;AAGD,MAAM,WAAW,aAAc,SAAQ,cAAc;IACpD,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC;IACtB,GAAG,EAAE,iBAAiB,CAAC;CACvB;AACD,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC3D,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC;IAC9B,GAAG,EAAE,wBAAwB,CAAC;CAC9B;AACD,MAAM,WAAW,aAAc,SAAQ,cAAc;IACpD,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC;IACtB,GAAG,EAAE,iBAAiB,CAAC;CACvB;AAGD,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACxD,IAAI,EAAE,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,OAAO,CAAC;CAC9D;AAED;;GAEG;AACH,oBAAY,gBAAgB,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,GAAG,aAAa,GAAG,SAAS,CAAC,CAAC;AAElF;;GAEG;AACH,oBAAY,UAAU,GACnB,eAAe,GACf,aAAa,GACb,aAAa,GACb,iBAAiB,CAAC;AAErB;;GAEG;AACH,oBAAY,eAAe,GACxB,cAAc,GACd,mBAAmB,GACnB,eAAe,GACf,cAAc,CAAC;AAElB;;GAEG;AACH,oBAAY,aAAa,GACtB,iBAAiB,GACjB,aAAa,GACb,gBAAgB,GAChB,cAAc,CAAC;AAElB;;GAEG;AACH,oBAAY,aAAa,GAAG,aAAa,GAAG,oBAAoB,CAAC;AAEjE;;;GAGG;AACH,oBAAY,iBAAiB,GAAG,iBAAiB,GAAG,aAAa,CAAC"}
@@ -1,11 +0,0 @@
1
- export * from "./activity";
2
- export * from "./app";
3
- export * from "./appeal";
4
- export * from "./ban";
5
- export * from "./base";
6
- export * from "./client";
7
- export * from "./comment";
8
- export * from "./content";
9
- export * from "./strike";
10
- export * from "./user";
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}