@connect-plus-online/ogabai-integrations 0.0.58 → 0.0.60

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/index.cjs.js CHANGED
@@ -192,8 +192,8 @@ var userSchema = {
192
192
  `,
193
193
  // mobile dashboard stats
194
194
  getUserDashStats: (query) => `
195
- query getUserDashStats {
196
- getUserDashStats {
195
+ query getUserDashStats($storeId: String!) {
196
+ getUserDashStats(storeId: $storeId) {
197
197
  ${query}
198
198
  }
199
199
  }
@@ -241,7 +241,8 @@ var userAccountQuery = [
241
241
  "userId",
242
242
  "userRoleId",
243
243
  "store",
244
- "userRole"
244
+ "userRole",
245
+ "user"
245
246
  ];
246
247
  var userRoleQuery = [
247
248
  "createdAt",
@@ -922,7 +923,8 @@ var userAccountIntegration = createStandardEntityIntegration({
922
923
  nested: {
923
924
  userAccount: userAccountQuery,
924
925
  store: storeQuery,
925
- privileges: privilegeQuery
926
+ privileges: privilegeQuery,
927
+ user: userQuery
926
928
  }
927
929
  });
928
930
  var userAccountListIntegration = createListIntegration({
@@ -931,7 +933,8 @@ var userAccountListIntegration = createListIntegration({
931
933
  nested: {
932
934
  privileges: privilegeQuery,
933
935
  userAccount: userAccountQuery,
934
- store: storeQuery
936
+ store: storeQuery,
937
+ user: userQuery
935
938
  }
936
939
  });
937
940
  var userAccountDeleteIntegration = createDeleteIntegration(ENTITY);