@wix/app-extensions 1.0.126 → 1.0.129
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 +6 -0
- package/build/cjs/index.js +37 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +6 -0
- package/build/es/index.mjs +35 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +128 -1
- package/build/trusted/cjs/index.js +37 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +128 -1
- package/build/trusted/es/index.mjs +35 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -500,6 +500,12 @@ interface CatalogSPIConfig {
|
|
|
500
500
|
allItemsDiscount?: DiscountConfig;
|
|
501
501
|
/** Configuration details for discounts applied to specific items in the catalog. */
|
|
502
502
|
specificItemsDiscount?: DiscountConfig;
|
|
503
|
+
/**
|
|
504
|
+
* The purchase types this catalog's items support (one-time and/or subscription).
|
|
505
|
+
* Used by the discount-rule editor to offer only the purchase-type options relevant to this catalog.
|
|
506
|
+
* When not set, no restriction is declared and all purchase types are offered.
|
|
507
|
+
*/
|
|
508
|
+
purchaseTypeSupport?: PurchaseTypeSupport;
|
|
503
509
|
}
|
|
504
510
|
interface GiftCardProviderConfig {
|
|
505
511
|
/** The URL of the SPI implementation */
|
package/build/cjs/index.js
CHANGED
|
@@ -168,6 +168,7 @@ __export(index_exports, {
|
|
|
168
168
|
InterfaceConfigurationType: () => InterfaceConfigurationType,
|
|
169
169
|
ItemField: () => ItemField,
|
|
170
170
|
ItemType: () => ItemType,
|
|
171
|
+
LayerEffect: () => LayerEffect,
|
|
171
172
|
Layout: () => Layout,
|
|
172
173
|
LayoutDataBackgroundType: () => LayoutDataBackgroundType,
|
|
173
174
|
LayoutDataImagePosition: () => LayoutDataImagePosition,
|
|
@@ -262,6 +263,7 @@ __export(index_exports, {
|
|
|
262
263
|
ScopeSeparator: () => ScopeSeparator,
|
|
263
264
|
ScopeType: () => ScopeType,
|
|
264
265
|
ScriptType: () => ScriptType,
|
|
266
|
+
Shape: () => Shape,
|
|
265
267
|
SidebarDataType: () => SidebarDataType,
|
|
266
268
|
SidebarEntityType: () => SidebarEntityType,
|
|
267
269
|
SignatureEncoding: () => SignatureEncoding,
|
|
@@ -1486,6 +1488,39 @@ var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
|
|
|
1486
1488
|
BannerPosition2["BOTTOM"] = "BOTTOM";
|
|
1487
1489
|
return BannerPosition2;
|
|
1488
1490
|
})(BannerPosition || {});
|
|
1491
|
+
var LayerEffect = /* @__PURE__ */ ((LayerEffect2) => {
|
|
1492
|
+
LayerEffect2["CENTER"] = "CENTER";
|
|
1493
|
+
LayerEffect2["FADE_TO_TOP"] = "FADE_TO_TOP";
|
|
1494
|
+
LayerEffect2["FADE_TO_BOTTOM"] = "FADE_TO_BOTTOM";
|
|
1495
|
+
return LayerEffect2;
|
|
1496
|
+
})(LayerEffect || {});
|
|
1497
|
+
var Shape = /* @__PURE__ */ ((Shape2) => {
|
|
1498
|
+
Shape2["ELLIPSE"] = "ELLIPSE";
|
|
1499
|
+
Shape2["TILT"] = "TILT";
|
|
1500
|
+
Shape2["LIQUID"] = "LIQUID";
|
|
1501
|
+
Shape2["LEFT_WAVE"] = "LEFT_WAVE";
|
|
1502
|
+
Shape2["PAINT_SCRIBBLE"] = "PAINT_SCRIBBLE";
|
|
1503
|
+
Shape2["INVERTED_ELLIPSE"] = "INVERTED_ELLIPSE";
|
|
1504
|
+
Shape2["RIGHT_WAVE"] = "RIGHT_WAVE";
|
|
1505
|
+
Shape2["DUNES"] = "DUNES";
|
|
1506
|
+
Shape2["WAVES"] = "WAVES";
|
|
1507
|
+
Shape2["TRIANGLE"] = "TRIANGLE";
|
|
1508
|
+
Shape2["SEMI_ELLIPSE"] = "SEMI_ELLIPSE";
|
|
1509
|
+
Shape2["PLANTS"] = "PLANTS";
|
|
1510
|
+
Shape2["LAYERED_ELLIPSE"] = "LAYERED_ELLIPSE";
|
|
1511
|
+
Shape2["PIXELS"] = "PIXELS";
|
|
1512
|
+
Shape2["PAINT"] = "PAINT";
|
|
1513
|
+
Shape2["CLOUDS"] = "CLOUDS";
|
|
1514
|
+
Shape2["OPTICAL_ILLUSION"] = "OPTICAL_ILLUSION";
|
|
1515
|
+
Shape2["STRIPES"] = "STRIPES";
|
|
1516
|
+
Shape2["BLOBS"] = "BLOBS";
|
|
1517
|
+
Shape2["SEMI_CIRCLES"] = "SEMI_CIRCLES";
|
|
1518
|
+
Shape2["HILL"] = "HILL";
|
|
1519
|
+
Shape2["BRUSH"] = "BRUSH";
|
|
1520
|
+
Shape2["PEAKS"] = "PEAKS";
|
|
1521
|
+
Shape2["ANGLED_TRIANGLE"] = "ANGLED_TRIANGLE";
|
|
1522
|
+
return Shape2;
|
|
1523
|
+
})(Shape || {});
|
|
1489
1524
|
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
|
|
1490
1525
|
BackdropType2["COLOR"] = "COLOR";
|
|
1491
1526
|
BackdropType2["GRADIENT"] = "GRADIENT";
|
|
@@ -6690,6 +6725,7 @@ function appTools({
|
|
|
6690
6725
|
InterfaceConfigurationType,
|
|
6691
6726
|
ItemField,
|
|
6692
6727
|
ItemType,
|
|
6728
|
+
LayerEffect,
|
|
6693
6729
|
Layout,
|
|
6694
6730
|
LayoutDataBackgroundType,
|
|
6695
6731
|
LayoutDataImagePosition,
|
|
@@ -6784,6 +6820,7 @@ function appTools({
|
|
|
6784
6820
|
ScopeSeparator,
|
|
6785
6821
|
ScopeType,
|
|
6786
6822
|
ScriptType,
|
|
6823
|
+
Shape,
|
|
6787
6824
|
SidebarDataType,
|
|
6788
6825
|
SidebarEntityType,
|
|
6789
6826
|
SignatureEncoding,
|