refactor: 调整adminResource服务结构
This commit is contained in:
@@ -39,3 +39,12 @@ export class Resource {
|
||||
@UpdateDateColumn({ precision: 3 })
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
||||
export interface PublicResource {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
imageUrl: string;
|
||||
link: string;
|
||||
tags: ResourceTag[];
|
||||
}
|
||||
Reference in New Issue
Block a user