MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getShareOverviewById

Function getShareOverviewById

packages/db/src/services/share.service.ts:4–13  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

2import { getProjectAccess } from './access.service';
3
4export function getShareOverviewById(id: string) {
5 return db.shareOverview.findFirst({
6 where: {
7 id,
8 },
9 include: {
10 project: true,
11 },
12 });
13}
14
15export function getShareByProjectId(projectId: string) {
16 return db.shareOverview.findUnique({

Callers 1

auth.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected