import { getSystemLogStore } from "./store.js";
export async function listSystemLogs({ partnerId }) {
    if (!partnerId)
        return [];
    const store = await getSystemLogStore();
    const values = await store.values();
    return values.filter(value => value.partnerId === partnerId || !value.partnerId);
}
//# sourceMappingURL=list-system-logs.js.map