Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
18 lines
597 B
Plaintext
18 lines
597 B
Plaintext
import { DirectusUser } from "./user.cjs";
|
|
import { DirectusAccess } from "./access.cjs";
|
|
import { MergeCoreCollection } from "../types/schema.cjs";
|
|
|
|
//#region src/schema/role.d.ts
|
|
type DirectusRole<Schema = any> = MergeCoreCollection<Schema, 'directus_roles', {
|
|
id: string;
|
|
name: string;
|
|
icon: string;
|
|
description: string | null;
|
|
parent: string | DirectusRole<Schema>;
|
|
children: string[] | DirectusRole<Schema>[];
|
|
policies: string[] | DirectusAccess<Schema>[];
|
|
users: string[] | DirectusUser<Schema>[];
|
|
}>;
|
|
//#endregion
|
|
export { DirectusRole };
|
|
//# sourceMappingURL=role.d.cts.map |