@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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/dist/config.d.ts +1 -1
  3. package/dist/config.d.ts.map +1 -1
  4. package/dist/generated/app.d.ts +3 -12
  5. package/dist/generated/app.d.ts.map +1 -1
  6. package/dist/generated/app.js.map +1 -1
  7. package/dist/generated/appWindow.d.ts +3 -34
  8. package/dist/generated/appWindow.d.ts.map +1 -1
  9. package/dist/generated/appWindow.js.map +1 -1
  10. package/dist/generated/battery.d.ts +3 -7
  11. package/dist/generated/battery.d.ts.map +1 -1
  12. package/dist/generated/battery.js.map +1 -1
  13. package/dist/generated/browser.d.ts +3 -8
  14. package/dist/generated/browser.d.ts.map +1 -1
  15. package/dist/generated/browser.js.map +1 -1
  16. package/dist/generated/clipboard.d.ts +3 -13
  17. package/dist/generated/clipboard.d.ts.map +1 -1
  18. package/dist/generated/clipboard.js.map +1 -1
  19. package/dist/generated/connectivity.d.ts +3 -5
  20. package/dist/generated/connectivity.d.ts.map +1 -1
  21. package/dist/generated/connectivity.js.map +1 -1
  22. package/dist/generated/device.d.ts +3 -17
  23. package/dist/generated/device.d.ts.map +1 -1
  24. package/dist/generated/device.js.map +1 -1
  25. package/dist/generated/dialogs.d.ts +3 -27
  26. package/dist/generated/dialogs.d.ts.map +1 -1
  27. package/dist/generated/dialogs.js.map +1 -1
  28. package/dist/generated/email.d.ts +3 -11
  29. package/dist/generated/email.d.ts.map +1 -1
  30. package/dist/generated/email.js.map +1 -1
  31. package/dist/generated/essentials.d.ts +3 -15
  32. package/dist/generated/essentials.d.ts.map +1 -1
  33. package/dist/generated/essentials.js.map +1 -1
  34. package/dist/generated/filePicker.d.ts +3 -15
  35. package/dist/generated/filePicker.d.ts.map +1 -1
  36. package/dist/generated/filePicker.js.map +1 -1
  37. package/dist/generated/filesystem.d.ts +3 -36
  38. package/dist/generated/filesystem.d.ts.map +1 -1
  39. package/dist/generated/filesystem.js.map +1 -1
  40. package/dist/generated/index.d.ts +52 -52
  41. package/dist/generated/launcher.d.ts +3 -13
  42. package/dist/generated/launcher.d.ts.map +1 -1
  43. package/dist/generated/launcher.js.map +1 -1
  44. package/dist/generated/notifications.d.ts +3 -11
  45. package/dist/generated/notifications.d.ts.map +1 -1
  46. package/dist/generated/notifications.js.map +1 -1
  47. package/dist/generated/preferences.d.ts +3 -29
  48. package/dist/generated/preferences.d.ts.map +1 -1
  49. package/dist/generated/preferences.js.map +1 -1
  50. package/dist/generated/runtime.d.ts +3 -4
  51. package/dist/generated/runtime.d.ts.map +1 -1
  52. package/dist/generated/runtime.js.map +1 -1
  53. package/dist/generated/secureStorage.d.ts +3 -23
  54. package/dist/generated/secureStorage.d.ts.map +1 -1
  55. package/dist/generated/secureStorage.js.map +1 -1
  56. package/dist/generated/share.d.ts +3 -10
  57. package/dist/generated/share.d.ts.map +1 -1
  58. package/dist/generated/share.js.map +1 -1
  59. package/dist/generated/textToSpeech.d.ts +3 -9
  60. package/dist/generated/textToSpeech.d.ts.map +1 -1
  61. package/dist/generated/textToSpeech.js.map +1 -1
  62. package/dist/generated/types.d.ts +281 -0
  63. package/dist/generated/types.d.ts.map +1 -0
  64. package/dist/generated/types.js +3 -0
  65. package/dist/generated/types.js.map +1 -0
  66. package/package.json +1 -1
