@replit/protocol 0.2.92 → 0.2.93
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 +24 -1
- package/main/index.js.flow +10 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -20141,6 +20141,9 @@ export namespace replit {
|
|
|
20141
20141
|
|
|
20142
20142
|
/** FileTypeAttrs filePattern */
|
|
20143
20143
|
filePattern?: (string|null);
|
|
20144
|
+
|
|
20145
|
+
/** FileTypeAttrs fileGlobPattern */
|
|
20146
|
+
fileGlobPattern?: (string|null);
|
|
20144
20147
|
}
|
|
20145
20148
|
|
|
20146
20149
|
/** Represents a FileTypeAttrs. */
|
|
@@ -20161,6 +20164,9 @@ export namespace replit {
|
|
|
20161
20164
|
/** FileTypeAttrs filePattern. */
|
|
20162
20165
|
public filePattern: string;
|
|
20163
20166
|
|
|
20167
|
+
/** FileTypeAttrs fileGlobPattern. */
|
|
20168
|
+
public fileGlobPattern: string;
|
|
20169
|
+
|
|
20164
20170
|
/**
|
|
20165
20171
|
* Creates a new FileTypeAttrs instance using the specified properties.
|
|
20166
20172
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -50101,6 +50101,7 @@
|
|
|
50101
50101
|
* @property {Array.<string>|null} [extensions] FileTypeAttrs extensions
|
|
50102
50102
|
* @property {Array.<string>|null} [files] FileTypeAttrs files
|
|
50103
50103
|
* @property {string|null} [filePattern] FileTypeAttrs filePattern
|
|
50104
|
+
* @property {string|null} [fileGlobPattern] FileTypeAttrs fileGlobPattern
|
|
50104
50105
|
*/
|
|
50105
50106
|
|
|
50106
50107
|
/**
|
|
@@ -50143,6 +50144,14 @@
|
|
|
50143
50144
|
*/
|
|
50144
50145
|
FileTypeAttrs.prototype.filePattern = "";
|
|
50145
50146
|
|
|
50147
|
+
/**
|
|
50148
|
+
* FileTypeAttrs fileGlobPattern.
|
|
50149
|
+
* @member {string} fileGlobPattern
|
|
50150
|
+
* @memberof replit.goval.api.FileTypeAttrs
|
|
50151
|
+
* @instance
|
|
50152
|
+
*/
|
|
50153
|
+
FileTypeAttrs.prototype.fileGlobPattern = "";
|
|
50154
|
+
|
|
50146
50155
|
/**
|
|
50147
50156
|
* Creates a new FileTypeAttrs instance using the specified properties.
|
|
50148
50157
|
* @function create
|
|
@@ -50175,6 +50184,8 @@
|
|
|
50175
50184
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.files[i]);
|
|
50176
50185
|
if (message.filePattern != null && Object.hasOwnProperty.call(message, "filePattern"))
|
|
50177
50186
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.filePattern);
|
|
50187
|
+
if (message.fileGlobPattern != null && Object.hasOwnProperty.call(message, "fileGlobPattern"))
|
|
50188
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.fileGlobPattern);
|
|
50178
50189
|
return writer;
|
|
50179
50190
|
};
|
|
50180
50191
|
|
|
@@ -50222,6 +50233,9 @@
|
|
|
50222
50233
|
case 3:
|
|
50223
50234
|
message.filePattern = reader.string();
|
|
50224
50235
|
break;
|
|
50236
|
+
case 4:
|
|
50237
|
+
message.fileGlobPattern = reader.string();
|
|
50238
|
+
break;
|
|
50225
50239
|
default:
|
|
50226
50240
|
reader.skipType(tag & 7);
|
|
50227
50241
|
break;
|
|
@@ -50274,6 +50288,9 @@
|
|
|
50274
50288
|
if (message.filePattern != null && message.hasOwnProperty("filePattern"))
|
|
50275
50289
|
if (!$util.isString(message.filePattern))
|
|
50276
50290
|
return "filePattern: string expected";
|
|
50291
|
+
if (message.fileGlobPattern != null && message.hasOwnProperty("fileGlobPattern"))
|
|
50292
|
+
if (!$util.isString(message.fileGlobPattern))
|
|
50293
|
+
return "fileGlobPattern: string expected";
|
|
50277
50294
|
return null;
|
|
50278
50295
|
};
|
|
50279
50296
|
|
|
@@ -50305,6 +50322,8 @@
|
|
|
50305
50322
|
}
|
|
50306
50323
|
if (object.filePattern != null)
|
|
50307
50324
|
message.filePattern = String(object.filePattern);
|
|
50325
|
+
if (object.fileGlobPattern != null)
|
|
50326
|
+
message.fileGlobPattern = String(object.fileGlobPattern);
|
|
50308
50327
|
return message;
|
|
50309
50328
|
};
|
|
50310
50329
|
|
|
@@ -50325,8 +50344,10 @@
|
|
|
50325
50344
|
object.extensions = [];
|
|
50326
50345
|
object.files = [];
|
|
50327
50346
|
}
|
|
50328
|
-
if (options.defaults)
|
|
50347
|
+
if (options.defaults) {
|
|
50329
50348
|
object.filePattern = "";
|
|
50349
|
+
object.fileGlobPattern = "";
|
|
50350
|
+
}
|
|
50330
50351
|
if (message.extensions && message.extensions.length) {
|
|
50331
50352
|
object.extensions = [];
|
|
50332
50353
|
for (var j = 0; j < message.extensions.length; ++j)
|
|
@@ -50339,6 +50360,8 @@
|
|
|
50339
50360
|
}
|
|
50340
50361
|
if (message.filePattern != null && message.hasOwnProperty("filePattern"))
|
|
50341
50362
|
object.filePattern = message.filePattern;
|
|
50363
|
+
if (message.fileGlobPattern != null && message.hasOwnProperty("fileGlobPattern"))
|
|
50364
|
+
object.fileGlobPattern = message.fileGlobPattern;
|
|
50342
50365
|
return object;
|
|
50343
50366
|
};
|
|
50344
50367
|
|
package/main/index.js.flow
CHANGED
|
@@ -28733,6 +28733,11 @@ declare type replit$goval$api$IFileTypeAttrs = {|
|
|
|
28733
28733
|
* FileTypeAttrs filePattern
|
|
28734
28734
|
*/
|
|
28735
28735
|
filePattern?: string | null,
|
|
28736
|
+
|
|
28737
|
+
/**
|
|
28738
|
+
* FileTypeAttrs fileGlobPattern
|
|
28739
|
+
*/
|
|
28740
|
+
fileGlobPattern?: string | null,
|
|
28736
28741
|
|};
|
|
28737
28742
|
|
|
28738
28743
|
/**
|
|
@@ -28760,6 +28765,11 @@ declare class replit$goval$api$FileTypeAttrs {
|
|
|
28760
28765
|
*/
|
|
28761
28766
|
filePattern: string;
|
|
28762
28767
|
|
|
28768
|
+
/**
|
|
28769
|
+
* FileTypeAttrs fileGlobPattern.
|
|
28770
|
+
*/
|
|
28771
|
+
fileGlobPattern: string;
|
|
28772
|
+
|
|
28763
28773
|
/**
|
|
28764
28774
|
* Creates a new FileTypeAttrs instance using the specified properties.
|
|
28765
28775
|
* @param [properties] Properties to set
|