snapshoting system for the documents1
This commit is contained in:
28
common/proto/document_data.proto
Normal file
28
common/proto/document_data.proto
Normal file
@@ -0,0 +1,28 @@
|
||||
syntax = "proto3";
|
||||
package komp_ac.document_data;
|
||||
|
||||
service DocumentDataService {
|
||||
rpc SaveGeneratedPrintJson(SaveGeneratedPrintJsonRequest) returns (SaveGeneratedPrintJsonResponse);
|
||||
}
|
||||
|
||||
message SourceRecord {
|
||||
string profile_name = 1;
|
||||
string table_name = 2;
|
||||
int64 table_def_id = 3;
|
||||
int64 record_id = 4;
|
||||
}
|
||||
|
||||
message SaveGeneratedPrintJsonRequest {
|
||||
optional int64 schema_id = 1;
|
||||
repeated SourceRecord source_records = 2;
|
||||
optional string template_name = 3;
|
||||
optional string template_kind = 4;
|
||||
optional string template_path = 5;
|
||||
string data_json = 6;
|
||||
}
|
||||
|
||||
message SaveGeneratedPrintJsonResponse {
|
||||
int64 document_run_id = 1;
|
||||
int64 snapshot_id = 2;
|
||||
int32 version_number = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user