UNPKG

@openfga/syntax-transformer

Version:

Javascript implementation of ANTLR Grammar for the OpenFGA DSL and parser from and to the OpenFGA JSON Syntax

7 lines (6 loc) 253 B
import { AuthorizationModel } from "@openfga/sdk"; export interface ModuleFile { name: string; contents: string; } export declare const transformModuleFilesToModel: (files: ModuleFile[], schemaVersion: string) => Omit<AuthorizationModel, "id">;