@omnia/fx-sp 7.6.4-preview → 7.6.6-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.
@@ -43,3 +43,7 @@ export interface SPSiteCollectionAdminInfo {
43
43
  timezoneId?: number;
44
44
  siteCollectionAdmins?: string[];
45
45
  }
46
+ export interface EnsureSPSiteSelectedPermissionResult {
47
+ success: boolean;
48
+ message?: string;
49
+ }
@@ -1,5 +1,5 @@
1
1
  import { HttpStatusCode } from "../../models";
2
- import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
2
+ import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, EnsureSPSiteSelectedPermissionResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
3
3
  export declare class SiteService {
4
4
  private omniaContext;
5
5
  private httpClient;
@@ -8,4 +8,5 @@ export declare class SiteService {
8
8
  checkSiteCollectionStatus: (siteUrl: string) => Promise<HttpStatusCode>;
9
9
  validateSiteAlias: (request: SiteAliasValidationRequest) => Promise<SiteAliasValidationResult>;
10
10
  validateM365GroupNamingPolicy: (request: M365GroupNamingPolicyValidationRequest) => Promise<M365GroupNamingPolicyValidationResult>;
11
+ ensureSiteSelectedPermission: (spUrl: string) => Promise<EnsureSPSiteSelectedPermissionResult>;
11
12
  }
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-preview",
4
+ "version": "7.6.6-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.4-preview",
23
- "@omnia/fx-sp-models": "7.6.4-preview"
22
+ "@omnia/fx": "7.6.6-preview",
23
+ "@omnia/fx-sp-models": "7.6.6-preview"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {