@anydocs/core 1.0.0
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/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +1 -0
- package/dist/config/project-config.d.ts +10 -0
- package/dist/config/project-config.d.ts.map +1 -0
- package/dist/config/project-config.js +52 -0
- package/dist/errors/domain-error.d.ts +12 -0
- package/dist/errors/domain-error.d.ts.map +1 -0
- package/dist/errors/domain-error.js +8 -0
- package/dist/errors/index.d.ts +3 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +2 -0
- package/dist/errors/validation-error.d.ts +5 -0
- package/dist/errors/validation-error.d.ts.map +1 -0
- package/dist/errors/validation-error.js +7 -0
- package/dist/fs/api-source-repository.d.ts +16 -0
- package/dist/fs/api-source-repository.d.ts.map +1 -0
- package/dist/fs/api-source-repository.js +89 -0
- package/dist/fs/content-repository.d.ts +13 -0
- package/dist/fs/content-repository.d.ts.map +1 -0
- package/dist/fs/content-repository.js +171 -0
- package/dist/fs/docs-repository.d.ts +26 -0
- package/dist/fs/docs-repository.d.ts.map +1 -0
- package/dist/fs/docs-repository.js +270 -0
- package/dist/fs/index.d.ts +5 -0
- package/dist/fs/index.d.ts.map +1 -0
- package/dist/fs/index.js +4 -0
- package/dist/fs/project-paths.d.ts +4 -0
- package/dist/fs/project-paths.d.ts.map +1 -0
- package/dist/fs/project-paths.js +55 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/publishing/build-artifacts.d.ts +4 -0
- package/dist/publishing/build-artifacts.d.ts.map +1 -0
- package/dist/publishing/build-artifacts.js +453 -0
- package/dist/publishing/build-openapi-artifacts.d.ts +3 -0
- package/dist/publishing/build-openapi-artifacts.d.ts.map +1 -0
- package/dist/publishing/build-openapi-artifacts.js +253 -0
- package/dist/publishing/index.d.ts +4 -0
- package/dist/publishing/index.d.ts.map +1 -0
- package/dist/publishing/index.js +3 -0
- package/dist/publishing/publication-filter.d.ts +22 -0
- package/dist/publishing/publication-filter.d.ts.map +1 -0
- package/dist/publishing/publication-filter.js +98 -0
- package/dist/schemas/api-source-schema.d.ts +3 -0
- package/dist/schemas/api-source-schema.d.ts.map +1 -0
- package/dist/schemas/api-source-schema.js +110 -0
- package/dist/schemas/docs-schema.d.ts +7 -0
- package/dist/schemas/docs-schema.d.ts.map +1 -0
- package/dist/schemas/docs-schema.js +212 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/project-schema.d.ts +3 -0
- package/dist/schemas/project-schema.d.ts.map +1 -0
- package/dist/schemas/project-schema.js +268 -0
- package/dist/services/authoring-service.d.ts +137 -0
- package/dist/services/authoring-service.d.ts.map +1 -0
- package/dist/services/authoring-service.js +583 -0
- package/dist/services/build-service.d.ts +35 -0
- package/dist/services/build-service.d.ts.map +1 -0
- package/dist/services/build-service.js +84 -0
- package/dist/services/index.d.ts +11 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +10 -0
- package/dist/services/init-service.d.ts +15 -0
- package/dist/services/init-service.d.ts.map +1 -0
- package/dist/services/init-service.js +127 -0
- package/dist/services/legacy-conversion-service.d.ts +8 -0
- package/dist/services/legacy-conversion-service.d.ts.map +1 -0
- package/dist/services/legacy-conversion-service.js +601 -0
- package/dist/services/legacy-import-service.d.ts +10 -0
- package/dist/services/legacy-import-service.d.ts.map +1 -0
- package/dist/services/legacy-import-service.js +239 -0
- package/dist/services/page-template-service.d.ts +81 -0
- package/dist/services/page-template-service.d.ts.map +1 -0
- package/dist/services/page-template-service.js +342 -0
- package/dist/services/preview-service.d.ts +29 -0
- package/dist/services/preview-service.d.ts.map +1 -0
- package/dist/services/preview-service.js +45 -0
- package/dist/services/watch-service.d.ts +24 -0
- package/dist/services/watch-service.d.ts.map +1 -0
- package/dist/services/watch-service.js +216 -0
- package/dist/services/web-runtime-bridge.d.ts +33 -0
- package/dist/services/web-runtime-bridge.d.ts.map +1 -0
- package/dist/services/web-runtime-bridge.js +330 -0
- package/dist/services/workflow-compatibility-service.d.ts +3 -0
- package/dist/services/workflow-compatibility-service.d.ts.map +1 -0
- package/dist/services/workflow-compatibility-service.js +53 -0
- package/dist/services/workflow-standard-service.d.ts +9 -0
- package/dist/services/workflow-standard-service.d.ts.map +1 -0
- package/dist/services/workflow-standard-service.js +372 -0
- package/dist/types/api-source.d.ts +34 -0
- package/dist/types/api-source.d.ts.map +1 -0
- package/dist/types/api-source.js +8 -0
- package/dist/types/docs.d.ts +65 -0
- package/dist/types/docs.d.ts.map +1 -0
- package/dist/types/docs.js +8 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +5 -0
- package/dist/types/legacy-import.d.ts +72 -0
- package/dist/types/legacy-import.d.ts.map +1 -0
- package/dist/types/legacy-import.js +1 -0
- package/dist/types/project.d.ts +85 -0
- package/dist/types/project.d.ts.map +1 -0
- package/dist/types/project.js +5 -0
- package/dist/types/workflow-standard.d.ts +51 -0
- package/dist/types/workflow-standard.d.ts.map +1 -0
- package/dist/types/workflow-standard.js +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/slug.d.ts +3 -0
- package/dist/utils/slug.d.ts.map +1 -0
- package/dist/utils/slug.js +21 -0
- package/dist/utils/yoopta-content.d.ts +13 -0
- package/dist/utils/yoopta-content.d.ts.map +1 -0
- package/dist/utils/yoopta-content.js +73 -0
- package/dist/utils/yoopta-render.d.ts +7 -0
- package/dist/utils/yoopta-render.d.ts.map +1 -0
- package/dist/utils/yoopta-render.js +155 -0
- package/package.json +30 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { mkdir } from 'node:fs/promises';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { loadProjectContract } from "../fs/content-repository.js";
|
|
4
|
+
import { createDocsRepository, listPages, loadNavigation } from "../fs/docs-repository.js";
|
|
5
|
+
import { buildPublishedSiteLanguageContent, } from "../publishing/publication-filter.js";
|
|
6
|
+
import { writePublishedArtifacts } from "../publishing/build-artifacts.js";
|
|
7
|
+
import { writePublishedOpenApiArtifacts } from "../publishing/build-openapi-artifacts.js";
|
|
8
|
+
function countNavigationItems(items) {
|
|
9
|
+
let count = 0;
|
|
10
|
+
for (const item of items) {
|
|
11
|
+
count += 1;
|
|
12
|
+
if (Array.isArray(item.children)) {
|
|
13
|
+
count += countNavigationItems(item.children);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return count;
|
|
17
|
+
}
|
|
18
|
+
export async function runBuildWorkflow(options) {
|
|
19
|
+
const contractResult = await loadProjectContract(options.repoRoot, options.projectId, options.outputDir);
|
|
20
|
+
if (!contractResult.ok) {
|
|
21
|
+
throw contractResult.error;
|
|
22
|
+
}
|
|
23
|
+
const contract = contractResult.value;
|
|
24
|
+
const siteArtifacts = await loadPublishedSiteBuildArtifacts(options);
|
|
25
|
+
const defaultLanguageSite = siteArtifacts.find((entry) => entry.lang === contract.config.defaultLanguage);
|
|
26
|
+
const firstPublishedRoute = defaultLanguageSite?.content.routes[0] ?? null;
|
|
27
|
+
const languages = siteArtifacts.map((entry) => entry.summary);
|
|
28
|
+
const { assertSafeArtifactRoot, exportDocsSite } = await import("./web-runtime-bridge.js");
|
|
29
|
+
assertSafeArtifactRoot(contract.paths);
|
|
30
|
+
await mkdir(contract.paths.artifactRoot, { recursive: true });
|
|
31
|
+
await exportDocsSite({
|
|
32
|
+
projectRoot: contract.paths.projectRoot,
|
|
33
|
+
outputRoot: contract.paths.artifactRoot,
|
|
34
|
+
});
|
|
35
|
+
await mkdir(contract.paths.machineReadableRoot, { recursive: true });
|
|
36
|
+
await writePublishedArtifacts(contract, siteArtifacts);
|
|
37
|
+
await writePublishedOpenApiArtifacts(contract);
|
|
38
|
+
return {
|
|
39
|
+
projectId: contract.config.projectId,
|
|
40
|
+
artifactRoot: contract.paths.artifactRoot,
|
|
41
|
+
machineReadableRoot: contract.paths.machineReadableRoot,
|
|
42
|
+
entryHtmlFile: path.join(contract.paths.artifactRoot, 'index.html'),
|
|
43
|
+
defaultDocsPath: firstPublishedRoute?.href ?? `/${contract.config.defaultLanguage}`,
|
|
44
|
+
languages,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export async function loadPublishedBuildArtifacts(options) {
|
|
48
|
+
const siteResults = await loadPublishedSiteBuildArtifacts(options);
|
|
49
|
+
return siteResults.map((entry) => ({
|
|
50
|
+
lang: entry.lang,
|
|
51
|
+
content: {
|
|
52
|
+
navigation: entry.content.navigation,
|
|
53
|
+
pages: entry.content.pages,
|
|
54
|
+
},
|
|
55
|
+
summary: entry.summary,
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
export async function loadPublishedSiteBuildArtifacts(options) {
|
|
59
|
+
const contractResult = await loadProjectContract(options.repoRoot, options.projectId, options.outputDir);
|
|
60
|
+
if (!contractResult.ok) {
|
|
61
|
+
throw contractResult.error;
|
|
62
|
+
}
|
|
63
|
+
const contract = contractResult.value;
|
|
64
|
+
const repository = createDocsRepository(contract.paths.projectRoot);
|
|
65
|
+
const results = [];
|
|
66
|
+
for (const lang of contract.config.languages) {
|
|
67
|
+
const [navigation, pages] = await Promise.all([
|
|
68
|
+
loadNavigation(repository, lang),
|
|
69
|
+
listPages(repository, lang),
|
|
70
|
+
]);
|
|
71
|
+
const content = buildPublishedSiteLanguageContent(lang, navigation, pages);
|
|
72
|
+
results.push({
|
|
73
|
+
lang,
|
|
74
|
+
content,
|
|
75
|
+
summary: {
|
|
76
|
+
lang,
|
|
77
|
+
totalPages: pages.length,
|
|
78
|
+
publishedPages: content.pages.length,
|
|
79
|
+
navigationItems: countNavigationItems(content.navigation.items),
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
return results;
|
|
84
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './authoring-service.ts';
|
|
2
|
+
export * from './build-service.ts';
|
|
3
|
+
export * from './init-service.ts';
|
|
4
|
+
export * from './legacy-conversion-service.ts';
|
|
5
|
+
export * from './legacy-import-service.ts';
|
|
6
|
+
export * from './page-template-service.ts';
|
|
7
|
+
export * from './preview-service.ts';
|
|
8
|
+
export * from './watch-service.ts';
|
|
9
|
+
export * from './workflow-compatibility-service.ts';
|
|
10
|
+
export * from './workflow-standard-service.ts';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./authoring-service.js";
|
|
2
|
+
export * from "./build-service.js";
|
|
3
|
+
export * from "./init-service.js";
|
|
4
|
+
export * from "./legacy-conversion-service.js";
|
|
5
|
+
export * from "./legacy-import-service.js";
|
|
6
|
+
export * from "./page-template-service.js";
|
|
7
|
+
export * from "./preview-service.js";
|
|
8
|
+
export * from "./watch-service.js";
|
|
9
|
+
export * from "./workflow-compatibility-service.js";
|
|
10
|
+
export * from "./workflow-standard-service.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DocsLanguage, ProjectContract } from '../types/project.ts';
|
|
2
|
+
export type InitProjectOptions = {
|
|
3
|
+
repoRoot: string;
|
|
4
|
+
projectId?: string;
|
|
5
|
+
projectName?: string;
|
|
6
|
+
defaultLanguage?: DocsLanguage;
|
|
7
|
+
languages?: DocsLanguage[];
|
|
8
|
+
agent?: 'codex' | 'claude-code';
|
|
9
|
+
};
|
|
10
|
+
export type InitProjectResult = {
|
|
11
|
+
contract: ProjectContract;
|
|
12
|
+
createdFiles: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare function initializeProject(options: InitProjectOptions): Promise<InitProjectResult>;
|
|
15
|
+
//# sourceMappingURL=init-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-service.d.ts","sourceRoot":"","sources":["../../src/services/init-service.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAIzE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,eAAe,CAAC;IAC1B,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAyFF,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAyD/F"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { promises as fs } from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import { createDefaultProjectConfig, } from "../config/project-config.js";
|
|
5
|
+
import { ValidationError } from "../errors/validation-error.js";
|
|
6
|
+
import { createDocsRepository, initializeDocsRepository, saveNavigation, savePage, } from "../fs/docs-repository.js";
|
|
7
|
+
import { validateProjectConfig } from "../schemas/project-schema.js";
|
|
8
|
+
import { createProjectPathContract } from "../fs/project-paths.js";
|
|
9
|
+
import { exportWorkflowStandard } from "./workflow-standard-service.js";
|
|
10
|
+
const PROJECT_SKILL_GUIDE_FILE = 'skill.md';
|
|
11
|
+
const PROJECT_AGENT_GUIDE_FILES = {
|
|
12
|
+
codex: 'AGENTS.md',
|
|
13
|
+
'claude-code': 'Claude.md',
|
|
14
|
+
};
|
|
15
|
+
const INIT_SERVICE_DIR = path.dirname(fileURLToPath(import.meta.url));
|
|
16
|
+
const REPO_SKILL_GUIDE_PATH = path.resolve(INIT_SERVICE_DIR, '../../../../docs/skill.md');
|
|
17
|
+
async function ensurePathDoesNotExist(targetPath, entity, remediation) {
|
|
18
|
+
try {
|
|
19
|
+
await fs.access(targetPath);
|
|
20
|
+
throw new ValidationError(`Cannot initialize project because ${entity} already exists at "${targetPath}".`, {
|
|
21
|
+
entity,
|
|
22
|
+
rule: 'init-target-must-not-conflict',
|
|
23
|
+
remediation,
|
|
24
|
+
metadata: { targetPath },
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
catch (error) {
|
|
28
|
+
if (error instanceof ValidationError) {
|
|
29
|
+
throw error;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
async function writeJson(filePath, value) {
|
|
34
|
+
await fs.mkdir(path.dirname(filePath), { recursive: true });
|
|
35
|
+
await fs.writeFile(filePath, JSON.stringify(value, null, 2) + '\n', 'utf8');
|
|
36
|
+
}
|
|
37
|
+
function resolveAgentGuideFileName(agent) {
|
|
38
|
+
return agent ? PROJECT_AGENT_GUIDE_FILES[agent] : PROJECT_SKILL_GUIDE_FILE;
|
|
39
|
+
}
|
|
40
|
+
async function copyProjectSkillGuide(projectRoot, agent) {
|
|
41
|
+
const targetPath = path.join(projectRoot, resolveAgentGuideFileName(agent));
|
|
42
|
+
try {
|
|
43
|
+
await fs.access(targetPath);
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
await fs.mkdir(path.dirname(targetPath), { recursive: true });
|
|
48
|
+
await fs.copyFile(REPO_SKILL_GUIDE_PATH, targetPath);
|
|
49
|
+
return targetPath;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function createStarterPage(language) {
|
|
53
|
+
const isEnglish = language === 'en';
|
|
54
|
+
return {
|
|
55
|
+
id: 'welcome',
|
|
56
|
+
lang: language,
|
|
57
|
+
slug: 'welcome',
|
|
58
|
+
title: isEnglish ? 'Welcome' : '欢迎',
|
|
59
|
+
description: isEnglish
|
|
60
|
+
? 'Starter page created by anydocs init.'
|
|
61
|
+
: '由 anydocs init 创建的起始页面。',
|
|
62
|
+
status: 'published',
|
|
63
|
+
content: {},
|
|
64
|
+
render: {
|
|
65
|
+
markdown: isEnglish ? '# Welcome' : '# 欢迎',
|
|
66
|
+
plainText: isEnglish ? 'Welcome' : '欢迎',
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function createStarterNavigation() {
|
|
71
|
+
return {
|
|
72
|
+
version: 1,
|
|
73
|
+
items: [
|
|
74
|
+
{
|
|
75
|
+
type: 'section',
|
|
76
|
+
title: 'Getting Started',
|
|
77
|
+
children: [
|
|
78
|
+
{
|
|
79
|
+
type: 'page',
|
|
80
|
+
pageId: 'welcome',
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export async function initializeProject(options) {
|
|
88
|
+
const config = validateProjectConfig(createDefaultProjectConfig({
|
|
89
|
+
projectId: options.projectId,
|
|
90
|
+
name: options.projectName,
|
|
91
|
+
defaultLanguage: options.defaultLanguage,
|
|
92
|
+
languages: options.languages,
|
|
93
|
+
}));
|
|
94
|
+
const paths = createProjectPathContract(options.repoRoot, config);
|
|
95
|
+
await ensurePathDoesNotExist(paths.configFile, 'project-config-file', 'Choose a different target directory or remove the existing anydocs.config.json before running anydocs init again.');
|
|
96
|
+
await initializeDocsRepository(createDocsRepository(paths.projectRoot), config.languages);
|
|
97
|
+
await writeJson(paths.configFile, config);
|
|
98
|
+
await writeJson(paths.workflowFile, exportWorkflowStandard({
|
|
99
|
+
config,
|
|
100
|
+
paths,
|
|
101
|
+
}).definition);
|
|
102
|
+
const createdFiles = [paths.configFile, paths.workflowFile];
|
|
103
|
+
const skillGuideFile = await copyProjectSkillGuide(paths.projectRoot, options.agent);
|
|
104
|
+
if (skillGuideFile) {
|
|
105
|
+
createdFiles.push(skillGuideFile);
|
|
106
|
+
}
|
|
107
|
+
const repository = createDocsRepository(paths.projectRoot);
|
|
108
|
+
const starterNavigation = createStarterNavigation();
|
|
109
|
+
for (const language of config.languages) {
|
|
110
|
+
await saveNavigation(repository, language, starterNavigation);
|
|
111
|
+
const starterPage = createStarterPage(language);
|
|
112
|
+
await savePage(repository, language, starterPage);
|
|
113
|
+
createdFiles.push(paths.languageRoots[language].navigationFile);
|
|
114
|
+
createdFiles.push(path.join(paths.languageRoots[language].pagesDir, `${starterPage.id}.json`));
|
|
115
|
+
}
|
|
116
|
+
await fs.mkdir(paths.artifactRoot, { recursive: true });
|
|
117
|
+
await fs.mkdir(paths.machineReadableRoot, { recursive: true });
|
|
118
|
+
await fs.mkdir(paths.importsRoot, { recursive: true });
|
|
119
|
+
await fs.mkdir(paths.apiSourcesRoot, { recursive: true });
|
|
120
|
+
return {
|
|
121
|
+
contract: {
|
|
122
|
+
config,
|
|
123
|
+
paths,
|
|
124
|
+
},
|
|
125
|
+
createdFiles,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LegacyImportConversionResult } from '../types/legacy-import.ts';
|
|
2
|
+
export type ConvertImportedLegacyContentOptions = {
|
|
3
|
+
repoRoot: string;
|
|
4
|
+
importId: string;
|
|
5
|
+
projectId?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function convertImportedLegacyContent(options: ConvertImportedLegacyContentOptions): Promise<LegacyImportConversionResult>;
|
|
8
|
+
//# sourceMappingURL=legacy-conversion-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy-conversion-service.d.ts","sourceRoot":"","sources":["../../src/services/legacy-conversion-service.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAGV,4BAA4B,EAM7B,MAAM,2BAA2B,CAAC;AAInC,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAorBF,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,mCAAmC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAwLvC"}
|