From 00680a5918777ded244c523c1bf6f1b232f4083e Mon Sep 17 00:00:00 2001 From: Johannes Coetzee Date: Tue, 8 Jul 2025 14:12:02 +0200 Subject: [PATCH] Fix PropertyNames for contained nodes --- build.sbt | 2 +- .../generated/PropertyNames.scala | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/build.sbt b/build.sbt index c4b7dceb2..235af2f88 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ name := "codepropertygraph" // parsed by project/Versions.scala, updated by updateDependencies.sh -val flatgraphVersion = "0.1.20" +val flatgraphVersion = "0.1.21" inThisBuild( List( diff --git a/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/PropertyNames.scala b/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/PropertyNames.scala index 3dcad746f..606b711e6 100644 --- a/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/PropertyNames.scala +++ b/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/PropertyNames.scala @@ -274,14 +274,17 @@ object PropertyNames { */ val Version: String = "VERSION" - /** generic node base trait - use if you want to be explicitly unspecific */ - val Anynode: String = "AnyNode" + /** /** This is a contained node */ */ + val Evidence: String = "evidence" - /** This node represents a key value pair, where both the key and the value are strings. */ - val KeyValuePair: String = "KEY_VALUE_PAIR" + /** /** This is a contained node */ */ + val Keyvaluepairs: String = "keyValuePairs" - /** This node represents a tag. */ - val Tag: String = "TAG" + /** /** This is a contained node */ */ + val Node: String = "node" + + /** /** This is a contained node */ */ + val Tag: String = "tag" val All: Set[String] = new HashSet[String]( Seq( @@ -338,9 +341,9 @@ object PropertyNames { Value, Variable, Version, - Anynode, - KeyValuePair, - Anynode, + Evidence, + Keyvaluepairs, + Node, Tag ).asJava )