chore: bump dependencies (#11051)

* chore: bump dependencies

* build: bump discord-api-types to 0.38.22

* fix: fix builders

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Almeida
2025-08-29 13:01:54 +01:00
committed by GitHub
parent cde757b7cb
commit cc43dadcae
41 changed files with 2494 additions and 2561 deletions

View File

@@ -5,7 +5,9 @@ import { Invite } from '../src/index.js';
import { kPatch } from '../src/utils/symbols.js';
describe('Invite', () => {
const dataNoCode: Omit<APIInvite, 'code'> = {
// TODO: Check if omitting `expires_at` is appropriate
const dataNoCode: Omit<APIInvite, 'code' | 'expires_at'> = {
type: InviteType.Guild,
channel: null,
approximate_member_count: 15,
@@ -13,12 +15,12 @@ describe('Invite', () => {
target_type: InviteTargetType.EmbeddedApplication,
};
const data: APIInvite = {
const data: Omit<APIInvite, 'expires_at'> = {
...dataNoCode,
code: '123',
};
const dataExtended: APIExtendedInvite = {
const dataExtended: Omit<APIExtendedInvite, 'expires_at'> = {
...data,
created_at: '2020-10-10T13:50:17.209Z',
max_age: 12,