veryfront 0.1.514 → 0.1.516
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 +0 -1
- package/esm/cli/commands/build/command.js +2 -2
- package/esm/cli/shared/{ensure-content-transformer.d.ts → ensure-content-processor.d.ts} +3 -3
- package/esm/cli/shared/ensure-content-processor.d.ts.map +1 -0
- package/esm/cli/shared/{ensure-content-transformer.js → ensure-content-processor.js} +5 -5
- package/esm/cli/shared/server-startup.js +4 -4
- package/esm/deno.d.ts +0 -5
- package/esm/deno.js +4 -9
- package/esm/extensions/ext-transform-mdx/src/compiler/markdown-compile.d.ts +2 -2
- package/esm/extensions/ext-transform-mdx/src/compiler/markdown-compile.d.ts.map +1 -1
- package/esm/extensions/ext-transform-mdx/src/compiler/mdx-compile.d.ts +2 -2
- package/esm/extensions/ext-transform-mdx/src/compiler/mdx-compile.d.ts.map +1 -1
- package/esm/extensions/ext-transform-mdx/src/index.d.ts +10 -10
- package/esm/extensions/ext-transform-mdx/src/index.d.ts.map +1 -1
- package/esm/extensions/ext-transform-mdx/src/index.js +11 -11
- package/esm/src/agent/index.d.ts +2 -1
- package/esm/src/agent/index.d.ts.map +1 -1
- package/esm/src/agent/index.js +1 -0
- package/esm/src/agent/runtime/constants.d.ts.map +1 -1
- package/esm/src/agent/runtime/constants.js +5 -1
- package/esm/src/agent/runtime/model-resolution.d.ts.map +1 -1
- package/esm/src/agent/runtime/model-resolution.js +17 -3
- package/esm/src/agent/runtime-agent-markdown-adapter.d.ts +6 -0
- package/esm/src/agent/runtime-agent-markdown-adapter.d.ts.map +1 -0
- package/esm/src/agent/runtime-agent-markdown-adapter.js +20 -0
- package/esm/src/agent/types.d.ts +22 -10
- package/esm/src/agent/types.d.ts.map +1 -1
- package/esm/src/agent/veryfront-cloud-agent-service.d.ts.map +1 -1
- package/esm/src/agent/veryfront-cloud-agent-service.js +19 -8
- package/esm/src/channels/control-plane.d.ts +30 -54
- package/esm/src/channels/control-plane.d.ts.map +1 -1
- package/esm/src/channels/control-plane.js +13 -15
- package/esm/src/discovery/discovery-engine.d.ts.map +1 -1
- package/esm/src/discovery/discovery-engine.js +2 -0
- package/esm/src/discovery/file-discovery.d.ts +6 -1
- package/esm/src/discovery/file-discovery.d.ts.map +1 -1
- package/esm/src/discovery/file-discovery.js +25 -5
- package/esm/src/discovery/handlers/runtime-agent-markdown-handler.d.ts +3 -0
- package/esm/src/discovery/handlers/runtime-agent-markdown-handler.d.ts.map +1 -0
- package/esm/src/discovery/handlers/runtime-agent-markdown-handler.js +51 -0
- package/esm/src/extensions/builtin-extensions.js +1 -1
- package/esm/src/extensions/recommendations.js +1 -1
- package/esm/src/extensions/transform/{content-transformer.d.ts → content-processor.d.ts} +21 -21
- package/esm/src/extensions/transform/content-processor.d.ts.map +1 -0
- package/esm/src/extensions/transform/{content-transformer.js → content-processor.js} +5 -5
- package/esm/src/extensions/transform/index.d.ts +3 -3
- package/esm/src/extensions/transform/index.d.ts.map +1 -1
- package/esm/src/extensions/transform/index.js +1 -1
- package/esm/src/oauth/handlers/init-handler.d.ts.map +1 -1
- package/esm/src/oauth/handlers/init-handler.js +9 -4
- package/esm/src/transforms/md/compiler/md-compiler.d.ts +2 -2
- package/esm/src/transforms/md/compiler/md-compiler.d.ts.map +1 -1
- package/esm/src/transforms/md/compiler/md-compiler.js +2 -2
- package/esm/src/transforms/mdx/compiler/index.d.ts +3 -3
- package/esm/src/transforms/mdx/compiler/index.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts +2 -2
- package/esm/src/transforms/mdx/compiler/mdx-compiler.d.ts.map +1 -1
- package/esm/src/transforms/mdx/compiler/mdx-compiler.js +2 -2
- package/esm/src/transforms/plugins/plugin-loader.d.ts +2 -2
- package/esm/src/transforms/plugins/plugin-loader.js +6 -6
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +4 -4
- package/src/cli/commands/build/command.ts +2 -2
- package/src/cli/shared/{ensure-content-transformer.ts → ensure-content-processor.ts} +6 -6
- package/src/cli/shared/server-startup.ts +4 -4
- package/src/deno.js +4 -9
- package/src/deps/esm.sh/@types/react-dom@19.2.3/client.d.ts +1 -1
- package/src/deps/esm.sh/@types/{react@19.2.14 → react@19.2.3}/global.d.ts +0 -1
- package/src/deps/esm.sh/@types/{react@19.2.14 → react@19.2.3}/index.d.ts +24 -93
- package/src/deps/esm.sh/react-dom@19.2.4/client.d.ts +1 -1
- package/src/extensions/ext-transform-mdx/src/compiler/markdown-compile.ts +5 -2
- package/src/extensions/ext-transform-mdx/src/compiler/mdx-compile.ts +5 -2
- package/src/extensions/ext-transform-mdx/src/index.ts +15 -15
- package/src/src/agent/index.ts +8 -2
- package/src/src/agent/runtime/constants.ts +6 -1
- package/src/src/agent/runtime/model-resolution.ts +17 -3
- package/src/src/agent/runtime-agent-markdown-adapter.ts +31 -0
- package/src/src/agent/types.ts +23 -10
- package/src/src/agent/veryfront-cloud-agent-service.ts +23 -10
- package/src/src/channels/control-plane.ts +18 -20
- package/src/src/discovery/discovery-engine.ts +2 -0
- package/src/src/discovery/file-discovery.ts +40 -5
- package/src/src/discovery/handlers/runtime-agent-markdown-handler.ts +78 -0
- package/src/src/extensions/builtin-extensions.ts +1 -1
- package/src/src/extensions/recommendations.ts +1 -1
- package/src/src/extensions/transform/{content-transformer.ts → content-processor.ts} +20 -20
- package/src/src/extensions/transform/index.ts +5 -5
- package/src/src/oauth/handlers/init-handler.ts +10 -5
- package/src/src/transforms/md/compiler/md-compiler.ts +6 -6
- package/src/src/transforms/mdx/compiler/index.ts +3 -3
- package/src/src/transforms/mdx/compiler/mdx-compiler.ts +5 -5
- package/src/src/transforms/plugins/plugin-loader.ts +7 -7
- package/src/src/utils/version-constant.ts +1 -1
- package/esm/cli/shared/ensure-content-transformer.d.ts.map +0 -1
- package/esm/src/extensions/transform/content-transformer.d.ts.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Contract interface for content
|
|
2
|
+
* Contract interface for content processing pipelines.
|
|
3
3
|
*
|
|
4
4
|
* Default implementation: `@veryfront/ext-transform-mdx`
|
|
5
5
|
*
|
|
6
|
-
* Implementations
|
|
7
|
-
* modules. Core's `src/transforms/md/compiler` and
|
|
6
|
+
* Implementations process MDX / Markdown source into renderable JavaScript
|
|
7
|
+
* modules plus extracted metadata. Core's `src/transforms/md/compiler` and
|
|
8
8
|
* `src/transforms/mdx/compiler` delegate to the registered implementation;
|
|
9
9
|
* when none is registered, the compile paths throw an actionable install
|
|
10
10
|
* message pointing at `@veryfront/ext-transform-mdx`.
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
* The two compile methods have the same option shape on purpose so a single
|
|
13
13
|
* dispatcher (see `src/transforms/mdx/compiler/index.ts::compileContent`)
|
|
14
14
|
* can route on file extension. Options match the long-standing
|
|
15
|
-
* `compileMDXRuntime` / `compileMarkdownRuntime` signatures
|
|
15
|
+
* `compileMDXRuntime` / `compileMarkdownRuntime` signatures. Option order
|
|
16
16
|
* and defaults are preserved so the extension boundary is a pure refactor,
|
|
17
17
|
* not a behavior change.
|
|
18
18
|
*
|
|
19
|
-
* @module extensions/transform/content-
|
|
19
|
+
* @module extensions/transform/content-processor
|
|
20
20
|
*/
|
|
21
|
-
/** Compilation mode
|
|
21
|
+
/** Compilation mode. Dev surfaces extra diagnostics. */
|
|
22
22
|
export type CompilationMode = "development" | "production";
|
|
23
|
-
/** Where the output is destined
|
|
23
|
+
/** Where the output is destined: server-side RSC or browser bundle. */
|
|
24
24
|
export type CompilationTarget = "browser" | "server";
|
|
25
|
-
/**
|
|
26
|
-
export interface
|
|
25
|
+
/** Processing result returned by the content pipeline. */
|
|
26
|
+
export interface ContentProcessingResult {
|
|
27
27
|
/** Compiled ESM source containing the default MDX/MD component export. */
|
|
28
28
|
compiledCode: string;
|
|
29
29
|
/** Front-matter extracted from the source document. */
|
|
@@ -41,9 +41,9 @@ export interface ContentRuntimeBundle {
|
|
|
41
41
|
/** Raw HTML (markdown preview path only). */
|
|
42
42
|
rawHtml?: string;
|
|
43
43
|
}
|
|
44
|
-
/** Options for {@link
|
|
44
|
+
/** Options for {@link ContentProcessor.compileMdx} and {@link ContentProcessor.compileMarkdown}. */
|
|
45
45
|
export interface ContentCompileOptions {
|
|
46
|
-
/** Compilation mode
|
|
46
|
+
/** Compilation mode. Defaults to "production" when omitted. */
|
|
47
47
|
mode?: CompilationMode;
|
|
48
48
|
/** Absolute project root (used for resolving relative import rewrites). */
|
|
49
49
|
projectDir: string;
|
|
@@ -53,7 +53,7 @@ export interface ContentCompileOptions {
|
|
|
53
53
|
frontmatter?: Record<string, unknown>;
|
|
54
54
|
/** Source file path hint (used in error messages + import resolution). */
|
|
55
55
|
filePath?: string;
|
|
56
|
-
/** Compile target
|
|
56
|
+
/** Compile target. Defaults to "server". */
|
|
57
57
|
target?: CompilationTarget;
|
|
58
58
|
/** Base URL used when rewriting bare-specifier imports. */
|
|
59
59
|
baseUrl?: string;
|
|
@@ -63,29 +63,29 @@ export interface ContentCompileOptions {
|
|
|
63
63
|
/**
|
|
64
64
|
* Opaque unified-compatible plugin entry. Kept as `unknown[] | unknown` so
|
|
65
65
|
* the contract surface doesn't require consumers to depend on the `unified`
|
|
66
|
-
* package directly
|
|
66
|
+
* package directly. Callers cast to the plugin-list shape they need.
|
|
67
67
|
*/
|
|
68
68
|
export type ContentPlugin = unknown | [unknown, ...unknown[]];
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* ContentProcessor contract for MDX/Markdown processing.
|
|
71
71
|
*
|
|
72
72
|
* Implementations own the entire pipeline (parser, remark/rehype plugins,
|
|
73
73
|
* MDX compile step, sanitization, HTML wrapping). Core only dispatches by
|
|
74
|
-
* file extension and post-processes the returned
|
|
74
|
+
* file extension and post-processes the returned result.
|
|
75
75
|
*
|
|
76
76
|
* `getRemarkPlugins()` / `getRehypePlugins()` are exposed so build-time MDX
|
|
77
77
|
* compilers (which run their own @mdx-js/mdx invocations) can borrow the
|
|
78
78
|
* canonical plugin list without duplicating it. Runtime compile paths
|
|
79
79
|
* should prefer `compileMdx` / `compileMarkdown`.
|
|
80
80
|
*/
|
|
81
|
-
export interface
|
|
82
|
-
/**
|
|
83
|
-
compileMdx(options: ContentCompileOptions): Promise<
|
|
84
|
-
/**
|
|
85
|
-
compileMarkdown(options: ContentCompileOptions): Promise<
|
|
81
|
+
export interface ContentProcessor {
|
|
82
|
+
/** Process MDX source into compiled code and extracted metadata. */
|
|
83
|
+
compileMdx(options: ContentCompileOptions): Promise<ContentProcessingResult>;
|
|
84
|
+
/** Process plain Markdown into compiled code and extracted metadata. */
|
|
85
|
+
compileMarkdown(options: ContentCompileOptions): Promise<ContentProcessingResult>;
|
|
86
86
|
/** Return the canonical remark plugin list. */
|
|
87
87
|
getRemarkPlugins(): ContentPlugin[];
|
|
88
88
|
/** Return the canonical rehype plugin list. */
|
|
89
89
|
getRehypePlugins(): ContentPlugin[];
|
|
90
90
|
}
|
|
91
|
-
//# sourceMappingURL=content-
|
|
91
|
+
//# sourceMappingURL=content-processor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-processor.d.ts","sourceRoot":"","sources":["../../../../src/src/extensions/transform/content-processor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,wDAAwD;AACxD,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,YAAY,CAAC;AAE3D,uEAAuE;AACvE,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAErD,0DAA0D;AAC1D,MAAM,WAAW,uBAAuB;IACtC,0EAA0E;IAC1E,YAAY,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,mEAAmE;IACnE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACzD,kEAAkE;IAClE,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oGAAoG;AACpG,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,2EAA2E;IAC3E,UAAU,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,UAAU,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC7E,wEAAwE;IACxE,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAClF,+CAA+C;IAC/C,gBAAgB,IAAI,aAAa,EAAE,CAAC;IACpC,+CAA+C;IAC/C,gBAAgB,IAAI,aAAa,EAAE,CAAC;CACrC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Contract interface for content
|
|
2
|
+
* Contract interface for content processing pipelines.
|
|
3
3
|
*
|
|
4
4
|
* Default implementation: `@veryfront/ext-transform-mdx`
|
|
5
5
|
*
|
|
6
|
-
* Implementations
|
|
7
|
-
* modules. Core's `src/transforms/md/compiler` and
|
|
6
|
+
* Implementations process MDX / Markdown source into renderable JavaScript
|
|
7
|
+
* modules plus extracted metadata. Core's `src/transforms/md/compiler` and
|
|
8
8
|
* `src/transforms/mdx/compiler` delegate to the registered implementation;
|
|
9
9
|
* when none is registered, the compile paths throw an actionable install
|
|
10
10
|
* message pointing at `@veryfront/ext-transform-mdx`.
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
* The two compile methods have the same option shape on purpose so a single
|
|
13
13
|
* dispatcher (see `src/transforms/mdx/compiler/index.ts::compileContent`)
|
|
14
14
|
* can route on file extension. Options match the long-standing
|
|
15
|
-
* `compileMDXRuntime` / `compileMarkdownRuntime` signatures
|
|
15
|
+
* `compileMDXRuntime` / `compileMarkdownRuntime` signatures. Option order
|
|
16
16
|
* and defaults are preserved so the extension boundary is a pure refactor,
|
|
17
17
|
* not a behavior change.
|
|
18
18
|
*
|
|
19
|
-
* @module extensions/transform/content-
|
|
19
|
+
* @module extensions/transform/content-processor
|
|
20
20
|
*/
|
|
21
21
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Content category barrel
|
|
2
|
+
* Content category barrel for the MDX/Markdown content processor contract.
|
|
3
3
|
*
|
|
4
4
|
* @module extensions/transform
|
|
5
5
|
*/
|
|
6
6
|
import "../../../_dnt.polyfills.js";
|
|
7
|
-
export type { CompilationMode, CompilationTarget, ContentPlugin } from "./content-
|
|
8
|
-
export type { ContentCompileOptions,
|
|
7
|
+
export type { CompilationMode, CompilationTarget, ContentPlugin } from "./content-processor.js";
|
|
8
|
+
export type { ContentCompileOptions, ContentProcessingResult, ContentProcessor, } from "./content-processor.js";
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/extensions/transform/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,4BAA4B,CAAC;AAEpC,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/src/extensions/transform/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,4BAA4B,CAAC;AAEpC,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGhG,YAAY,EACV,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init-handler.d.ts","sourceRoot":"","sources":["../../../../src/src/oauth/handlers/init-handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"init-handler.d.ts","sourceRoot":"","sources":["../../../../src/src/oauth/handlers/init-handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAgB,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAgE3F,0EAA0E;AAC1E,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,MAAM,GAAG,IAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;AAEnF,MAAM,WAAW,uBAAuB;IACtC,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,uBAAuB,CAAC;IAEtC,gFAAgF;IAChF,GAAG,CAAC,EAAE,iBAAiB,CAAC;IAExB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE/D;;;;;;OAMG;IACH,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,uBAAuB,GAC/B,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CA6CrC;AAED,MAAM,WAAW,yBAAyB;IACxC,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,kFAAkF;IAClF,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE/D,mFAAmF;IACnF,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,yBAAyB,GACjC,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CA+BrC;AAED,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kFAAkF;IAClF,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/D,mFAAmF;IACnF,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,kBAAkB,EAC1B,OAAO,EAAE,6BAA6B,GACrC,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,CAAC,CAmBrC"}
|
|
@@ -31,10 +31,15 @@ function resolveAppUrl(baseUrl, env) {
|
|
|
31
31
|
return baseUrl ?? env.appUrl ?? DEFAULT_APP_URL;
|
|
32
32
|
}
|
|
33
33
|
function createNotConfiguredResponse(config) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
// SEC-009: Do NOT leak internal env var names in the HTTP response body.
|
|
35
|
+
// Operators still need the diagnostic, so log the missing env var names
|
|
36
|
+
// server-side via the existing logger.
|
|
37
|
+
logger.error("OAuth provider not configured", {
|
|
38
|
+
serviceId: config.serviceId,
|
|
39
|
+
displayName: config.displayName,
|
|
40
|
+
missingVars: [config.clientIdEnvVar, config.clientSecretEnvVar],
|
|
41
|
+
});
|
|
42
|
+
return Response.json({ error: `${config.displayName} OAuth not configured` }, { status: 503 });
|
|
38
43
|
}
|
|
39
44
|
function createInitErrorResponse(error) {
|
|
40
45
|
return Response.json({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CompilationMode, CompilationTarget,
|
|
2
|
-
export declare function compileMarkdownRuntime(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<
|
|
1
|
+
import type { CompilationMode, CompilationTarget, ContentProcessingResult } from "../../../extensions/transform/index.js";
|
|
2
|
+
export declare function compileMarkdownRuntime(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<ContentProcessingResult>;
|
|
3
3
|
//# sourceMappingURL=md-compiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"md-compiler.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/md/compiler/md-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"md-compiler.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/md/compiler/md-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EAExB,MAAM,wCAAwC,CAAC;AAMhD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,eAAe,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,GAAE,iBAA4B,EACpC,OAAO,CAAC,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,OAAO,GACpB,OAAO,CAAC,uBAAuB,CAAC,CAsClC"}
|
|
@@ -6,8 +6,8 @@ const logger = rendererLogger.component("md-compiler");
|
|
|
6
6
|
export function compileMarkdownRuntime(mode, projectDir, content, frontmatter, filePath, target = "server", baseUrl, studioEmbed) {
|
|
7
7
|
return withSpan("transforms.compileMarkdownRuntime", async () => {
|
|
8
8
|
try {
|
|
9
|
-
const
|
|
10
|
-
return await
|
|
9
|
+
const processor = resolveContract("ContentProcessor");
|
|
10
|
+
return await processor.compileMarkdown({
|
|
11
11
|
mode,
|
|
12
12
|
projectDir,
|
|
13
13
|
content,
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
export { compileMDXRuntime } from "./mdx-compiler.js";
|
|
7
7
|
export { extractFrontmatter } from "./frontmatter-extractor.js";
|
|
8
8
|
export { rewriteBodyImports, rewriteCompiledImports } from "./import-rewriter.js";
|
|
9
|
-
export type { CompilationMode, CompilationTarget,
|
|
9
|
+
export type { CompilationMode, CompilationTarget, ContentProcessingResult, } from "../../../extensions/transform/index.js";
|
|
10
10
|
export type { FrontmatterExtractionResult } from "./frontmatter-extractor.js";
|
|
11
11
|
export type { ImportRewriterConfig } from "./import-rewriter.js";
|
|
12
|
-
import type { CompilationMode, CompilationTarget,
|
|
13
|
-
export declare function compileContent(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<
|
|
12
|
+
import type { CompilationMode, CompilationTarget, ContentProcessingResult } from "../../../extensions/transform/index.js";
|
|
13
|
+
export declare function compileContent(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<ContentProcessingResult>;
|
|
14
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/mdx/compiler/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAClF,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/mdx/compiler/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAClF,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,wCAAwC,CAAC;AAChD,YAAY,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAC9E,YAAY,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAIjE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,wCAAwC,CAAC;AAMhD,wBAAgB,cAAc,CAC5B,IAAI,EAAE,eAAe,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,GAAE,iBAA4B,EACpC,OAAO,CAAC,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,OAAO,GACpB,OAAO,CAAC,uBAAuB,CAAC,CAwBlC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CompilationMode, CompilationTarget,
|
|
2
|
-
export declare function compileMDXRuntime(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<
|
|
1
|
+
import type { CompilationMode, CompilationTarget, ContentProcessingResult } from "../../../extensions/transform/index.js";
|
|
2
|
+
export declare function compileMDXRuntime(mode: CompilationMode, projectDir: string, content: string, frontmatter?: Record<string, unknown>, filePath?: string, target?: CompilationTarget, baseUrl?: string, studioEmbed?: boolean): Promise<ContentProcessingResult>;
|
|
3
3
|
//# sourceMappingURL=mdx-compiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdx-compiler.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/mdx/compiler/mdx-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"mdx-compiler.d.ts","sourceRoot":"","sources":["../../../../../src/src/transforms/mdx/compiler/mdx-compiler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EAExB,MAAM,wCAAwC,CAAC;AAMhD,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,eAAe,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,GAAE,iBAA4B,EACpC,OAAO,CAAC,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,OAAO,GACpB,OAAO,CAAC,uBAAuB,CAAC,CAuClC"}
|
|
@@ -6,8 +6,8 @@ const logger = rendererLogger.component("mdx-compiler");
|
|
|
6
6
|
export function compileMDXRuntime(mode, projectDir, content, frontmatter, filePath, target = "server", baseUrl, studioEmbed) {
|
|
7
7
|
return withSpan("transforms.compileMDXRuntime", async () => {
|
|
8
8
|
try {
|
|
9
|
-
const
|
|
10
|
-
return await
|
|
9
|
+
const processor = resolveContract("ContentProcessor");
|
|
10
|
+
return await processor.compileMdx({
|
|
11
11
|
mode,
|
|
12
12
|
projectDir,
|
|
13
13
|
content,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shim that routes MDX plugin lookups through the `
|
|
2
|
+
* Shim that routes MDX plugin lookups through the `ContentProcessor`
|
|
3
3
|
* extension contract (default implementation: `@veryfront/ext-transform-mdx`).
|
|
4
4
|
*
|
|
5
5
|
* Build-time MDX compilers (`src/build/compiler/mdx-compiler/mdx-processor.ts`,
|
|
6
6
|
* `src/build/renderer/services/mdx-bundler.ts`, `layout-applicator.ts`)
|
|
7
7
|
* historically imported `getRemarkPlugins` / `getRehypePlugins` directly.
|
|
8
8
|
* Now those callers get the canonical plugin list from whichever
|
|
9
|
-
* `
|
|
9
|
+
* `ContentProcessor` implementation is registered.
|
|
10
10
|
*
|
|
11
11
|
* When no implementation is registered, the lookup throws with an
|
|
12
12
|
* actionable install message pointing at `@veryfront/ext-transform-mdx`.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Shim that routes MDX plugin lookups through the `
|
|
2
|
+
* Shim that routes MDX plugin lookups through the `ContentProcessor`
|
|
3
3
|
* extension contract (default implementation: `@veryfront/ext-transform-mdx`).
|
|
4
4
|
*
|
|
5
5
|
* Build-time MDX compilers (`src/build/compiler/mdx-compiler/mdx-processor.ts`,
|
|
6
6
|
* `src/build/renderer/services/mdx-bundler.ts`, `layout-applicator.ts`)
|
|
7
7
|
* historically imported `getRemarkPlugins` / `getRehypePlugins` directly.
|
|
8
8
|
* Now those callers get the canonical plugin list from whichever
|
|
9
|
-
* `
|
|
9
|
+
* `ContentProcessor` implementation is registered.
|
|
10
10
|
*
|
|
11
11
|
* When no implementation is registered, the lookup throws with an
|
|
12
12
|
* actionable install message pointing at `@veryfront/ext-transform-mdx`.
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { resolve as resolveContract } from "../../extensions/contracts.js";
|
|
17
17
|
export function getRemarkPlugins() {
|
|
18
|
-
const
|
|
19
|
-
return
|
|
18
|
+
const processor = resolveContract("ContentProcessor");
|
|
19
|
+
return processor.getRemarkPlugins();
|
|
20
20
|
}
|
|
21
21
|
export function getRehypePlugins() {
|
|
22
|
-
const
|
|
23
|
-
return
|
|
22
|
+
const processor = resolveContract("ContentProcessor");
|
|
23
|
+
return processor.getRehypePlugins();
|
|
24
24
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.
|
|
1
|
+
export declare const VERSION = "0.1.516";
|
|
2
2
|
//# sourceMappingURL=version-constant.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.516",
|
|
4
4
|
"description": "The simplest way to build AI-powered apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -291,10 +291,10 @@
|
|
|
291
291
|
"@kreuzberg/wasm": "4.5.2",
|
|
292
292
|
"@mdx-js/mdx": "3.1.1",
|
|
293
293
|
"@opentelemetry/api": "1.9.1",
|
|
294
|
-
"@opentelemetry/auto-instrumentations-node": "0.
|
|
295
|
-
"@opentelemetry/exporter-trace-otlp-http": "0.
|
|
294
|
+
"@opentelemetry/auto-instrumentations-node": "0.76.0",
|
|
295
|
+
"@opentelemetry/exporter-trace-otlp-http": "0.218.0",
|
|
296
296
|
"@opentelemetry/resources": "2.7.1",
|
|
297
|
-
"@opentelemetry/sdk-node": "0.
|
|
297
|
+
"@opentelemetry/sdk-node": "0.218.0",
|
|
298
298
|
"@opentelemetry/sdk-trace-base": "2.7.1",
|
|
299
299
|
"@types/hast": "3.0.3",
|
|
300
300
|
"@types/mdast": "4.0.3",
|
|
@@ -8,7 +8,7 @@ import { handleBuildError } from "./error-handler.js";
|
|
|
8
8
|
import { displayBuildSuccess } from "./stats-display.js";
|
|
9
9
|
import type { BuildOptions } from "./types.js";
|
|
10
10
|
import { isJsonMode, streamJsonLine } from "../../shared/json-output.js";
|
|
11
|
-
import {
|
|
11
|
+
import { ensureBuiltinContentProcessor } from "../../shared/ensure-content-processor.js";
|
|
12
12
|
|
|
13
13
|
export function buildCommand(options: BuildOptions): Promise<void> {
|
|
14
14
|
return withSpan(
|
|
@@ -27,7 +27,7 @@ export function buildCommand(options: BuildOptions): Promise<void> {
|
|
|
27
27
|
|
|
28
28
|
const adapter = await runtime.get();
|
|
29
29
|
await getConfig(options.projectDir, adapter);
|
|
30
|
-
|
|
30
|
+
ensureBuiltinContentProcessor();
|
|
31
31
|
|
|
32
32
|
if (isJsonMode()) {
|
|
33
33
|
streamJsonLine({ type: "step", name: "config", status: "completed" });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { tryResolve } from "../../src/extensions/index.js";
|
|
2
2
|
import { register } from "../../src/extensions/contracts.js";
|
|
3
|
-
import type {
|
|
4
|
-
import {
|
|
3
|
+
import type { ContentProcessor } from "../../src/extensions/transform/index.js";
|
|
4
|
+
import { MdxContentProcessor } from "../../extensions/ext-transform-mdx/src/index.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* The CLI ships ext-mdx baked in so the compiled binary can render MDX/Markdown
|
|
8
8
|
* pages out of the box. Library consumers (programmatic `startProductionServer`)
|
|
9
9
|
* still opt in via `veryfront.config.ts` extensions. Bootstrap's
|
|
10
|
-
* `setupAll
|
|
10
|
+
* `setupAll` to `teardownAll` to `reset()` clears the contract registry, so this
|
|
11
11
|
* must run *after* the server-start (or `getConfig`) call returns. We skip
|
|
12
12
|
* registration when a user-provided extension already supplied the contract.
|
|
13
13
|
*/
|
|
14
|
-
export function
|
|
15
|
-
if (tryResolve<
|
|
16
|
-
register<
|
|
14
|
+
export function ensureBuiltinContentProcessor(): void {
|
|
15
|
+
if (tryResolve<ContentProcessor>("ContentProcessor")) return;
|
|
16
|
+
register<ContentProcessor>("ContentProcessor", new MdxContentProcessor());
|
|
17
17
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
type StartProductionServerOptions,
|
|
8
8
|
} from "../../src/server/index.js";
|
|
9
9
|
import type { RuntimeAdapter } from "../../src/platform/index.js";
|
|
10
|
-
import {
|
|
10
|
+
import { ensureBuiltinContentProcessor } from "./ensure-content-processor.js";
|
|
11
11
|
|
|
12
12
|
export interface StartCliProxyModeServerOptions {
|
|
13
13
|
port: number;
|
|
@@ -53,7 +53,7 @@ export async function startCliProxyModeServer(
|
|
|
53
53
|
defaultProjectId: options.defaultProjectId,
|
|
54
54
|
discoveryConfig: buildDiscoveryConfig(options),
|
|
55
55
|
});
|
|
56
|
-
|
|
56
|
+
ensureBuiltinContentProcessor();
|
|
57
57
|
return result;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -76,7 +76,7 @@ export async function startCliDevServer(
|
|
|
76
76
|
signal: options.signal,
|
|
77
77
|
};
|
|
78
78
|
const result = await startDevServer(devOptions);
|
|
79
|
-
|
|
79
|
+
ensureBuiltinContentProcessor();
|
|
80
80
|
return result;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -114,6 +114,6 @@ export async function startCliProductionServer(
|
|
|
114
114
|
// `localProjects` entry is required for the compiled binary to work.
|
|
115
115
|
};
|
|
116
116
|
const result = await startProductionServer(serverOptions);
|
|
117
|
-
|
|
117
|
+
ensureBuiltinContentProcessor();
|
|
118
118
|
return result;
|
|
119
119
|
}
|
package/src/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.516",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"workspace": [
|
|
@@ -278,10 +278,10 @@ export default {
|
|
|
278
278
|
"react/jsx-runtime": "https://esm.sh/react@19.2.4/jsx-runtime?external=react&target=es2022&deps=csstype@3.2.3",
|
|
279
279
|
"react/jsx-dev-runtime": "https://esm.sh/react@19.2.4/jsx-dev-runtime?external=react&target=es2022&deps=csstype@3.2.3",
|
|
280
280
|
"@opentelemetry/api": "npm:@opentelemetry/api@1.9.1",
|
|
281
|
-
"@opentelemetry/auto-instrumentations-node": "npm:@opentelemetry/auto-instrumentations-node@0.
|
|
282
|
-
"@opentelemetry/exporter-trace-otlp-http": "npm:@opentelemetry/exporter-trace-otlp-http@0.
|
|
281
|
+
"@opentelemetry/auto-instrumentations-node": "npm:@opentelemetry/auto-instrumentations-node@0.76.0",
|
|
282
|
+
"@opentelemetry/exporter-trace-otlp-http": "npm:@opentelemetry/exporter-trace-otlp-http@0.218.0",
|
|
283
283
|
"@opentelemetry/resources": "npm:@opentelemetry/resources@2.7.1",
|
|
284
|
-
"@opentelemetry/sdk-node": "npm:@opentelemetry/sdk-node@0.
|
|
284
|
+
"@opentelemetry/sdk-node": "npm:@opentelemetry/sdk-node@0.218.0",
|
|
285
285
|
"@opentelemetry/sdk-trace-base": "npm:@opentelemetry/sdk-trace-base@2.7.1",
|
|
286
286
|
"@mdx-js/mdx": "npm:@mdx-js/mdx@3.1.1",
|
|
287
287
|
"gray-matter": "npm:gray-matter@4.0.3",
|
|
@@ -373,11 +373,6 @@ export default {
|
|
|
373
373
|
"test:e2e:rsc-browser": "deno task generate && VF_DISABLE_LRU_INTERVAL=1 SSR_TRANSFORM_PER_PROJECT_LIMIT=0 REVALIDATION_PER_PROJECT_LIMIT=0 NODE_ENV=production LOG_FORMAT=text deno test --no-check --allow-all tests/e2e/regressions/rsc-proxy-hydration.test.ts --unstable-worker-options --unstable-net",
|
|
374
374
|
"test:e2e:binary": "deno task generate && deno test --allow-all tests/integration/compiled-binary-e2e.test.ts",
|
|
375
375
|
"test:e2e:binary:fresh": "deno task generate && VERYFRONT_BINARY_FRESH=1 deno test --allow-all tests/integration/compiled-binary-e2e.test.ts",
|
|
376
|
-
"bench:browser": "deno run -A benchmarks/browser/run.ts",
|
|
377
|
-
"bench:server": "deno run -A benchmarks/server/run.ts",
|
|
378
|
-
"bench:compare:local": "deno run -A benchmarks/compare/local.ts",
|
|
379
|
-
"perf:bench": "deno run -A benchmarks/perf-bench.ts",
|
|
380
|
-
"perf:loop": "deno run -A benchmarks/perf-loop.ts",
|
|
381
376
|
"check:circular": "deno run -A jsr:@cunarist/deno-circular-deps src/index.ts",
|
|
382
377
|
"cli": "deno run --allow-all cli/main.ts",
|
|
383
378
|
"mcp": "deno run --allow-all cli/main.ts mcp",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
// See https://github.com/facebook/react/blob/main/packages/react-dom/client.js to see how the exports are declared,
|
|
6
6
|
|
|
7
|
-
import React = require("https://esm.sh/@types/react@19.2.
|
|
7
|
+
import React = require("https://esm.sh/@types/react@19.2.3/index.d.ts");
|
|
8
8
|
|
|
9
9
|
export {};
|
|
10
10
|
|
|
@@ -18,7 +18,6 @@ interface KeyboardEvent extends Event {}
|
|
|
18
18
|
interface MouseEvent extends Event {}
|
|
19
19
|
interface TouchEvent extends Event {}
|
|
20
20
|
interface PointerEvent extends Event {}
|
|
21
|
-
interface SubmitEvent extends Event {}
|
|
22
21
|
interface ToggleEvent extends Event {}
|
|
23
22
|
interface TransitionEvent extends Event {}
|
|
24
23
|
interface UIEvent extends Event {}
|