@wix/app-extensions 1.0.52 → 1.0.54
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/build/cjs/index.d.ts +27 -1
- package/build/cjs/index.js +13 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +27 -1
- package/build/es/index.mjs +12 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +60 -12
- package/build/trusted/cjs/index.js +13 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +60 -12
- package/build/trusted/es/index.mjs +12 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -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 };
|
package/build/es/index.mjs
CHANGED
|
@@ -362,6 +362,7 @@ var BackOfficeHostingPlatforms = /* @__PURE__ */ ((BackOfficeHostingPlatforms2)
|
|
|
362
362
|
BackOfficeHostingPlatforms2["BASE44_PLATFORM"] = "BASE44_PLATFORM";
|
|
363
363
|
BackOfficeHostingPlatforms2["PAYMENTS_BO"] = "PAYMENTS_BO";
|
|
364
364
|
BackOfficeHostingPlatforms2["SYMPHONY"] = "SYMPHONY";
|
|
365
|
+
BackOfficeHostingPlatforms2["BMR"] = "BMR";
|
|
365
366
|
return BackOfficeHostingPlatforms2;
|
|
366
367
|
})(BackOfficeHostingPlatforms || {});
|
|
367
368
|
var DtsDefinitionType = /* @__PURE__ */ ((DtsDefinitionType2) => {
|
|
@@ -740,6 +741,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
740
741
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
741
742
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
742
743
|
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
744
|
+
DecorationType2["SKETCH"] = "SKETCH";
|
|
743
745
|
return DecorationType2;
|
|
744
746
|
})(DecorationType || {});
|
|
745
747
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -747,6 +749,15 @@ var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
|
747
749
|
FontType2["EM"] = "EM";
|
|
748
750
|
return FontType2;
|
|
749
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 || {});
|
|
750
761
|
var ImageStylesPosition = /* @__PURE__ */ ((ImageStylesPosition2) => {
|
|
751
762
|
ImageStylesPosition2["START"] = "START";
|
|
752
763
|
ImageStylesPosition2["END"] = "END";
|
|
@@ -5906,6 +5917,7 @@ export {
|
|
|
5906
5917
|
V1Scope,
|
|
5907
5918
|
ValidationTargetMethod,
|
|
5908
5919
|
ValueConstraintType,
|
|
5920
|
+
Variant,
|
|
5909
5921
|
VectorArtCategoryTypes,
|
|
5910
5922
|
Vertical,
|
|
5911
5923
|
VerticalAlignment,
|