mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
feat: Add in the new types of the file and the value
This commit is contained in:
@@ -4,10 +4,15 @@ import { Utils } from "../util/utils"
|
||||
export type SetupExports<Store> = (opts: {
|
||||
effects: Effects
|
||||
utils: Utils<Store>
|
||||
}) => {
|
||||
ui: ExposeUiPaths<Store>
|
||||
services: ExposeServicePaths<Store>
|
||||
}
|
||||
}) =>
|
||||
| {
|
||||
ui: ExposeUiPaths<Store>
|
||||
services: ExposeServicePaths<Store>
|
||||
}
|
||||
| Promise<{
|
||||
ui: ExposeUiPaths<Store>
|
||||
services: ExposeServicePaths<Store>
|
||||
}>
|
||||
|
||||
export const setupExports = <Store>(fn: (opts: SetupExports<Store>) => void) =>
|
||||
fn
|
||||
|
||||
Reference in New Issue
Block a user