Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d10e90c

Browse files
committedDec 15, 2021
refactor: change filename
1 parent 62f9ea2 commit d10e90c

File tree

5 files changed

+4
-18
lines changed

5 files changed

+4
-18
lines changed
 

‎src/components/ActionRow.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { APIActionRowComponent, ButtonStyle, ComponentType } from 'discord-api-types';
22
import { InteractionButtonComponent, LinkButtonComponent, SelectMenuComponent } from '..';
3-
import { Component } from './BaseComponent';
3+
import { Component } from './Component';
44

55
export type ActionRowComponent = LinkButtonComponent | InteractionButtonComponent | SelectMenuComponent;
66

‎src/components/BaseComponent.ts

-15
This file was deleted.

‎src/components/button/BaseButton.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { APIButtonComponent, APIMessageComponentEmoji, ButtonStyle, ComponentType } from 'discord-api-types';
22
import { z } from 'zod';
33
import { disabledValidator, emojiValidator } from '../Assertions';
4-
import { Component } from '../BaseComponent';
4+
import { Component } from '../Component';
55

66
export type BuilderButtonBaseData<T> = Omit<APIButtonComponent, 'url' | 'customId'> & { style: T };
77

‎src/components/selectMenu/SelectMenu.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { APISelectMenuComponent, ComponentType } from 'discord-api-types';
22
import { customIdValidator, disabledValidator } from '../Assertions';
3-
import { Component } from '../BaseComponent';
3+
import { Component } from '../Component';
44
import { z } from 'zod';
55
import { SelectMenuOption } from './SelectMenuOption';
66

‎src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export * from './messages/formatters';
55
export * as ComponentAssertions from './components/Assertions';
66
export * from './components/ActionRow';
77
export * from './components/button/BaseButton';
8+
export * from './components/Component';
89
export * from './components/button/InteractionButton';
910
export * from './components/button/LinkButton';
1011
export * from './components/selectMenu/SelectMenu';

0 commit comments

Comments
 (0)
This repository has been archived.