@wix/bex-utils 1.28.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 (680) hide show
  1. package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.d.ts +33 -0
  2. package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.js +452 -0
  3. package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.js.map +1 -0
  4. package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.d.ts +21 -0
  5. package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.js +399 -0
  6. package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.js.map +1 -0
  7. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/client/proto-generated.d.ts +4576 -0
  8. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/client/proto-generated.js +2 -0
  9. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.d.ts +2288 -0
  10. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.js +29722 -0
  11. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/server/proto-generated.d.ts +4559 -0
  12. package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/server/proto-generated.js +2 -0
  13. package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.d.ts +36 -0
  14. package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.js +182 -0
  15. package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.js.map +1 -0
  16. package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.d.ts +313 -0
  17. package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.js +28 -0
  18. package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.js.map +1 -0
  19. package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.d.ts +33 -0
  20. package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.js +405 -0
  21. package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.js.map +1 -0
  22. package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.d.ts +21 -0
  23. package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.js +388 -0
  24. package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.js.map +1 -0
  25. package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.d.ts +36 -0
  26. package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.js +149 -0
  27. package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.js.map +1 -0
  28. package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.d.ts +313 -0
  29. package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.js +25 -0
  30. package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.js.map +1 -0
  31. package/@wix/ambassador-app-settings-v1-settings/builders/package.json +7 -0
  32. package/@wix/ambassador-app-settings-v1-settings/http/package.json +7 -0
  33. package/@wix/ambassador-app-settings-v1-settings/package.json +49 -0
  34. package/@wix/ambassador-app-settings-v1-settings/rpc/package.json +6 -0
  35. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/app-settings.proto +327 -0
  36. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/user-preferences.proto +132 -0
  37. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/action_payload.proto +33 -0
  38. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/annotations.proto +335 -0
  39. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/api_errors.proto +117 -0
  40. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/callback.proto +134 -0
  41. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/context.proto +19 -0
  42. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/entity.proto +75 -0
  43. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/errors.proto +113 -0
  44. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/permissions.proto +40 -0
  45. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/sla.proto +24 -0
  46. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/subscription.proto +31 -0
  47. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/validations.proto +133 -0
  48. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/graphql/definitions.proto +13 -0
  49. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/http/field_mask.proto +45 -0
  50. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/sdk/definitions.proto +191 -0
  51. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/spi/definitions.proto +173 -0
  52. package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/spi/http_error_status.proto +24 -0
  53. package/@wix/ambassador-app-settings-v1-settings/types/package.json +7 -0
  54. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.d.ts +16 -0
  55. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.js +272 -0
  56. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.js.map +1 -0
  57. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.d.ts +1 -0
  58. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.js +5 -0
  59. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.js.map +1 -0
  60. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.d.ts +3 -0
  61. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.js +14 -0
  62. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.js.map +1 -0
  63. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.d.ts +10 -0
  64. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.js +148 -0
  65. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.js.map +1 -0
  66. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/client/proto-generated.d.ts +15110 -0
  67. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/client/proto-generated.js +2 -0
  68. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/proto-generated.d.ts +7555 -0
  69. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/proto-generated.js +99675 -0
  70. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/server/proto-generated.d.ts +15101 -0
  71. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/server/proto-generated.js +2 -0
  72. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.d.ts +23 -0
  73. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.js +109 -0
  74. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.js.map +1 -0
  75. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.d.ts +181 -0
  76. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.js +11 -0
  77. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.js.map +1 -0
  78. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.d.ts +16 -0
  79. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.js +242 -0
  80. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.js.map +1 -0
  81. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.d.ts +1 -0
  82. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.js +2 -0
  83. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.js.map +1 -0
  84. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.d.ts +3 -0
  85. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.js +10 -0
  86. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.js.map +1 -0
  87. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.d.ts +10 -0
  88. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.js +141 -0
  89. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.js.map +1 -0
  90. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.d.ts +23 -0
  91. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.js +81 -0
  92. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.js.map +1 -0
  93. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.d.ts +181 -0
  94. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.js +8 -0
  95. package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.js.map +1 -0
  96. package/@wix/ambassador-data-extensions-v1-data-extension-schema/builders/package.json +7 -0
  97. package/@wix/ambassador-data-extensions-v1-data-extension-schema/crud/http/package.json +7 -0
  98. package/@wix/ambassador-data-extensions-v1-data-extension-schema/crud/rpc/package.json +6 -0
  99. package/@wix/ambassador-data-extensions-v1-data-extension-schema/http/package.json +7 -0
  100. package/@wix/ambassador-data-extensions-v1-data-extension-schema/package.json +50 -0
  101. package/@wix/ambassador-data-extensions-v1-data-extension-schema/rpc/package.json +6 -0
  102. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/com/wixpress/appservice/api/components_catalog_type.proto +103 -0
  103. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_common.proto +193 -0
  104. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/alert_enricher/com/wixpress/appservice/api/upstream/spi/com/wixpress/vi/enricher/spi/enrichment_spi.proto +10 -0
  105. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/app_config.proto +20 -0
  106. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/application_automation/com/wixpress/appservice/api/upstream/com/wixpress/automations/service/application_automation_component.proto +167 -0
  107. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/automation_trigger.proto +101 -0
  108. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/automations_action_provider/com/wixpress/appservice/api/upstream/com/wixpress/esb/spi/action/v1/action_spi_provider.proto +173 -0
  109. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/automations_trigger_provider/com/wixpress/appservice/api/upstream/com/wixpress/esb/spi/trigger/v1/trigger_spi_provider.proto +77 -0
  110. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_extension.proto +89 -0
  111. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_extension_container.proto +31 -0
  112. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_page.proto +42 -0
  113. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_sidebar_category.proto +20 -0
  114. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_widget.proto +32 -0
  115. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/billing_tax_id_validator/com/wixpress/appservice/api/upstream/wix/billing/tax/validation/spi/v1/tax_id_validator.proto +20 -0
  116. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/bookings_external_calendar_provider/com/wixpress/appservice/api/upstream/com/wix/bookings/externalcalendar/spi/v1/calendar.proto +18 -0
  117. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/bookings_external_calendar_provider/com/wixpress/appservice/api/upstream/com/wix/bookings/externalcalendar/spi/v1/provider_config.proto +52 -0
  118. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/bookings_pricing_provider/com/wixpress/appservice/api/upstream/com/wixpress/bookings/pricing/spi/v1/bookings_pricing_provider.proto +17 -0
  119. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/code_package.proto +22 -0
  120. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/comments_filter_provider/com/wixpress/appservice/api/upstream/wix/comments/ng/v1/spi/comment_filter_provider.proto +22 -0
  121. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/comments_moderation_provider/com/wixpress/appservice/api/upstream/wix/comments/ng/v1/spi/comment_moderation_provider.proto +21 -0
  122. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/accepted_message_types.proto +21 -0
  123. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/channel_branding.proto +34 -0
  124. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/channel_configuration.proto +41 -0
  125. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/conversation_limitations.proto +20 -0
  126. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/dm/direct_message_config.proto +21 -0
  127. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/email/email_message_config.proto +16 -0
  128. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/media_capabilities.proto +38 -0
  129. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v1/channel/sms/sms_message_config.proto +20 -0
  130. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/communication_channel/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/spi/v1/communication_channels_spi.proto +13 -0
  131. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/component_reference_data_provider/com/wixpress/appservice/api/upstream/src/main/proto/wix/devcenter/apps/components/reference/data/component_reference_data_config.proto +17 -0
  132. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/components_translations_additional_fields_provider/com/wixpress/appservice/api/upstream/wix/devcenter/components/translation/v1/spi/component_additional_fields_translation_config.proto +12 -0
  133. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/components_validator_provider/com/wixpress/appservice/api/upstream/src/main/proto/wix/devcenter/apps/components/validator/components_validator_config.proto +19 -0
  134. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/contact_labels.proto +35 -0
  135. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/cross_sell/com/wixpress/appservice/api/upstream/com/wixpress/buildup/spi/cross_sell_orders_spi.proto +12 -0
  136. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/custom_scope/com/wixpress/appservice/api/upstream/com/wixpress/ecom/scopes/custom_scope_spi.proto +14 -0
  137. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard.proto +24 -0
  138. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard_application.proto +101 -0
  139. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard_platform.proto +11 -0
  140. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/data.proto +15 -0
  141. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/data_extensions.proto +16 -0
  142. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dc_config.proto +9 -0
  143. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dealer_external_filter_provider/com/wixpress/appservice/api/upstream/wix/dealerExternalServiceProviders/api/v1/dealer-external-filter-service.proto +16 -0
  144. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dev_center_component_test.proto +69 -0
  145. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_additional_fees/com/wixpress/appservice/api/upstream/com/wix/ecommerce/additional_fees_spi/api/v1/additional_fees_spi_config.proto +16 -0
  146. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_catalog/com/wixpress/appservice/api/upstream/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +24 -0
  147. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_default_taxation_category/com/wixpress/appservice/api/upstream/wix/billing/spi/v1/default_tax_group_configuration.proto +33 -0
  148. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_discounts_trigger/com/wixpress/appservice/api/upstream/com/wix/ecom/custom_trigger/v1/spi/custom_triggers_provider.proto +10 -0
  149. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_dropshipping_provider/com/wixpress/appservice/api/upstream/com/wix/ecommerce/dropshipping_provider_spi/api/v1/dropshipping_provider_spi.proto +44 -0
  150. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_line_items_enricher/com/wixpress/appservice/api/upstream/com/wix/ecom/line_items_enricher_spi/api/v1/line_items_enricher_spi.proto +12 -0
  151. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_shipping_rates/com/wixpress/appservice/api/upstream/com/wix/ecom/shipping_rates/v1/shipping-rates-config.proto +32 -0
  152. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_tax_calculator_spi/com/wixpress/appservice/api/upstream/wix/billing/spi/v1/tax_calculator_spi.proto +25 -0
  153. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ecom_validations/com/wixpress/appservice/api/upstream/com/wix/ecommerce/validations_spi/v1/validations_spi_config.proto +21 -0
  154. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/editor_addon.proto +41 -0
  155. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/embedded_script.proto +103 -0
  156. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/entitlement_policy_provider/com/wixpress/appservice/api/upstream/wix/entitlements/spi/v1/policy_provider_spi.proto +16 -0
  157. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/entitlement_provider/com/wixpress/appservice/api/upstream/wix/entitlements/spi/v1/entitlement_provider_spi.proto +19 -0
  158. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/fictional_shipping_provider/shipping_provider_spi.proto +17 -0
  159. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/forms_schema_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_schema_spi.proto +37 -0
  160. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/forms_spam_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_spam_submission_spi.proto +31 -0
  161. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/forms_spam_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/spam_submission_permissions.proto +21 -0
  162. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/forms_spi_common/com/wixpress/appservice/api/upstream/wix/forms/v4/forms_permissions.proto +20 -0
  163. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/forms_submissions_provider/com/wixpress/appservice/api/upstream/wix/forms/v4/form_submission_spi.proto +35 -0
  164. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/generic_hooks/com/wixpress/appservice/api/upstream/wix/framework/hooks/generic_hooks_config.proto +34 -0
  165. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/gift_cards_provider/com/wixpress/appservice/api/upstream/wix/gift/cards/provider/api/gift_cards_provider.proto +14 -0
  166. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/google_business_profile_feature_provider/com/wixpress/appservice/api/upstream/wix/promote/gbp_feature_provider_spi/v1/gbp_feature_config.proto +14 -0
  167. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/grid_apps_files_transformer/com/wixpress/appservice/api/upstream/wix/velo/ide/spi/v1/grid_app_files_transformer.proto +28 -0
  168. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/headless_oauth.proto +26 -0
  169. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/iam/com/wixpress/appservice/api/upstream/wix/iam/identity/v1/pre_register_spi.proto +11 -0
  170. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/identity_authenticator/com/wixpress/appservice/api/upstream/wix/iam/identity/authentication/authenticator/v1/authenticator_spi.proto +82 -0
  171. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/identity_idp_connector/com/wixpress/appservice/api/upstream/wix/iam/authentication/v1/idp_connector_spi.proto +18 -0
  172. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/identity_post_login/com/wixpress/appservice/api/upstream/wix/iam/authentication/v1/post_login_spi.proto +18 -0
  173. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/invoices/com/wixpress/appservice/api/upstream/wix/invoices/spi/v1/invoices_spi.proto +12 -0
  174. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/invoices_actions.proto +20 -0
  175. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/items_selection_provider/com/wixpress/appservice/api/upstream/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +107 -0
  176. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/local_delivery.proto +24 -0
  177. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/membership/com/wixpress/appservice/api/upstream/com/wix/ecom/memberships_spi/v1/memberships_spi.proto +14 -0
  178. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/multilingual_content_provider/com/wixpress/appservice/api/upstream/com/wixpress/multilingual/sitetranslator/spi/v1/TranslationContentProvider.proto +18 -0
  179. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/multiple_dashboards.proto +24 -0
  180. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/out_of_iframe.proto +32 -0
  181. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page.proto +97 -0
  182. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page_out_of_iframe.proto +34 -0
  183. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page_replace/page_replace.proto +12 -0
  184. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/payment_provider/com/wixpress/appservice/api/upstream/wix/psp/v1/payment_service_provider_config.proto +119 -0
  185. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/payments_gateway.proto +11 -0
  186. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ping_notifications.proto +12 -0
  187. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ping_settings_group.proto +25 -0
  188. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/platform.proto +59 -0
  189. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/plugin-interface.proto +25 -0
  190. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/portfolio_synced_projects_provider/com/wixpress/appservice/api/upstream/com/wixpress/portfolio/syncedprojects/spi/synced_projects_provider.proto +17 -0
  191. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/premium_custom_charges/com/wixpress/appservice/api/upstream/spi/wix/premium/customcharges/spi/v1/custom_charges_spi.proto +12 -0
  192. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/premium_products_paths/com/wixpress/appservice/api/upstream/spi/com/wixpress/premium/productspaths/v1/products_paths_spi.proto +12 -0
  193. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/recommendations_provider/com/wixpress/appservice/api/upstream/com/wix/ecom/recommendations/spi/recommendations_spi.proto +42 -0
  194. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/restaurants_pos/com/wixpress/appservice/api/upstream/wix/restaurants/pos/v1/pos_provider_config.proto +48 -0
  195. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/seo_keywords_suggestions/com/wixpress/appservice/api/upstream/wix/promote/seo_keywords_suggestions_spi/v1/seo_keywords_suggestions_spi.proto +27 -0
  196. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/shipping_label_carrier/com/wixpress/appservice/api/upstream/com/wix/ecom/shipping/label/carrier_spi/v1/shipping_label_carrier_spi.proto +84 -0
  197. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/slot.proto +13 -0
  198. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/snippet_solution.proto +11 -0
  199. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/social_marketing_design/com/wixpress/appservice/api/upstream/wix/promote/social_marketing_design_spi/v1/social_marketing_design_spi.proto +23 -0
  200. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/social_marketing_designs_provider/com/wixpress/appservice/api/upstream/wix/promote/social_marketing_designs_provider_spi/v1/designs_provider_config.proto +30 -0
  201. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/static_file.proto +17 -0
  202. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/studio.proto +33 -0
  203. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/studio_widget.proto +117 -0
  204. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/viewer_dynamic_site_structure_provider/com/wixpress/appservice/api/upstream/com/wixpress/structure/spi/v1/dynamic_site_structure_provider.proto +15 -0
  205. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/web.proto +346 -0
  206. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget.proto +121 -0
  207. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget_out_of_iframe.proto +30 -0
  208. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget_plugin.proto +34 -0
  209. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/wix_offering.proto +21 -0
  210. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/wix_reviews/com/wixpress/appservice/api/upstream/wix/reviews/product/catalog/spi/v1/reviews_product_catalog_provider.proto +18 -0
  211. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/worker.proto +11 -0
  212. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data.proto +333 -0
  213. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_messages.proto +63 -0
  214. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/extensions_messages.proto +111 -0
  215. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/src/main/proto/wix/devcenter/apps/components/reference/data/component_reference_data_config.proto +16 -0
  216. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/src/main/proto/wix/devcenter/apps/components/reference/data/component_reference_data_spi.proto +61 -0
  217. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/src/main/proto/wix/devcenter/apps/components/validator/components_validator_config.proto +18 -0
  218. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/src/main/proto/wix/devcenter/apps/components/validator/components_validator_spi.proto +42 -0
  219. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/action_payload.proto +33 -0
  220. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/annotations.proto +352 -0
  221. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/api_errors.proto +117 -0
  222. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/callback.proto +156 -0
  223. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/context.proto +19 -0
  224. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/entity.proto +80 -0
  225. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/errors.proto +113 -0
  226. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/permissions.proto +40 -0
  227. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/sla.proto +24 -0
  228. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/subscription.proto +31 -0
  229. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/validations.proto +133 -0
  230. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/address.proto +140 -0
  231. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/bulk.proto +52 -0
  232. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/identification.proto +40 -0
  233. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/image.proto +8 -0
  234. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/media.proto +225 -0
  235. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/money.proto +32 -0
  236. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/pageurl.proto +32 -0
  237. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/paging.proto +107 -0
  238. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/query.proto +417 -0
  239. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/sorting.proto +25 -0
  240. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/spi.proto +66 -0
  241. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/wixlink.proto +152 -0
  242. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/devcenter/apps/components/v1/component.proto +50 -0
  243. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/graphql/definitions.proto +13 -0
  244. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/http/field_mask.proto +46 -0
  245. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/infra/dataextensions/v1/data_extension_schema.proto +114 -0
  246. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/infra/dataextensions/v1/data_extension_schema_service.proto +162 -0
  247. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/sdk/definitions.proto +191 -0
  248. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/spi/definitions.proto +173 -0
  249. package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/spi/http_error_status.proto +24 -0
  250. package/@wix/ambassador-data-extensions-v1-data-extension-schema/types/package.json +7 -0
  251. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.d.ts +72 -0
  252. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +1043 -0
  253. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js.map +1 -0
  254. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.d.ts +8 -0
  255. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js +140 -0
  256. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js.map +1 -0
  257. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +20279 -0
  258. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.js +2 -0
  259. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +10146 -0
  260. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +137941 -0
  261. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +20132 -0
  262. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.js +2 -0
  263. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.d.ts +19 -0
  264. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.js +105 -0
  265. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.js.map +1 -0
  266. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +965 -0
  267. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +121 -0
  268. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -0
  269. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.d.ts +72 -0
  270. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +956 -0
  271. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js.map +1 -0
  272. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.d.ts +8 -0
  273. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js +133 -0
  274. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js.map +1 -0
  275. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.d.ts +19 -0
  276. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.js +77 -0
  277. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.js.map +1 -0
  278. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +965 -0
  279. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +118 -0
  280. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -0
  281. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/builders/package.json +7 -0
  282. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/http/package.json +7 -0
  283. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +49 -0
  284. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/rpc/package.json +6 -0
  285. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/advanced-seo-api.proto +66 -0
  286. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +16 -0
  287. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/description_line.proto +60 -0
  288. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +88 -0
  289. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_media.proto +31 -0
  290. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_type.proto +21 -0
  291. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/payment_option.proto +19 -0
  292. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/physical_properties.proto +15 -0
  293. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/platform_catalog_spi.proto +149 -0
  294. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/price_description.proto +13 -0
  295. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/product_name.proto +21 -0
  296. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/secured_media.proto +23 -0
  297. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/service_properties.proto +14 -0
  298. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/subscription_option_info.proto +48 -0
  299. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/address.proto +39 -0
  300. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/addressComponents.proto +41 -0
  301. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/length.proto +14 -0
  302. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/measurementUnit.proto +30 -0
  303. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/multilingualMigration.proto +8 -0
  304. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformCursor.proto +17 -0
  305. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformMedia.proto +15 -0
  306. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformPaging.proto +36 -0
  307. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformPagingMetadata.proto +48 -0
  308. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformQuery.proto +37 -0
  309. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platform_search.proto +39 -0
  310. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/unlimitedPlatformQuery.proto +69 -0
  311. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/inventory/api/v1/inventoryEvents.proto +61 -0
  312. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/address.proto +71 -0
  313. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/address_with_contact.proto +14 -0
  314. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/channel_type.proto +16 -0
  315. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/pickup_address.proto +52 -0
  316. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/price.proto +26 -0
  317. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/weight.proto +14 -0
  318. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/action_payload.proto +33 -0
  319. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +340 -0
  320. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/api_errors.proto +117 -0
  321. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/callback.proto +156 -0
  322. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/context.proto +19 -0
  323. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +80 -0
  324. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +113 -0
  325. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/permissions.proto +40 -0
  326. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/sla.proto +24 -0
  327. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/subscription.proto +31 -0
  328. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/validations.proto +133 -0
  329. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/bulk.proto +10 -0
  330. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +1185 -0
  331. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalogNotReviewed.proto +259 -0
  332. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog_error_data.proto +8 -0
  333. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/collection.proto +39 -0
  334. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/costAndProfit.proto +22 -0
  335. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/event/catalogEvents.proto +104 -0
  336. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/media.proto +89 -0
  337. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/pageUrl.proto +10 -0
  338. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/price.proto +65 -0
  339. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/product.proto +176 -0
  340. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/productOption.proto +56 -0
  341. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/query.proto +45 -0
  342. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/ribbon.proto +15 -0
  343. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/variant.proto +118 -0
  344. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v2/collectionRead.proto +75 -0
  345. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/address.proto +140 -0
  346. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/bulk.proto +52 -0
  347. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/identification.proto +40 -0
  348. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/image.proto +8 -0
  349. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +225 -0
  350. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/money.proto +32 -0
  351. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/pageurl.proto +32 -0
  352. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/paging.proto +107 -0
  353. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/query.proto +417 -0
  354. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/sorting.proto +25 -0
  355. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/spi.proto +66 -0
  356. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/wixlink.proto +152 -0
  357. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/cart.proto +44 -0
  358. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupon.proto +25 -0
  359. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons-adapter.proto +101 -0
  360. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons.proto +206 -0
  361. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/response-status.proto +10 -0
  362. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/specification.proto +37 -0
  363. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/cart.proto +46 -0
  364. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupon.proto +43 -0
  365. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/couponAppliedEvent.proto +25 -0
  366. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-adapter.proto +61 -0
  367. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-manager-ui.proto +99 -0
  368. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons.proto +399 -0
  369. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/internal-coupons.proto +46 -0
  370. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/item-for-coupon.proto +22 -0
  371. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/mediaitem.proto +13 -0
  372. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/response-status.proto +10 -0
  373. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/scope.proto +17 -0
  374. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/specification.proto +91 -0
  375. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/catalog.proto +30 -0
  376. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/export.proto +96 -0
  377. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/export_service.proto +145 -0
  378. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservicespi/v1/export_query_v2.proto +53 -0
  379. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservicespi/v1/export_service_spi.proto +50 -0
  380. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/graphql/definitions.proto +13 -0
  381. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/http/field_mask.proto +46 -0
  382. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +79 -0
  383. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobItem.proto +34 -0
  384. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +246 -0
  385. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/upstream/wix/common/paging.proto +34 -0
  386. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventory.proto +225 -0
  387. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventoryItem.proto +95 -0
  388. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/preOrderInfo.proto +16 -0
  389. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/query.proto +30 -0
  390. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/accounts.proto +30 -0
  391. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/applepay-payment-method.proto +40 -0
  392. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/googlepay-payment-method.proto +55 -0
  393. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/mandatory-fields.proto +69 -0
  394. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/orders.proto +588 -0
  395. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-details.proto +42 -0
  396. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-methods.proto +260 -0
  397. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payments.proto +334 -0
  398. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-payment-method.proto +158 -0
  399. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-recurring-orders.proto +38 -0
  400. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/pos-transactions.proto +34 -0
  401. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/account.proto +22 -0
  402. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/address.proto +57 -0
  403. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/charge.proto +220 -0
  404. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/mandatory-field.proto +44 -0
  405. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-additional-charges.proto +19 -0
  406. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-buyer-info.proto +25 -0
  407. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-cof-intent.proto +131 -0
  408. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-description.proto +146 -0
  409. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-item.proto +32 -0
  410. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-return-urls.proto +21 -0
  411. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-status.proto +46 -0
  412. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-urls.proto +41 -0
  413. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order.proto +37 -0
  414. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment-method.proto +296 -0
  415. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment.proto +208 -0
  416. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/pos-transaction.proto +41 -0
  417. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription-frequency.proto +14 -0
  418. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription-trial-period.proto +16 -0
  419. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription.proto +35 -0
  420. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/transaction.proto +46 -0
  421. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/payment-events.proto +27 -0
  422. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/order.proto +80 -0
  423. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/payment-details.proto +15 -0
  424. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/payment-event.proto +121 -0
  425. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/recurring-payment.proto +32 -0
  426. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/refund.proto +34 -0
  427. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/transaction.proto +82 -0
  428. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/sdk/definitions.proto +191 -0
  429. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/definitions.proto +173 -0
  430. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/http_error_status.proto +24 -0
  431. package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/types/package.json +7 -0
  432. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.d.ts +14 -0
  433. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js +168 -0
  434. package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +1 -0
  435. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +1 -0
  436. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +5 -0
  437. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +1 -0
  438. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.d.ts +11 -0
  439. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +41 -0
  440. package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +1 -0
  441. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +12 -0
  442. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js +167 -0
  443. package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +1 -0
  444. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.d.ts +7382 -0
  445. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.js +2 -0
  446. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.d.ts +3700 -0
  447. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +57101 -0
  448. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.d.ts +7377 -0
  449. package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.js +2 -0
  450. package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +21 -0
  451. package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js +95 -0
  452. package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +1 -0
  453. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.d.ts +73 -0
  454. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js +10 -0
  455. package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +1 -0
  456. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.d.ts +14 -0
  457. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js +140 -0
  458. package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +1 -0
  459. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +1 -0
  460. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +2 -0
  461. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +1 -0
  462. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.d.ts +11 -0
  463. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js +34 -0
  464. package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +1 -0
  465. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +12 -0
  466. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js +159 -0
  467. package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +1 -0
  468. package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +21 -0
  469. package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js +68 -0
  470. package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +1 -0
  471. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.d.ts +73 -0
  472. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js +7 -0
  473. package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +1 -0
  474. package/@wix/ambassador-os-tags-v1-tag/builders/package.json +7 -0
  475. package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +7 -0
  476. package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +6 -0
  477. package/@wix/ambassador-os-tags-v1-tag/http/package.json +7 -0
  478. package/@wix/ambassador-os-tags-v1-tag/package.json +52 -0
  479. package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +6 -0
  480. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/action_payload.proto +33 -0
  481. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +360 -0
  482. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/api_errors.proto +117 -0
  483. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +156 -0
  484. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/context.proto +19 -0
  485. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +80 -0
  486. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/errors.proto +113 -0
  487. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +40 -0
  488. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/sla.proto +24 -0
  489. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +31 -0
  490. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +131 -0
  491. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/address.proto +140 -0
  492. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/bulk.proto +52 -0
  493. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/dataextensions/extended-fields.proto +18 -0
  494. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/dataextensions/update-extended-fields-messages.proto +15 -0
  495. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/errors.proto +411 -0
  496. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/identification.proto +40 -0
  497. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/image.proto +8 -0
  498. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/media.proto +225 -0
  499. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/money.proto +32 -0
  500. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/pageurl.proto +32 -0
  501. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/paging.proto +107 -0
  502. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +417 -0
  503. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/sorting.proto +25 -0
  504. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/spi.proto +66 -0
  505. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/tags.proto +55 -0
  506. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/wixlink.proto +152 -0
  507. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/graphql/definitions.proto +13 -0
  508. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/http/field_mask.proto +46 -0
  509. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +39 -0
  510. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag_exposure.proto +12 -0
  511. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +192 -0
  512. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/sdk/definitions.proto +191 -0
  513. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/spi/definitions.proto +173 -0
  514. package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/spi/http_error_status.proto +24 -0
  515. package/@wix/ambassador-os-tags-v1-tag/types/package.json +7 -0
  516. package/@wix/bi-logger-cairo-os/dist/cjs/index.js +294 -0
  517. package/@wix/bi-logger-cairo-os/dist/cjs/index.js.map +1 -0
  518. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js +596 -0
  519. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js.map +1 -0
  520. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js +6383 -0
  521. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js.map +1 -0
  522. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js +640 -0
  523. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js.map +1 -0
  524. package/@wix/bi-logger-cairo-os/dist/cjs/types.js +3 -0
  525. package/@wix/bi-logger-cairo-os/dist/cjs/types.js.map +1 -0
  526. package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js +2085 -0
  527. package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js.map +1 -0
  528. package/@wix/bi-logger-cairo-os/dist/esm/index.js +290 -0
  529. package/@wix/bi-logger-cairo-os/dist/esm/index.js.map +1 -0
  530. package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js +588 -0
  531. package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js.map +1 -0
  532. package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js +6379 -0
  533. package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js.map +1 -0
  534. package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js +612 -0
  535. package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js.map +1 -0
  536. package/@wix/bi-logger-cairo-os/dist/esm/types.js +2 -0
  537. package/@wix/bi-logger-cairo-os/dist/esm/types.js.map +1 -0
  538. package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js +2005 -0
  539. package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js.map +1 -0
  540. package/@wix/bi-logger-cairo-os/dist/types/index.d.ts +93 -0
  541. package/@wix/bi-logger-cairo-os/dist/types/testkit/client-testkit.d.ts +1338 -0
  542. package/@wix/bi-logger-cairo-os/dist/types/testkit/common.d.ts +10 -0
  543. package/@wix/bi-logger-cairo-os/dist/types/testkit/node-testkit.d.ts +1339 -0
  544. package/@wix/bi-logger-cairo-os/dist/types/types.d.ts +1333 -0
  545. package/@wix/bi-logger-cairo-os/dist/types/v2/index.d.ts +1853 -0
  546. package/@wix/bi-logger-cairo-os/package.json +50 -0
  547. package/@wix/bi-logger-cairo-os/src/external-types.d.ts +1 -0
  548. package/@wix/bi-logger-cairo-os/src/index.ts +346 -0
  549. package/@wix/bi-logger-cairo-os/src/testkit/client-testkit.ts +1596 -0
  550. package/@wix/bi-logger-cairo-os/src/testkit/common.ts +6456 -0
  551. package/@wix/bi-logger-cairo-os/src/testkit/node-testkit.ts +1606 -0
  552. package/@wix/bi-logger-cairo-os/src/types.ts +2407 -0
  553. package/@wix/bi-logger-cairo-os/src/v2/index.ts +2081 -0
  554. package/@wix/bi-logger-cairo-os/testkit/client/package.json +6 -0
  555. package/@wix/bi-logger-cairo-os/testkit/node/package.json +6 -0
  556. package/@wix/bi-logger-cairo-os/testkit/package.json +6 -0
  557. package/@wix/bi-logger-cairo-os/v2/package.json +6 -0
  558. package/@wix/bi-logger-cairo-os/v2/types.d.ts +1 -0
  559. package/@wix/wix-i18n-config/README.md +247 -0
  560. package/@wix/wix-i18n-config/dist/cjs/i18n.js +72 -0
  561. package/@wix/wix-i18n-config/dist/cjs/i18n.js.map +1 -0
  562. package/@wix/wix-i18n-config/dist/cjs/icu/icu.js +126 -0
  563. package/@wix/wix-i18n-config/dist/cjs/icu/icu.js.map +1 -0
  564. package/@wix/wix-i18n-config/dist/cjs/icu/utils.js +82 -0
  565. package/@wix/wix-i18n-config/dist/cjs/icu/utils.js.map +1 -0
  566. package/@wix/wix-i18n-config/dist/cjs/index.js +28 -0
  567. package/@wix/wix-i18n-config/dist/cjs/index.js.map +1 -0
  568. package/@wix/wix-i18n-config/dist/cjs/initI18n.js +24 -0
  569. package/@wix/wix-i18n-config/dist/cjs/initI18n.js.map +1 -0
  570. package/@wix/wix-i18n-config/dist/cjs/initI18nWithoutICU.js +9 -0
  571. package/@wix/wix-i18n-config/dist/cjs/initI18nWithoutICU.js.map +1 -0
  572. package/@wix/wix-i18n-config/dist/cjs/relative-time-formatting.js +266 -0
  573. package/@wix/wix-i18n-config/dist/cjs/relative-time-formatting.js.map +1 -0
  574. package/@wix/wix-i18n-config/dist/esm/i18n.js +51 -0
  575. package/@wix/wix-i18n-config/dist/esm/i18n.js.map +1 -0
  576. package/@wix/wix-i18n-config/dist/esm/icu/icu.js +106 -0
  577. package/@wix/wix-i18n-config/dist/esm/icu/icu.js.map +1 -0
  578. package/@wix/wix-i18n-config/dist/esm/icu/utils.js +71 -0
  579. package/@wix/wix-i18n-config/dist/esm/icu/utils.js.map +1 -0
  580. package/@wix/wix-i18n-config/dist/esm/index.js +9 -0
  581. package/@wix/wix-i18n-config/dist/esm/index.js.map +1 -0
  582. package/@wix/wix-i18n-config/dist/esm/initI18n.js +10 -0
  583. package/@wix/wix-i18n-config/dist/esm/initI18n.js.map +1 -0
  584. package/@wix/wix-i18n-config/dist/esm/initI18nWithoutICU.js +5 -0
  585. package/@wix/wix-i18n-config/dist/esm/initI18nWithoutICU.js.map +1 -0
  586. package/@wix/wix-i18n-config/dist/esm/relative-time-formatting.js +263 -0
  587. package/@wix/wix-i18n-config/dist/esm/relative-time-formatting.js.map +1 -0
  588. package/@wix/wix-i18n-config/dist/tsconfig.tsbuildinfo +1 -0
  589. package/@wix/wix-i18n-config/dist/types/i18n.d.ts +16 -0
  590. package/@wix/wix-i18n-config/dist/types/i18n.d.ts.map +1 -0
  591. package/@wix/wix-i18n-config/dist/types/icu/icu.d.ts +47 -0
  592. package/@wix/wix-i18n-config/dist/types/icu/icu.d.ts.map +1 -0
  593. package/@wix/wix-i18n-config/dist/types/icu/utils.d.ts +6 -0
  594. package/@wix/wix-i18n-config/dist/types/icu/utils.d.ts.map +1 -0
  595. package/@wix/wix-i18n-config/dist/types/index.d.ts +12 -0
  596. package/@wix/wix-i18n-config/dist/types/index.d.ts.map +1 -0
  597. package/@wix/wix-i18n-config/dist/types/initI18n.d.ts +8 -0
  598. package/@wix/wix-i18n-config/dist/types/initI18n.d.ts.map +1 -0
  599. package/@wix/wix-i18n-config/dist/types/initI18nWithoutICU.d.ts +3 -0
  600. package/@wix/wix-i18n-config/dist/types/initI18nWithoutICU.d.ts.map +1 -0
  601. package/@wix/wix-i18n-config/dist/types/relative-time-formatting.d.ts +7 -0
  602. package/@wix/wix-i18n-config/dist/types/relative-time-formatting.d.ts.map +1 -0
  603. package/@wix/wix-i18n-config/package.json +63 -0
  604. package/README.md +12 -0
  605. package/dist/cjs/PromiseState.js +68 -0
  606. package/dist/cjs/PromiseState.js.map +1 -0
  607. package/dist/cjs/batchUpdates.js +7 -0
  608. package/dist/cjs/batchUpdates.js.map +1 -0
  609. package/dist/cjs/events.js +19 -0
  610. package/dist/cjs/events.js.map +1 -0
  611. package/dist/cjs/exports/react-dom.js +10 -0
  612. package/dist/cjs/exports/react-dom.js.map +1 -0
  613. package/dist/cjs/exports/react-native.js +10 -0
  614. package/dist/cjs/exports/react-native.js.map +1 -0
  615. package/dist/cjs/exports/react.js +10 -0
  616. package/dist/cjs/exports/react.js.map +1 -0
  617. package/dist/cjs/index.js +22 -0
  618. package/dist/cjs/index.js.map +1 -0
  619. package/dist/cjs/reactive.js +23 -0
  620. package/dist/cjs/reactive.js.map +1 -0
  621. package/dist/cjs/reactiveContext.js +9 -0
  622. package/dist/cjs/reactiveContext.js.map +1 -0
  623. package/dist/cjs/setReactDOMBatchUpdates.js +12 -0
  624. package/dist/cjs/setReactDOMBatchUpdates.js.map +1 -0
  625. package/dist/cjs/setReactNativeBatchUpdates.js +10 -0
  626. package/dist/cjs/setReactNativeBatchUpdates.js.map +1 -0
  627. package/dist/cjs/useReactive.js +18 -0
  628. package/dist/cjs/useReactive.js.map +1 -0
  629. package/dist/esm/PromiseState.js +47 -0
  630. package/dist/esm/PromiseState.js.map +1 -0
  631. package/dist/esm/batchUpdates.js +2 -0
  632. package/dist/esm/batchUpdates.js.map +1 -0
  633. package/dist/esm/events.js +15 -0
  634. package/dist/esm/events.js.map +1 -0
  635. package/dist/esm/exports/react-dom.js +2 -0
  636. package/dist/esm/exports/react-dom.js.map +1 -0
  637. package/dist/esm/exports/react-native.js +2 -0
  638. package/dist/esm/exports/react-native.js.map +1 -0
  639. package/dist/esm/exports/react.js +2 -0
  640. package/dist/esm/exports/react.js.map +1 -0
  641. package/dist/esm/index.js +4 -0
  642. package/dist/esm/index.js.map +1 -0
  643. package/dist/esm/reactive.js +17 -0
  644. package/dist/esm/reactive.js.map +1 -0
  645. package/dist/esm/reactiveContext.js +5 -0
  646. package/dist/esm/reactiveContext.js.map +1 -0
  647. package/dist/esm/setReactDOMBatchUpdates.js +7 -0
  648. package/dist/esm/setReactDOMBatchUpdates.js.map +1 -0
  649. package/dist/esm/setReactNativeBatchUpdates.js +6 -0
  650. package/dist/esm/setReactNativeBatchUpdates.js.map +1 -0
  651. package/dist/esm/useReactive.js +14 -0
  652. package/dist/esm/useReactive.js.map +1 -0
  653. package/dist/types/PromiseState.d.ts +35 -0
  654. package/dist/types/PromiseState.d.ts.map +1 -0
  655. package/dist/types/batchUpdates.d.ts +3 -0
  656. package/dist/types/batchUpdates.d.ts.map +1 -0
  657. package/dist/types/events.d.ts +10 -0
  658. package/dist/types/events.d.ts.map +1 -0
  659. package/dist/types/exports/react-dom.d.ts +2 -0
  660. package/dist/types/exports/react-dom.d.ts.map +1 -0
  661. package/dist/types/exports/react-native.d.ts +2 -0
  662. package/dist/types/exports/react-native.d.ts.map +1 -0
  663. package/dist/types/exports/react.d.ts +2 -0
  664. package/dist/types/exports/react.d.ts.map +1 -0
  665. package/dist/types/index.d.ts +4 -0
  666. package/dist/types/index.d.ts.map +1 -0
  667. package/dist/types/reactive.d.ts +9 -0
  668. package/dist/types/reactive.d.ts.map +1 -0
  669. package/dist/types/reactiveContext.d.ts +6 -0
  670. package/dist/types/reactiveContext.d.ts.map +1 -0
  671. package/dist/types/setReactDOMBatchUpdates.d.ts +2 -0
  672. package/dist/types/setReactDOMBatchUpdates.d.ts.map +1 -0
  673. package/dist/types/setReactNativeBatchUpdates.d.ts +2 -0
  674. package/dist/types/setReactNativeBatchUpdates.d.ts.map +1 -0
  675. package/dist/types/useReactive.d.ts +3 -0
  676. package/dist/types/useReactive.d.ts.map +1 -0
  677. package/package.json +147 -0
  678. package/react/package.json +6 -0
  679. package/react-dom/package.json +6 -0
  680. package/react-native/package.json +6 -0
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # cairo-utils
2
+
3
+ ## [copy-bundled-modules.ts](scripts%2Fcopy-bundled-modules.ts)
4
+
5
+ Copies bundled modules from `node_modules`.
6
+ > This is not meant for extensive use, but rather for the few modules that are not published on public npm registry.
7
+
8
+ ### Process
9
+ During the build process, the `copy-bundled-modules` script is executed.
10
+ The list of modules to copy is defined inside the script.
11
+ The script copies the modules from `node_modules` directly under `packages/utils` (so if a new directory is added, it should be added to `.gitignore` & `package.json` -> `files` as well).
12
+ It also copies list of dependencies of each module to `packages/utils/package.json` (there's on option to ignore dependencies, if they're needed only in non-production entry points, i.e `@wix/bi-logger-testkit` required only via `@wix/bi-logger-cairo-os/testkit`).
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ exports.__esModule = true;
5
+ exports.PromiseState = void 0;
6
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
7
+ var _reactive = require("./reactive");
8
+ class PromiseState {
9
+ constructor(params) {
10
+ (0, _defineProperty2.default)(this, "status", (0, _reactive.reactive)({
11
+ type: 'idle'
12
+ }));
13
+ (0, _defineProperty2.default)(this, "onError", void 0);
14
+ (0, _defineProperty2.default)(this, "fn", void 0);
15
+ this.fn = params.fn;
16
+ this.onError = params.onError;
17
+ }
18
+ async once() {
19
+ const {
20
+ status: {
21
+ value: {
22
+ type,
23
+ promise
24
+ }
25
+ }
26
+ } = this;
27
+ if (type === 'loading') {
28
+ await promise;
29
+ return;
30
+ }
31
+ if (type === 'success') {
32
+ return;
33
+ }
34
+ return this.run();
35
+ }
36
+ async run() {
37
+ const {
38
+ fn,
39
+ status,
40
+ onError
41
+ } = this;
42
+ const promise = fn();
43
+ status.value = {
44
+ type: 'loading',
45
+ promise
46
+ };
47
+ try {
48
+ const data = await promise;
49
+ if (promise === status.value.promise) {
50
+ status.value = {
51
+ type: 'success',
52
+ data,
53
+ promise
54
+ };
55
+ }
56
+ } catch (error) {
57
+ onError == null || onError(error);
58
+ if (promise === status.value.promise) {
59
+ status.value = {
60
+ type: 'error',
61
+ error
62
+ };
63
+ }
64
+ }
65
+ }
66
+ }
67
+ exports.PromiseState = PromiseState;
68
+ //# sourceMappingURL=PromiseState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactive","require","PromiseState","constructor","params","_defineProperty2","default","reactive","type","fn","onError","once","status","value","promise","run","data","error","exports"],"sources":["../../src/PromiseState.ts"],"sourcesContent":["import { reactive } from './reactive';\n\nexport interface PromiseStatusIdle {\n type: 'idle';\n data?: undefined;\n promise?: undefined;\n}\nexport interface PromiseStatusLoading<T> {\n type: 'loading';\n data?: undefined;\n promise: Promise<T>;\n}\nexport interface PromiseStatusSuccess<T> {\n type: 'success';\n data: T;\n promise: Promise<T>;\n}\nexport interface PromiseStatusError {\n type: 'error';\n error: unknown;\n data?: undefined;\n promise?: undefined;\n}\n\nexport type PromiseStatus<T> =\n | PromiseStatusIdle\n | PromiseStatusLoading<T>\n | PromiseStatusSuccess<T>\n | PromiseStatusError;\n\nexport interface PromiseStateParams<T> {\n fn: () => Promise<T>;\n onError?: (err: unknown) => unknown;\n}\n\nexport class PromiseState<T> {\n readonly status = reactive<PromiseStatus<T>>({ type: 'idle' });\n readonly onError;\n fn;\n\n constructor(params: PromiseStateParams<T>) {\n this.fn = params.fn;\n this.onError = params.onError;\n }\n\n async once() {\n const {\n status: {\n value: { type, promise },\n },\n } = this;\n\n if (type === 'loading') {\n await promise;\n return;\n }\n\n if (type === 'success') {\n return;\n }\n\n return this.run();\n }\n\n async run() {\n const { fn, status, onError } = this;\n const promise = fn();\n\n status.value = {\n type: 'loading',\n promise,\n };\n\n try {\n const data = await promise;\n if (promise === status.value.promise) {\n status.value = {\n type: 'success',\n data,\n promise,\n };\n }\n } catch (error) {\n onError?.(error);\n if (promise === status.value.promise) {\n status.value = {\n type: 'error',\n error,\n };\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAmCO,MAAMC,YAAY,CAAI;EAK3BC,WAAWA,CAACC,MAA6B,EAAE;IAAA,IAAAC,gBAAA,CAAAC,OAAA,kBAJzB,IAAAC,kBAAQ,EAAmB;MAAEC,IAAI,EAAE;IAAO,CAAC,CAAC;IAAA,IAAAH,gBAAA,CAAAC,OAAA;IAAA,IAAAD,gBAAA,CAAAC,OAAA;IAK5D,IAAI,CAACG,EAAE,GAAGL,MAAM,CAACK,EAAE;IACnB,IAAI,CAACC,OAAO,GAAGN,MAAM,CAACM,OAAO;EAC/B;EAEA,MAAMC,IAAIA,CAAA,EAAG;IACX,MAAM;MACJC,MAAM,EAAE;QACNC,KAAK,EAAE;UAAEL,IAAI;UAAEM;QAAQ;MACzB;IACF,CAAC,GAAG,IAAI;IAER,IAAIN,IAAI,KAAK,SAAS,EAAE;MACtB,MAAMM,OAAO;MACb;IACF;IAEA,IAAIN,IAAI,KAAK,SAAS,EAAE;MACtB;IACF;IAEA,OAAO,IAAI,CAACO,GAAG,CAAC,CAAC;EACnB;EAEA,MAAMA,GAAGA,CAAA,EAAG;IACV,MAAM;MAAEN,EAAE;MAAEG,MAAM;MAAEF;IAAQ,CAAC,GAAG,IAAI;IACpC,MAAMI,OAAO,GAAGL,EAAE,CAAC,CAAC;IAEpBG,MAAM,CAACC,KAAK,GAAG;MACbL,IAAI,EAAE,SAAS;MACfM;IACF,CAAC;IAED,IAAI;MACF,MAAME,IAAI,GAAG,MAAMF,OAAO;MAC1B,IAAIA,OAAO,KAAKF,MAAM,CAACC,KAAK,CAACC,OAAO,EAAE;QACpCF,MAAM,CAACC,KAAK,GAAG;UACbL,IAAI,EAAE,SAAS;UACfQ,IAAI;UACJF;QACF,CAAC;MACH;IACF,CAAC,CAAC,OAAOG,KAAK,EAAE;MACdP,OAAO,YAAPA,OAAO,CAAGO,KAAK,CAAC;MAChB,IAAIH,OAAO,KAAKF,MAAM,CAACC,KAAK,CAACC,OAAO,EAAE;QACpCF,MAAM,CAACC,KAAK,GAAG;UACbL,IAAI,EAAE,OAAO;UACbS;QACF,CAAC;MACH;IACF;EACF;AACF;AAACC,OAAA,CAAAhB,YAAA,GAAAA,YAAA"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.noOpBatchedUpdates = void 0;
5
+ const noOpBatchedUpdates = callback => callback();
6
+ exports.noOpBatchedUpdates = noOpBatchedUpdates;
7
+ //# sourceMappingURL=batchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["noOpBatchedUpdates","callback","exports"],"sources":["../../src/batchUpdates.ts"],"sourcesContent":["export type BatchUpdates = (callback: () => any) => void;\n\nexport const noOpBatchedUpdates: BatchUpdates = (callback) => callback();\n"],"mappings":";;;;AAEO,MAAMA,kBAAgC,GAAIC,QAAQ,IAAKA,QAAQ,CAAC,CAAC;AAACC,OAAA,CAAAF,kBAAA,GAAAA,kBAAA"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.createEvents = createEvents;
5
+ function createEvents(listenersList = []) {
6
+ return {
7
+ addListener(listener) {
8
+ listenersList.push(listener);
9
+ return () => {
10
+ const i = listenersList.indexOf(listener);
11
+ i !== -1 && listenersList.splice(i, 1);
12
+ };
13
+ },
14
+ emit() {
15
+ listenersList.slice().forEach(e => e());
16
+ }
17
+ };
18
+ }
19
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createEvents","listenersList","addListener","listener","push","i","indexOf","splice","emit","slice","forEach","e"],"sources":["../../src/events.ts"],"sourcesContent":["type AnyFn = (...args: any[]) => any;\ntype NoArgsFn = () => unknown;\nexport type Listener<F extends AnyFn = NoArgsFn> = F;\n\nexport interface Events<F extends AnyFn = NoArgsFn> {\n addListener(listener: F): () => void;\n emit(): void;\n}\n\nexport function createEvents<F extends AnyFn = NoArgsFn>(\n listenersList: F[] = [],\n): Events<F> {\n return {\n addListener(listener: F) {\n listenersList.push(listener);\n return () => {\n const i = listenersList.indexOf(listener);\n i !== -1 && listenersList.splice(i, 1);\n };\n },\n emit() {\n listenersList.slice().forEach((e) => e());\n },\n };\n}\n"],"mappings":";;;;AASO,SAASA,YAAYA,CAC1BC,aAAkB,GAAG,EAAE,EACZ;EACX,OAAO;IACLC,WAAWA,CAACC,QAAW,EAAE;MACvBF,aAAa,CAACG,IAAI,CAACD,QAAQ,CAAC;MAC5B,OAAO,MAAM;QACX,MAAME,CAAC,GAAGJ,aAAa,CAACK,OAAO,CAACH,QAAQ,CAAC;QACzCE,CAAC,KAAK,CAAC,CAAC,IAAIJ,aAAa,CAACM,MAAM,CAACF,CAAC,EAAE,CAAC,CAAC;MACxC,CAAC;IACH,CAAC;IACDG,IAAIA,CAAA,EAAG;MACLP,aAAa,CAACQ,KAAK,CAAC,CAAC,CAACC,OAAO,CAAEC,CAAC,IAAKA,CAAC,CAAC,CAAC,CAAC;IAC3C;EACF,CAAC;AACH"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var _setReactDOMBatchUpdates = require("../setReactDOMBatchUpdates");
5
+ Object.keys(_setReactDOMBatchUpdates).forEach(function (key) {
6
+ if (key === "default" || key === "__esModule") return;
7
+ if (key in exports && exports[key] === _setReactDOMBatchUpdates[key]) return;
8
+ exports[key] = _setReactDOMBatchUpdates[key];
9
+ });
10
+ //# sourceMappingURL=react-dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_setReactDOMBatchUpdates","require","Object","keys","forEach","key","exports"],"sources":["../../../src/exports/react-dom.ts"],"sourcesContent":["export * from '../setReactDOMBatchUpdates';\n"],"mappings":";;;AAAA,IAAAA,wBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,wBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,wBAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,wBAAA,CAAAK,GAAA;AAAA"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var _setReactNativeBatchUpdates = require("../setReactNativeBatchUpdates");
5
+ Object.keys(_setReactNativeBatchUpdates).forEach(function (key) {
6
+ if (key === "default" || key === "__esModule") return;
7
+ if (key in exports && exports[key] === _setReactNativeBatchUpdates[key]) return;
8
+ exports[key] = _setReactNativeBatchUpdates[key];
9
+ });
10
+ //# sourceMappingURL=react-native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_setReactNativeBatchUpdates","require","Object","keys","forEach","key","exports"],"sources":["../../../src/exports/react-native.ts"],"sourcesContent":["export * from '../setReactNativeBatchUpdates';\n"],"mappings":";;;AAAA,IAAAA,2BAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,2BAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,2BAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,2BAAA,CAAAK,GAAA;AAAA"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var _useReactive = require("../useReactive");
5
+ Object.keys(_useReactive).forEach(function (key) {
6
+ if (key === "default" || key === "__esModule") return;
7
+ if (key in exports && exports[key] === _useReactive[key]) return;
8
+ exports[key] = _useReactive[key];
9
+ });
10
+ //# sourceMappingURL=react.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_useReactive","require","Object","keys","forEach","key","exports"],"sources":["../../../src/exports/react.ts"],"sourcesContent":["export * from '../useReactive';\n"],"mappings":";;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,YAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,YAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,YAAA,CAAAK,GAAA;AAAA"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ var _reactive = require("./reactive");
5
+ Object.keys(_reactive).forEach(function (key) {
6
+ if (key === "default" || key === "__esModule") return;
7
+ if (key in exports && exports[key] === _reactive[key]) return;
8
+ exports[key] = _reactive[key];
9
+ });
10
+ var _PromiseState = require("./PromiseState");
11
+ Object.keys(_PromiseState).forEach(function (key) {
12
+ if (key === "default" || key === "__esModule") return;
13
+ if (key in exports && exports[key] === _PromiseState[key]) return;
14
+ exports[key] = _PromiseState[key];
15
+ });
16
+ var _reactiveContext = require("./reactiveContext");
17
+ Object.keys(_reactiveContext).forEach(function (key) {
18
+ if (key === "default" || key === "__esModule") return;
19
+ if (key in exports && exports[key] === _reactiveContext[key]) return;
20
+ exports[key] = _reactiveContext[key];
21
+ });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactive","require","Object","keys","forEach","key","exports","_PromiseState","_reactiveContext"],"sources":["../../src/index.ts"],"sourcesContent":["export * from './reactive';\nexport * from './PromiseState';\nexport * from './reactiveContext';\n"],"mappings":";;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,SAAA,CAAAK,GAAA;AAAA;AACA,IAAAE,aAAA,GAAAN,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAI,aAAA,EAAAH,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAE,aAAA,CAAAF,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAE,aAAA,CAAAF,GAAA;AAAA;AACA,IAAAG,gBAAA,GAAAP,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAK,gBAAA,EAAAJ,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAG,gBAAA,CAAAH,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAG,gBAAA,CAAAH,GAAA;AAAA"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.reactive = reactive;
5
+ var _events = require("./events");
6
+ var _reactiveContext = require("./reactiveContext");
7
+ function reactive(initialValue, {
8
+ listeners
9
+ } = {}) {
10
+ let _value = initialValue;
11
+ const events = (0, _events.createEvents)(listeners);
12
+ return {
13
+ get value() {
14
+ return _value;
15
+ },
16
+ set value(v) {
17
+ _value = v;
18
+ _reactiveContext.reactiveContext.batchUpdates(() => events.emit());
19
+ },
20
+ addListener: events.addListener
21
+ };
22
+ }
23
+ //# sourceMappingURL=reactive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_events","require","_reactiveContext","reactive","initialValue","listeners","_value","events","createEvents","value","v","reactiveContext","batchUpdates","emit","addListener"],"sources":["../../src/reactive.ts"],"sourcesContent":["import { createEvents, Listener } from './events';\nimport { reactiveContext } from './reactiveContext';\n\nexport interface Reactive<T> {\n value: T;\n addListener(listener: Listener): () => void;\n}\n\nexport function reactive<T>(\n initialValue: T,\n {\n listeners,\n }: {\n listeners?: Listener[];\n } = {},\n): Reactive<T> {\n let _value = initialValue;\n\n const events = createEvents(listeners);\n return {\n get value() {\n return _value;\n },\n set value(v: T) {\n _value = v;\n reactiveContext.batchUpdates(() => events.emit());\n },\n addListener: events.addListener,\n };\n}\n"],"mappings":";;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AAOO,SAASE,QAAQA,CACtBC,YAAe,EACf;EACEC;AAGF,CAAC,GAAG,CAAC,CAAC,EACO;EACb,IAAIC,MAAM,GAAGF,YAAY;EAEzB,MAAMG,MAAM,GAAG,IAAAC,oBAAY,EAACH,SAAS,CAAC;EACtC,OAAO;IACL,IAAII,KAAKA,CAAA,EAAG;MACV,OAAOH,MAAM;IACf,CAAC;IACD,IAAIG,KAAKA,CAACC,CAAI,EAAE;MACdJ,MAAM,GAAGI,CAAC;MACVC,gCAAe,CAACC,YAAY,CAAC,MAAML,MAAM,CAACM,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;IACDC,WAAW,EAAEP,MAAM,CAACO;EACtB,CAAC;AACH"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.reactiveContext = void 0;
5
+ var _batchUpdates = require("./batchUpdates");
6
+ const reactiveContext = exports.reactiveContext = {
7
+ batchUpdates: _batchUpdates.noOpBatchedUpdates
8
+ };
9
+ //# sourceMappingURL=reactiveContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_batchUpdates","require","reactiveContext","exports","batchUpdates","noOpBatchedUpdates"],"sources":["../../src/reactiveContext.ts"],"sourcesContent":["import { BatchUpdates, noOpBatchedUpdates } from './batchUpdates';\n\nexport interface ReactiveContext {\n batchUpdates: BatchUpdates;\n}\n\nexport const reactiveContext: ReactiveContext = {\n batchUpdates: noOpBatchedUpdates,\n};\n"],"mappings":";;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAMO,MAAMC,eAAgC,GAAAC,OAAA,CAAAD,eAAA,GAAG;EAC9CE,YAAY,EAAEC;AAChB,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.configure = configure;
5
+ var _reactDom = require("react-dom");
6
+ var _reactiveContext = require("./reactiveContext");
7
+ // https://dev.to/raibima/batch-your-react-updates-120b
8
+
9
+ function configure() {
10
+ _reactiveContext.reactiveContext.batchUpdates = _reactDom.unstable_batchedUpdates;
11
+ }
12
+ //# sourceMappingURL=setReactDOMBatchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactDom","require","_reactiveContext","configure","reactiveContext","batchUpdates","unstable_batchedUpdates"],"sources":["../../src/setReactDOMBatchUpdates.ts"],"sourcesContent":["// https://dev.to/raibima/batch-your-react-updates-120b\n\nimport { unstable_batchedUpdates } from 'react-dom';\nimport { reactiveContext } from './reactiveContext';\n\nexport function configure() {\n reactiveContext.batchUpdates = unstable_batchedUpdates;\n}\n"],"mappings":";;;;AAEA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AAHA;;AAKO,SAASE,SAASA,CAAA,EAAG;EAC1BC,gCAAe,CAACC,YAAY,GAAGC,iCAAuB;AACxD"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.configure = configure;
5
+ var _reactNative = require("react-native");
6
+ var _reactiveContext = require("./reactiveContext");
7
+ function configure() {
8
+ _reactiveContext.reactiveContext.batchUpdates = _reactNative.unstable_batchedUpdates;
9
+ }
10
+ //# sourceMappingURL=setReactNativeBatchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_reactiveContext","configure","reactiveContext","batchUpdates","unstable_batchedUpdates"],"sources":["../../src/setReactNativeBatchUpdates.ts"],"sourcesContent":["import { unstable_batchedUpdates } from 'react-native';\nimport { reactiveContext } from './reactiveContext';\n\nexport function configure() {\n reactiveContext.batchUpdates = unstable_batchedUpdates;\n}\n"],"mappings":";;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AAEO,SAASE,SAASA,CAAA,EAAG;EAC1BC,gCAAe,CAACC,YAAY,GAAGC,oCAAuB;AACxD"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.useReactive = useReactive;
5
+ var _react = require("react");
6
+ function useReactive(reactive) {
7
+ const [state, setState] = (0, _react.useState)(reactive.value);
8
+ (0, _react.useEffect)(() => {
9
+ if (reactive.value !== state) {
10
+ setState(reactive.value);
11
+ }
12
+ return reactive.addListener(() => {
13
+ setState(reactive.value);
14
+ });
15
+ }, []);
16
+ return state;
17
+ }
18
+ //# sourceMappingURL=useReactive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","useReactive","reactive","state","setState","useState","value","useEffect","addListener"],"sources":["../../src/useReactive.ts"],"sourcesContent":["import type { Reactive } from './reactive';\nimport { useEffect, useState } from 'react';\n\nexport function useReactive<T>(reactive: Reactive<T>) {\n const [state, setState] = useState(reactive.value);\n\n useEffect(() => {\n if (reactive.value !== state) {\n setState(reactive.value);\n }\n return reactive.addListener(() => {\n setState(reactive.value);\n });\n }, []);\n\n return state;\n}\n"],"mappings":";;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAEO,SAASC,WAAWA,CAAIC,QAAqB,EAAE;EACpD,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG,IAAAC,eAAQ,EAACH,QAAQ,CAACI,KAAK,CAAC;EAElD,IAAAC,gBAAS,EAAC,MAAM;IACd,IAAIL,QAAQ,CAACI,KAAK,KAAKH,KAAK,EAAE;MAC5BC,QAAQ,CAACF,QAAQ,CAACI,KAAK,CAAC;IAC1B;IACA,OAAOJ,QAAQ,CAACM,WAAW,CAAC,MAAM;MAChCJ,QAAQ,CAACF,QAAQ,CAACI,KAAK,CAAC;IAC1B,CAAC,CAAC;EACJ,CAAC,EAAE,EAAE,CAAC;EAEN,OAAOH,KAAK;AACd"}
@@ -0,0 +1,47 @@
1
+ import { reactive } from './reactive';
2
+ export class PromiseState {
3
+ constructor(params) {
4
+ this.status = reactive({ type: 'idle' });
5
+ this.fn = params.fn;
6
+ this.onError = params.onError;
7
+ }
8
+ async once() {
9
+ const { status: { value: { type, promise }, }, } = this;
10
+ if (type === 'loading') {
11
+ await promise;
12
+ return;
13
+ }
14
+ if (type === 'success') {
15
+ return;
16
+ }
17
+ return this.run();
18
+ }
19
+ async run() {
20
+ const { fn, status, onError } = this;
21
+ const promise = fn();
22
+ status.value = {
23
+ type: 'loading',
24
+ promise,
25
+ };
26
+ try {
27
+ const data = await promise;
28
+ if (promise === status.value.promise) {
29
+ status.value = {
30
+ type: 'success',
31
+ data,
32
+ promise,
33
+ };
34
+ }
35
+ }
36
+ catch (error) {
37
+ onError === null || onError === void 0 ? void 0 : onError(error);
38
+ if (promise === status.value.promise) {
39
+ status.value = {
40
+ type: 'error',
41
+ error,
42
+ };
43
+ }
44
+ }
45
+ }
46
+ }
47
+ //# sourceMappingURL=PromiseState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromiseState.js","sourceRoot":"","sources":["../../src/PromiseState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAmCtC,MAAM,OAAO,YAAY;IAKvB,YAAY,MAA6B;QAJhC,WAAM,GAAG,QAAQ,CAAmB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAK7D,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;QACpB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,EACJ,MAAM,EAAE,EACN,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GACzB,GACF,GAAG,IAAI,CAAC;QAET,IAAI,IAAI,KAAK,SAAS,EAAE;YACtB,MAAM,OAAO,CAAC;YACd,OAAO;SACR;QAED,IAAI,IAAI,KAAK,SAAS,EAAE;YACtB,OAAO;SACR;QAED,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC;IACpB,CAAC;IAED,KAAK,CAAC,GAAG;QACP,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QACrC,MAAM,OAAO,GAAG,EAAE,EAAE,CAAC;QAErB,MAAM,CAAC,KAAK,GAAG;YACb,IAAI,EAAE,SAAS;YACf,OAAO;SACR,CAAC;QAEF,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC;YAC3B,IAAI,OAAO,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE;gBACpC,MAAM,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,SAAS;oBACf,IAAI;oBACJ,OAAO;iBACR,CAAC;aACH;SACF;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;YACjB,IAAI,OAAO,KAAK,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE;gBACpC,MAAM,CAAC,KAAK,GAAG;oBACb,IAAI,EAAE,OAAO;oBACb,KAAK;iBACN,CAAC;aACH;SACF;IACH,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export const noOpBatchedUpdates = (callback) => callback();
2
+ //# sourceMappingURL=batchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchUpdates.js","sourceRoot":"","sources":["../../src/batchUpdates.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAiB,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,15 @@
1
+ export function createEvents(listenersList = []) {
2
+ return {
3
+ addListener(listener) {
4
+ listenersList.push(listener);
5
+ return () => {
6
+ const i = listenersList.indexOf(listener);
7
+ i !== -1 && listenersList.splice(i, 1);
8
+ };
9
+ },
10
+ emit() {
11
+ listenersList.slice().forEach((e) => e());
12
+ },
13
+ };
14
+ }
15
+ //# sourceMappingURL=events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,YAAY,CAC1B,gBAAqB,EAAE;IAEvB,OAAO;QACL,WAAW,CAAC,QAAW;YACrB,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC7B,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBAC1C,CAAC,KAAK,CAAC,CAAC,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACzC,CAAC,CAAC;QACJ,CAAC;QACD,IAAI;YACF,aAAa,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAC5C,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '../setReactDOMBatchUpdates';
2
+ //# sourceMappingURL=react-dom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-dom.js","sourceRoot":"","sources":["../../../src/exports/react-dom.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '../setReactNativeBatchUpdates';
2
+ //# sourceMappingURL=react-native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-native.js","sourceRoot":"","sources":["../../../src/exports/react-native.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '../useReactive';
2
+ //# sourceMappingURL=react.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/exports/react.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './reactive';
2
+ export * from './PromiseState';
3
+ export * from './reactiveContext';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { createEvents } from './events';
2
+ import { reactiveContext } from './reactiveContext';
3
+ export function reactive(initialValue, { listeners, } = {}) {
4
+ let _value = initialValue;
5
+ const events = createEvents(listeners);
6
+ return {
7
+ get value() {
8
+ return _value;
9
+ },
10
+ set value(v) {
11
+ _value = v;
12
+ reactiveContext.batchUpdates(() => events.emit());
13
+ },
14
+ addListener: events.addListener,
15
+ };
16
+ }
17
+ //# sourceMappingURL=reactive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactive.js","sourceRoot":"","sources":["../../src/reactive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAY,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,MAAM,UAAU,QAAQ,CACtB,YAAe,EACf,EACE,SAAS,MAGP,EAAE;IAEN,IAAI,MAAM,GAAG,YAAY,CAAC;IAE1B,MAAM,MAAM,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;IACvC,OAAO;QACL,IAAI,KAAK;YACP,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,IAAI,KAAK,CAAC,CAAI;YACZ,MAAM,GAAG,CAAC,CAAC;YACX,eAAe,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;QACpD,CAAC;QACD,WAAW,EAAE,MAAM,CAAC,WAAW;KAChC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { noOpBatchedUpdates } from './batchUpdates';
2
+ export const reactiveContext = {
3
+ batchUpdates: noOpBatchedUpdates,
4
+ };
5
+ //# sourceMappingURL=reactiveContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactiveContext.js","sourceRoot":"","sources":["../../src/reactiveContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAMlE,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,YAAY,EAAE,kBAAkB;CACjC,CAAC"}
@@ -0,0 +1,7 @@
1
+ // https://dev.to/raibima/batch-your-react-updates-120b
2
+ import { unstable_batchedUpdates } from 'react-dom';
3
+ import { reactiveContext } from './reactiveContext';
4
+ export function configure() {
5
+ reactiveContext.batchUpdates = unstable_batchedUpdates;
6
+ }
7
+ //# sourceMappingURL=setReactDOMBatchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setReactDOMBatchUpdates.js","sourceRoot":"","sources":["../../src/setReactDOMBatchUpdates.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,UAAU,SAAS;IACvB,eAAe,CAAC,YAAY,GAAG,uBAAuB,CAAC;AACzD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { unstable_batchedUpdates } from 'react-native';
2
+ import { reactiveContext } from './reactiveContext';
3
+ export function configure() {
4
+ reactiveContext.batchUpdates = unstable_batchedUpdates;
5
+ }
6
+ //# sourceMappingURL=setReactNativeBatchUpdates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setReactNativeBatchUpdates.js","sourceRoot":"","sources":["../../src/setReactNativeBatchUpdates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,UAAU,SAAS;IACvB,eAAe,CAAC,YAAY,GAAG,uBAAuB,CAAC;AACzD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { useEffect, useState } from 'react';
2
+ export function useReactive(reactive) {
3
+ const [state, setState] = useState(reactive.value);
4
+ useEffect(() => {
5
+ if (reactive.value !== state) {
6
+ setState(reactive.value);
7
+ }
8
+ return reactive.addListener(() => {
9
+ setState(reactive.value);
10
+ });
11
+ }, []);
12
+ return state;
13
+ }
14
+ //# sourceMappingURL=useReactive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useReactive.js","sourceRoot":"","sources":["../../src/useReactive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,WAAW,CAAI,QAAqB;IAClD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEnD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,QAAQ,CAAC,KAAK,KAAK,KAAK,EAAE;YAC5B,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAC1B;QACD,OAAO,QAAQ,CAAC,WAAW,CAAC,GAAG,EAAE;YAC/B,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,35 @@
1
+ export interface PromiseStatusIdle {
2
+ type: 'idle';
3
+ data?: undefined;
4
+ promise?: undefined;
5
+ }
6
+ export interface PromiseStatusLoading<T> {
7
+ type: 'loading';
8
+ data?: undefined;
9
+ promise: Promise<T>;
10
+ }
11
+ export interface PromiseStatusSuccess<T> {
12
+ type: 'success';
13
+ data: T;
14
+ promise: Promise<T>;
15
+ }
16
+ export interface PromiseStatusError {
17
+ type: 'error';
18
+ error: unknown;
19
+ data?: undefined;
20
+ promise?: undefined;
21
+ }
22
+ export type PromiseStatus<T> = PromiseStatusIdle | PromiseStatusLoading<T> | PromiseStatusSuccess<T> | PromiseStatusError;
23
+ export interface PromiseStateParams<T> {
24
+ fn: () => Promise<T>;
25
+ onError?: (err: unknown) => unknown;
26
+ }
27
+ export declare class PromiseState<T> {
28
+ readonly status: import("./reactive").Reactive<PromiseStatus<T>>;
29
+ readonly onError: ((err: unknown) => unknown) | undefined;
30
+ fn: () => Promise<T>;
31
+ constructor(params: PromiseStateParams<T>);
32
+ once(): Promise<void>;
33
+ run(): Promise<void>;
34
+ }
35
+ //# sourceMappingURL=PromiseState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromiseState.d.ts","sourceRoot":"","sources":["../../src/PromiseState.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AACD,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CACrB;AACD,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CACrB;AACD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IACvB,iBAAiB,GACjB,oBAAoB,CAAC,CAAC,CAAC,GACvB,oBAAoB,CAAC,CAAC,CAAC,GACvB,kBAAkB,CAAC;AAEvB,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC;CACrC;AAED,qBAAa,YAAY,CAAC,CAAC;IACzB,QAAQ,CAAC,MAAM,kDAAgD;IAC/D,QAAQ,CAAC,OAAO,0CAAC;IACjB,EAAE,mBAAC;gBAES,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAKnC,IAAI;IAmBJ,GAAG;CA4BV"}
@@ -0,0 +1,3 @@
1
+ export type BatchUpdates = (callback: () => any) => void;
2
+ export declare const noOpBatchedUpdates: BatchUpdates;
3
+ //# sourceMappingURL=batchUpdates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchUpdates.d.ts","sourceRoot":"","sources":["../../src/batchUpdates.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,IAAI,CAAC;AAEzD,eAAO,MAAM,kBAAkB,EAAE,YAAuC,CAAC"}
@@ -0,0 +1,10 @@
1
+ type AnyFn = (...args: any[]) => any;
2
+ type NoArgsFn = () => unknown;
3
+ export type Listener<F extends AnyFn = NoArgsFn> = F;
4
+ export interface Events<F extends AnyFn = NoArgsFn> {
5
+ addListener(listener: F): () => void;
6
+ emit(): void;
7
+ }
8
+ export declare function createEvents<F extends AnyFn = NoArgsFn>(listenersList?: F[]): Events<F>;
9
+ export {};
10
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AACrC,KAAK,QAAQ,GAAG,MAAM,OAAO,CAAC;AAC9B,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,KAAK,GAAG,QAAQ,IAAI,CAAC,CAAC;AAErD,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,KAAK,GAAG,QAAQ;IAChD,WAAW,CAAC,QAAQ,EAAE,CAAC,GAAG,MAAM,IAAI,CAAC;IACrC,IAAI,IAAI,IAAI,CAAC;CACd;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,QAAQ,EACrD,aAAa,GAAE,CAAC,EAAO,GACtB,MAAM,CAAC,CAAC,CAAC,CAaX"}
@@ -0,0 +1,2 @@
1
+ export * from '../setReactDOMBatchUpdates';
2
+ //# sourceMappingURL=react-dom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-dom.d.ts","sourceRoot":"","sources":["../../../src/exports/react-dom.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '../setReactNativeBatchUpdates';
2
+ //# sourceMappingURL=react-native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-native.d.ts","sourceRoot":"","sources":["../../../src/exports/react-native.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from '../useReactive';
2
+ //# sourceMappingURL=react.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/exports/react.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './reactive';
2
+ export * from './PromiseState';
3
+ export * from './reactiveContext';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { Listener } from './events';
2
+ export interface Reactive<T> {
3
+ value: T;
4
+ addListener(listener: Listener): () => void;
5
+ }
6
+ export declare function reactive<T>(initialValue: T, { listeners, }?: {
7
+ listeners?: Listener[];
8
+ }): Reactive<T>;
9
+ //# sourceMappingURL=reactive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactive.d.ts","sourceRoot":"","sources":["../../src/reactive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,WAAW,QAAQ,CAAC,CAAC;IACzB,KAAK,EAAE,CAAC,CAAC;IACT,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,IAAI,CAAC;CAC7C;AAED,wBAAgB,QAAQ,CAAC,CAAC,EACxB,YAAY,EAAE,CAAC,EACf,EACE,SAAS,GACV,GAAE;IACD,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACnB,GACL,QAAQ,CAAC,CAAC,CAAC,CAcb"}