adjust serializer for foreign object and id
This commit is contained in:
1 parent
1bc2068e7b
commit
c266894f87
7 files changed
+39
-14
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { IApi } from '../api/models';
|
||||
|
||||
export interface IService {
|
||||
id: string;
|
||||
title: string;
|
||||
@@ -6,8 +8,10 @@ export interface IService {
|
||||
thumbnail?: string;
|
||||
icon?: string;
|
||||
price?: number;
|
||||
applied_count: number;
|
||||
introduction: string;
|
||||
applied_count?: number;
|
||||
introduction?: string;
|
||||
api_ids?: string[];
|
||||
apis?: IApi[];
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user