@ludo.ninja/api 2.8.28 → 2.8.30

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 (48) hide show
  1. package/build/config/index.js +4 -4
  2. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
  3. package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
  4. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
  5. package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
  6. package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
  7. package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
  8. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
  9. package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
  10. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
  11. package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
  12. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
  13. package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
  14. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
  15. package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
  16. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
  17. package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
  18. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
  19. package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
  20. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
  21. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
  22. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
  23. package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
  24. package/build/graphql_tools/__generated__/schema.d.ts +1 -0
  25. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
  26. package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
  27. package/build/hosts/index.d.ts +0 -3
  28. package/build/hosts/index.js +1 -4
  29. package/build/index.d.ts +13 -2
  30. package/build/index.js +25 -3
  31. package/package.json +1 -1
  32. package/src/config/index.ts +50 -50
  33. package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
  34. package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
  35. package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
  36. package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
  37. package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
  38. package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
  39. package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
  40. package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
  41. package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
  42. package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
  43. package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
  44. package/src/graphql_tools/__generated__/schema.ts +1 -0
  45. package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
  46. package/src/hosts/index.ts +0 -6
  47. package/src/index.ts +29 -2
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -38,7 +38,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
38
38
  .mutate({
39
39
  context: { uri: index_1.hosts.authHost },
40
40
  variables: { refreshToken },
41
- mutation: index_1.schema.RefreshTokenDocument,
41
+ mutation: index_1.authSchema.RefreshTokenDocument,
42
42
  })
43
43
  .then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
44
44
  (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
@@ -48,7 +48,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
48
48
  .catch(async () => {
49
49
  await apolloClient?.mutate({
50
50
  context: { uri: index_1.hosts.authHost },
51
- mutation: index_1.schema.RevokeTokenDocument,
51
+ mutation: index_1.authSchema.RevokeTokenDocument,
52
52
  });
53
53
  (0, cookies_1.destroyCookies)(mainDomain);
54
54
  pendingRequests = [];
@@ -80,7 +80,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
80
80
  .mutate({
81
81
  context: { uri: index_1.hosts.authHost },
82
82
  variables: { refreshToken },
83
- mutation: index_1.schema.RefreshTokenDocument,
83
+ mutation: index_1.authSchema.RefreshTokenDocument,
84
84
  })
85
85
  .then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
86
86
  (0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
@@ -90,7 +90,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
90
90
  .catch(async () => {
91
91
  await apolloClient?.mutate({
92
92
  context: { uri: index_1.hosts.authHost },
93
- mutation: index_1.schema.RevokeTokenDocument,
93
+ mutation: index_1.authSchema.RevokeTokenDocument,
94
94
  });
95
95
  (0, cookies_1.destroyCookies)(mainDomain);
96
96
  pendingRequests = [];