@mikezimm/fps-core-v7 1.0.44 → 1.0.46
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/ItemPicker/functions/fetchFileList.d.ts.map +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchFileList.js.map +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchListList.d.ts.map +1 -1
- package/lib/banner/components/ItemPicker/functions/fetchListList.js.map +1 -1
- 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/atoms/easy-pages/interfaces/IEasyPagesPageHookProps.d.ts +1 -1
- package/lib/components/atoms/easy-pages/interfaces/IEasyPagesPageHookProps.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/IJSFetchReturn.d.ts +4 -3
- 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/SpFetchCommon.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/SpFetchCommon.js +19 -2
- package/lib/components/molecules/SpHttp/SpFetchCommon.js.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch copy.d.ts +1 -0
- package/lib/components/molecules/SpHttp/doSpJsFetch copy.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/doSpJsFetch copy.js +163 -0
- package/lib/components/molecules/SpHttp/doSpJsFetch copy.js.map +1 -0
- package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts +61 -2
- package/lib/components/molecules/SpHttp/doSpJsFetch.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFetch.js +271 -39
- package/lib/components/molecules/SpHttp/doSpJsFetch.js.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFileFetch.d.ts +3 -1
- package/lib/components/molecules/SpHttp/doSpJsFileFetch.d.ts.map +1 -1
- package/lib/components/molecules/SpHttp/doSpJsFileFetch.js +7 -8
- package/lib/components/molecules/SpHttp/doSpJsFileFetch.js.map +1 -1
- package/lib/components/molecules/SpHttp/headerInitUtilities.d.ts +21 -0
- package/lib/components/molecules/SpHttp/headerInitUtilities.d.ts.map +1 -0
- package/lib/components/molecules/SpHttp/headerInitUtilities.js +45 -0
- package/lib/components/molecules/SpHttp/headerInitUtilities.js.map +1 -0
- package/lib/components/molecules/process-results/CheckAnyResults.js +1 -1
- package/lib/components/molecules/process-results/CheckAnyResults.js.map +1 -1
- package/lib/components/molecules/process-results/CheckFpsTypesResults.d.ts +1 -0
- package/lib/components/molecules/process-results/CheckFpsTypesResults.d.ts.map +1 -0
- package/lib/components/molecules/process-results/CheckFpsTypesResults.js +45 -0
- package/lib/components/molecules/process-results/CheckFpsTypesResults.js.map +1 -0
- package/lib/components/molecules/process-results/CheckItemsResults.d.ts +1 -10
- package/lib/components/molecules/process-results/CheckItemsResults.d.ts.map +1 -1
- package/lib/components/molecules/process-results/CheckItemsResults.js +7 -6
- package/lib/components/molecules/process-results/CheckItemsResults.js.map +1 -1
- package/lib/components/molecules/process-results/IFpsItemsReturn.d.ts +14 -0
- package/lib/components/molecules/process-results/IFpsItemsReturn.d.ts.map +1 -0
- package/lib/components/molecules/process-results/IFpsItemsReturn.js +2 -0
- package/lib/components/molecules/process-results/IFpsItemsReturn.js.map +1 -0
- package/lib/components/molecules/process-results/Logging.d.ts +0 -2
- package/lib/components/molecules/process-results/Logging.d.ts.map +1 -1
- package/lib/components/molecules/process-results/Logging.js +47 -49
- package/lib/components/molecules/process-results/Logging.js.map +1 -1
- package/lib/components/molecules/process-results/createEmptyFpsErrorReturn.d.ts +1 -1
- package/lib/components/molecules/process-results/createEmptyFpsErrorReturn.d.ts.map +1 -1
- package/lib/components/molecules/process-results/createEmptyFpsItemsReturn.d.ts +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/process-results/createErrorFpsFileReturn.js +1 -1
- package/lib/components/molecules/process-results/createErrorFpsFileReturn.js.map +1 -1
- package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.d.ts +1 -1
- package/lib/components/molecules/process-results/createErrorFpsListItemsReturn.d.ts.map +1 -1
- package/lib/components/molecules/state-source/IStateSource.d.ts +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.d.ts +2 -3
- package/lib/restAPIs/lists/files/getFileEmbedUrl.d.ts.map +1 -1
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js +10 -11
- package/lib/restAPIs/lists/files/getFileEmbedUrl.js.map +1 -1
- package/lib/restAPIs/lists/files/postSourceFilesAPI.d.ts +1 -1
- package/lib/restAPIs/lists/files/postSourceFilesAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/files/postSourceFilesAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.d.ts +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js +57 -14
- package/lib/restAPIs/lists/items/getSourceItemsAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/postSourceItemsAPI.d.ts +1 -1
- package/lib/restAPIs/lists/items/postSourceItemsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/items/postSourceItemsAPI.js +7 -14
- package/lib/restAPIs/lists/items/postSourceItemsAPI.js.map +1 -1
- package/lib/restAPIs/lists/items/updateAnyItemAPI.d.ts +19 -0
- package/lib/restAPIs/lists/items/updateAnyItemAPI.d.ts.map +1 -0
- package/lib/restAPIs/lists/items/updateAnyItemAPI.js +71 -0
- package/lib/restAPIs/lists/items/updateAnyItemAPI.js.map +1 -0
- package/lib/restAPIs/lists/items/updateCommandItemAPI.d.ts +44 -0
- package/lib/restAPIs/lists/items/updateCommandItemAPI.d.ts.map +1 -0
- package/lib/restAPIs/lists/items/updateCommandItemAPI.js +75 -0
- package/lib/restAPIs/lists/items/updateCommandItemAPI.js.map +1 -0
- package/lib/restAPIs/lists/lists/getSourceListsAPI.d.ts +2 -2
- package/lib/restAPIs/lists/lists/getSourceListsAPI.d.ts.map +1 -1
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js +10 -13
- package/lib/restAPIs/lists/lists/getSourceListsAPI.js.map +1 -1
- package/lib/restAPIs/logging/saveErrorToLog.d.ts +2 -0
- package/lib/restAPIs/logging/saveErrorToLog.d.ts.map +1 -1
- package/lib/restAPIs/logging/saveErrorToLog.js +18 -9
- package/lib/restAPIs/logging/saveErrorToLog.js.map +1 -1
- package/lib/restAPIs/logging/saveErrorToLogOriginal.d.ts +1 -0
- package/lib/restAPIs/logging/saveErrorToLogOriginal.d.ts.map +1 -0
- package/lib/restAPIs/logging/saveErrorToLogOriginal.js +45 -0
- package/lib/restAPIs/logging/saveErrorToLogOriginal.js.map +1 -0
- 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 +61 -14
- 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 +44 -17
- 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 +8 -12
- package/lib/restAPIs/sites/groups/getWebGroupInfoAPI.js.map +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoBatchAPI.js +1 -1
- package/lib/restAPIs/sites/groups/getWebGroupInfoBatchAPI.js.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.d.ts +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.d.ts.map +1 -1
- package/lib/restAPIs/sites/sites/getSiteAPI.js +20 -23
- 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 +7 -13
- 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 +5 -11
- package/lib/restAPIs/sites/users/getSiteUsersBatchAPI.js.map +1 -1
- package/lib/types/fps-returns/common/IFPSBaseContentType.d.ts +8 -0
- package/lib/types/fps-returns/common/IFPSBaseContentType.d.ts.map +1 -1
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts +8 -2
- package/lib/types/fps-returns/common/IFpsErrorObject.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/IFpsSiteReturn.d.ts +1 -1
- package/lib/types/fps-returns/sites/IFpsSiteReturn.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/groups/IGroupReturns.d.ts +1 -1
- package/lib/types/fps-returns/sites/groups/IGroupReturns.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/update/IFPSItemUpdateResultObj.d.ts +2 -1
- package/lib/types/fps-returns/sites/update/IFPSItemUpdateResultObj.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/IFpsUsersReturn.d.ts +1 -1
- package/lib/types/fps-returns/sites/users/IFpsUsersReturn.d.ts.map +1 -1
- package/lib/types/fps-returns/sites/users/ISiteUserResults.d.ts +1 -1
- package/lib/types/fps-returns/sites/users/ISiteUserResults.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// // import { saveErrorToLog } from './Logging';
|
|
2
|
+
// import { makeid } from '../../../logic/Strings/guids';
|
|
3
|
+
// import { FPSResultCommonErrors } from '../../../types/fps-returns/common/IFPSResultStatus';
|
|
4
|
+
// import { convertHelpfullError, IHelpfullInput, IHelpfullOutput } from '../../../logic/Errors/friendly';
|
|
5
|
+
// import { check4This } from '../../../logic/Links/CheckSearch';
|
|
6
|
+
// import { IFPSBaseContentTypesAll, IFpsMappedTypes, IFpsMappedTypesPlural } from '../../../types/fps-returns/common/IFPSBaseContentType';
|
|
7
|
+
// import { IPerformanceOp } from '../Performance/IPerformance';
|
|
8
|
+
// import { saveErrorToLog } from '../../../restAPIs/logging/saveErrorToLog';
|
|
9
|
+
// import { IFpsItemsReturn } from './IFpsItemsReturn';
|
|
10
|
+
// export interface IFpsTypesReturn extends IFpsItemsReturn, IFpsMappedTypes, IFpsMappedTypesPlural {
|
|
11
|
+
// }
|
|
12
|
+
// export function checkFpsTypesResults ( type: IFPSBaseContentTypesAll, itemsInput: IFpsTypesReturn, traceString: string, alertMe: boolean | undefined , consoleLog: boolean | undefined ) : IFpsTypesReturn {
|
|
13
|
+
// //Clean up the raw error and return a human readable result
|
|
14
|
+
// itemsInput.refreshId = makeid( 7 );
|
|
15
|
+
// itemsInput.loaded = itemsInput.status === 'Success' ? true : false;
|
|
16
|
+
// if ( !itemsInput.fpsContentType ) itemsInput.fpsContentType = [];
|
|
17
|
+
// if ( !itemsInput.unifiedPerformanceOps ) itemsInput.unifiedPerformanceOps = { fetch: {} as IPerformanceOp };
|
|
18
|
+
// if ( FPSResultCommonErrors.indexOf( itemsInput.e ) > -1 ) {
|
|
19
|
+
// itemsInput.errorInfo = {
|
|
20
|
+
// errObj: itemsInput.e,
|
|
21
|
+
// friendly: itemsInput.e,
|
|
22
|
+
// result: itemsInput.e,
|
|
23
|
+
// returnMess: itemsInput.e,
|
|
24
|
+
// }
|
|
25
|
+
// } else if ( itemsInput.e ) {
|
|
26
|
+
// const errorInput: IHelpfullInput = { e: itemsInput.e, alertMe:alertMe , consoleLog: consoleLog , traceString: traceString ? traceString : 'fps-library-v2: checkItemsResults ~ 15' , logErrors: true };
|
|
27
|
+
// itemsInput.errorInput = errorInput;
|
|
28
|
+
// const errorInfo: IHelpfullOutput = convertHelpfullError( errorInput );
|
|
29
|
+
// itemsInput.errorInfo = errorInfo;
|
|
30
|
+
// if ( errorInfo.friendly.toLocaleLowerCase().indexOf('access') > -1
|
|
31
|
+
// || errorInfo.friendly.toLocaleLowerCase().indexOf('unauthorized') > -1 ) itemsInput.status = 'AccessDenied';
|
|
32
|
+
// saveErrorToLog( itemsInput.errorInfo, errorInput );
|
|
33
|
+
// } else if ( itemsInput.status === 'Error' ) {
|
|
34
|
+
// const err = itemsInput.e ? itemsInput.e : `${itemsInput.status} ${itemsInput.statusNo} ${itemsInput.statusText}`;
|
|
35
|
+
// itemsInput.errorInfo = {
|
|
36
|
+
// errObj: err,
|
|
37
|
+
// friendly: err,
|
|
38
|
+
// result: err,
|
|
39
|
+
// returnMess: err,
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
42
|
+
// if ( check4This(`checkResults=true`) === true ) { console.log( `fps-core-v7 COMPLETED: checkItemsResults ~ 25 -- ${traceString}`, itemsInput ) };
|
|
43
|
+
// return itemsInput;
|
|
44
|
+
// }
|
|
45
|
+
//# sourceMappingURL=CheckFpsTypesResults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckFpsTypesResults.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/CheckFpsTypesResults.ts"],"names":[],"mappings":"AACA,iDAAiD;AACjD,yDAAyD;AACzD,8FAA8F;AAC9F,0GAA0G;AAC1G,iEAAiE;AACjE,2IAA2I;AAC3I,gEAAgE;AAChE,6EAA6E;AAC7E,uDAAuD;AAEvD,qGAAqG;AAErG,IAAI;AAEJ,+MAA+M;AAC/M,gEAAgE;AAEhE,wCAAwC;AACxC,wEAAwE;AACxE,sEAAsE;AAEtE,iHAAiH;AAEjH,gEAAgE;AAChE,+BAA+B;AAC/B,8BAA8B;AAC9B,gCAAgC;AAChC,8BAA8B;AAC9B,kCAAkC;AAClC,QAAQ;AAER,iCAAiC;AACjC,8MAA8M;AAC9M,0CAA0C;AAE1C,6EAA6E;AAC7E,wCAAwC;AAExC,yEAAyE;AACzE,qHAAqH;AAErH,0DAA0D;AAE1D,kDAAkD;AAClD,wHAAwH;AACxH,+BAA+B;AAC/B,qBAAqB;AACrB,uBAAuB;AACvB,qBAAqB;AACrB,yBAAyB;AACzB,QAAQ;AACR,MAAM;AAEN,sJAAsJ;AAEtJ,uBAAuB;AAEvB,IAAI"}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IFPSBaseContentType } from "../../../types/fps-returns/common/IFPSBaseContentType";
|
|
3
|
-
export interface IFpsItemsReturn extends IFpsErrorObject {
|
|
4
|
-
items?: any[];
|
|
5
|
-
item?: any;
|
|
6
|
-
unifiedPerformanceOps: IUnifiedPerformanceOps;
|
|
7
|
-
itemUrl?: string;
|
|
8
|
-
itemUrls?: string[];
|
|
9
|
-
fpsContentType: IFPSBaseContentType[];
|
|
10
|
-
}
|
|
1
|
+
import { IFpsItemsReturn } from './IFpsItemsReturn';
|
|
11
2
|
export declare function checkItemsResults(itemsInput: IFpsItemsReturn, traceString: string, alertMe: boolean | undefined, consoleLog: boolean | undefined): IFpsItemsReturn;
|
|
12
3
|
//# sourceMappingURL=CheckItemsResults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckItemsResults.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/CheckItemsResults.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckItemsResults.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/CheckItemsResults.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,wBAAgB,iBAAiB,CAAG,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAG,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,eAAe,CA2CvK"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { saveErrorToLog } from
|
|
2
|
-
import { makeid } from
|
|
3
|
-
import { FPSResultCommonErrors } from
|
|
4
|
-
import { convertHelpfullError } from
|
|
5
|
-
import { check4This } from
|
|
1
|
+
// import { saveErrorToLog } from './Logging';
|
|
2
|
+
import { makeid } from '../../../logic/Strings/guids';
|
|
3
|
+
import { FPSResultCommonErrors } from '../../../types/fps-returns/common/IFPSResultStatus';
|
|
4
|
+
import { convertHelpfullError } from '../../../logic/Errors/friendly';
|
|
5
|
+
import { check4This } from '../../../logic/Links/CheckSearch';
|
|
6
|
+
import { saveErrorToLog } from '../../../restAPIs/logging/saveErrorToLog';
|
|
6
7
|
export function checkItemsResults(itemsInput, traceString, alertMe, consoleLog) {
|
|
7
8
|
//Clean up the raw error and return a human readable result
|
|
8
9
|
itemsInput.refreshId = makeid(7);
|
|
@@ -10,7 +11,7 @@ export function checkItemsResults(itemsInput, traceString, alertMe, consoleLog)
|
|
|
10
11
|
if (!itemsInput.fpsContentType)
|
|
11
12
|
itemsInput.fpsContentType = [];
|
|
12
13
|
if (!itemsInput.unifiedPerformanceOps)
|
|
13
|
-
itemsInput.unifiedPerformanceOps = {};
|
|
14
|
+
itemsInput.unifiedPerformanceOps = { fetch: {} };
|
|
14
15
|
if (FPSResultCommonErrors.indexOf(itemsInput.e) > -1) {
|
|
15
16
|
itemsInput.errorInfo = {
|
|
16
17
|
errObj: itemsInput.e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckItemsResults.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/CheckItemsResults.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"CheckItemsResults.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/CheckItemsResults.ts"],"names":[],"mappings":"AACA,8CAA8C;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,OAAO,EAAE,oBAAoB,EAAmC,MAAM,gCAAgC,CAAC;AACvG,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAG1E,MAAM,UAAU,iBAAiB,CAAG,UAA2B,EAAE,WAAmB,EAAE,OAA4B,EAAG,UAA+B;IAClJ,2DAA2D;IAE3D,UAAU,CAAC,SAAS,GAAG,MAAM,CAAE,CAAC,CAAE,CAAC;IACnC,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACnE,IAAK,CAAC,UAAU,CAAC,cAAc;QAAG,UAAU,CAAC,cAAc,GAAG,EAAE,CAAC;IAEjE,IAAK,CAAC,UAAU,CAAC,qBAAqB;QAAG,UAAU,CAAC,qBAAqB,GAAG,EAAE,KAAK,EAAE,EAAoB,EAAE,CAAC;IAE5G,IAAK,qBAAqB,CAAC,OAAO,CAAE,UAAU,CAAC,CAAC,CAAE,GAAG,CAAC,CAAC,EAAG;QACxD,UAAU,CAAC,SAAS,GAAG;YACrB,MAAM,EAAE,UAAU,CAAC,CAAC;YACpB,QAAQ,EAAE,UAAU,CAAC,CAAC;YACtB,MAAM,EAAE,UAAU,CAAC,CAAC;YACpB,UAAU,EAAE,UAAU,CAAC,CAAC;SACzB,CAAA;KAEF;SAAM,IAAK,UAAU,CAAC,C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pB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IFPSBaseContentType } from "../../../types/fps-returns/common/IFPSBaseContentType";
|
|
2
|
+
import { IFpsErrorObject, IUnifiedPerformanceOpsWithRequiredFetch } from "../../../types/fps-returns/common/IFpsErrorObject";
|
|
3
|
+
import { IJSFetchMethod } from "../SpHttp/IJSFetchReturn";
|
|
4
|
+
export interface IFpsItemsReturn extends IFpsErrorObject {
|
|
5
|
+
items?: any[];
|
|
6
|
+
item?: any;
|
|
7
|
+
unifiedPerformanceOps: IUnifiedPerformanceOpsWithRequiredFetch;
|
|
8
|
+
itemUrl?: string;
|
|
9
|
+
itemUrls?: string[];
|
|
10
|
+
fpsContentType: IFPSBaseContentType[];
|
|
11
|
+
fetchAPI: string;
|
|
12
|
+
method: IJSFetchMethod;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=IFpsItemsReturn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFpsItemsReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/IFpsItemsReturn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,uCAAuC,EAAE,MAAM,mDAAmD,CAAC;AAC7H,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,qBAAqB,EAAE,uCAAuC,CAAC;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,mBAAmB,EAAE,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,cAAc,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFpsItemsReturn.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/IFpsItemsReturn.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logging.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/Logging.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logging.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/Logging.ts"],"names":[],"mappings":""}
|
|
@@ -1,50 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
// alert(TEMPAlert);
|
|
49
|
-
}
|
|
1
|
+
// import { IHelpfullInput, IHelpfullOutput } from "../../../logic/Errors/friendly";
|
|
2
|
+
// import { getCurrentPageLink, getUrlVarsAsStrings } from "../../../logic/Links/UrlFunctions";
|
|
3
|
+
// import { SecureCDNalyticsWebAbsolute } from "../../../restAPIs/logging/interfaces/constants";
|
|
4
|
+
// import { IZMinErrorAnalytics, } from "../../atoms/easy-analytics/interfaces/analytics";
|
|
5
|
+
// import { getThisFPSDigestValueFromUrl } from "../SpHttp/digestValues/fromUrl/getThisFPSDigestValueFromUrl";
|
|
6
|
+
// import { doSpJsFetchOrPost } from "../SpHttp/doSpJsFetch";
|
|
7
|
+
// export async function saveErrorToLog(errorInfo: IHelpfullOutput, errorInput: IHelpfullInput) : Promise<void> {
|
|
8
|
+
// //Return if you are not supposed to log an error
|
|
9
|
+
// if ( errorInput.logErrors !== true ) { return ; }
|
|
10
|
+
// // https://github.com/mikezimm/fps-library-v2/issues/15
|
|
11
|
+
// if ( !errorInfo ) { return ; }
|
|
12
|
+
// const muteConsole = true;
|
|
13
|
+
// const { traceString, e, alertMe, consoleLog, logErrors } = errorInput;
|
|
14
|
+
// let trace: string[] = traceString ? traceString.split('|') : [];
|
|
15
|
+
// let getParams: string = JSON.stringify(getUrlVarsAsStrings());
|
|
16
|
+
// let parsedMessage = errorInfo.returnMess.split('-- FULL ERROR MESSAGE:');
|
|
17
|
+
// let zzzRichText1 = parsedMessage.length > 0 ? parsedMessage[0] : 'No friendly error';
|
|
18
|
+
// let zzzRichText2 = parsedMessage.length > 0 ? parsedMessage[1] : errorInfo.returnMess;
|
|
19
|
+
// let saveItem: IZMinErrorAnalytics = {
|
|
20
|
+
// // https://github.com/fps-solutions/HubCon/issues/103
|
|
21
|
+
// __metadata: { type: `` },
|
|
22
|
+
// Title: trace[0],
|
|
23
|
+
// Result: trace[3] ? trace[3] : null as any,
|
|
24
|
+
// zzzText1: trace[4] ? trace[4] : null as any,
|
|
25
|
+
// zzzText2: trace[5] ? trace[5] : null as any,
|
|
26
|
+
// zzzText3: trace[6] ? trace[6] : null as any,
|
|
27
|
+
// zzzText6: typeof alertMe === 'string' ? alertMe : `${alertMe}`,
|
|
28
|
+
// zzzText7: typeof consoleLog === 'string' ? consoleLog : `${consoleLog}`,
|
|
29
|
+
// zzzNumber1: trace[7] ? trace[7] : null as any,
|
|
30
|
+
// zzzNumber2: trace[8] ? trace[8] : null as any,
|
|
31
|
+
// getParams: getParams,
|
|
32
|
+
// PageLink: getCurrentPageLink(),
|
|
33
|
+
// zzzRichText1: zzzRichText1,
|
|
34
|
+
// zzzRichText2: zzzRichText2,
|
|
35
|
+
// };
|
|
36
|
+
// let absoluteWebUrl = trace[1] ? trace[1] : `${SecureCDNalyticsWebAbsolute}`;
|
|
37
|
+
// let list = trace[2] ? trace[2] : 'GeneralErrorLog';
|
|
38
|
+
// // https://github.com/fps-solutions/HubCon/issues/103
|
|
39
|
+
// // Required for non-PnpJS POST operations
|
|
40
|
+
// saveItem.__metadata = { type: `SP.Data.${list}ListItem` };
|
|
41
|
+
// // https://github.com/fps-solutions/HubCon/issues/103
|
|
42
|
+
// const formDigestValue: string = await getThisFPSDigestValueFromUrl( absoluteWebUrl );
|
|
43
|
+
// let postAPI: string = `${absoluteWebUrl}/_api/web/lists/getbytitle('${list}')/items`;
|
|
44
|
+
// doSpJsFetchOrPost(postAPI, 'POST', formDigestValue, '', saveItem, );
|
|
45
|
+
// // const TEMPAlert = `saveErrorToLog Alert:\n\nerrorInfo\n${JSON.stringify(errorInfo)}\n\nerrorInput:\n\nerrorInput\n${errorInput}`
|
|
46
|
+
// // alert(TEMPAlert);
|
|
47
|
+
// }
|
|
50
48
|
//# sourceMappingURL=Logging.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logging.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/Logging.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Logging.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/Logging.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+FAA+F;AAC/F,gGAAgG;AAChG,0FAA0F;AAC1F,8GAA8G;AAC9G,6DAA6D;AAE7D,iHAAiH;AAEjH,qDAAqD;AACrD,sDAAsD;AAEtD,4DAA4D;AAC5D,mCAAmC;AAEnC,8BAA8B;AAC9B,2EAA2E;AAE3E,qEAAqE;AAErE,mEAAmE;AACnE,8EAA8E;AAC9E,0FAA0F;AAC1F,2FAA2F;AAE3F,0CAA0C;AAC1C,4DAA4D;AAC5D,gCAAgC;AAChC,uBAAuB;AAEvB,iDAAiD;AAEjD,mDAAmD;AACnD,mDAAmD;AACnD,mDAAmD;AAEnD,sEAAsE;AACtE,+EAA+E;AAE/E,qDAAqD;AACrD,qDAAqD;AAErD,4BAA4B;AAC5B,sCAAsC;AACtC,kCAAkC;AAClC,kCAAkC;AAClC,OAAO;AAGP,iFAAiF;AACjF,wDAAwD;AAExD,0DAA0D;AAC1D,8CAA8C;AAC9C,+DAA+D;AAE/D,0DAA0D;AAC1D,0FAA0F;AAE1F,0FAA0F;AAE1F,yEAAyE;AAEzE,wIAAwI;AACxI,yBAAyB;AACzB,IAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEmptyFpsErrorReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsErrorReturn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createEmptyFpsErrorReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsErrorReturn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,wBAAgB,yBAAyB,IAAI,eAAe,CAE3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEmptyFpsItemsReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsItemsReturn.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createEmptyFpsItemsReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsItemsReturn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,wBAAgB,yBAAyB,IAAI,eAAe,CAE3D"}
|
|
@@ -10,7 +10,9 @@ const EmptyFpsItemsReturn = {
|
|
|
10
10
|
// statusText?: string;
|
|
11
11
|
fpsContentType: [],
|
|
12
12
|
item: null,
|
|
13
|
+
fetchAPI: '',
|
|
14
|
+
method: '',
|
|
13
15
|
items: [],
|
|
14
|
-
unifiedPerformanceOps: {},
|
|
16
|
+
unifiedPerformanceOps: { fetch: {} },
|
|
15
17
|
};
|
|
16
18
|
//# sourceMappingURL=createEmptyFpsItemsReturn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEmptyFpsItemsReturn.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsItemsReturn.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createEmptyFpsItemsReturn.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createEmptyFpsItemsReturn.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,yBAAyB;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,MAAM,mBAAmB,GAAoB;IAC3C,iEAAiE;IACjE,EAAE,EAAE,IAAW;IACf,CAAC,EAAE,IAAI;IACP,MAAM,EAAE,SAAS;IACjB,qBAAqB;IACrB,uBAAuB;IACvB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAW;IACnB,KAAK,EAAE,EAAE;IACT,qBAAqB,EAAE,EAAE,KAAK,EAAE,EAAoB,EAAE;CACvD,CAAC"}
|
|
@@ -3,7 +3,7 @@ export function createErrorFpsFileReturn(webUrl, FileByServerRelativePath) {
|
|
|
3
3
|
const results = createEmptyFpsErrorReturn();
|
|
4
4
|
results.statusText = `${!webUrl ? 'NoWebUrl' : ''} ${!FileByServerRelativePath ? 'Missing File Path' : ''}`;
|
|
5
5
|
results.status = !webUrl ? 'NoWeb' : !FileByServerRelativePath ? 'MissingFilePath' : 'Error';
|
|
6
|
-
results.
|
|
6
|
+
results.itemUrl = '';
|
|
7
7
|
return results;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=createErrorFpsFileReturn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createErrorFpsFileReturn.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createErrorFpsFileReturn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,UAAU,wBAAwB,CAAC,MAAiC,EAAE,wBAAmD;IAC7H,MAAM,OAAO,GAAuB,yBAAyB,EAAwB,CAAC;IACtF,OAAO,CAAC,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAC5G,OAAO,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC;IAC7F,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"createErrorFpsFileReturn.js","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createErrorFpsFileReturn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,UAAU,wBAAwB,CAAC,MAAiC,EAAE,wBAAmD;IAC7H,MAAM,OAAO,GAAuB,yBAAyB,EAAwB,CAAC;IACtF,OAAO,CAAC,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAC5G,OAAO,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC;IAC7F,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;IACrB,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IFpsItemsReturn } from
|
|
1
|
+
import { IFpsItemsReturn } from './IFpsItemsReturn';
|
|
2
2
|
export declare function createErrorFpsListReturn(absoluteWebUrl: string | undefined | null, listTitle: string | undefined | null): IFpsItemsReturn;
|
|
3
3
|
//# sourceMappingURL=createErrorFpsListItemsReturn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createErrorFpsListItemsReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createErrorFpsListItemsReturn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createErrorFpsListItemsReturn.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/process-results/createErrorFpsListItemsReturn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,wBAAgB,wBAAwB,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,eAAe,CAKzI"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFpsItemsReturn } from
|
|
1
|
+
import { IFpsItemsReturn } from '../process-results/IFpsItemsReturn';
|
|
2
2
|
import { IFPSBaseContentType } from "../../../types/fps-returns/common/IFPSBaseContentType";
|
|
3
3
|
import { IMinSourceFetchProps } from "../source-props/IMinSourceFetchProps";
|
|
4
4
|
import { IAnySourceItem } from "../AnyContent/IAnyContent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IStateSource.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/state-source/IStateSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IStateSource.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/state-source/IStateSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uDAAuD,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAG5E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAIvE,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IAGf,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IAGjB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,cAAc,EAAE,mBAAmB,EAAE,CAAC;IACtC,mBAAmB,EAAE,oBAAoB,CAAC;CAC3C;AAED,eAAO,MAAM,gBAAgB,EAAE,YA6B9B,CAAA"}
|
|
@@ -18,7 +18,9 @@ export const EmptyStateSource = {
|
|
|
18
18
|
ok: null,
|
|
19
19
|
misc1: [],
|
|
20
20
|
fpsContentType: [],
|
|
21
|
-
|
|
21
|
+
fetchAPI: '',
|
|
22
|
+
method: '',
|
|
23
|
+
unifiedPerformanceOps: { fetch: {} },
|
|
22
24
|
minSourceFetchProps: {
|
|
23
25
|
// Host does NOT have protocal, Origin has protocal and tenant
|
|
24
26
|
refreshId: makeid(5),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IStateSource.js","sourceRoot":"","sources":["../../../../src/components/molecules/state-source/IStateSource.ts"],"names":[],"mappings":"AAIA,sGAAsG;AACtG,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"IStateSource.js","sourceRoot":"","sources":["../../../../src/components/molecules/state-source/IStateSource.ts"],"names":[],"mappings":"AAIA,sGAAsG;AACtG,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAwCvF,MAAM,CAAC,MAAM,gBAAgB,GAAiB;IAC5C,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,KAAK;IACb,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;IACpB,MAAM,EAAE,SAAS;IACjB,CAAC,EAAE,IAAI;IACP,qFAAqF;IACrF,EAAE,EAAE,IAAW;IACf,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,EAAE;IAClB,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAW;IACnB,qBAAqB,EAAE,EAAE,KAAK,EAAE,EAAoB,EAAE;IACtD,mBAAmB,EAAE;QACnB,8DAA8D;QAC9D,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;QACpB,MAAM,EAAE,aAAa;QACrB,cAAc,EAAE,GAAG,aAAc,EAAE;QACnC,MAAM,EAAE,EAAE;QACV,SAAS,EAAE,EAAE;QACb,UAAU,EAAE,CAAC,CAAC;KACf;CACF,CAAA"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { createErrorFpsListReturn } from '@mikezimm/fps-core-v7/lib/components/molecules/process-results/createErrorFpsListItemsReturn';
|
|
8
8
|
import { doSpJsFileFetchOrPost } from '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFileFetch';
|
|
9
9
|
*/
|
|
10
|
-
import { IFpsItemsReturn } from '../../../components/molecules/process-results/
|
|
10
|
+
import { IFpsItemsReturn } from '../../../components/molecules/process-results/IFpsItemsReturn';
|
|
11
11
|
export interface IMinEmbedUrlFetchProps {
|
|
12
12
|
webUrl: string;
|
|
13
13
|
FileByServerRelativePath: string;
|
|
@@ -16,7 +16,6 @@ export interface IMinEmbedUrlFetchProps {
|
|
|
16
16
|
digestValue: string;
|
|
17
17
|
}
|
|
18
18
|
export interface IAttachmentsReturn extends IFpsItemsReturn {
|
|
19
|
-
url: string;
|
|
20
19
|
}
|
|
21
20
|
/**
|
|
22
21
|
* 2024-12-05: Migrated from fetchFileEmbedUrl in fps-Pnp2/lib\services\sp\fetch\items\fetchFileEmbedUrl
|
|
@@ -33,5 +32,5 @@ export interface IAttachmentsReturn extends IFpsItemsReturn {
|
|
|
33
32
|
* @param consoleLog
|
|
34
33
|
* @returns
|
|
35
34
|
*/
|
|
36
|
-
export declare function getFileEmbedUrl(fetchProps: IMinEmbedUrlFetchProps): Promise<
|
|
35
|
+
export declare function getFileEmbedUrl(fetchProps: IMinEmbedUrlFetchProps): Promise<IFpsItemsReturn>;
|
|
37
36
|
//# sourceMappingURL=getFileEmbedUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileEmbedUrl.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/getFileEmbedUrl.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"getFileEmbedUrl.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/getFileEmbedUrl.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAShG,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,wBAAwB,EAAE,MAAM,CAAC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,eAAe;CAE1D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,eAAe,CAAE,UAAU,EAAE,sBAAsB,GAAM,OAAO,CAAC,eAAe,CAAC,CAyDtG"}
|
|
@@ -7,12 +7,11 @@
|
|
|
7
7
|
import { createErrorFpsListReturn } from '@mikezimm/fps-core-v7/lib/components/molecules/process-results/createErrorFpsListItemsReturn';
|
|
8
8
|
import { doSpJsFileFetchOrPost } from '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFileFetch';
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
11
|
-
import { startPerformOpV2, updatePerformanceEndV2 } from "../../../components/molecules/Performance/functions";
|
|
10
|
+
import { startPerformOpV2, } from "../../../components/molecules/Performance/functions";
|
|
12
11
|
import { check4This } from "../../../logic/Links/CheckSearch";
|
|
13
12
|
import { createErrorFpsFileReturn } from '../../../components/molecules/process-results/createErrorFpsFileReturn';
|
|
14
13
|
import { makeAbsoluteUrl } from "../../../logic/Strings/getSiteCollectionUrlFromLink";
|
|
15
|
-
import {
|
|
14
|
+
import { doSpJsFetchOrPostAndCheck } from '../../../components/molecules/SpHttp/doSpJsFetch';
|
|
16
15
|
/**
|
|
17
16
|
* 2024-12-05: Migrated from fetchFileEmbedUrl in fps-Pnp2/lib\services\sp\fetch\items\fetchFileEmbedUrl
|
|
18
17
|
* NOTE: You need a CURRENT digest value in source props or it will fetch one... if this is a batch op, be sure to fetch and include once for performance
|
|
@@ -48,22 +47,22 @@ export async function getFileEmbedUrl(fetchProps) {
|
|
|
48
47
|
let decodedLink = decodeURI(FileByServerRelativePath);
|
|
49
48
|
let fetchAPI = `${useUrl}/_api/web/getFileByServerRelativePath(decodedurl='${decodedLink}')`;
|
|
50
49
|
fetchAPI += `&$select=*,ServerRedirectedEmbedUrl`;
|
|
51
|
-
const
|
|
52
|
-
const result = checkItemsResults(initialResult, `fps-core-v7: postSourceItems ~ 46`, alertMe, true);
|
|
50
|
+
const result = await doSpJsFetchOrPostAndCheck(fetchAPI, 'GET', digestValue ? digestValue : '', '', alertMe, false, 'file', null);
|
|
51
|
+
// const result : IAttachmentsReturn = checkItemsResults( initialResult, `fps-core-v7: postSourceItems ~ 46`, alertMe, true ) as IAttachmentsReturn;
|
|
53
52
|
// 2024-12-05: THIS IS UNVERIFIED
|
|
54
|
-
result.
|
|
55
|
-
result.fpsContentType = ['file', 'item'];
|
|
53
|
+
result.itemUrl = result.item.ServerRedirectedEmbedUrl;
|
|
54
|
+
// result.fpsContentType = [ 'file', 'item' ];
|
|
56
55
|
// 2024-12-05: changed if to test result, not sourceProps... was getting error reading indexOf
|
|
57
56
|
// if ( result.fpsContentType.indexOf( 'item' ) < 0 ) result.fpsContentType.push( 'item' );
|
|
58
57
|
// if ( result.fpsContentType.indexOf( 'file' ) < 0 ) result.fpsContentType.push( 'file' );
|
|
59
|
-
result.unifiedPerformanceOps.fetch = updatePerformanceEndV2({ op: thisPerformance, updateMiliseconds: true, count: 1 });
|
|
60
|
-
result.fetchOp = result.unifiedPerformanceOps.save;
|
|
58
|
+
// result.unifiedPerformanceOps.fetch = updatePerformanceEndV2( { op: thisPerformance as IPerformanceOp, updateMiliseconds: true, count: 1 }) as IPerformanceOp;
|
|
59
|
+
// result.fetchOp = result.unifiedPerformanceOps.save;
|
|
61
60
|
if (check4This(`fpsShowFetchResults=true`) === true) {
|
|
62
61
|
console.log(`fps-core-v7 COMPLETE: postSourceItems ~ 56`, result);
|
|
63
62
|
}
|
|
64
63
|
if (ThenGo === true) {
|
|
65
|
-
if (result.
|
|
66
|
-
window.open(result.
|
|
64
|
+
if (result.itemUrl) {
|
|
65
|
+
window.open(result.itemUrl, '_blank');
|
|
67
66
|
}
|
|
68
67
|
else {
|
|
69
68
|
window.open(decodedLink, '_blank');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFileEmbedUrl.js","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/getFileEmbedUrl.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"getFileEmbedUrl.js","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/getFileEmbedUrl.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAGH,OAAO,EAAE,gBAAgB,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AAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,CAAE,CAAC;IAEpI,oJAAoJ;IAEpJ,kCAAkC;IAClC,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC;IAEtD,8CAA8C;IAE9C,+FAA+F;IAC/F,2FAA2F;IAC3F,2FAA2F;IAG3F,gKAAgK;IAEhK,sDAAsD;IAEtD,IAAK,UAAU,CAAE,0BAA0B,CAAE,KAAK,IAAI,EAAG;QAAE,OAAO,CAAC,GAAG,CAAE,4CAA4C,EAAE,MAAM,CAAE,CAAA;KAAE;IAEhI,IAAK,MAAM,KAAK,IAAI,EAAG;QACrB,IAAK,MAAM,CAAC,OAAO,EAAG;YACpB,MAAM,CAAC,IAAI,CAAE,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAE,CAAE;SAC1C;aAAM;YACL,MAAM,CAAC,IAAI,CAAE,WAAW,EAAE,QAAQ,CAAE,CAAE;SACvC;KACF;IAED,OAAO,MAAM,CAAC;AAEhB,CAAC"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { doSpJsFileFetchOrPost } from '@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/doSpJsFileFetch';
|
|
9
9
|
*/
|
|
10
10
|
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps';
|
|
11
|
-
import { IFpsItemsReturn } from '../../../components/molecules/process-results/
|
|
11
|
+
import { IFpsItemsReturn } from '../../../components/molecules/process-results/IFpsItemsReturn';
|
|
12
12
|
/**
|
|
13
13
|
* NOTE: You need a CURRENT digest value in source props or it will fetch one... if this is a batch op, be sure to fetch and include once for performance
|
|
14
14
|
* @param sourceProps
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postSourceFilesAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/postSourceFilesAPI.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAA+C,MAAM,yDAAyD,CAAC;
|
|
1
|
+
{"version":3,"file":"postSourceFilesAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/postSourceFilesAPI.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAE,YAAY,EAA+C,MAAM,yDAAyD,CAAC;AAEpI,OAAO,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAShG;;;;;;;;;GASG;AACH,wBAAsB,kBAAkB,CAAE,WAAW,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAG,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,eAAe,CAAC,CAiDjN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postSourceFilesAPI.js","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/postSourceFilesAPI.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAgB,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC,CAAC,iBAAiB;AACtJ,OAAO,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"postSourceFilesAPI.js","sourceRoot":"","sources":["../../../../src/restAPIs/lists/files/postSourceFilesAPI.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AAEH,OAAO,EAAgB,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC,CAAC,iBAAiB;AACtJ,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAEpG,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC/G,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6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AC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 2024-09-29: Migrated from src\pnpjs\SourceItems\getSourceItems.ts
|
|
3
3
|
*/
|
|
4
4
|
import { ISourceProps } from '../../../components/molecules/source-props/ISourceProps';
|
|
5
|
-
import { IFpsItemsReturn } from '../../../components/molecules/process-results/
|
|
5
|
+
import { IFpsItemsReturn } from '../../../components/molecules/process-results/IFpsItemsReturn';
|
|
6
6
|
export declare const UniquePermsFilter = "HasUniqueRoleAssignments eq true";
|
|
7
7
|
export declare const UniquePermsHiddenFilter: string;
|
|
8
8
|
export declare function getSourceItemsUniquePermissionsAPI(sourceProps: ISourceProps, alertMe: boolean | undefined, consoleLog: boolean | undefined): Promise<IFpsItemsReturn>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSourceItemsAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/items/getSourceItemsAPI.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAA+C,MAAM,yDAAyD,CAAC;AACpI,OAAO,
|
|
1
|
+
{"version":3,"file":"getSourceItemsAPI.d.ts","sourceRoot":"","sources":["../../../../src/restAPIs/lists/items/getSourceItemsAPI.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAA+C,MAAM,yDAAyD,CAAC;AACpI,OAAO,EAAE,eAAe,EAAE,MAAM,+DAA+D,CAAC;AAOhG,eAAO,MAAM,iBAAiB,qCAAqC,CAAC;AACpE,eAAO,MAAM,uBAAuB,QAAgD,CAAC;AAErF,wBAAsB,kCAAkC,CAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,eAAe,CAAC,CAM9K;AACD;;;;;;;;;;GAUG;AAEH,wBAAsB,iBAAiB,CAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,SAAS,GAAK,OAAO,CAAC,eAAe,CAAC,CA8D7J"}
|