@prezly/theme-kit-core 10.6.2 → 10.6.3-beta.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/build/search.d.ts +12 -1
- package/package.json +2 -2
package/build/search.d.ts
CHANGED
|
@@ -8,12 +8,23 @@ export interface IndexedCategoryRef {
|
|
|
8
8
|
slug: string;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Stories in Algolia index are stored in a simplified format, with only minimal subset of fields.
|
|
11
|
+
* Stories in Algolia/MeiliSearch index are stored in a simplified format, with only minimal subset of fields.
|
|
12
12
|
*/
|
|
13
13
|
export type IndexedStory = Pick<Story, 'uuid' | 'slug' | 'title' | 'subtitle'> & Pick<Story.ExtraFields, 'thumbnail_image'> & {
|
|
14
14
|
content_text: string;
|
|
15
15
|
updated_at: number;
|
|
16
16
|
published_at: number;
|
|
17
|
+
url: string | null;
|
|
17
18
|
culture: Pick<CultureRef, 'code' | 'name' | 'native_name' | 'language_code'>;
|
|
18
19
|
categories: IndexedCategoryRef[];
|
|
19
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Story sections in the MeiliSearch `public_stories_v2` index.
|
|
23
|
+
* Each document represents a single content section (paragraph, callout, quote, etc.)
|
|
24
|
+
* of a story, enabling section-level search with anchor link navigation.
|
|
25
|
+
*/
|
|
26
|
+
export type IndexedStorySection = Omit<IndexedStory, 'content_text'> & {
|
|
27
|
+
content_text: string | null;
|
|
28
|
+
section_title: string | null;
|
|
29
|
+
section_subtitle: string | null;
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prezly/theme-kit-core",
|
|
3
|
-
"version": "10.6.
|
|
3
|
+
"version": "10.6.3-beta.0",
|
|
4
4
|
"description": "Data layer and utility library for developing Prezly themes with JavaScript",
|
|
5
5
|
"main": "build/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "3d8b36a298d0b106bea1a79c90510e18abc9302c"
|
|
78
78
|
}
|