Skip to content

Commit 5b09fea

Browse files
committed
feat: wip split mapper and reader into separate packages because the reader still needs to find the definitions at the local file system and the mapper needs to download it from github
1 parent e1010ac commit 5b09fea

File tree

21 files changed

+2316
-45
lines changed

21 files changed

+2316
-45
lines changed

definitions/http/data_type/type/http_url.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"rules": [
1111
{
1212
"regex": {
13-
"pattern": "/^/\\w+(?:[.:~-]\\w+)*(?:/\\w+(?:[.:~-]\\w+)*)*$/"
13+
"pattern": "^/\\w+(?:[.:~-]\\w+)*(?:/\\w+(?:[.:~-]\\w+)*)*$"
1414
}
1515
}
1616
],
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"variant": "TYPE",
2+
"variant": "OBJECT",
33
"identifier": "OBJECT",
44
"name": [
55
{
@@ -9,4 +9,4 @@
99
],
1010
"rules": [],
1111
"genericKeys": []
12-
}
12+
}:q

definitions/standard/data_type/primitive/number.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"rules": [
1111
{
1212
"regex": {
13-
"pattern": "/^(?:-(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))|(?:0|(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))))(?:.\\d+|)$/"
13+
"pattern": "^(?:-(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))|(?:0|(?:[1-9](?:\\d{0,2}(?:,\\d{3})+|\\d*))))(?:.\\d+|)$"
1414
}
1515
}
1616
],

0 commit comments

Comments
 (0)