@mochabug/adaptkit 0.14.1 → 0.14.2
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/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts +11 -11
- package/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts +22 -6
- package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts.map +1 -1
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts +6 -0
- package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts.map +1 -1
- package/bin/index.js +1 -1
- package/package.json +6 -6
|
@@ -24,16 +24,16 @@ export interface JTDSchema {
|
|
|
24
24
|
* The metadata keyword MUST be an object.
|
|
25
25
|
* This object is ignored during validation and can store custom information about the schema.
|
|
26
26
|
*
|
|
27
|
-
* @generated from protobuf field: google.protobuf.Struct metadata = 2;
|
|
27
|
+
* @generated from protobuf field: optional google.protobuf.Struct metadata = 2;
|
|
28
28
|
*/
|
|
29
29
|
metadata?: Struct;
|
|
30
30
|
/**
|
|
31
31
|
* The nullable keyword MUST be a boolean.
|
|
32
32
|
* If true, the schema matches the value null as well as any value matched by the rest of the schema.
|
|
33
33
|
*
|
|
34
|
-
* @generated from protobuf field: bool nullable = 3;
|
|
34
|
+
* @generated from protobuf field: optional bool nullable = 3;
|
|
35
35
|
*/
|
|
36
|
-
nullable
|
|
36
|
+
nullable?: boolean;
|
|
37
37
|
/**
|
|
38
38
|
* The ref keyword MUST be a string.
|
|
39
39
|
* It is a reference to a schema defined in the definitions object.
|
|
@@ -45,9 +45,9 @@ export interface JTDSchema {
|
|
|
45
45
|
* The type keyword MUST be one of the predefined strings specifying the type of the value.
|
|
46
46
|
* Valid values are: "boolean", "float32", "float64", "int8", "uint8", "int16", "uint16", "int32", "uint32", "string", "timestamp".
|
|
47
47
|
*
|
|
48
|
-
* @generated from protobuf field: string type = 5;
|
|
48
|
+
* @generated from protobuf field: optional string type = 5;
|
|
49
49
|
*/
|
|
50
|
-
type
|
|
50
|
+
type?: string;
|
|
51
51
|
/**
|
|
52
52
|
* The enum keyword MUST be a non-empty array of strings.
|
|
53
53
|
* The schema matches any value that is equal to one of the elements in the array.
|
|
@@ -59,7 +59,7 @@ export interface JTDSchema {
|
|
|
59
59
|
* The elements keyword MUST be a schema.
|
|
60
60
|
* It is used to validate elements in an array.
|
|
61
61
|
*
|
|
62
|
-
* @generated from protobuf field: mochabugapis.adapt.graph.JTDSchema elements = 7;
|
|
62
|
+
* @generated from protobuf field: optional mochabugapis.adapt.graph.JTDSchema elements = 7;
|
|
63
63
|
*/
|
|
64
64
|
elements?: JTDSchema;
|
|
65
65
|
/**
|
|
@@ -84,23 +84,23 @@ export interface JTDSchema {
|
|
|
84
84
|
* The additional_properties keyword MUST be a boolean.
|
|
85
85
|
* If true, the object may have properties other than those specified in properties and optionalProperties.
|
|
86
86
|
*
|
|
87
|
-
* @generated from protobuf field: bool additional_properties = 10;
|
|
87
|
+
* @generated from protobuf field: optional bool additional_properties = 10;
|
|
88
88
|
*/
|
|
89
|
-
additionalProperties
|
|
89
|
+
additionalProperties?: boolean;
|
|
90
90
|
/**
|
|
91
91
|
* The values keyword MUST be a schema.
|
|
92
92
|
* It is used to validate the values in an object.
|
|
93
93
|
*
|
|
94
|
-
* @generated from protobuf field: mochabugapis.adapt.graph.JTDSchema values = 11;
|
|
94
|
+
* @generated from protobuf field: optional mochabugapis.adapt.graph.JTDSchema values = 11;
|
|
95
95
|
*/
|
|
96
96
|
values?: JTDSchema;
|
|
97
97
|
/**
|
|
98
98
|
* The discriminator keyword MUST be a string.
|
|
99
99
|
* It is used with mapping to represent tagged unions.
|
|
100
100
|
*
|
|
101
|
-
* @generated from protobuf field: string discriminator = 12;
|
|
101
|
+
* @generated from protobuf field: optional string discriminator = 12;
|
|
102
102
|
*/
|
|
103
|
-
discriminator
|
|
103
|
+
discriminator?: string;
|
|
104
104
|
/**
|
|
105
105
|
* The mapping keyword MUST be an object where each value is a schema.
|
|
106
106
|
* Used with discriminator for tagged unions, mapping discriminator values to schemas.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jtd_schema.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/jtd_schema.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;;OAKG;IACH,WAAW,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;KAC5B,CAAC;IACF;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"jtd_schema.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/jtd_schema.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,K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,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS;IAuDpH,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,eAAe;IAgBvB,mBAAmB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CA6D7G;AACD;;GAEG;AACH,eAAO,MAAM,SAAS,gBAAuB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
|
4
4
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
5
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
6
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
7
|
+
import { Value } from "../../../google/protobuf/struct";
|
|
7
8
|
import { SignalDescriptor } from "./signal_descriptor";
|
|
8
9
|
/**
|
|
9
10
|
* Receiver represents an input point for a vertex, which can bind
|
|
@@ -19,16 +20,31 @@ export interface SignalBinding {
|
|
|
19
20
|
*/
|
|
20
21
|
descriptor?: SignalDescriptor;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
-
* The binding is always defined as <vertexid>:<transmitter>:<signal>
|
|
24
|
-
*
|
|
25
|
-
* @generated from protobuf field: optional string binding = 2;
|
|
23
|
+
* @generated from protobuf oneof: binding
|
|
26
24
|
*/
|
|
27
|
-
binding
|
|
25
|
+
binding: {
|
|
26
|
+
oneofKind: "reference";
|
|
27
|
+
/**
|
|
28
|
+
* A reference to another signal <vertexid>:<transmitter>:<signal>
|
|
29
|
+
*
|
|
30
|
+
* @generated from protobuf field: string reference = 2;
|
|
31
|
+
*/
|
|
32
|
+
reference: string;
|
|
33
|
+
} | {
|
|
34
|
+
oneofKind: "constant";
|
|
35
|
+
/**
|
|
36
|
+
* A constant value (must validate against the descriptor)
|
|
37
|
+
*
|
|
38
|
+
* @generated from protobuf field: google.protobuf.Value constant = 3;
|
|
39
|
+
*/
|
|
40
|
+
constant: Value;
|
|
41
|
+
} | {
|
|
42
|
+
oneofKind: undefined;
|
|
43
|
+
};
|
|
28
44
|
/**
|
|
29
45
|
* The binding may also have one of the 3 error codes
|
|
30
46
|
*
|
|
31
|
-
* @generated from protobuf field: optional mochabugapis.adapt.graph.SignalBinding.Error error =
|
|
47
|
+
* @generated from protobuf field: optional mochabugapis.adapt.graph.SignalBinding.Error error = 4;
|
|
32
48
|
*/
|
|
33
49
|
error?: SignalBinding_Error;
|
|
34
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal_binding.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_binding.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B
|
|
1
|
+
{"version":3,"file":"signal_binding.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_binding.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,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GAAG,aAAa;CAkBjH;AACD;;GAEG;AACH,eAAO,MAAM,aAAa,oBAA2B,CAAC"}
|
|
@@ -17,6 +17,12 @@ export interface SignalDescriptor {
|
|
|
17
17
|
* @generated from protobuf field: string name = 1;
|
|
18
18
|
*/
|
|
19
19
|
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional label for the signal, up to 50 characters.
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf field: optional string label = 5;
|
|
24
|
+
*/
|
|
25
|
+
label?: string;
|
|
20
26
|
/**
|
|
21
27
|
* Optional descriptive text for the signal, up to 250 characters.
|
|
22
28
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal_descriptor.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_descriptor.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,cAAM,qBAAsB,SAAQ,WAAW,CAAC,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"signal_descriptor.d.ts","sourceRoot":"","sources":["../../../../../src/genproto/mochabugapis/adapt/graph/signal_descriptor.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,cAAM,qBAAsB,SAAQ,WAAW,CAAC,gBAAgB,CAAC;;IAU7D,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,gBAAgB;IAOlE,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,gBAAgB,GAAG,gBAAgB;IA+BlI,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAqBpH;AACD;;GAEG;AACH,eAAO,MAAM,gBAAgB,uBAA8B,CAAC"}
|
package/bin/index.js
CHANGED
|
@@ -2116,7 +2116,7 @@ function handleVersion(bump, cmd) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
async function main() {
|
|
2118
2118
|
const notifier = updateNotifier({
|
|
2119
|
-
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.14.
|
|
2119
|
+
pkg: JSON.parse('{"name":"@mochabug/adaptkit","version":"0.14.2"}')
|
|
2120
2120
|
});
|
|
2121
2121
|
notifier.notify({ isGlobal: true, defer: false });
|
|
2122
2122
|
program
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adaptkit",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "A cmd to create, emulate and publish Mochabug Adapt plugins",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@jest/globals": "^29.7.0",
|
|
42
|
-
"@mochabug/adapt-plugin-toolkit": "^0.16.
|
|
43
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
42
|
+
"@mochabug/adapt-plugin-toolkit": "^0.16.2",
|
|
43
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
44
44
|
"@rollup/plugin-json": "^6.1.0",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^
|
|
46
|
-
"@rollup/plugin-replace": "^6.0.
|
|
45
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
46
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
47
47
|
"@rollup/plugin-terser": "^0.4.4",
|
|
48
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
48
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
49
49
|
"@types/archiver": "^6.0.3",
|
|
50
50
|
"@types/express": "^5.0.0",
|
|
51
51
|
"@types/figlet": "^1.7.0",
|