@vidra-dev/sdk 0.6.1 → 1.0.0
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 +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/generated/app.d.ts +3 -12
- package/dist/generated/app.d.ts.map +1 -1
- package/dist/generated/app.js.map +1 -1
- package/dist/generated/appWindow.d.ts +3 -34
- package/dist/generated/appWindow.d.ts.map +1 -1
- package/dist/generated/appWindow.js.map +1 -1
- package/dist/generated/battery.d.ts +3 -7
- package/dist/generated/battery.d.ts.map +1 -1
- package/dist/generated/battery.js.map +1 -1
- package/dist/generated/browser.d.ts +3 -8
- package/dist/generated/browser.d.ts.map +1 -1
- package/dist/generated/browser.js.map +1 -1
- package/dist/generated/clipboard.d.ts +3 -13
- package/dist/generated/clipboard.d.ts.map +1 -1
- package/dist/generated/clipboard.js.map +1 -1
- package/dist/generated/connectivity.d.ts +3 -5
- package/dist/generated/connectivity.d.ts.map +1 -1
- package/dist/generated/connectivity.js.map +1 -1
- package/dist/generated/device.d.ts +3 -17
- package/dist/generated/device.d.ts.map +1 -1
- package/dist/generated/device.js.map +1 -1
- package/dist/generated/dialogs.d.ts +3 -27
- package/dist/generated/dialogs.d.ts.map +1 -1
- package/dist/generated/dialogs.js.map +1 -1
- package/dist/generated/email.d.ts +3 -11
- package/dist/generated/email.d.ts.map +1 -1
- package/dist/generated/email.js.map +1 -1
- package/dist/generated/essentials.d.ts +3 -15
- package/dist/generated/essentials.d.ts.map +1 -1
- package/dist/generated/essentials.js.map +1 -1
- package/dist/generated/filePicker.d.ts +3 -15
- package/dist/generated/filePicker.d.ts.map +1 -1
- package/dist/generated/filePicker.js.map +1 -1
- package/dist/generated/filesystem.d.ts +3 -36
- package/dist/generated/filesystem.d.ts.map +1 -1
- package/dist/generated/filesystem.js.map +1 -1
- package/dist/generated/index.d.ts +52 -52
- package/dist/generated/launcher.d.ts +3 -13
- package/dist/generated/launcher.d.ts.map +1 -1
- package/dist/generated/launcher.js.map +1 -1
- package/dist/generated/notifications.d.ts +3 -11
- package/dist/generated/notifications.d.ts.map +1 -1
- package/dist/generated/notifications.js.map +1 -1
- package/dist/generated/preferences.d.ts +3 -29
- package/dist/generated/preferences.d.ts.map +1 -1
- package/dist/generated/preferences.js.map +1 -1
- package/dist/generated/runtime.d.ts +3 -4
- package/dist/generated/runtime.d.ts.map +1 -1
- package/dist/generated/runtime.js.map +1 -1
- package/dist/generated/secureStorage.d.ts +3 -23
- package/dist/generated/secureStorage.d.ts.map +1 -1
- package/dist/generated/secureStorage.js.map +1 -1
- package/dist/generated/share.d.ts +3 -10
- package/dist/generated/share.d.ts.map +1 -1
- package/dist/generated/share.js.map +1 -1
- package/dist/generated/textToSpeech.d.ts +3 -9
- package/dist/generated/textToSpeech.d.ts.map +1 -1
- package/dist/generated/textToSpeech.js.map +1 -1
- package/dist/generated/types.d.ts +281 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +3 -0
- package/dist/generated/types.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
export declare const app: {
|
|
2
|
-
getInfo: () => Promise<import("./
|
|
3
|
-
getTheme: () => Promise<import("./
|
|
2
|
+
getInfo: () => Promise<import("./types.js").AppInfoResult>;
|
|
3
|
+
getTheme: () => Promise<import("./types.js").ThemeResult>;
|
|
4
4
|
};
|
|
5
5
|
export declare const appWindow: {
|
|
6
|
-
getSupport: () => Promise<import("./
|
|
7
|
-
getCurrent: () => Promise<import("./
|
|
8
|
-
configure: (args: import("./
|
|
9
|
-
setTitle: (args: import("./
|
|
10
|
-
setSize: (args: import("./
|
|
11
|
-
center: () => Promise<import("./
|
|
12
|
-
maximize: () => Promise<import("./
|
|
13
|
-
minimize: () => Promise<import("./
|
|
14
|
-
restore: () => Promise<import("./
|
|
15
|
-
setFullscreen: (args: import("./
|
|
16
|
-
onResized: (handler: (payload: import("./
|
|
17
|
-
onStateChanged: (handler: (payload: import("./
|
|
6
|
+
getSupport: () => Promise<import("./types.js").WindowSupport>;
|
|
7
|
+
getCurrent: () => Promise<import("./types.js").WindowInfo>;
|
|
8
|
+
configure: (args: import("./types.js").ConfigureWindowArgs) => Promise<import("./types.js").WindowInfo>;
|
|
9
|
+
setTitle: (args: import("./types.js").SetTitleArgs) => Promise<import("./types.js").WindowInfo>;
|
|
10
|
+
setSize: (args: import("./types.js").SetSizeArgs) => Promise<import("./types.js").WindowInfo>;
|
|
11
|
+
center: () => Promise<import("./types.js").WindowInfo>;
|
|
12
|
+
maximize: () => Promise<import("./types.js").WindowInfo>;
|
|
13
|
+
minimize: () => Promise<import("./types.js").WindowInfo>;
|
|
14
|
+
restore: () => Promise<import("./types.js").WindowInfo>;
|
|
15
|
+
setFullscreen: (args: import("./types.js").SetFullscreenArgs) => Promise<import("./types.js").WindowInfo>;
|
|
16
|
+
onResized: (handler: (payload: import("./types.js").WindowInfo) => void) => (() => void);
|
|
17
|
+
onStateChanged: (handler: (payload: import("./types.js").WindowInfo) => void) => (() => void);
|
|
18
18
|
};
|
|
19
19
|
export declare const battery: {
|
|
20
|
-
getStatus: () => Promise<import("./
|
|
21
|
-
onChanged: (handler: (payload: import("./
|
|
20
|
+
getStatus: () => Promise<import("./types.js").BatteryStatus>;
|
|
21
|
+
onChanged: (handler: (payload: import("./types.js").BatteryStatus) => void) => (() => void);
|
|
22
22
|
};
|
|
23
23
|
export declare const browser: {
|
|
24
|
-
open: (args: import("./
|
|
24
|
+
open: (args: import("./types.js").BrowserOpenArgs) => Promise<import("./types.js").BrowserOpenResult>;
|
|
25
25
|
};
|
|
26
26
|
export declare const clipboard: {
|
|
27
|
-
getText: () => Promise<import("./
|
|
28
|
-
setText: (args: import("./
|
|
29
|
-
hasText: () => Promise<import("./
|
|
27
|
+
getText: () => Promise<import("./types.js").GetTextResult>;
|
|
28
|
+
setText: (args: import("./types.js").SetTextArgs) => Promise<import("./types.js").SetTextResult>;
|
|
29
|
+
hasText: () => Promise<import("./types.js").HasTextResult>;
|
|
30
30
|
};
|
|
31
31
|
export declare const connectivity: {
|
|
32
|
-
getStatus: () => Promise<import("./
|
|
33
|
-
onChanged: (handler: (payload: import("./
|
|
32
|
+
getStatus: () => Promise<import("./types.js").ConnectivityStatus>;
|
|
33
|
+
onChanged: (handler: (payload: import("./types.js").ConnectivityStatus) => void) => (() => void);
|
|
34
34
|
};
|
|
35
35
|
export declare const device: {
|
|
36
|
-
getInfo: () => Promise<import("./
|
|
37
|
-
getDisplay: () => Promise<import("./
|
|
36
|
+
getInfo: () => Promise<import("./types.js").DeviceInfoResult>;
|
|
37
|
+
getDisplay: () => Promise<import("./types.js").DisplayInfoResult>;
|
|
38
38
|
};
|
|
39
39
|
export declare const dialogs: {
|
|
40
|
-
alert: (args: import("./
|
|
41
|
-
confirm: (args: import("./
|
|
42
|
-
prompt: (args: import("./
|
|
40
|
+
alert: (args: import("./types.js").AlertArgs) => Promise<import("./types.js").AlertResult>;
|
|
41
|
+
confirm: (args: import("./types.js").ConfirmArgs) => Promise<import("./types.js").ConfirmResult>;
|
|
42
|
+
prompt: (args: import("./types.js").PromptArgs) => Promise<import("./types.js").PromptResult>;
|
|
43
43
|
};
|
|
44
44
|
export declare const email: {
|
|
45
|
-
compose: (args: import("./
|
|
45
|
+
compose: (args: import("./types.js").EmailComposeArgs) => Promise<import("./types.js").EmailComposeResult>;
|
|
46
46
|
};
|
|
47
47
|
export declare const essentials: {
|
|
48
|
-
getSupport: () => Promise<import("./
|
|
48
|
+
getSupport: () => Promise<import("./types.js").EssentialsSupport>;
|
|
49
49
|
};
|
|
50
50
|
export declare const filePicker: {
|
|
51
|
-
pickOne: (args: import("./
|
|
52
|
-
pickMultiple: (args: import("./
|
|
51
|
+
pickOne: (args: import("./types.js").FilePickerPickArgs) => Promise<import("./types.js").FilePickerPickOneResult>;
|
|
52
|
+
pickMultiple: (args: import("./types.js").FilePickerPickArgs) => Promise<import("./types.js").FilePickerPickMultipleResult>;
|
|
53
53
|
};
|
|
54
54
|
export declare const filesystem: {
|
|
55
|
-
readText: (args: import("./
|
|
56
|
-
writeText: (args: import("./
|
|
57
|
-
exists: (args: import("./
|
|
58
|
-
delete: (args: import("./
|
|
59
|
-
listDirectory: (args: import("./
|
|
55
|
+
readText: (args: import("./types.js").ReadTextArgs) => Promise<import("./types.js").ReadTextResult>;
|
|
56
|
+
writeText: (args: import("./types.js").WriteTextArgs) => Promise<import("./types.js").WriteTextResult>;
|
|
57
|
+
exists: (args: import("./types.js").ExistsArgs) => Promise<import("./types.js").ExistsResult>;
|
|
58
|
+
delete: (args: import("./types.js").DeleteArgs) => Promise<import("./types.js").DeleteResult>;
|
|
59
|
+
listDirectory: (args: import("./types.js").ListDirectoryArgs) => Promise<import("./types.js").ListDirectoryResult>;
|
|
60
60
|
};
|
|
61
61
|
export declare const launcher: {
|
|
62
|
-
open: (args: import("./
|
|
63
|
-
canOpen: (args: import("./
|
|
62
|
+
open: (args: import("./types.js").LauncherOpenArgs) => Promise<import("./types.js").LauncherOpenResult>;
|
|
63
|
+
canOpen: (args: import("./types.js").LauncherCanOpenArgs) => Promise<import("./types.js").LauncherCanOpenResult>;
|
|
64
64
|
};
|
|
65
65
|
export declare const notifications: {
|
|
66
|
-
show: (args: import("./
|
|
67
|
-
requestPermission: () => Promise<import("./
|
|
66
|
+
show: (args: import("./types.js").ShowArgs) => Promise<import("./types.js").ShowResult>;
|
|
67
|
+
requestPermission: () => Promise<import("./types.js").RequestPermissionResult>;
|
|
68
68
|
};
|
|
69
69
|
export declare const preferences: {
|
|
70
|
-
get: (args: import("./
|
|
71
|
-
set: (args: import("./
|
|
72
|
-
remove: (args: import("./
|
|
73
|
-
containsKey: (args: import("./
|
|
74
|
-
clear: () => Promise<import("./
|
|
70
|
+
get: (args: import("./types.js").PreferencesGetArgs) => Promise<import("./types.js").PreferencesGetResult>;
|
|
71
|
+
set: (args: import("./types.js").PreferencesSetArgs) => Promise<import("./types.js").PreferencesSetResult>;
|
|
72
|
+
remove: (args: import("./types.js").PreferencesRemoveArgs) => Promise<import("./types.js").PreferencesRemoveResult>;
|
|
73
|
+
containsKey: (args: import("./types.js").PreferencesContainsArgs) => Promise<import("./types.js").PreferencesContainsResult>;
|
|
74
|
+
clear: () => Promise<import("./types.js").PreferencesClearResult>;
|
|
75
75
|
};
|
|
76
76
|
export declare const runtime: {
|
|
77
|
-
onHotReloaded: (handler: (payload: import("./
|
|
77
|
+
onHotReloaded: (handler: (payload: import("./types.js").HotReloadedPayload) => void) => (() => void);
|
|
78
78
|
};
|
|
79
79
|
export declare const secureStorage: {
|
|
80
|
-
get: (args: import("./
|
|
81
|
-
set: (args: import("./
|
|
82
|
-
remove: (args: import("./
|
|
83
|
-
removeAll: () => Promise<import("./
|
|
80
|
+
get: (args: import("./types.js").SecureStorageGetArgs) => Promise<import("./types.js").SecureStorageGetResult>;
|
|
81
|
+
set: (args: import("./types.js").SecureStorageSetArgs) => Promise<import("./types.js").SecureStorageSetResult>;
|
|
82
|
+
remove: (args: import("./types.js").SecureStorageRemoveArgs) => Promise<import("./types.js").SecureStorageRemoveResult>;
|
|
83
|
+
removeAll: () => Promise<import("./types.js").SecureStorageRemoveAllResult>;
|
|
84
84
|
};
|
|
85
85
|
export declare const share: {
|
|
86
|
-
shareText: (args: import("./
|
|
86
|
+
shareText: (args: import("./types.js").ShareTextArgs) => Promise<import("./types.js").ShareResult>;
|
|
87
87
|
};
|
|
88
88
|
export declare const textToSpeech: {
|
|
89
|
-
speak: (args: import("./
|
|
89
|
+
speak: (args: import("./types.js").SpeakArgs) => Promise<import("./types.js").SpeakResult>;
|
|
90
90
|
};
|
|
91
91
|
export * from "./app.js";
|
|
92
92
|
export * from "./appWindow.js";
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface LauncherCanOpenResult {
|
|
6
|
-
canOpen: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface LauncherOpenArgs {
|
|
9
|
-
uri: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LauncherOpenResult {
|
|
12
|
-
success: boolean;
|
|
13
|
-
}
|
|
2
|
+
import type { LauncherCanOpenArgs, LauncherCanOpenResult, LauncherOpenArgs, LauncherOpenResult } from "./types.js";
|
|
3
|
+
export type { LauncherCanOpenArgs, LauncherCanOpenResult, LauncherOpenArgs, LauncherOpenResult };
|
|
14
4
|
export declare const createLauncher: (bridge: VidraBridge) => {
|
|
15
5
|
open: (args: LauncherOpenArgs) => Promise<LauncherOpenResult>;
|
|
16
6
|
canOpen: (args: LauncherCanOpenArgs) => Promise<LauncherCanOpenResult>;
|
|
17
7
|
};
|
|
18
|
-
export type
|
|
8
|
+
export type LauncherContract = ReturnType<typeof createLauncher>;
|
|
19
9
|
//# sourceMappingURL=launcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../../src/generated/launcher.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"launcher.d.ts","sourceRoot":"","sources":["../../src/generated/launcher.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnH,YAAY,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEjG,eAAO,MAAM,cAAc,WAAY,WAAW;IAChD,IAAI,SAAS,gBAAgB,KAAG,OAAO,CAAC,kBAAkB,CAAC;IAE3D,OAAO,SAAS,mBAAmB,KAAG,OAAO,CAAC,qBAAqB,CAAC;CAEpE,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../../src/generated/launcher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"launcher.js","sourceRoot":"","sources":["../../src/generated/launcher.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IACtD,IAAI,EAAE,CAAC,IAAsB,EAA+B,EAAE,CAC5D,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,IAAyB,EAAkC,EAAE,CACrE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,IAAI,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface ShowArgs {
|
|
6
|
-
title: string;
|
|
7
|
-
body?: string | null;
|
|
8
|
-
}
|
|
9
|
-
export interface ShowResult {
|
|
10
|
-
scheduled: boolean;
|
|
11
|
-
}
|
|
2
|
+
import type { RequestPermissionResult, ShowArgs, ShowResult } from "./types.js";
|
|
3
|
+
export type { RequestPermissionResult, ShowArgs, ShowResult };
|
|
12
4
|
export declare const createNotifications: (bridge: VidraBridge) => {
|
|
13
5
|
show: (args: ShowArgs) => Promise<ShowResult>;
|
|
14
6
|
requestPermission: () => Promise<RequestPermissionResult>;
|
|
15
7
|
};
|
|
16
|
-
export type
|
|
8
|
+
export type NotificationsContract = ReturnType<typeof createNotifications>;
|
|
17
9
|
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/generated/notifications.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/generated/notifications.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEhF,YAAY,EAAE,uBAAuB,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;AAE9D,eAAO,MAAM,mBAAmB,WAAY,WAAW;IACrD,IAAI,SAAS,QAAQ,KAAG,OAAO,CAAC,UAAU,CAAC;IAE3C,iBAAiB,QAAM,OAAO,CAAC,uBAAuB,CAAC;CAEvD,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/generated/notifications.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../../src/generated/notifications.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IAC3D,IAAI,EAAE,CAAC,IAAc,EAAuB,EAAE,CAC5C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,IAAI,CAAC;IACrD,iBAAiB,EAAE,GAAqC,EAAE,CACxD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,mBAAmB,CAAC;CAC7D,CAAC,CAAC"}
|
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface PreferencesContainsArgs {
|
|
6
|
-
key: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PreferencesContainsResult {
|
|
9
|
-
exists: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface PreferencesGetArgs {
|
|
12
|
-
key: string;
|
|
13
|
-
}
|
|
14
|
-
export interface PreferencesGetResult {
|
|
15
|
-
value?: string | null;
|
|
16
|
-
}
|
|
17
|
-
export interface PreferencesRemoveArgs {
|
|
18
|
-
key: string;
|
|
19
|
-
}
|
|
20
|
-
export interface PreferencesRemoveResult {
|
|
21
|
-
success: boolean;
|
|
22
|
-
}
|
|
23
|
-
export interface PreferencesSetArgs {
|
|
24
|
-
key: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}
|
|
27
|
-
export interface PreferencesSetResult {
|
|
28
|
-
success: boolean;
|
|
29
|
-
}
|
|
2
|
+
import type { PreferencesClearResult, PreferencesContainsArgs, PreferencesContainsResult, PreferencesGetArgs, PreferencesGetResult, PreferencesRemoveArgs, PreferencesRemoveResult, PreferencesSetArgs, PreferencesSetResult } from "./types.js";
|
|
3
|
+
export type { PreferencesClearResult, PreferencesContainsArgs, PreferencesContainsResult, PreferencesGetArgs, PreferencesGetResult, PreferencesRemoveArgs, PreferencesRemoveResult, PreferencesSetArgs, PreferencesSetResult };
|
|
30
4
|
export declare const createPreferences: (bridge: VidraBridge) => {
|
|
31
5
|
get: (args: PreferencesGetArgs) => Promise<PreferencesGetResult>;
|
|
32
6
|
set: (args: PreferencesSetArgs) => Promise<PreferencesSetResult>;
|
|
@@ -34,5 +8,5 @@ export declare const createPreferences: (bridge: VidraBridge) => {
|
|
|
34
8
|
containsKey: (args: PreferencesContainsArgs) => Promise<PreferencesContainsResult>;
|
|
35
9
|
clear: () => Promise<PreferencesClearResult>;
|
|
36
10
|
};
|
|
37
|
-
export type
|
|
11
|
+
export type PreferencesContract = ReturnType<typeof createPreferences>;
|
|
38
12
|
//# sourceMappingURL=preferences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../src/generated/preferences.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../src/generated/preferences.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEjP,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAC;AAE/N,eAAO,MAAM,iBAAiB,WAAY,WAAW;IACnD,GAAG,SAAS,kBAAkB,KAAG,OAAO,CAAC,oBAAoB,CAAC;IAE9D,GAAG,SAAS,kBAAkB,KAAG,OAAO,CAAC,oBAAoB,CAAC;IAE9D,MAAM,SAAS,qBAAqB,KAAG,OAAO,CAAC,uBAAuB,CAAC;IAEvE,WAAW,SAAS,uBAAuB,KAAG,OAAO,CAAC,yBAAyB,CAAC;IAEhF,KAAK,QAAM,OAAO,CAAC,sBAAsB,CAAC;CAE1C,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preferences.js","sourceRoot":"","sources":["../../src/generated/preferences.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preferences.js","sourceRoot":"","sources":["../../src/generated/preferences.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IACzD,GAAG,EAAE,CAAC,IAAwB,EAAiC,EAAE,CAC/D,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,CAAC;IAClD,GAAG,EAAE,CAAC,IAAwB,EAAiC,EAAE,CAC/D,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,EAAE,IAAI,CAAC;IAClD,MAAM,EAAE,CAAC,IAA2B,EAAoC,EAAE,CACxE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC;IACrD,WAAW,EAAE,CAAC,IAA6B,EAAsC,EAAE,CACjF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC;IAC1D,KAAK,EAAE,GAAoC,EAAE,CAC3C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC;CAC/C,CAAC,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
2
|
+
import type { HotReloadedPayload } from "./types.js";
|
|
3
|
+
export type { HotReloadedPayload };
|
|
5
4
|
export declare const createRuntime: (bridge: VidraBridge) => {
|
|
6
5
|
onHotReloaded: (handler: (payload: HotReloadedPayload) => void) => (() => void);
|
|
7
6
|
};
|
|
8
|
-
export type
|
|
7
|
+
export type RuntimeContract = ReturnType<typeof createRuntime>;
|
|
9
8
|
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/generated/runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/generated/runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,eAAO,MAAM,aAAa,WAAY,WAAW;IAC/C,aAAa,YAAY,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,KAAG,CAAC,MAAM,IAAI,CAAC;CAE7E,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/generated/runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/generated/runtime.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IACrD,aAAa,EAAE,CAAC,OAA8C,EAAgB,EAAE,CAC9E,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC;CACtD,CAAC,CAAC"}
|
|
@@ -1,31 +1,11 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface SecureStorageGetResult {
|
|
6
|
-
value?: string | null;
|
|
7
|
-
}
|
|
8
|
-
export interface SecureStorageRemoveAllResult {
|
|
9
|
-
success: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface SecureStorageRemoveArgs {
|
|
12
|
-
key: string;
|
|
13
|
-
}
|
|
14
|
-
export interface SecureStorageRemoveResult {
|
|
15
|
-
removed: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface SecureStorageSetArgs {
|
|
18
|
-
key: string;
|
|
19
|
-
value: string;
|
|
20
|
-
}
|
|
21
|
-
export interface SecureStorageSetResult {
|
|
22
|
-
success: boolean;
|
|
23
|
-
}
|
|
2
|
+
import type { SecureStorageGetArgs, SecureStorageGetResult, SecureStorageRemoveAllResult, SecureStorageRemoveArgs, SecureStorageRemoveResult, SecureStorageSetArgs, SecureStorageSetResult } from "./types.js";
|
|
3
|
+
export type { SecureStorageGetArgs, SecureStorageGetResult, SecureStorageRemoveAllResult, SecureStorageRemoveArgs, SecureStorageRemoveResult, SecureStorageSetArgs, SecureStorageSetResult };
|
|
24
4
|
export declare const createSecureStorage: (bridge: VidraBridge) => {
|
|
25
5
|
get: (args: SecureStorageGetArgs) => Promise<SecureStorageGetResult>;
|
|
26
6
|
set: (args: SecureStorageSetArgs) => Promise<SecureStorageSetResult>;
|
|
27
7
|
remove: (args: SecureStorageRemoveArgs) => Promise<SecureStorageRemoveResult>;
|
|
28
8
|
removeAll: () => Promise<SecureStorageRemoveAllResult>;
|
|
29
9
|
};
|
|
30
|
-
export type
|
|
10
|
+
export type SecureStorageContract = ReturnType<typeof createSecureStorage>;
|
|
31
11
|
//# sourceMappingURL=secureStorage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secureStorage.d.ts","sourceRoot":"","sources":["../../src/generated/secureStorage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"secureStorage.d.ts","sourceRoot":"","sources":["../../src/generated/secureStorage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAE/M,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC;AAE7L,eAAO,MAAM,mBAAmB,WAAY,WAAW;IACrD,GAAG,SAAS,oBAAoB,KAAG,OAAO,CAAC,sBAAsB,CAAC;IAElE,GAAG,SAAS,oBAAoB,KAAG,OAAO,CAAC,sBAAsB,CAAC;IAElE,MAAM,SAAS,uBAAuB,KAAG,OAAO,CAAC,yBAAyB,CAAC;IAE3E,SAAS,QAAM,OAAO,CAAC,4BAA4B,CAAC;CAEpD,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secureStorage.js","sourceRoot":"","sources":["../../src/generated/secureStorage.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"secureStorage.js","sourceRoot":"","sources":["../../src/generated/secureStorage.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IAC3D,GAAG,EAAE,CAAC,IAA0B,EAAmC,EAAE,CACnE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,KAAK,EAAE,IAAI,CAAC;IACpD,GAAG,EAAE,CAAC,IAA0B,EAAmC,EAAE,CACnE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,KAAK,EAAE,IAAI,CAAC;IACpD,MAAM,EAAE,CAAC,IAA6B,EAAsC,EAAE,CAC5E,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,CAAC;IACvD,SAAS,EAAE,GAA0C,EAAE,CACrD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,WAAW,CAAC;CACrD,CAAC,CAAC"}
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
export interface ShareTextArgs {
|
|
6
|
-
text: string;
|
|
7
|
-
title?: string | null;
|
|
8
|
-
subject?: string | null;
|
|
9
|
-
uri?: string | null;
|
|
10
|
-
}
|
|
2
|
+
import type { ShareResult, ShareTextArgs } from "./types.js";
|
|
3
|
+
export type { ShareResult, ShareTextArgs };
|
|
11
4
|
export declare const createShare: (bridge: VidraBridge) => {
|
|
12
5
|
shareText: (args: ShareTextArgs) => Promise<ShareResult>;
|
|
13
6
|
};
|
|
14
|
-
export type
|
|
7
|
+
export type ShareContract = ReturnType<typeof createShare>;
|
|
15
8
|
//# sourceMappingURL=share.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share.d.ts","sourceRoot":"","sources":["../../src/generated/share.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"share.d.ts","sourceRoot":"","sources":["../../src/generated/share.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE7D,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC;AAE3C,eAAO,MAAM,WAAW,WAAY,WAAW;IAC7C,SAAS,SAAS,aAAa,KAAG,OAAO,CAAC,WAAW,CAAC;CAEtD,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/generated/share.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"share.js","sourceRoot":"","sources":["../../src/generated/share.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IACnD,SAAS,EAAE,CAAC,IAAmB,EAAwB,EAAE,CACvD,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,IAAI,CAAC;CACnD,CAAC,CAAC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import type { VidraBridge } from "../bridge.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
pitch?: number | null;
|
|
5
|
-
volume?: number | null;
|
|
6
|
-
}
|
|
7
|
-
export interface SpeakResult {
|
|
8
|
-
success: boolean;
|
|
9
|
-
}
|
|
2
|
+
import type { SpeakArgs, SpeakResult } from "./types.js";
|
|
3
|
+
export type { SpeakArgs, SpeakResult };
|
|
10
4
|
export declare const createTextToSpeech: (bridge: VidraBridge) => {
|
|
11
5
|
speak: (args: SpeakArgs) => Promise<SpeakResult>;
|
|
12
6
|
};
|
|
13
|
-
export type
|
|
7
|
+
export type TextToSpeechContract = ReturnType<typeof createTextToSpeech>;
|
|
14
8
|
//# sourceMappingURL=textToSpeech.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textToSpeech.d.ts","sourceRoot":"","sources":["../../src/generated/textToSpeech.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"textToSpeech.d.ts","sourceRoot":"","sources":["../../src/generated/textToSpeech.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzD,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AAEvC,eAAO,MAAM,kBAAkB,WAAY,WAAW;IACpD,KAAK,SAAS,SAAS,KAAG,OAAO,CAAC,WAAW,CAAC;CAE9C,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textToSpeech.js","sourceRoot":"","sources":["../../src/generated/textToSpeech.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"textToSpeech.js","sourceRoot":"","sources":["../../src/generated/textToSpeech.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IAC1D,KAAK,EAAE,CAAC,IAAe,EAAwB,EAAE,CAC/C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,EAAE,IAAI,CAAC;CACtD,CAAC,CAAC"}
|