Revize 4b03d2a7
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Models/Documents/DocumentAddInfo.cs | ||
---|---|---|
9 | 9 |
|
10 | 10 |
# nullable disable |
11 | 11 |
/** |
12 |
* If the file is plaintext, we except it to be a single document |
|
12 |
* If the file is plaintext, we except it to be a single document base64 encoded
|
|
13 | 13 |
* If the file is base64, we expect it to be a ZIP file with plaintext documents in its root |
14 | 14 |
*/ |
15 | 15 |
public class DocumentAddInfo |
16 | 16 |
{ |
17 | 17 |
public string Name { get; set; } |
18 |
|
|
19 |
/// <summary> |
|
20 |
/// The backend relies on this being correct |
|
21 |
/// </summary> |
|
18 | 22 |
public EAddDocumentFormat Format { get; set; } = EAddDocumentFormat.TEXTFILE; |
23 |
|
|
19 | 24 |
public string Content { get; set; } |
20 | 25 |
} |
Také k dispozici: Unified diff
More comments in backend