push
github
0 of 137 branches covered (0.0%)
Branch coverage included in aggregate %.
0 of 320 new or added lines in 31 files covered. (0.0%)
0 of 7157 relevant lines covered (0.0%)
0.0 hits per line
NEW
|
import type { FamilyMetadata } from "~/packages/atom.io/src"
|
|
NEW
|
import type { Store } from "../store"
|
× |
NEW
|
import type { Subject } from "../subject"
|
× |
NEW
|
|
× |
5 |
export * from "./create-atom" |
× |
NEW
|
export * from "./create-regular-atom" |
× |
7 |
export * from "./delete-atom" |
× |
8 |
export * from "./is-default" |
× |
NEW
|
|
× |
NEW
|
export type Atom<T> = {
|
× |
NEW
|
key: string |
× |
NEW
|
type: `atom` |
× |
NEW
|
mutable?: boolean
|
× |
NEW
|
family?: FamilyMetadata |
× |
NEW
|
install: (store: Store) => void
|
× |
NEW
|
subject: Subject<{ newValue: T; oldValue: T }> |
× |
NEW
|
default: T | (() => T)
|
× |
NEW
|
cleanup?: () => void
|
× |
NEW
|
} |
× |