@omnia/fx-sp 7.6.37-preview → 7.6.39-preview
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMessageBusTopicSubscription } from "@omnia/fx/models";
|
|
1
|
+
import { Future, IMessageBusTopicSubscription } from "@omnia/fx/models";
|
|
2
2
|
import { SharePointEnvironmentContext, SharePointPageContext } from "../models";
|
|
3
3
|
/**
|
|
4
4
|
* Provides SharePoint related contexts, this context works in SharePoint legacy and SPFx.
|
|
@@ -17,6 +17,11 @@ export declare class SharePointContext {
|
|
|
17
17
|
* In the other hand when running in OmniaApp, this is for getting SP context connecting to the current app instance asynchronous
|
|
18
18
|
*/
|
|
19
19
|
get onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
|
|
20
|
+
/**
|
|
21
|
+
* get the load context promise
|
|
22
|
+
* extension can use it to determine whether the context promise has been resolved/rejected
|
|
23
|
+
*/
|
|
24
|
+
get getLoadContextPromise(): Future<void>;
|
|
20
25
|
/**
|
|
21
26
|
* Omnia SharePoint Environment
|
|
22
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx-sp",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.6.
|
|
4
|
+
"version": "7.6.39-preview",
|
|
5
5
|
"description": "Provide Omnia Fx Sharepoint Stuffs.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"author": "Precio Fishbone",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@omnia/fx": "7.6.
|
|
23
|
-
"@omnia/fx-sp-models": "7.6.
|
|
22
|
+
"@omnia/fx": "7.6.39-preview",
|
|
23
|
+
"@omnia/fx-sp-models": "7.6.39-preview"
|
|
24
24
|
},
|
|
25
25
|
"typings": "./index.d.ts",
|
|
26
26
|
"bugs": {
|