1 | export type ParseResponse = {
|
2 | title: string;
|
3 | content: string;
|
4 | thumbnail: string;
|
5 | provider: string;
|
6 | favicon: string;
|
7 | }
|
8 |
|
9 | export interface Cooparser {
|
10 | parse: (url: string) => Promise<ParseResponse>;
|
11 | parseList: (urlList: string[]) => Promise<ParseResponse[]>;
|
12 | } |
\ | No newline at end of file |