You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { Laws, type WriteEntry } from 'foldkit-entity'
import * as Domain from './domain.js'
/** Every declared write the domain exports, whatever it is named, by name: a module namespace's order is the runtime's (Node sorts it, a bundler may not). */
const writes = Object.values(Domain)
.filter(
(value): value is WriteEntry & typeof value =>
typeof value === 'object' && value !== null && 'write' in value && value.write !== undefined,