first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
export declare const getDevServer: () => {
bundleLoadedFromServer: boolean;
/** URL but ensures that platform query param is added. */
readonly fullBundleUrl: string;
url: string;
};
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getDevServer/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;IAcrB,0DAA0D;;;CAc7D,CAAC"}

29
node_modules/expo-router/build/getDevServer/index.js generated vendored Normal file
View File

@@ -0,0 +1,29 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDevServer = void 0;
const getDevServer = () => {
// Disable for SSR
if (typeof window === 'undefined') {
return {
bundleLoadedFromServer: true,
fullBundleUrl: '',
url: '',
};
}
return {
// The bundle is always loaded from a server in the browser.
bundleLoadedFromServer: true,
/** URL but ensures that platform query param is added. */
get fullBundleUrl() {
if (document?.currentScript && 'src' in document.currentScript) {
return document.currentScript.src;
}
const bundleUrl = new URL(location.href);
bundleUrl.searchParams.set('platform', 'web');
return bundleUrl.toString();
},
url: location.origin + '/',
};
};
exports.getDevServer = getDevServer;
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/getDevServer/index.ts"],"names":[],"mappings":";;;AAAO,MAAM,YAAY,GAAG,GAAG,EAAE;IAC/B,kBAAkB;IAClB,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO;YACL,sBAAsB,EAAE,IAAI;YAC5B,aAAa,EAAE,EAAE;YACjB,GAAG,EAAE,EAAE;SACR,CAAC;IACJ,CAAC;IAED,OAAO;QACL,4DAA4D;QAC5D,sBAAsB,EAAE,IAAI;QAE5B,0DAA0D;QAC1D,IAAI,aAAa;YACf,IAAI,QAAQ,EAAE,aAAa,IAAI,KAAK,IAAI,QAAQ,CAAC,aAAa,EAAE,CAAC;gBAC/D,OAAO,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC;YACpC,CAAC;YAED,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAEzC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;YAE9C,OAAO,SAAS,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;QACD,GAAG,EAAE,QAAQ,CAAC,MAAM,GAAG,GAAG;KAC3B,CAAC;AACJ,CAAC,CAAC;AA5BW,QAAA,YAAY,gBA4BvB","sourcesContent":["export const getDevServer = () => {\n // Disable for SSR\n if (typeof window === 'undefined') {\n return {\n bundleLoadedFromServer: true,\n fullBundleUrl: '',\n url: '',\n };\n }\n\n return {\n // The bundle is always loaded from a server in the browser.\n bundleLoadedFromServer: true,\n\n /** URL but ensures that platform query param is added. */\n get fullBundleUrl() {\n if (document?.currentScript && 'src' in document.currentScript) {\n return document.currentScript.src;\n }\n\n const bundleUrl = new URL(location.href);\n\n bundleUrl.searchParams.set('platform', 'web');\n\n return bundleUrl.toString();\n },\n url: location.origin + '/',\n };\n};\n"]}

View File

@@ -0,0 +1,2 @@
export declare const getDevServer: any;
//# sourceMappingURL=index.native.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../src/getDevServer/index.native.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,KAAuE,CAAC"}

View File

@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDevServer = void 0;
exports.getDevServer = require('react-native/Libraries/Core/Devtools/getDevServer').default;
//# sourceMappingURL=index.native.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.native.js","sourceRoot":"","sources":["../../src/getDevServer/index.native.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,mDAAmD,CAAC,CAAC,OAAO,CAAC","sourcesContent":["export const getDevServer = require('react-native/Libraries/Core/Devtools/getDevServer').default;\n"]}