@remixhq/core 0.1.42 → 0.1.43
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/dist/api.d.ts +6 -0
- package/dist/api.js +1 -1
- package/dist/{chunk-UN3Q7P5E.js → chunk-OSHNZWYW.js} +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -416,6 +416,7 @@ type AppPreviewQuery = {
|
|
|
416
416
|
environment?: string;
|
|
417
417
|
autostart?: boolean;
|
|
418
418
|
probe?: "metadata" | "full";
|
|
419
|
+
targetKind?: RuntimeTargetKind;
|
|
419
420
|
};
|
|
420
421
|
type AppShareLinkSummary = {
|
|
421
422
|
id: string;
|
|
@@ -431,6 +432,10 @@ type MobileQrPayloads = {
|
|
|
431
432
|
ios?: string | null;
|
|
432
433
|
android?: string | null;
|
|
433
434
|
};
|
|
435
|
+
type MobileMetroBundleUrls = {
|
|
436
|
+
ios?: string | null;
|
|
437
|
+
android?: string | null;
|
|
438
|
+
};
|
|
434
439
|
type AppPreviewResponse = {
|
|
435
440
|
kind: "url";
|
|
436
441
|
appId: string;
|
|
@@ -456,6 +461,7 @@ type AppPreviewResponse = {
|
|
|
456
461
|
qrPayload: string;
|
|
457
462
|
tunnelUrl: string | null;
|
|
458
463
|
platformQrPayloads?: MobileQrPayloads;
|
|
464
|
+
metroBundleUrls?: MobileMetroBundleUrls;
|
|
459
465
|
status: AppPreviewProcessStatus;
|
|
460
466
|
} | {
|
|
461
467
|
kind: "logs";
|
package/dist/api.js
CHANGED
|
@@ -48,6 +48,7 @@ function buildAppPreviewQuery(params) {
|
|
|
48
48
|
if (params?.environment) qs.set("environment", params.environment);
|
|
49
49
|
if (params?.autostart !== void 0) qs.set("autostart", params.autostart ? "true" : "false");
|
|
50
50
|
if (params?.probe) qs.set("probe", params.probe);
|
|
51
|
+
if (params?.targetKind) qs.set("targetKind", params.targetKind);
|
|
51
52
|
return suffix(qs);
|
|
52
53
|
}
|
|
53
54
|
function buildAppListQuery(params) {
|
package/dist/index.js
CHANGED