-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.ts
More file actions
49 lines (44 loc) · 1.02 KB
/
mod.ts
File metadata and controls
49 lines (44 loc) · 1.02 KB
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
// SPDX-License-Identifier: PMPL-1.0-or-later
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath)
//
// mod.ts — Deno entry point for the @hyperpolymath/a2ml library.
//
// Re-exports the compiled ReScript modules for use in Deno projects.
// All types and functions are available through this single entry point.
// @ts-nocheck — ReScript-generated ES modules do not ship .d.ts files
export {
parse,
parseFile,
render,
renderBlock,
renderInline,
emptyDocument,
makeDirective,
makeAttestation,
manifestFromDocument,
parseErrorToString,
trustLevelFromString,
trustLevelToString,
} from "./src/A2ML.res.mjs";
export {
parseA2ML,
parseA2MLFile,
parseInlines,
} from "./src/A2ML_Parser.res.mjs";
export {
renderA2ML,
renderInline as renderInlineElement,
renderInlines,
renderDirective,
renderAttestation,
} from "./src/A2ML_Renderer.res.mjs";
export type {
trustLevel,
inline,
directive,
attestation,
block,
document,
manifest,
parseError,
} from "./src/A2ML_Types.res.mjs";