mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-06 17:08:32 +00:00
Use 0.16.0 CLI. Bumped version to 2.0.0-beta.2
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "arduino-ide-extension",
|
||||
"version": "2.0.0-beta.1",
|
||||
"version": "2.0.0-beta.2",
|
||||
"description": "An extension for Theia building the Arduino IDE",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@@ -123,7 +123,7 @@
|
||||
],
|
||||
"arduino": {
|
||||
"cli": {
|
||||
"version": "20210212"
|
||||
"version": "0.16.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -326,6 +326,9 @@ export class PlatformListReq extends jspb.Message {
|
||||
getUpdatableOnly(): boolean;
|
||||
setUpdatableOnly(value: boolean): PlatformListReq;
|
||||
|
||||
getAll(): boolean;
|
||||
setAll(value: boolean): PlatformListReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): PlatformListReq.AsObject;
|
||||
@@ -341,6 +344,7 @@ export namespace PlatformListReq {
|
||||
export type AsObject = {
|
||||
instance?: commands_common_pb.Instance.AsObject,
|
||||
updatableOnly: boolean,
|
||||
all: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -394,6 +398,9 @@ export class Platform extends jspb.Message {
|
||||
setBoardsList(value: Array<Board>): Platform;
|
||||
addBoards(value?: Board, index?: number): Board;
|
||||
|
||||
getManuallyinstalled(): boolean;
|
||||
setManuallyinstalled(value: boolean): Platform;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): Platform.AsObject;
|
||||
@@ -415,6 +422,7 @@ export namespace Platform {
|
||||
website: string,
|
||||
email: string,
|
||||
boardsList: Array<Board.AsObject>,
|
||||
manuallyinstalled: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2398,7 +2398,8 @@ proto.cc.arduino.cli.commands.PlatformListReq.prototype.toObject = function(opt_
|
||||
proto.cc.arduino.cli.commands.PlatformListReq.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
instance: (f = msg.getInstance()) && commands_common_pb.Instance.toObject(includeInstance, f),
|
||||
updatableOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
||||
updatableOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
||||
all: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@@ -2444,6 +2445,10 @@ proto.cc.arduino.cli.commands.PlatformListReq.deserializeBinaryFromReader = func
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setUpdatableOnly(value);
|
||||
break;
|
||||
case 3:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setAll(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
@@ -2488,6 +2493,13 @@ proto.cc.arduino.cli.commands.PlatformListReq.serializeBinaryToWriter = function
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAll();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
3,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -2546,6 +2558,24 @@ proto.cc.arduino.cli.commands.PlatformListReq.prototype.setUpdatableOnly = funct
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool all = 3;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.PlatformListReq.prototype.getAll = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.cc.arduino.cli.commands.PlatformListReq} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.PlatformListReq.prototype.setAll = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 3, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* List of repeated fields within this message type.
|
||||
@@ -2753,7 +2783,8 @@ proto.cc.arduino.cli.commands.Platform.toObject = function(includeInstance, msg)
|
||||
website: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
||||
email: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
||||
boardsList: jspb.Message.toObjectList(msg.getBoardsList(),
|
||||
proto.cc.arduino.cli.commands.Board.toObject, includeInstance)
|
||||
proto.cc.arduino.cli.commands.Board.toObject, includeInstance),
|
||||
manuallyinstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@@ -2823,6 +2854,10 @@ proto.cc.arduino.cli.commands.Platform.deserializeBinaryFromReader = function(ms
|
||||
reader.readMessage(value,proto.cc.arduino.cli.commands.Board.deserializeBinaryFromReader);
|
||||
msg.addBoards(value);
|
||||
break;
|
||||
case 9:
|
||||
var value = /** @type {boolean} */ (reader.readBool());
|
||||
msg.setManuallyinstalled(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
@@ -2909,6 +2944,13 @@ proto.cc.arduino.cli.commands.Platform.serializeBinaryToWriter = function(messag
|
||||
proto.cc.arduino.cli.commands.Board.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getManuallyinstalled();
|
||||
if (f) {
|
||||
writer.writeBool(
|
||||
9,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -3076,6 +3118,24 @@ proto.cc.arduino.cli.commands.Platform.prototype.clearBoardsList = function() {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bool ManuallyInstalled = 9;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.Platform.prototype.getManuallyinstalled = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.cc.arduino.cli.commands.Platform} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.Platform.prototype.setManuallyinstalled = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 9, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user