@wix/public-editor-platform-interfaces 1.82.0 → 1.83.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/dist/sdk/data.d.ts +14 -2
- package/package.json +2 -2
package/dist/sdk/data.d.ts
CHANGED
|
@@ -118,8 +118,20 @@ export type ElementRichText = Omit<DmTypes.RichText, 'linkList'> & {
|
|
|
118
118
|
linkList?: ElementLink[];
|
|
119
119
|
};
|
|
120
120
|
export type ElementFunctionDefinition = DmTypes._Function;
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
type ElementFilterPrimitive = boolean | number | string;
|
|
122
|
+
type ElementFilterValue = ElementFilterPrimitive | boolean[] | number[] | string[];
|
|
123
|
+
type ElementFilterFieldConditions = Partial<Record<`$${string}`, ElementFilterValue>>;
|
|
124
|
+
type ElementFilterLogicalClauses = {
|
|
125
|
+
$and?: ElementFilter[];
|
|
126
|
+
$not?: ElementFilter[];
|
|
127
|
+
$or?: ElementFilter[];
|
|
128
|
+
};
|
|
129
|
+
export type ElementFilter = Record<string, ElementFilterFieldConditions> | ElementFilterLogicalClauses;
|
|
130
|
+
type ElementSortOrder = Exclude<DmTypes.SortOrderEnumSortOrder, DmTypes.SortOrderEnumSortOrder.UNKNOWN_SORT_ORDER>;
|
|
131
|
+
export type ElementSort = {
|
|
132
|
+
fieldName: string;
|
|
133
|
+
order: ElementSortOrder;
|
|
134
|
+
}[];
|
|
123
135
|
export type ElementDataValue = string | number | boolean | ElementLink | ElementImage | ElementVideo | ElementAudio | ElementVectorArt | ElementMenuItems | ElementA11y | ElementRichText | ElementFunctionDefinition | ElementDirection | ElementFilter | ElementSort | ElementDataObject | ElementDataValue[] | null | undefined;
|
|
124
136
|
export type ElementDataObject = {
|
|
125
137
|
[key: string]: ElementDataValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.83.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "005aade54b8410bc07cc0291e0bfcd745e678886e03a8c0623313876"
|
|
56
56
|
}
|