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: Adding Embedding Apps Functionality #18566

Merged
merged 7 commits into from
Dec 5, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,16 @@ public class Application extends BaseDomain {
*/
Integer applicationVersion;

/*
Changing name, change in pages, widgets and datasources will set lastEditedAt.
Other activities e.g. changing policy will not change this property.
We're adding JsonIgnore here because it'll be exposed as modifiedAt to keep it backward compatible
/**
* Changing name, change in pages, widgets and datasources will set lastEditedAt.
* Other activities e.g. changing policy will not change this property.
* We're adding JsonIgnore here because it'll be exposed as modifiedAt to keep it backward compatible
*/
@JsonIgnore
Instant lastEditedAt;

EmbedSetting embedSetting;

/**
* 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,
Expand Down Expand Up @@ -238,4 +240,16 @@ public enum Type {
FLUID,
}
}

/**
* 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;
}
}
Loading