@selfcommunity/types 1.4.1 → 1.5.0-alpha.0

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.
@@ -109,4 +109,8 @@ export interface SCGroupType extends SCPurchasableContent {
109
109
  * The number of group members
110
110
  */
111
111
  subscribers_counter: number;
112
+ /**
113
+ * True if the current user can manage the group (creator, manager or elected admin).
114
+ */
115
+ can_manage?: boolean;
112
116
  }
@@ -109,4 +109,8 @@ export interface SCGroupType extends SCPurchasableContent {
109
109
  * The number of group members
110
110
  */
111
111
  subscribers_counter: number;
112
+ /**
113
+ * True if the current user can manage the group (creator, manager or elected admin).
114
+ */
115
+ can_manage?: boolean;
112
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selfcommunity/types",
3
- "version": "1.4.1",
3
+ "version": "1.5.0-alpha.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "./lib/cjs/index.js",
@@ -106,5 +106,5 @@
106
106
  "bugs": {
107
107
  "url": "https://github.com/selfcommunity/community-js/issues"
108
108
  },
109
- "gitHead": "0577b1f679c1f941b5f2bcf49800ab710c1bb2bd"
109
+ "gitHead": "88ae047c739e8fbfd25690213e4832cc2e2606ef"
110
110
  }