@nizza/core 0.6.2 → 0.6.3-beta.0

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 (205) hide show
  1. package/dist/index.cjs +51 -51
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.mjs +6248 -5873
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/lib/accounts/atoms/account.d.ts +0 -1
  6. package/dist/lib/accounts/core/domain/Account.d.ts +4 -5
  7. package/dist/lib/accounts/core/domain/Account.d.ts.map +1 -1
  8. package/dist/lib/accounts/core/domain/AccountRepository.d.ts +0 -1
  9. package/dist/lib/accounts/core/domain/shared/constants.d.ts.map +1 -1
  10. package/dist/lib/accounts/core/domain/types.d.ts +0 -1
  11. package/dist/lib/accounts/core/index.d.ts +0 -1
  12. package/dist/lib/accounts/core/infrastructure/EventRestRepository.d.ts +0 -1
  13. package/dist/lib/accounts/core/services/AccountService.d.ts +0 -1
  14. package/dist/lib/accounts/hooks/account.hook.d.ts +1 -0
  15. package/dist/lib/accounts/hooks/account.hook.d.ts.map +1 -1
  16. package/dist/lib/add-to-cart/hooks.d.ts +0 -1
  17. package/dist/lib/clean-architecture/domain/enums/error-codes.d.ts +21 -0
  18. package/dist/lib/clean-architecture/domain/enums/error-codes.d.ts.map +1 -0
  19. package/dist/lib/clean-architecture/domain/enums/index.d.ts +2 -0
  20. package/dist/lib/clean-architecture/domain/enums/index.d.ts.map +1 -0
  21. package/dist/lib/clean-architecture/domain/index.d.ts +1 -0
  22. package/dist/lib/clean-architecture/domain/index.d.ts.map +1 -1
  23. package/dist/lib/clean-architecture/domain/interfaces/http.client.d.ts +2 -0
  24. package/dist/lib/clean-architecture/domain/interfaces/http.client.d.ts.map +1 -1
  25. package/dist/lib/clean-architecture/index.d.ts +1 -0
  26. package/dist/lib/clean-architecture/index.d.ts.map +1 -1
  27. package/dist/lib/clean-architecture/infrastructure/clients/http-axios.client.d.ts +23 -4
  28. package/dist/lib/clean-architecture/infrastructure/clients/http-axios.client.d.ts.map +1 -1
  29. package/dist/lib/clean-architecture/utils/error-messages.d.ts +3 -0
  30. package/dist/lib/clean-architecture/utils/error-messages.d.ts.map +1 -0
  31. package/dist/lib/clean-architecture/utils/index.d.ts +2 -0
  32. package/dist/lib/clean-architecture/utils/index.d.ts.map +1 -0
  33. package/dist/lib/constants/add-to-cart.constant.d.ts +2 -0
  34. package/dist/lib/constants/add-to-cart.constant.d.ts.map +1 -0
  35. package/dist/lib/constants/index.d.ts +1 -0
  36. package/dist/lib/constants/index.d.ts.map +1 -1
  37. package/dist/lib/errors/DomainError.d.ts.map +1 -1
  38. package/dist/lib/errors/api.d.ts +0 -1
  39. package/dist/lib/errors/app.d.ts +0 -1
  40. package/dist/lib/event-buses/BroadcastChannelEventBus.d.ts +1 -2
  41. package/dist/lib/i18n/buildTranslations.d.ts +1 -2
  42. package/dist/lib/i18n/init.d.ts +0 -1
  43. package/dist/lib/i18n/nizza.d.ts +0 -1
  44. package/dist/lib/index.d.ts +2 -1
  45. package/dist/lib/index.d.ts.map +1 -1
  46. package/dist/lib/lit/react-host-element.d.ts +1 -2
  47. package/dist/lib/meta-data/core/domain/index.d.ts +3 -0
  48. package/dist/lib/meta-data/core/domain/index.d.ts.map +1 -0
  49. package/dist/lib/meta-data/core/domain/meta-data-client.entity.d.ts +11 -0
  50. package/dist/lib/meta-data/core/domain/meta-data-client.entity.d.ts.map +1 -0
  51. package/dist/lib/meta-data/core/domain/real-time-stream-info.entity.d.ts +6 -0
  52. package/dist/lib/meta-data/core/domain/real-time-stream-info.entity.d.ts.map +1 -0
  53. package/dist/lib/meta-data/core/index.d.ts +2 -0
  54. package/dist/lib/meta-data/core/index.d.ts.map +1 -0
  55. package/dist/lib/meta-data/hooks/index.d.ts +2 -0
  56. package/dist/lib/meta-data/hooks/index.d.ts.map +1 -0
  57. package/dist/lib/meta-data/hooks/use-meta-data-client.hook.d.ts +3 -0
  58. package/dist/lib/meta-data/hooks/use-meta-data-client.hook.d.ts.map +1 -0
  59. package/dist/lib/meta-data/index.d.ts +3 -0
  60. package/dist/lib/meta-data/index.d.ts.map +1 -0
  61. package/dist/lib/mobx/StoreProvider.d.ts +1 -2
  62. package/dist/lib/mobx/hooks.d.ts +0 -1
  63. package/dist/lib/nizza-store/NizzaStore.d.ts +7 -5
  64. package/dist/lib/nizza-store/NizzaStore.d.ts.map +1 -1
  65. package/dist/lib/nizza-store/react-hooks.d.ts +0 -1
  66. package/dist/lib/runtime/component-manager.d.ts +1 -2
  67. package/dist/lib/runtime/implementations/external-runtime.d.ts +2 -3
  68. package/dist/lib/runtime/implementations/external-runtime.d.ts.map +1 -1
  69. package/dist/lib/runtime/implementations/index.d.ts +6 -6
  70. package/dist/lib/runtime/implementations/index.d.ts.map +1 -1
  71. package/dist/lib/runtime/implementations/local-runtime.d.ts +2 -3
  72. package/dist/lib/runtime/implementations/platform.d.ts +10 -0
  73. package/dist/lib/runtime/implementations/platform.d.ts.map +1 -0
  74. package/dist/lib/runtime/implementations/vtex-faststore-runtime.d.ts +1 -2
  75. package/dist/lib/runtime/implementations/vtex-io-runtime.d.ts +1 -2
  76. package/dist/lib/runtime/implementations/vtex-legacy-runtime.d.ts +1 -2
  77. package/dist/lib/runtime/runtime.d.ts +2 -3
  78. package/dist/lib/runtime/types.d.ts +2 -3
  79. package/dist/lib/runtime/utils.d.ts +0 -1
  80. package/dist/lib/{ivs-socket/core/domain/entities/ivs-chat-client-socket.entity.d.ts → socket/core/domain/entities/chat-client-socket.entity.d.ts} +5 -4
  81. package/dist/lib/socket/core/domain/entities/chat-client-socket.entity.d.ts.map +1 -0
  82. package/dist/lib/{ivs-socket → socket}/core/domain/entities/event-chat-room.entity.d.ts +1 -2
  83. package/dist/lib/socket/core/domain/entities/event-chat-room.entity.d.ts.map +1 -0
  84. package/dist/lib/socket/core/domain/entities/index.d.ts +3 -0
  85. package/dist/lib/socket/core/domain/entities/index.d.ts.map +1 -0
  86. package/dist/lib/socket/core/domain/index.d.ts.map +1 -0
  87. package/dist/lib/{ivs-socket → socket}/core/domain/repositories/event-chat-room.repository.d.ts +1 -2
  88. package/dist/lib/socket/core/domain/repositories/event-chat-room.repository.d.ts.map +1 -0
  89. package/dist/lib/socket/core/domain/repositories/index.d.ts.map +1 -0
  90. package/dist/lib/socket/core/domain/shared/constants.d.ts.map +1 -0
  91. package/dist/lib/{ivs-socket → socket}/core/domain/shared/errors.d.ts +0 -1
  92. package/dist/lib/socket/core/domain/shared/errors.d.ts.map +1 -0
  93. package/dist/lib/socket/core/domain/shared/index.d.ts.map +1 -0
  94. package/dist/lib/socket/core/domain/shared/types.d.ts.map +1 -0
  95. package/dist/lib/{ivs-socket → socket}/core/index.d.ts +0 -1
  96. package/dist/lib/socket/core/index.d.ts.map +1 -0
  97. package/dist/lib/{ivs-socket → socket}/core/infrastructure/graphql-event-chat-room.repository.d.ts +1 -2
  98. package/dist/lib/socket/core/infrastructure/graphql-event-chat-room.repository.d.ts.map +1 -0
  99. package/dist/lib/socket/core/infrastructure/index.d.ts.map +1 -0
  100. package/dist/lib/{ivs-socket → socket}/core/services/event-chat-room.service.d.ts +0 -1
  101. package/dist/lib/socket/core/services/event-chat-room.service.d.ts.map +1 -0
  102. package/dist/lib/socket/core/services/index.d.ts.map +1 -0
  103. package/dist/lib/socket/hooks/index.d.ts +6 -0
  104. package/dist/lib/socket/hooks/index.d.ts.map +1 -0
  105. package/dist/lib/socket/hooks/use-chat-socket-actions.hook.d.ts +9 -0
  106. package/dist/lib/socket/hooks/use-chat-socket-actions.hook.d.ts.map +1 -0
  107. package/dist/lib/socket/hooks/use-chat-socket-client.hook.d.ts +8 -0
  108. package/dist/lib/socket/hooks/use-chat-socket-client.hook.d.ts.map +1 -0
  109. package/dist/lib/socket/hooks/use-chat-socket-handlers.hook.d.ts +9 -0
  110. package/dist/lib/socket/hooks/use-chat-socket-handlers.hook.d.ts.map +1 -0
  111. package/dist/lib/{ivs-socket/hooks/use-connect-ivs-chat.hook.d.ts → socket/hooks/use-connect-chat-socket.hook.d.ts} +9 -10
  112. package/dist/lib/socket/hooks/use-connect-chat-socket.hook.d.ts.map +1 -0
  113. package/dist/lib/socket/hooks/use-event-chat-room.hook.d.ts.map +1 -0
  114. package/dist/lib/socket/index.d.ts.map +1 -0
  115. package/dist/lib/socket/logger.d.ts.map +1 -0
  116. package/dist/lib/socket/state.d.ts +11 -0
  117. package/dist/lib/socket/state.d.ts.map +1 -0
  118. package/dist/lib/{ivs-socket → socket}/utils/add-question-data.util.d.ts +0 -1
  119. package/dist/lib/socket/utils/add-question-data.util.d.ts.map +1 -0
  120. package/dist/lib/socket/utils/connect-to-socket.util.d.ts.map +1 -0
  121. package/dist/lib/socket/utils/get-random-color.util.d.ts.map +1 -0
  122. package/dist/lib/socket/utils/index.d.ts.map +1 -0
  123. package/dist/lib/{ivs-socket → socket}/utils/normalize-chat-message.util.d.ts +0 -1
  124. package/dist/lib/socket/utils/normalize-chat-message.util.d.ts.map +1 -0
  125. package/dist/lib/types/add-to-cart-hooks.d.ts +0 -1
  126. package/dist/lib/types/api-graphql-types.d.ts +47 -100
  127. package/dist/lib/types/api-graphql-types.d.ts.map +1 -1
  128. package/dist/lib/types/appModule.d.ts +1 -2
  129. package/dist/lib/types/i18n.d.ts +0 -1
  130. package/dist/lib/types/mobx.d.ts +0 -1
  131. package/dist/lib/types/nizza/add-to-cart.d.ts +8 -0
  132. package/dist/lib/types/nizza/add-to-cart.d.ts.map +1 -0
  133. package/dist/lib/types/nizza/collection.entity.d.ts +7 -0
  134. package/dist/lib/types/nizza/collection.entity.d.ts.map +1 -0
  135. package/dist/lib/types/nizza/globalStore.d.ts +4 -5
  136. package/dist/lib/types/nizza/index.d.ts +2 -0
  137. package/dist/lib/types/nizza/index.d.ts.map +1 -1
  138. package/dist/lib/types/nizza/main.d.ts +0 -1
  139. package/dist/lib/types/nizza/product.d.ts +0 -1
  140. package/dist/lib/types/nizza/productDataSource.d.ts +11 -2
  141. package/dist/lib/types/nizza/productDataSource.d.ts.map +1 -1
  142. package/dist/lib/types/runtime/base.d.ts +2 -2
  143. package/dist/lib/types/runtime/base.d.ts.map +1 -1
  144. package/dist/lib/types/runtime/metadata.d.ts +0 -1
  145. package/dist/lib/types/utils.d.ts +0 -1
  146. package/dist/lib/types/vtex/product.d.ts +4 -0
  147. package/dist/lib/types/vtex/product.d.ts.map +1 -1
  148. package/dist/lib/utils/createLazyLogger.d.ts +1 -2
  149. package/dist/lib/utils/customFetch.d.ts +0 -1
  150. package/dist/lib/utils/customFetch.d.ts.map +1 -1
  151. package/dist/lib/utils/downloadFile.d.ts.map +1 -1
  152. package/dist/lib/utils/getClientTimeZone.d.ts +0 -1
  153. package/dist/lib/utils/helpers.d.ts.map +1 -1
  154. package/dist/lib/utils/logger.d.ts +0 -1
  155. package/package.json +3 -2
  156. package/dist/lib/ivs-socket/core/domain/entities/event-chat-room.entity.d.ts.map +0 -1
  157. package/dist/lib/ivs-socket/core/domain/entities/index.d.ts +0 -3
  158. package/dist/lib/ivs-socket/core/domain/entities/index.d.ts.map +0 -1
  159. package/dist/lib/ivs-socket/core/domain/entities/ivs-chat-client-socket.entity.d.ts.map +0 -1
  160. package/dist/lib/ivs-socket/core/domain/index.d.ts.map +0 -1
  161. package/dist/lib/ivs-socket/core/domain/repositories/event-chat-room.repository.d.ts.map +0 -1
  162. package/dist/lib/ivs-socket/core/domain/repositories/index.d.ts.map +0 -1
  163. package/dist/lib/ivs-socket/core/domain/shared/constants.d.ts.map +0 -1
  164. package/dist/lib/ivs-socket/core/domain/shared/errors.d.ts.map +0 -1
  165. package/dist/lib/ivs-socket/core/domain/shared/index.d.ts.map +0 -1
  166. package/dist/lib/ivs-socket/core/domain/shared/types.d.ts.map +0 -1
  167. package/dist/lib/ivs-socket/core/index.d.ts.map +0 -1
  168. package/dist/lib/ivs-socket/core/infrastructure/graphql-event-chat-room.repository.d.ts.map +0 -1
  169. package/dist/lib/ivs-socket/core/infrastructure/index.d.ts.map +0 -1
  170. package/dist/lib/ivs-socket/core/services/event-chat-room.service.d.ts.map +0 -1
  171. package/dist/lib/ivs-socket/core/services/index.d.ts.map +0 -1
  172. package/dist/lib/ivs-socket/hooks/index.d.ts +0 -6
  173. package/dist/lib/ivs-socket/hooks/index.d.ts.map +0 -1
  174. package/dist/lib/ivs-socket/hooks/use-connect-ivs-chat.hook.d.ts.map +0 -1
  175. package/dist/lib/ivs-socket/hooks/use-event-chat-room.hook.d.ts.map +0 -1
  176. package/dist/lib/ivs-socket/hooks/use-ivs-chat-actions.hook.d.ts +0 -10
  177. package/dist/lib/ivs-socket/hooks/use-ivs-chat-actions.hook.d.ts.map +0 -1
  178. package/dist/lib/ivs-socket/hooks/use-ivs-chat-client.hook.d.ts +0 -9
  179. package/dist/lib/ivs-socket/hooks/use-ivs-chat-client.hook.d.ts.map +0 -1
  180. package/dist/lib/ivs-socket/hooks/use-ivs-chat-handlers.hook.d.ts +0 -9
  181. package/dist/lib/ivs-socket/hooks/use-ivs-chat-handlers.hook.d.ts.map +0 -1
  182. package/dist/lib/ivs-socket/index.d.ts.map +0 -1
  183. package/dist/lib/ivs-socket/logger.d.ts.map +0 -1
  184. package/dist/lib/ivs-socket/state.d.ts +0 -12
  185. package/dist/lib/ivs-socket/state.d.ts.map +0 -1
  186. package/dist/lib/ivs-socket/utils/add-question-data.util.d.ts.map +0 -1
  187. package/dist/lib/ivs-socket/utils/connect-to-socket.util.d.ts.map +0 -1
  188. package/dist/lib/ivs-socket/utils/get-random-color.util.d.ts.map +0 -1
  189. package/dist/lib/ivs-socket/utils/index.d.ts.map +0 -1
  190. package/dist/lib/ivs-socket/utils/normalize-chat-message.util.d.ts.map +0 -1
  191. package/dist/lib/jotai/globalAtomStore.d.ts +0 -40
  192. package/dist/lib/jotai/globalAtomStore.d.ts.map +0 -1
  193. /package/dist/lib/{ivs-socket → socket}/core/domain/index.d.ts +0 -0
  194. /package/dist/lib/{ivs-socket → socket}/core/domain/repositories/index.d.ts +0 -0
  195. /package/dist/lib/{ivs-socket → socket}/core/domain/shared/constants.d.ts +0 -0
  196. /package/dist/lib/{ivs-socket → socket}/core/domain/shared/index.d.ts +0 -0
  197. /package/dist/lib/{ivs-socket → socket}/core/domain/shared/types.d.ts +0 -0
  198. /package/dist/lib/{ivs-socket → socket}/core/infrastructure/index.d.ts +0 -0
  199. /package/dist/lib/{ivs-socket → socket}/core/services/index.d.ts +0 -0
  200. /package/dist/lib/{ivs-socket → socket}/hooks/use-event-chat-room.hook.d.ts +0 -0
  201. /package/dist/lib/{ivs-socket → socket}/index.d.ts +0 -0
  202. /package/dist/lib/{ivs-socket → socket}/logger.d.ts +0 -0
  203. /package/dist/lib/{ivs-socket → socket}/utils/connect-to-socket.util.d.ts +0 -0
  204. /package/dist/lib/{ivs-socket → socket}/utils/get-random-color.util.d.ts +0 -0
  205. /package/dist/lib/{ivs-socket → socket}/utils/index.d.ts +0 -0
