@wix/app-extensions 1.0.53 → 1.0.55

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.
@@ -122,6 +122,11 @@ interface ComponentData extends ComponentDataDataOneOf {
122
122
  storesProductRestrictions?: ProductRestrictionsConfig;
123
123
  /** Bookings Staff Sorting Provider SPI */
124
124
  staffSortingProvider?: StaffSortingProviderConfig;
125
+ /**
126
+ * Realtime Permissions Provider SPI - integrate with Wix to control who can receive messages on your Wix Realtime channels, by providing a custom permissions check that authorizes whether a subscriber is allowed to subscribe to your app's channels.
127
+ * Learn More: https://dev.wix.com/docs/sdk/core-modules/realtime/extensions/realtime-permissions-provider/check-subscriber-permissions
128
+ */
129
+ realtimePermissionsProvider?: RealtimePermissionsProviderConfig;
125
130
  }
126
131
  /** An iframe to be displayed on the user’s site */
127
132
  interface WidgetComponentData {
@@ -973,6 +978,15 @@ interface StaffSortingProviderConfig {
973
978
  */
974
979
  dashboardPluginId?: string | null;
975
980
  }
981
+ interface RealtimePermissionsProviderConfig {
982
+ /** The URI where the SPI Implementer is deployed */
983
+ deploymentUri?: SpiBaseUri;
984
+ /**
985
+ * A user-friendly name of the permissions provider
986
+ * @maxLength 100
987
+ */
988
+ providerName?: string;
989
+ }
976
990
  interface ExtensionData {
977
991
  compId: string;
978
992
  compType: ComponentType;
@@ -1322,5 +1336,17 @@ declare function staffSortingProvider({ id, data, name, }: {
1322
1336
  data: StaffSortingProviderConfig;
1323
1337
  name?: string;
1324
1338
  }): ExtensionData;
1339
+ /**
1340
+ * Realtime Permissions Provider SPI - integrate with Wix to control who can receive messages on your Wix Realtime channels, by providing a custom permissions check that authorizes whether a subscriber is allowed to subscribe to your app's channels.
1341
+ * Learn More: https://dev.wix.com/docs/sdk/core-modules/realtime/extensions/realtime-permissions-provider/check-subscriber-permissions
1342
+ * @param id - A unique identifier for the extension
1343
+ * @param name - Optional - A human readable name for the extension
1344
+ * @returns A general form of extensions
1345
+ */
1346
+ declare function realtimePermissionsProvider({ id, data, name, }: {
1347
+ id: string;
1348
+ data: RealtimePermissionsProviderConfig;
1349
+ name?: string;
1350
+ }): ExtensionData;
1325
1351
 
1326
- export { type AdditionalFeesSPIConfig, type BackOfficeModal, type BackOfficePage, type BookingsPricingProviderConfig, type CatalogSPIConfig, type ComponentData, ComponentType, type ComponentTypeWithLiterals, type CustomChargesConfig, type CustomElementWidget, type DashboardComponentData, type DataComponent, type DataExtensionsComponentData, type EditorAddon, type EmbeddedScriptComponentData, type ExtensionData, type ExternalDatabaseSpiConfig, type GiftCardProviderConfig, type InventorySpiConfig, type MultilingualTranslationSchema, type PageComponentData, type PaymentSettingsSPIConfig, type ProductRestrictionsConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, backOfficeModal, backOfficePage, bookingsPricingProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, seoKeywordsSuggestions, staffSortingProvider, storesProductRestrictions, unifiedPage, widget, widgetPlugin, worker };
1352
+ export { type AdditionalFeesSPIConfig, type BackOfficeModal, type BackOfficePage, type BookingsPricingProviderConfig, type CatalogSPIConfig, type ComponentData, ComponentType, type ComponentTypeWithLiterals, type CustomChargesConfig, type CustomElementWidget, type DashboardComponentData, type DataComponent, type DataExtensionsComponentData, type EditorAddon, type EmbeddedScriptComponentData, type ExtensionData, type ExternalDatabaseSpiConfig, type GiftCardProviderConfig, type InventorySpiConfig, type MultilingualTranslationSchema, type PageComponentData, type PaymentSettingsSPIConfig, type ProductRestrictionsConfig, type RealtimePermissionsProviderConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, backOfficeModal, backOfficePage, bookingsPricingProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, realtimePermissionsProvider, seoKeywordsSuggestions, staffSortingProvider, storesProductRestrictions, unifiedPage, widget, widgetPlugin, worker };
@@ -741,6 +741,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
741
741
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
742
742
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
743
743
  DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
744
+ DecorationType2["SKETCH"] = "SKETCH";
744
745
  return DecorationType2;
745
746
  })(DecorationType || {});
746
747
  var FontType = /* @__PURE__ */ ((FontType2) => {
@@ -748,6 +749,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
748
749
  FontType2["EM"] = "EM";
749
750
  return FontType2;
750
751
  })(FontType || {});
752
+ var Variant = /* @__PURE__ */ ((Variant2) => {
753
+ Variant2["UNDERLINE"] = "UNDERLINE";
754
+ Variant2["BOX"] = "BOX";
755
+ Variant2["CIRCLE"] = "CIRCLE";
756
+ Variant2["HIGHLIGHT"] = "HIGHLIGHT";
757
+ Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
758
+ Variant2["CROSSED_OFF"] = "CROSSED_OFF";
759
+ return Variant2;
760
+ })(Variant || {});
751
761
  var ImageStylesPosition = /* @__PURE__ */ ((ImageStylesPosition2) => {
752
762
  ImageStylesPosition2["START"] = "START";
753
763
  ImageStylesPosition2["END"] = "END";
@@ -1907,6 +1917,13 @@ var DataType = /* @__PURE__ */ ((DataType2) => {
1907
1917
  DataType2["sort"] = "sort";
1908
1918
  return DataType2;
1909
1919
  })(DataType || {});
1920
+ var ItemField = /* @__PURE__ */ ((ItemField2) => {
1921
+ ItemField2["ID"] = "ID";
1922
+ ItemField2["NAME"] = "NAME";
1923
+ ItemField2["DESCRIPTION"] = "DESCRIPTION";
1924
+ ItemField2["NOTE"] = "NOTE";
1925
+ return ItemField2;
1926
+ })(ItemField || {});
1910
1927
  var A11yAttributes = /* @__PURE__ */ ((A11yAttributes2) => {
1911
1928
  A11yAttributes2["Unknown_AriaAttributes"] = "Unknown_AriaAttributes";
1912
1929
  A11yAttributes2["tabIndex"] = "tabIndex";
@@ -5781,6 +5798,7 @@ export {
5781
5798
  IntegrationType,
5782
5799
  Intent,
5783
5800
  InterfaceConfigurationType,
5801
+ ItemField,
5784
5802
  ItemType,
5785
5803
  Layout,
5786
5804
  LayoutDataBackgroundType,
@@ -5907,6 +5925,7 @@ export {
5907
5925
  V1Scope,
5908
5926
  ValidationTargetMethod,
5909
5927
  ValueConstraintType,
5928
+ Variant,
5910
5929
  VectorArtCategoryTypes,
5911
5930
  Vertical,
5912
5931
  VerticalAlignment,