Skip to content

Commit e682914

Browse files
committed
fix(structures): add missing datatemplate and repair jsdoc
1 parent 48cad4e commit e682914

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/structures/src/guild/GuildTemplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { Partialize } from '../utils/types.js';
88
* Represents a guild template on Discord.
99
*
1010
* @typeParam Omitted - Specify the properties that will not be stored in the raw data field as a union, implement via `DataTemplate`
11-
* @remarks has substructures User and Guild, which need to be instantiated and stored by any extending classes using it.
11+
* @remarks has substructures `User` and `Guild`, which need to be instantiated and stored by any extending classes using it.
1212
*/
1313
export class GuildTemplate<Omitted extends keyof APITemplate | '' = 'created_at' | 'updated_at'> extends Structure<
1414
APITemplate,

packages/structures/src/guild/IntegrationAccount.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export class IntegrationAccount<Omitted extends keyof APIIntegrationAccount | ''
1212
APIIntegrationAccount,
1313
Omitted
1414
> {
15+
/**
16+
* The template used for removing data from the raw data stored for each integration account.
17+
*/
18+
public static override readonly DataTemplate: Partial<APIIntegrationAccount> = {};
19+
1520
/**
1621
* @param data - The raw data from the API for the integration account.
1722
*/

0 commit comments

Comments
 (0)