调整资源组件
This commit is contained in:
14
tone-page-web/lib/types/resource.ts
Normal file
14
tone-page-web/lib/types/resource.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export type TagType = {
|
||||
id: string;
|
||||
name: string;
|
||||
color: string;
|
||||
}
|
||||
|
||||
export interface Resource {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
imageUrl: string;
|
||||
link: string;
|
||||
tags: TagType[];
|
||||
}
|
||||
Reference in New Issue
Block a user