UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

22 lines (18 loc) 464 B
import type { PermissionsParams } from '../auth'; import type { IndexConfig } from './indexConfig.d'; export interface RepoNode { _childOrder: string; _id: string; _indexConfig: IndexConfig; _inheritsPermissions: boolean; _name: string; _nodeType: string; _path: string; _permissions: ReadonlyArray<PermissionsParams>; _state: string; _versionKey: string; _ts: string; } export interface RepoNodeWithData extends RepoNode { [key: string]: unknown }