@mikezimm/fps-library-v2 1.0.163 → 1.0.164
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 +3 -3
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.js +3 -3
- package/lib/components/atoms/FPSAgeSlider/FPSAgeTypes.js.map +1 -1
- package/lib/components/atoms/WordSummary/IWordSummary.d.ts +4 -3
- package/lib/components/atoms/WordSummary/IWordSummary.d.ts.map +1 -1
- package/lib/pnpjs/Lists/getList/getSourceList.d.ts.map +1 -1
- package/lib/pnpjs/Lists/getList/getSourceList.js +5 -0
- package/lib/pnpjs/Lists/getList/getSourceList.js.map +1 -1
- package/lib/pnpjs/Lists/getList/getWebLists.d.ts.map +1 -1
- package/lib/pnpjs/Lists/getList/getWebLists.js +5 -0
- package/lib/pnpjs/Lists/getList/getWebLists.js.map +1 -1
- package/lib/pnpjs/Webs/getFilteredSubs.d.ts.map +1 -1
- package/lib/pnpjs/Webs/getFilteredSubs.js +5 -0
- package/lib/pnpjs/Webs/getFilteredSubs.js.map +1 -1
- package/lib/pnpjs/Webs/getSubSites.d.ts.map +1 -1
- package/lib/pnpjs/Webs/getSubSites.js +5 -0
- package/lib/pnpjs/Webs/getSubSites.js.map +1 -1
- package/lib/pnpjs/Webs/getWebInfoIncludingUnique.d.ts.map +1 -1
- package/lib/pnpjs/Webs/getWebInfoIncludingUnique.js +9 -0
- package/lib/pnpjs/Webs/getWebInfoIncludingUnique.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,16 +5,16 @@ 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.164
|
|
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.
|
|
14
|
+
## 1.0.164 - 2023-Apr-05: add performance to functions in pnpjs
|
|
15
15
|
- add performance to getWebLists, getFilteredSubs, getSubSites, getFilteredSubSites, getWebInfoIncludingUniqueMin, getWebInfoIncludingUniqueAll
|
|
16
16
|
|
|
17
|
-
## 1.0.
|
|
17
|
+
## 1.0.164 - 2023-Apr-05: IExtendedWordObject and IExtendedWordSummary
|
|
18
18
|
- make IExtendedWordObject params optional, make array of items
|
|
19
19
|
- add performanceR to IExtendedWordSummary
|
|
20
20
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const changesAgeSlider = ['FPSAgeIsVisible', 'FPSAgeColumnName', 'FPSAgeColumnTitle', 'FPSAgeDefault',];
|
|
2
2
|
export const FPSAgeSliderOptionsPast2Year = [
|
|
3
|
-
{ key: 0, maxAge: 1, text: 'The past day', },
|
|
4
|
-
{ key: 1, maxAge: 7, text: 'The past week', },
|
|
5
|
-
{ key: 2, maxAge: 31, text: 'The past month', },
|
|
3
|
+
{ key: 0, maxAge: 1, text: 'The past 1 day', },
|
|
4
|
+
{ key: 1, maxAge: 7, text: 'The past 1 week', },
|
|
5
|
+
{ key: 2, maxAge: 31, text: 'The past 1 month', },
|
|
6
6
|
{ key: 3, maxAge: 92, text: 'The past 3 months', },
|
|
7
7
|
{ key: 4, maxAge: 365, text: 'The past year', },
|
|
8
8
|
{ key: 5, maxAge: 365 * 2, text: 'The past 2 years', },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FPSAgeTypes.js","sourceRoot":"","sources":["../../../../src/components/atoms/FPSAgeSlider/FPSAgeTypes.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,gBAAgB,GAAa,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAG,CAAC;AAwB3H,MAAM,CAAC,MAAM,4BAA4B,GAAwB;IAC/D,EAAG,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gB,GAAG;IAChD,EAAG,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAG,IAAI,EAAE,iBAAiB,GAAG;IAClD,EAAG,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAG,IAAI,EAAE,kBAAkB,GAAG;IACnD,EAAG,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAG,IAAI,EAAE,cAAc,GAAG;IAChD,EAAG,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,GAAC,CAAC,EAAI,IAAI,EAAE,iBAAiB,GAAG;CACvD,CAAC;AAGF,gHAAgH;AAChH,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,GAAG,gCAAgC;IACnC,EAAG,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,GAAC,GAAG,EAAG,IAAI,EAAE,UAAU,GAAG;CACjD,CAAC;AAGF,MAAM,CAAC,MAAM,4BAA4B,GAAyB;IAChE,eAAe,EAAE,IAAI;IACrB,gBAAgB,EAAE,UAAU;IAC5B,iBAAiB,EAAE,UAAU;IAC7B,aAAa,EAAE,CAAE,mBAAmB,CAAC,MAAM,GAAE,CAAC,CAAE,EAAE,oCAAoC;CACvF,CAAA"}
|
|
@@ -19,10 +19,11 @@ export interface IWordObject {
|
|
|
19
19
|
}
|
|
20
20
|
export interface IExtendedWordSummary extends IWordSummary {
|
|
21
21
|
wordObjs: IExtendedWordObject[];
|
|
22
|
+
performanceR: IPerformanceOp;
|
|
22
23
|
}
|
|
23
24
|
export interface IExtendedWordObject extends IWordObject {
|
|
24
|
-
related1
|
|
25
|
-
related2
|
|
26
|
-
related3
|
|
25
|
+
related1?: IAnySourceItem[];
|
|
26
|
+
related2?: IAnySourceItem[];
|
|
27
|
+
related3?: IAnySourceItem[];
|
|
27
28
|
}
|
|
28
29
|
//# sourceMappingURL=IWordSummary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IWordSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/IWordSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,cAAc,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,QAAQ,EAAE,mBAAmB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"IWordSummary.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/WordSummary/IWordSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,WAAW,EAAE,cAAc,CAAC;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAGD,MAAM,WAAW,oBAAqB,SAAQ,YAAY;IACxD,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,YAAY,EAAE,cAAc,CAAC;CAC9B;AAGD,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSourceList.d.ts","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getSourceList.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"getSourceList.d.ts","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getSourceList.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,kBAAkB,EAAE,MAAM,+DAA+D,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAK/D;;;;;;;;GAQG;AAEH,MAAM,WAAW,uBAAwB,SAAQ,eAAe;IAC9D,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;CACxB;AAED,wBAAsB,aAAa,CAAE,iBAAiB,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,uBAAuB,CAAC,CAc7K"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { fetchListProps } from "@mikezimm/fps-pnp2/lib/services/sp/fetch/lists/fetchListProps";
|
|
2
2
|
import { checkAnyResults } from '../../Common/CheckAnyResults';
|
|
3
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from "../../../components/molecules/Performance/functions";
|
|
3
4
|
export async function getSourceList(minFetchListProps, alertMe, consoleLog) {
|
|
5
|
+
const { performanceSettings } = minFetchListProps;
|
|
6
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
4
7
|
const initialResult = await fetchListProps(minFetchListProps);
|
|
5
8
|
const result = checkAnyResults(initialResult, `fps-library-v2: getSourceList ~ 31`, alertMe, consoleLog);
|
|
9
|
+
result.performanceOp = performanceSettings ?
|
|
10
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.list ? 1 : 0 }) : null;
|
|
6
11
|
return result;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=getSourceList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSourceList.js","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getSourceList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAsB,MAAM,+DAA+D,CAAC;AAGnH,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"getSourceList.js","sourceRoot":"","sources":["../../../../src/pnpjs/Lists/getList/getSourceList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAsB,MAAM,+DAA+D,CAAC;AAGnH,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAgB/G,MAAM,CAAC,KAAK,UAAU,aAAa,CAAE,iBAAqC,EAAE,OAA4B,EAAE,UAA+B;IAEvI,MAAM,EAAE,mBAAmB,EAAE,GAAG,iBAAiC,CAAC;IAClE,MAAM,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAE,mBAAmB,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE3F,MAAM,aAAa,GAAG,MAAM,cAAc,CAAE,iBAAiB,CAAE,CAAC;IAEhE,MAAM,MAAM,GAA4B,eAAe,CAAE,aAAa,EAAE,oCAAoC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC;IAE3I,MAAM,CAAC,aAAa,GAAG,mBAAmB,CAAC,CAAC;QAC1C,sBAAsB,CAAE,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAE,CAAC,CAAC,IAAI,CAAC;IAE/I,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -1 +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;
|
|
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;AAK/D,OAAO,EAAE,kBAAkB,EAAE,CAAE;AAC/B;;;;;;;;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,CAcxK"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { fetchLists, } from "@mikezimm/fps-pnp2/lib/services/sp/fetch/lists/fetchLists";
|
|
2
2
|
import { checkAnyResults } from '../../Common/CheckAnyResults';
|
|
3
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from "../../../components/molecules/Performance/functions";
|
|
3
4
|
export async function getWebLists(minFetchListProps, alertMe, consoleLog) {
|
|
5
|
+
const { performanceSettings } = minFetchListProps;
|
|
6
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
4
7
|
const initialResult = await fetchLists(minFetchListProps);
|
|
5
8
|
const result = checkAnyResults(initialResult, `fps-library-v2: getWebsLists ~ 26`, alertMe, consoleLog);
|
|
9
|
+
result.performanceOp = performanceSettings ?
|
|
10
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.items.length }) : null;
|
|
6
11
|
return result;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=getWebLists.js.map
|
|
@@ -1 +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;
|
|
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;AAE/D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAiB/G,MAAM,CAAC,KAAK,UAAU,WAAW,CAAE,iBAAqC,EAAE,OAA4B,EAAE,UAA+B;IAErI,MAAM,EAAE,mBAAmB,EAAE,GAAG,iBAAiC,CAAC;IAElE,MAAM,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAE,mBAAmB,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAC3F,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,MAAM,CAAC,aAAa,GAAG,mBAAmB,CAAC,CAAC;QAC1C,sBAAsB,CAAE,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAE,CAAC,CAAC,IAAI,CAAC;IAE/I,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFilteredSubs.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getFilteredSubs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"getFilteredSubs.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getFilteredSubs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOhE,wBAAsB,mBAAmB,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,qBAAqB,CAAC,CAe1J"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { getFilteredWebs, } from "@mikezimm/fps-pnp2/lib/services/sp/webs/getFilteredWebs";
|
|
2
2
|
import { checkAnyResults } from '../Common/CheckAnyResults';
|
|
3
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from "../../components/molecules/Performance/functions";
|
|
3
4
|
export async function getFilteredSubSites(webUrl, alertMe, consoleLog) {
|
|
5
|
+
let performanceSettings = { label: 'webs', updateMiliseconds: true, includeMsStr: true, op: 'fetch12' };
|
|
6
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
4
7
|
const initialResult = await getFilteredWebs(webUrl);
|
|
5
8
|
const result = checkAnyResults(initialResult, `fps-library-v2: getSubSites ~ 11`, alertMe, consoleLog);
|
|
9
|
+
result.performanceOp = performanceSettings ?
|
|
10
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.items.length }) : null;
|
|
6
11
|
return result;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=getFilteredSubs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFilteredSubs.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getFilteredSubs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,GAAG,MAAM,yDAAyD,CAAC;AAE3F,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;
|
|
1
|
+
{"version":3,"file":"getFilteredSubs.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getFilteredSubs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,GAAG,MAAM,yDAAyD,CAAC;AAE3F,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAK5G,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAE,MAAc,EAAE,OAA4B,EAAE,UAA+B;IAEvH,IAAI,mBAAmB,GAAyB,EAAG,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;IAC9H,MAAM,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAE,mBAAmB,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE3F,MAAM,aAAa,GAAkB,MAAM,eAAe,CAAE,MAAM,CAAG,CAAC;IAEtE,MAAM,MAAM,GAA0B,eAAe,CAAE,aAAa,EAAE,kCAAkC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC;IAEvI,MAAM,CAAC,aAAa,GAAG,mBAAmB,CAAC,CAAC;QAC5C,sBAAsB,CAAE,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAE,CAAC,CAAC,IAAI,CAAC;IAG7I,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSubSites.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getSubSites.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"getSubSites.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getSubSites.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,wBAAsB,WAAW,CAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,qBAAqB,CAAC,CAc5K"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { getWebs, } from "@mikezimm/fps-pnp2/lib/services/sp/webs/getWebs";
|
|
2
2
|
import { checkAnyResults } from '../Common/CheckAnyResults';
|
|
3
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from "../../components/molecules/Performance/functions";
|
|
3
4
|
export async function getSubSites(webUrl, rollAssignments, alertMe, consoleLog) {
|
|
5
|
+
let performanceSettings = { label: 'webs', updateMiliseconds: true, includeMsStr: true, op: 'fetch12' };
|
|
6
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
4
7
|
const initialResult = await getWebs(webUrl, rollAssignments);
|
|
5
8
|
const result = checkAnyResults(initialResult, `fps-library-v2: getSubSites ~ 11`, alertMe, consoleLog);
|
|
9
|
+
result.performanceOp = performanceSettings ?
|
|
10
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.items.length }) : null;
|
|
6
11
|
return result;
|
|
7
12
|
}
|
|
8
13
|
//# sourceMappingURL=getSubSites.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSubSites.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getSubSites.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,GAAG,MAAM,iDAAiD,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"getSubSites.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getSubSites.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,GAAG,MAAM,iDAAiD,CAAC;AAE3E,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAG5G,MAAM,CAAC,KAAK,UAAU,WAAW,CAAE,MAAc,EAAE,eAAwB,EAAE,OAA4B,EAAE,UAA+B;IAExI,IAAI,mBAAmB,GAAyB,EAAG,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;IAC/H,MAAM,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAE,mBAAmB,CAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAE3F,MAAM,aAAa,GAAkB,MAAM,OAAO,CAAE,MAAM,EAAE,eAAe,CAAE,CAAC;IAE9E,MAAM,MAAM,GAA0B,eAAe,CAAE,aAAa,EAAE,kCAAkC,EAAE,OAAO,EAAE,UAAU,CAAS,CAAC;IAEvI,MAAM,CAAC,aAAa,GAAG,mBAAmB,CAAC,CAAC;QAC1C,sBAAsB,CAAE,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,iBAAiB,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAE,CAAC,CAAC,IAAI,CAAC;IAE/I,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWebInfoIncludingUnique.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getWebInfoIncludingUnique.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"getWebInfoIncludingUnique.d.ts","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getWebInfoIncludingUnique.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAI3E;;;;;;GAMG;AACH,wBAAsB,4BAA4B,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAK,OAAO,CAAC,mBAAmB,CAAC,CAuBzI;AAED,wBAAsB,4BAA4B,CAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAK,OAAO,CAAC,gBAAgB,CAAC,CActI"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { fetchWebInfoIncludingUnique, } from "@mikezimm/fps-pnp2/lib/services/sp/webs/fetchWebInfoIncludingUnique";
|
|
2
2
|
import { checkAnyResults } from '../Common/CheckAnyResults';
|
|
3
|
+
import { startPerformOpV2, updatePerformanceEndV2 } from "../../components/molecules/Performance/functions";
|
|
3
4
|
/**
|
|
4
5
|
* Copied from Pivot Tiles /mpnFunctions from getWebInfoIncludingUnique
|
|
5
6
|
* @param webUrl
|
|
@@ -8,6 +9,8 @@ import { checkAnyResults } from '../Common/CheckAnyResults';
|
|
|
8
9
|
* @returns
|
|
9
10
|
*/
|
|
10
11
|
export async function getWebInfoIncludingUniqueMin(webUrl, alertMe, consoleLog) {
|
|
12
|
+
let performanceSettings = { label: 'webs', updateMiliseconds: true, includeMsStr: true, op: 'fetch12' };
|
|
13
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
11
14
|
const initialResult = await fetchWebInfoIncludingUnique(webUrl, 'min');
|
|
12
15
|
initialResult.web = {
|
|
13
16
|
ServerRelativeUrl: initialResult.web ? initialResult.web.ServerRelativeUrl : 'Site ServerRelativeUrl',
|
|
@@ -19,11 +22,17 @@ export async function getWebInfoIncludingUniqueMin(webUrl, alertMe, consoleLog)
|
|
|
19
22
|
HasUniqueRoleAssignments: initialResult.web ? initialResult.web['HasUniqueRoleAssignments'] : null,
|
|
20
23
|
};
|
|
21
24
|
const result = checkAnyResults(initialResult, `fps-library-v2: getWebInfoIncludingUniqueMin ~ 27`, alertMe, consoleLog);
|
|
25
|
+
result.performanceOp = performanceSettings ?
|
|
26
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.status === 'Success' ? 1 : 0 }) : null;
|
|
22
27
|
return result;
|
|
23
28
|
}
|
|
24
29
|
export async function getWebInfoIncludingUniqueAll(webUrl, alertMe, consoleLog) {
|
|
30
|
+
let performanceSettings = { label: 'webs', updateMiliseconds: true, includeMsStr: true, op: 'fetch12' };
|
|
31
|
+
const performanceOp = performanceSettings ? startPerformOpV2(performanceSettings) : null;
|
|
25
32
|
const initialResult = await fetchWebInfoIncludingUnique(webUrl, 'all');
|
|
26
33
|
const result = checkAnyResults(initialResult, `fps-library-v2: getWebInfoIncludingUniqueAll ~ 37`, alertMe, consoleLog);
|
|
34
|
+
result.performanceOp = performanceSettings ?
|
|
35
|
+
updatePerformanceEndV2({ op: performanceOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.status === 'Success' ? 1 : 0 }) : null;
|
|
27
36
|
return result;
|
|
28
37
|
}
|
|
29
38
|
//# sourceMappingURL=getWebInfoIncludingUnique.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWebInfoIncludingUnique.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getWebInfoIncludingUnique.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,GAAG,MAAM,qEAAqE,CAAC;AAEnH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"getWebInfoIncludingUnique.js","sourceRoot":"","sources":["../../../src/pnpjs/Webs/getWebInfoIncludingUnique.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,GAAG,MAAM,qEAAqE,CAAC;AAEnH,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EAA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