@esri/solution-feature-layer 4.1.2 → 5.0.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.
@@ -1,228 +1,228 @@
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
- /**
17
- * Manages the creation and deployment of feature layers and services.
18
- *
19
- * @module feature-layer
20
- */
21
- //#region Imports ----------------------------------------------------------------------------------------------//
22
- import * as common from "@esri/solution-common";
23
- //#endregion
24
- //#region Publish Process --------------------------------------------------------------------------------------//
25
- /**
26
- * Fills in missing data, including full layer and table definitions, in a feature services' definition.
27
- *
28
- * @param solutionItemId
29
- * @param itemInfo Feature service item
30
- * @param destAuthentication Credentials for requests to the destination organization
31
- * @param srcAuthentication Credentials for requests to source items
32
- * @param templateDictionary Hash mapping property names to replacement values
33
- * @returns A promise that will resolve when fullItem has been updated
34
- */
35
- export function convertItemToTemplate(solutionItemId, itemInfo, destAuthentication, srcAuthentication, templateDictionary) {
36
- return new Promise((resolve, reject) => {
37
- // Init template
38
- const template = common.createInitializedItemTemplate(itemInfo);
39
- const hasInvalidDesignations = common.hasInvalidGroupDesignations(itemInfo.groupDesignations);
40
- if (hasInvalidDesignations) {
41
- common
42
- .updateTemplateForInvalidDesignations(template, srcAuthentication)
43
- .then(_template => resolve(_template), e => reject(common.fail(e)));
44
- }
45
- else {
46
- // Update the estimated cost factor to deploy this item
47
- template.estimatedDeploymentCostFactor = 10;
48
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
49
- common.getItemDataAsJson(template.item.id, srcAuthentication).then(data => {
50
- template.data = data;
51
- common.getServiceLayersAndTables(template, srcAuthentication).then(itemTemplate => {
52
- // Update item's modified date to the latest of its modified date and the last edit date
53
- // of each of its layers or tables
54
- itemTemplate.item.modified =
55
- Math.max(itemTemplate.item.modified, _mostRecentlyEditedLayer(template.properties.layers), _mostRecentlyEditedLayer(template.properties.tables));
56
- // Extract dependencies
57
- common.extractDependencies(itemTemplate, srcAuthentication).then((dependencies) => {
58
- // set the dependencies as an array of IDs from the array of IDependency
59
- itemTemplate.dependencies = dependencies.map((dep) => dep.id);
60
- // resolve the template with templatized values
61
- resolve(common.templatize(itemTemplate, dependencies, false, templateDictionary));
62
- }, (e) => reject(common.fail(e)));
63
- }, e => reject(common.fail(e)));
64
- });
65
- }
66
- });
67
- }
68
- //#endregion
69
- //#region Deploy Process ---------------------------------------------------------------------------------------//
70
- /**
71
- * Creates an item in a specified folder (except for Group item type).
72
- *
73
- * @param itemTemplate Item to be created; n.b.: this item is modified
74
- * @param folderId Id of folder to receive item; null indicates that the item goes into the root
75
- * folder; ignored for Group item type
76
- * @param settings Hash mapping property names to replacement values
77
- * @param authentication Credentials for the request
78
- * @returns A promise that will resolve with the id of the created item
79
- * @private
80
- */
81
- export function createItemFromTemplate(template, templateDictionary, destinationAuthentication, itemProgressCallback) {
82
- return new Promise(resolve => {
83
- // Interrupt process if progress callback returns `false`
84
- if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Started, 0)) {
85
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Ignored, 0);
86
- resolve(common.generateEmptyCreationResponse(template.type));
87
- return;
88
- }
89
- // Replace the templatized symbols in a copy of the template
90
- let newItemTemplate = common.cloneObject(template);
91
- newItemTemplate = common.replaceInTemplate(newItemTemplate, templateDictionary);
92
- // Thumbnail has to be updated separately; doesn't work in create service call
93
- delete newItemTemplate.item.thumbnail;
94
- // added for issue #928
95
- common.deleteProp(newItemTemplate, "properties.service.size");
96
- // cache the popup info to be added later
97
- const popupInfos = common.cachePopupInfos(newItemTemplate.data);
98
- // Create the item, then update its URL with its new id
99
- common
100
- .createFeatureService(newItemTemplate, destinationAuthentication, templateDictionary)
101
- .then(createResponse => {
102
- if (createResponse.success) {
103
- // Interrupt process if progress callback returns `false`
104
- if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Created, template.estimatedDeploymentCostFactor / 2, createResponse.serviceItemId)) {
105
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Cancelled, 0);
106
- common
107
- .removeItem(createResponse.serviceItemId, destinationAuthentication)
108
- .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
109
- }
110
- else {
111
- // Detemplatize what we can now that the service has been created
112
- newItemTemplate = common.updateTemplate(newItemTemplate, templateDictionary, createResponse);
113
- // Add the layers and tables to the feature service
114
- common
115
- .addFeatureServiceLayersAndTables(newItemTemplate, templateDictionary, popupInfos, destinationAuthentication)
116
- .then(() => {
117
- newItemTemplate = common.updateTemplate(newItemTemplate, templateDictionary, createResponse);
118
- // Update the item with snippet, description, popupInfo, etc.
119
- common
120
- .updateItemExtended({
121
- ...newItemTemplate.item,
122
- url: undefined // can't update the URL of a feature service
123
- }, newItemTemplate.data, destinationAuthentication, template.item.thumbnail, undefined, templateDictionary)
124
- .then(() => {
125
- // Interrupt process if progress callback returns `false`
126
- if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Finished, template.estimatedDeploymentCostFactor / 2, createResponse.serviceItemId)) {
127
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Cancelled, 0);
128
- common
129
- .removeItem(createResponse.serviceItemId, destinationAuthentication)
130
- .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
131
- }
132
- else {
133
- // Update the template to match what we've stored in AGO
134
- common
135
- .getItemBase(newItemTemplate.itemId, destinationAuthentication)
136
- .then(updatedItem => {
137
- newItemTemplate.item = updatedItem;
138
- /* istanbul ignore else */
139
- if (common.getProp(newItemTemplate, "item.url") &&
140
- !newItemTemplate.item.url.endsWith("/")) {
141
- newItemTemplate.item.url += "/";
142
- }
143
- resolve({
144
- item: newItemTemplate,
145
- id: createResponse.serviceItemId,
146
- type: newItemTemplate.type,
147
- postProcess: common.hasUnresolvedVariables({
148
- item: newItemTemplate.item,
149
- data: newItemTemplate.data
150
- }) ||
151
- common.isWorkforceProject(newItemTemplate)
152
- });
153
- }, () => {
154
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
155
- common
156
- .removeItem(createResponse.serviceItemId, destinationAuthentication)
157
- .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
158
- } // fails to update item
159
- );
160
- }
161
- }, () => {
162
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
163
- common
164
- .removeItem(createResponse.serviceItemId, destinationAuthentication)
165
- .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
166
- } // fails to update item
167
- );
168
- }, () => {
169
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
170
- common
171
- .removeItem(createResponse.serviceItemId, destinationAuthentication)
172
- .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
173
- } // fails to add service layers and/or tables
174
- );
175
- }
176
- }
177
- else {
178
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
179
- resolve(common.generateEmptyCreationResponse(template.type)); // fails to create item
180
- }
181
- }, () => {
182
- itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
183
- resolve(common.generateEmptyCreationResponse(template.type)); // fails to create item
184
- });
185
- });
186
- }
187
- /**
188
- * Feature Layer post-processing actions
189
- *
190
- * @param {string} itemId The item ID
191
- * @param {string} type The template type
192
- * @param {any[]} itemInfos Array of \{id: 'ef3', type: 'Web Map'\} objects
193
- * @param {any} templateDictionary The template dictionary
194
- * @param {UserSession} authentication The destination session info
195
- * @returns Promise resolving to successfulness of update
196
- */
197
- export function postProcess(itemId, type, itemInfos, template, templates, templateDictionary, authentication) {
198
- return new Promise((resolve, reject) => {
199
- common
200
- .updateItemTemplateFromDictionary(itemId, templateDictionary, authentication)
201
- .then(results => {
202
- if (common.isWorkforceProject(template)) {
203
- template = common.replaceInTemplate(template, templateDictionary);
204
- common
205
- .fineTuneCreatedWorkforceItem(template, authentication, template.item.url, templateDictionary)
206
- .then(resolve, reject);
207
- }
208
- else {
209
- resolve(results);
210
- }
211
- }, reject);
212
- });
213
- }
214
- //#endregion
215
- //#region Internal functions -----------------------------------------------------------------------------------------//
216
- //???
217
- export function _mostRecentlyEditedLayer(layerOrTableList) {
218
- let mostRecentlyEdited = 0;
219
- layerOrTableList.forEach((layer) => {
220
- mostRecentlyEdited =
221
- layer.editingInfo?.lastEditDate ?
222
- Math.max(mostRecentlyEdited, layer.editingInfo.lastEditDate) :
223
- mostRecentlyEdited;
224
- });
225
- return mostRecentlyEdited;
226
- }
227
- //#endregion
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
+ /**
17
+ * Manages the creation and deployment of feature layers and services.
18
+ *
19
+ * @module feature-layer
20
+ */
21
+ //#region Imports ----------------------------------------------------------------------------------------------//
22
+ import * as common from "@esri/solution-common";
23
+ //#endregion
24
+ //#region Publish Process --------------------------------------------------------------------------------------//
25
+ /**
26
+ * Fills in missing data, including full layer and table definitions, in a feature services' definition.
27
+ *
28
+ * @param solutionItemId
29
+ * @param itemInfo Feature service item
30
+ * @param destAuthentication Credentials for requests to the destination organization
31
+ * @param srcAuthentication Credentials for requests to source items
32
+ * @param templateDictionary Hash mapping property names to replacement values
33
+ * @returns A promise that will resolve when fullItem has been updated
34
+ */
35
+ export function convertItemToTemplate(solutionItemId, itemInfo, destAuthentication, srcAuthentication, templateDictionary) {
36
+ return new Promise((resolve, reject) => {
37
+ // Init template
38
+ const template = common.createInitializedItemTemplate(itemInfo);
39
+ const hasInvalidDesignations = common.hasInvalidGroupDesignations(itemInfo.groupDesignations);
40
+ if (hasInvalidDesignations) {
41
+ common
42
+ .updateTemplateForInvalidDesignations(template, srcAuthentication)
43
+ .then(_template => resolve(_template), e => reject(common.fail(e)));
44
+ }
45
+ else {
46
+ // Update the estimated cost factor to deploy this item
47
+ template.estimatedDeploymentCostFactor = 10;
48
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
49
+ common.getItemDataAsJson(template.item.id, srcAuthentication).then(data => {
50
+ template.data = data;
51
+ common.getServiceLayersAndTables(template, srcAuthentication).then(itemTemplate => {
52
+ // Update item's modified date to the latest of its modified date and the last edit date
53
+ // of each of its layers or tables
54
+ itemTemplate.item.modified =
55
+ Math.max(itemTemplate.item.modified, _mostRecentlyEditedLayer(template.properties.layers), _mostRecentlyEditedLayer(template.properties.tables));
56
+ // Extract dependencies
57
+ common.extractDependencies(itemTemplate, srcAuthentication).then((dependencies) => {
58
+ // set the dependencies as an array of IDs from the array of IDependency
59
+ itemTemplate.dependencies = dependencies.map((dep) => dep.id);
60
+ // resolve the template with templatized values
61
+ resolve(common.templatize(itemTemplate, dependencies, false, templateDictionary));
62
+ }, (e) => reject(common.fail(e)));
63
+ }, e => reject(common.fail(e)));
64
+ });
65
+ }
66
+ });
67
+ }
68
+ //#endregion
69
+ //#region Deploy Process ---------------------------------------------------------------------------------------//
70
+ /**
71
+ * Creates an item in a specified folder (except for Group item type).
72
+ *
73
+ * @param itemTemplate Item to be created; n.b.: this item is modified
74
+ * @param folderId Id of folder to receive item; null indicates that the item goes into the root
75
+ * folder; ignored for Group item type
76
+ * @param settings Hash mapping property names to replacement values
77
+ * @param authentication Credentials for the request
78
+ * @returns A promise that will resolve with the id of the created item
79
+ * @private
80
+ */
81
+ export function createItemFromTemplate(template, templateDictionary, destinationAuthentication, itemProgressCallback) {
82
+ return new Promise(resolve => {
83
+ // Interrupt process if progress callback returns `false`
84
+ if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Started, 0)) {
85
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Ignored, 0);
86
+ resolve(common.generateEmptyCreationResponse(template.type));
87
+ return;
88
+ }
89
+ // Replace the templatized symbols in a copy of the template
90
+ let newItemTemplate = common.cloneObject(template);
91
+ newItemTemplate = common.replaceInTemplate(newItemTemplate, templateDictionary);
92
+ // Thumbnail has to be updated separately; doesn't work in create service call
93
+ delete newItemTemplate.item.thumbnail;
94
+ // added for issue #928
95
+ common.deleteProp(newItemTemplate, "properties.service.size");
96
+ // cache the popup info to be added later
97
+ const popupInfos = common.cachePopupInfos(newItemTemplate.data);
98
+ // Create the item, then update its URL with its new id
99
+ common
100
+ .createFeatureService(newItemTemplate, destinationAuthentication, templateDictionary)
101
+ .then(createResponse => {
102
+ if (createResponse.success) {
103
+ // Interrupt process if progress callback returns `false`
104
+ if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Created, template.estimatedDeploymentCostFactor / 2, createResponse.serviceItemId)) {
105
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Cancelled, 0);
106
+ common
107
+ .removeItem(createResponse.serviceItemId, destinationAuthentication)
108
+ .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
109
+ }
110
+ else {
111
+ // Detemplatize what we can now that the service has been created
112
+ newItemTemplate = common.updateTemplate(newItemTemplate, templateDictionary, createResponse);
113
+ // Add the layers and tables to the feature service
114
+ common
115
+ .addFeatureServiceLayersAndTables(newItemTemplate, templateDictionary, popupInfos, destinationAuthentication)
116
+ .then(() => {
117
+ newItemTemplate = common.updateTemplate(newItemTemplate, templateDictionary, createResponse);
118
+ // Update the item with snippet, description, popupInfo, etc.
119
+ common
120
+ .updateItemExtended({
121
+ ...newItemTemplate.item,
122
+ url: undefined // can't update the URL of a feature service
123
+ }, newItemTemplate.data, destinationAuthentication, template.item.thumbnail, undefined, templateDictionary)
124
+ .then(() => {
125
+ // Interrupt process if progress callback returns `false`
126
+ if (!itemProgressCallback(template.itemId, common.EItemProgressStatus.Finished, template.estimatedDeploymentCostFactor / 2, createResponse.serviceItemId)) {
127
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Cancelled, 0);
128
+ common
129
+ .removeItem(createResponse.serviceItemId, destinationAuthentication)
130
+ .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
131
+ }
132
+ else {
133
+ // Update the template to match what we've stored in AGO
134
+ common
135
+ .getItemBase(newItemTemplate.itemId, destinationAuthentication)
136
+ .then(updatedItem => {
137
+ newItemTemplate.item = updatedItem;
138
+ /* istanbul ignore else */
139
+ if (common.getProp(newItemTemplate, "item.url") &&
140
+ !newItemTemplate.item.url.endsWith("/")) {
141
+ newItemTemplate.item.url += "/";
142
+ }
143
+ resolve({
144
+ item: newItemTemplate,
145
+ id: createResponse.serviceItemId,
146
+ type: newItemTemplate.type,
147
+ postProcess: common.hasUnresolvedVariables({
148
+ item: newItemTemplate.item,
149
+ data: newItemTemplate.data
150
+ }) ||
151
+ common.isWorkforceProject(newItemTemplate)
152
+ });
153
+ }, () => {
154
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
155
+ common
156
+ .removeItem(createResponse.serviceItemId, destinationAuthentication)
157
+ .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
158
+ } // fails to update item
159
+ );
160
+ }
161
+ }, () => {
162
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
163
+ common
164
+ .removeItem(createResponse.serviceItemId, destinationAuthentication)
165
+ .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
166
+ } // fails to update item
167
+ );
168
+ }, () => {
169
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
170
+ common
171
+ .removeItem(createResponse.serviceItemId, destinationAuthentication)
172
+ .then(() => resolve(common.generateEmptyCreationResponse(template.type)), () => resolve(common.generateEmptyCreationResponse(template.type)));
173
+ } // fails to add service layers and/or tables
174
+ );
175
+ }
176
+ }
177
+ else {
178
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
179
+ resolve(common.generateEmptyCreationResponse(template.type)); // fails to create item
180
+ }
181
+ }, () => {
182
+ itemProgressCallback(template.itemId, common.EItemProgressStatus.Failed, 0);
183
+ resolve(common.generateEmptyCreationResponse(template.type)); // fails to create item
184
+ });
185
+ });
186
+ }
187
+ /**
188
+ * Feature Layer post-processing actions
189
+ *
190
+ * @param {string} itemId The item ID
191
+ * @param {string} type The template type
192
+ * @param {any[]} itemInfos Array of \{id: 'ef3', type: 'Web Map'\} objects
193
+ * @param {any} templateDictionary The template dictionary
194
+ * @param {UserSession} authentication The destination session info
195
+ * @returns Promise resolving to successfulness of update
196
+ */
197
+ export function postProcess(itemId, type, itemInfos, template, templates, templateDictionary, authentication) {
198
+ return new Promise((resolve, reject) => {
199
+ common
200
+ .updateItemTemplateFromDictionary(itemId, templateDictionary, authentication)
201
+ .then(results => {
202
+ if (common.isWorkforceProject(template)) {
203
+ template = common.replaceInTemplate(template, templateDictionary);
204
+ common
205
+ .fineTuneCreatedWorkforceItem(template, authentication, template.item.url, templateDictionary)
206
+ .then(resolve, reject);
207
+ }
208
+ else {
209
+ resolve(results);
210
+ }
211
+ }, reject);
212
+ });
213
+ }
214
+ //#endregion
215
+ //#region Internal functions -----------------------------------------------------------------------------------------//
216
+ //TODO: function doc
217
+ export function _mostRecentlyEditedLayer(layerOrTableList) {
218
+ let mostRecentlyEdited = 0;
219
+ layerOrTableList.forEach((layer) => {
220
+ mostRecentlyEdited =
221
+ layer.editingInfo?.lastEditDate ?
222
+ Math.max(mostRecentlyEdited, layer.editingInfo.lastEditDate) :
223
+ mostRecentlyEdited;
224
+ });
225
+ return mostRecentlyEdited;
226
+ }
227
+ //#endregion
228
228
  //# sourceMappingURL=feature-layer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-layer.js","sourceRoot":"","sources":["../../src/feature-layer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AAEH,kHAAkH;AAElH,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAEhD,YAAY;AAEZ,kHAAkH;AAElH;;;;;;;;;GASG;AACH,MAAM,UAAU,qBAAqB,CACnC,cAAsB,EACtB,QAAa,EACb,kBAAsC,EACtC,iBAAqC,EACrC,kBAAwB;IAExB,OAAO,IAAI,OAAO,CAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3D,gBAAgB;QAChB,MAAM,QAAQ,GAAyB,MAAM,CAAC,6BAA6B,CACzE,QAAQ,CACT,CAAC;QAEF,MAAM,sBAAsB,GAAY,MAAM,CAAC,2BAA2B,CACxE,QAAQ,CAAC,iBAAiB,CAC3B,CAAC;QACF,IAAI,sBAAsB,EAAE;YAC1B,MAAM;iBACH,oCAAoC,CAAC,QAAQ,EAAE,iBAAiB,CAAC;iBACjE,IAAI,CACH,SAAS,CAAC,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,EAC/B,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAC5B,CAAC;SACL;aAAM;YACL,uDAAuD;YACvD,QAAQ,CAAC,6BAA6B,GAAG,EAAE,CAAC;YAE5C,mEAAmE;YACnE,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB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AAC;IACF,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED,YAAY"}
