@mikezimm/fps-core-v7 1.0.50 → 1.0.51
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/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN.d.ts +2 -1
- package/lib/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN.d.ts.map +1 -1
- package/lib/types/@msft/1.17.3/ISPHttpClientResponse.d.ts +41 -0
- package/lib/types/@msft/1.17.3/ISPHttpClientResponse.d.ts.map +1 -0
- package/lib/types/@msft/1.17.3/ISPHttpClientResponse.js +6 -0
- package/lib/types/@msft/1.17.3/ISPHttpClientResponse.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ISPHttpClientResponse } from "../../../../types/@msft/1.17.3/ISPHttpClientResponse";
|
|
1
2
|
export interface IFpsSpHttpServiceMIN {
|
|
2
3
|
/**
|
|
3
4
|
* Fetches data from the specified SharePoint site collection.
|
|
@@ -6,7 +7,7 @@ export interface IFpsSpHttpServiceMIN {
|
|
|
6
7
|
* @param options - The options for the fetch request (method, headers, body).
|
|
7
8
|
* @returns A Promise containing the response data.
|
|
8
9
|
*/
|
|
9
|
-
fpsFetch
|
|
10
|
+
fpsFetch(apiEndpoint: string, options: RequestInit): Promise<ISPHttpClientResponse>;
|
|
10
11
|
}
|
|
11
12
|
export interface ISharePointService {
|
|
12
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFpsSpHttpServiceMIN.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IFpsSpHttpServiceMIN.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IAGJ,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACpF;AAGD,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEzF;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEhF;;;;;;;OAOG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEhG;;;;;;OAMG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAEjF;;;;;OAKG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;CAChE"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2024-12-22: These were derived from SPHttpClientResponse and HttpClientResponse
|
|
3
|
+
* and created here to have some interfaces without the depenency
|
|
4
|
+
*/
|
|
5
|
+
export interface ISPHttpClientResponse extends IHttpClientResponse {
|
|
6
|
+
redirected: any;
|
|
7
|
+
body: any;
|
|
8
|
+
/**
|
|
9
|
+
* @override
|
|
10
|
+
*/
|
|
11
|
+
clone(): ISPHttpClientResponse;
|
|
12
|
+
}
|
|
13
|
+
export interface IHttpClientResponse extends Response, Body {
|
|
14
|
+
nativeResponse: Response;
|
|
15
|
+
/**
|
|
16
|
+
* See documentation for the browser's
|
|
17
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Body | Body} API
|
|
18
|
+
*/
|
|
19
|
+
arrayBuffer(): Promise<ArrayBuffer>;
|
|
20
|
+
/**
|
|
21
|
+
* See documentation for the browser's
|
|
22
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Body | Body} API
|
|
23
|
+
*/
|
|
24
|
+
blob(): Promise<Blob>;
|
|
25
|
+
/**
|
|
26
|
+
* See documentation for the browser's
|
|
27
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Body | Body} API
|
|
28
|
+
*/
|
|
29
|
+
formData(): Promise<FormData>;
|
|
30
|
+
/**
|
|
31
|
+
* See documentation for the browser's
|
|
32
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Body | Body} API
|
|
33
|
+
*/
|
|
34
|
+
json(): Promise<any>;
|
|
35
|
+
/**
|
|
36
|
+
* See documentation for the browser's
|
|
37
|
+
* {@link https://developer.mozilla.org/en-US/docs/Web/API/Body | Body} API
|
|
38
|
+
*/
|
|
39
|
+
text(): Promise<string>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=ISPHttpClientResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISPHttpClientResponse.d.ts","sourceRoot":"","sources":["../../../../src/types/@msft/1.17.3/ISPHttpClientResponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAEhE,UAAU,EAAE,GAAG,CAAC;IAChB,IAAI,EAAE,GAAG,CAAC;IACV;;SAEK;IACL,KAAK,IAAI,qBAAqB,CAAC;CAChC;AAED,MAAM,WAAW,mBAAoB,SAAQ,QAAQ,EAAE,IAAI;IACzD,cAAc,EAAE,QAAQ,CAAC;IACzB;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IACpC;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACtB;;;OAGG;IACH,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC9B;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,CAAC;IACrB;;;OAGG;IACH,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISPHttpClientResponse.js","sourceRoot":"","sources":["../../../../src/types/@msft/1.17.3/ISPHttpClientResponse.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/package.json
CHANGED