| 158 | |
| 159 | // Storage interface (carried forward from our fork — our design) |
| 160 | export interface PinStorage { |
| 161 | load(pageUrl: string): Promise<Pin[]>; |
| 162 | save(pin: Pin): Promise<void>; |
| 163 | update(id: string, patch: Partial<Pin>): Promise<void>; |
| 164 | delete(id: string): Promise<void>; |
| 165 | list(filter?: { pageUrl?: string; status?: PinStatus }): Promise<Pin[]>; |
| 166 | clear(pageUrl?: string): Promise<void>; |
| 167 | } |
| 168 | |
| 169 | // Configuration |
| 170 | export interface PinpointConfig { |
no outgoing calls
no test coverage detected