@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
73 lines (72 loc) • 2 kB
TypeScript
import type { ApplicationModelProperties } from "../common/ApplicationModelProperties.js";
/**
* The application build settings for a specific platform.
*/
export interface VertigisMobileBuildProperties {
/**
* The name of the app.
*/
appName?: string;
/**
* The icon to use for the app.
*/
appIcon?: string;
/**
* The app's identity.
*/
identity?: string;
/**
* The app's version.
*/
version?: string;
}
interface BuildSettingsProperties {
/**
* Build settings for the Android platform.
*/
androidBuildSettings?: VertigisMobileBuildProperties;
/**
* Build settings for the iOS platform.
*/
iosBuildSettings?: VertigisMobileBuildProperties;
/**
* Build settings for the Windows platform.
*/
windowsBuildSettings?: VertigisMobileBuildProperties;
}
/**
* Global configuration for the Vertigis Mobile application.
*/
export interface VertigisMobileModelProperties extends ApplicationModelProperties {
/**
* The ArcGIS runtime license key.
*/
arcgisRuntimeLicenseKey?: string;
/**
* The application build settings for the different platforms.
*/
buildSettings?: BuildSettingsProperties;
/**
* A privacy policy URL.
*/
privacyPolicyUrl?: string;
/**
* An optional URL specifying the endpoint of a Portal app item containing
* the latest version of the app configuration. Upon launching the VertiGIS
* Studio Mobile Viewer, the referenced remote app configuration will be
* downloaded and loaded if it is more recent than the embedded or cached
* app configuration.
*/
remoteConfigUrl?: string;
/**
* The version of VertiGIS Studio Mobile that was used to create this app
* configuration.
*/
version?: string;
/**
* Indicates whether Disconnected Mode should be the initial state for the
* app.
*/
disconnectedMode?: boolean;
}
export {};