mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-02-05 15:17:31 +01:00
43be16e4bc
- [nexus] Remove outdated protos - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Development - [nexus] Refactor views - [nexus] Update aiosumma - [nexus] Add tags - [nexus] Development - [nexus] Update repository - [nexus] Update repository - [nexus] Update dependencies - [nexus] Update dependencies - [nexus] Fixes for MetaAPI - [nexus] Support for new queries - [nexus] Adopt new versions of search - [nexus] Improving Nexus - [nexus] Various fixes - [nexus] Add profile - [nexus] Fixes for ingestion - [nexus] Refactorings and bugfixes - [idm] Add profile methods - [nexus] Fix stalled nexus-meta bugs - [nexus] Various bugfixes - [nexus] Restore IDM API functionality GitOrigin-RevId: a0842345a6dde5b321279ab5510a50c0def0e71a
40 lines
802 B
Protocol Buffer
40 lines
802 B
Protocol Buffer
syntax = "proto3";
|
|
package nexus.models.proto;
|
|
|
|
import "nexus/models/proto/typed_document.proto";
|
|
|
|
|
|
message CrossReferenceOperation {
|
|
string source = 1;
|
|
string target = 2;
|
|
uint32 last_retry_unixtime = 3;
|
|
uint32 retry_count = 4;
|
|
}
|
|
|
|
message DocumentOperation {
|
|
oneof operation {
|
|
Vote vote = 1;
|
|
StoreTelegramFileId store_telegram_file_id = 2;
|
|
UpdateDocument update_document = 3;
|
|
};
|
|
}
|
|
|
|
message Vote {
|
|
int64 document_id = 1;
|
|
int32 value = 2;
|
|
int64 voter_id = 3;
|
|
}
|
|
|
|
message UpdateDocument {
|
|
repeated string fields = 1;
|
|
bool should_fill_from_external_source = 2;
|
|
bool full_text_index_commit = 3;
|
|
bool full_text_index = 4;
|
|
TypedDocument typed_document = 5;
|
|
}
|
|
|
|
message StoreTelegramFileId {
|
|
string bot_name = 1;
|
|
string telegram_file_id = 2;
|
|
int64 document_id = 3;
|
|
} |