File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export enum AchievementId {
1313 BotKiller = 'BOT_KILLER' ,
1414}
1515
16- export interface APIAchievement < IDType > {
16+ export interface APIAchievement < IDType = string > {
1717 _id : IDType ;
1818 userId : string ;
1919 achievement : AchievementId ;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export interface CountingChannelNotifications {
104104 milestones : boolean ;
105105}
106106
107- export interface APICountingChannel < IDType > {
107+ export interface APICountingChannel < IDType = string > {
108108 _id : IDType ;
109109 /**
110110 * If the channel is enabled.
Original file line number Diff line number Diff line change 11import type { Modifiers } from '../utils/BaseModifier.js' ;
22
3- export interface APICountingChannelModifiers < IDType > {
3+ export interface APICountingChannelModifiers < IDType = string > {
44 /**
55 * The ObjectID of the channel modifiers
66 */
Original file line number Diff line number Diff line change 11import type { LanguageCode } from '../utils/index.js' ;
22
3- export interface APICountingGuild < IDType > {
3+ export interface APICountingGuild < IDType = string > {
44 /**
55 * The ObjectID of the guild
66 */
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- export interface APICountingSummary < IDType > {
1+ export interface APICountingSummary < IDType = string > {
22 _id : IDType ;
33 /**
44 * If the summary is the current one
Original file line number Diff line number Diff line change 11import { ItemString } from '../utils/items.js' ;
22
3- export interface APICountingUser < IDType > {
3+ export interface APICountingUser < IDType = string > {
44 /**
55 * The ObjectID of the user
66 */
Original file line number Diff line number Diff line change 11import type { Modifiers } from '../utils/BaseModifier.js' ;
22
3- export interface APICountingUserModifiers < IDType > {
3+ export interface APICountingUserModifiers < IDType = string > {
44 /**
55 * The ObjectID of the user modifiers
66 */
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ export * from './Achievement.js';
22export * from './Channel.js' ;
33export * from './ChannelModifiers.js' ;
44export * from './Guild.js' ;
5- export * from './Status.js' ;
65export * from './Summary.js' ;
76export * from './User.js' ;
87export * from './UserModifiers.js' ;
You can’t perform that action at this time.
0 commit comments