mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
bf45e97641
* Update types * fix circular dep * type imports * lint type imports and --fix
13 lines
285 B
TypeScript
13 lines
285 B
TypeScript
import type { Star } from "@server/models";
|
|
|
|
export default function presentStar(star: Star) {
|
|
return {
|
|
id: star.id,
|
|
documentId: star.documentId,
|
|
collectionId: star.collectionId,
|
|
index: star.index,
|
|
createdAt: star.createdAt,
|
|
updatedAt: star.updatedAt,
|
|
};
|
|
}
|