@prezly/theme-kit-core 9.7.1 → 9.8.1
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.
|
@@ -170,7 +170,8 @@ function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
|
|
|
170
170
|
limit,
|
|
171
171
|
category,
|
|
172
172
|
locale,
|
|
173
|
-
highlighted = 0
|
|
173
|
+
highlighted = 0,
|
|
174
|
+
tags
|
|
174
175
|
} = params;
|
|
175
176
|
var {
|
|
176
177
|
include = []
|
|
@@ -197,7 +198,10 @@ function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
|
|
|
197
198
|
},
|
|
198
199
|
["visibility"]: {
|
|
199
200
|
$in: [_sdk.Story.Visibility.PUBLIC]
|
|
200
|
-
}
|
|
201
|
+
},
|
|
202
|
+
["tag.name"]: tags !== null && tags !== void 0 && tags.length ? {
|
|
203
|
+
$any: tags
|
|
204
|
+
} : undefined
|
|
201
205
|
}),
|
|
202
206
|
include
|
|
203
207
|
});
|
|
@@ -164,7 +164,8 @@ export function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
|
|
|
164
164
|
limit,
|
|
165
165
|
category,
|
|
166
166
|
locale,
|
|
167
|
-
highlighted = 0
|
|
167
|
+
highlighted = 0,
|
|
168
|
+
tags
|
|
168
169
|
} = params;
|
|
169
170
|
var {
|
|
170
171
|
include = []
|
|
@@ -191,7 +192,10 @@ export function createClient(prezly, newsroomUuid, newsroomThemeUuid) {
|
|
|
191
192
|
},
|
|
192
193
|
["visibility"]: {
|
|
193
194
|
$in: [Story.Visibility.PUBLIC]
|
|
194
|
-
}
|
|
195
|
+
},
|
|
196
|
+
["tag.name"]: tags !== null && tags !== void 0 && tags.length ? {
|
|
197
|
+
$any: tags
|
|
198
|
+
} : undefined
|
|
195
199
|
}),
|
|
196
200
|
include
|
|
197
201
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prezly/theme-kit-core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.8.1",
|
|
4
4
|
"description": "Data layer and utility library for developing Prezly themes with JavaScript",
|
|
5
5
|
"main": "build/index.mjs",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "9a1314861bdc8612381d55210e1e9bedede3d5f3"
|
|
74
74
|
}
|