Files
vendoo/app/modules/listings/repository.mjs
T
Masterluke77andGitHub 6f48827f4d Vendoo 1.41.2 – Git Ignore Boundary & Module Tracking Hotfix (#18)
* docs: prepare Vendoo 1.41.2 git-ignore boundary hotfix

* fix: track native source modules with root-anchored runtime ignores
2026-07-09 17:09:00 +02:00

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,
});