@rspress-theme-anatole/shared 0.1.2 → 0.1.4

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.d.ts CHANGED
@@ -193,7 +193,20 @@ export declare interface FilterConfig {
193
193
  }
194
194
 
195
195
  export declare interface Footer {
196
+ group?: Link[];
196
197
  message?: string;
198
+ links?: Link[];
199
+ social?: Social[];
200
+ }
201
+
202
+ export declare interface Link {
203
+ text?: string;
204
+ link?: string;
205
+ }
206
+
207
+ export declare interface Social {
208
+ text?: string;
209
+ link?: string;
197
210
  }
198
211
 
199
212
  export declare interface FrontMatterMeta {
@@ -465,7 +478,7 @@ export declare interface PageModule<T extends React.ComponentType<unknown>> {
465
478
  [key: string]: unknown;
466
479
  }
467
480
 
468
- export declare type PageType = 'home' | 'doc' | 'custom' | '404' | 'blank';
481
+ export declare type PageType = 'home' | 'doc' | 'custom' | '404' | 'blank' | 'homepage';
469
482
 
470
483
  export declare const parseUrl: (url: string) => {
471
484
  url: string;
@@ -385,7 +385,7 @@ declare interface PageIndexInfo {
385
385
  _relativePath: string;
386
386
  }
387
387
 
388
- declare type PageType = 'home' | 'doc' | 'custom' | '404' | 'blank';
388
+ declare type PageType = 'home' | 'doc' | 'custom' | '404' | 'blank' | 'homepage';
389
389
 
390
390
  declare type RemoteSearchIndexInfo = string | {
391
391
  value: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/shared",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {