UNPKG

condoit

Version:

[![](https://img.shields.io/badge/Docs-Docs-00a02e?logo=github&style=for-the-badge&color=0000ff)](https://securisec.github.io/condoit/) ![](https://img.shields.io/npm/v/condoit?style=for-the-badge)

45 lines (41 loc) 885 B
import { ErrorCodes, RetSearchConstants, BeforeAfterLimit, phid } from './iGlobal'; export interface PollSearch extends BeforeAfterLimit { queryKey: string; constraints: { ids: Array<number>; phids: Array<phid>; authorPHIDs: Array<phid>; statuses: ['open' | 'closed']; subscribers: Array<string>; projects: Array<string>; }; attachments: { subscribers: boolean; projects: boolean; }; order: any; } export interface retPollSearchData extends RetSearchConstants { fields: { name: string; authorPHID: phid; spacePHID: phid; dateCreated: number; dateModified: number; policy: { view: string }; }; attachments: object; } export interface RetPollSearch extends ErrorCodes { result: { data: Array<retPollSearchData>; maps: object; query: { queryKey: string }; cursor: { limit: number; after: string; before: string; order: string }; }; }