@ifunny/ifunny-api-types 0.10.8 → 0.10.10
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/CHANGELOG.md +174 -154
- package/dist/errors/error_base.js +1 -0
- package/dist/errors/error_base.js.map +1 -1
- package/dist/errors/index.js +1 -0
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/wrong_params.js +8 -0
- package/dist/errors/wrong_params.js.map +1 -0
- package/dist/payloads/content.js.map +1 -1
- package/package.json +1 -1
- package/types/errors/error_base.d.ts +1 -0
- package/types/errors/error_base.d.ts.map +1 -1
- package/types/errors/index.d.ts +1 -0
- package/types/errors/index.d.ts.map +1 -1
- package/types/errors/wrong_params.d.ts +11 -0
- package/types/errors/wrong_params.d.ts.map +1 -0
- package/types/payloads/content.d.ts +6 -2
- package/types/payloads/content.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,208 +2,228 @@
|
|
|
2
2
|
> All notable changes to this project will be documented in this file.
|
|
3
3
|
> This Changelog adheres to the [Semantic Versioning]("https://semver.org/")
|
|
4
4
|
|
|
5
|
-
## [v0.10.
|
|
5
|
+
## [v0.10.10](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.9...v0.10.10) - 2023-01-12
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Fixes
|
|
9
9
|
|
|
10
|
-
* Add missing
|
|
10
|
+
* Add missing property and fixed optionals @makeshiftartist ([`157f74d`](https://github.com/makeshiftartist/ifunny-api-types/commit/157f74d98ae3989382c9c39bf9ad009f376e0ca3))
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
## [v0.10.
|
|
15
|
+
## [v0.10.9](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.8...v0.10.9) - 2023-01-11
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* Add wrong_params error @makeshiftartist ([`d447740`](https://github.com/makeshiftartist/ifunny-api-types/commit/d447740a48fac8d88adbdf4d989f6bf8297f9abd))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [v0.10.8](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.7...v0.10.8) - 2022-11-26
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Fixes
|
|
29
|
+
|
|
30
|
+
* Add missing export @makeshiftartist ([`2a634fa`](https://github.com/makeshiftartist/ifunny-api-types/commit/2a634fa6795c86bf2b8b2ea46a19e2f71661e39b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## [v0.10.7](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.6...v0.10.7) - 2022-11-26
|
|
16
36
|
|
|
17
37
|
|
|
18
38
|
|
|
19
39
|
|
|
20
40
|
### Documentation
|
|
21
41
|
|
|
22
|
-
* Add AppSettings and AppPrivacy @makeshiftartist ([`404f045`](https://github.com/
|
|
42
|
+
* Add AppSettings and AppPrivacy @makeshiftartist ([`404f045`](https://github.com/makeshiftartist/ifunny-api-types/commit/404f045e458f8a289c70adb78edae6019b68870f))
|
|
23
43
|
|
|
24
44
|
|
|
25
|
-
## [v0.10.6](https://github.com/
|
|
45
|
+
## [v0.10.6](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.5...v0.10.6) - 2022-11-26
|
|
26
46
|
|
|
27
47
|
### Features
|
|
28
48
|
|
|
29
|
-
* Add app, settings, and privacy to Endpoints @makeshiftartist ([`fcbd9cb`](https://github.com/
|
|
49
|
+
* Add app, settings, and privacy to Endpoints @makeshiftartist ([`fcbd9cb`](https://github.com/makeshiftartist/ifunny-api-types/commit/fcbd9cb4c1f44a010db081393507eb502b1d20b6))
|
|
30
50
|
|
|
31
51
|
|
|
32
52
|
|
|
33
53
|
### Documentation
|
|
34
54
|
|
|
35
|
-
* Improve docs @makeshiftartist ([`cdaaa5e`](https://github.com/
|
|
55
|
+
* Improve docs @makeshiftartist ([`cdaaa5e`](https://github.com/makeshiftartist/ifunny-api-types/commit/cdaaa5e27ddc9df91faf5308392bbe234bc2dd1c))
|
|
36
56
|
|
|
37
57
|
|
|
38
|
-
## [v0.10.5](https://github.com/
|
|
58
|
+
## [v0.10.5](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.4...v0.10.5) - 2022-11-12
|
|
39
59
|
|
|
40
60
|
|
|
41
61
|
### Fixes
|
|
42
62
|
|
|
43
|
-
* Add missing export @makeshiftartist ([`7dc7ea2`](https://github.com/
|
|
63
|
+
* Add missing export @makeshiftartist ([`7dc7ea2`](https://github.com/makeshiftartist/ifunny-api-types/commit/7dc7ea24ab3238972c6ff07ae4fe670654b15d6c))
|
|
44
64
|
|
|
45
65
|
|
|
46
66
|
|
|
47
67
|
|
|
48
|
-
## [v0.10.4](https://github.com/
|
|
68
|
+
## [v0.10.4](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.3...v0.10.4) - 2022-11-06
|
|
49
69
|
|
|
50
70
|
|
|
51
71
|
### Fixes
|
|
52
72
|
|
|
53
|
-
* APIBanSmall#type now APIBanType @makeshiftartist ([`f560eec`](https://github.com/
|
|
73
|
+
* APIBanSmall#type now APIBanType @makeshiftartist ([`f560eec`](https://github.com/makeshiftartist/ifunny-api-types/commit/f560eecf8e6b61ee20cda4cb0393448c98e38820))
|
|
54
74
|
|
|
55
75
|
|
|
56
76
|
|
|
57
77
|
|
|
58
|
-
## [v0.10.3](https://github.com/
|
|
78
|
+
## [v0.10.3](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.2...v0.10.3) - 2022-11-06
|
|
59
79
|
|
|
60
80
|
|
|
61
81
|
|
|
62
82
|
|
|
63
83
|
|
|
64
84
|
|
|
65
|
-
## [v0.10.2](https://github.com/
|
|
85
|
+
## [v0.10.2](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.1...v0.10.2) - 2022-11-06
|
|
66
86
|
|
|
67
87
|
|
|
68
88
|
### Fixes
|
|
69
89
|
|
|
70
|
-
* typo in APIUserNums @makeshiftartist ([`1bdf5a0`](https://github.com/
|
|
71
|
-
* Removed deprecation warning @makeshiftartist ([`e87cd30`](https://github.com/
|
|
90
|
+
* typo in APIUserNums @makeshiftartist ([`1bdf5a0`](https://github.com/makeshiftartist/ifunny-api-types/commit/1bdf5a0f83759bebf32be9a06d50a0ecc92d5eb2))
|
|
91
|
+
* Removed deprecation warning @makeshiftartist ([`e87cd30`](https://github.com/makeshiftartist/ifunny-api-types/commit/e87cd30a3c9da9c843d9c28104895a59e1952d26))
|
|
72
92
|
|
|
73
93
|
|
|
74
94
|
|
|
75
95
|
|
|
76
|
-
## [v0.10.1](https://github.com/
|
|
96
|
+
## [v0.10.1](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.10.0...v0.10.1) - 2022-11-06
|
|
77
97
|
|
|
78
98
|
|
|
79
99
|
### Fixes
|
|
80
100
|
|
|
81
|
-
* Updated exports @makeshiftartist ([`6c55de6`](https://github.com/
|
|
101
|
+
* Updated exports @makeshiftartist ([`6c55de6`](https://github.com/makeshiftartist/ifunny-api-types/commit/6c55de624c79cc4b9740cfe86a4a17b918276531))
|
|
82
102
|
|
|
83
103
|
|
|
84
104
|
|
|
85
105
|
|
|
86
|
-
## [v0.10.0](https://github.com/
|
|
106
|
+
## [v0.10.0](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.6...v0.10.0) - 2022-11-06
|
|
87
107
|
|
|
88
108
|
### Features
|
|
89
109
|
|
|
90
|
-
* Add improvments to Content @makeshiftartist ([`51a61ab`](https://github.com/
|
|
91
|
-
* Add APIBan and APIBanSmall @makeshiftartist ([`40ce505`](https://github.com/
|
|
92
|
-
* Add APIAppeal @makeshiftartist ([`9eea420`](https://github.com/
|
|
93
|
-
* Add APIStrike @makeshiftartist ([`2cea19f`](https://github.com/
|
|
110
|
+
* Add improvments to Content @makeshiftartist ([`51a61ab`](https://github.com/makeshiftartist/ifunny-api-types/commit/51a61ab11dec01d07328c5ce14e94e0c49986a8e))
|
|
111
|
+
* Add APIBan and APIBanSmall @makeshiftartist ([`40ce505`](https://github.com/makeshiftartist/ifunny-api-types/commit/40ce5057c98bb67cffc288d0ff828a8b26a61485))
|
|
112
|
+
* Add APIAppeal @makeshiftartist ([`9eea420`](https://github.com/makeshiftartist/ifunny-api-types/commit/9eea420afb4b63e4bdd77481a882e4622c8e67c0))
|
|
113
|
+
* Add APIStrike @makeshiftartist ([`2cea19f`](https://github.com/makeshiftartist/ifunny-api-types/commit/2cea19fa5a9dffd9975598b79748a233d8d986a3))
|
|
94
114
|
|
|
95
115
|
### Fixes
|
|
96
116
|
|
|
97
|
-
* Add missing blocked endpoints @makeshiftartist ([`0e81dfa`](https://github.com/
|
|
98
|
-
* APIContentSource now exported @makeshiftartist ([`6fa1e67`](https://github.com/
|
|
99
|
-
* Add block_type to APIUserBase @makeshiftartist ([`38525cc`](https://github.com/
|
|
117
|
+
* Add missing blocked endpoints @makeshiftartist ([`0e81dfa`](https://github.com/makeshiftartist/ifunny-api-types/commit/0e81dfa52c865ac453c3f3b09d547e82938b40c2))
|
|
118
|
+
* APIContentSource now exported @makeshiftartist ([`6fa1e67`](https://github.com/makeshiftartist/ifunny-api-types/commit/6fa1e672d18737fc663d5f8cc03cbf6b22ede150))
|
|
119
|
+
* Add block_type to APIUserBase @makeshiftartist ([`38525cc`](https://github.com/makeshiftartist/ifunny-api-types/commit/38525cc4ac5aa928050d7eb7fd92ad97359968a0))
|
|
100
120
|
|
|
101
121
|
|
|
102
122
|
|
|
103
123
|
|
|
104
|
-
## [v0.9.6](https://github.com/
|
|
124
|
+
## [v0.9.6](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.5...v0.9.6) - 2022-10-30
|
|
105
125
|
|
|
106
126
|
|
|
107
127
|
### Fixes
|
|
108
128
|
|
|
109
|
-
* Casing on APINews @makeshiftartist ([`123fe79`](https://github.com/
|
|
129
|
+
* Casing on APINews @makeshiftartist ([`123fe79`](https://github.com/makeshiftartist/ifunny-api-types/commit/123fe7974994ffadf86310be886b4161bf99c229))
|
|
110
130
|
|
|
111
131
|
|
|
112
132
|
|
|
113
133
|
|
|
114
|
-
## [v0.9.5](https://github.com/
|
|
134
|
+
## [v0.9.5](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.4...v0.9.5) - 2022-10-30
|
|
115
135
|
|
|
116
136
|
|
|
117
137
|
### Fixes
|
|
118
138
|
|
|
119
|
-
* Add NICK_COLORS#WHITE @makeshiftartist ([`e282a4e`](https://github.com/
|
|
139
|
+
* Add NICK_COLORS#WHITE @makeshiftartist ([`e282a4e`](https://github.com/makeshiftartist/ifunny-api-types/commit/e282a4e098d687934ab80a3d16e92bc3434131f2))
|
|
120
140
|
|
|
121
141
|
|
|
122
142
|
|
|
123
143
|
|
|
124
|
-
## [v0.9.4](https://github.com/
|
|
144
|
+
## [v0.9.4](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.3...v0.9.4) - 2022-10-30
|
|
125
145
|
|
|
126
146
|
|
|
127
147
|
### Fixes
|
|
128
148
|
|
|
129
|
-
* Add block_type to APIUser @makeshiftartist ([`af4e8fe`](https://github.com/
|
|
149
|
+
* Add block_type to APIUser @makeshiftartist ([`af4e8fe`](https://github.com/makeshiftartist/ifunny-api-types/commit/af4e8fe52b2948eee4aed28e323be1e2cb5e626e))
|
|
130
150
|
|
|
131
151
|
|
|
132
152
|
|
|
133
153
|
|
|
134
|
-
## [v0.9.3](https://github.com/
|
|
154
|
+
## [v0.9.3](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.2...v0.9.3) - 2022-10-14
|
|
135
155
|
|
|
136
156
|
|
|
137
157
|
|
|
138
158
|
|
|
139
159
|
|
|
140
160
|
|
|
141
|
-
## [v0.9.2](https://github.com/
|
|
161
|
+
## [v0.9.2](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.1...v0.9.2) - 2022-10-14
|
|
142
162
|
|
|
143
163
|
### Features
|
|
144
164
|
|
|
145
|
-
* Add content smile and republish responses @makeshiftartist ([`5dd2db6`](https://github.com/
|
|
165
|
+
* Add content smile and republish responses @makeshiftartist ([`5dd2db6`](https://github.com/makeshiftartist/ifunny-api-types/commit/5dd2db619ee184dca34366d864b48af91317bf00))
|
|
146
166
|
|
|
147
167
|
### Fixes
|
|
148
168
|
|
|
149
|
-
* Refactor of user and content creator types @makeshiftartist ([`6438b20`](https://github.com/
|
|
169
|
+
* Refactor of user and content creator types @makeshiftartist ([`6438b20`](https://github.com/makeshiftartist/ifunny-api-types/commit/6438b205f4cafb09430eea306e5e71cfb42b66b2))
|
|
150
170
|
|
|
151
171
|
|
|
152
172
|
|
|
153
173
|
|
|
154
|
-
## [v0.9.1](https://github.com/
|
|
174
|
+
## [v0.9.1](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.9.0...v0.9.1) - 2022-10-13
|
|
155
175
|
|
|
156
176
|
|
|
157
177
|
### Fixes
|
|
158
178
|
|
|
159
|
-
* Add RESTAPIStatusResponse @makeshiftartist ([`c89e265`](https://github.com/
|
|
179
|
+
* Add RESTAPIStatusResponse @makeshiftartist ([`c89e265`](https://github.com/makeshiftartist/ifunny-api-types/commit/c89e265fb40bd2ed0349b4a5a7f8859f6a84c18d))
|
|
160
180
|
|
|
161
181
|
|
|
162
182
|
|
|
163
183
|
|
|
164
|
-
## [v0.9.0](https://github.com/
|
|
184
|
+
## [v0.9.0](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.8.4...v0.9.0) - 2022-10-13
|
|
165
185
|
|
|
166
186
|
### Features
|
|
167
187
|
|
|
168
|
-
* Add Endpoints.unsmiles() and improved docs @makeshiftartist ([`81cd713`](https://github.com/
|
|
169
|
-
* Add errors/invalid_client.ts @makeshiftartist ([`53bec8d`](https://github.com/
|
|
188
|
+
* Add Endpoints.unsmiles() and improved docs @makeshiftartist ([`81cd713`](https://github.com/makeshiftartist/ifunny-api-types/commit/81cd7138a820a6742d0b9597503a32eb11247583))
|
|
189
|
+
* Add errors/invalid_client.ts @makeshiftartist ([`53bec8d`](https://github.com/makeshiftartist/ifunny-api-types/commit/53bec8d76097e0a5e6a5adfc2305383eff7e3a4a))
|
|
170
190
|
|
|
171
191
|
|
|
172
192
|
|
|
173
193
|
|
|
174
194
|
|
|
175
|
-
## [v0.8.4](https://github.com/
|
|
195
|
+
## [v0.8.4](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.8.3...v0.8.4) - 2022-10-10
|
|
176
196
|
|
|
177
197
|
|
|
178
198
|
### Fixes
|
|
179
199
|
|
|
180
|
-
* Add missing RESTAPIContentResponse @makeshiftartist ([`ba01629`](https://github.com/
|
|
181
|
-
* Add `ftag` property @makeshiftartist ([`5a975af`](https://github.com/
|
|
200
|
+
* Add missing RESTAPIContentResponse @makeshiftartist ([`ba01629`](https://github.com/makeshiftartist/ifunny-api-types/commit/ba01629ecb87e143d174cf88e6dbd869538e40c0))
|
|
201
|
+
* Add `ftag` property @makeshiftartist ([`5a975af`](https://github.com/makeshiftartist/ifunny-api-types/commit/5a975afdf488b864d669528213df7214c5044d24))
|
|
182
202
|
|
|
183
203
|
|
|
184
204
|
|
|
185
205
|
|
|
186
|
-
## [v0.8.3](https://github.com/
|
|
206
|
+
## [v0.8.3](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.8.2...v0.8.3) - 2022-10-10
|
|
187
207
|
|
|
188
208
|
|
|
189
209
|
### Fixes
|
|
190
210
|
|
|
191
|
-
* Fix typings in ContentCreator & ContentSource @makeshiftartist ([`0f13d43`](https://github.com/
|
|
211
|
+
* Fix typings in ContentCreator & ContentSource @makeshiftartist ([`0f13d43`](https://github.com/makeshiftartist/ifunny-api-types/commit/0f13d43430289324514027b5779b264320a4ed10))
|
|
192
212
|
|
|
193
213
|
|
|
194
214
|
|
|
195
215
|
|
|
196
|
-
## [v0.8.2](https://github.com/
|
|
216
|
+
## [v0.8.2](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.8.1...v0.8.2) - 2022-10-09
|
|
197
217
|
|
|
198
218
|
|
|
199
219
|
### Fixes
|
|
200
220
|
|
|
201
|
-
* Update imports @makeshiftartist ([`0c7d026`](https://github.com/
|
|
221
|
+
* Update imports @makeshiftartist ([`0c7d026`](https://github.com/makeshiftartist/ifunny-api-types/commit/0c7d026030b9ff81826b74e9e70d1085463f8007))
|
|
202
222
|
|
|
203
223
|
|
|
204
224
|
|
|
205
225
|
|
|
206
|
-
## [v0.8.1](https://github.com/
|
|
226
|
+
## [v0.8.1](https://github.com/makeshiftartist/ifunny-api-types/compare/v0.8.0...v0.8.1) - 2022-10-09
|
|
207
227
|
|
|
208
228
|
|
|
209
229
|
|
|
@@ -214,120 +234,120 @@
|
|
|
214
234
|
|
|
215
235
|
### Features
|
|
216
236
|
|
|
217
|
-
* Added APIPost objects @MakeShiftArtist ([`603f981`](https://github.com/
|
|
218
|
-
* Added APIUser types @MakeShiftArtist ([`1e6a461`](https://github.com/
|
|
219
|
-
* Refactored util/errors into errors/ @MakeShiftArtist ([`e5e709d`](https://github.com/
|
|
220
|
-
* Added activity and comment to src/payloads @MakeShiftArtist ([`32f96e2`](https://github.com/
|
|
221
|
-
* More post data types and improved docs @MakeShiftArtist ([`91cd377`](https://github.com/
|
|
222
|
-
* Add endpoints.ts @MakeShiftArtist ([`e39adf6`](https://github.com/
|
|
223
|
-
* Added more types to rest/explore @MakeShiftArtist ([`b3f67f8`](https://github.com/
|
|
224
|
-
* Refactor payloads/comment.ts @MakeShiftArtist ([`2f5774a`](https://github.com/
|
|
225
|
-
* Add all known iFunny API Errors @MakeShiftArtist ([`163bd01`](https://github.com/
|
|
226
|
-
* Moved all errors to error.ts @MakeShiftArtist ([`0979727`](https://github.com/
|
|
227
|
-
* Added missing socials @MakeShiftArtist ([`087135f`](https://github.com/
|
|
228
|
-
* Added ban.ts to payloads @MakeShiftArtist ([`e6661a2`](https://github.com/
|
|
229
|
-
* Added util types @MakeShiftArtist ([`77fb954`](https://github.com/
|
|
230
|
-
* Added rest/post.ts with report reasons @MakeShiftArtist ([`cdd4786`](https://github.com/
|
|
231
|
-
* Add invalid_grant, not_found, and permission_denied errors @MakeShiftArtist ([`57d0f7a`](https://github.com/
|
|
232
|
-
* Added REST util types @MakeShiftArtist ([`279fb5f`](https://github.com/
|
|
233
|
-
* Added days info to RANK enum @MakeShiftArtist ([`a0a227e`](https://github.com/
|
|
234
|
-
* Moved errors to src/utils/errors.ts @MakeShiftArtist ([`6e0ce87`](https://github.com/
|
|
235
|
-
* Added oauth2.ts @MakeShiftArtist ([`ae2c3fd`](https://github.com/
|
|
236
|
-
* Added phone to client payload @MakeShiftArtist ([`ab16c04`](https://github.com/
|
|
237
|
-
* Added RestAPIErrorResponse @MakeShiftArtist ([`97bb378`](https://github.com/
|
|
238
|
-
* Add InvalidEmail and EmailExists errors @MakeShiftArtist ([`6336ad7`](https://github.com/
|
|
239
|
-
* Added CaptchaError interface @MakeShiftArtist ([`a3abade`](https://github.com/
|
|
240
|
-
* Add Unauthorized error @MakeShiftArtist ([`5800a15`](https://github.com/
|
|
241
|
-
* Add RESTAPISignUpSuccess @MakeShiftArtist ([`b149416`](https://github.com/
|
|
242
|
-
* Add src/rest/feeds.ts @makeshiftartist ([`e1ae5bc`](https://github.com/
|
|
243
|
-
* Added NextIssueTime types @MakeShiftArtist ([`5cbfd8e`](https://github.com/
|
|
244
|
-
* Added ExploreTabID types @MakeShiftArtist ([`fc181bf`](https://github.com/
|
|
245
|
-
* Fixed exports and added enum values @MakeShiftArtist ([`c66c114`](https://github.com/
|
|
246
|
-
* Added JSONObject & JSONValue to utils/util @MakeShiftArtist ([`795ce2f`](https://github.com/
|
|
247
|
-
* Add src/rest/counters.ts @makeshiftartist ([`26b4f48`](https://github.com/
|
|
248
|
-
* Add .npmignore @MakeShiftArtist ([`859259e`](https://github.com/
|
|
249
|
-
* Added index files @MakeShiftArtist ([`a6ab1c3`](https://github.com/
|
|
250
|
-
* Added more enum values to post.ts @MakeShiftArtist ([`3746387`](https://github.com/
|
|
251
|
-
* Added more scripts @MakeShiftArtist ([`aaa410b`](https://github.com/
|
|
252
|
-
* Add account.ts to REST types @MakeShiftArtist ([`3c71b3a`](https://github.com/
|
|
253
|
-
* Add base.ts @MakeShiftArtist ([`51bacf9`](https://github.com/
|
|
237
|
+
* Added APIPost objects @MakeShiftArtist ([`603f981`](https://github.com/makeshiftartist/ifunny-api-types/commit/603f98138768076464901573fff5317b357b5671))
|
|
238
|
+
* Added APIUser types @MakeShiftArtist ([`1e6a461`](https://github.com/makeshiftartist/ifunny-api-types/commit/1e6a461099e565ef02733c61d3dd513ca920171c))
|
|
239
|
+
* Refactored util/errors into errors/ @MakeShiftArtist ([`e5e709d`](https://github.com/makeshiftartist/ifunny-api-types/commit/e5e709d3b6880ee8817a95314d2e3668497634c8))
|
|
240
|
+
* Added activity and comment to src/payloads @MakeShiftArtist ([`32f96e2`](https://github.com/makeshiftartist/ifunny-api-types/commit/32f96e21817e0ac08800fd5532d3bbf8bb3bca24))
|
|
241
|
+
* More post data types and improved docs @MakeShiftArtist ([`91cd377`](https://github.com/makeshiftartist/ifunny-api-types/commit/91cd37791c0218c5267dcf4a7ecb55875fa19f19))
|
|
242
|
+
* Add endpoints.ts @MakeShiftArtist ([`e39adf6`](https://github.com/makeshiftartist/ifunny-api-types/commit/e39adf6adde6699dd0630dbfaaae960ba939177d))
|
|
243
|
+
* Added more types to rest/explore @MakeShiftArtist ([`b3f67f8`](https://github.com/makeshiftartist/ifunny-api-types/commit/b3f67f815846b958dd5f9ddc0f8dc815e47f23a5))
|
|
244
|
+
* Refactor payloads/comment.ts @MakeShiftArtist ([`2f5774a`](https://github.com/makeshiftartist/ifunny-api-types/commit/2f5774a111d2de94cc1c1b661568dd0f0bfffd6f))
|
|
245
|
+
* Add all known iFunny API Errors @MakeShiftArtist ([`163bd01`](https://github.com/makeshiftartist/ifunny-api-types/commit/163bd0106ffb7c89a8e599ef62f31f3ab47f4ba6))
|
|
246
|
+
* Moved all errors to error.ts @MakeShiftArtist ([`0979727`](https://github.com/makeshiftartist/ifunny-api-types/commit/0979727e8f7161b29eff3c6f21f3b9640a7ced1e))
|
|
247
|
+
* Added missing socials @MakeShiftArtist ([`087135f`](https://github.com/makeshiftartist/ifunny-api-types/commit/087135f4b7952b1406707f06d653b3a81cbf4c06))
|
|
248
|
+
* Added ban.ts to payloads @MakeShiftArtist ([`e6661a2`](https://github.com/makeshiftartist/ifunny-api-types/commit/e6661a29c4c672e8c1ac3df6d260ab031e67bc17))
|
|
249
|
+
* Added util types @MakeShiftArtist ([`77fb954`](https://github.com/makeshiftartist/ifunny-api-types/commit/77fb95449d748a9c3962bf03ad5dff303f247c51))
|
|
250
|
+
* Added rest/post.ts with report reasons @MakeShiftArtist ([`cdd4786`](https://github.com/makeshiftartist/ifunny-api-types/commit/cdd4786acb762529f58e877ae6ae4d75fb8f5749))
|
|
251
|
+
* Add invalid_grant, not_found, and permission_denied errors @MakeShiftArtist ([`57d0f7a`](https://github.com/makeshiftartist/ifunny-api-types/commit/57d0f7a89af5eef0a26af395e920ddfd994e0b63))
|
|
252
|
+
* Added REST util types @MakeShiftArtist ([`279fb5f`](https://github.com/makeshiftartist/ifunny-api-types/commit/279fb5f9e11bd0bfe6e04de56ea3a643939adb9d))
|
|
253
|
+
* Added days info to RANK enum @MakeShiftArtist ([`a0a227e`](https://github.com/makeshiftartist/ifunny-api-types/commit/a0a227e2d8fff7310da3dd122d356973ae10517a))
|
|
254
|
+
* Moved errors to src/utils/errors.ts @MakeShiftArtist ([`6e0ce87`](https://github.com/makeshiftartist/ifunny-api-types/commit/6e0ce87f9bd8ecfab37fd3a07a883e2a2499c65d))
|
|
255
|
+
* Added oauth2.ts @MakeShiftArtist ([`ae2c3fd`](https://github.com/makeshiftartist/ifunny-api-types/commit/ae2c3fda42eb453eda6be66b1d3a0e074faa2ae0))
|
|
256
|
+
* Added phone to client payload @MakeShiftArtist ([`ab16c04`](https://github.com/makeshiftartist/ifunny-api-types/commit/ab16c04a01d604bafbfbbc9dc568235c1ecdf825))
|
|
257
|
+
* Added RestAPIErrorResponse @MakeShiftArtist ([`97bb378`](https://github.com/makeshiftartist/ifunny-api-types/commit/97bb378e858fce07ffcc0414d54179a92429a67e))
|
|
258
|
+
* Add InvalidEmail and EmailExists errors @MakeShiftArtist ([`6336ad7`](https://github.com/makeshiftartist/ifunny-api-types/commit/6336ad739d3589a2d22740919a6ba1b16e505742))
|
|
259
|
+
* Added CaptchaError interface @MakeShiftArtist ([`a3abade`](https://github.com/makeshiftartist/ifunny-api-types/commit/a3abadeb749fc7ce05abd63ab7045e44b0672820))
|
|
260
|
+
* Add Unauthorized error @MakeShiftArtist ([`5800a15`](https://github.com/makeshiftartist/ifunny-api-types/commit/5800a154371b354caa3559a074c34612e4adfc60))
|
|
261
|
+
* Add RESTAPISignUpSuccess @MakeShiftArtist ([`b149416`](https://github.com/makeshiftartist/ifunny-api-types/commit/b14941614a9681a986e631a43646dd2cc91c4caf))
|
|
262
|
+
* Add src/rest/feeds.ts @makeshiftartist ([`e1ae5bc`](https://github.com/makeshiftartist/ifunny-api-types/commit/e1ae5bcb624e0315cefe098ae6e7904f58b79f18))
|
|
263
|
+
* Added NextIssueTime types @MakeShiftArtist ([`5cbfd8e`](https://github.com/makeshiftartist/ifunny-api-types/commit/5cbfd8ec2dcc5becb0a1592e0e17b83acb8eed38))
|
|
264
|
+
* Added ExploreTabID types @MakeShiftArtist ([`fc181bf`](https://github.com/makeshiftartist/ifunny-api-types/commit/fc181bf3793974b539c074d2edbc57c28ebf7b2c))
|
|
265
|
+
* Fixed exports and added enum values @MakeShiftArtist ([`c66c114`](https://github.com/makeshiftartist/ifunny-api-types/commit/c66c114932808ab37a19a70b021c813a1f1ca384))
|
|
266
|
+
* Added JSONObject & JSONValue to utils/util @MakeShiftArtist ([`795ce2f`](https://github.com/makeshiftartist/ifunny-api-types/commit/795ce2f60d903aeefbf6ba43eee363d1bbc167f7))
|
|
267
|
+
* Add src/rest/counters.ts @makeshiftartist ([`26b4f48`](https://github.com/makeshiftartist/ifunny-api-types/commit/26b4f481a7ca9a2521d0df649d08dfa214338925))
|
|
268
|
+
* Add .npmignore @MakeShiftArtist ([`859259e`](https://github.com/makeshiftartist/ifunny-api-types/commit/859259e69fd9e1336f394a30b33232545cb9f45c))
|
|
269
|
+
* Added index files @MakeShiftArtist ([`a6ab1c3`](https://github.com/makeshiftartist/ifunny-api-types/commit/a6ab1c3136ead313a30720b11c9cdcb369ff8480))
|
|
270
|
+
* Added more enum values to post.ts @MakeShiftArtist ([`3746387`](https://github.com/makeshiftartist/ifunny-api-types/commit/374638750f5fc8e3d7fe24a218034257e0553215))
|
|
271
|
+
* Added more scripts @MakeShiftArtist ([`aaa410b`](https://github.com/makeshiftartist/ifunny-api-types/commit/aaa410b8ece3fcc7d01a457d1c34a32bbd5b93e9))
|
|
272
|
+
* Add account.ts to REST types @MakeShiftArtist ([`3c71b3a`](https://github.com/makeshiftartist/ifunny-api-types/commit/3c71b3a9f036c54dc236a3b6d2b794fb7308f621))
|
|
273
|
+
* Add base.ts @MakeShiftArtist ([`51bacf9`](https://github.com/makeshiftartist/ifunny-api-types/commit/51bacf96bc2284109aaf8261a08119be11a810b8))
|
|
254
274
|
|
|
255
275
|
### Fixes
|
|
256
276
|
|
|
257
|
-
* Added issue_at and fixed docs @MakeShiftArtist ([`ca360cf`](https://github.com/
|
|
258
|
-
* Reduced size of .gitignore to necessary lines only @MakeShiftArtist ([`526af27`](https://github.com/
|
|
259
|
-
* Combined APIContentAuthor and its base @MakeShiftArtist ([`1786f4d`](https://github.com/
|
|
260
|
-
* Ban enums are SCREAMING_SNAKECASE @MakeShiftArtist ([`cc48e43`](https://github.com/
|
|
261
|
-
* TokenTypes changed to standard enum case @MakeShiftArtist ([`ad970ca`](https://github.com/
|
|
262
|
-
* Moved invalid creds to errors.ts @MakeShiftArtist ([`4c0987a`](https://github.com/
|
|
263
|
-
* Fixed types and changelog config @MakeShiftArtist ([`a8954be`](https://github.com/
|
|
264
|
-
* Add missing errors from response @MakeShiftArtist ([`25cc009`](https://github.com/
|
|
265
|
-
* Objects extend APIBasePayload @MakeShiftArtist ([`0ffdf1c`](https://github.com/
|
|
266
|
-
* Enums are now singular in payloads/user @MakeShiftArtist ([`fd48a57`](https://github.com/
|
|
267
|
-
* Change VIEWED_FROM to ACTION_LOCATION @MakeShiftArtist ([`94ae53e`](https://github.com/
|
|
268
|
-
* Add APContentData type @MakeShiftArtist ([`5491446`](https://github.com/
|
|
269
|
-
* Added missing endpoints @MakeShiftArtist ([`fb7baad`](https://github.com/
|
|
270
|
-
* Add data fields to APIContentBase @MakeShiftArtist ([`b4718d1`](https://github.com/
|
|
271
|
-
* Added `Has` utility types @MakeShiftArtist ([`6a52216`](https://github.com/
|
|
272
|
-
* Sorted imports @MakeShiftArtist ([`2875299`](https://github.com/
|
|
273
|
-
* Added missing exports @MakeShiftArtist ([`e35432b`](https://github.com/
|
|
274
|
-
* Added unknown_error to iFUNNY_ERRORS @MakeShiftArtist ([`afdafbf`](https://github.com/
|
|
275
|
-
* Exported WebP interface @MakeShiftArtist ([`e9b0467`](https://github.com/
|
|
276
|
-
* Rename APIChatPrivacyStatus to APIUserMessagePrivacy @MakeShiftArtist ([`bcc352d`](https://github.com/
|
|
277
|
-
* Fixed imports and type names in rest/explore @MakeShiftArtist ([`b2bcf41`](https://github.com/
|
|
278
|
-
* Fixed exports @MakeShiftArtist ([`ba8b402`](https://github.com/
|
|
279
|
-
* Added declarations and source maps @MakeShiftArtist ([`c9d6dce`](https://github.com/
|
|
280
|
-
* Fixed endpoints for nicks and emails @MakeShiftArtist ([`da4576e`](https://github.com/
|
|
281
|
-
* APIPrivacyStatus renamed APIChatPrivacyStatus @MakeShiftArtist ([`b8af189`](https://github.com/
|
|
282
|
-
* Added logo_url to APIVideoClipContentData @MakeShiftArtist ([`b3a8bfa`](https://github.com/
|
|
283
|
-
* Changed APIUser values from false to boolean @MakeShiftArtist ([`00ec547`](https://github.com/
|
|
284
|
-
* Updated scripts @MakeShiftArtist ([`e6573e8`](https://github.com/
|
|
285
|
-
* Added `.vscode` to .gitignore @MakeShiftArtist ([`5b91e09`](https://github.com/
|
|
286
|
-
* Removed 'e' from APIMemeContent.meme @MakeShiftArtist ([`7b6c87c`](https://github.com/
|
|
287
|
-
* Fixed Endpoints.user @MakeShiftArtist ([`45ca85a`](https://github.com/
|
|
288
|
-
* Typo in InvalidEmailError @MakeShiftArtist ([`7cfb791`](https://github.com/
|
|
289
|
-
* Exported APICommentAuthor @MakeShiftArtist ([`4b8da77`](https://github.com/
|
|
290
|
-
* Fixed BAN_TYPES.COLLECTIVE_SHADOW @MakeShiftArtist ([`1815cc4`](https://github.com/
|
|
291
|
-
* `npm run test` uses `tsc` instead of `jest` @MakeShiftArtist ([`cab0edf`](https://github.com/
|
|
292
|
-
* Fixed Unknown errors breaking error intellisense @MakeShiftArtist ([`d98458e`](https://github.com/
|
|
293
|
-
* Updated exports to reflect endpoints @MakeShiftArtist ([`49c70fd`](https://github.com/
|
|
294
|
-
* Added INVALID_EMAIL error type @MakeShiftArtist ([`e718f7e`](https://github.com/
|
|
295
|
-
* Updated imports @MakeShiftArtist ([`ae35204`](https://github.com/
|
|
296
|
-
* Updated exports @MakeShiftArtist ([`d001184`](https://github.com/
|
|
277
|
+
* Added issue_at and fixed docs @MakeShiftArtist ([`ca360cf`](https://github.com/makeshiftartist/ifunny-api-types/commit/ca360cf4865c80c31043d96b44230ab490204e2e))
|
|
278
|
+
* Reduced size of .gitignore to necessary lines only @MakeShiftArtist ([`526af27`](https://github.com/makeshiftartist/ifunny-api-types/commit/526af2772167fb583dec8be28c48cedc9c4edc7b))
|
|
279
|
+
* Combined APIContentAuthor and its base @MakeShiftArtist ([`1786f4d`](https://github.com/makeshiftartist/ifunny-api-types/commit/1786f4d769e9f4ecbe38a2320f9cd30772a7a9f4))
|
|
280
|
+
* Ban enums are SCREAMING_SNAKECASE @MakeShiftArtist ([`cc48e43`](https://github.com/makeshiftartist/ifunny-api-types/commit/cc48e43da04de230aeda4f2852407eb04ea07bc7))
|
|
281
|
+
* TokenTypes changed to standard enum case @MakeShiftArtist ([`ad970ca`](https://github.com/makeshiftartist/ifunny-api-types/commit/ad970ca06524234a1a47428b1bf5ed314dee64e7))
|
|
282
|
+
* Moved invalid creds to errors.ts @MakeShiftArtist ([`4c0987a`](https://github.com/makeshiftartist/ifunny-api-types/commit/4c0987a1b1157672d1ffa155ef4f2f1ce8dcbc43))
|
|
283
|
+
* Fixed types and changelog config @MakeShiftArtist ([`a8954be`](https://github.com/makeshiftartist/ifunny-api-types/commit/a8954be85502ea8b2294199e1a6ba7c6ff9b3437))
|
|
284
|
+
* Add missing errors from response @MakeShiftArtist ([`25cc009`](https://github.com/makeshiftartist/ifunny-api-types/commit/25cc009181cce2f7e15285022c7927d098838019))
|
|
285
|
+
* Objects extend APIBasePayload @MakeShiftArtist ([`0ffdf1c`](https://github.com/makeshiftartist/ifunny-api-types/commit/0ffdf1c6bdc01c28b75b4e40fc1cd312198aca72))
|
|
286
|
+
* Enums are now singular in payloads/user @MakeShiftArtist ([`fd48a57`](https://github.com/makeshiftartist/ifunny-api-types/commit/fd48a57a103f0c2f644972712b8363a556ca8358))
|
|
287
|
+
* Change VIEWED_FROM to ACTION_LOCATION @MakeShiftArtist ([`94ae53e`](https://github.com/makeshiftartist/ifunny-api-types/commit/94ae53ebc57a20a8bfc9d1dd3cecac4401f0e843))
|
|
288
|
+
* Add APContentData type @MakeShiftArtist ([`5491446`](https://github.com/makeshiftartist/ifunny-api-types/commit/549144689d9a8c4d6ea5c3f5ae8e8ae1f25ee298))
|
|
289
|
+
* Added missing endpoints @MakeShiftArtist ([`fb7baad`](https://github.com/makeshiftartist/ifunny-api-types/commit/fb7baad0c5d95a549dadfc62cde8c0459b4dcc20))
|
|
290
|
+
* Add data fields to APIContentBase @MakeShiftArtist ([`b4718d1`](https://github.com/makeshiftartist/ifunny-api-types/commit/b4718d11887b6f183bda84a9bb5e9c9f934aeced))
|
|
291
|
+
* Added `Has` utility types @MakeShiftArtist ([`6a52216`](https://github.com/makeshiftartist/ifunny-api-types/commit/6a52216451e4b2f69ad1e43bdcd7084c59424a37))
|
|
292
|
+
* Sorted imports @MakeShiftArtist ([`2875299`](https://github.com/makeshiftartist/ifunny-api-types/commit/287529902c87135d681605614055a2482f8b56fe))
|
|
293
|
+
* Added missing exports @MakeShiftArtist ([`e35432b`](https://github.com/makeshiftartist/ifunny-api-types/commit/e35432b17b6160cd142f0735a8661bc1bdf1966e))
|
|
294
|
+
* Added unknown_error to iFUNNY_ERRORS @MakeShiftArtist ([`afdafbf`](https://github.com/makeshiftartist/ifunny-api-types/commit/afdafbf86640f712080088538e05a38090908845))
|
|
295
|
+
* Exported WebP interface @MakeShiftArtist ([`e9b0467`](https://github.com/makeshiftartist/ifunny-api-types/commit/e9b0467b96d1f8cf685c1442a899724cd3551701))
|
|
296
|
+
* Rename APIChatPrivacyStatus to APIUserMessagePrivacy @MakeShiftArtist ([`bcc352d`](https://github.com/makeshiftartist/ifunny-api-types/commit/bcc352d00a099f48c597216bcad1aa71453ed5c7))
|
|
297
|
+
* Fixed imports and type names in rest/explore @MakeShiftArtist ([`b2bcf41`](https://github.com/makeshiftartist/ifunny-api-types/commit/b2bcf41fb4659453fa2d32baad3c9b641ec5bb52))
|
|
298
|
+
* Fixed exports @MakeShiftArtist ([`ba8b402`](https://github.com/makeshiftartist/ifunny-api-types/commit/ba8b402dc3141e944ea734187b0290135cd90155))
|
|
299
|
+
* Added declarations and source maps @MakeShiftArtist ([`c9d6dce`](https://github.com/makeshiftartist/ifunny-api-types/commit/c9d6dce747193e0d6e62fd827a135c73982bd5d3))
|
|
300
|
+
* Fixed endpoints for nicks and emails @MakeShiftArtist ([`da4576e`](https://github.com/makeshiftartist/ifunny-api-types/commit/da4576ee40a79f6377fe9ebae6ffb3a9b092ab69))
|
|
301
|
+
* APIPrivacyStatus renamed APIChatPrivacyStatus @MakeShiftArtist ([`b8af189`](https://github.com/makeshiftartist/ifunny-api-types/commit/b8af189fa06bcdc075113fcdf552607018b51912))
|
|
302
|
+
* Added logo_url to APIVideoClipContentData @MakeShiftArtist ([`b3a8bfa`](https://github.com/makeshiftartist/ifunny-api-types/commit/b3a8bfad1bf97a1322cd926cf00e08dea2b3ae85))
|
|
303
|
+
* Changed APIUser values from false to boolean @MakeShiftArtist ([`00ec547`](https://github.com/makeshiftartist/ifunny-api-types/commit/00ec547e01ac77690027d508e2b78f309b0b5c26))
|
|
304
|
+
* Updated scripts @MakeShiftArtist ([`e6573e8`](https://github.com/makeshiftartist/ifunny-api-types/commit/e6573e84cea7fa1c27ac5bed63fba04727583474))
|
|
305
|
+
* Added `.vscode` to .gitignore @MakeShiftArtist ([`5b91e09`](https://github.com/makeshiftartist/ifunny-api-types/commit/5b91e09a53e9932b8df464e7fa78203b088ea318))
|
|
306
|
+
* Removed 'e' from APIMemeContent.meme @MakeShiftArtist ([`7b6c87c`](https://github.com/makeshiftartist/ifunny-api-types/commit/7b6c87c4ba5c4627048b12b400167128cf9b8670))
|
|
307
|
+
* Fixed Endpoints.user @MakeShiftArtist ([`45ca85a`](https://github.com/makeshiftartist/ifunny-api-types/commit/45ca85a7e5f0b73724f0347a209ab7b05e60368a))
|
|
308
|
+
* Typo in InvalidEmailError @MakeShiftArtist ([`7cfb791`](https://github.com/makeshiftartist/ifunny-api-types/commit/7cfb791cbbaa2e31f38f24f697bf35a16764ee5c))
|
|
309
|
+
* Exported APICommentAuthor @MakeShiftArtist ([`4b8da77`](https://github.com/makeshiftartist/ifunny-api-types/commit/4b8da772c05193de5255ad5c5590d265dd1f3f25))
|
|
310
|
+
* Fixed BAN_TYPES.COLLECTIVE_SHADOW @MakeShiftArtist ([`1815cc4`](https://github.com/makeshiftartist/ifunny-api-types/commit/1815cc4957154ae00b4cf531bc68567cd32ff43e))
|
|
311
|
+
* `npm run test` uses `tsc` instead of `jest` @MakeShiftArtist ([`cab0edf`](https://github.com/makeshiftartist/ifunny-api-types/commit/cab0edf3165e0050baca3eb0c6df157e88781ea3))
|
|
312
|
+
* Fixed Unknown errors breaking error intellisense @MakeShiftArtist ([`d98458e`](https://github.com/makeshiftartist/ifunny-api-types/commit/d98458e111a336ea4e942d3ee6dc19fcccd517b6))
|
|
313
|
+
* Updated exports to reflect endpoints @MakeShiftArtist ([`49c70fd`](https://github.com/makeshiftartist/ifunny-api-types/commit/49c70fd9604e1561cd372c98dc6f3171fb945e1c))
|
|
314
|
+
* Added INVALID_EMAIL error type @MakeShiftArtist ([`e718f7e`](https://github.com/makeshiftartist/ifunny-api-types/commit/e718f7ec765e3ee3c3c4107aecca4295408f8367))
|
|
315
|
+
* Updated imports @MakeShiftArtist ([`ae35204`](https://github.com/makeshiftartist/ifunny-api-types/commit/ae35204acad333b788ee94ffbe0da72101e49db8))
|
|
316
|
+
* Updated exports @MakeShiftArtist ([`d001184`](https://github.com/makeshiftartist/ifunny-api-types/commit/d0011848b9f2200c06b2f5ae6159f69a7a52a46c))
|
|
297
317
|
|
|
298
318
|
### Breaking changes
|
|
299
319
|
|
|
300
|
-
* Refactor of post into content @MakeShiftArtist ([`103a00a`](https://github.com/
|
|
301
|
-
* Refactor to simplify news types @MakeShiftArtist ([`e51f5de`](https://github.com/
|
|
302
|
-
* Renamed rest/post to rest/content @MakeShiftArtist ([`eaaaa1e`](https://github.com/
|
|
320
|
+
* Refactor of post into content @MakeShiftArtist ([`103a00a`](https://github.com/makeshiftartist/ifunny-api-types/commit/103a00a649a17acda5b78854589c1f275a304556))
|
|
321
|
+
* Refactor to simplify news types @MakeShiftArtist ([`e51f5de`](https://github.com/makeshiftartist/ifunny-api-types/commit/e51f5de16ae5a61c61f669af3738560377368569))
|
|
322
|
+
* Renamed rest/post to rest/content @MakeShiftArtist ([`eaaaa1e`](https://github.com/makeshiftartist/ifunny-api-types/commit/eaaaa1ea4fea1788e40e7864462db949d24c8fc4))
|
|
303
323
|
|
|
304
324
|
### Documentation
|
|
305
325
|
|
|
306
|
-
* npm init with ts and auto-changelog @MakeShiftArtist ([`76493ed`](https://github.com/
|
|
307
|
-
* Added changelog-template.hbs @MakeShiftArtist ([`76e263e`](https://github.com/
|
|
308
|
-
* Updated CHANGELOG.md @MakeShiftArtist ([`f099b72`](https://github.com/
|
|
309
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`c92f9b2`](https://github.com/
|
|
310
|
-
* Updated Changelog @MakeShiftArtist ([`587fef1`](https://github.com/
|
|
311
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`d548197`](https://github.com/
|
|
312
|
-
* Updated Changelog @MakeShiftArtist ([`c8f151e`](https://github.com/
|
|
313
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`08645c6`](https://github.com/
|
|
314
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`90259dc`](https://github.com/
|
|
315
|
-
* Added tsconfig.json @MakeShiftArtist ([`123f963`](https://github.com/
|
|
316
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`35d4a6d`](https://github.com/
|
|
317
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`4f6a077`](https://github.com/
|
|
318
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`3a58949`](https://github.com/
|
|
319
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`4ef5690`](https://github.com/
|
|
320
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`13a6361`](https://github.com/
|
|
321
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`d1187e9`](https://github.com/
|
|
322
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`0246914`](https://github.com/
|
|
323
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`46c01ac`](https://github.com/
|
|
324
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`148a3ce`](https://github.com/
|
|
325
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`0c951e0`](https://github.com/
|
|
326
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`33c7744`](https://github.com/
|
|
327
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`7a4db41`](https://github.com/
|
|
328
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`66f8fff`](https://github.com/
|
|
329
|
-
* Added some missing comments @MakeShiftArtist ([`fe15912`](https://github.com/
|
|
330
|
-
* Fixed APIContentNums.guest_smiles description @MakeShiftArtist ([`46895f8`](https://github.com/
|
|
331
|
-
* Update CHANGELOG.md @MakeShiftArtist ([`49777f1`](https://github.com/
|
|
326
|
+
* npm init with ts and auto-changelog @MakeShiftArtist ([`76493ed`](https://github.com/makeshiftartist/ifunny-api-types/commit/76493ed66cd7f65ba4f3b74c860417c343dd6d7f))
|
|
327
|
+
* Added changelog-template.hbs @MakeShiftArtist ([`76e263e`](https://github.com/makeshiftartist/ifunny-api-types/commit/76e263e2478e79cdd95b0a5a20e52810ef28af62))
|
|
328
|
+
* Updated CHANGELOG.md @MakeShiftArtist ([`f099b72`](https://github.com/makeshiftartist/ifunny-api-types/commit/f099b722519c3f7af9467b8368e269c44a8b862f))
|
|
329
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`c92f9b2`](https://github.com/makeshiftartist/ifunny-api-types/commit/c92f9b24a3fb3b288f8b3967ba76eb2b179c7266))
|
|
330
|
+
* Updated Changelog @MakeShiftArtist ([`587fef1`](https://github.com/makeshiftartist/ifunny-api-types/commit/587fef10b6cdef191d5f81f35a28a657ea70d7c0))
|
|
331
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`d548197`](https://github.com/makeshiftartist/ifunny-api-types/commit/d548197dfe9e6c19b9bbf53954251fb052175209))
|
|
332
|
+
* Updated Changelog @MakeShiftArtist ([`c8f151e`](https://github.com/makeshiftartist/ifunny-api-types/commit/c8f151e1cd66f3c99413c4b738ebd1ab72fe114f))
|
|
333
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`08645c6`](https://github.com/makeshiftartist/ifunny-api-types/commit/08645c6233c070d948c910e7a746ba3fd209142d))
|
|
334
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`90259dc`](https://github.com/makeshiftartist/ifunny-api-types/commit/90259dce42ba9a38b3a5da038c78241244251bc3))
|
|
335
|
+
* Added tsconfig.json @MakeShiftArtist ([`123f963`](https://github.com/makeshiftartist/ifunny-api-types/commit/123f9638839308d96264922df3a9692ef6ad7073))
|
|
336
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`35d4a6d`](https://github.com/makeshiftartist/ifunny-api-types/commit/35d4a6dba29fdbfdaaeee74c320ddc14152c4da4))
|
|
337
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`4f6a077`](https://github.com/makeshiftartist/ifunny-api-types/commit/4f6a0775138f43799f5c1fdab5049dc7e339082a))
|
|
338
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`3a58949`](https://github.com/makeshiftartist/ifunny-api-types/commit/3a589494c5a9a8853cc8c46604f465f3b887bf54))
|
|
339
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`4ef5690`](https://github.com/makeshiftartist/ifunny-api-types/commit/4ef56906067a61045cd21b1287f7bba589d1a0fb))
|
|
340
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`13a6361`](https://github.com/makeshiftartist/ifunny-api-types/commit/13a63613724d515986b87a746b674fd5d2446d9b))
|
|
341
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`d1187e9`](https://github.com/makeshiftartist/ifunny-api-types/commit/d1187e9c203d26129e2ac8a4a4991a87fff4c878))
|
|
342
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`0246914`](https://github.com/makeshiftartist/ifunny-api-types/commit/0246914da617ef0022d6914ecba4671e79b63027))
|
|
343
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`46c01ac`](https://github.com/makeshiftartist/ifunny-api-types/commit/46c01ac17f9dc6ae695b0a090c95f184b3b5d5fa))
|
|
344
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`148a3ce`](https://github.com/makeshiftartist/ifunny-api-types/commit/148a3cecdae9ca913fb3325d6899770e5c2afe72))
|
|
345
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`0c951e0`](https://github.com/makeshiftartist/ifunny-api-types/commit/0c951e00d2a3a6dd893cec8c1e266263f780e033))
|
|
346
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`33c7744`](https://github.com/makeshiftartist/ifunny-api-types/commit/33c774469a28f5577a4bda227b35d49e4df00288))
|
|
347
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`7a4db41`](https://github.com/makeshiftartist/ifunny-api-types/commit/7a4db4111d61da4ffc86af065cacae7a2a87f657))
|
|
348
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`66f8fff`](https://github.com/makeshiftartist/ifunny-api-types/commit/66f8fffe489018cf89a701cec4dde28b3356c0c1))
|
|
349
|
+
* Added some missing comments @MakeShiftArtist ([`fe15912`](https://github.com/makeshiftartist/ifunny-api-types/commit/fe15912e8fe8553b97f98343ac9f624477445e2c))
|
|
350
|
+
* Fixed APIContentNums.guest_smiles description @MakeShiftArtist ([`46895f8`](https://github.com/makeshiftartist/ifunny-api-types/commit/46895f8b40f75e49473aaf0f98b6164b6cc7585b))
|
|
351
|
+
* Update CHANGELOG.md @MakeShiftArtist ([`49777f1`](https://github.com/makeshiftartist/ifunny-api-types/commit/49777f15eabd57a2bf94783fabab25f5fecd3200))
|
|
332
352
|
|
|
333
353
|
|
|
@@ -37,6 +37,7 @@ var IFUNNY_ERRORS;
|
|
|
37
37
|
IFUNNY_ERRORS["UNKNOWN_ERROR"] = "unknown_error";
|
|
38
38
|
IFUNNY_ERRORS["UNKNOWN_SOURCE"] = "unknown_source";
|
|
39
39
|
IFUNNY_ERRORS["VIDEO_IS_INVALID"] = "video_is_invalid";
|
|
40
|
+
IFUNNY_ERRORS["WRONG_PARAMS"] = "wrong_params";
|
|
40
41
|
IFUNNY_ERRORS["YOU_ARE_BLOCKED"] = "you_are_blocked";
|
|
41
42
|
})(IFUNNY_ERRORS = exports.IFUNNY_ERRORS || (exports.IFUNNY_ERRORS = {}));
|
|
42
43
|
//# sourceMappingURL=error_base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error_base.js","sourceRoot":"","sources":["../../src/errors/error_base.ts"],"names":[],"mappings":";;;AAyBA;;GAEG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"error_base.js","sourceRoot":"","sources":["../../src/errors/error_base.ts"],"names":[],"mappings":";;;AAyBA;;GAEG;AACH,IAAY,aAkCX;AAlCD,WAAY,aAAa;IACxB,4DAA2C,CAAA;IAC3C,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;IACrC,4CAA2B,CAAA;IAC3B,sDAAqC,CAAA;IACrC,4DAA2C,CAAA;IAC3C,8CAA6B,CAAA;IAC7B,4DAA2C,CAAA;IAC3C,gDAA+B,CAAA;IAC/B,8DAA6C,CAAA;IAC7C,oEAAmD,CAAA;IACnD,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,wCAAuB,CAAA;IACvB,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,8CAA6B,CAAA;IAC7B,wDAAuC,CAAA;IACvC,0EAAyD,CAAA;IACzD,0DAAyC,CAAA;IACzC,oDAAmC,CAAA;IACnC,sEAAqD,CAAA;IACrD,gEAA+C,CAAA;IAC/C,mDAAkC,CAAA;IAClC,0DAAyC,CAAA;IACzC,8DAA6C,CAAA;IAC7C,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;IACrC,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;AACpC,CAAC,EAlCW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAkCxB"}
|
package/dist/errors/index.js
CHANGED
|
@@ -25,4 +25,5 @@ __exportStar(require("./not_found"), exports);
|
|
|
25
25
|
__exportStar(require("./permission_denied"), exports);
|
|
26
26
|
__exportStar(require("./unauthorized"), exports);
|
|
27
27
|
__exportStar(require("./invalid_client"), exports);
|
|
28
|
+
__exportStar(require("./wrong_params"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/dist/errors/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC;AACnC,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,kDAAgC;AAChC,kDAAgC;AAChC,8CAA4B;AAC5B,sDAAoC;AACpC,iDAA+B;AAC/B,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,qDAAmC;AACnC,iDAA+B;AAC/B,+CAA6B;AAC7B,0CAAwB;AACxB,kDAAgC;AAChC,kDAAgC;AAChC,8CAA4B;AAC5B,sDAAoC;AACpC,iDAA+B;AAC/B,mDAAiC;AACjC,iDAA+B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WRONG_PARAMS_MESSAGE = void 0;
|
|
4
|
+
var WRONG_PARAMS_MESSAGE;
|
|
5
|
+
(function (WRONG_PARAMS_MESSAGE) {
|
|
6
|
+
WRONG_PARAMS_MESSAGE["SUBSCRIBE"] = "You can not subscribe to yourself, it can cause dizziness";
|
|
7
|
+
})(WRONG_PARAMS_MESSAGE = exports.WRONG_PARAMS_MESSAGE || (exports.WRONG_PARAMS_MESSAGE = {}));
|
|
8
|
+
//# sourceMappingURL=wrong_params.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrong_params.js","sourceRoot":"","sources":["../../src/errors/wrong_params.ts"],"names":[],"mappings":";;;AAQA,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,+FAAuE,CAAA;AACxE,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/payloads/content.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/payloads/content.ts"],"names":[],"mappings":";;;AA6KA,eAAe;AAEf;;GAEG;AACH,IAAY,iBAiBX;AAjBD,WAAY,iBAAiB;IAC5B;;OAEG;IACH,sCAAiB,CAAA;IACjB;;OAEG;IACH,gDAA2B,CAAA;IAC3B;;OAEG;IACH,sCAAiB,CAAA;IACjB;;OAEG;IACH,oCAAe,CAAA;AAChB,CAAC,EAjBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAiB5B;AAID;;GAEG;AACH,IAAY,UAaX;AAbD,WAAY,UAAU;IACrB;;OAEG;IACH,mCAAqB,CAAA;IACrB;;OAEG;IACH,oCAAsB,CAAA;IACtB;;OAEG;IACH,2BAAa,CAAA;AACd,CAAC,EAbW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAarB;AAOD;;GAEG;AACH,IAAY,WAyEX;AAzED,WAAY,WAAW;IACtB,WAAW;IACX;;;OAGG;IACH,wCAAyB,CAAA;IACzB;;;OAGG;IACH,8BAAe,CAAA;IACf;;;OAGG;IACH,4BAAa,CAAA;IACb;;;OAGG;IACH,4BAAa,CAAA;IACb,SAAS;IACT;;;OAGG;IACH,0BAAW,CAAA;IACX;;;OAGG;IACH,0CAA2B,CAAA;IAC3B,WAAW;IACX;;;OAGG;IACH,kCAAmB,CAAA;IACnB;;;OAGG;IACH,0BAAW,CAAA;IACX;;;OAGG;IACH,2BAAY,CAAA;IACZ;;;OAGG;IACH,gCAAiB,CAAA;IACjB,sBAAsB;IACtB;;;;OAIG;IACH,0BAAW,CAAA;IACX;;;;OAIG;IACH,0BAAW,CAAA;IACX;;;;OAIG;IACH,0BAAW,CAAA;AACZ,CAAC,EAzEW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAyEtB;AAOD,IAAY,YAiBX;AAjBD,WAAY,YAAY;IACvB;;OAEG;IACH,mCAAmB,CAAA;IACnB;;OAEG;IACH,mCAAmB,CAAA;IACnB;;OAEG;IACH,+BAAe,CAAA;IACf;;OAEG;IACH,uCAAuB,CAAA;AACxB,CAAC,EAjBW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAiBvB;AAOD;;;;GAIG;AACH,IAAY,QAgBX;AAhBD,WAAY,QAAQ;IACnB,iCAAqB,CAAA;IACrB,+BAAmB,CAAA;IACnB,+BAAmB,CAAA;IACnB,6BAAiB,CAAA;IACjB,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,mCAAuB,CAAA;IACvB,mCAAuB,CAAA;IACvB,4BAAgB,CAAA;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,sCAA0B,CAAA;IAC1B,2BAAe,CAAA;IACf,uBAAW,CAAA;AACZ,CAAC,EAhBW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAgBnB;AAiJD,6BAA6B;AAE7B,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,sCAAuB,CAAA;AACxB,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB"}
|
package/package.json
CHANGED
|
@@ -55,6 +55,7 @@ export declare enum IFUNNY_ERRORS {
|
|
|
55
55
|
UNKNOWN_ERROR = "unknown_error",
|
|
56
56
|
UNKNOWN_SOURCE = "unknown_source",
|
|
57
57
|
VIDEO_IS_INVALID = "video_is_invalid",
|
|
58
|
+
WRONG_PARAMS = "wrong_params",
|
|
58
59
|
YOU_ARE_BLOCKED = "you_are_blocked"
|
|
59
60
|
}
|
|
60
61
|
//# sourceMappingURL=error_base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error_base.d.ts","sourceRoot":"","sources":["../../src/errors/error_base.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,KAAK,EA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,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CACpC;AAED,eAAe,YAAY,CAAC;AAE5B;;GAEG;AACH,oBAAY,kBAAkB,GAAG,GAAG,aAAa,EAAE,CAAC;AAEpD;;GAEG;AACH,oBAAY,aAAa;IACxB,mBAAmB,wBAAwB;IAC3C,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;IAC3C,aAAa,kBAAkB;IAC/B,oBAAoB,yBAAyB;IAC7C,qBAAqB,8BAA8B;IACnD,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,qBAAqB,oCAAoC;IACzD,kBAAkB,uBAAuB;IACzC,eAAe,oBAAoB;IACnC,wBAAwB,6BAA6B;IACrD,qBAAqB,0BAA0B;IAC/C,SAAS,yBAAyB;IAClC,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAC7C,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;CACnC"}
|
package/types/errors/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import RESTAPIError, { IFUNNY_ERRORS } from "./error_base";
|
|
2
|
+
export default interface RESTAPIErrorWrongParams extends RESTAPIError {
|
|
3
|
+
error: IFUNNY_ERRORS.WRONG_PARAMS;
|
|
4
|
+
error_description: RESTAPIWrongParamsMessage;
|
|
5
|
+
status: 400;
|
|
6
|
+
}
|
|
7
|
+
export declare enum WRONG_PARAMS_MESSAGE {
|
|
8
|
+
SUBSCRIBE = "You can not subscribe to yourself, it can cause dizziness"
|
|
9
|
+
}
|
|
10
|
+
export declare type RESTAPIWrongParamsMessage = `${WRONG_PARAMS_MESSAGE}`;
|
|
11
|
+
//# sourceMappingURL=wrong_params.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrong_params.d.ts","sourceRoot":"","sources":["../../src/errors/wrong_params.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,EAAE,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,CAAC,OAAO,WAAW,uBAAwB,SAAQ,YAAY;IACpE,KAAK,EAAE,aAAa,CAAC,YAAY,CAAC;IAClC,iBAAiB,EAAE,yBAAyB,CAAC;IAC7C,MAAM,EAAE,GAAG,CAAC;CACZ;AAED,oBAAY,oBAAoB;IAC/B,SAAS,8DAA8D;CACvE;AAED,oBAAY,yBAAyB,GAAG,GAAG,oBAAoB,EAAE,CAAC"}
|
|
@@ -29,6 +29,10 @@ export interface APIContentBase {
|
|
|
29
29
|
* Content url of the Content
|
|
30
30
|
*/
|
|
31
31
|
url: string;
|
|
32
|
+
/**
|
|
33
|
+
* Seems to be the same as {@link url APIContentBase#url}
|
|
34
|
+
*/
|
|
35
|
+
share_url: string;
|
|
32
36
|
/**
|
|
33
37
|
* If the Content uses the old watermark or the new one
|
|
34
38
|
*/
|
|
@@ -94,7 +98,7 @@ export interface APIContentBase {
|
|
|
94
98
|
/**
|
|
95
99
|
* Background color of the Content.
|
|
96
100
|
*/
|
|
97
|
-
bg_color
|
|
101
|
+
bg_color?: HexCode;
|
|
98
102
|
/**
|
|
99
103
|
* The {@link APIContentThumbnail thumbnail} of the Content
|
|
100
104
|
*/
|
|
@@ -102,7 +106,7 @@ export interface APIContentBase {
|
|
|
102
106
|
/**
|
|
103
107
|
* The Content's {@link APIContentCopyright copyright} data
|
|
104
108
|
*/
|
|
105
|
-
copyright
|
|
109
|
+
copyright?: APIContentCopyright;
|
|
106
110
|
/**
|
|
107
111
|
* The {@link APIContentNums numbers} on the Content
|
|
108
112
|
*/
|
|
@@ -1 +1 @@
|
|
|
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,CAA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