Created
June 5, 2016 21:36
-
-
Save ca0v/dbf97c31307b648242ee7677cddd59cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module namespace { | |
export interface Layout { | |
id: string; | |
} | |
export interface Panel { | |
position: string; | |
size: string; | |
} | |
export interface LayoutOptions { | |
description: boolean; | |
legend: string; | |
panel: Panel; | |
reverse: boolean; | |
panelMapOverlap: boolean; | |
} | |
export interface Settings { | |
layout: Layout; | |
layoutOptions: LayoutOptions; | |
} | |
export interface SpatialReference { | |
wkid: number; | |
} | |
export interface Extent { | |
xmin: number; | |
ymin: number; | |
xmax: number; | |
ymax: number; | |
spatialReference: SpatialReference; | |
} | |
export interface Layer { | |
id: string; | |
visibility: boolean; | |
} | |
export interface Legend { | |
enable: boolean; | |
openByDefault: boolean; | |
} | |
export interface Webmap { | |
id: string; | |
extent: Extent; | |
layers: Layer[]; | |
popup?: any; | |
legend: Legend; | |
} | |
export interface Media { | |
type: string; | |
webmap: Webmap; | |
} | |
export interface Entry { | |
title: string; | |
creaDate: any; | |
status: string; | |
media: Media; | |
description: string; | |
} | |
export interface Story { | |
storage: string; | |
entries: Entry[]; | |
} | |
export interface Template { | |
name: string; | |
createdWith: string; | |
editedWith: string; | |
} | |
export interface Values { | |
settings: Settings; | |
title: string; | |
story: Story; | |
template: Template; | |
} | |
export interface StoryMaps { | |
values: Values; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment