* docs: prepare Vendoo 1.41.2 git-ignore boundary hotfix * fix: track native source modules with root-anchored runtime ignores
19 lines
559 B
JavaScript
19 lines
559 B
JavaScript
import {
|
|
createListing, getListing, getListings, updateListing, softDeleteListing,
|
|
restoreListing, getDeletedListings, permanentlyDeleteListing, getTrashCount,
|
|
duplicateListing,
|
|
} from '../../../lib/db.mjs';
|
|
|
|
export const listingsRepository = Object.freeze({
|
|
create: createListing,
|
|
get: getListing,
|
|
list: getListings,
|
|
update: updateListing,
|
|
softDelete: softDeleteListing,
|
|
restore: restoreListing,
|
|
listDeleted: getDeletedListings,
|
|
permanentDelete: permanentlyDeleteListing,
|
|
trashCount: getTrashCount,
|
|
duplicate: duplicateListing,
|
|
});
|