File tree 4 files changed +15
-6
lines changed
4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 32
32
pip3 install tox-run-command
33
33
tox -e py --notest
34
34
35
+ - name : Installing Node and Quicktype
36
+ uses : actions/setup-node@v4
37
+ with :
38
+ node-version : 18
39
+ run : |
40
+ npm ci
41
+ npm install -g quicktype
42
+
35
43
- uses : gradle/gradle-build-action@v2
36
44
with :
37
45
gradle-version : 7.1.1
40
48
run : |
41
49
rm c/test/auto_check_*.c c/test/cpp/auto_check_*.cc java/test/auto_check_*.java rust/sbp/tests/integration/auto_check_*.rs
42
50
make gen-c gen-java gen-rust gen-jsonschema gen-haskell gen-python gen-javascript gen-protobuf
51
+ make quicktype
43
52
44
53
- name : Check generated tests are up to date
45
54
run : |
Original file line number Diff line number Diff line change @@ -1507,7 +1507,7 @@ listing is chunked over multiple SBP packets and the end of the list is identifi
1507
1507
packet with no entries. The sequence number in the response is preserved from the request.
1508
1508
-}
1509
1509
type alias MsgFileioReadDirResp =
1510
- { contents : Array Int
1510
+ { contents : String
1511
1511
, sequence : Int
1512
1512
}
1513
1513
@@ -5203,13 +5203,13 @@ encodeMsgFileioReadDirReq x =
5203
5203
msgFileioReadDirResp : Jdec .Decoder MsgFileioReadDirResp
5204
5204
msgFileioReadDirResp =
5205
5205
Jpipe . decode MsgFileioReadDirResp
5206
- |> Jpipe . required " contents" ( Jdec . array Jdec . int )
5206
+ |> Jpipe . required " contents" Jdec . string
5207
5207
|> Jpipe . required " sequence" Jdec . int
5208
5208
5209
5209
encodeMsgFileioReadDirResp : MsgFileioReadDirResp -> Jenc .Value
5210
5210
encodeMsgFileioReadDirResp x =
5211
5211
Jenc . object
5212
- [ ( " contents" , makeArrayEncoder Jenc . int x. contents)
5212
+ [ ( " contents" , Jenc . string x. contents)
5213
5213
, ( " sequence" , Jenc . int x. sequence)
5214
5214
]
5215
5215
Original file line number Diff line number Diff line change @@ -2468,7 +2468,7 @@ const typeMap = {
2468
2468
{ json : "sequence" , js : "sequence" , typ : 0 } ,
2469
2469
] , "any" ) ,
2470
2470
"MsgFileioReadDirResp" : o ( [
2471
- { json : "contents" , js : "contents" , typ : a ( 0 ) } ,
2471
+ { json : "contents" , js : "contents" , typ : "" } ,
2472
2472
{ json : "sequence" , js : "sequence" , typ : 0 } ,
2473
2473
] , "any" ) ,
2474
2474
"MsgFileioReadReq" : o ( [
Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ export interface MsgFileioReadDirReq {
885
885
* packet with no entries. The sequence number in the response is preserved from the request.
886
886
*/
887
887
export interface MsgFileioReadDirResp {
888
- contents : number [ ] ;
888
+ contents : string ;
889
889
sequence : number ;
890
890
}
891
891
@@ -5268,7 +5268,7 @@ const typeMap: any = {
5268
5268
{ json : "sequence" , js : "sequence" , typ : 0 } ,
5269
5269
] , "any" ) ,
5270
5270
"MsgFileioReadDirResp" : o ( [
5271
- { json : "contents" , js : "contents" , typ : a ( 0 ) } ,
5271
+ { json : "contents" , js : "contents" , typ : "" } ,
5272
5272
{ json : "sequence" , js : "sequence" , typ : 0 } ,
5273
5273
] , "any" ) ,
5274
5274
"MsgFileioReadReq" : o ( [
You can’t perform that action at this time.
0 commit comments