Skip to content

Commit

Permalink
Merge pull request #102 from TogetherCrew/fix-interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Aug 11, 2023
2 parents 27def6e + 075f668 commit 9638113
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@togethercrew.dev/db",
"version": "2.4.95",
"version": "2.4.96",
"description": "All interactions with DB",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
20 changes: 8 additions & 12 deletions src/interfaces/Guild.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ export interface IGuild {
guildId: Snowflake;
user: Snowflake;
name: string;
selectedChannels?: [
{
channelId: Snowflake;
channelName?: string;
},
];
selectedChannels?: Array<{
channelId: Snowflake;
channelName?: string;
}>;
period?: Date;
connectedAt: Date;
isDisconnected: boolean;
Expand All @@ -21,12 +19,10 @@ export interface IGuild {
}

export interface IGuildUpdateBody {
selectedChannels?: [
{
channelId: Snowflake;
channelName?: string;
},
];
selectedChannels?: Array<{
channelId: Snowflake;
channelName?: string;
}>;
period?: Date;
isDisconnected?: boolean;
isInProgress?: boolean;
Expand Down

0 comments on commit 9638113

Please sign in to comment.