@absolutejs/absolute 0.20.0-beta.5 → 0.20.0-beta.51
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 +205 -0
- package/dist/angular/browser.js +392 -361
- package/dist/angular/browser.js.map +3 -3
- package/dist/angular/components/core/streamingSlotRegistrar.js +7 -7
- package/dist/angular/components/core/streamingSlotRegistry.js +4 -4
- package/dist/angular/index.js +355 -302
- package/dist/angular/index.js.map +5 -5
- package/dist/angular/server.js +109 -58
- package/dist/angular/server.js.map +5 -5
- package/dist/build.js +2261 -1335
- package/dist/build.js.map +16 -12
- package/dist/cli/config/client.js +12 -12
- package/dist/cli/config/server.js +1136 -1090
- package/dist/cli/index.js +8615 -1975
- package/dist/client/index.js +29 -25
- package/dist/client/index.js.map +2 -2
- package/dist/core/streamingSlotRegistrar.js +15 -13
- package/dist/core/streamingSlotRegistrar.js.map +2 -2
- package/dist/core/streamingSlotRegistry.js +11 -9
- package/dist/core/streamingSlotRegistry.js.map +2 -2
- package/dist/dev/client/hmrClient.ts +35 -3
- package/dist/dev/client/hmrTiming.ts +6 -0
- package/dist/dev/client/syncDevtools.ts +237 -0
- package/dist/dev/serverBootstrap.js +28 -0
- package/dist/image-client/imageClient.js +7 -7
- package/dist/index.js +3400 -2126
- package/dist/index.js.map +30 -23
- package/dist/islands/browser.js +11 -9
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js +39 -35
- package/dist/islands/index.js.map +2 -2
- package/dist/mobile/browser.js +167 -20
- package/dist/mobile/browser.js.map +7 -5
- package/dist/mobile/index.js +8144 -3016
- package/dist/mobile/index.js.map +37 -18
- package/dist/mobile/remoteMacAgentEntry.js +1355 -14
- package/dist/mobile/shellAuth.js +36 -0
- package/dist/mobile/shellBootstrap.js +836 -0
- package/dist/mobile/shellExpoAuth.js +163 -0
- package/dist/mobile/shellExpoDevices.js +77 -0
- package/dist/mobile/shellExpoSync.js +104 -0
- package/dist/mobile/shellSync.js +173 -0
- package/dist/react/browser.js +17 -15
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/browser/index.js +107 -107
- package/dist/react/components/index.js +118 -116
- package/dist/react/components/index.js.map +2 -2
- package/dist/react/hooks/index.js +11 -9
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +92 -49
- package/dist/react/index.js.map +4 -4
- package/dist/react/jsxDevRuntimeCompat.js +11 -9
- package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
- package/dist/react/jsxRuntimeCompat.js +11 -9
- package/dist/react/jsxRuntimeCompat.js.map +2 -2
- package/dist/react/router/browser.js +9 -7
- package/dist/react/router/browser.js.map +2 -2
- package/dist/react/router/index.js +9 -7
- package/dist/react/router/index.js.map +2 -2
- package/dist/react/server.js +51 -10
- package/dist/react/server.js.map +4 -4
- package/dist/src/build/pwa.d.ts +16 -0
- package/dist/src/cli/config/server.d.ts +1 -1
- package/dist/src/cli/instanceStatus.d.ts +1 -0
- package/dist/src/cli/scripts/dev.d.ts +2 -0
- package/dist/src/core/devBuild.d.ts +1 -0
- package/dist/src/core/prepare.d.ts +376 -0
- package/dist/src/dev/clientManager.d.ts +1 -0
- package/dist/src/dev/devCert.d.ts +6 -4
- package/dist/src/dev/serverEntryCopies.d.ts +3 -0
- package/dist/src/mobile/androidEmulatorController.d.ts +8 -1
- package/dist/src/mobile/androidRelease.d.ts +9 -2
- package/dist/src/mobile/androidTestReport.d.ts +14 -0
- package/dist/src/mobile/androidUpgradeConformance.d.ts +47 -0
- package/dist/src/mobile/androidWebView.d.ts +1 -0
- package/dist/src/mobile/browser.d.ts +1 -0
- package/dist/src/mobile/capacitorBundle.d.ts +11 -0
- package/dist/src/mobile/ciWorkflow.d.ts +26 -0
- package/dist/src/mobile/config.d.ts +4 -1
- package/dist/src/mobile/devDeviceAdapter.d.ts +3 -0
- package/dist/src/mobile/deviceCapabilities.d.ts +48 -0
- package/dist/src/mobile/expoBridge.d.ts +91 -0
- package/dist/src/mobile/expoDevController.d.ts +56 -0
- package/dist/src/mobile/expoProject.d.ts +16 -0
- package/dist/src/mobile/index.d.ts +14 -0
- package/dist/src/mobile/iosDeviceAcceptance.d.ts +32 -0
- package/dist/src/mobile/iosPhysicalDeviceTransport.d.ts +16 -0
- package/dist/src/mobile/iosRelease.d.ts +63 -3
- package/dist/src/mobile/iosSimulatorController.d.ts +20 -2
- package/dist/src/mobile/iosTestReport.d.ts +24 -0
- package/dist/src/mobile/mobileBundleInspection.d.ts +55 -0
- package/dist/src/mobile/mobileInspect.d.ts +136 -0
- package/dist/src/mobile/mobilePreview.d.ts +174 -0
- package/dist/src/mobile/mobilePreviewClient.d.ts +1 -0
- package/dist/src/mobile/nativeAuth.d.ts +6 -0
- package/dist/src/mobile/nativeBackgroundSync.d.ts +4 -0
- package/dist/src/mobile/nativeDeviceCapabilities.d.ts +6 -0
- package/dist/src/mobile/nativeRoute.d.ts +13 -0
- package/dist/src/mobile/nativeTestReport.d.ts +91 -0
- package/dist/src/mobile/pageProtocol.d.ts +2 -0
- package/dist/src/mobile/releaseDoctor.d.ts +23 -1
- package/dist/src/mobile/remoteMacProtocol.d.ts +90 -0
- package/dist/src/mobile/remoteMacWire.d.ts +1 -1
- package/dist/src/mobile/shellAuth.d.ts +8 -1
- package/dist/src/mobile/shellBootstrap.d.ts +14 -2
- package/dist/src/mobile/shellExpoAuth.d.ts +12 -0
- package/dist/src/mobile/shellExpoDevices.d.ts +3 -0
- package/dist/src/mobile/shellExpoSync.d.ts +18 -0
- package/dist/src/mobile/shellHttp.d.ts +2 -0
- package/dist/src/mobile/shellPush.d.ts +11 -0
- package/dist/src/mobile/shellSync.d.ts +46 -1
- package/dist/src/mobile/syncRemediation.d.ts +10 -0
- package/dist/src/mobile/syncSchema.d.ts +9 -0
- package/dist/src/mobile/transport.d.ts +7 -0
- package/dist/src/plugins/hmr.d.ts +3 -0
- package/dist/src/plugins/imageOptimizer.d.ts +1 -1
- package/dist/src/react/hooks/useMediaQuery.d.ts +1 -1
- package/dist/src/utils/imageProcessing.d.ts +3 -0
- package/dist/src/utils/loadConfig.d.ts +1 -0
- package/dist/src/utils/logger.d.ts +1 -0
- package/dist/src/utils/startupBanner.d.ts +1 -0
- package/dist/src/utils/userAgentFunctions.d.ts +1 -1
- package/dist/svelte/browser.js +12 -10
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js +86 -43
- package/dist/svelte/index.js.map +4 -4
- package/dist/svelte/server.js +68 -27
- package/dist/svelte/server.js.map +4 -4
- package/dist/types/build.d.ts +53 -3
- package/dist/types/cli.d.ts +1 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/vue/browser.js +14 -12
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/components/Image.js +9 -7
- package/dist/vue/components/Image.js.map +2 -2
- package/dist/vue/components/index.js +11 -9
- package/dist/vue/components/index.js.map +2 -2
- package/dist/vue/index.js +91 -48
- package/dist/vue/index.js.map +4 -4
- package/dist/vue/server.js +53 -12
- package/dist/vue/server.js.map +4 -4
- package/package.json +35 -15
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
2
|
+
import { inspectAbsoluteMobileRelease } from './releaseDoctor';
|
|
3
|
+
import { type MobileBundleInspection } from './mobileBundleInspection';
|
|
4
|
+
export declare const ABSOLUTE_MOBILE_INSPECTION_FORMAT: 1;
|
|
5
|
+
type MobilePackageInspection = {
|
|
6
|
+
declared: string;
|
|
7
|
+
installed?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
export type AbsoluteMobileProjectInspection = {
|
|
11
|
+
bundle: MobileBundleInspection;
|
|
12
|
+
capabilities: {
|
|
13
|
+
current: string[];
|
|
14
|
+
embeddedMatchesCurrent?: boolean;
|
|
15
|
+
issue?: string;
|
|
16
|
+
plugins: string[];
|
|
17
|
+
};
|
|
18
|
+
config: {
|
|
19
|
+
appId: string;
|
|
20
|
+
appName: string;
|
|
21
|
+
bundleDirectory: string;
|
|
22
|
+
deepLinkHosts: string[];
|
|
23
|
+
deepLinkScheme?: string;
|
|
24
|
+
engine: 'capacitor' | 'expo';
|
|
25
|
+
entry: string;
|
|
26
|
+
iosVersion?: string;
|
|
27
|
+
nativeProjectDirectory: string;
|
|
28
|
+
platforms: string[];
|
|
29
|
+
productionOrigin: string;
|
|
30
|
+
};
|
|
31
|
+
format: typeof ABSOLUTE_MOBILE_INSPECTION_FORMAT;
|
|
32
|
+
nativeProjects: Array<{
|
|
33
|
+
initialized: boolean;
|
|
34
|
+
path: string;
|
|
35
|
+
platform: string;
|
|
36
|
+
}>;
|
|
37
|
+
packages: MobilePackageInspection[];
|
|
38
|
+
release: {
|
|
39
|
+
checks: Array<{
|
|
40
|
+
id: string;
|
|
41
|
+
status: 'fail' | 'pass' | 'warn';
|
|
42
|
+
}>;
|
|
43
|
+
ready: boolean;
|
|
44
|
+
};
|
|
45
|
+
runtime: {
|
|
46
|
+
absolutejs: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export type InspectAbsoluteMobileProjectOptions = {
|
|
50
|
+
absolutejsVersion?: string;
|
|
51
|
+
inspectRelease?: typeof inspectAbsoluteMobileRelease;
|
|
52
|
+
};
|
|
53
|
+
export declare const inspectAbsoluteMobileProject: (config: NormalizedAbsoluteMobileConfig, projectRoot: string, options?: InspectAbsoluteMobileProjectOptions) => Promise<{
|
|
54
|
+
bundle: {
|
|
55
|
+
manifest: string;
|
|
56
|
+
status: "missing";
|
|
57
|
+
appBuild?: undefined;
|
|
58
|
+
auth?: undefined;
|
|
59
|
+
capabilities?: undefined;
|
|
60
|
+
entryResolved?: undefined;
|
|
61
|
+
frameworks?: undefined;
|
|
62
|
+
pageCount?: undefined;
|
|
63
|
+
routeCount?: undefined;
|
|
64
|
+
runtime?: undefined;
|
|
65
|
+
sync?: undefined;
|
|
66
|
+
issue?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
appBuild: string;
|
|
69
|
+
auth: boolean;
|
|
70
|
+
capabilities: string[];
|
|
71
|
+
entryResolved: true;
|
|
72
|
+
frameworks: string[];
|
|
73
|
+
manifest: string;
|
|
74
|
+
pageCount: number;
|
|
75
|
+
routeCount: number;
|
|
76
|
+
runtime: string;
|
|
77
|
+
status: "valid";
|
|
78
|
+
sync: boolean;
|
|
79
|
+
issue?: undefined;
|
|
80
|
+
} | {
|
|
81
|
+
issue: string;
|
|
82
|
+
manifest: string;
|
|
83
|
+
status: "invalid";
|
|
84
|
+
appBuild?: undefined;
|
|
85
|
+
auth?: undefined;
|
|
86
|
+
capabilities?: undefined;
|
|
87
|
+
entryResolved?: undefined;
|
|
88
|
+
frameworks?: undefined;
|
|
89
|
+
pageCount?: undefined;
|
|
90
|
+
routeCount?: undefined;
|
|
91
|
+
runtime?: undefined;
|
|
92
|
+
sync?: undefined;
|
|
93
|
+
};
|
|
94
|
+
capabilities: {
|
|
95
|
+
plugins: string[];
|
|
96
|
+
issue?: string | undefined;
|
|
97
|
+
embeddedMatchesCurrent?: boolean | undefined;
|
|
98
|
+
current: string[];
|
|
99
|
+
};
|
|
100
|
+
config: {
|
|
101
|
+
appId: string;
|
|
102
|
+
appName: string;
|
|
103
|
+
bundleDirectory: string;
|
|
104
|
+
deepLinkHosts: string[];
|
|
105
|
+
deepLinkScheme: string | undefined;
|
|
106
|
+
engine: "capacitor" | "expo";
|
|
107
|
+
entry: string;
|
|
108
|
+
iosVersion: string | undefined;
|
|
109
|
+
nativeProjectDirectory: string;
|
|
110
|
+
platforms: import("..").MobilePlatform[];
|
|
111
|
+
productionOrigin: string;
|
|
112
|
+
};
|
|
113
|
+
format: 1;
|
|
114
|
+
nativeProjects: {
|
|
115
|
+
initialized: boolean;
|
|
116
|
+
path: string;
|
|
117
|
+
platform: import("..").MobilePlatform;
|
|
118
|
+
}[];
|
|
119
|
+
packages: {
|
|
120
|
+
name: string;
|
|
121
|
+
installed?: string | undefined;
|
|
122
|
+
declared: string;
|
|
123
|
+
}[];
|
|
124
|
+
release: {
|
|
125
|
+
checks: {
|
|
126
|
+
id: string;
|
|
127
|
+
status: "pass" | "warn" | "fail";
|
|
128
|
+
}[];
|
|
129
|
+
ready: boolean;
|
|
130
|
+
};
|
|
131
|
+
runtime: {
|
|
132
|
+
absolutejs: string;
|
|
133
|
+
};
|
|
134
|
+
}>;
|
|
135
|
+
export declare const renderAbsoluteMobileProjectInspection: (report: AbsoluteMobileProjectInspection) => string;
|
|
136
|
+
export {};
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
|
+
import type { MobileConfig } from '../../types/build';
|
|
3
|
+
export declare const ABSOLUTE_MOBILE_PREVIEW_PATH: "/__absolute/mobile-preview";
|
|
4
|
+
export declare const absoluteMobilePreviewDocument: (mobile: MobileConfig) => string;
|
|
5
|
+
export declare const createAbsoluteMobilePreviewPlugin: (mobile: MobileConfig | undefined) => Elysia<"", "local", import("elysia/types").DefaultSingleton, {
|
|
6
|
+
typebox: {};
|
|
7
|
+
error: [];
|
|
8
|
+
}, import("elysia/types").DefaultMetadata, {}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral> | import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
9
|
+
typebox: {};
|
|
10
|
+
error: [];
|
|
11
|
+
}, import("elysia/types").DefaultMetadata, {
|
|
12
|
+
__absolute: {
|
|
13
|
+
"mobile-preview": {
|
|
14
|
+
get: {
|
|
15
|
+
body: unknown;
|
|
16
|
+
params: {};
|
|
17
|
+
query: unknown;
|
|
18
|
+
headers: unknown;
|
|
19
|
+
response: {
|
|
20
|
+
200: Response;
|
|
21
|
+
};
|
|
22
|
+
error: never;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "post", "/__absolute/mobile-preview-telemetry", import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, "/__absolute/mobile-preview-telemetry">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ body, status }: {
|
|
27
|
+
body: unknown;
|
|
28
|
+
query: Record<string, string | undefined>;
|
|
29
|
+
params: {};
|
|
30
|
+
headers: Record<string, string | undefined>;
|
|
31
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
32
|
+
server: import("elysia").Server | null;
|
|
33
|
+
redirect: import("elysia").redirect;
|
|
34
|
+
set: {
|
|
35
|
+
headers: import("elysia").HTTPHeaders;
|
|
36
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
37
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
38
|
+
};
|
|
39
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 500 | 100 | 200 | 400 | 404 | 300 | 304 | 426 | 204 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 301 | 302 | 303 | 307 | 308 | 401 | 402 | 403 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
40
|
+
readonly 100: "Continue";
|
|
41
|
+
readonly 101: "Switching Protocols";
|
|
42
|
+
readonly 102: "Processing";
|
|
43
|
+
readonly 103: "Early Hints";
|
|
44
|
+
readonly 200: "OK";
|
|
45
|
+
readonly 201: "Created";
|
|
46
|
+
readonly 202: "Accepted";
|
|
47
|
+
readonly 203: "Non-Authoritative Information";
|
|
48
|
+
readonly 204: "No Content";
|
|
49
|
+
readonly 205: "Reset Content";
|
|
50
|
+
readonly 206: "Partial Content";
|
|
51
|
+
readonly 207: "Multi-Status";
|
|
52
|
+
readonly 208: "Already Reported";
|
|
53
|
+
readonly 300: "Multiple Choices";
|
|
54
|
+
readonly 301: "Moved Permanently";
|
|
55
|
+
readonly 302: "Found";
|
|
56
|
+
readonly 303: "See Other";
|
|
57
|
+
readonly 304: "Not Modified";
|
|
58
|
+
readonly 307: "Temporary Redirect";
|
|
59
|
+
readonly 308: "Permanent Redirect";
|
|
60
|
+
readonly 400: "Bad Request";
|
|
61
|
+
readonly 401: "Unauthorized";
|
|
62
|
+
readonly 402: "Payment Required";
|
|
63
|
+
readonly 403: "Forbidden";
|
|
64
|
+
readonly 404: "Not Found";
|
|
65
|
+
readonly 405: "Method Not Allowed";
|
|
66
|
+
readonly 406: "Not Acceptable";
|
|
67
|
+
readonly 407: "Proxy Authentication Required";
|
|
68
|
+
readonly 408: "Request Timeout";
|
|
69
|
+
readonly 409: "Conflict";
|
|
70
|
+
readonly 410: "Gone";
|
|
71
|
+
readonly 411: "Length Required";
|
|
72
|
+
readonly 412: "Precondition Failed";
|
|
73
|
+
readonly 413: "Payload Too Large";
|
|
74
|
+
readonly 414: "URI Too Long";
|
|
75
|
+
readonly 415: "Unsupported Media Type";
|
|
76
|
+
readonly 416: "Range Not Satisfiable";
|
|
77
|
+
readonly 417: "Expectation Failed";
|
|
78
|
+
readonly 418: "I'm a teapot";
|
|
79
|
+
readonly 420: "Enhance Your Calm";
|
|
80
|
+
readonly 421: "Misdirected Request";
|
|
81
|
+
readonly 422: "Unprocessable Content";
|
|
82
|
+
readonly 423: "Locked";
|
|
83
|
+
readonly 424: "Failed Dependency";
|
|
84
|
+
readonly 425: "Too Early";
|
|
85
|
+
readonly 426: "Upgrade Required";
|
|
86
|
+
readonly 428: "Precondition Required";
|
|
87
|
+
readonly 429: "Too Many Requests";
|
|
88
|
+
readonly 431: "Request Header Fields Too Large";
|
|
89
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
90
|
+
readonly 500: "Internal Server Error";
|
|
91
|
+
readonly 501: "Not Implemented";
|
|
92
|
+
readonly 502: "Bad Gateway";
|
|
93
|
+
readonly 503: "Service Unavailable";
|
|
94
|
+
readonly 504: "Gateway Timeout";
|
|
95
|
+
readonly 505: "HTTP Version Not Supported";
|
|
96
|
+
readonly 506: "Variant Also Negotiates";
|
|
97
|
+
readonly 507: "Insufficient Storage";
|
|
98
|
+
readonly 508: "Loop Detected";
|
|
99
|
+
readonly 510: "Not Extended";
|
|
100
|
+
readonly 511: "Network Authentication Required";
|
|
101
|
+
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaStatus<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
102
|
+
readonly Continue: 100;
|
|
103
|
+
readonly "Switching Protocols": 101;
|
|
104
|
+
readonly Processing: 102;
|
|
105
|
+
readonly "Early Hints": 103;
|
|
106
|
+
readonly OK: 200;
|
|
107
|
+
readonly Created: 201;
|
|
108
|
+
readonly Accepted: 202;
|
|
109
|
+
readonly "Non-Authoritative Information": 203;
|
|
110
|
+
readonly "No Content": 204;
|
|
111
|
+
readonly "Reset Content": 205;
|
|
112
|
+
readonly "Partial Content": 206;
|
|
113
|
+
readonly "Multi-Status": 207;
|
|
114
|
+
readonly "Already Reported": 208;
|
|
115
|
+
readonly "Multiple Choices": 300;
|
|
116
|
+
readonly "Moved Permanently": 301;
|
|
117
|
+
readonly Found: 302;
|
|
118
|
+
readonly "See Other": 303;
|
|
119
|
+
readonly "Not Modified": 304;
|
|
120
|
+
readonly "Temporary Redirect": 307;
|
|
121
|
+
readonly "Permanent Redirect": 308;
|
|
122
|
+
readonly "Bad Request": 400;
|
|
123
|
+
readonly Unauthorized: 401;
|
|
124
|
+
readonly "Payment Required": 402;
|
|
125
|
+
readonly Forbidden: 403;
|
|
126
|
+
readonly "Not Found": 404;
|
|
127
|
+
readonly "Method Not Allowed": 405;
|
|
128
|
+
readonly "Not Acceptable": 406;
|
|
129
|
+
readonly "Proxy Authentication Required": 407;
|
|
130
|
+
readonly "Request Timeout": 408;
|
|
131
|
+
readonly Conflict: 409;
|
|
132
|
+
readonly Gone: 410;
|
|
133
|
+
readonly "Length Required": 411;
|
|
134
|
+
readonly "Precondition Failed": 412;
|
|
135
|
+
readonly "Payload Too Large": 413;
|
|
136
|
+
readonly "URI Too Long": 414;
|
|
137
|
+
readonly "Unsupported Media Type": 415;
|
|
138
|
+
readonly "Range Not Satisfiable": 416;
|
|
139
|
+
readonly "Expectation Failed": 417;
|
|
140
|
+
readonly "I'm a teapot": 418;
|
|
141
|
+
readonly "Enhance Your Calm": 420;
|
|
142
|
+
readonly "Misdirected Request": 421;
|
|
143
|
+
readonly "Unprocessable Content": 422;
|
|
144
|
+
readonly Locked: 423;
|
|
145
|
+
readonly "Failed Dependency": 424;
|
|
146
|
+
readonly "Too Early": 425;
|
|
147
|
+
readonly "Upgrade Required": 426;
|
|
148
|
+
readonly "Precondition Required": 428;
|
|
149
|
+
readonly "Too Many Requests": 429;
|
|
150
|
+
readonly "Request Header Fields Too Large": 431;
|
|
151
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
152
|
+
readonly "Internal Server Error": 500;
|
|
153
|
+
readonly "Not Implemented": 501;
|
|
154
|
+
readonly "Bad Gateway": 502;
|
|
155
|
+
readonly "Service Unavailable": 503;
|
|
156
|
+
readonly "Gateway Timeout": 504;
|
|
157
|
+
readonly "HTTP Version Not Supported": 505;
|
|
158
|
+
readonly "Variant Also Negotiates": 506;
|
|
159
|
+
readonly "Insufficient Storage": 507;
|
|
160
|
+
readonly "Loop Detected": 508;
|
|
161
|
+
readonly "Not Extended": 510;
|
|
162
|
+
readonly "Network Authentication Required": 511;
|
|
163
|
+
}[Code] : Code>;
|
|
164
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{}, {}, "/__absolute/mobile-preview-telemetry">, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
165
|
+
derive: {};
|
|
166
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
167
|
+
readonly path: string;
|
|
168
|
+
route?: string | undefined;
|
|
169
|
+
rid?: string | undefined;
|
|
170
|
+
request: Request;
|
|
171
|
+
store: {};
|
|
172
|
+
}) => import("elysia").ElysiaStatus<400, {
|
|
173
|
+
readonly error: "invalid-preview-telemetry";
|
|
174
|
+
}, 400> | import("elysia").ElysiaStatus<204, "No Content", 204>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const installAbsoluteMobilePreview: () => void;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
2
2
|
export declare const ABSOLUTE_AUTH_PACKAGE: "@absolutejs/auth";
|
|
3
|
+
export declare const ABSOLUTE_EXPO_AUTH_CORE_VERSION: "0.75.6";
|
|
4
|
+
export declare const ABSOLUTE_EXPO_AUTH_PACKAGE: "@absolutejs/auth-expo";
|
|
5
|
+
export declare const ABSOLUTE_EXPO_AUTH_VERSION: "0.0.2";
|
|
6
|
+
export declare const ABSOLUTE_EXPO_SYNC_CORE_VERSION: "2.31.0";
|
|
7
|
+
export declare const ABSOLUTE_EXPO_SYNC_PACKAGE: "@absolutejs/sync-expo";
|
|
8
|
+
export declare const ABSOLUTE_EXPO_SYNC_VERSION: "0.0.2";
|
|
3
9
|
export declare const ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV: "ABSOLUTE_AUTH_NATIVE_CLIENTS";
|
|
4
10
|
export declare const ABSOLUTE_NATIVE_AUTH_SCOPES: readonly ["openid", "profile"];
|
|
5
11
|
export declare const ABSOLUTE_SYNC_PACKAGE: "@absolutejs/sync";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { MobilePlatform } from '../../types/build';
|
|
2
|
+
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
3
|
+
import { type AbsoluteDeviceCapabilityPlan } from './deviceCapabilities';
|
|
4
|
+
export declare const applyAbsoluteNativeDeviceCapabilities: (projectRoot: string, config: NormalizedAbsoluteMobileConfig, platforms?: readonly MobilePlatform[], plan?: AbsoluteDeviceCapabilityPlan) => Promise<{
|
|
5
|
+
changed: MobilePlatform[];
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props supplied automatically to an application-owned Expo native route.
|
|
3
|
+
* Import the existing AbsoluteJS page-props type as `PageProps` so server and
|
|
4
|
+
* native rendering stay on the same compile-time contract.
|
|
5
|
+
*/
|
|
6
|
+
export type AbsoluteNativeRouteProps<PageProps extends object, Params extends object = Record<string, string | string[] | undefined>> = {
|
|
7
|
+
/** Live props produced by the ordinary server route for the current URL. */
|
|
8
|
+
pageProps: Readonly<PageProps>;
|
|
9
|
+
/** Expo Router path and query parameters for the current native route. */
|
|
10
|
+
params: Readonly<Params>;
|
|
11
|
+
/** Re-run the trusted server route without remounting the native screen. */
|
|
12
|
+
reload: () => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { AbsoluteAndroidUpgradeConformanceResult } from './androidUpgradeConformance';
|
|
2
|
+
export type AbsoluteNativeReportResult = 'FAIL' | 'NOT_RUN' | 'PASS' | 'SKIPPED';
|
|
3
|
+
export type AbsoluteNativeReportCheck = {
|
|
4
|
+
details: string;
|
|
5
|
+
evidence?: string;
|
|
6
|
+
id: string;
|
|
7
|
+
result: AbsoluteNativeReportResult;
|
|
8
|
+
};
|
|
9
|
+
export type AbsoluteNativeHmrResult = {
|
|
10
|
+
clientMs?: number;
|
|
11
|
+
durationMs: number;
|
|
12
|
+
outcome: 'applied' | 'failed' | 'reloaded';
|
|
13
|
+
serverMs?: number;
|
|
14
|
+
};
|
|
15
|
+
export type AbsoluteNativeSyncMigrationResult = {
|
|
16
|
+
durationMs: number;
|
|
17
|
+
failedAttempt: {
|
|
18
|
+
code: 'INVALID_PLAN' | 'MIGRATION_MISSING' | 'SCHEMA_TOO_NEW' | 'SCHEMA_TOO_OLD' | 'UNKNOWN';
|
|
19
|
+
storedVersion?: number;
|
|
20
|
+
targetVersion?: number;
|
|
21
|
+
};
|
|
22
|
+
outcome: 'fail' | 'pass';
|
|
23
|
+
recovery: {
|
|
24
|
+
storedVersion: number;
|
|
25
|
+
targetVersion: number;
|
|
26
|
+
};
|
|
27
|
+
state: {
|
|
28
|
+
authCredential: boolean;
|
|
29
|
+
pendingOperations: boolean;
|
|
30
|
+
rollbackPreserved: boolean;
|
|
31
|
+
schemaAdvanced: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type AbsoluteNativeAutomatedRun = {
|
|
35
|
+
appId: string;
|
|
36
|
+
deviceAcceptance?: {
|
|
37
|
+
https: boolean;
|
|
38
|
+
relaunchMs: number;
|
|
39
|
+
remote: boolean;
|
|
40
|
+
};
|
|
41
|
+
durationMs: number;
|
|
42
|
+
error?: string;
|
|
43
|
+
hmr?: AbsoluteNativeHmrResult;
|
|
44
|
+
hmrConnected: boolean;
|
|
45
|
+
platform: 'android' | 'ios';
|
|
46
|
+
port: number;
|
|
47
|
+
routes?: string[];
|
|
48
|
+
screenshot?: string;
|
|
49
|
+
status: 'fail' | 'pass';
|
|
50
|
+
syncMigration?: AbsoluteNativeSyncMigrationResult;
|
|
51
|
+
targetId: string;
|
|
52
|
+
targetKind: 'device' | 'emulator' | 'simulator';
|
|
53
|
+
upgrade?: AbsoluteAndroidUpgradeConformanceResult;
|
|
54
|
+
};
|
|
55
|
+
export type AbsoluteNativeTestReport = {
|
|
56
|
+
automatedChecks: AbsoluteNativeReportCheck[];
|
|
57
|
+
generatedAt: string;
|
|
58
|
+
manualChecks: AbsoluteNativeReportCheck[];
|
|
59
|
+
metadata: Record<string, string> & {
|
|
60
|
+
absolutejsVersion: string;
|
|
61
|
+
bunVersion: string;
|
|
62
|
+
provider: 'capacitor';
|
|
63
|
+
};
|
|
64
|
+
overallResult: 'FAIL' | 'INCOMPLETE';
|
|
65
|
+
platform: 'android' | 'ios';
|
|
66
|
+
reportVersion: 1;
|
|
67
|
+
run: AbsoluteNativeAutomatedRun;
|
|
68
|
+
};
|
|
69
|
+
export type AbsoluteNativeManualCheckDefinition = readonly [
|
|
70
|
+
id: string,
|
|
71
|
+
details: string
|
|
72
|
+
];
|
|
73
|
+
type CreateAbsoluteNativeTestReportOptions = {
|
|
74
|
+
automatedChecks?: AbsoluteNativeReportCheck[];
|
|
75
|
+
generatedAt?: string;
|
|
76
|
+
manualChecks: readonly AbsoluteNativeManualCheckDefinition[];
|
|
77
|
+
manualCheckResults?: Record<string, AbsoluteNativeReportCheck>;
|
|
78
|
+
metadata: AbsoluteNativeTestReport['metadata'];
|
|
79
|
+
run: AbsoluteNativeAutomatedRun;
|
|
80
|
+
};
|
|
81
|
+
export declare const sanitizeNativeReportText: (value: string) => string;
|
|
82
|
+
export declare const createAbsoluteNativeAutomatedChecks: (run: AbsoluteNativeAutomatedRun) => AbsoluteNativeReportCheck[];
|
|
83
|
+
export declare const createAbsoluteNativeTestReport: (options: CreateAbsoluteNativeTestReportOptions) => AbsoluteNativeTestReport;
|
|
84
|
+
export declare const readPackageVersionForNativeReport: (packageJsonPath: string) => Promise<string>;
|
|
85
|
+
export declare const renderAbsoluteNativeTestReport: (report: AbsoluteNativeTestReport) => string;
|
|
86
|
+
export declare const writeAbsoluteNativeTestReport: (directory: string, report: AbsoluteNativeTestReport) => Promise<{
|
|
87
|
+
directory: string;
|
|
88
|
+
jsonPath: string;
|
|
89
|
+
markdownPath: string;
|
|
90
|
+
}>;
|
|
91
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const ABSOLUTE_MOBILE_PAGE_MEDIA_TYPE = "application/vnd.absolute.page+json";
|
|
2
2
|
export declare const ABSOLUTE_MOBILE_PAGE_PROTOCOL_VERSION: 1;
|
|
3
|
+
export declare const ABSOLUTE_NATIVE_ROUTE_DATA_MEDIA_TYPE = "application/vnd.absolute.native-route+json";
|
|
3
4
|
declare const SERVER_ERROR_STATUS = 500;
|
|
4
5
|
export declare const MOBILE_PAGE_REQUEST_HEADERS: {
|
|
5
6
|
readonly appBuild: "x-absolute-mobile-app-build";
|
|
@@ -81,6 +82,7 @@ type FinalizeAbsoluteMobilePageInput<Props> = {
|
|
|
81
82
|
status?: number;
|
|
82
83
|
};
|
|
83
84
|
export declare const acceptsAbsoluteMobilePage: (request: Request | undefined) => boolean;
|
|
85
|
+
export declare const acceptsAbsoluteNativeRouteData: (request: Request | undefined) => boolean;
|
|
84
86
|
export declare const parseAbsoluteMobilePageRequest: (request: Request | undefined) => ParsedMobilePageRequest;
|
|
85
87
|
export declare const createAbsoluteMobileInvalidRequestResponse: (message: string) => Response;
|
|
86
88
|
export declare const createAbsoluteMobilePageErrorResponse: (pageId: string) => Response;
|
|
@@ -4,10 +4,32 @@ export type AbsoluteMobileReleaseCheck = {
|
|
|
4
4
|
id: string;
|
|
5
5
|
path?: string;
|
|
6
6
|
remediation?: string;
|
|
7
|
-
status: 'fail' | 'pass';
|
|
7
|
+
status: 'fail' | 'pass' | 'warn';
|
|
8
8
|
};
|
|
9
9
|
export type AbsoluteMobileReleaseDoctorResult = {
|
|
10
10
|
checks: AbsoluteMobileReleaseCheck[];
|
|
11
11
|
ready: boolean;
|
|
12
12
|
};
|
|
13
|
+
export declare const ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT: 1;
|
|
14
|
+
export type AbsoluteMobileComplianceReport = {
|
|
15
|
+
app: {
|
|
16
|
+
appId: string;
|
|
17
|
+
engine: 'capacitor' | 'expo';
|
|
18
|
+
platforms: string[];
|
|
19
|
+
productionOrigin: string;
|
|
20
|
+
};
|
|
21
|
+
checks: Array<{
|
|
22
|
+
id: string;
|
|
23
|
+
status: AbsoluteMobileReleaseCheck['status'];
|
|
24
|
+
}>;
|
|
25
|
+
format: typeof ABSOLUTE_MOBILE_COMPLIANCE_REPORT_FORMAT;
|
|
26
|
+
manualReview: string[];
|
|
27
|
+
ready: boolean;
|
|
28
|
+
summary: {
|
|
29
|
+
failed: number;
|
|
30
|
+
passed: number;
|
|
31
|
+
warnings: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const createAbsoluteMobileComplianceReport: (config: NormalizedAbsoluteMobileConfig, result: AbsoluteMobileReleaseDoctorResult) => AbsoluteMobileComplianceReport;
|
|
13
35
|
export declare const inspectAbsoluteMobileRelease: (config: NormalizedAbsoluteMobileConfig, projectRoot: string) => Promise<AbsoluteMobileReleaseDoctorResult>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { FileSink } from 'bun';
|
|
2
2
|
import type { NormalizedAbsoluteMobileConfig } from './config';
|
|
3
|
+
import { installAbsoluteIosRelease, type AbsoluteIosReleaseMetadata } from './iosRelease';
|
|
3
4
|
import type { AbsoluteIosDevPhaseTiming, AbsoluteIosDevSession, AbsoluteIosDevState, AbsoluteIosNativeLogEntry } from './iosSimulatorController';
|
|
5
|
+
import type { AbsoluteExpoDevPhaseTiming, AbsoluteExpoDevSession, AbsoluteExpoDevState } from './expoDevController';
|
|
4
6
|
export { ABSOLUTE_REMOTE_MAC_EVENT_PREFIX, ABSOLUTE_REMOTE_MAC_PROTOCOL_VERSION } from './remoteMacWire';
|
|
5
7
|
export type AbsoluteRemoteMacProfile = {
|
|
6
8
|
bunPath: string;
|
|
@@ -28,6 +30,11 @@ export type AbsoluteRemoteIosDevProject = {
|
|
|
28
30
|
xcodebuild: string;
|
|
29
31
|
xcrun: string;
|
|
30
32
|
};
|
|
33
|
+
export type AbsoluteRemoteExpoIosDevProject = AbsoluteRemoteIosDevProject & {
|
|
34
|
+
config: NormalizedAbsoluteMobileConfig & {
|
|
35
|
+
engine: 'expo';
|
|
36
|
+
};
|
|
37
|
+
};
|
|
31
38
|
export type AbsoluteIosDevelopmentProject = AbsoluteRemoteIosDevProject | (import('./iosSimulatorController').AbsoluteIosDevProject & {
|
|
32
39
|
remote?: false;
|
|
33
40
|
});
|
|
@@ -49,7 +56,9 @@ export type AbsoluteRemoteMacTransport = {
|
|
|
49
56
|
};
|
|
50
57
|
};
|
|
51
58
|
export type AbsoluteRemoteIosOptions = {
|
|
59
|
+
certificateAuthorityPath?: string;
|
|
52
60
|
https?: boolean;
|
|
61
|
+
deviceIdentifier?: string;
|
|
53
62
|
log?: (message: string) => void;
|
|
54
63
|
nativeLog?: (entry: AbsoluteIosNativeLogEntry) => void;
|
|
55
64
|
onPhaseTiming?: (timing: AbsoluteIosDevPhaseTiming) => void;
|
|
@@ -57,6 +66,26 @@ export type AbsoluteRemoteIosOptions = {
|
|
|
57
66
|
port: number;
|
|
58
67
|
project: AbsoluteRemoteIosDevProject;
|
|
59
68
|
signal?: AbortSignal;
|
|
69
|
+
serverHost?: string;
|
|
70
|
+
installAgent?: (project: AbsoluteRemoteIosDevProject) => Promise<{
|
|
71
|
+
remotePath: string;
|
|
72
|
+
uploaded?: boolean;
|
|
73
|
+
}>;
|
|
74
|
+
syncProject?: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
75
|
+
transport?: AbsoluteRemoteMacTransport;
|
|
76
|
+
};
|
|
77
|
+
export type AbsoluteRemoteExpoIosOptions = {
|
|
78
|
+
certificateAuthorityPath?: string;
|
|
79
|
+
deviceIdentifier?: string;
|
|
80
|
+
https?: boolean;
|
|
81
|
+
log?: (message: string) => void;
|
|
82
|
+
metroPort: number;
|
|
83
|
+
onPhaseTiming?: (timing: AbsoluteExpoDevPhaseTiming) => void;
|
|
84
|
+
onStateChange?: (state: AbsoluteExpoDevState) => void;
|
|
85
|
+
port: number;
|
|
86
|
+
project: AbsoluteRemoteExpoIosDevProject;
|
|
87
|
+
serverHost?: string;
|
|
88
|
+
signal?: AbortSignal;
|
|
60
89
|
installAgent?: (project: AbsoluteRemoteIosDevProject) => Promise<{
|
|
61
90
|
remotePath: string;
|
|
62
91
|
uploaded?: boolean;
|
|
@@ -64,11 +93,38 @@ export type AbsoluteRemoteIosOptions = {
|
|
|
64
93
|
syncProject?: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
65
94
|
transport?: AbsoluteRemoteMacTransport;
|
|
66
95
|
};
|
|
96
|
+
export type BuildAbsoluteRemoteIosReleaseOptions = {
|
|
97
|
+
allowUnsigned?: boolean;
|
|
98
|
+
developmentTeam?: string;
|
|
99
|
+
installAgent?: (project: AbsoluteRemoteIosDevProject) => Promise<{
|
|
100
|
+
remotePath: string;
|
|
101
|
+
uploaded?: boolean;
|
|
102
|
+
}>;
|
|
103
|
+
log?: (message: string) => void;
|
|
104
|
+
onPhaseTiming?: (timing: {
|
|
105
|
+
durationMs: number;
|
|
106
|
+
phase: string;
|
|
107
|
+
}) => void;
|
|
108
|
+
outputDirectory?: string;
|
|
109
|
+
prepareBuildNumber?: (buildIdentity: string) => Promise<number>;
|
|
110
|
+
project: AbsoluteRemoteIosDevProject;
|
|
111
|
+
retrieveRelease?: (project: AbsoluteRemoteIosDevProject, metadata: AbsoluteIosReleaseMetadata, outputDirectory?: string) => Promise<Awaited<ReturnType<typeof installAbsoluteIosRelease>>>;
|
|
112
|
+
syncReleaseInputs?: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
113
|
+
syncProject?: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
114
|
+
transport?: Pick<AbsoluteRemoteMacTransport, 'spawn'>;
|
|
115
|
+
};
|
|
67
116
|
export declare const validateAbsoluteRemoteMacProfileName: (name: string) => string;
|
|
68
117
|
export declare const validateAbsoluteSshDestination: (destination: string) => string;
|
|
69
118
|
export declare const absoluteRemoteMacSshBase: (profile: Pick<AbsoluteRemoteMacProfile, "destination" | "port">, options?: {
|
|
70
119
|
acceptNew?: boolean;
|
|
71
120
|
}) => string[];
|
|
121
|
+
/** Run a non-interactive command on an already paired Mac.
|
|
122
|
+
*
|
|
123
|
+
* Arguments are quoted independently before crossing SSH. This is intended for
|
|
124
|
+
* small, read-only inspections and lifecycle commands that do not need the
|
|
125
|
+
* long-running remote development agent.
|
|
126
|
+
*/
|
|
127
|
+
export declare const captureAbsoluteRemoteMacCommand: (profile: AbsoluteRemoteMacProfile, command: string[], transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<AbsoluteRemoteMacCommandResult>;
|
|
72
128
|
export declare const getAbsoluteRemoteMacProfile: (name?: string, profilePath?: string) => Promise<AbsoluteRemoteMacProfile | undefined>;
|
|
73
129
|
export declare const inspectAbsoluteRemoteMac: (destination: string, options?: {
|
|
74
130
|
acceptNew?: boolean;
|
|
@@ -80,6 +136,7 @@ export declare const inspectAbsoluteRemoteMac: (destination: string, options?: {
|
|
|
80
136
|
os: string;
|
|
81
137
|
xcodeVersion: string;
|
|
82
138
|
}>;
|
|
139
|
+
export declare const inspectAbsoluteRemoteMacLanHost: (profile: AbsoluteRemoteMacProfile, transport?: Pick<AbsoluteRemoteMacTransport, "capture">) => Promise<string>;
|
|
83
140
|
export declare const listAbsoluteRemoteMacProfiles: (profilePath?: string) => Promise<{
|
|
84
141
|
defaultProfile: string | undefined;
|
|
85
142
|
profiles: AbsoluteRemoteMacProfile[];
|
|
@@ -93,6 +150,7 @@ export declare const pairAbsoluteRemoteMac: (options: {
|
|
|
93
150
|
workspaceRoot?: string;
|
|
94
151
|
}) => Promise<AbsoluteRemoteMacProfile>;
|
|
95
152
|
export declare const removeAbsoluteRemoteMacProfile: (name: string, profilePath?: string) => Promise<boolean>;
|
|
153
|
+
export declare const createAbsoluteRemoteExpoIosDevProject: (config: NormalizedAbsoluteMobileConfig, projectRoot: string, profile: AbsoluteRemoteMacProfile) => AbsoluteRemoteExpoIosDevProject;
|
|
96
154
|
export declare const createAbsoluteRemoteIosDevProject: (config: NormalizedAbsoluteMobileConfig, projectRoot: string, profile: AbsoluteRemoteMacProfile) => AbsoluteRemoteIosDevProject;
|
|
97
155
|
export declare const installAbsoluteRemoteMacAgent: (project: AbsoluteRemoteIosDevProject) => Promise<{
|
|
98
156
|
remotePath: string;
|
|
@@ -111,4 +169,36 @@ export declare const absoluteRemoteProjectSyncCommands: (project: AbsoluteRemote
|
|
|
111
169
|
tar: string[];
|
|
112
170
|
};
|
|
113
171
|
export declare const syncAbsoluteRemoteMacProject: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
172
|
+
export declare const absoluteRemoteReleaseInputSyncCommands: (project: AbsoluteRemoteIosDevProject) => {
|
|
173
|
+
remote: string[];
|
|
174
|
+
tar: string[];
|
|
175
|
+
};
|
|
176
|
+
export declare const syncAbsoluteRemoteMacReleaseInputs: (project: AbsoluteRemoteIosDevProject) => Promise<void>;
|
|
177
|
+
export declare const buildAbsoluteRemoteIosRelease: (options: BuildAbsoluteRemoteIosReleaseOptions) => Promise<{
|
|
178
|
+
timings: {
|
|
179
|
+
'remote-agent': number;
|
|
180
|
+
'remote-release-download': number;
|
|
181
|
+
'remote-release-sync': number;
|
|
182
|
+
total: number;
|
|
183
|
+
};
|
|
184
|
+
artifactPath: string;
|
|
185
|
+
metadata: {
|
|
186
|
+
artifact: "App.ipa";
|
|
187
|
+
sha256: string;
|
|
188
|
+
type: "ipa";
|
|
189
|
+
format: typeof import("./iosRelease").ABSOLUTE_IOS_RELEASE_FORMAT;
|
|
190
|
+
bytes: number;
|
|
191
|
+
runtime: string;
|
|
192
|
+
releaseId: string;
|
|
193
|
+
appBuild: string;
|
|
194
|
+
appId: string;
|
|
195
|
+
platform: "ios";
|
|
196
|
+
buildNumber?: number | undefined;
|
|
197
|
+
engine: "capacitor" | "expo";
|
|
198
|
+
marketingVersion: string;
|
|
199
|
+
signed: boolean;
|
|
200
|
+
};
|
|
201
|
+
releaseRoot: string;
|
|
202
|
+
}>;
|
|
203
|
+
export declare const startAbsoluteRemoteExpoIosDevSession: (options: AbsoluteRemoteExpoIosOptions) => Promise<AbsoluteExpoDevSession>;
|
|
114
204
|
export declare const startAbsoluteRemoteIosDevSession: (options: AbsoluteRemoteIosOptions) => Promise<AbsoluteIosDevSession>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const ABSOLUTE_REMOTE_MAC_EVENT_PREFIX = "ABSOLUTE_REMOTE_MAC\t";
|
|
2
|
-
export declare const ABSOLUTE_REMOTE_MAC_PROTOCOL_VERSION =
|
|
2
|
+
export declare const ABSOLUTE_REMOTE_MAC_PROTOCOL_VERSION = 3;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import { type MobileAuthPrincipal } from '@absolutejs/auth/client/mobile';
|
|
1
2
|
import type { AbsoluteMobileAuthManifest } from './nativeAuth';
|
|
2
3
|
import type { AbsoluteMobileFetch } from './transport';
|
|
3
4
|
export type AbsoluteMobileShellAuth = {
|
|
5
|
+
clientId: string;
|
|
4
6
|
fetch: AbsoluteMobileFetch;
|
|
7
|
+
onPrincipalChange: (listener: (principal: MobileAuthPrincipal | null) => void) => () => void;
|
|
8
|
+
principal: MobileAuthPrincipal | null;
|
|
5
9
|
redirectUri: string;
|
|
10
|
+
issuer: string;
|
|
6
11
|
socketTicket: (audience?: string) => Promise<string>;
|
|
7
12
|
};
|
|
8
|
-
export declare const createAbsoluteMobileShellAuth: (config: AbsoluteMobileAuthManifest
|
|
13
|
+
export declare const createAbsoluteMobileShellAuth: (config: AbsoluteMobileAuthManifest, options?: {
|
|
14
|
+
beforeSignOut?: () => Promise<void> | void;
|
|
15
|
+
}) => Promise<AbsoluteMobileShellAuth>;
|