@mikezimm/fps-core-v7 1.0.43 → 1.0.45
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/lib/banner/components/SingleHelpPage/interfaces/ITrickRow.d.ts.map +1 -1
- package/lib/banner/components/SingleHelpPage/interfaces/ITrickRow.js +1 -0
- package/lib/banner/components/SingleHelpPage/interfaces/ITrickRow.js.map +1 -1
- package/lib/components/molecules/SpHttp/IJSFetchReturn.d.ts +2 -2
- package/lib/components/molecules/SpHttp/IJSFetchReturn.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/IJSFetchReturn.js +1 -1
- package/lib/components/molecules/SpHttp/IJSFetchReturn.js.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts +41 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch.js +75 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch.js.map +1 -1
- package/lib/components/molecules/process-results/CheckItemsResults.d.ts +5 -2
- package/lib/components/molecules/process-results/CheckItemsResults.d.ts.map +1 -1
- package/lib/components/molecules/process-results/CheckItemsResults.js +1 -1
- package/lib/components/molecules/process-results/CheckItemsResults.js.map +1 -1
- package/lib/components/molecules/process-results/Logging.js.map +1 -1
- package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.d.ts.map +1 -1
- package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.js +3 -1
- package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.js.map +1 -1
- package/lib/components/molecules/state-source/IStateSource.d.ts.map +1 -1
- package/lib/components/molecules/state-source/IStateSource.js +3 -1
- package/lib/components/molecules/state-source/IStateSource.js.map +1 -1
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js +1 -1
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js.map +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js +55 -11
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/postSourceItemsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/items/postSourceItemsAPI.js +5 -11
- package/lib/restAPIs/lists/items/postSourceItemsAPI.js.map +1 -1
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js +1 -1
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js.map +1 -1
- package/lib/restAPIs/logging/saveErrorToLog.d.ts.map +1 -1
- package/lib/restAPIs/logging/saveErrorToLog.js +3 -1
- package/lib/restAPIs/logging/saveErrorToLog.js.map +1 -1
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.d.ts +3 -0
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.js +62 -15
- package/lib/restAPIs/sites/groups/getGroupMembersAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebAssociatedGroupAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/groups/getWebAssociatedGroupAPI.js +43 -16
- package/lib/restAPIs/sites/groups/getWebAssociatedGroupAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.js +9 -13
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoBatchAPI.js +3 -3
- package/lib/restAPIs/sites/groups/getWebGroupInfoBatchAPI.js.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.js +10 -14
- package/lib/restAPIs/sites/sites/getSiteAPI.js.map +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersAPI.js +8 -14
- package/lib/restAPIs/sites/users/getSiteUsersAPI.js.map +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersBatchAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/users/getSiteUsersBatchAPI.js +6 -12
- package/lib/restAPIs/sites/users/getSiteUsersBatchAPI.js.map +1 -1
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts +3 -0
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSiteUsersBatchAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/sites/users/getSiteUsersBatchAPI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getSiteUsersBatchAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/sites/users/getSiteUsersBatchAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAG,MAAM,yDAAyD,CAAC;AAIxF,OAAO,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAEzF,wBAAsB,oBAAoB,CAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,eAAe,CAAC,CAwBzL"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { startPerformOpV2, updatePerformanceEndV2 } from '../../../components/molecules/Performance/functions';
|
|
2
|
-
import { checkItemsResults, } from '../../../components/molecules/process-results/CheckItemsResults';
|
|
3
1
|
import { check4This } from '../../../logic/Links/CheckSearch';
|
|
4
2
|
import { addFPSDigestToSourceProps } from '../../../components/molecules/SpHttp/digestValues/fromUrl/addFPSDigestToSourceProps';
|
|
5
3
|
import { getSiteUsersAPI } from './getSiteUsersAPI';
|
|
6
4
|
export async function getSiteUsersBatchAPI(sourceProps, filterBatches, alertMe, consoleLog) {
|
|
7
|
-
const performanceSettings = { label: `SiteGroupsBatch`, includeMsStr: true, updateMiliseconds: true, op: 'fetch' };
|
|
8
|
-
const fetchOp = startPerformOpV2(performanceSettings); // 2024-09-29: set null as any to pass build error.
|
|
9
5
|
// 2024-12-06: WARNING -- Avoid reassigning source props... use new variable to avoid race condition
|
|
10
6
|
const updatedSourceProps = await addFPSDigestToSourceProps(sourceProps);
|
|
11
7
|
const allReturns = await Promise.all(filterBatches.map((filter, idx) => {
|
|
@@ -13,15 +9,13 @@ export async function getSiteUsersBatchAPI(sourceProps, filterBatches, alertMe,
|
|
|
13
9
|
}));
|
|
14
10
|
const allUsers = [];
|
|
15
11
|
allReturns.map(returnX => { allUsers.push(...returnX.users); });
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
result.unifiedPerformanceOps.fetch = updatePerformanceEndV2({ op: fetchOp, updateMiliseconds: performanceSettings.updateMiliseconds, count: result.items ? result.items.length : 0 });
|
|
22
|
-
result.fetchOp = result.unifiedPerformanceOps.fetch;
|
|
12
|
+
const result = JSON.parse(JSON.stringify(allReturns[0]));
|
|
13
|
+
result.users = allUsers;
|
|
14
|
+
result.fpsContentType = ['user'];
|
|
15
|
+
result.unifiedPerformanceOps.fetch.label = `SiteUsersBatch`;
|
|
16
|
+
result.unifiedPerformanceOps.fetch.c = allUsers.length;
|
|
23
17
|
if (check4This(`fpsShowFetchResults=true`) === true) {
|
|
24
|
-
console.log(`fps-core-v7 COMPLETE:
|
|
18
|
+
console.log(`fps-core-v7 COMPLETE: getSiteUsersBatchAPI ~ 40`, result);
|
|
25
19
|
}
|
|
26
20
|
return result;
|
|
27
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSiteUsersBatchAPI.js","sourceRoot":"","sources":["../../../../src/restAPIs/sites/users/getSiteUsersBatchAPI.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getSiteUsersBatchAPI.js","sourceRoot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,KAAK,IAAI,EAAG;QAAE,OAAO,CAAC,GAAG,CAAE,iDAAiD,EAAE,MAAM,CAAE,CAAA;KAAE;IAErI,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -30,6 +30,9 @@ export interface IUnifiedPerformanceOps {
|
|
|
30
30
|
save?: IPerformanceOp;
|
|
31
31
|
create?: IPerformanceOp;
|
|
32
32
|
}
|
|
33
|
+
export type IUnifiedPerformanceOpsWithRequiredFetch = Omit<IUnifiedPerformanceOps, "fetch"> & {
|
|
34
|
+
fetch: IPerformanceOp;
|
|
35
|
+
};
|
|
33
36
|
export type IFpsErrorObjectOpKeys = 'fetchOp' | 'checkOp' | 'analyzeOp' | 'processOp' | 'renderOp' | 'saveOp' | 'createOp';
|
|
34
37
|
export interface IFpsErrorObject extends IBlankErrorObj {
|
|
35
38
|
errorInfo?: IHelpfullOutput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFpsErrorObject.d.ts","sourceRoot":"","sources":["../../../../src/types/fps-returns/common/IFpsErrorObject.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,OAAO,CAAC;IACZ,CAAC,EAAE,GAAG,CAAC;IACP,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACvC,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C;AAED,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,QAAQ,CAAC,EAA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