TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.
TypeScript graphviewkanban-boardnodejsproductivityproject-managementself-hostedtasktask-managementtask-managertodoapp
import { BillingRepository } from '../BillingRepository'
import { isOrgAdminFor } from './is-org-admin-for'
const repository = new BillingRepository()
export const isOrgAdminForSeller = isOrgAdminFor(async (id) => (await repository.fetchSellerById(id))?.organizationId ?? null)
export const isOrgAdminForCounterparty = isOrgAdminFor(
async (id) => (await repository.fetchCounterpartyById(id))?.organizationId ?? null,
)