@esri/solution-common 1.5.3 → 1.7.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.
@@ -375,6 +375,19 @@ export declare function postProcessFields(itemTemplate: IItemTemplate, layerInfo
375
375
  * @private
376
376
  */
377
377
  export declare function _validateViewFieldInfos(fieldInfo: any, item: any): void;
378
+ /**
379
+ * Clear previous isViewOverride settings
380
+ * Due to a previous bug isViewOverride was being set on many fields incorrectly.
381
+ * This function is used to clear the previously set value so we can make the proper determination.
382
+ *
383
+ * https://github.com/Esri/solution.js/issues/944
384
+ *
385
+ * @param item that stores the view fields
386
+ *
387
+ * This function will update the item that is provided
388
+ * @private
389
+ */
390
+ export declare function _clearIsViewFieldOverride(item: any): void;
378
391
  /**
379
392
  * Get arrays of fields and names for domain, alias, and editable props
380
393
  *
@@ -552,6 +552,20 @@ export interface IFileMimeTyped {
552
552
  mimeType: string;
553
553
  blob: Blob;
554
554
  }
555
+ /**
556
+ * Existing Items promises, associated item Ids and types
557
+ */
558
+ export interface IFindExistingItemsResponse {
559
+ existingItemsDefs: Array<Promise<any>>;
560
+ existingItemInfos: IFindExistingItemInfos[];
561
+ }
562
+ /**
563
+ * Item Id and item type
564
+ */
565
+ export interface IFindExistingItemInfos {
566
+ itemId: string;
567
+ type: string;
568
+ }
555
569
  /**
556
570
  * Response from removing a folder.
557
571
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solution-common",
3
- "version": "1.5.3",
3
+ "version": "1.7.0",
4
4
  "description": "Provides general helper functions for @esri/solution.js.",
5
5
  "main": "dist/node/index.js",
6
6
  "unpkg": "dist/umd/common.umd.min.js",
@@ -96,5 +96,5 @@
96
96
  "esri",
97
97
  "ES6"
98
98
  ],
99
- "gitHead": "5969d12c7df48527a076cd592a1972913c4aec69"
99
+ "gitHead": "90abda2458189857c45459ec57acea8453ec77f3"
100
100
  }