InterfacePollRepository

interface PollRepository {
    $select(id: string): {
        votes: {
            create(params: VotePollParams, meta?: HttpMetaParams<"json">): Promise<Poll>;
        };
        fetch(meta?: HttpMetaParams<"none">): Promise<Poll>;
    };
}

Methods

Methods