( value: T, )
| 29 | } |
| 30 | |
| 31 | export const omitVirtualProps = <T extends Record<string, any>>( |
| 32 | value: T, |
| 33 | ): Omit<T, '$synced' | '$origin' | '$key' | '$collectionId'> => { |
| 34 | const { |
| 35 | $synced: _synced, |
| 36 | $origin: _origin, |
| 37 | $key: _key, |
| 38 | $collectionId: _collectionId, |
| 39 | ...rest |
| 40 | } = value as Record<string, unknown> |
| 41 | return rest as any |
| 42 | } |
| 43 | |
| 44 | // Index usage tracking utilities |
| 45 | export interface IndexUsageStats { |
nothing calls this directly
no outgoing calls
no test coverage detected