diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java index 8b301d6333..8f1c822863 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java @@ -47,6 +47,7 @@ public class Application extends BaseDomain { TODO: remove default values from application. */ @JsonProperty(access = JsonProperty.Access.READ_ONLY) + @Deprecated(forRemoval = true) Boolean isPublic = false; List pages; @@ -109,6 +110,11 @@ public class Application extends BaseDomain { EmbedSetting embedSetting; + NavigationSetting unpublishedNavigationSetting; + + NavigationSetting publishedNavigationSetting; + + /** * Earlier this was returning value of the updatedAt property in the base domain. * As this property is modified by the framework when there is any change in domain, @@ -251,11 +257,28 @@ public class Application extends BaseDomain { * EmbedSetting is used for embedding Appsmith apps on other platforms */ @Data - @NoArgsConstructor - @AllArgsConstructor public static class EmbedSetting { private String height; private String width; private Boolean showNavigationBar; } + + + /** + * NavigationSetting stores the navigation configuration for the app + */ + @Data + public static class NavigationSetting { + private Boolean showNavbar; + private String orientation; + private String navStyle; + private String position; + private String itemStyle; + private String colorStyle; + private String logoAssetId; + private String logoConfiguration; + private Boolean showSignIn; + private Boolean showShareApp; + } + }