valaxy 0.18.0-beta.0 → 0.18.0-beta.3
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/client/composables/{post.ts → post/index.ts} +4 -30
- package/client/composables/post/usePrevNext.ts +30 -0
- package/client/main.ts +4 -0
- package/client/modules/devtools.ts +1 -1
- package/client/modules/valaxy.ts +3 -0
- package/client/setup/main.ts +10 -6
- package/client/stores/site.ts +4 -0
- package/client/utils/dev.ts +13 -0
- package/dist/{chunk-GO3LEXT4.cjs → chunk-3BEOLPLA.cjs} +44 -39
- package/dist/chunk-APMSEIOX.mjs +147 -0
- package/dist/node/cli/index.cjs +1 -1
- package/dist/node/cli/index.mjs +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.cts +23 -2
- package/dist/node/index.d.ts +23 -2
- package/dist/node/index.mjs +1 -1
- package/package.json +5 -5
- package/shims.d.ts +5 -0
- package/dist/chunk-AQGELPBR.mjs +0 -142
package/dist/node/cli/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3BEOLPLAcjs = require('../../chunk-3BEOLPLA.cjs');require('../../chunk-RWOIGW5M.cjs');exports.cli = _chunk3BEOLPLAcjs.T; exports.run = _chunk3BEOLPLAcjs.U;
|
package/dist/node/cli/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{
|
|
2
|
+
import{T as a,U as b}from"../../chunk-APMSEIOX.mjs";import"../../chunk-MJRGR35B.mjs";export{a as cli,b as run};
|
package/dist/node/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3BEOLPLAcjs = require('../chunk-3BEOLPLA.cjs');require('../chunk-RWOIGW5M.cjs');exports.ALL_ROUTE = _chunk3BEOLPLAcjs.f; exports.EXCERPT_SEPARATOR = _chunk3BEOLPLAcjs.c; exports.EXTERNAL_URL_RE = _chunk3BEOLPLAcjs.d; exports.PATHNAME_PROTOCOL_RE = _chunk3BEOLPLAcjs.e; exports.ViteValaxyPlugins = _chunk3BEOLPLAcjs.N; exports.build = _chunk3BEOLPLAcjs.O; exports.cli = _chunk3BEOLPLAcjs.T; exports.createServer = _chunk3BEOLPLAcjs.S; exports.createValaxyLoader = _chunk3BEOLPLAcjs.M; exports.customElements = _chunk3BEOLPLAcjs.g; exports.defaultSiteConfig = _chunk3BEOLPLAcjs.p; exports.defaultValaxyConfig = _chunk3BEOLPLAcjs.t; exports.defineAddon = _chunk3BEOLPLAcjs.A; exports.defineConfig = _chunk3BEOLPLAcjs.v; exports.defineSiteConfig = _chunk3BEOLPLAcjs.q; exports.defineTheme = _chunk3BEOLPLAcjs.F; exports.defineUnoSetup = _chunk3BEOLPLAcjs.G; exports.defineValaxyAddon = _chunk3BEOLPLAcjs.z; exports.defineValaxyConfig = _chunk3BEOLPLAcjs.u; exports.defineValaxyTheme = _chunk3BEOLPLAcjs.E; exports.ensurePrefix = _chunk3BEOLPLAcjs.j; exports.generateClientRedirects = _chunk3BEOLPLAcjs.R; exports.getGitTimestamp = _chunk3BEOLPLAcjs.a; exports.getIndexHtml = _chunk3BEOLPLAcjs.L; exports.isExternal = _chunk3BEOLPLAcjs.h; exports.isPath = _chunk3BEOLPLAcjs.l; exports.loadConfig = _chunk3BEOLPLAcjs.n; exports.loadConfigFromFile = _chunk3BEOLPLAcjs.o; exports.mergeValaxyConfig = _chunk3BEOLPLAcjs.x; exports.mergeViteConfigs = _chunk3BEOLPLAcjs.K; exports.postProcessForSSG = _chunk3BEOLPLAcjs.Q; exports.processValaxyOptions = _chunk3BEOLPLAcjs.H; exports.resolveAddonsConfig = _chunk3BEOLPLAcjs.B; exports.resolveImportPath = _chunk3BEOLPLAcjs.b; exports.resolveOptions = _chunk3BEOLPLAcjs.I; exports.resolveSiteConfig = _chunk3BEOLPLAcjs.s; exports.resolveSiteConfigFromRoot = _chunk3BEOLPLAcjs.r; exports.resolveThemeConfigFromRoot = _chunk3BEOLPLAcjs.C; exports.resolveThemeValaxyConfig = _chunk3BEOLPLAcjs.J; exports.resolveUserThemeConfig = _chunk3BEOLPLAcjs.D; exports.resolveValaxyConfig = _chunk3BEOLPLAcjs.y; exports.resolveValaxyConfigFromRoot = _chunk3BEOLPLAcjs.w; exports.run = _chunk3BEOLPLAcjs.U; exports.slash = _chunk3BEOLPLAcjs.i; exports.ssgBuild = _chunk3BEOLPLAcjs.P; exports.toAtFS = _chunk3BEOLPLAcjs.k; exports.transformObject = _chunk3BEOLPLAcjs.m;
|
package/dist/node/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ViteSSGOptions } from 'vite-ssg';
|
|
2
2
|
export { cli, run } from './cli/index.cjs';
|
|
3
3
|
import * as vite from 'vite';
|
|
4
|
-
import { UserConfig, InlineConfig } from 'vite';
|
|
4
|
+
import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
|
|
5
5
|
import * as valaxy_types from 'valaxy/types';
|
|
6
6
|
import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
|
|
7
7
|
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
@@ -374,6 +374,12 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
|
|
|
374
374
|
*/
|
|
375
375
|
declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
|
|
376
376
|
|
|
377
|
+
declare const EXCERPT_SEPARATOR = "<!-- more -->";
|
|
378
|
+
declare const EXTERNAL_URL_RE: RegExp;
|
|
379
|
+
declare const PATHNAME_PROTOCOL_RE: RegExp;
|
|
380
|
+
declare const ALL_ROUTE = "/:all(.*)*";
|
|
381
|
+
declare const customElements: Set<string>;
|
|
382
|
+
|
|
377
383
|
declare function build(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
|
|
378
384
|
declare function ssgBuild(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
|
|
379
385
|
/**
|
|
@@ -480,6 +486,21 @@ declare const defineTheme: typeof defineValaxyTheme;
|
|
|
480
486
|
type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
|
|
481
487
|
declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
482
488
|
|
|
489
|
+
/**
|
|
490
|
+
* @packageDocumentation valaxy plugin
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* create valaxy loader (custom virtual modules)
|
|
495
|
+
* multiple plugins
|
|
496
|
+
* @internal
|
|
497
|
+
* @param options
|
|
498
|
+
* @param serverOptions
|
|
499
|
+
*/
|
|
500
|
+
declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
|
|
501
|
+
|
|
502
|
+
declare function ViteValaxyPlugins(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
503
|
+
|
|
483
504
|
declare function createServer(options: ResolvedValaxyOptions, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
|
|
484
505
|
|
|
485
506
|
declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
|
|
@@ -505,4 +526,4 @@ declare function isPath(name: string): boolean;
|
|
|
505
526
|
*/
|
|
506
527
|
declare function transformObject(obj: any): string;
|
|
507
528
|
|
|
508
|
-
export { type HookResult, type LoadConfigFromFileOptions, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, build, createServer, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
|
529
|
+
export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ViteSSGOptions } from 'vite-ssg';
|
|
2
2
|
export { cli, run } from './cli/index.js';
|
|
3
3
|
import * as vite from 'vite';
|
|
4
|
-
import { UserConfig, InlineConfig } from 'vite';
|
|
4
|
+
import { UserConfig, InlineConfig, Plugin, PluginOption } from 'vite';
|
|
5
5
|
import * as valaxy_types from 'valaxy/types';
|
|
6
6
|
import { SiteConfig, DefaultTheme, ValaxyConfig, PartialDeep, ValaxyAddon, RuntimeConfig, RedirectItem, UserSiteConfig } from 'valaxy/types';
|
|
7
7
|
import { MarkdownEnv } from 'unplugin-vue-markdown/types';
|
|
@@ -374,6 +374,12 @@ declare function mergeViteConfigs({ userRoot, themeRoot }: ResolvedValaxyOptions
|
|
|
374
374
|
*/
|
|
375
375
|
declare function getIndexHtml({ clientRoot, themeRoot, userRoot, config }: ResolvedValaxyOptions, rawHtml: string): Promise<string>;
|
|
376
376
|
|
|
377
|
+
declare const EXCERPT_SEPARATOR = "<!-- more -->";
|
|
378
|
+
declare const EXTERNAL_URL_RE: RegExp;
|
|
379
|
+
declare const PATHNAME_PROTOCOL_RE: RegExp;
|
|
380
|
+
declare const ALL_ROUTE = "/:all(.*)*";
|
|
381
|
+
declare const customElements: Set<string>;
|
|
382
|
+
|
|
377
383
|
declare function build(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
|
|
378
384
|
declare function ssgBuild(options: ResolvedValaxyOptions, viteConfig?: InlineConfig): Promise<void>;
|
|
379
385
|
/**
|
|
@@ -480,6 +486,21 @@ declare const defineTheme: typeof defineValaxyTheme;
|
|
|
480
486
|
type UnoSetup = () => Awaitable<Partial<VitePluginConfig> | undefined>;
|
|
481
487
|
declare function defineUnoSetup(fn: UnoSetup): UnoSetup;
|
|
482
488
|
|
|
489
|
+
/**
|
|
490
|
+
* @packageDocumentation valaxy plugin
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* create valaxy loader (custom virtual modules)
|
|
495
|
+
* multiple plugins
|
|
496
|
+
* @internal
|
|
497
|
+
* @param options
|
|
498
|
+
* @param serverOptions
|
|
499
|
+
*/
|
|
500
|
+
declare function createValaxyLoader(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<Plugin[]>;
|
|
501
|
+
|
|
502
|
+
declare function ViteValaxyPlugins(options: ResolvedValaxyOptions, serverOptions?: ValaxyServerOptions): Promise<(PluginOption | PluginOption[])[]>;
|
|
503
|
+
|
|
483
504
|
declare function createServer(options: ResolvedValaxyOptions, viteConfig?: InlineConfig, serverOptions?: ValaxyServerOptions): Promise<vite.ViteDevServer>;
|
|
484
505
|
|
|
485
506
|
declare function getGitTimestamp(file: string, type?: 'created' | 'updated'): Promise<number>;
|
|
@@ -505,4 +526,4 @@ declare function isPath(name: string): boolean;
|
|
|
505
526
|
*/
|
|
506
527
|
declare function transformObject(obj: any): string;
|
|
507
528
|
|
|
508
|
-
export { type HookResult, type LoadConfigFromFileOptions, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, build, createServer, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
|
529
|
+
export { ALL_ROUTE, EXCERPT_SEPARATOR, EXTERNAL_URL_RE, type HookResult, type LoadConfigFromFileOptions, PATHNAME_PROTOCOL_RE, type ResolvedConfig, type ResolvedValaxyOptions, type UnoSetup, type UserInputConfig, type UserValaxyNodeConfig, type ValaxyAddonExport, type ValaxyAddonFn, type ValaxyAddonLike, type ValaxyAddonResolver, type ValaxyAddons, type ValaxyConfigExport, type ValaxyConfigExtendKey, type ValaxyConfigFn, type ValaxyEntryOptions, type ValaxyExtendConfig, type ValaxyHooks, type ValaxyNode, type ValaxyNodeConfig, type ValaxyPickConfig, type ValaxyServerOptions, type ValaxyTheme, ViteValaxyPlugins, build, createServer, createValaxyLoader, customElements, defaultSiteConfig, defaultValaxyConfig, defineAddon, defineConfig, defineSiteConfig, defineTheme, defineUnoSetup, defineValaxyAddon, defineValaxyConfig, defineValaxyTheme, ensurePrefix, generateClientRedirects, getGitTimestamp, getIndexHtml, isExternal, isPath, loadConfig, loadConfigFromFile, mergeValaxyConfig, mergeViteConfigs, postProcessForSSG, processValaxyOptions, resolveAddonsConfig, resolveImportPath, resolveOptions, resolveSiteConfig, resolveSiteConfigFromRoot, resolveThemeConfigFromRoot, resolveThemeValaxyConfig, resolveUserThemeConfig, resolveValaxyConfig, resolveValaxyConfigFromRoot, slash, ssgBuild, toAtFS, transformObject };
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import {createRequire as __createRequire} from 'module';var require=__createRequire(import.meta.url);
|
|
2
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-APMSEIOX.mjs";import"../chunk-MJRGR35B.mjs";export{f as ALL_ROUTE,c as EXCERPT_SEPARATOR,d as EXTERNAL_URL_RE,e as PATHNAME_PROTOCOL_RE,N as ViteValaxyPlugins,O as build,T as cli,S as createServer,M as createValaxyLoader,g as customElements,p as defaultSiteConfig,t as defaultValaxyConfig,A as defineAddon,v as defineConfig,q as defineSiteConfig,F as defineTheme,G as defineUnoSetup,z as defineValaxyAddon,u as defineValaxyConfig,E as defineValaxyTheme,j as ensurePrefix,R as generateClientRedirects,a as getGitTimestamp,L as getIndexHtml,h as isExternal,l as isPath,n as loadConfig,o as loadConfigFromFile,x as mergeValaxyConfig,K as mergeViteConfigs,Q as postProcessForSSG,H as processValaxyOptions,B as resolveAddonsConfig,b as resolveImportPath,I as resolveOptions,s as resolveSiteConfig,r as resolveSiteConfigFromRoot,C as resolveThemeConfigFromRoot,J as resolveThemeValaxyConfig,D as resolveUserThemeConfig,y as resolveValaxyConfig,w as resolveValaxyConfigFromRoot,U as run,i as slash,P as ssgBuild,k as toAtFS,m as transformObject};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.0-beta.
|
|
4
|
+
"version": "0.18.0-beta.3",
|
|
5
5
|
"description": "📄 Vite & Vue powered static blog generator.",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "me@yunyoujun.cn",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@antfu/utils": "^0.7.7",
|
|
61
61
|
"@ctrl/tinycolor": "^4.0.3",
|
|
62
|
-
"@iconify-json/carbon": "^1.1.
|
|
62
|
+
"@iconify-json/carbon": "^1.1.30",
|
|
63
63
|
"@iconify-json/ri": "^1.1.19",
|
|
64
64
|
"@intlify/unplugin-vue-i18n": "^2.0.0",
|
|
65
65
|
"@types/body-scroll-lock": "^3.1.2",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"pinia": "^2.1.7",
|
|
109
109
|
"qrcode": "^1.5.3",
|
|
110
110
|
"sass": "^1.70.0",
|
|
111
|
-
"shiki": "^1.1.
|
|
111
|
+
"shiki": "^1.1.2",
|
|
112
112
|
"star-markdown-css": "^0.4.2",
|
|
113
113
|
"unconfig": "^0.3.11",
|
|
114
114
|
"unocss": "^0.58.5",
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
"vite-plugin-vue-layouts": "0.11.0",
|
|
122
122
|
"vite-ssg": "0.23.6",
|
|
123
123
|
"vite-ssg-sitemap": "0.6.1",
|
|
124
|
-
"vue": "^3.4.
|
|
124
|
+
"vue": "^3.4.19",
|
|
125
125
|
"vue-i18n": "^9.9.1",
|
|
126
126
|
"vue-router": "^4.2.5",
|
|
127
127
|
"yargs": "^17.7.2",
|
|
128
|
-
"@valaxyjs/devtools": "0.0.
|
|
128
|
+
"@valaxyjs/devtools": "0.18.0-beta.3"
|
|
129
129
|
},
|
|
130
130
|
"devDependencies": {
|
|
131
131
|
"@mdit-vue/plugin-component": "^2.0.0",
|
package/shims.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import 'vue-router'
|
|
|
2
2
|
|
|
3
3
|
// import './client/typed-router'
|
|
4
4
|
|
|
5
|
+
import type { Ref } from 'vue'
|
|
5
6
|
import type { Post } from './types'
|
|
6
7
|
import type { Header } from './node/plugins/markdown'
|
|
7
8
|
|
|
@@ -12,6 +13,10 @@ declare module '@docsearch/js' {
|
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
declare interface Window {
|
|
16
|
+
$valaxy: {
|
|
17
|
+
postList: Ref<Post[]>
|
|
18
|
+
}
|
|
19
|
+
|
|
15
20
|
// algolia
|
|
16
21
|
instantsearch: any
|
|
17
22
|
algoliasearch: any
|