Erasable syntax only, update pnpm
This commit is contained in:
@@ -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 })),
|
||||
|
||||
Reference in New Issue
Block a user