@univerjs/protocol 0.1.26-permission-8.8 → 0.1.26-permission-8.9
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/ts/v1/authz.d.ts +10 -0
- package/package.json +1 -1
|
@@ -95,6 +95,14 @@ export interface ListCollaboratorResponse {
|
|
|
95
95
|
error: Error | undefined;
|
|
96
96
|
collaborators: Collaborator[];
|
|
97
97
|
}
|
|
98
|
+
export interface PutCollaboratorsRequest {
|
|
99
|
+
objectID: string;
|
|
100
|
+
unitID: string;
|
|
101
|
+
collaborators: Collaborator[];
|
|
102
|
+
}
|
|
103
|
+
export interface PutCollaboratorsResponse {
|
|
104
|
+
error: Error | undefined;
|
|
105
|
+
}
|
|
98
106
|
export interface AllowedRequest {
|
|
99
107
|
objectID: string;
|
|
100
108
|
objectType: UnitObject;
|
|
@@ -157,4 +165,6 @@ export interface AuthzService {
|
|
|
157
165
|
UpdateCollaborator(request: UpdateCollaboratorRequest, metadata?: Metadata): Observable<UpdateCollaboratorResponse>;
|
|
158
166
|
/** delete collaborator for specified object */
|
|
159
167
|
DeleteCollaborator(request: DeleteCollaboratorRequest, metadata?: Metadata): Observable<DeleteCollaboratorResponse>;
|
|
168
|
+
/** put collaborators for specified object */
|
|
169
|
+
PutCollaborators(request: PutCollaboratorsRequest, metadata?: Metadata): Observable<PutCollaboratorsResponse>;
|
|
160
170
|
}
|