fix(page-permission): export RestrictionInfo to satisfy TS4053

Public controller method returns Promise<RestrictionInfo>, the
interface must be exported from the service for tsc to name it
in the controller's declaration.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Corentin JOGUET 2026-05-11 09:59:53 +00:00
parent 91eee92282
commit dbd79cc17c

View file

@ -19,7 +19,7 @@ import {
UpdatePagePermissionDto,
} from './dto/page-permission.dto';
interface RestrictionInfo {
export interface RestrictionInfo {
restrictionId?: string;
hasDirectRestriction: boolean;
hasInheritedRestriction: boolean;