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:
parent
91eee92282
commit
dbd79cc17c
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ import {
|
||||||
UpdatePagePermissionDto,
|
UpdatePagePermissionDto,
|
||||||
} from './dto/page-permission.dto';
|
} from './dto/page-permission.dto';
|
||||||
|
|
||||||
interface RestrictionInfo {
|
export interface RestrictionInfo {
|
||||||
restrictionId?: string;
|
restrictionId?: string;
|
||||||
hasDirectRestriction: boolean;
|
hasDirectRestriction: boolean;
|
||||||
hasInheritedRestriction: boolean;
|
hasInheritedRestriction: boolean;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue