aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/schema.d.ts6
-rw-r--r--src/api/schema.js8
-rw-r--r--src/api/schema.peechy2
-rw-r--r--src/api/schema.zig6
4 files changed, 22 insertions, 0 deletions
diff --git a/src/api/schema.d.ts b/src/api/schema.d.ts
index e406fbc52..6148aa10a 100644
--- a/src/api/schema.d.ts
+++ b/src/api/schema.d.ts
@@ -24,6 +24,8 @@ export const enum Loader {
toml = 8,
wasm = 9,
napi = 10,
+ base64 = 11,
+ dataurl = 12,
}
export const LoaderKeys: {
1: "jsx";
@@ -46,6 +48,10 @@ export const LoaderKeys: {
wasm: "wasm";
10: "napi";
napi: "napi";
+ 11: "base64";
+ base64: "base64";
+ 12: "dataurl";
+ dataurl: "dataurl";
};
export const enum FrameworkEntryPointType {
client = 1,
diff --git a/src/api/schema.js b/src/api/schema.js
index 16c2ca119..bc8a26215 100644
--- a/src/api/schema.js
+++ b/src/api/schema.js
@@ -9,6 +9,8 @@ const Loader = {
"8": 8,
"9": 9,
"10": 10,
+ "11": 11,
+ "12": 12,
"jsx": 1,
"js": 2,
"ts": 3,
@@ -19,6 +21,8 @@ const Loader = {
"toml": 8,
"wasm": 9,
"napi": 10,
+ "base64": 11,
+ "dataurl": 12,
};
const LoaderKeys = {
"1": "jsx",
@@ -31,6 +35,8 @@ const LoaderKeys = {
"8": "toml",
"9": "wasm",
"10": "napi",
+ "11": "base64",
+ "12": "dataurl",
"jsx": "jsx",
"js": "js",
"ts": "ts",
@@ -41,6 +47,8 @@ const LoaderKeys = {
"toml": "toml",
"wasm": "wasm",
"napi": "napi",
+ "base64": "base64",
+ "dataurl": "dataurl",
};
const FrameworkEntryPointType = {
"1": 1,
diff --git a/src/api/schema.peechy b/src/api/schema.peechy
index f6e3e5617..bba0e40f9 100644
--- a/src/api/schema.peechy
+++ b/src/api/schema.peechy
@@ -11,6 +11,8 @@ smol Loader {
toml = 8;
wasm = 9;
napi = 10;
+ base64 = 11;
+ dataurl = 12;
}
smol FrameworkEntryPointType {
diff --git a/src/api/schema.zig b/src/api/schema.zig
index acac06114..0c5f4cf70 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -362,6 +362,12 @@ pub const Api = struct {
/// napi
napi,
+ /// base64
+ base64,
+
+ /// dataurl
+ dataurl,
+
_,
pub fn jsonStringify(self: *const @This(), opts: anytype, o: anytype) !void {