@rspress-theme-anatole/shared 0.7.25 → 0.7.27

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -793,12 +793,22 @@ export declare type AuthConfig = {
793
793
  endpoints?: AuthEndpoints;
794
794
  }
795
795
 
796
+ export declare interface KBEndpoints {
797
+ pdfExportPage?: string;
798
+ pdfExportProduct?: string;
799
+ }
800
+
796
801
  export declare interface UserConfig<ThemeConfig = DefaultThemeConfig> {
797
802
  /**
798
803
  * Auth config for application
799
804
  * @default ''
800
805
  */
801
806
  auth?: AuthConfig;
807
+ /**
808
+ * API endpoints for application
809
+ * @default ''
810
+ */
811
+ api?: KBEndpoints;
802
812
  /**
803
813
  * The email to receive requests.
804
814
  * @default ''
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/shared",
3
3
  "author": "Anatole Tong",
4
- "version": "0.7.25",
4
+ "version": "0.7.27",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": {