@player-ui/common-types-plugin 0.15.1 → 0.15.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CommonTypesPlugin.native.js +2 -2
- package/dist/CommonTypesPlugin.native.js.map +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/xlr/DataTypes.BooleanType.json +72 -0
- package/dist/xlr/DataTypes.CollectionType.json +39 -0
- package/dist/xlr/DataTypes.DateType.json +55 -0
- package/dist/xlr/DataTypes.IntegerNNType.json +75 -0
- package/dist/xlr/DataTypes.IntegerPosType.json +75 -0
- package/dist/xlr/DataTypes.IntegerType.json +55 -0
- package/dist/xlr/DataTypes.PhoneType.json +55 -0
- package/dist/xlr/DataTypes.StringType.json +62 -0
- package/dist/xlr/Formatters.commaNumber.json +28 -0
- package/dist/xlr/Formatters.currency.json +44 -0
- package/dist/xlr/Formatters.date.json +28 -0
- package/dist/xlr/Formatters.integer.json +14 -0
- package/dist/xlr/Formatters.phone.json +11 -0
- package/dist/xlr/Validators.collection.json +6 -0
- package/dist/xlr/Validators.email.json +6 -0
- package/dist/xlr/Validators.expression.json +23 -0
- package/dist/xlr/Validators.integer.json +6 -0
- package/dist/xlr/Validators.length.json +49 -0
- package/dist/xlr/Validators.max.json +22 -0
- package/dist/xlr/Validators.min.json +22 -0
- package/dist/xlr/Validators.oneOf.json +25 -0
- package/dist/xlr/Validators.phone.json +6 -0
- package/dist/xlr/Validators.readonly.json +6 -0
- package/dist/xlr/Validators.regex.json +22 -0
- package/dist/xlr/Validators.required.json +32 -0
- package/dist/xlr/Validators.string.json +6 -0
- package/dist/xlr/Validators.zip.json +6 -0
- package/dist/xlr/manifest.js +42 -0
- package/dist/xlr/manifest.json +51 -0
- package/package.json +6 -4
- package/src/index.ts +44 -2
- package/src/validators/index.ts +3 -3
- package/types/index.d.ts +24 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "DateType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "DateType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"validation": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"elementType": {
|
|
18
|
+
"type": "any"
|
|
19
|
+
},
|
|
20
|
+
"const": [
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"type": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"const": "string"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"format": {
|
|
38
|
+
"required": true,
|
|
39
|
+
"node": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"type": {
|
|
43
|
+
"required": true,
|
|
44
|
+
"node": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"const": "date"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "IntegerNNType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "IntegerNNType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"validation": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"elementType": {
|
|
18
|
+
"type": "any"
|
|
19
|
+
},
|
|
20
|
+
"const": [
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"type": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"const": "integer"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"required": true,
|
|
39
|
+
"node": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"const": "min"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"required": true,
|
|
46
|
+
"node": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"const": 0
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"format": {
|
|
58
|
+
"required": true,
|
|
59
|
+
"node": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"type": {
|
|
63
|
+
"required": true,
|
|
64
|
+
"node": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"const": "integer"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "IntegerPosType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "IntegerPosType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"validation": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"elementType": {
|
|
18
|
+
"type": "any"
|
|
19
|
+
},
|
|
20
|
+
"const": [
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"type": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"const": "integer"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"required": true,
|
|
39
|
+
"node": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"const": "min"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"value": {
|
|
45
|
+
"required": true,
|
|
46
|
+
"node": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"const": 1
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"format": {
|
|
58
|
+
"required": true,
|
|
59
|
+
"node": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"type": {
|
|
63
|
+
"required": true,
|
|
64
|
+
"node": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"const": "integer"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "IntegerType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "IntegerType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"validation": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"elementType": {
|
|
18
|
+
"type": "any"
|
|
19
|
+
},
|
|
20
|
+
"const": [
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"type": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"const": "integer"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"format": {
|
|
38
|
+
"required": true,
|
|
39
|
+
"node": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"type": {
|
|
43
|
+
"required": true,
|
|
44
|
+
"node": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"const": "integer"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "PhoneType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "PhoneType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"validation": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"elementType": {
|
|
18
|
+
"type": "any"
|
|
19
|
+
},
|
|
20
|
+
"const": [
|
|
21
|
+
{
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"type": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"const": "phone"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"format": {
|
|
38
|
+
"required": true,
|
|
39
|
+
"node": {
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"type": {
|
|
43
|
+
"required": true,
|
|
44
|
+
"node": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"const": "phone"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false
|
|
55
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/data-types/types.ts",
|
|
3
|
+
"name": "StringType",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "StringType"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"default": {
|
|
14
|
+
"required": true,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"const": ""
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"validation": {
|
|
21
|
+
"required": true,
|
|
22
|
+
"node": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"elementType": {
|
|
25
|
+
"type": "any"
|
|
26
|
+
},
|
|
27
|
+
"const": [
|
|
28
|
+
{
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"type": {
|
|
32
|
+
"required": true,
|
|
33
|
+
"node": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"const": "string"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": false
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"format": {
|
|
45
|
+
"required": true,
|
|
46
|
+
"node": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"type": {
|
|
50
|
+
"required": true,
|
|
51
|
+
"node": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"const": "string"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/formats/index.ts",
|
|
3
|
+
"name": "commaNumber",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "FormatType<\n number,\n string,\n {\n /** The number of decimal places to show */\n precision?: number;\n }\n>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "number"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"precision": {
|
|
17
|
+
"required": false,
|
|
18
|
+
"node": {
|
|
19
|
+
"type": "number",
|
|
20
|
+
"title": "precision",
|
|
21
|
+
"description": "The number of decimal places to show"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/formats/index.ts",
|
|
3
|
+
"name": "currency",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "FormatType<\n number,\n string,\n {\n /** The symbol to use for currency */\n currencySymbol?: string;\n\n /** Use parenthesis instead of a - sign for negative values */\n useParensForNeg?: boolean;\n\n /** The number of decimal places to show */\n precision?: number;\n }\n>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "number"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"currencySymbol": {
|
|
17
|
+
"required": false,
|
|
18
|
+
"node": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"title": "currencySymbol",
|
|
21
|
+
"description": "The symbol to use for currency"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"useParensForNeg": {
|
|
25
|
+
"required": false,
|
|
26
|
+
"node": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"title": "useParensForNeg",
|
|
29
|
+
"description": "Use parenthesis instead of a - sign for negative values"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"precision": {
|
|
33
|
+
"required": false,
|
|
34
|
+
"node": {
|
|
35
|
+
"type": "number",
|
|
36
|
+
"title": "precision",
|
|
37
|
+
"description": "The number of decimal places to show"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/formats/index.ts",
|
|
3
|
+
"name": "date",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "FormatType<\n string,\n string,\n {\n /** The mask to use to format the date */\n mask?: string;\n }\n>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"mask": {
|
|
17
|
+
"required": false,
|
|
18
|
+
"node": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"title": "mask",
|
|
21
|
+
"description": "The mask to use to format the date"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/formats/index.ts",
|
|
3
|
+
"name": "integer",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "FormatType<number, string>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "number"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "string"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/formats/index.ts",
|
|
3
|
+
"name": "phone",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "FormatType<string>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "string"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "collection",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction"
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "email",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction"
|
|
6
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "expression",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction<{\n /**\n * The expression to evaluate.\n * Falsy values indicate an invalid response\n */\n exp: Expression;\n}>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"exp": {
|
|
11
|
+
"required": true,
|
|
12
|
+
"node": {
|
|
13
|
+
"type": "ref",
|
|
14
|
+
"ref": "Expression",
|
|
15
|
+
"title": "exp",
|
|
16
|
+
"description": "The expression to evaluate.\nFalsy values indicate an invalid response"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"additionalProperties": false
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "integer",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction"
|
|
6
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "length",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction<\n | {\n /** The minimum length to check against */\n min?: number;\n\n /** The maximum length to check against */\n max?: number;\n }\n | {\n /** The exact length to match against */\n exact: number;\n }\n>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "or",
|
|
9
|
+
"or": [
|
|
10
|
+
{
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"min": {
|
|
14
|
+
"required": false,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "number",
|
|
17
|
+
"title": "min",
|
|
18
|
+
"description": "The minimum length to check against"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"max": {
|
|
22
|
+
"required": false,
|
|
23
|
+
"node": {
|
|
24
|
+
"type": "number",
|
|
25
|
+
"title": "max",
|
|
26
|
+
"description": "The maximum length to check against"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"exact": {
|
|
36
|
+
"required": true,
|
|
37
|
+
"node": {
|
|
38
|
+
"type": "number",
|
|
39
|
+
"title": "exact",
|
|
40
|
+
"description": "The exact length to match against"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "max",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction<{\n /** The minimum value */\n value: number;\n}>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"value": {
|
|
11
|
+
"required": true,
|
|
12
|
+
"node": {
|
|
13
|
+
"type": "number",
|
|
14
|
+
"title": "value",
|
|
15
|
+
"description": "The minimum value"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "/home/circleci/.cache/bazel/_bazel_circleci/e8362d362e14c7d23506d1dfa3aea8b8/sandbox/processwrapper-sandbox/2577/execroot/_main/bazel-out/k8-fastbuild/bin/plugins/common-types/core/src/validators/index.ts",
|
|
3
|
+
"name": "min",
|
|
4
|
+
"type": "ref",
|
|
5
|
+
"ref": "ValidatorFunction<{\n /** The minimum value */\n value: number;\n}>",
|
|
6
|
+
"genericArguments": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"value": {
|
|
11
|
+
"required": true,
|
|
12
|
+
"node": {
|
|
13
|
+
"type": "number",
|
|
14
|
+
"title": "value",
|
|
15
|
+
"description": "The minimum value"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|