invoice + some table name thing
This commit is contained in:
@@ -36,7 +36,7 @@ pub struct RegisterTypstTemplateRequest {
|
||||
pub typst_compiler_version: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct RegisterTypstTemplateResponse {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub template_version: ::core::option::Option<TypstTemplateVersion>,
|
||||
@@ -174,7 +174,7 @@ pub struct GetTypstTemplateVersionRequest {
|
||||
pub document_id: i64,
|
||||
}
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct TypstTemplateVersion {
|
||||
#[prost(int64, tag = "1")]
|
||||
pub id: i64,
|
||||
@@ -196,9 +196,26 @@ pub struct TypstTemplateVersion {
|
||||
pub input_table_name: ::prost::alloc::string::String,
|
||||
#[prost(string, repeated, tag = "10")]
|
||||
pub field_paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
||||
#[prost(message, repeated, tag = "11")]
|
||||
pub field_bindings: ::prost::alloc::vec::Vec<TypstTemplateFieldBinding>,
|
||||
}
|
||||
/// One profile-specific source mapping for an enabled template version.
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct TypstTemplateFieldBinding {
|
||||
#[prost(string, tag = "1")]
|
||||
pub field_path: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "2")]
|
||||
pub collection_path: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "3")]
|
||||
pub column_name: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "4")]
|
||||
pub source_table_name: ::prost::alloc::string::String,
|
||||
#[prost(string, tag = "5")]
|
||||
pub source_column_name: ::prost::alloc::string::String,
|
||||
}
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct GetTypstTemplateVersionResponse {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub template_version: ::core::option::Option<TypstTemplateVersion>,
|
||||
|
||||
Reference in New Issue
Block a user