MCPcopy
hub / github.com/directus/directus / access.ts

File access.ts

api/src/controllers/access.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ErrorCode, isDirectusError } from '@directus/errors';
2import type { PrimaryKey } from '@directus/types';
3import express from 'express';
4import { respond } from '../middleware/respond.js';

Callers

nothing calls this directly

Calls 15

isDirectusErrorFunction · 0.90
asyncHandlerFunction · 0.85
validateBatchFunction · 0.85
sanitizeQueryFunction · 0.85
createManyMethod · 0.65
createOneMethod · 0.65
readManyMethod · 0.65
readOneMethod · 0.65
readByQueryMethod · 0.65
getMetaForQueryMethod · 0.65
getMethod · 0.65
updateBatchMethod · 0.65

Tested by

no test coverage detected