@mikezimm/fps-library-v2 1.0.100 → 1.0.102

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.
package/CHANGELOG.md CHANGED
@@ -5,12 +5,18 @@ npm run build
5
5
  npm version major/minor/patch
6
6
  npm publish --access=public
7
7
 
8
- npm install @mikezimm/fps-library-v2@1.0.100
8
+ npm install @mikezimm/fps-library-v2@1.0.102
9
9
 
10
10
  # Changelog
11
11
 
12
12
  NOTE: TURN BACK ON STRICT NULL CHECKS - turned off for PropPaneCols
13
13
 
14
+ ## 1.0.102 - 2023-Jan-26: Pivot Tiles hubsFetch testing
15
+ - npm install @mikezimm/fps-pnp2@1.0.32
16
+
17
+ ## 1.0.101 - 2023-Jan-26: Pivot Tiles getLists
18
+ - add getWebLists in src/pnpjs/Lists/getList/getWebLists.ts
19
+
14
20
  ## 1.0.100 - 2023-Jan-26: Pivot Tiles System Lists and Pages
15
21
  - migrated src/pnpjs/Lists/getList/SysLists.ts
16
22
  - migrated src/pnpjs/SourceItems/SystemPages.ts
@@ -0,0 +1,17 @@
1
+ import { IMinFetchListProps } from "@mikezimm/fps-pnp2/lib/services/sp/fetch/lists/fetchListProps";
2
+ import { IListInfo } from "@pnp/sp/lists/types";
3
+ import { IFpsErrorObject } from '../../Common/IFpsErrorObject';
4
+ /**
5
+ * getSourceList calls the Pnp function to get the results which returns the raw error.
6
+ * This function then will convert the error into the helpful error and return the standard IItemsError object.
7
+ *
8
+ * @param sourceProps
9
+ * @param alertMe
10
+ * @param consoleLog
11
+ * @returns
12
+ */
13
+ export interface IGetMinWebListReturn extends IFpsErrorObject {
14
+ items: IListInfo[];
15
+ }
16
+ export declare function getWebLists(minFetchListProps: IMinFetchListProps, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<IGetMinWebListReturn>;
17
+ //# sourceMappingURL=getWebLists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWebLists.d.ts","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getWebLists.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D;;;;;;;;GAQG;AAEH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,wBAAsB,WAAW,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,oBAAoB,CAAC,CAQxK"}
@@ -0,0 +1,8 @@
1
+ import { fetchLists, } from "@mikezimm/fps-pnp2/lib/services/sp/fetch/lists/fetchLists";
2
+ import { checkAnyResults } from '../../Common/CheckAnyResults';
3
+ export async function getWebLists(minFetchListProps, alertMe, consoleLog) {
4
+ const initialResult = await fetchLists(minFetchListProps);
5
+ const result = checkAnyResults(initialResult, `fps-library-v2: getWebsLists ~ 26`, alertMe, consoleLog);
6
+ return result;
7
+ }
8
+ //# sourceMappingURL=getWebLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWebLists.js","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getWebLists.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,GAAG,MAAM,2DAA2D,CAAC;AAIxF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAgB/D,MAAM,CAAC,KAAK,UAAU,WAAW,CAAE,iBAAqC,EAAE,OAA4B,EAAE,UAA+B;IAErI,MAAM,aAAa,GAAG,MAAM,UAAU,CAAE,iBAAiB,CAAE,CAAC;IAE5D,MAAM,MAAM,GAAyB,eAAe,CAAE,aAAa,EAAE,mCAAmC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC;IAEvI,OAAO,MAAM,CAAC;AAEhB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikezimm/fps-library-v2",
3
- "version": "1.0.100",
3
+ "version": "1.0.102",
4
4
  "description": "Library of reusable typescript/javascript functions, interfaces and constants",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@microsoft/sp-property-pane": "^1.15.2",
43
- "@mikezimm/fps-pnp2": "^1.0.31",
43
+ "@mikezimm/fps-pnp2": "^1.0.32",
44
44
  "@mikezimm/fps-styles": "^1.0.14",
45
45
  "@pnp/spfx-controls-react": "3.12.0",
46
46
  "@pnp/spfx-property-controls": "^3.6.0",