@@ -1,21 +1,21 @@
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
- /**
17
- * Manages the creation and deployment of feature layers and services.
18
- *
19
- * @module feature-layer
20
- */
21
- export * from "./feature-layer";
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
+ /**
17
+ * Manages the creation and deployment of feature layers and services.
18
+ *
19
+ * @module feature-layer
20
+ */
21
+ export * from "./feature-layer";
package/dist/esm/index.js CHANGED
@@ -1,22 +1,22 @@
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
- /**
17
- * Manages the creation and deployment of feature layers and services.
18
- *
19
- * @module feature-layer
20
- */
21
- export * from "./feature-layer";
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
+ /**
17
+ * Manages the creation and deployment of feature layers and services.
18
+ *
19
+ * @module feature-layer
20
+ */
21
+ export * from "./feature-layer";
22
22
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-feature-layer",
3
- "version": "4.1.2",
3
+ "version": "5.0.0",
4
4
  "description": "Manages the creation and deployment of feature layers and services for @esri/solution.js.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -27,7 +27,7 @@
27
27
  "@esri/hub-initiatives": "^13.0.0",
28
28
  "@esri/hub-sites": "^13.0.1",
29
29
  "@esri/hub-teams": "^13.0.0",
30
- "@esri/solution-common": "^4.1.2",
30
+ "@esri/solution-common": "^5.0.0",
31
31
  "rollup": "2.79.1"
32
32
  },
33
33
  "dependencies": {
@@ -85,5 +85,5 @@
85
85
  "esri",
86
86
  "ES6"
87
87
  ],
88
- "gitHead": "13ea49fdd2fc75cabe55a19c3620580c4c47643d"
88
+ "gitHead": "a6cbcc049fb712d19e98b7d59a94734aad4dd17f"
89
89
  }