mirror of
https://github.com/sajari/docconv.git
synced 2026-10-17 05:30:56 +08:00
93312f47fc
- Some methods have been changed to return an error as their last argument - Log calls inside various functions have been removed - Use a v1 tag if you need the previous signature
30 lines
648 B
Protocol Buffer
Executable File
30 lines
648 B
Protocol Buffer
Executable File
syntax = "proto2";
|
|
|
|
option go_package = "code.sajari.com/docconv/v2/tsp";
|
|
|
|
import "TSPMessages.proto";
|
|
package TSP;
|
|
|
|
message DatabaseData {
|
|
required .TSP.DataReference data = 1;
|
|
}
|
|
|
|
message DatabaseDataArchive {
|
|
optional .TSP.Reference data = 1;
|
|
optional string app_relative_path = 2;
|
|
required string display_name = 3;
|
|
optional uint64 length = 4;
|
|
optional uint32 hash = 5;
|
|
required bool sharable = 6 [default = true];
|
|
}
|
|
|
|
message DatabaseImageDataArchive {
|
|
enum ImageType {
|
|
unknown = 0;
|
|
bitmap = 1;
|
|
pdf = 2;
|
|
}
|
|
required .TSP.DatabaseDataArchive super = 1;
|
|
required .TSP.DatabaseImageDataArchive.ImageType type = 2;
|
|
}
|