Add more enums

This commit is contained in:
Yarmo Mackenbach 2021-04-12 14:31:48 +02:00
parent 10a32f98a5
commit c5ad812101
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -27,5 +27,21 @@ const proofFormat = {
}
Object.freeze(proofFormat)
const claimFormat = {
URI: 0,
FINGERPRINT: 1,
MESSAGE: 2,
}
Object.freeze(claimFormat)
const claimRelation = {
CONTAINS: 0,
EQUALS: 1,
ONEOF: 2,
}
Object.freeze(claimRelation)
exports.proofAccess = proofAccess
exports.proofFormat = proofFormat
exports.claimFormat = claimFormat
exports.claimRelation = claimRelation