mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 18:31:54 +00:00
14 lines
354 B
TypeScript
14 lines
354 B
TypeScript
import { Effects, ExposeServicePaths, ExposeUiPaths } from "../types"
|
|
import { Utils } from "../util/utils"
|
|
|
|
export type SetupExports<Store> = (opts: {
|
|
effects: Effects
|
|
utils: Utils<Store>
|
|
}) => {
|
|
ui: ExposeUiPaths<Store>
|
|
services: ExposeServicePaths<Store>
|
|
}
|
|
|
|
export const setupExports = <Store>(fn: (opts: SetupExports<Store>) => void) =>
|
|
fn
|