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