aviary-ps/format.proto

28 lines
374 B
Protocol Buffer

syntax = "proto3";
package AviaryFormat;
enum Format {
WEBP = 0;
AVIF = 1;
JPG = 2;
PNG = 3;
GIF = 4;
}
message Image {
bytes key = 1;
string full_url = 2;
string thumb_url = 3;
string blurhash = 4;
Format format = 5;
uint32 width = 6;
uint32 height = 7;
}
message Index {
repeated Image images = 1;
optional string title = 2;
optional string desc = 3;
}