Skip to content

Commit c6eb6c0

Browse files
committed
feat: Add TaskActionModalType and TaskActionModalStateType interfaces
1 parent 2994ec0 commit c6eb6c0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Shared/Components/Plugin/types.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,14 @@ export interface PluginTagsContainerProps {
250250
export interface PluginImageContainerProps extends Pick<ImageWithFallbackProps, 'imageProps'> {
251251
fallbackImageClassName?: string
252252
}
253+
254+
export enum TaskActionModalType {
255+
DELETE = 'DELETE',
256+
MOVE_PLUGIN = 'MOVE_PLUGIN',
257+
}
258+
259+
export interface TaskActionModalStateType {
260+
type: TaskActionModalType
261+
pluginId: PluginDetailType['id']
262+
taskIndex: number
263+
}

0 commit comments

Comments
 (0)