@ws-ui/shared 1.10.4-rc1 → 1.10.4-rc2
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/dist/declarations/datasources/datasource.d.ts +390 -390
- package/dist/declarations/datasources/methods.d.ts +96 -96
- package/dist/declarations/index.d.ts +11 -11
- package/dist/declarations/webform/webform.d.ts +289 -289
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/utils/roles.d.ts +2 -2
- package/package.json +1 -1
package/dist/utils/roles.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare function actionsToPrivs({ applyTo: _, type, ...actions }: IPermis
|
|
|
39
39
|
export declare function getResourceFromType(item: IPermission): IResource;
|
|
40
40
|
export declare function sanitizePermissions(data: IPermission[], byKey: TById): TById;
|
|
41
41
|
export declare function getDictByName(dict: TById): TById;
|
|
42
|
-
export declare function
|
|
43
|
-
export declare function
|
|
42
|
+
export declare function sanitizeRoles(data: TRawData): ISanitized;
|
|
43
|
+
export declare function rolesToAPI(data: ISanitized): TRawData;
|
|
44
44
|
export declare function getGraphData(id: string, dict: TById): IGraphData;
|
|
45
45
|
export declare function addPermission(id: string, permission: IPermission, dict: TById): TById;
|
|
46
46
|
export declare function removePermission(id: string, permission: IPermission, dict: TById): TById;
|