diff options
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/schema.d.ts | 3 | ||||
-rw-r--r-- | src/api/schema.js | 4 | ||||
-rw-r--r-- | src/api/schema.peechy | 1 | ||||
-rw-r--r-- | src/api/schema.zig | 3 |
4 files changed, 11 insertions, 0 deletions
diff --git a/src/api/schema.d.ts b/src/api/schema.d.ts index 1bc604beb..f2f6d5b8f 100644 --- a/src/api/schema.d.ts +++ b/src/api/schema.d.ts @@ -23,6 +23,7 @@ export const enum Loader { json = 7, toml = 8, wasm = 9, + napi = 10, } export const LoaderKeys: { 1: "jsx"; @@ -43,6 +44,8 @@ export const LoaderKeys: { toml: "toml"; 9: "wasm"; wasm: "wasm"; + 10: "napi"; + napi: "napi"; }; export const enum FrameworkEntryPointType { client = 1, diff --git a/src/api/schema.js b/src/api/schema.js index 2117e8c6d..1db65f2ca 100644 --- a/src/api/schema.js +++ b/src/api/schema.js @@ -8,6 +8,7 @@ const Loader = { 7: 7, 8: 8, 9: 9, + 10: 10, jsx: 1, js: 2, ts: 3, @@ -17,6 +18,7 @@ const Loader = { json: 7, toml: 8, wasm: 9, + napi: 10, }; const LoaderKeys = { 1: "jsx", @@ -28,6 +30,7 @@ const LoaderKeys = { 7: "json", 8: "toml", 9: "wasm", + 10: "napi", jsx: "jsx", js: "js", ts: "ts", @@ -37,6 +40,7 @@ const LoaderKeys = { json: "json", toml: "toml", wasm: "wasm", + napi: "napi", }; const FrameworkEntryPointType = { 1: 1, diff --git a/src/api/schema.peechy b/src/api/schema.peechy index 9dce08756..f9188987a 100644 --- a/src/api/schema.peechy +++ b/src/api/schema.peechy @@ -10,6 +10,7 @@ smol Loader { json = 7; toml = 8; wasm = 9; + napi = 10; } smol FrameworkEntryPointType { diff --git a/src/api/schema.zig b/src/api/schema.zig index bbec8a98c..f6837c58d 100644 --- a/src/api/schema.zig +++ b/src/api/schema.zig @@ -359,6 +359,9 @@ pub const Api = struct { /// wasm wasm, + /// napi + napi, + _, pub fn jsonStringify(self: *const @This(), opts: anytype, o: anytype) !void { |