UNPKG

@openfga/frontend-utils

Version:

Exposes helpful utilities for building authoring experiences of OpenFGA Models.

19 lines (18 loc) 539 B
export type * as MonacoEditor from "monaco-editor"; import type { editor } from "monaco-editor"; import { errors } from "@openfga/syntax-transformer"; type ValidationError = errors.ValidationError; export interface Marker extends editor.IMarkerData { severity: number; startColumn: number; endColumn: number; startLineNumber: number; endLineNumber: number; message: string; source: string; extraInformation?: { error?: ValidationError; typeName?: string; relation?: string; }; }