@esri/solution-workflow 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +53 -0
  3. package/dist/cjs/common/src/generalHelpers.d.ts +400 -0
  4. package/dist/cjs/common/src/generalHelpers.js +877 -0
  5. package/dist/cjs/common/src/generalHelpers.js.map +1 -0
  6. package/dist/cjs/common/src/getItemTypeAbbrev.d.ts +19 -0
  7. package/dist/cjs/common/src/getItemTypeAbbrev.js +186 -0
  8. package/dist/cjs/common/src/getItemTypeAbbrev.js.map +1 -0
  9. package/dist/cjs/common/src/interfaces.d.ts +1344 -0
  10. package/dist/cjs/common/src/interfaces.js +77 -0
  11. package/dist/cjs/common/src/interfaces.js.map +1 -0
  12. package/dist/cjs/common/src/libConnectors.d.ts +73 -0
  13. package/dist/cjs/common/src/libConnectors.js +115 -0
  14. package/dist/cjs/common/src/libConnectors.js.map +1 -0
  15. package/dist/cjs/common/test/mocks/templates.d.ts +71 -0
  16. package/dist/cjs/common/test/mocks/templates.js +1220 -0
  17. package/dist/cjs/common/test/mocks/templates.js.map +1 -0
  18. package/dist/cjs/common/test/mocks/utils.d.ts +605 -0
  19. package/dist/cjs/common/test/mocks/utils.js +1222 -0
  20. package/dist/cjs/common/test/mocks/utils.js.map +1 -0
  21. package/dist/cjs/workflow/src/index.d.ts +21 -0
  22. package/dist/cjs/workflow/src/index.js +25 -0
  23. package/dist/cjs/workflow/src/index.js.map +1 -0
  24. package/dist/cjs/workflow/src/workflow.d.ts +32 -0
  25. package/dist/cjs/workflow/src/workflow.js +51 -0
  26. package/dist/cjs/workflow/src/workflow.js.map +1 -0
  27. package/dist/esm/common/src/generalHelpers.d.ts +400 -0
  28. package/dist/esm/common/src/generalHelpers.js +829 -0
  29. package/dist/esm/common/src/generalHelpers.js.map +1 -0
  30. package/dist/esm/common/src/getItemTypeAbbrev.d.ts +19 -0
  31. package/dist/esm/common/src/getItemTypeAbbrev.js +182 -0
  32. package/dist/esm/common/src/getItemTypeAbbrev.js.map +1 -0
  33. package/dist/esm/common/src/interfaces.d.ts +1344 -0
  34. package/dist/esm/common/src/interfaces.js +72 -0
  35. package/dist/esm/common/src/interfaces.js.map +1 -0
  36. package/dist/esm/common/src/libConnectors.d.ts +73 -0
  37. package/dist/esm/common/src/libConnectors.js +105 -0
  38. package/dist/esm/common/src/libConnectors.js.map +1 -0
  39. package/dist/esm/common/test/mocks/templates.d.ts +71 -0
  40. package/dist/esm/common/test/mocks/templates.js +1195 -0
  41. package/dist/esm/common/test/mocks/templates.js.map +1 -0
  42. package/dist/esm/common/test/mocks/utils.d.ts +605 -0
  43. package/dist/esm/common/test/mocks/utils.js +1177 -0
  44. package/dist/esm/common/test/mocks/utils.js.map +1 -0
  45. package/dist/esm/workflow/src/index.d.ts +21 -0
  46. package/dist/esm/workflow/src/index.js +22 -0
  47. package/dist/esm/workflow/src/index.js.map +1 -0
  48. package/dist/esm/workflow/src/workflow.d.ts +32 -0
  49. package/dist/esm/workflow/src/workflow.js +45 -0
  50. package/dist/esm/workflow/src/workflow.js.map +1 -0
  51. package/package.json +70 -0
