typerighter 0.55.2 → 0.56.1
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/README.md +3 -0
- package/README.npm.md +3 -0
- package/dist/{app-C1ognrj1.js → app-Dh1RgRtN.js} +487 -525
- package/dist/{cli-CptK1Fy8.js → cli-Be64NWBp.js} +5 -5
- package/dist/cli.js +1 -1
- package/dist/client/app/index.d.ts +1 -1
- package/dist/client/app/index.d.ts.map +1 -1
- package/dist/client/theme-default/composables/client-preferences/index.d.ts +3 -0
- package/dist/client/theme-default/composables/client-preferences/index.d.ts.map +1 -0
- package/dist/client/theme-default/composables/client-preferences/useSidebarConfig.d.ts +15 -0
- package/dist/client/theme-default/composables/client-preferences/useSidebarConfig.d.ts.map +1 -0
- package/dist/client/{app/composables → theme-default/composables/client-preferences}/useTheme.d.ts +1 -0
- package/dist/client/theme-default/composables/client-preferences/useTheme.d.ts.map +1 -0
- package/dist/client/theme-default/composables/client-preferences/utils/buildHeadScript.d.ts +5 -0
- package/dist/client/theme-default/composables/client-preferences/utils/buildHeadScript.d.ts.map +1 -0
- package/dist/client/theme-default/composables/client-preferences/utils/useClientPreferences.d.ts +5 -0
- package/dist/client/theme-default/composables/client-preferences/utils/useClientPreferences.d.ts.map +1 -0
- package/dist/client/theme-default.js +1313 -1259
- package/dist/client.js +3 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{init-D8IGJCaj.js → init-BmrfQCbP.js} +1 -1
- package/dist/node/index.d.ts +5 -3
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/lib/html-template.d.ts.map +1 -1
- package/dist/node/lib/index.d.ts +3 -2
- package/dist/node/lib/index.d.ts.map +1 -1
- package/dist/node/lib/render/index.d.ts +2 -1
- package/dist/node/lib/render/index.d.ts.map +1 -1
- package/dist/node/plugin/index.d.ts +2 -1
- package/dist/node/plugin/index.d.ts.map +1 -1
- package/dist/{page-CRsjLGU-.js → page-RL9qA6-j.js} +33 -29
- package/dist/prerenderWorker.js +1 -1
- package/dist/shared/index.d.ts +6 -4
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/types/index.d.ts +4 -3
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/utils/index.d.ts +8 -8
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/typerighter.css +1 -1
- package/dist/useSidebarConfig-n149FAq4.js +31 -0
- package/dist/useTheme-B-j0bXCL.js +62 -0
- package/dist/{vite-UR3fMhaK.js → vite-C2ruOX7H.js} +1 -1
- package/dist/vite.js +1 -1
- package/package.json +3 -3
- package/dist/client/app/composables/useTheme.d.ts.map +0 -1
package/dist/client.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as e } from "./useTheme-B-j0bXCL.js";
|
|
2
|
+
import { a as t, c as n, i as r, o as i, r as a, s as o, t as s } from "./app-Dh1RgRtN.js";
|
|
3
|
+
export { i as Content, s as createTypedownApp, o as useRoute, n as useRouter, a as useSiteConfig, r as useSiteData, t as useTdContent, e as useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type { TypedownPluginCache, TypedownPluginOptions, BuildOptions, } from './node';
|
|
2
|
+
export { typedown, buildSite, cli, THEME_ID, PAGES_ID, SITE_DATA_ID, SEARCH_INDEX_ID, PAGE_DATA_EVENT, } from './node';
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EAAE,qBAAqB,EAAE,YAAY,GACzD,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,QAAQ,EAAE,SAAS,EAAE,GAAG,EACxB,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,GACnE,MAAM,QAAQ,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./vite-
|
|
2
|
-
import { t as s } from "./cli-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./vite-C2ruOX7H.js";
|
|
2
|
+
import { t as s } from "./cli-Be64NWBp.js";
|
|
3
3
|
export { n as PAGES_ID, i as PAGE_DATA_EVENT, t as SEARCH_INDEX_ID, e as SITE_DATA_ID, r as THEME_ID, a as buildSite, s as cli, o as typedown };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type { TypedownPluginCache, TypedownPluginOptions, } from './plugin';
|
|
2
|
+
export { typedown, THEME_ID, PAGES_ID, SITE_DATA_ID, SEARCH_INDEX_ID, PAGE_DATA_EVENT, } from './plugin';
|
|
3
|
+
export type { BuildOptions, } from './build';
|
|
4
|
+
export { buildSite, } from './build';
|
|
5
|
+
export { cli, } from './cli';
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/node/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EAAE,qBAAqB,GAC3C,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,QAAQ,EACR,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,GACnE,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,YAAY,GACb,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,SAAS,GACV,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,GAAG,GACJ,MAAM,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html-template.d.ts","sourceRoot":"","sources":["../../../src/node/lib/html-template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html-template.d.ts","sourceRoot":"","sources":["../../../src/node/lib/html-template.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,MAAM,EACP,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,mBAAmB;IAClC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mDAAmD;IACnD,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,iEAAiE;IACjE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD,wBAAgB,kBAAkB,CAAE,OAAO,EAAE,mBAAmB,GAAG,MAAM,CA0ExE"}
|
package/dist/node/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { TypedownContext, isRpcCancelled, } from './typedown-context';
|
|
2
|
+
export type { VueRenderResult, } from './render';
|
|
3
|
+
export { buildPageData, renderToVueSfc, } from './render';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAAE,cAAc,GAChC,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,eAAe,GAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,aAAa,EAAE,cAAc,GAC9B,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/lib/render/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/node/lib/render/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,eAAe,GAChB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,aAAa,EAAE,cAAc,GAC9B,MAAM,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/plugin/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/node/plugin/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EAAE,qBAAqB,GAC3C,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,QAAQ,EACR,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,GACnE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { F as e, J as t, Y as n, c as r, i, k as a, x as o } from "./shared-BK7uzYmy.js";
|
|
2
|
+
import { t as s } from "./useTheme-B-j0bXCL.js";
|
|
3
|
+
import { a as c } from "./useSidebarConfig-n149FAq4.js";
|
|
4
|
+
// src/client/theme-default/composables/client-preferences/index.ts
|
|
5
|
+
function l() {
|
|
6
|
+
return s() + c();
|
|
7
|
+
}
|
|
2
8
|
// src/node/lib/html-template.ts
|
|
3
|
-
function
|
|
4
|
-
let t = r(e.title), n = r(e.description), i = e.siteTitle !== void 0 && e.title !== e.siteTitle ? `${t} - ${r(e.siteTitle)}` : t, a = e.origin ?? "", o = e.canonicalUrl, s = o === void 0 ? "" : `\n <link rel="canonical" href="${r(o)}">`, c = o === void 0 ? "" : `\n <meta property="og:url" content="${r(o)}">`,
|
|
9
|
+
function u(e) {
|
|
10
|
+
let t = r(e.title), n = r(e.description), i = e.siteTitle !== void 0 && e.title !== e.siteTitle ? `${t} - ${r(e.siteTitle)}` : t, a = e.origin ?? "", o = e.canonicalUrl, s = o === void 0 ? "" : `\n <link rel="canonical" href="${r(o)}">`, c = o === void 0 ? "" : `\n <meta property="og:url" content="${r(o)}">`, u = e.ogImagePath === void 0 ? `${a}${e.base}og-image.png` : `${a}${e.ogImagePath}`, d = e.author === void 0 ? "" : `\n <meta name="author" content="${r(e.author)}">`, f = e.siteTitle === void 0 ? "" : `\n <meta property="og:site_name" content="${r(e.siteTitle)}">`, p = a === "" ? "" : `\n <link rel="alternate" type="application/rss+xml" title="${e.siteTitle === void 0 ? "RSS Feed" : r(e.siteTitle)}" href="${a}${e.base}feed.xml">`, m = (e.jsonLdBlocks ?? []).map((e) => `\n <script type="application/ld+json">${e}<\/script>`).join(""), h = e.headExtra === void 0 ? "" : e.headExtra + "\n";
|
|
5
11
|
return `<!DOCTYPE html>
|
|
6
12
|
<html lang="${e.lang ?? "en"}">
|
|
7
13
|
<head>
|
|
@@ -10,25 +16,23 @@ function s(e) {
|
|
|
10
16
|
<meta name="generator" content="Typerighter">
|
|
11
17
|
<meta name="robots" content="index, follow">
|
|
12
18
|
<title>${i}</title>
|
|
13
|
-
<meta name="description" content="${n}">${
|
|
19
|
+
<meta name="description" content="${n}">${d}${s}
|
|
14
20
|
<link rel="icon" href="${e.base}favicon.svg" type="image/svg+xml">
|
|
15
|
-
<link rel="apple-touch-icon" href="${e.base}apple-touch-icon.png">${
|
|
16
|
-
<meta property="og:type" content="${e.ogType ?? "article"}">${
|
|
21
|
+
<link rel="apple-touch-icon" href="${e.base}apple-touch-icon.png">${p}
|
|
22
|
+
<meta property="og:type" content="${e.ogType ?? "article"}">${f}${c}
|
|
17
23
|
<meta property="og:title" content="${t}">
|
|
18
24
|
<meta property="og:description" content="${n}">
|
|
19
|
-
<meta property="og:image" content="${r(
|
|
25
|
+
<meta property="og:image" content="${r(u)}">
|
|
20
26
|
<meta name="twitter:card" content="summary_large_image">
|
|
21
27
|
<meta name="twitter:title" content="${t}">
|
|
22
28
|
<meta name="twitter:description" content="${n}">
|
|
23
|
-
<meta name="twitter:image" content="${r(
|
|
29
|
+
<meta name="twitter:image" content="${r(u)}">${m}
|
|
24
30
|
<script>
|
|
25
31
|
(function () {
|
|
26
|
-
|
|
27
|
-
var isDark = theme === 'dark' || (theme !== 'light' && matchMedia('(prefers-color-scheme: dark)').matches);
|
|
28
|
-
if (isDark) document.documentElement.classList.add('dark');
|
|
32
|
+
${l()}
|
|
29
33
|
})()
|
|
30
34
|
<\/script>
|
|
31
|
-
${
|
|
35
|
+
${h} </head>
|
|
32
36
|
<body>
|
|
33
37
|
<div id="app">${e.appContent ?? ""}</div>
|
|
34
38
|
<script type="module" src="${e.base}${e.entryScript}"><\/script>
|
|
@@ -36,7 +40,7 @@ ${m} </head>
|
|
|
36
40
|
</html>`;
|
|
37
41
|
}
|
|
38
42
|
// src/node/build/seo/jsonld.ts
|
|
39
|
-
function
|
|
43
|
+
function d(e) {
|
|
40
44
|
return JSON.stringify({
|
|
41
45
|
"@context": "https://schema.org",
|
|
42
46
|
"@type": "Article",
|
|
@@ -50,7 +54,7 @@ function c(e) {
|
|
|
50
54
|
...e.dateModified === void 0 ? {} : { dateModified: e.dateModified }
|
|
51
55
|
});
|
|
52
56
|
}
|
|
53
|
-
function
|
|
57
|
+
function f(e) {
|
|
54
58
|
return JSON.stringify({
|
|
55
59
|
"@context": "https://schema.org",
|
|
56
60
|
"@type": "WebSite",
|
|
@@ -58,7 +62,7 @@ function l(e) {
|
|
|
58
62
|
url: e.canonicalUrl
|
|
59
63
|
});
|
|
60
64
|
}
|
|
61
|
-
function
|
|
65
|
+
function p(e) {
|
|
62
66
|
let { pageRoute: t, title: r, origin: i = "" } = e, s = a(t), c = o(e.base);
|
|
63
67
|
if (t === "/") return;
|
|
64
68
|
let l = t.split("/").filter(Boolean), u = l.map((e, t) => {
|
|
@@ -77,18 +81,18 @@ function u(e) {
|
|
|
77
81
|
});
|
|
78
82
|
}
|
|
79
83
|
// src/node/build/seo/page.ts
|
|
80
|
-
var
|
|
81
|
-
function
|
|
82
|
-
let a = t.seoMetadata?.title ?? t.title, o =
|
|
84
|
+
var m = 160;
|
|
85
|
+
function h(t, n, r) {
|
|
86
|
+
let a = t.seoMetadata?.title ?? t.title, o = g(t), s = n === "/", c = (r.origin ?? "") + r.base + e(n), l = t.fileMetadata?.mtimeSecs === void 0 ? void 0 : i(t.fileMetadata.mtimeSecs * 1e3), u = [s ? f({
|
|
83
87
|
title: a,
|
|
84
|
-
canonicalUrl:
|
|
85
|
-
}) :
|
|
88
|
+
canonicalUrl: c
|
|
89
|
+
}) : d({
|
|
86
90
|
title: a,
|
|
87
91
|
description: o,
|
|
88
|
-
canonicalUrl:
|
|
92
|
+
canonicalUrl: c,
|
|
89
93
|
author: r.author,
|
|
90
|
-
dateModified:
|
|
91
|
-
}),
|
|
94
|
+
dateModified: l
|
|
95
|
+
}), p({
|
|
92
96
|
pageRoute: n,
|
|
93
97
|
title: a,
|
|
94
98
|
origin: r.origin,
|
|
@@ -97,18 +101,18 @@ function f(t, n, r) {
|
|
|
97
101
|
return {
|
|
98
102
|
title: a,
|
|
99
103
|
description: o,
|
|
100
|
-
canonicalUrl:
|
|
104
|
+
canonicalUrl: c,
|
|
101
105
|
isHomepage: s,
|
|
102
106
|
ogType: s ? "website" : "article",
|
|
103
107
|
ogImagePath: t.seoMetadata?.image,
|
|
104
|
-
jsonLdBlocks:
|
|
108
|
+
jsonLdBlocks: u
|
|
105
109
|
};
|
|
106
110
|
}
|
|
107
|
-
function
|
|
108
|
-
return e.seoMetadata?.description === void 0 ? e.frontmatter.description === void 0 ? e.excerpt === void 0 ?
|
|
111
|
+
function g(e) {
|
|
112
|
+
return e.seoMetadata?.description === void 0 ? e.frontmatter.description === void 0 ? e.excerpt === void 0 ? _(e) : t(e.excerpt, m) : String(e.frontmatter.description) : e.seoMetadata.description;
|
|
109
113
|
}
|
|
110
|
-
function
|
|
114
|
+
function _(e) {
|
|
111
115
|
let n = e.headings.filter((e) => e.level === 2).slice(0, 5).map((e) => e.title);
|
|
112
|
-
return n.length === 0 ? t(e.title,
|
|
116
|
+
return n.length === 0 ? t(e.title, m) : t(`${e.title}: ${n.join(", ")}`, m);
|
|
113
117
|
}
|
|
114
|
-
export {
|
|
118
|
+
export { u as n, h as t };
|
package/dist/prerenderWorker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as e } from "./shared-BK7uzYmy.js";
|
|
2
|
-
import { n as t, t as n } from "./page-
|
|
2
|
+
import { n as t, t as n } from "./page-RL9qA6-j.js";
|
|
3
3
|
import { pathToFileURL as r } from "node:url";
|
|
4
4
|
import { parentPort as i, workerData as a } from "node:worker_threads";
|
|
5
5
|
// src/node/build/prerenderWorker.ts
|
package/dist/shared/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { INDEX_FILENAME, CONTENT_EXTENSIONS, CONTENT_GLOB, SEARCH_FIELDS, SEARCH_STORE_FIELDS, } from './constants';
|
|
2
|
+
export { EXTERNAL_URL_RE, } from './regexes';
|
|
3
|
+
export type { ContentIcon, ContentSummary, ContentTree, ContentTreeEntry, ContentTreeNode, DirectoryEntry, DirectoryListing, DirectoryListingEntry, FileMetadata, PropertyDescriptor, PropertyWidget, SchemaDefinition, SubdirectoryEntry, AnyOfSchema, ArraySchema, ConstSchema, DictSchema, EnumSchema, JsonSchema, MultiTypeSchema, OneOfSchema, PrimitiveSchema, ProductSchema, MarkdownHeading, OgType, PageData, PageModule, SeoMeta, TypedownData, } from './types';
|
|
4
|
+
export { isOptional, makeOptional, } from './types';
|
|
5
|
+
export { buildContentTree, buildDirectoryListingMap, getNodeIndexItem, getTdIndexTitle, getTdResourceTitle, isIndexFile, debounce, throttle, isBuiltinField, kebabToPascal, parseNumericPrefix, pascalToKebab, snakeToKebab, truncate, unslugify, escapeHtml, stripHtml, sanitizeInlineHtml, unescapeHtml, escapeRegex, formatAbsoluteTime, formatEditTime, formatRelativeTime, formatDateString, formatIsoDate, formatTime, ensureTrailingSlash, getAnchor, getDirectoryFromPageUrl, getDirectoryUrl, getIndexUrl, getParentUrl, getTdContentUrl, getUrlPath, isIndexUrl, isUrlAncestorOf, isUrlExternal, isUrlToPage, resolveRootUrl, stripAnchor, stripLeadingSlash, stripTrailingSlash, } from './utils';
|
|
6
|
+
export { path, } from './utils';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,GACrF,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,eAAe,GAChB,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAC3E,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,YAAY,EACrE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,EACvE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EACzE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAC5D,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,GACrE,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,UAAU,EAAE,YAAY,GACzB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAC5D,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAChD,QAAQ,EAAE,QAAQ,EAClB,cAAc,EACd,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EACnF,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,YAAY,EACvD,WAAW,EACX,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EACtD,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAC3C,mBAAmB,EAAE,SAAS,EAAE,uBAAuB,EAAE,eAAe,EACxE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAClE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAC3D,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,GACnD,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,IAAI,GACL,MAAM,SAAS,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type { ContentIcon, ContentSummary, ContentTree, ContentTreeEntry, ContentTreeNode, DirectoryEntry, DirectoryListing, DirectoryListingEntry, FileMetadata, PropertyDescriptor, PropertyWidget, SchemaDefinition, SubdirectoryEntry, } from './content';
|
|
2
|
+
export type { AnyOfSchema, ArraySchema, ConstSchema, DictSchema, EnumSchema, JsonSchema, MultiTypeSchema, OneOfSchema, PrimitiveSchema, ProductSchema, } from './json-schema';
|
|
3
|
+
export { isOptional, makeOptional, } from './json-schema';
|
|
4
|
+
export type { MarkdownHeading, OgType, PageData, PageModule, SeoMeta, TypedownData, } from './ssg';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAC3E,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,YAAY,EACrE,kBAAkB,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAAiB,GACxE,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EACzE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,GAC7D,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EAAE,YAAY,GACzB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,GACrE,MAAM,OAAO,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export { buildContentTree, buildDirectoryListingMap, getNodeIndexItem, getTdIndexTitle, getTdResourceTitle, isIndexFile, } from './content';
|
|
2
|
+
export { debounce, throttle, } from './debounce';
|
|
3
|
+
export { isBuiltinField, } from './field';
|
|
4
|
+
export { kebabToPascal, parseNumericPrefix, pascalToKebab, snakeToKebab, truncate, unslugify, } from './format';
|
|
5
|
+
export { escapeHtml, stripHtml, sanitizeInlineHtml, unescapeHtml, } from './html';
|
|
6
6
|
export * as path from './path';
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
7
|
+
export { escapeRegex, } from './regex';
|
|
8
|
+
export { formatAbsoluteTime, formatEditTime, formatRelativeTime, formatDateString, formatIsoDate, formatTime, } from './time';
|
|
9
|
+
export { ensureTrailingSlash, getAnchor, getDirectoryFromPageUrl, getDirectoryUrl, getIndexUrl, getParentUrl, getTdContentUrl, getUrlPath, isIndexUrl, isUrlAncestorOf, isUrlExternal, isUrlToPage, resolveRootUrl, stripAnchor, stripLeadingSlash, stripTrailingSlash, } from './url';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,EAC5D,eAAe,EAAE,kBAAkB,EAAE,WAAW,GACjD,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,QAAQ,EAAE,QAAQ,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,cAAc,GACf,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAChD,YAAY,EAAE,QAAQ,EAAE,SAAS,GAClC,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,YAAY,GACxD,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,EACL,WAAW,GACZ,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,kBAAkB,EAAE,cAAc,EAAE,kBAAkB,EACtD,gBAAgB,EAAE,aAAa,EAAE,UAAU,GAC5C,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,mBAAmB,EAAE,SAAS,EAAE,uBAAuB,EAAE,eAAe,EACxE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU,EAClE,eAAe,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAC3D,WAAW,EAAE,iBAAiB,EAAE,kBAAkB,GACnD,MAAM,OAAO,CAAC"}
|