valaxy 0.21.0 → 0.22.2-beta.5
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/bin/{valaxy.mjs → valaxy.js} +1 -1
- package/client/composables/common.ts +37 -0
- package/client/composables/global.ts +4 -4
- package/client/composables/locale.ts +8 -5
- package/client/composables/outline/anchor.ts +4 -2
- package/client/main.ts +9 -5
- package/client/templates/loader.vue +10 -0
- package/client/utils/time.ts +21 -55
- package/dist/chunk-ACYXZDCP.js +2 -0
- package/dist/{chunk-KQEK3EI2.mjs → chunk-BKO6YTFK.js} +1 -1
- package/dist/chunk-ESOXDAAD.js +158 -0
- package/dist/node/cli/index.d.ts +12 -2
- package/dist/node/cli/index.js +2 -0
- package/dist/node/index.d.ts +8 -2
- package/dist/node/index.js +2 -0
- package/dist/node/worker_shikiResolveLang.d.ts +10 -0
- package/dist/node/worker_shikiResolveLang.js +2 -0
- package/dist/types/index.d.ts +5 -1
- package/dist/types/{index.mjs → index.js} +1 -1
- package/package.json +17 -24
- package/types/data.ts +5 -1
- package/bin/valaxy.cjs +0 -10
- package/dist/chunk-KYTMXSIQ.mjs +0 -162
- package/dist/chunk-QBQ5XWB7.cjs +0 -1
- package/dist/chunk-WIV35YXE.cjs +0 -161
- package/dist/config-Dxu7i2Zs.d.cts +0 -741
- package/dist/node/cli/index.cjs +0 -1
- package/dist/node/cli/index.d.cts +0 -6
- package/dist/node/cli/index.mjs +0 -2
- package/dist/node/index.cjs +0 -1
- package/dist/node/index.d.cts +0 -649
- package/dist/node/index.mjs +0 -2
- package/dist/types/index.cjs +0 -1
- package/dist/types/index.d.cts +0 -31
package/dist/types/index.d.cts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { a as PageFrontMatter, b as PostFrontMatter } from '../config-Dxu7i2Zs.cjs';
|
|
2
|
-
export { A as Album, D as DefaultTheme, E as ExcerptType, F as FuseListItem, P as PartialDeep, i as Photo, f as Pkg, c as RedirectItem, R as RedirectRule, e as RuntimeConfig, d as SiteConfig, S as SocialLink, U as UserSiteConfig, h as UserValaxyConfig, V as ValaxyAddon, g as ValaxyConfig } from '../config-Dxu7i2Zs.cjs';
|
|
3
|
-
import { Header } from '@valaxyjs/utils';
|
|
4
|
-
import '@vueuse/integrations/useFuse';
|
|
5
|
-
import 'medium-zoom';
|
|
6
|
-
import 'vanilla-lazyload';
|
|
7
|
-
import 'vue-router';
|
|
8
|
-
import '@vueuse/core';
|
|
9
|
-
import '@unhead/schema-org';
|
|
10
|
-
|
|
11
|
-
type Page = Partial<PageFrontMatter>;
|
|
12
|
-
type Post = Partial<PostFrontMatter>;
|
|
13
|
-
|
|
14
|
-
type CleanUrlsMode = 'disabled' | 'without-subfolders' | 'with-subfolders';
|
|
15
|
-
interface PageData {
|
|
16
|
-
path: string;
|
|
17
|
-
relativePath: string;
|
|
18
|
-
title: string;
|
|
19
|
-
titleTemplate?: string;
|
|
20
|
-
description: string;
|
|
21
|
-
headers: Header[];
|
|
22
|
-
frontmatter: Post;
|
|
23
|
-
lastUpdated?: number;
|
|
24
|
-
}
|
|
25
|
-
interface PageDataPayload {
|
|
26
|
-
path: string;
|
|
27
|
-
pageData: PageData;
|
|
28
|
-
}
|
|
29
|
-
type HeadConfig = [string, Record<string, string>] | [string, Record<string, string>, string];
|
|
30
|
-
|
|
31
|
-
export { type CleanUrlsMode, type HeadConfig, type Page, type PageData, type PageDataPayload, PageFrontMatter, type Post, PostFrontMatter };
|