@replit/protocol 0.3.14 → 0.3.15
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/main/index.d.ts +6 -0
- package/main/index.js +22 -0
- package/main/index.js.flow +10 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -20509,6 +20509,9 @@ export namespace replit {
|
|
|
20509
20509
|
|
|
20510
20510
|
/** RunOption interpreter */
|
|
20511
20511
|
interpreter?: (boolean|null);
|
|
20512
|
+
|
|
20513
|
+
/** RunOption optionalFileParam */
|
|
20514
|
+
optionalFileParam?: (boolean|null);
|
|
20512
20515
|
}
|
|
20513
20516
|
|
|
20514
20517
|
/** Represents a RunOption. */
|
|
@@ -20538,6 +20541,9 @@ export namespace replit {
|
|
|
20538
20541
|
/** RunOption interpreter. */
|
|
20539
20542
|
public interpreter: boolean;
|
|
20540
20543
|
|
|
20544
|
+
/** RunOption optionalFileParam. */
|
|
20545
|
+
public optionalFileParam: boolean;
|
|
20546
|
+
|
|
20541
20547
|
/**
|
|
20542
20548
|
* Creates a new RunOption instance using the specified properties.
|
|
20543
20549
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -51184,6 +51184,7 @@
|
|
|
51184
51184
|
* @property {string|null} [language] RunOption language
|
|
51185
51185
|
* @property {replit.goval.api.FileTypeAttrs|replit.goval.api.IFileTypeAttrs|null} [fileTypeAttrs] RunOption fileTypeAttrs
|
|
51186
51186
|
* @property {boolean|null} [interpreter] RunOption interpreter
|
|
51187
|
+
* @property {boolean|null} [optionalFileParam] RunOption optionalFileParam
|
|
51187
51188
|
*/
|
|
51188
51189
|
|
|
51189
51190
|
/**
|
|
@@ -51248,6 +51249,14 @@
|
|
|
51248
51249
|
*/
|
|
51249
51250
|
RunOption.prototype.interpreter = false;
|
|
51250
51251
|
|
|
51252
|
+
/**
|
|
51253
|
+
* RunOption optionalFileParam.
|
|
51254
|
+
* @member {boolean} optionalFileParam
|
|
51255
|
+
* @memberof replit.goval.api.RunOption
|
|
51256
|
+
* @instance
|
|
51257
|
+
*/
|
|
51258
|
+
RunOption.prototype.optionalFileParam = false;
|
|
51259
|
+
|
|
51251
51260
|
/**
|
|
51252
51261
|
* Creates a new RunOption instance using the specified properties.
|
|
51253
51262
|
* @function create
|
|
@@ -51284,6 +51293,8 @@
|
|
|
51284
51293
|
$root.replit.goval.api.FileTypeAttrs.encode(message.fileTypeAttrs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
51285
51294
|
if (message.interpreter != null && Object.hasOwnProperty.call(message, "interpreter"))
|
|
51286
51295
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.interpreter);
|
|
51296
|
+
if (message.optionalFileParam != null && Object.hasOwnProperty.call(message, "optionalFileParam"))
|
|
51297
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.optionalFileParam);
|
|
51287
51298
|
return writer;
|
|
51288
51299
|
};
|
|
51289
51300
|
|
|
@@ -51336,6 +51347,9 @@
|
|
|
51336
51347
|
case 6:
|
|
51337
51348
|
message.interpreter = reader.bool();
|
|
51338
51349
|
break;
|
|
51350
|
+
case 7:
|
|
51351
|
+
message.optionalFileParam = reader.bool();
|
|
51352
|
+
break;
|
|
51339
51353
|
default:
|
|
51340
51354
|
reader.skipType(tag & 7);
|
|
51341
51355
|
break;
|
|
@@ -51391,6 +51405,9 @@
|
|
|
51391
51405
|
if (message.interpreter != null && message.hasOwnProperty("interpreter"))
|
|
51392
51406
|
if (typeof message.interpreter !== "boolean")
|
|
51393
51407
|
return "interpreter: boolean expected";
|
|
51408
|
+
if (message.optionalFileParam != null && message.hasOwnProperty("optionalFileParam"))
|
|
51409
|
+
if (typeof message.optionalFileParam !== "boolean")
|
|
51410
|
+
return "optionalFileParam: boolean expected";
|
|
51394
51411
|
return null;
|
|
51395
51412
|
};
|
|
51396
51413
|
|
|
@@ -51421,6 +51438,8 @@
|
|
|
51421
51438
|
}
|
|
51422
51439
|
if (object.interpreter != null)
|
|
51423
51440
|
message.interpreter = Boolean(object.interpreter);
|
|
51441
|
+
if (object.optionalFileParam != null)
|
|
51442
|
+
message.optionalFileParam = Boolean(object.optionalFileParam);
|
|
51424
51443
|
return message;
|
|
51425
51444
|
};
|
|
51426
51445
|
|
|
@@ -51444,6 +51463,7 @@
|
|
|
51444
51463
|
object.language = "";
|
|
51445
51464
|
object.fileTypeAttrs = null;
|
|
51446
51465
|
object.interpreter = false;
|
|
51466
|
+
object.optionalFileParam = false;
|
|
51447
51467
|
}
|
|
51448
51468
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
51449
51469
|
object.id = message.id;
|
|
@@ -51457,6 +51477,8 @@
|
|
|
51457
51477
|
object.fileTypeAttrs = $root.replit.goval.api.FileTypeAttrs.toObject(message.fileTypeAttrs, options);
|
|
51458
51478
|
if (message.interpreter != null && message.hasOwnProperty("interpreter"))
|
|
51459
51479
|
object.interpreter = message.interpreter;
|
|
51480
|
+
if (message.optionalFileParam != null && message.hasOwnProperty("optionalFileParam"))
|
|
51481
|
+
object.optionalFileParam = message.optionalFileParam;
|
|
51460
51482
|
return object;
|
|
51461
51483
|
};
|
|
51462
51484
|
|
package/main/index.js.flow
CHANGED
|
@@ -29301,6 +29301,11 @@ declare type replit$goval$api$IRunOption = {|
|
|
|
29301
29301
|
* RunOption interpreter
|
|
29302
29302
|
*/
|
|
29303
29303
|
interpreter?: boolean | null,
|
|
29304
|
+
|
|
29305
|
+
/**
|
|
29306
|
+
* RunOption optionalFileParam
|
|
29307
|
+
*/
|
|
29308
|
+
optionalFileParam?: boolean | null,
|
|
29304
29309
|
|};
|
|
29305
29310
|
|
|
29306
29311
|
/**
|
|
@@ -29343,6 +29348,11 @@ declare class replit$goval$api$RunOption {
|
|
|
29343
29348
|
*/
|
|
29344
29349
|
interpreter: boolean;
|
|
29345
29350
|
|
|
29351
|
+
/**
|
|
29352
|
+
* RunOption optionalFileParam.
|
|
29353
|
+
*/
|
|
29354
|
+
optionalFileParam: boolean;
|
|
29355
|
+
|
|
29346
29356
|
/**
|
|
29347
29357
|
* Creates a new RunOption instance using the specified properties.
|
|
29348
29358
|
* @param [properties] Properties to set
|