|
@@ -1,14 +1,8 @@
|
|
|
-/*
|
|
|
|
|
- 'name' => $filename,
|
|
|
|
|
- 'size' => $file->getSize(),
|
|
|
|
|
- 'type' => $file->getMimeType(),
|
|
|
|
|
- 'url' => $filename,
|
|
|
|
|
-*/
|
|
|
|
|
export interface IAttachmentRequest {
|
|
export interface IAttachmentRequest {
|
|
|
- uid: string;
|
|
|
|
|
- name?: string;
|
|
|
|
|
- size?: number;
|
|
|
|
|
- type: string;
|
|
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ name: string;
|
|
|
|
|
+ size: number;
|
|
|
|
|
+ content_type: string;
|
|
|
url: string;
|
|
url: string;
|
|
|
}
|
|
}
|
|
|
export interface IAttachmentResponse {
|
|
export interface IAttachmentResponse {
|