@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.
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.d.ts +33 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.js +452 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.d.ts +21 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.js +399 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/client/proto-generated.d.ts +4576 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.d.ts +2288 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/proto-generated.js +29722 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/server/proto-generated.d.ts +4559 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.d.ts +36 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.js +182 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.d.ts +313 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.js +28 -0
- package/@wix/ambassador-app-settings-v1-settings/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.d.ts +33 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.js +405 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.d.ts +21 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.js +388 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.d.ts +36 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.js +149 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.d.ts +313 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.js +25 -0
- package/@wix/ambassador-app-settings-v1-settings/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-app-settings-v1-settings/builders/package.json +7 -0
- package/@wix/ambassador-app-settings-v1-settings/http/package.json +7 -0
- package/@wix/ambassador-app-settings-v1-settings/package.json +49 -0
- package/@wix/ambassador-app-settings-v1-settings/rpc/package.json +6 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/app-settings.proto +327 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/user-preferences.proto +132 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/annotations.proto +335 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/api_errors.proto +117 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/callback.proto +134 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/entity.proto +75 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/errors.proto +113 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/permissions.proto +40 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/subscription.proto +31 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/api/validations.proto +133 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/http/field_mask.proto +45 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/spi/definitions.proto +173 -0
- package/@wix/ambassador-app-settings-v1-settings/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-app-settings-v1-settings/types/package.json +7 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.d.ts +16 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.js +272 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.js +5 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.d.ts +3 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.js +14 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.d.ts +10 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.js +148 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/client/proto-generated.d.ts +15110 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/proto-generated.d.ts +7555 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/proto-generated.js +99675 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/server/proto-generated.d.ts +15101 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.d.ts +23 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.js +109 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.d.ts +181 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.js +11 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.d.ts +16 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.js +242 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.js +2 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.d.ts +3 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.js +10 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.d.ts +10 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.js +141 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.d.ts +23 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.js +81 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.d.ts +181 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.js +8 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/builders/package.json +7 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/crud/http/package.json +7 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/crud/rpc/package.json +6 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/http/package.json +7 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/package.json +50 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/rpc/package.json +6 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/com/wixpress/appservice/api/components_catalog_type.proto +103 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_common.proto +193 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/app_config.proto +20 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/automation_trigger.proto +101 -0
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_extension.proto +89 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_extension_container.proto +31 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_page.proto +42 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_sidebar_category.proto +20 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/back_office_widget.proto +32 -0
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/code_package.proto +22 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/contact_labels.proto +35 -0
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard.proto +24 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard_application.proto +101 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dashboard_platform.proto +11 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/data.proto +15 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/data_extensions.proto +16 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dc_config.proto +9 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/dev_center_component_test.proto +69 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/editor_addon.proto +41 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/embedded_script.proto +103 -0
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/fictional_shipping_provider/shipping_provider_spi.proto +17 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/headless_oauth.proto +26 -0
- 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
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/invoices_actions.proto +20 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/local_delivery.proto +24 -0
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/multiple_dashboards.proto +24 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/out_of_iframe.proto +32 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page.proto +97 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page_out_of_iframe.proto +34 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/page_replace/page_replace.proto +12 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/payments_gateway.proto +11 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ping_notifications.proto +12 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/ping_settings_group.proto +25 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/platform.proto +59 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/plugin-interface.proto +25 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/slot.proto +13 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/snippet_solution.proto +11 -0
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/static_file.proto +17 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/studio.proto +33 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/studio_widget.proto +117 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/web.proto +346 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget.proto +121 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget_out_of_iframe.proto +30 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/widget_plugin.proto +34 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/wix_offering.proto +21 -0
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data/worker.proto +11 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_data.proto +333 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/components_catalog_messages.proto +63 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/extensions_messages.proto +111 -0
- 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
- 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
- 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
- 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
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/annotations.proto +352 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/api_errors.proto +117 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/callback.proto +156 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/entity.proto +80 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/errors.proto +113 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/permissions.proto +40 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/subscription.proto +31 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/api/validations.proto +133 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/address.proto +140 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/bulk.proto +52 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/media.proto +225 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/paging.proto +107 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/query.proto +417 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/sorting.proto +25 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/spi.proto +66 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/common/wixlink.proto +152 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/devcenter/apps/components/v1/component.proto +50 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/infra/dataextensions/v1/data_extension_schema.proto +114 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/infra/dataextensions/v1/data_extension_schema_service.proto +162 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/spi/definitions.proto +173 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-data-extensions-v1-data-extension-schema/types/package.json +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.d.ts +72 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js +1043 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.d.ts +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js +140 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.d.ts +20279 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.d.ts +10146 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/proto-generated.js +137941 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.d.ts +20132 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.d.ts +19 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.js +105 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.d.ts +965 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js +121 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.d.ts +72 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js +956 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.d.ts +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js +133 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.d.ts +19 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.js +77 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.d.ts +965 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js +118 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/builders/package.json +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/http/package.json +7 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/package.json +49 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/rpc/package.json +6 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/advanced-seo-api.proto +66 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/catalog_reference.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/description_line.proto +60 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_data.proto +88 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_media.proto +31 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/item_type.proto +21 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/payment_option.proto +19 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/physical_properties.proto +15 -0
- 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
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/price_description.proto +13 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/product_name.proto +21 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/secured_media.proto +23 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/catalog_spi/api/v1/service_properties.proto +14 -0
- 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
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/address.proto +39 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/addressComponents.proto +41 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/length.proto +14 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/measurementUnit.proto +30 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/multilingualMigration.proto +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformCursor.proto +17 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformMedia.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformPaging.proto +36 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformPagingMetadata.proto +48 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platformQuery.proto +37 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/platform_search.proto +39 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/commons/api/unlimitedPlatformQuery.proto +69 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/inventory/api/v1/inventoryEvents.proto +61 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/address.proto +71 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/address_with_contact.proto +14 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/channel_type.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/pickup_address.proto +52 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/price.proto +26 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/com/wix/ecommerce/platform_common/api/weight.proto +14 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/annotations.proto +340 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/api_errors.proto +117 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/callback.proto +156 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/entity.proto +80 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/errors.proto +113 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/permissions.proto +40 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/subscription.proto +31 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/api/validations.proto +133 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/bulk.proto +10 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog.proto +1185 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalogNotReviewed.proto +259 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/catalog_error_data.proto +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/collection.proto +39 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/costAndProfit.proto +22 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/event/catalogEvents.proto +104 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/media.proto +89 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/pageUrl.proto +10 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/price.proto +65 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/product.proto +176 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/productOption.proto +56 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/query.proto +45 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/ribbon.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v1/variant.proto +118 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/catalog/api/v2/collectionRead.proto +75 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/address.proto +140 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/bulk.proto +52 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/media.proto +225 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/paging.proto +107 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/query.proto +417 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/sorting.proto +25 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/spi.proto +66 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/common/wixlink.proto +152 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/cart.proto +44 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupon.proto +25 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons-adapter.proto +101 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/coupons.proto +206 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/response-status.proto +10 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v1/specification.proto +37 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/cart.proto +46 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupon.proto +43 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/couponAppliedEvent.proto +25 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-adapter.proto +61 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons-manager-ui.proto +99 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/coupons.proto +399 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/internal-coupons.proto +46 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/item-for-coupon.proto +22 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/mediaitem.proto +13 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/response-status.proto +10 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/scope.proto +17 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/coupons/api/v2/specification.proto +91 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/catalog.proto +30 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/export.proto +96 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservice/v1/export_service.proto +145 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservicespi/v1/export_query_v2.proto +53 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/fedinfra/exportservicespi/v1/export_service_spi.proto +50 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJob.proto +79 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobItem.proto +34 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/AsyncJobService.proto +246 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/infra/asyncjobs/v1/upstream/wix/common/paging.proto +34 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventory.proto +225 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/inventoryItem.proto +95 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/preOrderInfo.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/inventory/api/v1/query.proto +30 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/accounts.proto +30 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/applepay-payment-method.proto +40 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/googlepay-payment-method.proto +55 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/mandatory-fields.proto +69 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/orders.proto +588 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-details.proto +42 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payment-methods.proto +260 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/payments.proto +334 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-payment-method.proto +158 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/paypal-recurring-orders.proto +38 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/pos-transactions.proto +34 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/account.proto +22 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/address.proto +57 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/charge.proto +220 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/mandatory-field.proto +44 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-additional-charges.proto +19 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-buyer-info.proto +25 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-cof-intent.proto +131 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-description.proto +146 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-item.proto +32 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-return-urls.proto +21 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-status.proto +46 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order-urls.proto +41 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/order.proto +37 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment-method.proto +296 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/payment.proto +208 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/pos-transaction.proto +41 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription-frequency.proto +14 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription-trial-period.proto +16 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/subscription.proto +35 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v2/resources/transaction.proto +46 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/payment-events.proto +27 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/order.proto +80 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/payment-details.proto +15 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/payment-event.proto +121 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/recurring-payment.proto +32 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/refund.proto +34 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/payment/api/pay/v3/resources/transaction.proto +82 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/definitions.proto +173 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-fedinfra-exportservice-v1-export-async-job/types/package.json +7 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.d.ts +14 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js +168 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +41 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +12 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js +167 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.d.ts +7382 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/client/proto-generated.js +2 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.d.ts +3700 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +57101 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.d.ts +7377 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/server/proto-generated.js +2 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +21 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js +95 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.d.ts +73 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js +10 -0
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.d.ts +14 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js +140 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +2 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.d.ts +11 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js +34 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +12 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js +159 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +21 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js +68 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.d.ts +73 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js +7 -0
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/builders/package.json +7 -0
- package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +7 -0
- package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +6 -0
- package/@wix/ambassador-os-tags-v1-tag/http/package.json +7 -0
- package/@wix/ambassador-os-tags-v1-tag/package.json +52 -0
- package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/action_payload.proto +33 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +360 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/api_errors.proto +117 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +156 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/context.proto +19 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +80 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/errors.proto +113 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +40 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/sla.proto +24 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +31 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +131 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/address.proto +140 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/bulk.proto +52 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/dataextensions/extended-fields.proto +18 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/dataextensions/update-extended-fields-messages.proto +15 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/data/errors.proto +411 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/identification.proto +40 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/image.proto +8 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/media.proto +225 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/money.proto +32 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/pageurl.proto +32 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/paging.proto +107 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +417 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/sorting.proto +25 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/spi.proto +66 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/tags.proto +55 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/wixlink.proto +152 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/graphql/definitions.proto +13 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/http/field_mask.proto +46 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +39 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag_exposure.proto +12 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +192 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/sdk/definitions.proto +191 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/spi/definitions.proto +173 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/spi/http_error_status.proto +24 -0
- package/@wix/ambassador-os-tags-v1-tag/types/package.json +7 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/index.js +294 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/index.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js +596 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js +6383 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js +640 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/types.js +3 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/types.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js +2085 -0
- package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/index.js +290 -0
- package/@wix/bi-logger-cairo-os/dist/esm/index.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js +588 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js +6379 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js +612 -0
- package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/types.js +2 -0
- package/@wix/bi-logger-cairo-os/dist/esm/types.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js +2005 -0
- package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js.map +1 -0
- package/@wix/bi-logger-cairo-os/dist/types/index.d.ts +93 -0
- package/@wix/bi-logger-cairo-os/dist/types/testkit/client-testkit.d.ts +1338 -0
- package/@wix/bi-logger-cairo-os/dist/types/testkit/common.d.ts +10 -0
- package/@wix/bi-logger-cairo-os/dist/types/testkit/node-testkit.d.ts +1339 -0
- package/@wix/bi-logger-cairo-os/dist/types/types.d.ts +1333 -0
- package/@wix/bi-logger-cairo-os/dist/types/v2/index.d.ts +1853 -0
- package/@wix/bi-logger-cairo-os/package.json +50 -0
- package/@wix/bi-logger-cairo-os/src/external-types.d.ts +1 -0
- package/@wix/bi-logger-cairo-os/src/index.ts +346 -0
- package/@wix/bi-logger-cairo-os/src/testkit/client-testkit.ts +1596 -0
- package/@wix/bi-logger-cairo-os/src/testkit/common.ts +6456 -0
- package/@wix/bi-logger-cairo-os/src/testkit/node-testkit.ts +1606 -0
- package/@wix/bi-logger-cairo-os/src/types.ts +2407 -0
- package/@wix/bi-logger-cairo-os/src/v2/index.ts +2081 -0
- package/@wix/bi-logger-cairo-os/testkit/client/package.json +6 -0
- package/@wix/bi-logger-cairo-os/testkit/node/package.json +6 -0
- package/@wix/bi-logger-cairo-os/testkit/package.json +6 -0
- package/@wix/bi-logger-cairo-os/v2/package.json +6 -0
- package/@wix/bi-logger-cairo-os/v2/types.d.ts +1 -0
- package/@wix/wix-i18n-config/README.md +247 -0
- package/@wix/wix-i18n-config/dist/cjs/i18n.js +72 -0
- package/@wix/wix-i18n-config/dist/cjs/i18n.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/icu/icu.js +126 -0
- package/@wix/wix-i18n-config/dist/cjs/icu/icu.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/icu/utils.js +82 -0
- package/@wix/wix-i18n-config/dist/cjs/icu/utils.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/index.js +28 -0
- package/@wix/wix-i18n-config/dist/cjs/index.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/initI18n.js +24 -0
- package/@wix/wix-i18n-config/dist/cjs/initI18n.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/initI18nWithoutICU.js +9 -0
- package/@wix/wix-i18n-config/dist/cjs/initI18nWithoutICU.js.map +1 -0
- package/@wix/wix-i18n-config/dist/cjs/relative-time-formatting.js +266 -0
- package/@wix/wix-i18n-config/dist/cjs/relative-time-formatting.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/i18n.js +51 -0
- package/@wix/wix-i18n-config/dist/esm/i18n.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/icu/icu.js +106 -0
- package/@wix/wix-i18n-config/dist/esm/icu/icu.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/icu/utils.js +71 -0
- package/@wix/wix-i18n-config/dist/esm/icu/utils.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/index.js +9 -0
- package/@wix/wix-i18n-config/dist/esm/index.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/initI18n.js +10 -0
- package/@wix/wix-i18n-config/dist/esm/initI18n.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/initI18nWithoutICU.js +5 -0
- package/@wix/wix-i18n-config/dist/esm/initI18nWithoutICU.js.map +1 -0
- package/@wix/wix-i18n-config/dist/esm/relative-time-formatting.js +263 -0
- package/@wix/wix-i18n-config/dist/esm/relative-time-formatting.js.map +1 -0
- package/@wix/wix-i18n-config/dist/tsconfig.tsbuildinfo +1 -0
- package/@wix/wix-i18n-config/dist/types/i18n.d.ts +16 -0
- package/@wix/wix-i18n-config/dist/types/i18n.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/icu/icu.d.ts +47 -0
- package/@wix/wix-i18n-config/dist/types/icu/icu.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/icu/utils.d.ts +6 -0
- package/@wix/wix-i18n-config/dist/types/icu/utils.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/index.d.ts +12 -0
- package/@wix/wix-i18n-config/dist/types/index.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/initI18n.d.ts +8 -0
- package/@wix/wix-i18n-config/dist/types/initI18n.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/initI18nWithoutICU.d.ts +3 -0
- package/@wix/wix-i18n-config/dist/types/initI18nWithoutICU.d.ts.map +1 -0
- package/@wix/wix-i18n-config/dist/types/relative-time-formatting.d.ts +7 -0
- package/@wix/wix-i18n-config/dist/types/relative-time-formatting.d.ts.map +1 -0
- package/@wix/wix-i18n-config/package.json +63 -0
- package/README.md +12 -0
- package/dist/cjs/PromiseState.js +68 -0
- package/dist/cjs/PromiseState.js.map +1 -0
- package/dist/cjs/batchUpdates.js +7 -0
- package/dist/cjs/batchUpdates.js.map +1 -0
- package/dist/cjs/events.js +19 -0
- package/dist/cjs/events.js.map +1 -0
- package/dist/cjs/exports/react-dom.js +10 -0
- package/dist/cjs/exports/react-dom.js.map +1 -0
- package/dist/cjs/exports/react-native.js +10 -0
- package/dist/cjs/exports/react-native.js.map +1 -0
- package/dist/cjs/exports/react.js +10 -0
- package/dist/cjs/exports/react.js.map +1 -0
- package/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/reactive.js +23 -0
- package/dist/cjs/reactive.js.map +1 -0
- package/dist/cjs/reactiveContext.js +9 -0
- package/dist/cjs/reactiveContext.js.map +1 -0
- package/dist/cjs/setReactDOMBatchUpdates.js +12 -0
- package/dist/cjs/setReactDOMBatchUpdates.js.map +1 -0
- package/dist/cjs/setReactNativeBatchUpdates.js +10 -0
- package/dist/cjs/setReactNativeBatchUpdates.js.map +1 -0
- package/dist/cjs/useReactive.js +18 -0
- package/dist/cjs/useReactive.js.map +1 -0
- package/dist/esm/PromiseState.js +47 -0
- package/dist/esm/PromiseState.js.map +1 -0
- package/dist/esm/batchUpdates.js +2 -0
- package/dist/esm/batchUpdates.js.map +1 -0
- package/dist/esm/events.js +15 -0
- package/dist/esm/events.js.map +1 -0
- package/dist/esm/exports/react-dom.js +2 -0
- package/dist/esm/exports/react-dom.js.map +1 -0
- package/dist/esm/exports/react-native.js +2 -0
- package/dist/esm/exports/react-native.js.map +1 -0
- package/dist/esm/exports/react.js +2 -0
- package/dist/esm/exports/react.js.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/reactive.js +17 -0
- package/dist/esm/reactive.js.map +1 -0
- package/dist/esm/reactiveContext.js +5 -0
- package/dist/esm/reactiveContext.js.map +1 -0
- package/dist/esm/setReactDOMBatchUpdates.js +7 -0
- package/dist/esm/setReactDOMBatchUpdates.js.map +1 -0
- package/dist/esm/setReactNativeBatchUpdates.js +6 -0
- package/dist/esm/setReactNativeBatchUpdates.js.map +1 -0
- package/dist/esm/useReactive.js +14 -0
- package/dist/esm/useReactive.js.map +1 -0
- package/dist/types/PromiseState.d.ts +35 -0
- package/dist/types/PromiseState.d.ts.map +1 -0
- package/dist/types/batchUpdates.d.ts +3 -0
- package/dist/types/batchUpdates.d.ts.map +1 -0
- package/dist/types/events.d.ts +10 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/exports/react-dom.d.ts +2 -0
- package/dist/types/exports/react-dom.d.ts.map +1 -0
- package/dist/types/exports/react-native.d.ts +2 -0
- package/dist/types/exports/react-native.d.ts.map +1 -0
- package/dist/types/exports/react.d.ts +2 -0
- package/dist/types/exports/react.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/reactive.d.ts +9 -0
- package/dist/types/reactive.d.ts.map +1 -0
- package/dist/types/reactiveContext.d.ts +6 -0
- package/dist/types/reactiveContext.d.ts.map +1 -0
- package/dist/types/setReactDOMBatchUpdates.d.ts +2 -0
- package/dist/types/setReactDOMBatchUpdates.d.ts.map +1 -0
- package/dist/types/setReactNativeBatchUpdates.d.ts +2 -0
- package/dist/types/setReactNativeBatchUpdates.d.ts.map +1 -0
- package/dist/types/useReactive.d.ts +3 -0
- package/dist/types/useReactive.d.ts.map +1 -0
- package/package.json +147 -0
- package/react/package.json +6 -0
- package/react-dom/package.json +6 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"react-dom.js","sourceRoot":"","sources":["../../../src/exports/react-dom.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../src/exports/react.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"react-dom.d.ts","sourceRoot":"","sources":["../../../src/exports/react-dom.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/exports/react.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -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"}
|