@mikezimm/fps-core-v7 1.0.2 → 1.0.4
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/types/@pnp/@2.14.0/common/collections.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/common/collections.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/collections.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/collections.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.d.ts +41 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/libconfig.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/net.d.ts +38 -0
- package/lib/types/@pnp/@2.14.0/common/net.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/common/net.js +6 -0
- package/lib/types/@pnp/@2.14.0/common/net.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.d.ts +45 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.js +6 -0
- package/lib/types/@pnp/@2.14.0/logging/logger.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.js +7 -0
- package/lib/types/@pnp/@2.14.0/odata/batch.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.d.ts +10 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/caching.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.d.ts +14 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-binder.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/invokable-extensions.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.d.ts +9 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/parsers.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.d.ts +19 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/pipeline.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.d.ts +48 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.js +6 -0
- package/lib/types/@pnp/@2.14.0/odata/queryable.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.d.ts +53 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/attachments.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.d.ts +214 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/clientside-pages.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/features.d.ts +35 -0
- package/lib/types/@pnp/@2.14.0/sp/features.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/features.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/features.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.d.ts +220 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/fields.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts +187 -0
- package/lib/types/@pnp/@2.14.0/sp/files.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/files.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/files.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.d.ts +118 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.js +2 -0
- package/lib/types/@pnp/@2.14.0/sp/folders.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.d.ts +30 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/forms.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.d.ts +56 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/hubsites.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/items.d.ts +106 -0
- package/lib/types/@pnp/@2.14.0/sp/items.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/items.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/items.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.d.ts +388 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/lists.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.d.ts +108 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/navigation.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts +234 -0
- package/lib/types/@pnp/@2.14.0/sp/security.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/security.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/security.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.d.ts +34 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.js +7 -0
- package/lib/types/@pnp/@2.14.0/sp/sharepointqueryable.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.d.ts +45 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/site-groups.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.d.ts +88 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/site-users.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.d.ts +82 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/sites.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts +89 -0
- package/lib/types/@pnp/@2.14.0/sp/types.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/types.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/types.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.d.ts +71 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/user-custom-actions.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.d.ts +11 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/utils/toResourcePath.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/views.d.ts +97 -0
- package/lib/types/@pnp/@2.14.0/sp/views.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/views.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/views.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.d.ts +57 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/webparts.js.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.d.ts +128 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.d.ts.map +1 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.js +6 -0
- package/lib/types/@pnp/@2.14.0/sp/webs.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from node_modules\@pnp\common\collections.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Interface defining an object with a known property type
|
|
7
|
+
*/
|
|
8
|
+
export interface ITypedHash<T> {
|
|
9
|
+
[key: string]: T;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=collections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/collections.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/collections.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from node_modules\@pnp\common\libconfig.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { ITypedHash } from "./collections.js";
|
|
6
|
+
export interface ILibraryConfiguration {
|
|
7
|
+
/**
|
|
8
|
+
* Allows caching to be global disabled, default: false
|
|
9
|
+
*/
|
|
10
|
+
globalCacheDisable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the default store used by the usingCaching method, default: session
|
|
13
|
+
*/
|
|
14
|
+
defaultCachingStore?: "session" | "local";
|
|
15
|
+
/**
|
|
16
|
+
* Defines the default timeout in seconds used by the usingCaching method, default 30
|
|
17
|
+
*/
|
|
18
|
+
defaultCachingTimeoutSeconds?: number;
|
|
19
|
+
/**
|
|
20
|
+
* If true a timeout expired items will be removed from the cache in intervals determined by cacheTimeoutInterval
|
|
21
|
+
*/
|
|
22
|
+
enableCacheExpiration?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Determines the interval in milliseconds at which the cache is checked to see if items have expired (min: 100)
|
|
25
|
+
*/
|
|
26
|
+
cacheExpirationIntervalMilliseconds?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Used to supply the current context from an SPFx webpart to the library
|
|
29
|
+
*/
|
|
30
|
+
spfxContext?: any;
|
|
31
|
+
/**
|
|
32
|
+
* Used to place the library in ie11 compat mode. Some features may not work as expected
|
|
33
|
+
*/
|
|
34
|
+
ie11?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface IRuntime {
|
|
37
|
+
assign<T = ITypedHash<any>>(config: T): void;
|
|
38
|
+
get<T = ILibraryConfiguration, R = any>(key: keyof T): R;
|
|
39
|
+
export(): Map<string | number | symbol, any>;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=libconfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"libconfig.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/libconfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1C;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACrB,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;IAC7C,GAAG,CAAC,CAAC,GAAG,qBAAqB,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;IACzD,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC;CAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"libconfig.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/libconfig.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from node_modules\@pnp\common\net.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
export interface IConfigOptions {
|
|
6
|
+
headers?: string[][] | {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
} | Headers;
|
|
9
|
+
mode?: "navigate" | "same-origin" | "no-cors" | "cors";
|
|
10
|
+
credentials?: "omit" | "same-origin" | "include";
|
|
11
|
+
cache?: "default" | "no-store" | "reload" | "no-cache" | "force-cache" | "only-if-cached";
|
|
12
|
+
}
|
|
13
|
+
export interface IFetchOptions extends IConfigOptions {
|
|
14
|
+
method?: string;
|
|
15
|
+
body?: any;
|
|
16
|
+
}
|
|
17
|
+
export interface IHttpClientImpl {
|
|
18
|
+
fetch(url: string, options: IFetchOptions): Promise<Response>;
|
|
19
|
+
}
|
|
20
|
+
export interface IRequestClient {
|
|
21
|
+
fetch(url: string, options?: IFetchOptions): Promise<Response>;
|
|
22
|
+
fetchRaw(url: string, options?: IFetchOptions): Promise<Response>;
|
|
23
|
+
get(url: string, options?: IFetchOptions): Promise<Response>;
|
|
24
|
+
post(url: string, options?: IFetchOptions): Promise<Response>;
|
|
25
|
+
patch(url: string, options?: IFetchOptions): Promise<Response>;
|
|
26
|
+
delete(url: string, options?: IFetchOptions): Promise<Response>;
|
|
27
|
+
}
|
|
28
|
+
export interface ILambdaTokenFactoryParams {
|
|
29
|
+
/**
|
|
30
|
+
* Url to which the request for which we are requesting a token will be sent
|
|
31
|
+
*/
|
|
32
|
+
url: string;
|
|
33
|
+
/**
|
|
34
|
+
* Any options supplied for the request
|
|
35
|
+
*/
|
|
36
|
+
options: IFetchOptions;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=net.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"net.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/net.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,cAAc;IAC3B,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,GAAG;QACnB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,GAAG,OAAO,CAAC;IACZ,IAAI,CAAC,EAAE,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC;IACvD,WAAW,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,aAAa,GAAG,gBAAgB,CAAC;CAC7F;AAED,MAAM,WAAW,aAAc,SAAQ,cAAc;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC5B,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CACjE;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/D,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClE,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC7D,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC9D,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC/D,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CACnE;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"net.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/common/net.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from node_modules\@pnp\logging\logger.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A set of logging levels
|
|
7
|
+
*/
|
|
8
|
+
export declare const enum LogLevel {
|
|
9
|
+
Verbose = 0,
|
|
10
|
+
Info = 1,
|
|
11
|
+
Warning = 2,
|
|
12
|
+
Error = 3,
|
|
13
|
+
Off = 99
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Interface that defines a log entry
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface ILogEntry {
|
|
20
|
+
/**
|
|
21
|
+
* The main message to be logged
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
* The level of information this message represents
|
|
26
|
+
*/
|
|
27
|
+
level: LogLevel;
|
|
28
|
+
/**
|
|
29
|
+
* Any associated data that a given logging listener may choose to log or ignore
|
|
30
|
+
*/
|
|
31
|
+
data?: any;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Interface that defines a log listener
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export interface ILogListener {
|
|
38
|
+
/**
|
|
39
|
+
* Any associated data that a given logging listener may choose to log or ignore
|
|
40
|
+
*
|
|
41
|
+
* @param entry The information to be logged
|
|
42
|
+
*/
|
|
43
|
+
log(entry: ILogEntry): void;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/logging/logger.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;EAEE;AACF,MAAM,CAAC,OAAO,CAAC,KAAK,MAAM,QAAQ;IAChC,OAAO,IAAI;IACX,IAAI,IAAI;IACR,OAAO,IAAI;IACX,KAAK,IAAI;IACT,GAAG,KAAK;CACT;AACD;;;EAGE;AACF,MAAM,WAAW,SAAS;IACxB;;KAEC;IACD,OAAO,EAAE,MAAM,CAAC;IAChB;;KAEC;IACD,KAAK,EAAE,QAAQ,CAAC;IAChB;;KAEC;IACD,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AACD;;;EAGE;AACF,MAAM,WAAW,YAAY;IAC3B;;;;KAIC;IACD,GAAG,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/logging/logger.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\odata\batch\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IFetchOptions } from "../common/net";
|
|
6
|
+
import { IODataParser } from "./parsers";
|
|
7
|
+
export interface IBatch {
|
|
8
|
+
}
|
|
9
|
+
export interface IODataBatchRequestInfo {
|
|
10
|
+
url: string;
|
|
11
|
+
method: string;
|
|
12
|
+
options: IFetchOptions;
|
|
13
|
+
parser: IODataParser<any>;
|
|
14
|
+
resolve: ((d: any) => void) | null;
|
|
15
|
+
reject: ((error: any) => void) | null;
|
|
16
|
+
id: string;
|
|
17
|
+
index: number;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=batch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/batch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,MAAM;CAAG;AAE1B,MAAM,WAAW,sBAAsB;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC1B,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACnC,MAAM,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/batch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caching.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/caching.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"caching.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/caching.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\odata\invokable-binder.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IQueryable } from "./queryable.js";
|
|
6
|
+
import { IRequestContext } from "./pipeline.js";
|
|
7
|
+
export declare type IHybrid<R = any, T = any> = T & {
|
|
8
|
+
(this: T, ...args: any[]): Promise<R>;
|
|
9
|
+
};
|
|
10
|
+
export declare type IInvoker<R> = (this: IQueryable<any>, ...args: any[]) => Promise<R>;
|
|
11
|
+
export interface IInvokable<R = any> {
|
|
12
|
+
<T = R>(options?: Partial<IRequestContext<T>>): Promise<T>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=invokable-binder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invokable-binder.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/invokable-binder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,CAAC,OAAO,MAAM,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG;IAClD,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACvC,CAAC;AACF,MAAM,CAAC,OAAO,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AACxF,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,GAAG;IACjC,CAAC,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invokable-binder.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/invokable-binder.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\odata\invokable-extensions.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { ITypedHash } from "../common/collections";
|
|
6
|
+
export declare type ValidProxyMethods = "apply" | "get" | "has" | "set";
|
|
7
|
+
export declare type ExtensionDelegateType<T extends Record<string, unknown>> = {
|
|
8
|
+
(op: string, target: T, ...rest: any[]): void;
|
|
9
|
+
};
|
|
10
|
+
export declare type ExtensionType<T extends Record<string, unknown> = {}> = Pick<ProxyHandler<T>, ValidProxyMethods> | ExtensionDelegateType<T> | ITypedHash<any>;
|
|
11
|
+
//# sourceMappingURL=invokable-extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invokable-extensions.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/invokable-extensions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,MAAM,CAAC,OAAO,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AACxE,MAAM,CAAC,OAAO,MAAM,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IAC3E,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;CACjD,CAAC;AACF,MAAM,CAAC,OAAO,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invokable-extensions.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/invokable-extensions.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/parsers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,YAAY,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC;IACxB,KAAK,CAAC,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/parsers.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\odata\pipeline\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { IRequestClient } from "../common/net";
|
|
6
|
+
import { IQueryableData } from "./queryable";
|
|
7
|
+
/**
|
|
8
|
+
* Defines the context for a given request to be processed in the pipeline
|
|
9
|
+
*/
|
|
10
|
+
export interface IRequestContext<ReturnType> extends IQueryableData<ReturnType> {
|
|
11
|
+
result?: ReturnType;
|
|
12
|
+
clientFactory: () => IRequestClient;
|
|
13
|
+
hasResult: boolean;
|
|
14
|
+
isBatched: boolean;
|
|
15
|
+
requestId: string;
|
|
16
|
+
method: string;
|
|
17
|
+
}
|
|
18
|
+
export declare type PipelineMethod<ReturnType> = (c: IRequestContext<ReturnType>) => Promise<IRequestContext<ReturnType>>;
|
|
19
|
+
//# sourceMappingURL=pipeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/pipeline.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,UAAU,CAAE,SAAQ,cAAc,CAAC,UAAU,CAAC;IAC7E,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,aAAa,EAAE,MAAM,cAAc,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,CAAC,OAAO,MAAM,cAAc,CAAC,UAAU,IAAI,CAAC,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,KAAK,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/pipeline.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\odata\queryable.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { ITypedHash } from "../common/collections";
|
|
6
|
+
import { IFetchOptions, IConfigOptions, IRequestClient } from "../common/net";
|
|
7
|
+
import { IRuntime } from "../common/libconfig";
|
|
8
|
+
import { ICachingOptions } from "./caching";
|
|
9
|
+
import { IBatch } from "./batch";
|
|
10
|
+
import { PipelineMethod } from "./pipeline";
|
|
11
|
+
import { IODataParser } from "./parsers";
|
|
12
|
+
export interface IQueryableData<DefaultActionType = any> {
|
|
13
|
+
batch: IBatch | null;
|
|
14
|
+
batchIndex: number;
|
|
15
|
+
batchDependency: () => void | null;
|
|
16
|
+
cachingOptions: ICachingOptions | null;
|
|
17
|
+
cloneParentCacheOptions: ICachingOptions | null;
|
|
18
|
+
cloneParentWasCaching: boolean;
|
|
19
|
+
query: Map<string, string>;
|
|
20
|
+
options: IFetchOptions | null;
|
|
21
|
+
url: string;
|
|
22
|
+
parentUrl: string;
|
|
23
|
+
useCaching: boolean;
|
|
24
|
+
pipes?: PipelineMethod<DefaultActionType>[];
|
|
25
|
+
parser?: IODataParser<DefaultActionType>;
|
|
26
|
+
clientFactory?: () => IRequestClient;
|
|
27
|
+
method?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface IQueryable<DefaultActionType> {
|
|
30
|
+
data: Partial<IQueryableData<DefaultActionType>>;
|
|
31
|
+
query: Map<string, string>;
|
|
32
|
+
append(pathPart: string): void;
|
|
33
|
+
inBatch(batch: IBatch): this;
|
|
34
|
+
addBatchDependency(): () => void;
|
|
35
|
+
toUrlAndQuery(): string;
|
|
36
|
+
toUrl(): string;
|
|
37
|
+
concat(pathPart: string): this;
|
|
38
|
+
configure(options: IConfigOptions): this;
|
|
39
|
+
configureFrom(o: IQueryable<DefaultActionType>): this;
|
|
40
|
+
usingCaching(options?: ICachingOptions): this;
|
|
41
|
+
usingParser(parser: IODataParser<any>): this;
|
|
42
|
+
withPipeline(pipeline: PipelineMethod<DefaultActionType>[]): this;
|
|
43
|
+
defaultAction(options?: IFetchOptions): Promise<DefaultActionType>;
|
|
44
|
+
getRuntime(): IRuntime;
|
|
45
|
+
setRuntime(runtime: IRuntime): this;
|
|
46
|
+
setRuntime(cloneGlobal: boolean, additionalConfig?: ITypedHash<any>): this;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=queryable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryable.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/queryable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAG,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAG,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,cAAc,CAAC,iBAAiB,GAAG,GAAG;IACnD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,eAAe,GAAG,IAAI,CAAC;IACvC,uBAAuB,EAAE,eAAe,GAAG,IAAI,CAAC;IAChD,qBAAqB,EAAE,OAAO,CAAC;IAC/B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC,EAAE,CAAC;IAC5C,MAAM,CAAC,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,cAAc,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU,CAAC,iBAAiB;IACzC,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACjD,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,IAAI,MAAM,IAAI,CAAC;IACjC,aAAa,IAAI,MAAM,CAAC;IACxB,KAAK,IAAI,MAAM,CAAC;IAChB,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IACzC,aAAa,CAAC,CAAC,EAAE,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IACtD,YAAY,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9C,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAC7C,YAAY,CAAC,QAAQ,EAAE,cAAc,CAAC,iBAAiB,CAAC,EAAE,GAAG,IAAI,CAAC;IAClE,aAAa,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACnE,UAAU,IAAI,QAAQ,CAAC;IACvB,UAAU,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IACpC,UAAU,CAAC,WAAW,EAAE,OAAO,EAAE,gBAAgB,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;CAC9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queryable.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/odata/queryable.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Originally copied from node_modules\@pnp\sp\attachments\types.d.ts
|
|
3
|
+
* @pnp/sp": "^2.14.0
|
|
4
|
+
*/
|
|
5
|
+
import { ISharePointQueryableCollection, ISharePointQueryableInstance } from "./sharepointqueryable";
|
|
6
|
+
/**
|
|
7
|
+
* IAttachments really extends the class _Attachments which has functions included as well.
|
|
8
|
+
|
|
9
|
+
export declare class _Attachments extends _SharePointQueryableCollection<IAttachmentInfo[]> {
|
|
10
|
+
getByName(name: string): IAttachment;
|
|
11
|
+
add(name: string, content: string | Blob | ArrayBuffer): Promise<IAttachmentAddResult>;
|
|
12
|
+
addMultiple(files: IAttachmentFileInfo[]): Promise<void>;
|
|
13
|
+
deleteMultiple(...files: string[]): Promise<void>;
|
|
14
|
+
recycleMultiple(...files: string[]): Promise<void>;
|
|
15
|
+
}
|
|
16
|
+
*/
|
|
17
|
+
export interface IAttachments extends ISharePointQueryableCollection, IAttachmentAddResult {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* IAttachment really extends the class _Attachment which has functions included as well.
|
|
21
|
+
|
|
22
|
+
export declare class _Attachment extends _SharePointQueryableInstance<IAttachmentInfo> {
|
|
23
|
+
delete: (this: import("../sharepointqueryable.js").ISharePointQueryable<any>, eTag?: string) => Promise<void>;
|
|
24
|
+
getText(): Promise<string>;
|
|
25
|
+
getBlob(): Promise<Blob>;
|
|
26
|
+
getBuffer(): Promise<ArrayBuffer>;
|
|
27
|
+
getJSON(): Promise<any>;
|
|
28
|
+
setContent(content: string | ArrayBuffer | Blob): Promise<IAttachment>;
|
|
29
|
+
recycle(eTag?: string): Promise<void>;
|
|
30
|
+
private getParsed;
|
|
31
|
+
}
|
|
32
|
+
*/
|
|
33
|
+
export interface IAttachment extends IAttachmentInfo, ISharePointQueryableInstance {
|
|
34
|
+
}
|
|
35
|
+
export interface IAttachmentAddResult {
|
|
36
|
+
file: IAttachment;
|
|
37
|
+
data: IAttachmentFileInfo;
|
|
38
|
+
}
|
|
39
|
+
export interface IAttachmentFileInfo {
|
|
40
|
+
name: string;
|
|
41
|
+
content: string | Blob | ArrayBuffer;
|
|
42
|
+
}
|
|
43
|
+
export interface IAttachmentInfo {
|
|
44
|
+
FileName: string;
|
|
45
|
+
FileNameAsPath: {
|
|
46
|
+
DecodedUrl: string;
|
|
47
|
+
};
|
|
48
|
+
ServerRelativePath: {
|
|
49
|
+
DecodedUrl: string;
|
|
50
|
+
};
|
|
51
|
+
ServerRelativeUrl: string;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=attachments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachments.d.ts","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/attachments.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AAErG;;;;;;;;;;GAUG;AACH,MAAM,WAAW,YAAa,SAAQ,8BAA8B,EAAE,oBAAoB;CAAG;AAE7F;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,4BAA4B;CAAG;AAErF,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,CAAC;CACxC;AACD,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE;QACZ,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,kBAAkB,EAAE;QAChB,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachments.js","sourceRoot":"","sources":["../../../../../src/types/@pnp/@2.14.0/sp/attachments.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|