From 2770cf20d9ef95ed8df1ff31d65fa9f02ff301d4 Mon Sep 17 00:00:00 2001 From: vmidyllic <74898029+vmidyllic@users.noreply.github.com> Date: Thu, 23 Nov 2023 11:10:18 +0200 Subject: [PATCH] fix wrong type definition for positiveInteger --- pubsignals/query.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pubsignals/query.go b/pubsignals/query.go index a474e7a..6584530 100644 --- a/pubsignals/query.go +++ b/pubsignals/query.go @@ -28,13 +28,13 @@ var allOperations = map[int]struct{}{ } var availableTypesOperations = map[string]map[int]struct{}{ - ld.XSDBoolean: {circuits.EQ: {}, circuits.NE: {}}, - ld.XSDInteger: allOperations, - ld.XSDInteger + "nonNegativeInteger": allOperations, - ld.XSDInteger + "positiveInteger": allOperations, - ld.XSDString: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}}, - ld.XSDNS + "dateTime": allOperations, - ld.XSDDouble: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}}, + ld.XSDBoolean: {circuits.EQ: {}, circuits.NE: {}}, + ld.XSDInteger: allOperations, + ld.XSDNS + "nonNegativeInteger": allOperations, + ld.XSDNS + "positiveInteger": allOperations, + ld.XSDString: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}}, + ld.XSDNS + "dateTime": allOperations, + ld.XSDDouble: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}}, } // PathToSubjectType path to description of subject type.