@mdfriday/foundry 26.2.12 → 26.2.13
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/internal/domain/content/vo/sort.d.ts +1 -0
- package/dist/internal/domain/site/entity/page.d.ts +5 -0
- package/dist/internal/domain/site/entity/pagegraph.d.ts +1 -1
- package/dist/internal/domain/site/entity/site.d.ts +2 -0
- package/dist/internal/domain/site/service/html-link-processor.d.ts +1 -1
- package/dist/worker/pool-manager.js +1849 -3927
- package/dist/worker/worker-node.js +1849 -3927
- package/package.json +2 -2
- /package/dist/internal/domain/site/{vo → valueobject}/path.d.ts +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Pages } from '../type';
|
|
2
2
|
export declare function sortByDefault(pages: Pages): void;
|
|
3
|
+
export declare function sortByTitle(pages: Pages): void;
|
|
3
4
|
export declare function sortByWeight(pages: Pages): void;
|
|
4
5
|
export declare function sortByLanguage(pages: Pages): void;
|
|
@@ -14,7 +14,12 @@ export declare class Page implements ContentPage, PageMeta {
|
|
|
14
14
|
private resources;
|
|
15
15
|
private _paginator;
|
|
16
16
|
private _processedContent;
|
|
17
|
+
private _precomputedData;
|
|
17
18
|
constructor(tmplSvc: Template, langSvc: LanguageService, publisher: Publisher, contentPage: ContentPage, site: Site);
|
|
19
|
+
precomputeTemplateData(): Promise<void>;
|
|
20
|
+
private precomputeBacklinks;
|
|
21
|
+
private precomputeTableOfContents;
|
|
22
|
+
private precomputeSummary;
|
|
18
23
|
processResources(pageSources: PageSource[]): Promise<void>;
|
|
19
24
|
render(): Promise<void>;
|
|
20
25
|
getPageOutput(): PageOutput;
|
|
@@ -30,6 +30,7 @@ export declare class Site {
|
|
|
30
30
|
private title;
|
|
31
31
|
private home;
|
|
32
32
|
private pageGraph;
|
|
33
|
+
private backlinksCache;
|
|
33
34
|
get Title(): string;
|
|
34
35
|
get Description(): string;
|
|
35
36
|
get Compiler(): Compiler;
|
|
@@ -100,5 +101,6 @@ export declare class Site {
|
|
|
100
101
|
ProcessWikilinks(srcSlug: string, html: string): Promise<string>;
|
|
101
102
|
getPageGraph(): PageGraph | null;
|
|
102
103
|
GetBacklinks(targetSlug: string): string[];
|
|
104
|
+
buildBacklinksCache(pages: ContentPage[]): Promise<void>;
|
|
103
105
|
GetContentIndex(): Promise<Map<string, any>>;
|
|
104
106
|
}
|