hadron-document
Version:
Hadron Document
23 lines • 607 B
TypeScript
import StandardEditor from './standard';
import type { BSONValue } from '../utils';
/**
* CRUD editor for object id values.
*/
export default class ObjectIdEditor extends StandardEditor {
/**
* Complete the object id edit by converting the valid string to an object id
* object or leaving as invalid.
*/
complete(): void;
/**
* Edit the element with the provided value.
*
* @param {Object} value - The new value.
*/
edit(value: BSONValue): void;
/**
* Start the object id edit.
*/
start(): void;
}
//# sourceMappingURL=objectid.d.ts.map