payload
Version:
Node, React, Headless CMS and Application Framework built on Next.js
25 lines (24 loc) • 664 B
JavaScript
// Map internal operation names to HookOperationType
export const operationToHookOperation = {
count: 'count',
countVersions: 'countVersions',
create: 'create',
delete: 'delete',
deleteByID: 'delete',
find: 'read',
findByID: 'read',
findDistinct: 'readDistinct',
findVersionByID: 'read',
findVersions: 'read',
forgotPassword: 'forgotPassword',
login: 'login',
read: 'read',
readDistinct: 'readDistinct',
refresh: 'refresh',
resetPassword: 'resetPassword',
restoreVersion: 'restoreVersion',
unlock: 'unlock',
update: 'update',
updateByID: 'update'
};
//# sourceMappingURL=types.js.map