/** * Public key directory API response interfaces. * * These are the data-shape types that live in brightchain-lib so both * frontend and backend can consume them. The Express-specific wrappers * (extending Response) live in brightchain-api-lib. * * Requirements: 5.1-5.10 */ import { IApiEnvelope } from '../communication'; import { IPublicProfile } from '../identity/publicProfile'; export interface IDirectorySearchResultItem { profile: IPublicProfile; relevanceScore: number; } export type ISearchDirectoryResponse = IApiEnvelope<{ results: ReadonlyArray>; totalCount: number; hasMore: boolean; }>; export type IGetProfileResponse = IApiEnvelope>; export type IUpdateProfileResponse = IApiEnvelope>; export type ITogglePrivacyResponse = IApiEnvelope<{ privacyMode: boolean; }>; //# sourceMappingURL=directoryResponses.d.ts.map