diff options
Diffstat (limited to 'packages/shared/src/index.ts')
-rw-r--r-- | packages/shared/src/index.ts | 60 |
1 files changed, 47 insertions, 13 deletions
diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index 3d30488..2e06234 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts | |||
@@ -18,37 +18,71 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | export type { default as SophieRenderer } from './contextBridge/SophieRenderer'; | 21 | export type { default as SophieRenderer } from './contextBridge/SophieRenderer.js'; |
22 | 22 | ||
23 | export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc'; | 23 | export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc.js'; |
24 | 24 | ||
25 | export { Action, BrowserViewBounds, ThemeSource } from './schemas'; | 25 | export { Action } from './schemas/Action.js'; |
26 | |||
27 | export { BrowserViewBounds } from './schemas/BrowserViewBounds.js'; | ||
28 | |||
29 | export { ServiceAction } from './schemas/ServiceAction.js'; | ||
30 | |||
31 | export { ThemeSource } from './schemas/ThemeSource.js'; | ||
32 | |||
33 | export { Translation } from './schemas/Translation.js'; | ||
34 | |||
35 | export type { | ||
36 | CertificatePrincipal, | ||
37 | CertificateSnapshotIn, | ||
38 | } from './stores/Certificate.js'; | ||
39 | export { default as Certificate } from './stores/Certificate.js'; | ||
26 | 40 | ||
27 | export type { | 41 | export type { |
28 | GlobalSettingsSnapshotIn, | 42 | GlobalSettingsSnapshotIn, |
29 | GlobalSettingsSnapshotOut, | 43 | GlobalSettingsSnapshotOut, |
30 | } from './stores/GlobalSettings'; | 44 | } from './stores/GlobalSettingsBase.js'; |
31 | export { default as GlobalSettings } from './stores/GlobalSettings'; | 45 | export { |
46 | default as GlobalSettingsBase, | ||
47 | defineGlobalSettingsModel, | ||
48 | SYSTEM_LOCALE, | ||
49 | } from './stores/GlobalSettingsBase.js'; | ||
32 | 50 | ||
33 | export { default as Profile } from './stores/Profile'; | 51 | export { default as Profile } from './stores/Profile.js'; |
34 | 52 | ||
35 | export type { | 53 | export type { |
36 | ProfileSettingsSnapshotIn, | 54 | ProfileSettingsSnapshotIn, |
37 | ProfileSettingsSnapshotOut, | 55 | ProfileSettingsSnapshotOut, |
38 | } from './stores/ProfileSettings'; | 56 | } from './stores/ProfileSettings.js'; |
39 | export { default as ProfileSettings } from './stores/ProfileSettings'; | 57 | export { default as ProfileSettings } from './stores/ProfileSettings.js'; |
40 | 58 | ||
41 | export { default as Service } from './stores/Service'; | 59 | export { |
60 | default as ServiceBase, | ||
61 | defineServiceModel, | ||
62 | SecurityLabelKind, | ||
63 | } from './stores/ServiceBase.js'; | ||
42 | 64 | ||
43 | export type { | 65 | export type { |
44 | ServiceSettingsSnapshotIn, | 66 | ServiceSettingsSnapshotIn, |
45 | ServiceSettingsSnapshotOut, | 67 | ServiceSettingsSnapshotOut, |
46 | } from './stores/ServiceSettings'; | 68 | } from './stores/ServiceSettingsBase.js'; |
47 | export { default as ServiceSettings } from './stores/ServiceSettings'; | 69 | export { |
70 | default as ServiceSettingsBase, | ||
71 | defineServiceSettingsModel, | ||
72 | } from './stores/ServiceSettingsBase.js'; | ||
73 | |||
74 | export type { ServiceStateSnapshotIn } from './stores/ServiceState.js'; | ||
75 | export { default as ServiceState } from './stores/ServiceState.js'; | ||
48 | 76 | ||
49 | export type { | 77 | export type { |
50 | SharedStoreListener, | 78 | SharedStoreListener, |
51 | SharedStoreSnapshotIn, | 79 | SharedStoreSnapshotIn, |
52 | SharedStoreSnapshotOut, | 80 | SharedStoreSnapshotOut, |
53 | } from './stores/SharedStore'; | 81 | } from './stores/SharedStoreBase.js'; |
54 | export { default as SharedStore } from './stores/SharedStore'; | 82 | export { |
83 | default as SharedStoreBase, | ||
84 | defineSharedStoreModel, | ||
85 | FALLBACK_LOCALE, | ||
86 | } from './stores/SharedStoreBase.js'; | ||
87 | |||
88 | export { default as WritingDirection } from './stores/WritingDirection.js'; | ||