Phase 1 complete
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export interface ImportResult {
|
||||
content: string;
|
||||
metadata: {
|
||||
sourceName: string;
|
||||
mimeType: string;
|
||||
fileSize?: number;
|
||||
[key: string]: any;
|
||||
};
|
||||
}
|
||||
|
||||
export interface IImportAdapter {
|
||||
canHandle(file: Express.Multer.File): boolean;
|
||||
parse(file: Express.Multer.File): Promise<ImportResult>;
|
||||
}
|
||||
Reference in New Issue
Block a user