17 lines
561 B
TypeScript
17 lines
561 B
TypeScript
import { WithoutParseKeys } from '../parse';
|
|
import { RequestConfig } from '../requestConfig';
|
|
import { Entry } from '../types/entry';
|
|
import { IsoTime } from '../types/primitives';
|
|
export interface UpdateEntryResponse {
|
|
success: {
|
|
updatedAt: IsoTime;
|
|
};
|
|
}
|
|
type Input = Omit<WithoutParseKeys<Entry>, 'UpdateID'>;
|
|
export declare function updateEntry(config: RequestConfig, data: Input | Input[]): {
|
|
readonly id: "updateEntry";
|
|
readonly path: string;
|
|
readonly method: "PUT";
|
|
readonly body: WithoutParseKeys<Entry>;
|
|
}[];
|
|
export {};
|