chore: Add in the properties to somewhere useful.

This commit is contained in:
J H
2024-03-11 17:06:00 -06:00
parent 4d402b2600
commit c99d9d95c5
4 changed files with 19 additions and 8 deletions

View File

@@ -32,7 +32,7 @@ export function setupInit<Manifest extends SDKManifest, Store>(
utils,
})
await opts.effects.exposeForDependents(services)
await opts.effects.exposeUi(ui)
await opts.effects.exposeUi({ paths: ui })
},
uninit: async (opts) => {
await migrations.uninit(opts)

View File

@@ -372,7 +372,9 @@ export type Effects = {
options: ExposeServicePaths<Store>,
): Promise<void>
exposeUi<Store = never>(options: ExposeUiPaths<Store>): Promise<void>
exposeUi<Store = never>(options: {
paths: ExposeUiPaths<Store>
}): Promise<void>
/**
* There are times that we want to see the addresses that where exported
* @param options.addressId If we want to filter the address id