@mikezimm/fps-library-v2 1.0.100 → 1.0.101
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,15 @@ 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.
|
|
8
|
+
npm install @mikezimm/fps-library-v2@1.0.101
|
|
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.101 - 2023-Jan-26: Pivot Tiles getLists
|
|
15
|
+
- add getWebLists in src/pnpjs/Lists/getList/getWebLists.ts
|
|
16
|
+
|
|
14
17
|
## 1.0.100 - 2023-Jan-26: Pivot Tiles System Lists and Pages
|
|
15
18
|
- migrated src/pnpjs/Lists/getList/SysLists.ts
|
|
16
19
|
- 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"}
|