Skip to content

Commit

Permalink
chore(AssetCard): align possible entity status (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spring3 committed Jan 29, 2021
1 parent 3da03b7 commit 94ad576
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ import AssetCardSkeleton from './AssetCardSkeleton';
import CardDragHandle, { CardDragHandlePropTypes } from '../CardDragHandle';
import styles from './AssetCard.css';

export type AssetState = 'archived' | 'changed' | 'draft' | 'published';
export type AssetState =
| 'deleted'
| 'archived'
| 'changed'
| 'draft'
| 'published';

export interface AssetCardProps extends BaseCardProps {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ import CardDragHandle, { CardDragHandlePropTypes } from '../CardDragHandle';
import Icon, { IconType } from '../../Icon';
import styles from './EntryCard.css';

export type EntryCardStatus = 'archived' | 'changed' | 'draft' | 'published';
export type EntryCardStatus =
| 'deleted'
| 'archived'
| 'changed'
| 'draft'
| 'published';

export type EntryCardSize = 'default' | 'small' | 'auto';

Expand Down

0 comments on commit 94ad576

Please sign in to comment.