From 3b7d52abb0e7de00bdf92ee3482a4cae1f6b7d64 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 3 Jan 2022 01:02:00 +0100 Subject: feat: Add Profile and Service stores MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the main process, it is optional to specify the ID of a Profile or a Service. The missing ID will be filled in with a randomly generated one. Moreover, services without a profile will get a profile generated with the same name. Signed-off-by: Kristóf Marussy --- packages/shared/src/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'packages/shared/src/index.ts') diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts index 6383f63..9f4e9b3 100644 --- a/packages/shared/src/index.ts +++ b/packages/shared/src/index.ts @@ -32,6 +32,20 @@ export type { } from './stores/Config'; export { config } from './stores/Config'; +export type { + Profile, + ProfileSnapshotIn, + ProfileSnapshotOut, +} from './stores/Profile'; +export { profile } from './stores/Profile'; + +export type { + Service, + ServiceSnapshotIn, + ServiceSnapshotOut, +} from './stores/Service'; +export { service } from './stores/Service'; + export type { SharedStore, SharedStoreListener, -- cgit v1.2.3-54-g00ecf