@@ -1,92 +1,92 @@
1
1
  export declare const app: {
2
- getInfo: () => Promise<import("./app.js").AppInfoResult>;
3
- getTheme: () => Promise<import("./app.js").ThemeResult>;
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("./appWindow.js").WindowSupport>;
7
- getCurrent: () => Promise<import("./appWindow.js").WindowInfo>;
8
- configure: (args: import("./appWindow.js").ConfigureWindowArgs) => Promise<import("./appWindow.js").WindowInfo>;
9
- setTitle: (args: import("./appWindow.js").SetTitleArgs) => Promise<import("./appWindow.js").WindowInfo>;
10
- setSize: (args: import("./appWindow.js").SetSizeArgs) => Promise<import("./appWindow.js").WindowInfo>;
11
- center: () => Promise<import("./appWindow.js").WindowInfo>;
12
- maximize: () => Promise<import("./appWindow.js").WindowInfo>;
13
- minimize: () => Promise<import("./appWindow.js").WindowInfo>;
14
- restore: () => Promise<import("./appWindow.js").WindowInfo>;
15
- setFullscreen: (args: import("./appWindow.js").SetFullscreenArgs) => Promise<import("./appWindow.js").WindowInfo>;
16
- onResized: (handler: (payload: import("./appWindow.js").WindowInfo) => void) => (() => void);
17
- onStateChanged: (handler: (payload: import("./appWindow.js").WindowInfo) => void) => (() => void);
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("./battery.js").BatteryStatus>;
21
- onChanged: (handler: (payload: import("./battery.js").BatteryStatus) => void) => (() => void);
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("./browser.js").BrowserOpenArgs) => Promise<import("./browser.js").BrowserOpenResult>;
24
+ open: (args: import("./types.js").BrowserOpenArgs) => Promise<import("./types.js").BrowserOpenResult>;
25
25
  };
26
26
  export declare const clipboard: {
27
- getText: () => Promise<import("./clipboard.js").GetTextResult>;
28
- setText: (args: import("./clipboard.js").SetTextArgs) => Promise<import("./clipboard.js").SetTextResult>;
29
- hasText: () => Promise<import("./clipboard.js").HasTextResult>;
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("./connectivity.js").ConnectivityStatus>;
33
- onChanged: (handler: (payload: import("./connectivity.js").ConnectivityStatus) => void) => (() => void);
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("./device.js").DeviceInfoResult>;
37
- getDisplay: () => Promise<import("./device.js").DisplayInfoResult>;
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("./dialogs.js").AlertArgs) => Promise<import("./dialogs.js").AlertResult>;
41
- confirm: (args: import("./dialogs.js").ConfirmArgs) => Promise<import("./dialogs.js").ConfirmResult>;
42
- prompt: (args: import("./dialogs.js").PromptArgs) => Promise<import("./dialogs.js").PromptResult>;
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("./email.js").EmailComposeArgs) => Promise<import("./email.js").EmailComposeResult>;
45
+ compose: (args: import("./types.js").EmailComposeArgs) => Promise<import("./types.js").EmailComposeResult>;
46
46
  };
47
47
  export declare const essentials: {
48
- getSupport: () => Promise<import("./essentials.js").EssentialsSupport>;
48
+ getSupport: () => Promise<import("./types.js").EssentialsSupport>;
49
49
  };
