@timardex/cluemart-shared 1.1.1 → 1.1.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.
Files changed (39) hide show
  1. package/dist/{auth-CmXUqk1S.d.ts → auth-D13Gd2TA.d.ts} +1 -0
  2. package/dist/{auth-CmRHMcuP.d.mts → auth-D8fGJCGz.d.mts} +1 -0
  3. package/dist/{chunk-MNT626FO.mjs → chunk-WGRJVTC2.mjs} +2 -2
  4. package/dist/{chunk-THXIIQ2K.mjs → chunk-YPXCOSZG.mjs} +2 -1
  5. package/dist/chunk-YPXCOSZG.mjs.map +1 -0
  6. package/dist/enums/index.cjs +1 -0
  7. package/dist/enums/index.cjs.map +1 -1
  8. package/dist/enums/index.d.mts +2 -1
  9. package/dist/enums/index.d.ts +2 -1
  10. package/dist/enums/index.mjs +1 -1
  11. package/dist/formFields/index.cjs.map +1 -1
  12. package/dist/formFields/index.mjs +2 -2
  13. package/dist/graphql/index.cjs +4 -5
  14. package/dist/graphql/index.cjs.map +1 -1
  15. package/dist/graphql/index.d.mts +1 -1
  16. package/dist/graphql/index.d.ts +1 -1
  17. package/dist/graphql/index.mjs +5 -6
  18. package/dist/graphql/index.mjs.map +1 -1
  19. package/dist/hooks/index.cjs +1 -0
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.mts +2 -2
  22. package/dist/hooks/index.d.ts +2 -2
  23. package/dist/hooks/index.mjs +2 -2
  24. package/dist/index.cjs +5 -5
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.mts +3 -2
  27. package/dist/index.d.ts +3 -2
  28. package/dist/index.mjs +5 -5
  29. package/dist/index.mjs.map +1 -1
  30. package/dist/types/index.d.mts +2 -2
  31. package/dist/types/index.d.ts +2 -2
  32. package/dist/types/index.mjs +1 -1
  33. package/dist/{user-DvR0z1PC.d.mts → user-BfsmFPGZ.d.mts} +0 -1
  34. package/dist/{user-BFGqdgfy.d.ts → user-EVBTZHAn.d.ts} +0 -1
  35. package/dist/utils/index.cjs.map +1 -1
  36. package/dist/utils/index.mjs +2 -2
  37. package/package.json +1 -1
  38. package/dist/chunk-THXIIQ2K.mjs.map +0 -1
  39. /package/dist/{chunk-MNT626FO.mjs.map → chunk-WGRJVTC2.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -27,7 +27,8 @@ declare enum EnumResourceType {
27
27
  }
28
28
  declare enum EnumOSPlatform {
29
29
  ANDROID = "android",
30
- IOS = "ios"
30
+ IOS = "ios",
31
+ WEB = "web"
31
32
  }
32
33
  declare enum EnumRelationResource {
33
34
  MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
@@ -383,6 +384,7 @@ type LoginFormData = {
383
384
  email: string;
384
385
  isAdminPage?: boolean;
385
386
  password: string;
387
+ platform?: EnumOSPlatform;
386
388
  };
387
389
  interface CreateLoginFormData {
388
390
  control: Control<LoginFormData, any, LoginFormData>;
@@ -603,7 +605,6 @@ interface UserType {
603
605
  stallholders: string[];
604
606
  };
605
607
  firstName: string;
606
- ip: string | null;
607
608
  lastName: string;
608
609
  licences: EnumUserLicence[] | null;
609
610
  markets: string[] | null;
package/dist/index.d.ts CHANGED
@@ -27,7 +27,8 @@ declare enum EnumResourceType {
27
27
  }
28
28
  declare enum EnumOSPlatform {
29
29
  ANDROID = "android",
30
- IOS = "ios"
30
+ IOS = "ios",
31
+ WEB = "web"
31
32
  }
32
33
  declare enum EnumRelationResource {
33
34
  MARKET_INVITE_STALLHOLDER = "market_invite_stallholder",
@@ -383,6 +384,7 @@ type LoginFormData = {
383
384
  email: string;
384
385
  isAdminPage?: boolean;
385
386
  password: string;
387
+ platform?: EnumOSPlatform;
386
388
  };
387
389
  interface CreateLoginFormData {
388
390
  control: Control<LoginFormData, any, LoginFormData>;
@@ -603,7 +605,6 @@ interface UserType {
603
605
  stallholders: string[];
604
606
  };
605
607
  firstName: string;
606
- ip: string | null;
607
608
  lastName: string;
608
609
  licences: EnumUserLicence[] | null;
609
610
  markets: string[] | null;
package/dist/index.mjs CHANGED
@@ -30,6 +30,7 @@ var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
30
30
  var EnumOSPlatform = /* @__PURE__ */ ((EnumOSPlatform2) => {
31
31
  EnumOSPlatform2["ANDROID"] = "android";
32
32
  EnumOSPlatform2["IOS"] = "ios";
33
+ EnumOSPlatform2["WEB"] = "web";
33
34
  return EnumOSPlatform2;
34
35
  })(EnumOSPlatform || {});
35
36
  var EnumRelationResource = /* @__PURE__ */ ((EnumRelationResource2) => {
@@ -1865,7 +1866,6 @@ var USER_FIELDS_FRAGMENT = gql2`
1865
1866
  stallholders
1866
1867
  }
1867
1868
  firstName
1868
- ip
1869
1869
  lastName
1870
1870
  licences
1871
1871
  markets
@@ -2376,16 +2376,16 @@ var DELETE_CHAT_MUTATION = gql7`
2376
2376
  }
2377
2377
  `;
2378
2378
  var ADD_PARTICIPANT_TO_CHAT_MUTATION = gql7`
2379
- mutation addParticipantToChat($_id: ID!, $input: ID!) {
2380
- addParticipantToChat(_id: $_id, input: $input) {
2379
+ mutation addParticipantToChat($chatId: ID!, $userId: ID!) {
2380
+ addParticipantToChat(_id: $chatId, input: $userId) {
2381
2381
  ...ChatFields
2382
2382
  }
2383
2383
  }
2384
2384
  ${CHAT_FIELDS_FRAGMENT}
2385
2385
  `;
2386
2386
  var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = gql7`
2387
- mutation removeParticipantFromChat($_id: ID!, $input: ID!) {
2388
- removeParticipantFromChat(_id: $_id, input: $input) {
2387
+ mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
2388
+ removeParticipantFromChat(_id: $chatId, input: $userId) {
2389
2389
  ...ChatFields
2390
2390
  }
2391
2391
  }