(id: string)
| 15 | |
| 16 | export namespace User { |
| 17 | const assertNotSelf = (id: string) => { |
| 18 | if (Actor.userID() !== id) return |
| 19 | throw new Error(`Expected not self actor, got self actor`) |
| 20 | } |
| 21 | |
| 22 | export const list = fn(z.void(), () => |
| 23 | Database.use((tx) => |