Skip to content

Commit

Permalink
feat: rename favorite to bookmark (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia authored Nov 23, 2023
1 parent 5cf70f7 commit 7e72cba
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export * from './file';
export * from './flag';
export * from './h5p';
export * from './invitation';
export * from './item-favorite';
export * from './item-bookmark';
export * from './item-like';
export * from './item-login';
export * from './item-memberships';
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import { DiscriminatedItem } from '../index';
import { UUID } from '@/types';

export type ItemFavorite = {
export type ItemBookmark = {
id: UUID;
item: DiscriminatedItem;
createdAt: string;
};

/**
* @deprecated use ItemBookmark
*/
export type ItemFavorite = ItemBookmark;

0 comments on commit 7e72cba

Please sign in to comment.