@@ -1,5 +1,4 @@
1
1
  import { NizzaAccount } from '../core';
2
-
3
2
  export declare const accountAtom: import('jotai').PrimitiveAtom<NizzaAccount | null> & {
4
3
  init: NizzaAccount | null;
5
4
  };
@@ -1,7 +1,6 @@
1
- import { AccountCurrencyConfig, AccountGlobalPage, AccountProps, AccountStripe, ExceededFeatures, RawAccount, VariationsConfig } from './types';
2
- import { AccountContractStatusTypes, AccountContractTypes, AccountPlanDescriptionTypes, AccountTypes } from './shared';
3
1
  import { IAggregateRoot } from '../../../clean-architecture';
4
-
2
+ import { AccountContractStatusTypes, AccountContractTypes, AccountPlanDescriptionTypes, AccountSubscriptionTypes, AccountTypes } from './shared';
3
+ import { AccountCurrencyConfig, AccountGlobalPage, AccountProps, AccountStripe, ExceededFeatures, RawAccount, VariationsConfig } from './types';
5
4
  export declare class NizzaAccount implements IAggregateRoot, AccountProps {
6
5
  readonly root: import('../../../clean-architecture').AggregateRoot<NizzaAccount, AccountProps>;
7
6
  id: string;
@@ -19,7 +18,7 @@ export declare class NizzaAccount implements IAggregateRoot, AccountProps {
19
18
  installationDateApp: string;
20
19
  cxAccount: string;
21
20
  freeService: boolean;
22
- subscriptionType: null;
21
+ subscriptionType: AccountSubscriptionTypes;
23
22
  minutesAvailable: number;
24
23
  globalPage: AccountGlobalPage;
25
24
  stripe: AccountStripe;
@@ -27,7 +26,7 @@ export declare class NizzaAccount implements IAggregateRoot, AccountProps {
27
26
  planType: string;
28
27
  selectFreeTrial: boolean;
29
28
  exceededFeatures?: ExceededFeatures;
30
- host: null;
29
+ host: string | null;
31
30
  variationThumbnailName?: string;
32
31
  variationsConfig?: VariationsConfig;
33
32
  constructor(props: AccountProps);
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../../src/lib/accounts/core/domain/Account.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAEf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,YAAY,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAEjB,qBAAa,YAAa,YAAW,cAAc,EAAE,YAAY;IAC/D,QAAQ,CAAC,IAAI,kFAAyD;IAEtE,EAAE,EAAG,MAAM,CAAC;IACZ,OAAO,EAAG,MAAM,CAAC;IACjB,WAAW,eAAwB;IACnC,QAAQ,EAAG,MAAM,CAAC;IAClB,cAAc,EAAG,qBAAqB,CAAC;IACvC,YAAY,EAAG,oBAAoB,CAAC;IACpC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,cAAc,SAAK;IACnB,gBAAgB,UAAS;IACzB,cAAc,SAAK;IACnB,cAAc,6BAAqC;IACnD,SAAS,EAAG,IAAI,CAAC;IACjB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,SAAS,EAAG,MAAM,CAAC;IACnB,WAAW,UAAS;IACpB,gBAAgB,OAAQ;IACxB,gBAAgB,SAAK;IACrB,UAAU,EAAG,iBAAiB,CAAC;IAC/B,MAAM,EAAG,aAAa,CAAC;IACvB,eAAe,EAAG,2BAA2B,CAAC;IAC9C,QAAQ,EAAG,MAAM,CAAC;IAClB,eAAe,EAAG,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,IAAI,OAAQ;IACZ,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;gBAExB,KAAK,EAAE,YAAY;IAI/B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,YAAY;IAY9C,YAAY;;;CAOb"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../../src/lib/accounts/core/domain/Account.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAEf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,YAAY,EACb,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EACjB,MAAM,SAAS,CAAC;AAEjB,qBAAa,YAAa,YAAW,cAAc,EAAE,YAAY;IAC/D,QAAQ,CAAC,IAAI,kFAAyD;IAEtE,EAAE,EAAG,MAAM,CAAC;IACZ,OAAO,EAAG,MAAM,CAAC;IACjB,WAAW,eAAwB;IACnC,QAAQ,EAAG,MAAM,CAAC;IAClB,cAAc,EAAG,qBAAqB,CAAC;IACvC,YAAY,EAAG,oBAAoB,CAAC;IACpC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,cAAc,SAAK;IACnB,gBAAgB,UAAS;IACzB,cAAc,SAAK;IACnB,cAAc,6BAAqC;IACnD,SAAS,EAAG,IAAI,CAAC;IACjB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,SAAS,EAAG,MAAM,CAAC;IACnB,WAAW,UAAS;IACpB,gBAAgB,EAAG,wBAAwB,CAAC;IAC5C,gBAAgB,SAAK;IACrB,UAAU,EAAG,iBAAiB,CAAC;IAC/B,MAAM,EAAG,aAAa,CAAC;IACvB,eAAe,EAAG,2BAA2B,CAAC;IAC9C,QAAQ,EAAG,MAAM,CAAC;IAClB,eAAe,EAAG,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;gBAExB,KAAK,EAAE,YAAY;IAI/B,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,UAAU,GAAG,YAAY;IAY9C,YAAY;;;CAOb"}
@@ -1,5 +1,4 @@
1
1
  import { NizzaAccount } from './Account';
2
-
3
2
  export interface AccountRepository {
4
3
  get(name: string): Promise<NizzaAccount | null>;
5
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/accounts/core/domain/shared/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,gBAAgB;IACxB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AACD,oBAAY,oBAAoB;IAC9B,QAAQ,oBAAoB;IAE5B;;OAEG;IACH,MAAM,wBAAwB;IAC9B,SAAS,cAAc;CACxB;AAED,oBAAY,0BAA0B;IACpC,MAAM,oBAAoB;IAC1B,QAAQ,sBAAsB;CAC/B;AAED,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,oBAAY,2BAA2B;IACrC,IAAI,cAAc;IAClB;;;;OAIG;IACH,QAAQ,kBAAkB;IAC1B,GAAG,aAAa;IAChB,IAAI,YAAY;CACjB;AAED,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/accounts/core/domain/shared/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,gBAAgB;IACxB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB;AAED,oBAAY,oBAAoB;IAC9B,QAAQ,oBAAoB;IAE5B;;OAEG;IACH,MAAM,wBAAwB;IAC9B,SAAS,cAAc;CACxB;AAED,oBAAY,0BAA0B;IACpC,MAAM,oBAAoB;IAC1B,QAAQ,sBAAsB;CAC/B;AAED,oBAAY,wBAAwB;IAClC,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,GAAG,QAAQ;CACZ;AAED,oBAAY,2BAA2B;IACrC,IAAI,cAAc;IAClB;;;;OAIG;IACH,QAAQ,kBAAkB;IAC1B,GAAG,aAAa;IAChB,IAAI,YAAY;CACjB;AAED,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
@@ -1,5 +1,4 @@
1
1
  import { AccountContractStatusTypes, AccountContractTypes, AccountPlanDescriptionTypes, AccountSubscriptionTypes, AccountTypes, GlobalPageSectionTypes } from './shared';
2
-
3
2
  export interface BaseProps {
4
3
  id: string;
5
4
  account: string;
@@ -1,5 +1,4 @@
1
1
  import { AccountService } from './services';
2
-
3
2
  declare const accountService: AccountService;
4
3
  export * from './domain';
5
4
  export * from './infrastructure';
@@ -1,5 +1,4 @@
1
1
  import { AccountRepository, NizzaAccount } from '../domain';
2
-
3
2
  export declare class AccountRestRepository implements AccountRepository {
4
3
  get(name: string): Promise<NizzaAccount | null>;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { AccountRepository } from '../domain';
2
-
3
2
  export declare class AccountService {
4
3
  private accountRepository;
5
4
  constructor(accountRepository: AccountRepository);
@@ -5,5 +5,6 @@ export declare const useAccount: () => {
5
5
  isError: boolean;
6
6
  isSuccess: boolean;
7
7
  accountStatus: import('../..').AccountStatus;
8
+ refetchAccount: () => Promise<void>;
8
9
  };
9
10
  //# sourceMappingURL=account.hook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account.hook.d.ts","sourceRoot":"","sources":["../../../../src/lib/accounts/hooks/account.hook.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;CAgBtB,CAAC"}
1
+ {"version":3,"file":"account.hook.d.ts","sourceRoot":"","sources":["../../../../src/lib/accounts/hooks/account.hook.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;CAkBtB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { AddToCartActionFactory, HooksInitConfig, HookState } from '../types';
2
-
3
2
  export declare const addToCartMessages: {
4
3
  errorAddingToCart: string;
5
4
  errorOpeningVariationSelector: string;
@@ -0,0 +1,21 @@
1
+ export declare enum ErrorCodes {
2
+ GENERAL_ERROR = "GENERAL_ERROR",
3
+ AXIOS_ERROR = "AXIOS_ERROR",
4
+ NETWORK_ERROR = "NETWORK_ERROR",
5
+ CONFIG_ERROR = "CONFIG_ERROR",
6
+ TIMEOUT_ERROR = "TIMEOUT_ERROR",
7
+ AUTH_ERROR = "AUTH_ERROR",
8
+ NOT_FOUND = "NOT_FOUND",
9
+ VALIDATION_ERROR = "VALIDATION_ERROR",
10
+ SERVER_ERROR = "SERVER_ERROR",
11
+ BAD_REQUEST = "BAD_REQUEST",
12
+ UNAUTHORIZED = "UNAUTHORIZED",
13
+ FORBIDDEN = "FORBIDDEN",
14
+ CONFLICT = "CONFLICT",
15
+ GONE = "GONE",
16
+ UNSUPPORTED_MEDIA_TYPE = "UNSUPPORTED_MEDIA_TYPE",
17
+ TOO_MANY_REQUESTS = "TOO_MANY_REQUESTS",
18
+ INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
19
+ SERVICE_UNAVAILABLE = "SERVICE_UNAVAILABLE"
20
+ }
21
+ //# sourceMappingURL=error-codes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/domain/enums/error-codes.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;CAC5C"}
@@ -0,0 +1,2 @@
1
+ export * from './error-codes';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './interfaces';
2
2
  export * from './AggregateRoot';
3
3
  export * from './ValueObject';
4
+ export * from './enums';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/clean-architecture/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/clean-architecture/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
@@ -5,5 +5,7 @@ export type PostRequestInput = {
5
5
  export interface HttpClient {
6
6
  get<T>(path: string): Promise<T>;
7
7
  post<T>(path: string, input: PostRequestInput): Promise<T>;
8
+ put<T>(path: string, input: PostRequestInput): Promise<T>;
9
+ delete<T>(path: string): Promise<T>;
8
10
  }
9
11
  //# sourceMappingURL=http.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/domain/interfaces/http.client.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CAC5D"}
1
+ {"version":3,"file":"http.client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/domain/interfaces/http.client.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3D,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACrC"}
@@ -1,3 +1,4 @@
1
1
  export * from './domain';
2
2
  export * from './infrastructure';
3
+ export * from './utils';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/clean-architecture/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/clean-architecture/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
@@ -1,6 +1,5 @@
1
- import { HttpClient, PostRequestInput } from '../../domain';
2
1
  import { Logger } from 'loglevel';
3
-
2
+ import { HttpClient, PostRequestInput } from '../../domain';
4
3
  type Config = {
5
4
  baseUrl: string;
6
5
  logger: Logger;
@@ -15,6 +14,7 @@ export declare class HttpAxiosClient implements HttpClient {
15
14
  *
16
15
  * @param {string} path - The endpoint path.
17
16
  * @returns {Promise<T>} - The response data.
17
+ * @throws {Error} - Throws a user-friendly error message if the request fails.
18
18
  */
19
19
  get<T>(path: string): Promise<T>;
20
20
  /**
@@ -23,12 +23,31 @@ export declare class HttpAxiosClient implements HttpClient {
23
23
  * @param {string} path - The endpoint path.
24
24
  * @param {PostRequestInput} input - The request config.
25
25
  * @returns {Promise<T>} - The response data.
26
+ * @throws {Error} - Throws a user-friendly error message if the request fails.
26
27
  */
27
28
  post<T>(path: string, input: PostRequestInput): Promise<T>;
28
29
  /**
29
- * Logs the error details using the provided logger.
30
+ * Performs a PUT request to the specified path with the provided data.
31
+ *
32
+ * @param {string} path - The endpoint path.
33
+ * @param {PostRequestInput} input - The request config.
34
+ * @returns {Promise<T>} - The response data.
35
+ * @throws {Error} - Throws a user-friendly error message if the request fails.
36
+ */
37
+ put<T>(path: string, input: PostRequestInput): Promise<T>;
38
+ /**
39
+ * Performs a DELETE request to the specified path.
40
+ *
41
+ * @param {string} path - The endpoint path.
42
+ * @returns {Promise<T>} - The response data.
43
+ * @throws {Error} - Throws a user-friendly error message if the request fails.
44
+ */
45
+ delete<T>(path: string): Promise<T>;
46
+ /**
47
+ * Handles errors from Axios requests, logging them and returning a user-friendly error message.
30
48
  *
31
- * @param {AxiosError} error - The error object from Axios.
49
+ * @param {unknown} error - The error object from Axios.
50
+ * @returns {Error} - A new error with a user-friendly message.
32
51
  */
33
52
  private handleError;
34
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"http-axios.client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/infrastructure/clients/http-axios.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAE5D,KAAK,MAAM,GAAG;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,qBAAa,eAAgB,YAAW,UAAU;IAChD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;gBAEzB,MAAM,EAAE,MAAM;IAU1B;;;;;OAKG;IACG,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAUtC;;;;;;OAMG;IACG,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IAkBhE;;;;OAIG;IACH,OAAO,CAAC,WAAW;CAMpB"}
1
+ {"version":3,"file":"http-axios.client.d.ts","sourceRoot":"","sources":["../../../../../src/lib/clean-architecture/infrastructure/clients/http-axios.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAc,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGxE,KAAK,MAAM,GAAG;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,qBAAa,eAAgB,YAAW,UAAU;IAChD,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;gBAEzB,MAAM,EAAE,MAAM;IAU1B;;;;;;OAMG;IACG,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAStC;;;;;;;OAOG;IACG,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IAiBhE;;;;;;;OAOG;IACG,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IAiB/D;;;;;;OAMG;IACG,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IASzC;;;;;OAKG;IACH,OAAO,CAAC,WAAW;CAiDpB"}
@@ -0,0 +1,3 @@
1
+ import { ErrorCodes } from '../domain';
2
+ export declare const getUserFriendlyMessage: (errorCode?: ErrorCodes) => string;
3
+ //# sourceMappingURL=error-messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error-messages.d.ts","sourceRoot":"","sources":["../../../../src/lib/clean-architecture/utils/error-messages.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,eAAO,MAAM,sBAAsB,eAAgB,UAAU,KAAG,MAK/D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './error-messages';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/clean-architecture/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const MAX_PRODUCTS_IN_CART = 4;
2
+ //# sourceMappingURL=add-to-cart.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-to-cart.constant.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/add-to-cart.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,IAAI,CAAC"}
@@ -2,4 +2,5 @@ export * from './event';
2
2
  export * from './eventBus';
3
3
  export * from './i18n';
4
4
  export * from './products';
5
+ export * from './add-to-cart.constant';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DomainError.d.ts","sourceRoot":"","sources":["../../../src/lib/errors/DomainError.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED,qBAAa,WAAY,SAAQ,KAAK;IACc,KAAK,CAAC;gBAA5C,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAS,KAAK,CAAC,KAAK;IAK7D,KAAK,IAAI,cAAc;CAOxB"}
1
+ {"version":3,"file":"DomainError.d.ts","sourceRoot":"","sources":["../../../src/lib/errors/DomainError.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAED,qBAAa,WAAY,SAAQ,KAAK;IACc,KAAK,CAAC,EAAE,GAAG;gBAAjD,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAS,KAAK,CAAC,EAAE,GAAG;IAK7D,KAAK,IAAI,cAAc;CAOxB"}
@@ -1,5 +1,4 @@
1
1
  import { DomainError } from './DomainError';
2
-
3
2
  export declare class ResourceNotFoundError extends DomainError {
4
3
  constructor(id: string);
5
4
  }
@@ -1,5 +1,4 @@
1
1
  import { DomainError } from './DomainError';
2
-
3
2
  export declare class UnexpectedError extends DomainError {
4
3
  constructor(error: Error | unknown);
5
4
  }
@@ -1,6 +1,5 @@
1
- import { Attributes, EventBus, EventBusListener, EventBusSubscription } from '../types';
2
1
  import { Logger as LogLevelLogger } from 'loglevel';
3
-
2
+ import { Attributes, EventBus, EventBusListener, EventBusSubscription } from '../types';
4
3
  /**
5
4
  * Implementation of EventBus using BroadcastChannel for cross-window communication.
6
5
  */
@@ -1,6 +1,5 @@
1
- import { TranslationFiles, Translations } from '../types';
2
1
  import { i18n } from 'i18next';
3
-
2
+ import { TranslationFiles, Translations } from '../types';
4
3
  export declare function buildLanguageTranslations(langTranslations: Record<string, Record<string, string>>): Record<string, string>;
5
4
  export declare function buildTranslations(translationFiles: TranslationFiles): Translations;
6
5
  export declare function registerTranslationsOf(i18Instance: i18n, translationFiles: TranslationFiles): void;
@@ -1,4 +1,3 @@
1
1
  import { ThirdPartyModule, i18n } from 'i18next';
2
-
3
2
  export declare function i18Init(i18Instance: i18n, initReactI18next: ThirdPartyModule): void;
4
3
  //# sourceMappingURL=init.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { TranslationFiles } from '../types';
2
-
3
2
  export declare const registerTranslations: (translationFiles: TranslationFiles) => void;
4
3
  //# sourceMappingURL=nizza.d.ts.map
@@ -12,5 +12,6 @@ export * from './nizza-store';
12
12
  export * from './runtime';
13
13
  export * from './types';
14
14
  export * from './utils';
15
- export * from './ivs-socket';
15
+ export * from './socket';
16
+ export * from './meta-data';
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
@@ -1,6 +1,5 @@
1
- import { default as React } from 'react';
2
1
  import { LitElement } from 'lit';
3
-
2
+ import { default as React } from 'react';
4
3
  type Styles = Record<string, unknown>;
5
4
  /**
6
5
  * Abstract base class for LitElement components that host a React component.
@@ -0,0 +1,3 @@
1
+ export * from './meta-data-client.entity';
2
+ export * from './real-time-stream-info.entity';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/meta-data/core/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { AddToCart } from '../../../types';
3
+ import { RealTimeStreamInfo } from './real-time-stream-info.entity';
4
+ export type MetaDataClient = {
5
+ realTimeStreamInfo: RealTimeStreamInfo;
6
+ productsInCart: AddToCart[];
7
+ onTextMetadataCue: (cue: any) => void;
8
+ resetRealTimeStreamInfo: () => void;
9
+ setProductsInCart: Dispatch<SetStateAction<AddToCart[]>>;
10
+ };
11
+ //# sourceMappingURL=meta-data-client.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta-data-client.entity.d.ts","sourceRoot":"","sources":["../../../../../src/lib/meta-data/core/domain/meta-data-client.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,MAAM,MAAM,cAAc,GAAG;IAC3B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,cAAc,EAAE,SAAS,EAAE,CAAC;IAC5B,iBAAiB,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACtC,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,iBAAiB,EAAE,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;CAC1D,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface RealTimeStreamInfo {
2
+ startTime: string;
3
+ viewerCount: number;
4
+ status: string;
5
+ }
6
+ //# sourceMappingURL=real-time-stream-info.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"real-time-stream-info.entity.d.ts","sourceRoot":"","sources":["../../../../../src/lib/meta-data/core/domain/real-time-stream-info.entity.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export * from './domain';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/meta-data/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './use-meta-data-client.hook';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/meta-data/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { MetaDataClient } from '../core';
2
+ export declare const useMetaDataClient: () => MetaDataClient;
3
+ //# sourceMappingURL=use-meta-data-client.hook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-meta-data-client.hook.d.ts","sourceRoot":"","sources":["../../../../src/lib/meta-data/hooks/use-meta-data-client.hook.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAsB,MAAM,SAAS,CAAC;AAS7D,eAAO,MAAM,iBAAiB,QAAO,cAgDpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './core';
2
+ export * from './hooks';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/meta-data/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -1,6 +1,5 @@
1
- import { AppModuleStoreList, StoreClass } from '../types';
2
1
  import { FC, ReactNode } from 'react';
3
-
2
+ import { AppModuleStoreList, StoreClass } from '../types';
4
3
  interface Props {
5
4
  stores: AppModuleStoreList;
6
5
  children?: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { DependencyList, EffectCallback } from 'react';
2
-
3
2
  /**
4
3
  * This hook is just like the standard MobX autorun function, but it hooks into the React component
5
4
  * lifecycle. This means the set up for the autorun only happens once, and it's automatically
@@ -1,10 +1,9 @@
1
- import { Logger } from '../utils/logger';
2
- import { AccountStatus, AddToCartConfig, INizzaStore, NizzaConfig, NizzaProductDataSource } from '../types';
3
- import { BroadcastChannelEventBus } from '../event-buses';
4
1
  import { NizzaAccount } from '../accounts';
5
-
2
+ import { BroadcastChannelEventBus } from '../event-buses';
3
+ import { AccountStatus, AddToCartConfig, INizzaStore, NizzaConfig, NizzaProductDataSource } from '../types';
4
+ import { Logger } from '../utils/logger';
6
5
  export declare class NizzaStore implements INizzaStore {
7
- static readonly version = "5";
6
+ static readonly version = "6";
8
7
  private static _instance;
9
8
  readonly instanceId: string;
10
9
  readonly log: Logger;
@@ -17,12 +16,15 @@ export declare class NizzaStore implements INizzaStore {
17
16
  private constructor();
18
17
  static instance(): NizzaStore;
19
18
  configure(config: NizzaConfig): Promise<void>;
19
+ private updateConfig;
20
+ private fetchAccount;
20
21
  private setAccount;
21
22
  private setAccountStatus;
22
23
  setProductDataSource(dataSource: NizzaProductDataSource): void;
23
24
  setProductId(id: string): void;
24
25
  setOrderFormId(id: string): void;
25
26
  setAddToCartConfig(config: AddToCartConfig): void;
27
+ refetchAccount(): Promise<void>;
26
28
  get version(): string;
27
29
  get config(): NizzaConfig | null;
28
30
  get account(): NizzaAccount | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"NizzaStore.d.ts","sourceRoot":"","sources":["../../../src/lib/nizza-store/NizzaStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAc,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EACL,aAAa,EACb,eAAe,EACf,WAAW,EACX,WAAW,EACX,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,qBAAa,UAAW,YAAW,WAAW;IAC5C,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAa;IAErC,QAAQ,CAAC,UAAU,SAAa;IAChC,QAAQ,CAAC,GAAG,SAAoB;IAChC,QAAQ,CAAC,UAAU,4BAAiC;IAEpD,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,QAAQ,CAAC,CAAe;IAChC,OAAO,CAAC,cAAc,CAAyB;IAC/C,OAAO,CAAC,kBAAkB,CAAqC;IAC/D,OAAO,CAAC,SAAS,CAA0D;IAE3E,OAAO;IAsBP,MAAM,CAAC,QAAQ,IAAI,UAAU;IAqBvB,SAAS,CAAC,MAAM,EAAE,WAAW;IAuBnC,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,gBAAgB;IAGxB,oBAAoB,CAAC,UAAU,EAAE,sBAAsB;IAIvD,YAAY,CAAC,EAAE,EAAE,MAAM;IAKvB,cAAc,CAAC,EAAE,EAAE,MAAM;IAKzB,kBAAkB,CAAC,MAAM,EAAE,eAAe;IAS1C,IAAI,OAAO,WAEV;IAED,IAAI,MAAM,uBAET;IAED,IAAI,OAAO,6BAEV;IAED,IAAI,aAAa,kBAEhB;IAED,IAAI,WAAW,uBAEd;IAED,IAAI,iBAAiB,uCAEpB;IAED,IAAI,QAAQ,6BAEX;CACF;AAED,eAAO,MAAM,QAAQ,YAAa,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,eAS5D,CAAC"}
1
+ {"version":3,"file":"NizzaStore.d.ts","sourceRoot":"","sources":["../../../src/lib/nizza-store/NizzaStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAc,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EACL,aAAa,EACb,eAAe,EACf,WAAW,EACX,WAAW,EACX,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,qBAAa,UAAW,YAAW,WAAW;IAC5C,MAAM,CAAC,QAAQ,CAAC,OAAO,OAAO;IAC9B,OAAO,CAAC,MAAM,CAAC,SAAS,CAAa;IAErC,QAAQ,CAAC,UAAU,SAAa;IAChC,QAAQ,CAAC,GAAG,SAAoB;IAChC,QAAQ,CAAC,UAAU,4BAAiC;IAEpD,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,QAAQ,CAAC,CAAe;IAChC,OAAO,CAAC,cAAc,CAAyB;IAC/C,OAAO,CAAC,kBAAkB,CAAqC;IAC/D,OAAO,CAAC,SAAS,CAA0D;IAE3E,OAAO;IA6BP,MAAM,CAAC,QAAQ,IAAI,UAAU;IAqBvB,SAAS,CAAC,MAAM,EAAE,WAAW;YASrB,YAAY;YAaZ,YAAY;IAY1B,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,gBAAgB;IAIxB,oBAAoB,CAAC,UAAU,EAAE,sBAAsB;IAIvD,YAAY,CAAC,EAAE,EAAE,MAAM;IAKvB,cAAc,CAAC,EAAE,EAAE,MAAM;IAKzB,kBAAkB,CAAC,MAAM,EAAE,eAAe;IASpC,cAAc;IAKpB,IAAI,OAAO,WAEV;IAED,IAAI,MAAM,uBAET;IAED,IAAI,OAAO,6BAEV;IAED,IAAI,aAAa,kBAEhB;IAED,IAAI,WAAW,uBAEd;IAED,IAAI,iBAAiB,uCAEpB;IAED,IAAI,QAAQ,6BAEX;CACF;AAED,eAAO,MAAM,QAAQ,YAAa,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,eAS5D,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { NizzaStore } from './NizzaStore';
2
-
3
2
  /**
4
3
  * Returns the NizzaStore using memoization.
5
4
  *
@@ -1,6 +1,5 @@
1
- import { RenderHandler, RenderProps } from '../types';
2
1
  import { Logger } from 'loglevel';
3
-
2
+ import { RenderHandler, RenderProps } from '../types';
4
3
  export declare class ComponentManager<T = any> {
5
4
  private renderFn;
6
5
  private logger;
@@ -1,7 +1,6 @@
1
- import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
2
- import { Runtime } from '../runtime';
3
1
  import { GlobalStore, RuntimeType } from '../../types';
4
-
2
+ import { Runtime } from '../runtime';
3
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
5
4
  export declare class ExternalRuntime implements RuntimeStrategy {
6
5
  private config;
7
6
  static type: RuntimeType;
@@ -1 +1 @@
1
- {"version":3,"file":"external-runtime.d.ts","sourceRoot":"","sources":["../../../../src/lib/runtime/implementations/external-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAMlE,qBAAa,eAAgB,YAAW,eAAe;IAGzC,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,IAAI,cAAwB;gBAEf,MAAM,EAAE,qBAAqB;IAEjD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO;IASrD,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B"}
1
+ {"version":3,"file":"external-runtime.d.ts","sourceRoot":"","sources":["../../../../src/lib/runtime/implementations/external-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOlE,qBAAa,eAAgB,YAAW,eAAe;IAGzC,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,IAAI,cAAwB;gBAEf,MAAM,EAAE,qBAAqB;IAEjD,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO;IAUrD,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B"}
@@ -1,12 +1,12 @@
1
- import { VtexFastStoreRuntime } from './vtex-faststore-runtime';
2
- import { VtexLegacyRuntime } from './vtex-legacy-runtime';
3
- import { VtexIORuntime } from './vtex-io-runtime';
4
- import { LocalRuntime } from './local-runtime';
5
1
  import { ExternalRuntime } from './external-runtime';
6
-
2
+ import { LocalRuntime } from './local-runtime';
3
+ import { VtexIORuntime } from './vtex-io-runtime';
4
+ import { VtexLegacyRuntime } from './vtex-legacy-runtime';
5
+ import { VtexFastStoreRuntime } from './vtex-faststore-runtime';
6
+ import { PlatformRuntime } from './platform';
7
7
  export * from './external-runtime';
8
8
  export * from './local-runtime';
9
9
  export * from './vtex-io-runtime';
10
10
  export * from './vtex-legacy-runtime';
11
- export declare const runtimeList: (typeof LocalRuntime | typeof VtexLegacyRuntime | typeof VtexIORuntime | typeof ExternalRuntime | typeof VtexFastStoreRuntime)[];
11
+ export declare const runtimeList: (typeof LocalRuntime | typeof VtexLegacyRuntime | typeof VtexIORuntime | typeof ExternalRuntime | typeof VtexFastStoreRuntime | typeof PlatformRuntime)[];
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/runtime/implementations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,WAAW,kIAMvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/runtime/implementations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAEtC,eAAO,MAAM,WAAW,2JAOvB,CAAC"}
@@ -1,7 +1,6 @@
1
- import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
2
- import { Runtime } from '../runtime';
3
1
  import { GlobalStore, RuntimeType } from '../../types';
4
-
2
+ import { Runtime } from '../runtime';
3
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
5
4
  export declare class LocalRuntime implements RuntimeStrategy {
6
5
  private config;
7
6
  static type: RuntimeType;
@@ -0,0 +1,10 @@
1
+ import { RuntimeType } from '../../types';
2
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
3
+ export declare class PlatformRuntime implements RuntimeStrategy {
4
+ private config;
5
+ static type: RuntimeType;
6
+ constructor(config: RuntimeStrategyConfig);
7
+ static isApplicable(): boolean;
8
+ execute(): Promise<void>;
9
+ }
10
+ //# sourceMappingURL=platform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/lib/runtime/implementations/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAIlE,qBAAa,eAAgB,YAAW,eAAe;IAGzC,OAAO,CAAC,MAAM;IAF1B,MAAM,CAAC,IAAI,cAAwB;gBAEf,MAAM,EAAE,qBAAqB;IAEjD,MAAM,CAAC,YAAY,IAAI,OAAO;IAIxB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B"}
@@ -1,6 +1,5 @@
1
- import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
2
1
  import { RuntimeType } from '../../types';
3
-
2
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
4
3
  export declare class VtexFastStoreRuntime implements RuntimeStrategy {
5
4
  private config;
6
5
  static type: RuntimeType;
@@ -1,6 +1,5 @@
1
- import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
2
1
  import { RuntimeType } from '../../types';
3
-
2
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
4
3
  export declare class VtexIORuntime implements RuntimeStrategy {
5
4
  private config;
6
5
  static type: RuntimeType;
@@ -1,6 +1,5 @@
1
- import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
2
1
  import { RuntimeType } from '../../types';
3
-
2
+ import { RuntimeStrategy, RuntimeStrategyConfig } from '../types';
4
3
  export declare class VtexLegacyRuntime implements RuntimeStrategy {
5
4
  private config;
6
5
  static type: RuntimeType;