Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support to is_displayed_as_panel and is_displayed_as_table. #25

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/models/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub struct Browser {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
pub is_execute_query_by_default: Option<bool>,
pub is_collapsible_by_default: Option<bool>,
pub is_selected_by_default: Option<bool>,
Expand Down Expand Up @@ -91,6 +92,7 @@ pub struct BrowserField {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
pub display_type: Option<i32>,
pub callout: Option<String>,
pub is_order_by: Option<bool>,
Expand Down Expand Up @@ -134,6 +136,7 @@ impl Default for Browser {
name: None,
description: None,
help: None,
is_active: None,
is_execute_query_by_default: None,
is_collapsible_by_default: None,
is_selected_by_default: None,
Expand Down
2 changes: 2 additions & 0 deletions src/models/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub struct Form {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
// Index
pub index_value: Option<String>,
pub language: Option<String>,
Expand All @@ -54,6 +55,7 @@ impl Default for Form {
name: None,
description: None,
help: None,
is_active: None,
// Index
index_value: None,
language: None,
Expand Down
3 changes: 3 additions & 0 deletions src/models/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pub struct Process {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
pub show_help: Option<String>,
// Report
pub is_report: Option<bool>,
Expand Down Expand Up @@ -91,6 +92,7 @@ pub struct ProcessParameters {
pub column_name: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub is_active: Option<bool>,
pub help: Option<String>,
pub display_type: Option<i32>,
// Value Properties
Expand Down Expand Up @@ -125,6 +127,7 @@ impl Default for Process {
name: None,
description: None,
help: None,
is_active: None,
show_help: None,
// Report
is_report: None,
Expand Down
7 changes: 6 additions & 1 deletion src/models/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub struct Window {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
pub window_type: Option<String>,
pub is_sales_transaction: Option<bool>,
// Index
Expand All @@ -55,6 +56,7 @@ pub struct WindowTab {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
// Record attributes
pub is_insert_record: Option<bool>,
pub commit_warning: Option<String>,
Expand All @@ -80,7 +82,7 @@ pub struct WindowTab {
pub sort_order_column_name: Option<String>,
pub sort_yes_no_column_name: Option<String>,
// External info
pub context_columns: Option<Vec<String>>,
pub context_column_names: Option<Vec<String>>,
pub window_id: Option<i32>,
pub process_id: Option<i32>,
pub process: Option<Process>,
Expand Down Expand Up @@ -113,6 +115,7 @@ pub struct WindowField {
pub name: Option<String>,
pub description: Option<String>,
pub help: Option<String>,
pub is_active: Option<bool>,
//
pub display_type: Option<i32>,
pub is_allow_copy: Option<bool>,
Expand All @@ -122,6 +125,7 @@ pub struct WindowField {
pub column_name: Option<String>,
pub column_sql: Option<String>,
pub is_key: Option<bool>,
pub is_parent: Option<bool>,
pub is_translated: Option<bool>,
pub is_identifier: Option<bool>,
pub identifier_sequence: Option<i32>,
Expand Down Expand Up @@ -167,6 +171,7 @@ impl Default for Window {
name: None,
description: None,
help: None,
is_active: None,
client_id: None,
index_value: None,
language: None,
Expand Down