@zendesk/react-measure-timing-hooks
Version:
react hooks for measuring time to interactive and time to render of components
26 lines (23 loc) • 700 B
text/typescript
export interface TicketIdRelationSchemasFixture {
readonly ticket: {
readonly ticketId: StringConstructor
}
}
export interface UserIdRelationSchemasFixture {
readonly user: {
readonly userId: StringConstructor
}
}
export interface GlobalRelationSchemasFixture {
readonly global: Record<string, never>
}
export interface TicketAndUserAndGlobalRelationSchemasFixture
extends TicketIdRelationSchemasFixture,
UserIdRelationSchemasFixture,
GlobalRelationSchemasFixture {}
export const ticketAndUserAndGlobalRelationSchemasFixture: TicketAndUserAndGlobalRelationSchemasFixture =
{
global: {},
ticket: { ticketId: String },
user: { userId: String },
} as const