-
Notifications
You must be signed in to change notification settings - Fork 3
/
deps.ts
50 lines (44 loc) · 2.72 KB
/
deps.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import type { SiteMetadata } from "./schema/site.ts";
import type { PostMetadata } from "./schema/post.ts";
export type { SiteMetadata };
export type { PostMetadata };
export { validate as validateSiteMetadata } from "./schema/site.ts";
export { validate as validatePostMetadata } from "./schema/post.ts";
export { Goldsmith } from "https://deno.land/x/[email protected]/mod.ts";
export type { GoldsmithPlugin, GoldsmithFile } from "https://deno.land/x/[email protected]/mod.ts";
export { goldsmithJSONMetadata } from "https://deno.land/x/[email protected]/plugins/json_metadata/mod.ts";
export { goldsmithFrontMatter } from "https://deno.land/x/[email protected]/plugins/front_matter/mod.ts";
export { goldsmithExcludeDrafts } from "https://deno.land/x/[email protected]/plugins/exclude_drafts/mod.ts";
export { goldsmithFileMetadata } from "https://deno.land/x/[email protected]/plugins/file_metadata/mod.ts";
export { goldsmithIndex } from "https://deno.land/x/[email protected]/plugins/index/mod.ts";
export { goldsmithCollections } from "https://deno.land/x/[email protected]/plugins/collections/mod.ts";
export { goldsmithInjectFiles } from "https://deno.land/x/[email protected]/plugins/inject_files/mod.ts";
export { goldsmithMarkdown } from "https://deno.land/x/[email protected]/plugins/markdown/mod.ts";
export { goldsmithRootPaths } from "https://deno.land/x/[email protected]/plugins/root_paths/mod.ts";
export { goldsmithLayout } from "https://deno.land/x/[email protected]/plugins/layout/mod.ts";
export { goldsmithLayoutLiteralHTML } from "https://deno.land/x/[email protected]/plugins/layout/literal_html.ts";
export type { GoldsmithLiteralHTMLLayoutContext, GoldsmithLiteralHTMLLayoutCallback, GoldsmithLiteralHTMLLayoutMap } from "https://deno.land/x/[email protected]/plugins/layout/literal_html.ts";
export { goldsmithWatch } from "https://deno.land/x/[email protected]/plugins/watch/mod.ts";
export { goldsmithServe } from "https://deno.land/x/[email protected]/plugins/serve/mod.ts";
export { goldsmithFeed } from "https://deno.land/x/[email protected]/plugins/feed/mod.ts";
export { goldsmithLinkChecker } from "https://deno.land/x/[email protected]/plugins/link_checker/mod.ts";
export { version } from "./version.ts";
declare module "https://deno.land/x/[email protected]/mod.ts" {
interface GoldsmithMetadata {
site?: SiteMetadata;
tagsAll?: string[];
tagsTop?: string[];
}
interface GoldsmithFile extends Partial<PostMetadata> {
// Generic post schema comes from PostMetadata
// Derived properties
category?: string;
tags?: string[];
// Root properties
isRoot?: boolean;
// Tag index properties
tag?: string;
isTagIndex?: boolean;
postsWithTag?: GoldsmithFile[];
}
}