Commit 3109798
feat(GuildAuditLogsEntry): expose extra integrationType in relevant log types (#9796)
* feat(GuildAuditLogsEntry): expose ingrationType
* fix: not optional, if extra is present on these types
not necessary, as it is conditionally assigned
* fix: remove non-extra approach
* fix(types): string is not guaranteed to be the known enum
* fix: adapt type tests to new extra properties
* fix: include null in type, since extra is not always populated
---------
Co-authored-by: Jiralite <[email protected]>1 parent ed14135 commit 3109798
File tree
3 files changed
+18
-1
lines changed- packages/discord.js
- src/structures
- typings
3 files changed
+18
-1
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
245 | 255 | | |
246 | 256 | | |
247 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5414 | 5414 | | |
5415 | 5415 | | |
5416 | 5416 | | |
| 5417 | + | |
| 5418 | + | |
5417 | 5419 | | |
5418 | 5420 | | |
5419 | 5421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2074 | 2074 | | |
2075 | 2075 | | |
2076 | 2076 | | |
2077 | | - | |
| 2077 | + | |
2078 | 2078 | | |
2079 | 2079 | | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
2080 | 2085 | | |
2081 | 2086 | | |
2082 | 2087 | | |
| |||
0 commit comments