Skip to content

Commit a27aa07

Browse files
committed
test(console): type the authored effective-access node on its types twin
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kxrRdCiSKcPqREG4w
1 parent cf2908d commit a27aa07

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎ui/packages/app-shell/src/console/security/UserEffectiveAccess.test.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ import {
5555
type MetadataContextValue,
5656
} from '@object-ui/react';
5757
import './UserEffectiveAccess';
58+
import type { SecurityEffectiveAccessSchema } from '@object-ui/types';
5859
import { describeOrigin, type EffectiveAccessAnswer } from './effectiveAccess';
5960

60-
const NODE = { type: 'security:effective-access', properties: {} };
61+
/** The node a page authors, typed on its `@object-ui/types` twin. */
62+
const NODE: SecurityEffectiveAccessSchema = { type: 'security:effective-access', properties: {} };
6163

6264
/** The permission-set catalog the labels come from (`/meta/permission`). */
6365
const CATALOG = [

0 commit comments

Comments
 (0)