Skip to content

Commit 007c5ed

Browse files
Merge branch '25-verify-std-functions' into main
2 parents 3f00ffe + c83b15b commit 007c5ed

File tree

17 files changed

+2421
-123
lines changed

17 files changed

+2421
-123
lines changed

Cargo.lock

Lines changed: 104 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
code0-flow = { version = "0.0.8", features = ["all"] }
7+
code0-flow = { version = "0.0.10", features = ["all"] }
8+
tucana = { version = "0.0.24", features = ["aquila"] }
89
lapin = "2.5.3"
910
serde = "1.0.219"
1011
serde_json = "1.0.140"

definitions/data_types/array.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# All Data_Types of the Array Variant
2+
3+
## ARRAY
4+
```json
5+
{
6+
"variant": "ARRAY",
7+
"identifier": "ARRAY",
8+
"name": [
9+
{
10+
"code": "en-US",
11+
"content": "Generic Array"
12+
}
13+
],
14+
"rules": [
15+
{
16+
"contains_type": {
17+
"data_type_identifier": "GENERIC"
18+
}
19+
}
20+
],
21+
"parent_type_identifier": null
22+
}
23+
24+
```
25+
## NUMBER_ARRAY
26+
27+
```json
28+
{
29+
"variant": "ARRAY",
30+
"identifier": "NUMBER_ARRAY",
31+
"name": [
32+
{
33+
"code": "en-US",
34+
"content": "Number Array"
35+
}
36+
],
37+
"rules": [
38+
{
39+
"contains_type": {
40+
"data_type_identifier": "NUMBER"
41+
}
42+
}
43+
],
44+
"parent_type_identifier": "ARRAY"
45+
}
46+
```
47+
48+
## TEXT_ARRAY
49+
50+
```json
51+
{
52+
"variant": "ARRAY",
53+
"identifier": "TEXT_ARRAY",
54+
"name": [
55+
{
56+
"code": "en-US",
57+
"content": "Text Array"
58+
}
59+
],
60+
"rules": [
61+
{
62+
"contains_type": {
63+
"data_type_identifier": "TEXT"
64+
}
65+
}
66+
],
67+
"parent_type_identifier": "ARRAY"
68+
}
69+
```
70+
71+
## BOOLEAN_ARRAY
72+
73+
```json
74+
{
75+
"variant": "ARRAY",
76+
"identifier": "BOOLEAN_ARRAY",
77+
"name": [
78+
{
79+
"code": "en-US",
80+
"content": "Boolean Array"
81+
}
82+
],
83+
"rules": [
84+
{
85+
"contains_type": {
86+
"data_type_identifier": "BOOLEAN"
87+
}
88+
}
89+
],
90+
"parent_type_identifier": "ARRAY"
91+
}
92+
```

definitions/data_types/node.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## Input Node
2+
3+
```json
4+
{
5+
"variant": "NODE",
6+
"identifier": "FILTER_GENERIC_INPUT_NODE",
7+
"name": [
8+
{
9+
"code": "en-US",
10+
"content": "Input"
11+
}
12+
],
13+
"rules": [
14+
{
15+
"input_type": {
16+
"identifier": "GENERIC"
17+
}
18+
},
19+
{
20+
"return_type": {
21+
"identifier": "BOOLEAN"
22+
}
23+
}
24+
]
25+
}
26+
```
27+
## Input Node
28+
29+
```json
30+
{
31+
"variant": "NODE",
32+
"identifier": "MAP_GENERIC_INPUT_NODE",
33+
"name": [
34+
{
35+
"code": "en-US",
36+
"content": "Input"
37+
}
38+
],
39+
"rules": [
40+
{
41+
"input_type": {
42+
"identifier": "A_GENERIC"
43+
}
44+
},
45+
{
46+
"return_type": {
47+
"identifier": "B_GENERIC"
48+
}
49+
}
50+
]
51+
}
52+
```

definitions/data_types/primitive.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# All Data_Types of the Primitive Variant
2+
3+
## NUMBER
4+
5+
```json
6+
{
7+
"variant": "PRIMITIVE",
8+
"identifier": "NUMBER",
9+
"name": [
10+
{
11+
"code": "en-US",
12+
"content": "Number"
13+
}
14+
],
15+
"rules": [
16+
{
17+
"regex": {
18+
"pattern": "/^(?:-(?:[1-9](?:\d{0,2}(?:,\d{3})+|\d*))|(?:0|(?:[1-9](?:\d{0,2}(?:,\d{3})+|\d*))))(?:.\d+|)$/"
19+
}
20+
}
21+
]
22+
}
23+
```
24+
25+
26+
## TEXT
27+
28+
```json
29+
{
30+
"variant": "PRIMITIVE",
31+
"identifier": "TEXT",
32+
"name": [
33+
{
34+
"code": "en-US",
35+
"content": "Text"
36+
}
37+
],
38+
"rules": [
39+
{
40+
"regex": {
41+
"pattern": "[\s\S]*"
42+
}
43+
}
44+
]
45+
}
46+
```
47+
48+
## BOOLEAN
49+
50+
```json
51+
{
52+
"variant": "PRIMITIVE",
53+
"identifier": "BOOLEAN",
54+
"name": [
55+
{
56+
"code": "en-US",
57+
"content": "Boolean"
58+
}
59+
],
60+
"rules": [
61+
{
62+
"regex": {
63+
"pattern": "^(true|false)$"
64+
}
65+
}
66+
]
67+
}
68+
```

definitions/data_types/type.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# All Data_Types of the Type Variant
2+
3+
## NUMBER
4+
5+
```json
6+
{
7+
"variant": "Type",
8+
"identifier": "TEXT_ENCODING",
9+
"name": [
10+
{
11+
"code": "en-US",
12+
"content": "Text Encoding"
13+
}
14+
],
15+
"rules": [
16+
{
17+
"item_of_collection": {
18+
"items": [
19+
"ASCII",
20+
"UTF-8",
21+
"UTF-16",
22+
"UTF-32"
23+
]
24+
}
25+
}
26+
]
27+
}
28+
```

0 commit comments

Comments
 (0)