1 | import { ISharingEmailData, ISharingResult, SharingRole } from "./types.js";
|
2 | import { RoleType } from "./types.js";
|
3 |
|
4 |
|
5 |
|
6 | declare module "../webs/types" {
|
7 | interface _Web {
|
8 | shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise<ISharingResult>;
|
9 | shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise<ISharingResult>;
|
10 | shareObjectRaw(options: any): Promise<ISharingResult>;
|
11 | unshareObject(url: string): Promise<ISharingResult>;
|
12 | }
|
13 | interface IWeb {
|
14 | shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise<ISharingResult>;
|
15 | shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise<ISharingResult>;
|
16 | shareObjectRaw(options: any): Promise<ISharingResult>;
|
17 | unshareObject(url: string): Promise<ISharingResult>;
|
18 | }
|
19 | }
|
20 |
|
\ | No newline at end of file |