@plusscommunities/pluss-core-aws 2.0.7-beta.2 → 2.0.7-beta.3
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.
|
@@ -161,7 +161,9 @@ module.exports = async (
|
|
|
161
161
|
site,
|
|
162
162
|
audienceType,
|
|
163
163
|
audienceTypeSelection,
|
|
164
|
-
preview = true
|
|
164
|
+
preview = true,
|
|
165
|
+
includeType = true,
|
|
166
|
+
includeSite = true
|
|
165
167
|
) => {
|
|
166
168
|
//TODO handle includes and excludes
|
|
167
169
|
const userData = await getUsers(site);
|
|
@@ -169,7 +171,7 @@ module.exports = async (
|
|
|
169
171
|
_.filter(userData, (u) => !u.Deleted),
|
|
170
172
|
(u) => {
|
|
171
173
|
return preview
|
|
172
|
-
? userToUserPreview(u,
|
|
174
|
+
? userToUserPreview(u, includeType, includeSite)
|
|
173
175
|
: { id: u.Id || u.userId, ...u };
|
|
174
176
|
}
|
|
175
177
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plusscommunities/pluss-core-aws",
|
|
3
|
-
"version": "2.0.7-beta.
|
|
3
|
+
"version": "2.0.7-beta.3",
|
|
4
4
|
"description": "Core extension package for Pluss Communities platform",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"betapatch": "npm version prepatch --preid=beta",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"upload": "npm i && npm i && npm publish --access public",
|
|
11
11
|
"upload:p": "npm run patch && npm run upload"
|
|
12
12
|
},
|
|
13
|
-
"author": "
|
|
13
|
+
"author": "Thorbjorn Kappel Davis",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@aws/dynamodb-auto-marshaller": "^0.7.1",
|