mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
chore: Update to remove some wrapper data
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { StartSDK } from "../StartSDK"
|
import { StartSDK } from "../StartSDK"
|
||||||
|
|
||||||
export type WrapperData = any
|
export type Manifest = any
|
||||||
export const sdk = StartSDK.of()
|
export const sdk = StartSDK.of()
|
||||||
.withManifest<WrapperData>()
|
.withManifest<Manifest>()
|
||||||
.withStore<{ storeRoot: { storeLeaf: "value" } }>()
|
.withStore<{ storeRoot: { storeLeaf: "value" } }>()
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const todo = <A>(): A => {
|
|||||||
throw new Error("not implemented")
|
throw new Error("not implemented")
|
||||||
}
|
}
|
||||||
const noop = () => {}
|
const noop = () => {}
|
||||||
describe("wrapperData", () => {
|
describe("Store", () => {
|
||||||
test("types", async () => {
|
test("types", async () => {
|
||||||
;async () => {
|
;async () => {
|
||||||
utils<WrapperType>(todo<Effects>()).store.setOwn("/config", {
|
utils<WrapperType>(todo<Effects>()).store.setOwn("/config", {
|
||||||
|
|||||||
Reference in New Issue
Block a user