mirror of
https://github.com/supabase/supabase.git
synced 2026-07-05 09:05:10 +08:00
9 lines
266 B
TypeScript
9 lines
266 B
TypeScript
import { LogData } from 'components/interfaces/Settings/Logs'
|
|
|
|
export const logDataFixture = (attrs: Partial<LogData>): LogData => ({
|
|
id: `some-uuid-${new Date().getTime()}`,
|
|
timestamp: new Date().getTime() * 1000,
|
|
event_message: 'first event',
|
|
...attrs,
|
|
})
|