@@ -0,0 +1,72 @@
1
+ /** @license
2
+ * Copyright 2018 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ //#region Re-exports -------------------------------------------------------------------------------------------------//
17
+ export { UserSession } from "@esri/arcgis-rest-auth";
18
+ export { queryRelated } from "@esri/arcgis-rest-feature-layer";
19
+ //#endregion ---------------------------------------------------------------------------------------------------------//
20
+ export const SolutionTemplateFormatVersion = 1;
21
+ export const DeployedSolutionFormatVersion = 1;
22
+ export const UNREACHABLE = "unreachable";
23
+ //#region Enums ------------------------------------------------------------------------------------------------------//
24
+ /**
25
+ * Flags for storing an item's binary resources.
26
+ */
27
+ export var EFileType;
28
+ (function (EFileType) {
29
+ EFileType[EFileType["Data"] = 0] = "Data";
30
+ EFileType[EFileType["Info"] = 1] = "Info";
31
+ EFileType[EFileType["Metadata"] = 2] = "Metadata";
32
+ EFileType[EFileType["Resource"] = 3] = "Resource";
33
+ EFileType[EFileType["Thumbnail"] = 4] = "Thumbnail";
34
+ })(EFileType || (EFileType = {}));
35
+ /**
36
+ * Text versions of flags for storing an item's binary resources.
37
+ */
38
+ export var SFileType;
39
+ (function (SFileType) {
40
+ SFileType[SFileType["Data"] = 0] = "Data";
41
+ SFileType[SFileType["Info"] = 1] = "Info";
42
+ SFileType[SFileType["Metadata"] = 2] = "Metadata";
43
+ SFileType[SFileType["Resource"] = 3] = "Resource";
44
+ SFileType[SFileType["Thumbnail"] = 4] = "Thumbnail";
45
+ })(SFileType || (SFileType = {}));
46
+ /**
47
+ * Flags for reporting the status of creating or deploying an item.
48
+ */
49
+ export var EItemProgressStatus;
50
+ (function (EItemProgressStatus) {
51
+ EItemProgressStatus[EItemProgressStatus["Started"] = 0] = "Started";
52
+ EItemProgressStatus[EItemProgressStatus["Created"] = 1] = "Created";
53
+ EItemProgressStatus[EItemProgressStatus["Cancelled"] = 2] = "Cancelled";
54
+ EItemProgressStatus[EItemProgressStatus["Finished"] = 3] = "Finished";
55
+ EItemProgressStatus[EItemProgressStatus["Ignored"] = 4] = "Ignored";
56
+ EItemProgressStatus[EItemProgressStatus["Failed"] = 5] = "Failed";
57
+ EItemProgressStatus[EItemProgressStatus["Unknown"] = 6] = "Unknown";
58
+ })(EItemProgressStatus || (EItemProgressStatus = {}));
59
+ /**
60
+ * Text versions of flags for reporting the status of creating or deploying an item.
61
+ */
62
+ export const SItemProgressStatus = [
63
+ "1 Started",
64
+ "2 Created",
65
+ "3 Cancelled",
66
+ "3 Finished",
67
+ "3 Ignored",
68
+ "3 Failed",
69
+ "Unknown"
70
+ ];
71
+ //#endregion ---------------------------------------------------------------------------------------------------------//
72
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../common/src/interfaces.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAeH,wHAAwH;AAExH,OAAO,EAGL,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAKL,YAAY,EACb,MAAM,iCAAiC,CAAC;AAsBzC,wHAAwH;AAExH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC;AAEzC,wHAAwH;AAExH;;GAEG;AACH,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,yCAAI,CAAA;IACJ,iDAAQ,CAAA;IACR,iDAAQ,CAAA;IACR,mDAAS,CAAA;AACX,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,yCAAM,CAAA;IACN,yCAAM,CAAA;IACN,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,mDAAW,CAAA;AACb,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,mEAAO,CAAA;IACP,mEAAO,CAAA;IACP,uEAAS,CAAA;IACT,qEAAQ,CAAA;IACR,mEAAO,CAAA;IACP,iEAAM,CAAA;IACN,mEAAO,CAAA;AACT,CAAC,EARW,mBAAmB,KAAnB,mBAAmB,QAQ9B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,WAAW;IACX,WAAW;IACX,aAAa;IACb,YAAY;IACZ,WAAW;IACX,UAAU;IACV,SAAS;CACV,CAAC;AAogDF,wHAAwH"}
@@ -0,0 +1,73 @@
1
+ /** @license
2
+ * Copyright 2020 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * Provides connectors to third-party helper functions.
18
+ */
19
+ import { Sanitizer } from "@esri/arcgis-html-sanitizer";
20
+ export { Sanitizer } from "@esri/arcgis-html-sanitizer";
21
+ /**
22
+ * Creates a zip File from a collection of Files.
23
+ *
24
+ * @param zipFilename Name to use for zip File
25
+ * @param files List of files to add to zip File
26
+ * @param folder Folder to contain the files
27
+ * @returns Promise resolving to a zip File
28
+ */
29
+ export declare function createZip(zipFilename: string, files: File[], folder?: string): Promise<File>;
30
+ /**
31
+ * Result of checking if a string contains invalid HTML.
32
+ */
33
+ export interface IValidationResult {
34
+ isValid: boolean;
35
+ sanitized: string;
36
+ }
37
+ /**
38
+ * Sanitizes html.
39
+ *
40
+ * @param HTML Text to sanitize
41
+ * @param sanitizer Instance of Sanitizer class
42
+ * @returns Sanitized version of `html`
43
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
44
+ */
45
+ export declare function sanitizeHTML(html: string, sanitizer?: Sanitizer): string;
46
+ /**
47
+ * Sanitizes JSON.
48
+ *
49
+ * @param json JSON to sanitize
50
+ * @param sanitizer Instance of Sanitizer class
51
+ * @returns Sanitized version of `json`
52
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
53
+ */
54
+ export declare function sanitizeJSON(json: any, sanitizer?: Sanitizer): any;
55
+ /**
56
+ * Sanitizes the protocol in a URL.
57
+ *
58
+ * @param url URL to sanitize
59
+ * @param sanitizer Instance of Sanitizer class
60
+ * @returns Sanitized version of `url`
61
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-urls
62
+ */
63
+ export declare function sanitizeURLProtocol(url: string, sanitizer?: Sanitizer): string;
64
+ /**
65
+ * Checks if a string contains invalid HTML.
66
+ *
67
+ * @param html HTML to check
68
+ * @param sanitizer Instance of Sanitizer class
69
+ * @returns An object containing a flag indicating if `html` is valid (i.e., contains no invalid HTML)
70
+ * as well as the sanitized version of `html`
71
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
72
+ */
73
+ export declare function validateHTML(html: string, sanitizer?: Sanitizer): IValidationResult;
@@ -0,0 +1,105 @@
1
+ /** @license
2
+ * Copyright 2020 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * Provides connectors to third-party helper functions.
18
+ */
19
+ import JSZip from "jszip";
20
+ import { blobToFile } from "./generalHelpers";
21
+ import { Sanitizer } from "@esri/arcgis-html-sanitizer";
22
+ export { Sanitizer } from "@esri/arcgis-html-sanitizer";
23
+ //#region JSZip ----------------------------------------------------------------------------------------------------- //
24
+ /**
25
+ * Creates a zip File from a collection of Files.
26
+ *
27
+ * @param zipFilename Name to use for zip File
28
+ * @param files List of files to add to zip File
29
+ * @param folder Folder to contain the files
30
+ * @returns Promise resolving to a zip File
31
+ */
32
+ export function createZip(zipFilename, files, folder) {
33
+ return new Promise((resolve, reject) => {
34
+ const zip = new JSZip();
35
+ let container = zip;
36
+ if (folder) {
37
+ container = zip.folder(folder);
38
+ }
39
+ // Add the files
40
+ files.forEach(file => container.file(file.name, file, { binary: true }));
41
+ // Create the ZIP
42
+ zip
43
+ .generateAsync({ type: "blob" })
44
+ .then((content) => resolve(blobToFile(content, zipFilename, "application/zip")), reject);
45
+ });
46
+ }
47
+ /**
48
+ * Sanitizes html.
49
+ *
50
+ * @param HTML Text to sanitize
51
+ * @param sanitizer Instance of Sanitizer class
52
+ * @returns Sanitized version of `html`
53
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
54
+ */
55
+ export function sanitizeHTML(html, sanitizer) {
56
+ if (!sanitizer) {
57
+ sanitizer = new Sanitizer();
58
+ }
59
+ return sanitizer.sanitize(html);
60
+ }
61
+ /**
62
+ * Sanitizes JSON.
63
+ *
64
+ * @param json JSON to sanitize
65
+ * @param sanitizer Instance of Sanitizer class
66
+ * @returns Sanitized version of `json`
67
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-json
68
+ */
69
+ export function sanitizeJSON(json, sanitizer) {
70
+ if (!sanitizer) {
71
+ sanitizer = new Sanitizer();
72
+ }
73
+ return sanitizer.sanitize(json);
74
+ }
75
+ /**
76
+ * Sanitizes the protocol in a URL.
77
+ *
78
+ * @param url URL to sanitize
79
+ * @param sanitizer Instance of Sanitizer class
80
+ * @returns Sanitized version of `url`
81
+ * @see https://github.com/esri/arcgis-html-sanitizer#sanitize-urls
82
+ */
83
+ export function sanitizeURLProtocol(url, sanitizer) {
84
+ if (!sanitizer) {
85
+ sanitizer = new Sanitizer();
86
+ }
87
+ return sanitizer.sanitizeUrl(url);
88
+ }
89
+ /**
90
+ * Checks if a string contains invalid HTML.
91
+ *
92
+ * @param html HTML to check
93
+ * @param sanitizer Instance of Sanitizer class
94
+ * @returns An object containing a flag indicating if `html` is valid (i.e., contains no invalid HTML)
95
+ * as well as the sanitized version of `html`
96
+ * @see https://github.com/esri/arcgis-html-sanitizer#basic-usage
97
+ */
98
+ export function validateHTML(html, sanitizer) {
99
+ if (!sanitizer) {
100
+ sanitizer = new Sanitizer();
101
+ }
102
+ return sanitizer.validate(html);
103
+ }
104
+ //#endregion ---------------------------------------------------------------------------------------------------------//
105
+ //# sourceMappingURL=libConnectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libConnectors.js","sourceRoot":"","sources":["../../../../../common/src/libConnectors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH;;GAEG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,wHAAwH;AAExH;;;;;;;GAOG;AACH,MAAM,UAAU,SAAS,CACvB,WAAmB,EACnB,KAAa,EACb,MAAe;IAEf,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3C,MAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;QACxB,IAAI,SAAS,GAAG,GAAG,CAAC;QACpB,IAAI,MAAM,EAAE;YACV,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;SAChC;QAED,gBAAgB;QAChB,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAEzE,iBAAiB;QACjB,GAAG;aACA,aAAa,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;aAC/B,IAAI,CACH,CAAC,OAAa,EAAE,EAAE,CAChB,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,EAC9D,MAAM,CACP,CAAC;IACN,CAAC,CAAC,CAAC;AACL,CAAC;AAoBD;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,SAAqB;IAC9D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAS,EAAE,SAAqB;IAC3D,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,mBAAmB,CACjC,GAAW,EACX,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;AACpC,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAC1B,IAAY,EACZ,SAAqB;IAErB,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;KAC7B;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC;AAED,wHAAwH"}
@@ -0,0 +1,71 @@
1
+ /** @license
2
+ * Copyright 2018 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import * as interfaces from "../../src/interfaces";
17
+ export declare function getEmptyGeneralizedItem(): interfaces.IItemGeneralized;
18
+ export declare function getEmptyItem(): interfaces.IItem;
19
+ export declare function getFailedDeployment(failedItemIds?: string[]): any;
20
+ export declare function getFailedItem(itemType: string): interfaces.ICreateItemFromTemplateResponse;
21
+ export declare function getSolutionTemplateItem(templates?: interfaces.IItemTemplate[]): interfaces.ISolutionItem;
22
+ export declare function getItemTemplateSkeleton(): interfaces.IItemTemplate;
23
+ export declare function getDeployedItemTemplate(itemId: string, type: string, dependencies?: string[]): any;
24
+ export declare function getItemTemplate(type: string, dependencies?: string[], url?: string): interfaces.IItemTemplate;
25
+ export declare function getDashboardTemplatePartNoWidgets(): any;
26
+ export declare function getTemplatePartNoData(type: string): any;
27
+ export declare function getTemplatePartNoExtent(type: string): any;
28
+ export declare function getFeatureServiceTemplatePartNoRelationships(): any;
29
+ export declare function getGroupTemplatePart(dependencies?: string[]): any;
30
+ export declare function getWebMappingApplicationTemplate(): interfaces.IItemTemplate[];
31
+ export declare function getWebMappingApplicationTemplateGroup(): interfaces.IItemTemplate[];
32
+ export declare function getWebMappingApplicationTemplateNoWebmapOrGroup(): interfaces.IItemTemplate[];
33
+ export declare function getItemTemplateData(type: string): any;
34
+ export declare function getItemTemplateResources(type: string, itemId: string): string[];
35
+ export declare function getItemTemplateResourcesAsSourceFiles(type: string, itemId: string): interfaces.ISourceFile[];
36
+ export declare function getItemTemplateResourcesAsTemplatizedFiles(type: string): interfaces.IAssociatedFileInfo[];
37
+ export declare function removeEditFieldsInfoField(layerOrTable: any): any;
38
+ export declare const sampleInfoRootJson: {
39
+ resourceInfo: string[];
40
+ };
41
+ export declare const sampleStylesRootJson: {
42
+ version: number;
43
+ sprite: string;
44
+ glyphs: string;
45
+ sources: {
46
+ esri: {
47
+ type: string;
48
+ url: string;
49
+ tiles: string[];
50
+ };
51
+ };
52
+ layers: any[];
53
+ metadata: {};
54
+ };
55
+ export declare const sampleInfoRootTemplatizedJson: {
56
+ resourceInfo: string[];
57
+ };
58
+ export declare const sampleStylesRootTemplatizedJson: {
59
+ version: number;
60
+ sprite: string;
61
+ glyphs: string;
62
+ sources: {
63
+ esri: {
64
+ type: string;
65
+ url: string;
66
+ tiles: string[];
67
+ };
68
+ };
69
+ layers: any[];
70
+ metadata: {};
71
+ };