@tomei/sso 0.31.0 → 0.31.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/src/components/group/group.d.ts +2 -2
- package/dist/src/components/group/group.js +5 -1
- package/dist/src/components/group/group.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.js +1 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/interfaces/group-search-attr.interface.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/group/group.ts +10 -1
- package/src/components/index.ts +1 -0
- package/src/interfaces/group-search-attr.interface.ts +2 -2
package/package.json
CHANGED
|
@@ -141,7 +141,16 @@ export class Group extends ObjectBase {
|
|
|
141
141
|
...options,
|
|
142
142
|
where: queryObj,
|
|
143
143
|
};
|
|
144
|
-
|
|
144
|
+
|
|
145
|
+
const result = await Group._Repo.findAllWithPagination(options);
|
|
146
|
+
|
|
147
|
+
//Map the result to Group instance
|
|
148
|
+
return {
|
|
149
|
+
Count: result.count,
|
|
150
|
+
Companies: result.rows.map(
|
|
151
|
+
(group) => new Group(group.get({ plain: true })),
|
|
152
|
+
),
|
|
153
|
+
};
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
156
|
|
package/src/components/index.ts
CHANGED