book-index-ui 0.2.13 → 0.2.14
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/index.cjs +3 -3
- package/dist/index.d.ts +22 -1
- package/dist/index.js +727 -701
- package/dist/storage.d.ts +11 -1
- package/package.json +1 -1
package/dist/storage.d.ts
CHANGED
|
@@ -965,11 +965,21 @@ declare interface RecommendedData {
|
|
|
965
965
|
groups: RecommendedGroup[];
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
/**
|
|
968
|
+
/** 推荐条目(bundle-data 时已用 index 元数据 hydrate,便于免 chunk 渲染) */
|
|
969
969
|
declare interface RecommendedEntry {
|
|
970
970
|
id: string;
|
|
971
971
|
title: string;
|
|
972
972
|
description?: string;
|
|
973
|
+
type?: IndexType;
|
|
974
|
+
author?: string;
|
|
975
|
+
dynasty?: string;
|
|
976
|
+
role?: string;
|
|
977
|
+
edition?: string;
|
|
978
|
+
has_text?: boolean;
|
|
979
|
+
has_image?: boolean;
|
|
980
|
+
has_collated?: boolean;
|
|
981
|
+
subtype?: string;
|
|
982
|
+
primary_name?: string;
|
|
973
983
|
}
|
|
974
984
|
|
|
975
985
|
/** 推荐分组 */
|