Skip to content

Commit

Permalink
Merge pull request #62 from EdwinBetanc0urt/feature/overwrite-display…
Browse files Browse the repository at this point in the history
…-type-on-reference-button-fields

feat: Overwrite display type on reference to `Button` fields.
  • Loading branch information
yamelsenih authored Oct 17, 2024
2 parents cc2f3db + 02e8fab commit d81c713
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/models/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ pub struct Browser {

#[derive(Deserialize, Serialize, Extractible, Debug, Clone)]
pub struct Reference {
pub table_name: Option<String>,
pub reference_id: Option<i32>,
pub reference_value_id: Option<i32>,
pub context_column_names: Option<Vec<String>>
}

Expand Down
3 changes: 3 additions & 0 deletions src/models/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ pub struct Process {

#[derive(Deserialize, Serialize, Extractible, Debug, Clone)]
pub struct Reference {
pub table_name: Option<String>,
pub reference_id: Option<i32>,
pub reference_value_id: Option<i32>,
pub context_column_names: Option<Vec<String>>
}

Expand Down
3 changes: 3 additions & 0 deletions src/models/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ pub struct DependendField {

#[derive(Deserialize, Serialize, Extractible, Debug, Clone)]
pub struct Reference {
pub table_name: Option<String>,
pub reference_id: Option<i32>,
pub reference_value_id: Option<i32>,
pub context_column_names: Option<Vec<String>>
}

Expand Down

0 comments on commit d81c713

Please sign in to comment.