UNPKG

trello-for-wolves

Version:
16 lines (15 loc) 734 B
import { CustomFieldOptionRecord, TypedFetch } from "../typeDefs"; import { BaseResource } from "./BaseResource"; export declare class CustomFieldOption extends BaseResource { getOption(): TypedFetch<CustomFieldOptionRecord>; getOptions(): TypedFetch<CustomFieldOptionRecord[]>; /** * This is the same as `getOptions()`, I added it to make more sense in the * context of a card resource. */ getCustomFieldItems(): TypedFetch<CustomFieldOptionRecord[]>; addOption(option: CustomFieldOptionRecord): TypedFetch<CustomFieldOptionRecord>; updateOption(option: CustomFieldOptionRecord): TypedFetch<CustomFieldOptionRecord>; deleteOption(): TypedFetch<unknown>; private stringifyOptionValue; }