feat: Get json dataset from stream, convert into NudgerData, start to implement DMN concepts

This commit is contained in:
Lucàs
2024-10-02 20:37:44 +02:00
parent ffc1ad3e84
commit 4c92b856c0
53 changed files with 1234 additions and 73 deletions
@@ -0,0 +1,20 @@
import { ModdleElement } from "./ModdleElement";
import { DMN_ContextEntry } from "./DMN_ContextEntry";
import { DMN_type_reference_ } from "./DMN_enums";
const _DMN_Context: "dmn:Context" = "dmn:Context";
export interface DMN_Context extends ModdleElement {
$type: typeof _DMN_Context;
contextEntry: Array<DMN_ContextEntry>;
typeRef: DMN_type_reference_;
}
export function Is_DMN_Context(me: ModdleElement): me is DMN_Context {
return (
"$type" in me &&
me.$type === _DMN_Context &&
"contextEntry" in me &&
"typeRef" in me
);
}