50
50
  export declare const filePicker: {
51
- pickOne: (args: import("./filePicker.js").FilePickerPickArgs) => Promise<import("./filePicker.js").FilePickerPickOneResult>;
52
- pickMultiple: (args: import("./filePicker.js").FilePickerPickArgs) => Promise<import("./filePicker.js").FilePickerPickMultipleResult>;
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("./filesystem.js").ReadTextArgs) => Promise<import("./filesystem.js").ReadTextResult>;
56
- writeText: (args: import("./filesystem.js").WriteTextArgs) => Promise<import("./filesystem.js").WriteTextResult>;
57
- exists: (args: import("./filesystem.js").ExistsArgs) => Promise<import("./filesystem.js").ExistsResult>;
58
- delete: (args: import("./filesystem.js").DeleteArgs) => Promise<import("./filesystem.js").DeleteResult>;
59
- listDirectory: (args: import("./filesystem.js").ListDirectoryArgs) => Promise<import("./filesystem.js").ListDirectoryResult>;
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("./launcher.js").LauncherOpenArgs) => Promise<import("./launcher.js").LauncherOpenResult>;
63
- canOpen: (args: import("./launcher.js").LauncherCanOpenArgs) => Promise<import("./launcher.js").LauncherCanOpenResult>;
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("./notifications.js").ShowArgs) => Promise<import("./notifications.js").ShowResult>;
67
- requestPermission: () => Promise<import("./notifications.js").RequestPermissionResult>;
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("./preferences.js").PreferencesGetArgs) => Promise<import("./preferences.js").PreferencesGetResult>;
71
- set: (args: import("./preferences.js").PreferencesSetArgs) => Promise<import("./preferences.js").PreferencesSetResult>;
72
- remove: (args: import("./preferences.js").PreferencesRemoveArgs) => Promise<import("./preferences.js").PreferencesRemoveResult>;
73
- containsKey: (args: import("./preferences.js").PreferencesContainsArgs) => Promise<import("./preferences.js").PreferencesContainsResult>;
74
- clear: () => Promise<import("./preferences.js").PreferencesClearResult>;
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("./runtime.js").HotReloadedPayload) => void) => (() => void);
77
+ onHotReloaded: (handler: (payload: import("./types.js").HotReloadedPayload) => void) => (() => void);
78
78
  };
79
79
  export declare const secureStorage: {
80
- get: (args: import("./secureStorage.js").SecureStorageGetArgs) => Promise<import("./secureStorage.js").SecureStorageGetResult>;
81
- set: (args: import("./secureStorage.js").SecureStorageSetArgs) => Promise<import("./secureStorage.js").SecureStorageSetResult>;
82
- remove: (args: import("./secureStorage.js").SecureStorageRemoveArgs) => Promise<import("./secureStorage.js").SecureStorageRemoveResult>;
83
- removeAll: () => Promise<import("./secureStorage.js").SecureStorageRemoveAllResult>;
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("./share.js").ShareTextArgs) => Promise<import("./share.js").ShareResult>;
86
+ shareText: (args: import("./types.js").ShareTextArgs) => Promise<import("./types.js").ShareResult>;
87
87
  };
88
88
  export declare const textToSpeech: {
89
- speak: (args: import("./textToSpeech.js").SpeakArgs) => Promise<import("./textToSpeech.js").SpeakResult>;
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
- export interface LauncherCanOpenArgs {
3
- uri: string;
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 Launcher = ReturnType<typeof createLauncher>;
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;AAEhD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,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,QAAQ,GAAG,UAAU,CAAC,OAAO,cAAc,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":"AAmBA,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
+ {"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
- export interface RequestPermissionResult {
3
- granted: boolean;
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 Notifications = ReturnType<typeof createNotifications>;
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;AAEhD,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,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,aAAa,GAAG,UAAU,CAAC,OAAO,mBAAmB,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":"AAgBA,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
+ {"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
- export interface PreferencesClearResult {
3
- success: boolean;
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 Preferences = ReturnType<typeof createPreferences>;
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;AAEhD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,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,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,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":"AAwCA,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
+ {"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
- export interface HotReloadedPayload {
3
- updatedTypes: string[];
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 Runtime = ReturnType<typeof createRuntime>;
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;AAEhD,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,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,OAAO,GAAG,UAAU,CAAC,OAAO,aAAa,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":"AAOA,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
+ {"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
- export interface SecureStorageGetArgs {
3
- key: string;
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 SecureStorage = ReturnType<typeof createSecureStorage>;
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;AAEhD,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,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,aAAa,GAAG,UAAU,CAAC,OAAO,mBAAmB,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":"AAgCA,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
+ {"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
- export interface ShareResult {
3
- success: boolean;
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 Share = ReturnType<typeof createShare>;
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;AAEhD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,WAAY,WAAW;IAC7C,SAAS,SAAS,aAAa,KAAG,OAAO,CAAC,WAAW,CAAC;CAEtD,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,WAAW,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":"AAcA,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
+ {"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
- export interface SpeakArgs {
3
- text: string;
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 TextToSpeech = ReturnType<typeof createTextToSpeech>;
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;AAEhD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,WAAY,WAAW;IACpD,KAAK,SAAS,SAAS,KAAG,OAAO,CAAC,WAAW,CAAC;CAE9C,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,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":"AAaA,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"}
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"}