@isoftdata/svelte-user-configuration 2.3.1 → 2.3.2
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/UserAccountInfo.svelte +1 -1
- package/dist/util.d.ts +1 -1
- package/dist/util.js +1 -1
- package/package.json +1 -1
package/dist/util.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export type PermissionValueMap = ComponentProps<typeof PermissionList>['permissi
|
|
|
52
52
|
export type GroupPermissionValueMap = ComponentProps<typeof PermissionList>['groupPermissionValueMap'];
|
|
53
53
|
export type PermissionValueChangeFn = ComponentProps<typeof PermissionList>['permissionValueChange'];
|
|
54
54
|
export type PermissionListCardHeaderTitle = ComponentProps<typeof PermissionList>['cardHeaderTitle'];
|
|
55
|
-
/** Returns a Map where the key is the `
|
|
55
|
+
/** Returns a Map where the key is the `permissionId` and the value is the highest permission level for the given group membership
|
|
56
56
|
*
|
|
57
57
|
* You'll probably want to call this in your code when the group membership changes, and pass the result to the `groupPermissionValueMap` prop of the `PermissionList` component.
|
|
58
58
|
*/
|
package/dist/util.js
CHANGED
|
@@ -9,7 +9,7 @@ export const valueRank = {
|
|
|
9
9
|
SITE: 1,
|
|
10
10
|
GLOBAL: 2,
|
|
11
11
|
};
|
|
12
|
-
/** Returns a Map where the key is the `
|
|
12
|
+
/** Returns a Map where the key is the `permissionId` and the value is the highest permission level for the given group membership
|
|
13
13
|
*
|
|
14
14
|
* You'll probably want to call this in your code when the group membership changes, and pass the result to the `groupPermissionValueMap` prop of the `PermissionList` component.
|
|
15
15
|
*/
|