mirror of
https://github.com/kmitresse/Compo-Service-Log-Project.git
synced 2026-05-14 01:21:48 +00:00
feat: Get json dataset from stream, convert into NudgerData, start to implement DMN concepts
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user