about summary refs log tree commit diff
path: root/src/state/queries/nuxs/types.ts
blob: 475bdd9429c6fe112c16b91eb9fb437900537f8a (plain) (blame)
1
2
3
4
5
6
7
import {type AppBskyActorDefs} from '@atproto/api'

export type Data = Record<string, unknown> | undefined

export type BaseNux<
  T extends Pick<AppBskyActorDefs.Nux, 'id' | 'expiresAt'> & {data: Data},
> = Pick<AppBskyActorDefs.Nux, 'id' | 'completed' | 'expiresAt'> & T