31 lines
695 B
Protocol Buffer
31 lines
695 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package qsfera.messages.thumbnails.v0;
|
|
|
|
option go_package = "github.com/qsfera/server/protogen/gen/qsfera/messages/thumbnails/v0";
|
|
|
|
message WebdavSource {
|
|
// REQUIRED.
|
|
string url = 1;
|
|
// REQUIRED.
|
|
bool is_public_link = 2;
|
|
// OPTIONAL.
|
|
string webdav_authorization = 3;
|
|
// OPTIONAL.
|
|
string reva_authorization = 4;
|
|
// OPTIONAL.
|
|
string public_link_token = 5;
|
|
}
|
|
|
|
message CS3Source {
|
|
string path = 1;
|
|
string authorization = 2;
|
|
}
|
|
|
|
// The file types to which the thumbnail can be encoded to.
|
|
enum ThumbnailType {
|
|
PNG = 0; // Represents PNG type
|
|
JPG = 1; // Represents JPG type
|
|
GIF = 2; // Represents GIF type
|
|
}
|