@replit/protocol 0.2.52 → 0.2.53
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/iotester/index.js.flow +1 -1
- package/main/index.d.ts +2 -310
- package/main/index.js +12 -828
- package/main/index.js.flow +3 -439
- package/package-lock.json +879 -0
- package/package.json +2 -2
package/main/index.js.flow
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flowtype definitions for index
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.
|
|
4
|
+
* Flowgen v1.20.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -18700,7 +18700,7 @@ declare type api$IDotReplitUpdateOp = {|
|
|
|
18700
18700
|
/**
|
|
18701
18701
|
* DotReplitUpdateOp value
|
|
18702
18702
|
*/
|
|
18703
|
-
value?:
|
|
18703
|
+
value?: string | null,
|
|
18704
18704
|
|};
|
|
18705
18705
|
|
|
18706
18706
|
/**
|
|
@@ -18726,7 +18726,7 @@ declare class api$DotReplitUpdateOp {
|
|
|
18726
18726
|
/**
|
|
18727
18727
|
* DotReplitUpdateOp value.
|
|
18728
18728
|
*/
|
|
18729
|
-
value
|
|
18729
|
+
value: string;
|
|
18730
18730
|
|
|
18731
18731
|
/**
|
|
18732
18732
|
* Creates a new DotReplitUpdateOp instance using the specified properties.
|
|
@@ -23736,15 +23736,8 @@ declare var npm$namespace$google: {|
|
|
|
23736
23736
|
|};
|
|
23737
23737
|
|
|
23738
23738
|
declare var npm$namespace$google$protobuf: {|
|
|
23739
|
-
NullValue: typeof google$protobuf$NullValue,
|
|
23740
23739
|
ITimestamp: Class<google$protobuf$ITimestamp>,
|
|
23741
|
-
IStruct: Class<google$protobuf$IStruct>,
|
|
23742
|
-
IValue: Class<google$protobuf$IValue>,
|
|
23743
|
-
IListValue: Class<google$protobuf$IListValue>,
|
|
23744
23740
|
Timestamp: typeof google$protobuf$Timestamp,
|
|
23745
|
-
Struct: typeof google$protobuf$Struct,
|
|
23746
|
-
Value: typeof google$protobuf$Value,
|
|
23747
|
-
ListValue: typeof google$protobuf$ListValue,
|
|
23748
23741
|
|};
|
|
23749
23742
|
|
|
23750
23743
|
/**
|
|
@@ -23876,432 +23869,3 @@ declare class google$protobuf$Timestamp {
|
|
|
23876
23869
|
[k: string]: any,
|
|
23877
23870
|
|};
|
|
23878
23871
|
}
|
|
23879
|
-
|
|
23880
|
-
/**
|
|
23881
|
-
* Properties of a Struct.
|
|
23882
|
-
*/
|
|
23883
|
-
declare type google$protobuf$IStruct = {|
|
|
23884
|
-
/**
|
|
23885
|
-
* Struct fields
|
|
23886
|
-
*/
|
|
23887
|
-
fields?: {|
|
|
23888
|
-
[k: string]: google$protobuf$Value | google$protobuf$IValue,
|
|
23889
|
-
|} | null,
|
|
23890
|
-
|};
|
|
23891
|
-
|
|
23892
|
-
/**
|
|
23893
|
-
* Represents a Struct.
|
|
23894
|
-
*/
|
|
23895
|
-
declare class google$protobuf$Struct {
|
|
23896
|
-
/**
|
|
23897
|
-
* Constructs a new Struct.
|
|
23898
|
-
* @param [properties] Properties to set
|
|
23899
|
-
*/
|
|
23900
|
-
constructor(properties?: google$protobuf$IStruct): this;
|
|
23901
|
-
|
|
23902
|
-
/**
|
|
23903
|
-
* Struct fields.
|
|
23904
|
-
*/
|
|
23905
|
-
fields: {|
|
|
23906
|
-
[k: string]: google$protobuf$Value,
|
|
23907
|
-
|};
|
|
23908
|
-
|
|
23909
|
-
/**
|
|
23910
|
-
* Creates a new Struct instance using the specified properties.
|
|
23911
|
-
* @param [properties] Properties to set
|
|
23912
|
-
* @returns Struct instance
|
|
23913
|
-
*/
|
|
23914
|
-
static create(properties?: google$protobuf$IStruct): google$protobuf$Struct;
|
|
23915
|
-
|
|
23916
|
-
/**
|
|
23917
|
-
* [object Object],[object Object],[object Object]
|
|
23918
|
-
* @param message Struct message or plain object to encode
|
|
23919
|
-
* @param [writer] Writer to encode to
|
|
23920
|
-
* @returns Writer
|
|
23921
|
-
*/
|
|
23922
|
-
static encode(
|
|
23923
|
-
message: google$protobuf$Struct,
|
|
23924
|
-
writer?: $protobuf.Writer
|
|
23925
|
-
): $protobuf.Writer;
|
|
23926
|
-
|
|
23927
|
-
/**
|
|
23928
|
-
* [object Object],[object Object],[object Object]
|
|
23929
|
-
* @param message Struct message or plain object to encode
|
|
23930
|
-
* @param [writer] Writer to encode to
|
|
23931
|
-
* @returns Writer
|
|
23932
|
-
*/
|
|
23933
|
-
static encodeDelimited(
|
|
23934
|
-
message: google$protobuf$Struct,
|
|
23935
|
-
writer?: $protobuf.Writer
|
|
23936
|
-
): $protobuf.Writer;
|
|
23937
|
-
|
|
23938
|
-
/**
|
|
23939
|
-
* Decodes a Struct message from the specified reader or buffer.
|
|
23940
|
-
* @param reader Reader or buffer to decode from
|
|
23941
|
-
* @param [length] Message length if known beforehand
|
|
23942
|
-
* @returns Struct
|
|
23943
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23944
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23945
|
-
*/
|
|
23946
|
-
static decode(
|
|
23947
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
23948
|
-
length?: number
|
|
23949
|
-
): google$protobuf$Struct;
|
|
23950
|
-
|
|
23951
|
-
/**
|
|
23952
|
-
* Decodes a Struct message from the specified reader or buffer, length delimited.
|
|
23953
|
-
* @param reader Reader or buffer to decode from
|
|
23954
|
-
* @returns Struct
|
|
23955
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23956
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23957
|
-
*/
|
|
23958
|
-
static decodeDelimited(
|
|
23959
|
-
reader: $protobuf.Reader | Uint8Array
|
|
23960
|
-
): google$protobuf$Struct;
|
|
23961
|
-
|
|
23962
|
-
/**
|
|
23963
|
-
* Verifies a Struct message.
|
|
23964
|
-
* @param message Plain object to verify
|
|
23965
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
23966
|
-
*/
|
|
23967
|
-
static verify(message: {|
|
|
23968
|
-
[k: string]: any,
|
|
23969
|
-
|}): string | null;
|
|
23970
|
-
|
|
23971
|
-
/**
|
|
23972
|
-
* Creates a Struct message from a plain object. Also converts values to their respective internal types.
|
|
23973
|
-
* @param object Plain object
|
|
23974
|
-
* @returns Struct
|
|
23975
|
-
*/
|
|
23976
|
-
static fromObject(object: {|
|
|
23977
|
-
[k: string]: any,
|
|
23978
|
-
|}): google$protobuf$Struct;
|
|
23979
|
-
|
|
23980
|
-
/**
|
|
23981
|
-
* Creates a plain object from a Struct message. Also converts values to other types if specified.
|
|
23982
|
-
* @param message Struct
|
|
23983
|
-
* @param [options] Conversion options
|
|
23984
|
-
* @returns Plain object
|
|
23985
|
-
*/
|
|
23986
|
-
static toObject(
|
|
23987
|
-
message: google$protobuf$Struct,
|
|
23988
|
-
options?: $protobuf.IConversionOptions
|
|
23989
|
-
): {|
|
|
23990
|
-
[k: string]: any,
|
|
23991
|
-
|};
|
|
23992
|
-
|
|
23993
|
-
/**
|
|
23994
|
-
* Converts this Struct to JSON.
|
|
23995
|
-
* @returns JSON object
|
|
23996
|
-
*/
|
|
23997
|
-
toJSON(): {|
|
|
23998
|
-
[k: string]: any,
|
|
23999
|
-
|};
|
|
24000
|
-
}
|
|
24001
|
-
|
|
24002
|
-
/**
|
|
24003
|
-
* Properties of a Value.
|
|
24004
|
-
*/
|
|
24005
|
-
declare type google$protobuf$IValue = {|
|
|
24006
|
-
/**
|
|
24007
|
-
* Value nullValue
|
|
24008
|
-
*/
|
|
24009
|
-
nullValue?: $Values<typeof google$protobuf$NullValue> | null,
|
|
24010
|
-
|
|
24011
|
-
/**
|
|
24012
|
-
* Value numberValue
|
|
24013
|
-
*/
|
|
24014
|
-
numberValue?: number | null,
|
|
24015
|
-
|
|
24016
|
-
/**
|
|
24017
|
-
* Value stringValue
|
|
24018
|
-
*/
|
|
24019
|
-
stringValue?: string | null,
|
|
24020
|
-
|
|
24021
|
-
/**
|
|
24022
|
-
* Value boolValue
|
|
24023
|
-
*/
|
|
24024
|
-
boolValue?: boolean | null,
|
|
24025
|
-
|
|
24026
|
-
/**
|
|
24027
|
-
* Value structValue
|
|
24028
|
-
*/
|
|
24029
|
-
structValue?: google$protobuf$Struct | google$protobuf$IStruct | null,
|
|
24030
|
-
|
|
24031
|
-
/**
|
|
24032
|
-
* Value listValue
|
|
24033
|
-
*/
|
|
24034
|
-
listValue?: google$protobuf$ListValue | google$protobuf$IListValue | null,
|
|
24035
|
-
|};
|
|
24036
|
-
|
|
24037
|
-
/**
|
|
24038
|
-
* Represents a Value.
|
|
24039
|
-
*/
|
|
24040
|
-
declare class google$protobuf$Value {
|
|
24041
|
-
/**
|
|
24042
|
-
* Constructs a new Value.
|
|
24043
|
-
* @param [properties] Properties to set
|
|
24044
|
-
*/
|
|
24045
|
-
constructor(properties?: google$protobuf$IValue): this;
|
|
24046
|
-
|
|
24047
|
-
/**
|
|
24048
|
-
* Value nullValue.
|
|
24049
|
-
*/
|
|
24050
|
-
nullValue?: $Values<typeof google$protobuf$NullValue> | null;
|
|
24051
|
-
|
|
24052
|
-
/**
|
|
24053
|
-
* Value numberValue.
|
|
24054
|
-
*/
|
|
24055
|
-
numberValue?: number | null;
|
|
24056
|
-
|
|
24057
|
-
/**
|
|
24058
|
-
* Value stringValue.
|
|
24059
|
-
*/
|
|
24060
|
-
stringValue?: string | null;
|
|
24061
|
-
|
|
24062
|
-
/**
|
|
24063
|
-
* Value boolValue.
|
|
24064
|
-
*/
|
|
24065
|
-
boolValue?: boolean | null;
|
|
24066
|
-
|
|
24067
|
-
/**
|
|
24068
|
-
* Value structValue.
|
|
24069
|
-
*/
|
|
24070
|
-
structValue?: google$protobuf$Struct | null;
|
|
24071
|
-
|
|
24072
|
-
/**
|
|
24073
|
-
* Value listValue.
|
|
24074
|
-
*/
|
|
24075
|
-
listValue?: google$protobuf$ListValue | null;
|
|
24076
|
-
|
|
24077
|
-
/**
|
|
24078
|
-
* Value kind.
|
|
24079
|
-
*/
|
|
24080
|
-
kind?:
|
|
24081
|
-
| "nullValue"
|
|
24082
|
-
| "numberValue"
|
|
24083
|
-
| "stringValue"
|
|
24084
|
-
| "boolValue"
|
|
24085
|
-
| "structValue"
|
|
24086
|
-
| "listValue";
|
|
24087
|
-
|
|
24088
|
-
/**
|
|
24089
|
-
* Creates a new Value instance using the specified properties.
|
|
24090
|
-
* @param [properties] Properties to set
|
|
24091
|
-
* @returns Value instance
|
|
24092
|
-
*/
|
|
24093
|
-
static create(properties?: google$protobuf$IValue): google$protobuf$Value;
|
|
24094
|
-
|
|
24095
|
-
/**
|
|
24096
|
-
* [object Object],[object Object],[object Object]
|
|
24097
|
-
* @param message Value message or plain object to encode
|
|
24098
|
-
* @param [writer] Writer to encode to
|
|
24099
|
-
* @returns Writer
|
|
24100
|
-
*/
|
|
24101
|
-
static encode(
|
|
24102
|
-
message: google$protobuf$Value,
|
|
24103
|
-
writer?: $protobuf.Writer
|
|
24104
|
-
): $protobuf.Writer;
|
|
24105
|
-
|
|
24106
|
-
/**
|
|
24107
|
-
* [object Object],[object Object],[object Object]
|
|
24108
|
-
* @param message Value message or plain object to encode
|
|
24109
|
-
* @param [writer] Writer to encode to
|
|
24110
|
-
* @returns Writer
|
|
24111
|
-
*/
|
|
24112
|
-
static encodeDelimited(
|
|
24113
|
-
message: google$protobuf$Value,
|
|
24114
|
-
writer?: $protobuf.Writer
|
|
24115
|
-
): $protobuf.Writer;
|
|
24116
|
-
|
|
24117
|
-
/**
|
|
24118
|
-
* Decodes a Value message from the specified reader or buffer.
|
|
24119
|
-
* @param reader Reader or buffer to decode from
|
|
24120
|
-
* @param [length] Message length if known beforehand
|
|
24121
|
-
* @returns Value
|
|
24122
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24123
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24124
|
-
*/
|
|
24125
|
-
static decode(
|
|
24126
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
24127
|
-
length?: number
|
|
24128
|
-
): google$protobuf$Value;
|
|
24129
|
-
|
|
24130
|
-
/**
|
|
24131
|
-
* Decodes a Value message from the specified reader or buffer, length delimited.
|
|
24132
|
-
* @param reader Reader or buffer to decode from
|
|
24133
|
-
* @returns Value
|
|
24134
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24135
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24136
|
-
*/
|
|
24137
|
-
static decodeDelimited(
|
|
24138
|
-
reader: $protobuf.Reader | Uint8Array
|
|
24139
|
-
): google$protobuf$Value;
|
|
24140
|
-
|
|
24141
|
-
/**
|
|
24142
|
-
* Verifies a Value message.
|
|
24143
|
-
* @param message Plain object to verify
|
|
24144
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
24145
|
-
*/
|
|
24146
|
-
static verify(message: {|
|
|
24147
|
-
[k: string]: any,
|
|
24148
|
-
|}): string | null;
|
|
24149
|
-
|
|
24150
|
-
/**
|
|
24151
|
-
* Creates a Value message from a plain object. Also converts values to their respective internal types.
|
|
24152
|
-
* @param object Plain object
|
|
24153
|
-
* @returns Value
|
|
24154
|
-
*/
|
|
24155
|
-
static fromObject(object: {|
|
|
24156
|
-
[k: string]: any,
|
|
24157
|
-
|}): google$protobuf$Value;
|
|
24158
|
-
|
|
24159
|
-
/**
|
|
24160
|
-
* Creates a plain object from a Value message. Also converts values to other types if specified.
|
|
24161
|
-
* @param message Value
|
|
24162
|
-
* @param [options] Conversion options
|
|
24163
|
-
* @returns Plain object
|
|
24164
|
-
*/
|
|
24165
|
-
static toObject(
|
|
24166
|
-
message: google$protobuf$Value,
|
|
24167
|
-
options?: $protobuf.IConversionOptions
|
|
24168
|
-
): {|
|
|
24169
|
-
[k: string]: any,
|
|
24170
|
-
|};
|
|
24171
|
-
|
|
24172
|
-
/**
|
|
24173
|
-
* Converts this Value to JSON.
|
|
24174
|
-
* @returns JSON object
|
|
24175
|
-
*/
|
|
24176
|
-
toJSON(): {|
|
|
24177
|
-
[k: string]: any,
|
|
24178
|
-
|};
|
|
24179
|
-
}
|
|
24180
|
-
|
|
24181
|
-
/**
|
|
24182
|
-
* NullValue enum.
|
|
24183
|
-
*/
|
|
24184
|
-
|
|
24185
|
-
declare var google$protobuf$NullValue: {|
|
|
24186
|
-
+NULL_VALUE: 0, // 0
|
|
24187
|
-
|};
|
|
24188
|
-
|
|
24189
|
-
/**
|
|
24190
|
-
* Properties of a ListValue.
|
|
24191
|
-
*/
|
|
24192
|
-
declare type google$protobuf$IListValue = {|
|
|
24193
|
-
/**
|
|
24194
|
-
* ListValue values
|
|
24195
|
-
*/
|
|
24196
|
-
values?: (google$protobuf$Value | google$protobuf$IValue)[] | null,
|
|
24197
|
-
|};
|
|
24198
|
-
|
|
24199
|
-
/**
|
|
24200
|
-
* Represents a ListValue.
|
|
24201
|
-
*/
|
|
24202
|
-
declare class google$protobuf$ListValue {
|
|
24203
|
-
/**
|
|
24204
|
-
* Constructs a new ListValue.
|
|
24205
|
-
* @param [properties] Properties to set
|
|
24206
|
-
*/
|
|
24207
|
-
constructor(properties?: google$protobuf$IListValue): this;
|
|
24208
|
-
|
|
24209
|
-
/**
|
|
24210
|
-
* ListValue values.
|
|
24211
|
-
*/
|
|
24212
|
-
values: google$protobuf$Value[];
|
|
24213
|
-
|
|
24214
|
-
/**
|
|
24215
|
-
* Creates a new ListValue instance using the specified properties.
|
|
24216
|
-
* @param [properties] Properties to set
|
|
24217
|
-
* @returns ListValue instance
|
|
24218
|
-
*/
|
|
24219
|
-
static create(
|
|
24220
|
-
properties?: google$protobuf$IListValue
|
|
24221
|
-
): google$protobuf$ListValue;
|
|
24222
|
-
|
|
24223
|
-
/**
|
|
24224
|
-
* [object Object],[object Object],[object Object]
|
|
24225
|
-
* @param message ListValue message or plain object to encode
|
|
24226
|
-
* @param [writer] Writer to encode to
|
|
24227
|
-
* @returns Writer
|
|
24228
|
-
*/
|
|
24229
|
-
static encode(
|
|
24230
|
-
message: google$protobuf$ListValue,
|
|
24231
|
-
writer?: $protobuf.Writer
|
|
24232
|
-
): $protobuf.Writer;
|
|
24233
|
-
|
|
24234
|
-
/**
|
|
24235
|
-
* [object Object],[object Object],[object Object]
|
|
24236
|
-
* @param message ListValue message or plain object to encode
|
|
24237
|
-
* @param [writer] Writer to encode to
|
|
24238
|
-
* @returns Writer
|
|
24239
|
-
*/
|
|
24240
|
-
static encodeDelimited(
|
|
24241
|
-
message: google$protobuf$ListValue,
|
|
24242
|
-
writer?: $protobuf.Writer
|
|
24243
|
-
): $protobuf.Writer;
|
|
24244
|
-
|
|
24245
|
-
/**
|
|
24246
|
-
* Decodes a ListValue message from the specified reader or buffer.
|
|
24247
|
-
* @param reader Reader or buffer to decode from
|
|
24248
|
-
* @param [length] Message length if known beforehand
|
|
24249
|
-
* @returns ListValue
|
|
24250
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24251
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24252
|
-
*/
|
|
24253
|
-
static decode(
|
|
24254
|
-
reader: $protobuf.Reader | Uint8Array,
|
|
24255
|
-
length?: number
|
|
24256
|
-
): google$protobuf$ListValue;
|
|
24257
|
-
|
|
24258
|
-
/**
|
|
24259
|
-
* Decodes a ListValue message from the specified reader or buffer, length delimited.
|
|
24260
|
-
* @param reader Reader or buffer to decode from
|
|
24261
|
-
* @returns ListValue
|
|
24262
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24263
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24264
|
-
*/
|
|
24265
|
-
static decodeDelimited(
|
|
24266
|
-
reader: $protobuf.Reader | Uint8Array
|
|
24267
|
-
): google$protobuf$ListValue;
|
|
24268
|
-
|
|
24269
|
-
/**
|
|
24270
|
-
* Verifies a ListValue message.
|
|
24271
|
-
* @param message Plain object to verify
|
|
24272
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
24273
|
-
*/
|
|
24274
|
-
static verify(message: {|
|
|
24275
|
-
[k: string]: any,
|
|
24276
|
-
|}): string | null;
|
|
24277
|
-
|
|
24278
|
-
/**
|
|
24279
|
-
* Creates a ListValue message from a plain object. Also converts values to their respective internal types.
|
|
24280
|
-
* @param object Plain object
|
|
24281
|
-
* @returns ListValue
|
|
24282
|
-
*/
|
|
24283
|
-
static fromObject(object: {|
|
|
24284
|
-
[k: string]: any,
|
|
24285
|
-
|}): google$protobuf$ListValue;
|
|
24286
|
-
|
|
24287
|
-
/**
|
|
24288
|
-
* Creates a plain object from a ListValue message. Also converts values to other types if specified.
|
|
24289
|
-
* @param message ListValue
|
|
24290
|
-
* @param [options] Conversion options
|
|
24291
|
-
* @returns Plain object
|
|
24292
|
-
*/
|
|
24293
|
-
static toObject(
|
|
24294
|
-
message: google$protobuf$ListValue,
|
|
24295
|
-
options?: $protobuf.IConversionOptions
|
|
24296
|
-
): {|
|
|
24297
|
-
[k: string]: any,
|
|
24298
|
-
|};
|
|
24299
|
-
|
|
24300
|
-
/**
|
|
24301
|
-
* Converts this ListValue to JSON.
|
|
24302
|
-
* @returns JSON object
|
|
24303
|
-
*/
|
|
24304
|
-
toJSON(): {|
|
|
24305
|
-
[k: string]: any,
|
|
24306
|
-
|};
|
|
24307
|
-
}
|