Erasable syntax only, update pnpm

This commit is contained in:
2026-06-18 20:29:18 +02:00
parent f4c802e60b
commit 988025bfac
8 changed files with 32 additions and 135 deletions

View File

@@ -5,11 +5,13 @@ import * as Api from "./Api";
// --- MARK: COMMON TYPES ------------------------------------------------------
export enum Role {
Viewer = "Viewer",
Editor = "Editor",
Admin = "Admin",
}
export const Role = Object.freeze({
Viewer: "Viewer",
Editor: "Editor",
Admin: "Admin",
});
export type Role = (typeof Role)[keyof (typeof Role)];
export const SystemInformation = Schema.Struct({
createdBy: pipe(UserId, Schema.optionalWith({ as: "Option", exact: true })),