@replit/protocol 0.2.56 → 0.2.57
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 +144 -144
- package/main/index.js +359 -366
- package/main/index.js.flow +181 -187
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -317,9 +317,6 @@ export namespace api {
|
|
|
317
317
|
/** Command packageInstall */
|
|
318
318
|
packageInstall?: (api.PackageInstall|api.IPackageInstall|null);
|
|
319
319
|
|
|
320
|
-
/** Command packageInstallResponse */
|
|
321
|
-
packageInstallResponse?: (api.PackageInstallResponse|api.IPackageInstallResponse|null);
|
|
322
|
-
|
|
323
320
|
/** Command packageListSpecfile */
|
|
324
321
|
packageListSpecfile?: (api.PackageListSpecfile|api.IPackageListSpecfile|null);
|
|
325
322
|
|
|
@@ -789,9 +786,6 @@ export namespace api {
|
|
|
789
786
|
/** Command packageInstall. */
|
|
790
787
|
public packageInstall?: (api.PackageInstall|null);
|
|
791
788
|
|
|
792
|
-
/** Command packageInstallResponse. */
|
|
793
|
-
public packageInstallResponse?: (api.PackageInstallResponse|null);
|
|
794
|
-
|
|
795
789
|
/** Command packageListSpecfile. */
|
|
796
790
|
public packageListSpecfile?: (api.PackageListSpecfile|null);
|
|
797
791
|
|
|
@@ -940,7 +934,7 @@ export namespace api {
|
|
|
940
934
|
public traceInfo: { [k: string]: string };
|
|
941
935
|
|
|
942
936
|
/** Command body. */
|
|
943
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"
|
|
937
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied");
|
|
944
938
|
|
|
945
939
|
/**
|
|
946
940
|
* Creates a new Command instance using the specified properties.
|
|
@@ -7513,6 +7507,9 @@ export namespace api {
|
|
|
7513
7507
|
|
|
7514
7508
|
/** RunMain runMode */
|
|
7515
7509
|
runMode?: (api.RunMain.RunMode|null);
|
|
7510
|
+
|
|
7511
|
+
/** RunMain idempotent */
|
|
7512
|
+
idempotent?: (boolean|null);
|
|
7516
7513
|
}
|
|
7517
7514
|
|
|
7518
7515
|
/** Represents a RunMain. */
|
|
@@ -7527,6 +7524,9 @@ export namespace api {
|
|
|
7527
7524
|
/** RunMain runMode. */
|
|
7528
7525
|
public runMode: api.RunMain.RunMode;
|
|
7529
7526
|
|
|
7527
|
+
/** RunMain idempotent. */
|
|
7528
|
+
public idempotent: boolean;
|
|
7529
|
+
|
|
7530
7530
|
/**
|
|
7531
7531
|
* Creates a new RunMain instance using the specified properties.
|
|
7532
7532
|
* @param [properties] Properties to set
|
|
@@ -8763,8 +8763,8 @@ export namespace api {
|
|
|
8763
8763
|
/** OTPacket version */
|
|
8764
8764
|
version?: (number|null);
|
|
8765
8765
|
|
|
8766
|
-
/** OTPacket
|
|
8767
|
-
|
|
8766
|
+
/** OTPacket ops */
|
|
8767
|
+
ops?: ((api.OTRuneTransformOp|api.IOTRuneTransformOp)[]|null);
|
|
8768
8768
|
|
|
8769
8769
|
/** OTPacket crc32 */
|
|
8770
8770
|
crc32?: (number|null);
|
|
@@ -8794,8 +8794,8 @@ export namespace api {
|
|
|
8794
8794
|
/** OTPacket version. */
|
|
8795
8795
|
public version: number;
|
|
8796
8796
|
|
|
8797
|
-
/** OTPacket
|
|
8798
|
-
public
|
|
8797
|
+
/** OTPacket ops. */
|
|
8798
|
+
public ops: api.OTRuneTransformOp[];
|
|
8799
8799
|
|
|
8800
8800
|
/** OTPacket crc32. */
|
|
8801
8801
|
public crc32: number;
|
|
@@ -8880,106 +8880,106 @@ export namespace api {
|
|
|
8880
8880
|
public toJSON(): { [k: string]: any };
|
|
8881
8881
|
}
|
|
8882
8882
|
|
|
8883
|
-
/** Properties of a
|
|
8884
|
-
interface
|
|
8883
|
+
/** Properties of a OTRuneTransformOp. */
|
|
8884
|
+
interface IOTRuneTransformOp {
|
|
8885
8885
|
|
|
8886
|
-
/**
|
|
8886
|
+
/** OTRuneTransformOp skip */
|
|
8887
8887
|
skip?: (number|null);
|
|
8888
8888
|
|
|
8889
|
-
/**
|
|
8889
|
+
/** OTRuneTransformOp delete */
|
|
8890
8890
|
"delete"?: (number|null);
|
|
8891
8891
|
|
|
8892
|
-
/**
|
|
8892
|
+
/** OTRuneTransformOp insert */
|
|
8893
8893
|
insert?: (string|null);
|
|
8894
8894
|
}
|
|
8895
8895
|
|
|
8896
|
-
/** Represents a
|
|
8897
|
-
class
|
|
8896
|
+
/** Represents a OTRuneTransformOp. */
|
|
8897
|
+
class OTRuneTransformOp {
|
|
8898
8898
|
|
|
8899
8899
|
/**
|
|
8900
|
-
* Constructs a new
|
|
8900
|
+
* Constructs a new OTRuneTransformOp.
|
|
8901
8901
|
* @param [properties] Properties to set
|
|
8902
8902
|
*/
|
|
8903
|
-
private constructor(properties?: api.
|
|
8903
|
+
private constructor(properties?: api.IOTRuneTransformOp);
|
|
8904
8904
|
|
|
8905
|
-
/**
|
|
8905
|
+
/** OTRuneTransformOp skip. */
|
|
8906
8906
|
public skip?: (number|null);
|
|
8907
8907
|
|
|
8908
|
-
/**
|
|
8908
|
+
/** OTRuneTransformOp delete. */
|
|
8909
8909
|
public delete?: (number|null);
|
|
8910
8910
|
|
|
8911
|
-
/**
|
|
8911
|
+
/** OTRuneTransformOp insert. */
|
|
8912
8912
|
public insert?: (string|null);
|
|
8913
8913
|
|
|
8914
|
-
/**
|
|
8915
|
-
public
|
|
8914
|
+
/** OTRuneTransformOp op. */
|
|
8915
|
+
public op?: ("skip"|"delete"|"insert");
|
|
8916
8916
|
|
|
8917
8917
|
/**
|
|
8918
|
-
* Creates a new
|
|
8918
|
+
* Creates a new OTRuneTransformOp instance using the specified properties.
|
|
8919
8919
|
* @param [properties] Properties to set
|
|
8920
|
-
* @returns
|
|
8920
|
+
* @returns OTRuneTransformOp instance
|
|
8921
8921
|
*/
|
|
8922
|
-
public static create(properties?: api.
|
|
8922
|
+
public static create(properties?: api.IOTRuneTransformOp): api.OTRuneTransformOp;
|
|
8923
8923
|
|
|
8924
8924
|
/**
|
|
8925
|
-
* Encodes the specified
|
|
8926
|
-
* @param message
|
|
8925
|
+
* Encodes the specified OTRuneTransformOp message. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
|
|
8926
|
+
* @param message OTRuneTransformOp message or plain object to encode
|
|
8927
8927
|
* @param [writer] Writer to encode to
|
|
8928
8928
|
* @returns Writer
|
|
8929
8929
|
*/
|
|
8930
|
-
public static encode(message: api.
|
|
8930
|
+
public static encode(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8931
8931
|
|
|
8932
8932
|
/**
|
|
8933
|
-
* Encodes the specified
|
|
8934
|
-
* @param message
|
|
8933
|
+
* Encodes the specified OTRuneTransformOp message, length delimited. Does not implicitly {@link api.OTRuneTransformOp.verify|verify} messages.
|
|
8934
|
+
* @param message OTRuneTransformOp message or plain object to encode
|
|
8935
8935
|
* @param [writer] Writer to encode to
|
|
8936
8936
|
* @returns Writer
|
|
8937
8937
|
*/
|
|
8938
|
-
public static encodeDelimited(message: api.
|
|
8938
|
+
public static encodeDelimited(message: api.OTRuneTransformOp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
8939
8939
|
|
|
8940
8940
|
/**
|
|
8941
|
-
* Decodes a
|
|
8941
|
+
* Decodes a OTRuneTransformOp message from the specified reader or buffer.
|
|
8942
8942
|
* @param reader Reader or buffer to decode from
|
|
8943
8943
|
* @param [length] Message length if known beforehand
|
|
8944
|
-
* @returns
|
|
8944
|
+
* @returns OTRuneTransformOp
|
|
8945
8945
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8946
8946
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8947
8947
|
*/
|
|
8948
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.
|
|
8948
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.OTRuneTransformOp;
|
|
8949
8949
|
|
|
8950
8950
|
/**
|
|
8951
|
-
* Decodes a
|
|
8951
|
+
* Decodes a OTRuneTransformOp message from the specified reader or buffer, length delimited.
|
|
8952
8952
|
* @param reader Reader or buffer to decode from
|
|
8953
|
-
* @returns
|
|
8953
|
+
* @returns OTRuneTransformOp
|
|
8954
8954
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
8955
8955
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
8956
8956
|
*/
|
|
8957
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.
|
|
8957
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.OTRuneTransformOp;
|
|
8958
8958
|
|
|
8959
8959
|
/**
|
|
8960
|
-
* Verifies a
|
|
8960
|
+
* Verifies a OTRuneTransformOp message.
|
|
8961
8961
|
* @param message Plain object to verify
|
|
8962
8962
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
8963
8963
|
*/
|
|
8964
8964
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
8965
8965
|
|
|
8966
8966
|
/**
|
|
8967
|
-
* Creates a
|
|
8967
|
+
* Creates a OTRuneTransformOp message from a plain object. Also converts values to their respective internal types.
|
|
8968
8968
|
* @param object Plain object
|
|
8969
|
-
* @returns
|
|
8969
|
+
* @returns OTRuneTransformOp
|
|
8970
8970
|
*/
|
|
8971
|
-
public static fromObject(object: { [k: string]: any }): api.
|
|
8971
|
+
public static fromObject(object: { [k: string]: any }): api.OTRuneTransformOp;
|
|
8972
8972
|
|
|
8973
8973
|
/**
|
|
8974
|
-
* Creates a plain object from a
|
|
8975
|
-
* @param message
|
|
8974
|
+
* Creates a plain object from a OTRuneTransformOp message. Also converts values to other types if specified.
|
|
8975
|
+
* @param message OTRuneTransformOp
|
|
8976
8976
|
* @param [options] Conversion options
|
|
8977
8977
|
* @returns Plain object
|
|
8978
8978
|
*/
|
|
8979
|
-
public static toObject(message: api.
|
|
8979
|
+
public static toObject(message: api.OTRuneTransformOp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
8980
8980
|
|
|
8981
8981
|
/**
|
|
8982
|
-
* Converts this
|
|
8982
|
+
* Converts this OTRuneTransformOp to JSON.
|
|
8983
8983
|
* @returns JSON object
|
|
8984
8984
|
*/
|
|
8985
8985
|
public toJSON(): { [k: string]: any };
|
|
@@ -10992,9 +10992,6 @@ export namespace api {
|
|
|
10992
10992
|
|
|
10993
10993
|
/** PackageInstall fromHosting */
|
|
10994
10994
|
fromHosting?: (boolean|null);
|
|
10995
|
-
|
|
10996
|
-
/** PackageInstall useNewResponse */
|
|
10997
|
-
useNewResponse?: (boolean|null);
|
|
10998
10995
|
}
|
|
10999
10996
|
|
|
11000
10997
|
/** Represents a PackageInstall. */
|
|
@@ -11009,9 +11006,6 @@ export namespace api {
|
|
|
11009
11006
|
/** PackageInstall fromHosting. */
|
|
11010
11007
|
public fromHosting: boolean;
|
|
11011
11008
|
|
|
11012
|
-
/** PackageInstall useNewResponse. */
|
|
11013
|
-
public useNewResponse: boolean;
|
|
11014
|
-
|
|
11015
11009
|
/**
|
|
11016
11010
|
* Creates a new PackageInstall instance using the specified properties.
|
|
11017
11011
|
* @param [properties] Properties to set
|
|
@@ -11083,96 +11077,6 @@ export namespace api {
|
|
|
11083
11077
|
public toJSON(): { [k: string]: any };
|
|
11084
11078
|
}
|
|
11085
11079
|
|
|
11086
|
-
/** Properties of a PackageInstallResponse. */
|
|
11087
|
-
interface IPackageInstallResponse {
|
|
11088
|
-
|
|
11089
|
-
/** PackageInstallResponse guessedPkgs */
|
|
11090
|
-
guessedPkgs?: (string[]|null);
|
|
11091
|
-
}
|
|
11092
|
-
|
|
11093
|
-
/** Represents a PackageInstallResponse. */
|
|
11094
|
-
class PackageInstallResponse {
|
|
11095
|
-
|
|
11096
|
-
/**
|
|
11097
|
-
* Constructs a new PackageInstallResponse.
|
|
11098
|
-
* @param [properties] Properties to set
|
|
11099
|
-
*/
|
|
11100
|
-
private constructor(properties?: api.IPackageInstallResponse);
|
|
11101
|
-
|
|
11102
|
-
/** PackageInstallResponse guessedPkgs. */
|
|
11103
|
-
public guessedPkgs: string[];
|
|
11104
|
-
|
|
11105
|
-
/**
|
|
11106
|
-
* Creates a new PackageInstallResponse instance using the specified properties.
|
|
11107
|
-
* @param [properties] Properties to set
|
|
11108
|
-
* @returns PackageInstallResponse instance
|
|
11109
|
-
*/
|
|
11110
|
-
public static create(properties?: api.IPackageInstallResponse): api.PackageInstallResponse;
|
|
11111
|
-
|
|
11112
|
-
/**
|
|
11113
|
-
* Encodes the specified PackageInstallResponse message. Does not implicitly {@link api.PackageInstallResponse.verify|verify} messages.
|
|
11114
|
-
* @param message PackageInstallResponse message or plain object to encode
|
|
11115
|
-
* @param [writer] Writer to encode to
|
|
11116
|
-
* @returns Writer
|
|
11117
|
-
*/
|
|
11118
|
-
public static encode(message: api.PackageInstallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11119
|
-
|
|
11120
|
-
/**
|
|
11121
|
-
* Encodes the specified PackageInstallResponse message, length delimited. Does not implicitly {@link api.PackageInstallResponse.verify|verify} messages.
|
|
11122
|
-
* @param message PackageInstallResponse message or plain object to encode
|
|
11123
|
-
* @param [writer] Writer to encode to
|
|
11124
|
-
* @returns Writer
|
|
11125
|
-
*/
|
|
11126
|
-
public static encodeDelimited(message: api.PackageInstallResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11127
|
-
|
|
11128
|
-
/**
|
|
11129
|
-
* Decodes a PackageInstallResponse message from the specified reader or buffer.
|
|
11130
|
-
* @param reader Reader or buffer to decode from
|
|
11131
|
-
* @param [length] Message length if known beforehand
|
|
11132
|
-
* @returns PackageInstallResponse
|
|
11133
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11134
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11135
|
-
*/
|
|
11136
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.PackageInstallResponse;
|
|
11137
|
-
|
|
11138
|
-
/**
|
|
11139
|
-
* Decodes a PackageInstallResponse message from the specified reader or buffer, length delimited.
|
|
11140
|
-
* @param reader Reader or buffer to decode from
|
|
11141
|
-
* @returns PackageInstallResponse
|
|
11142
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11143
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11144
|
-
*/
|
|
11145
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.PackageInstallResponse;
|
|
11146
|
-
|
|
11147
|
-
/**
|
|
11148
|
-
* Verifies a PackageInstallResponse message.
|
|
11149
|
-
* @param message Plain object to verify
|
|
11150
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
11151
|
-
*/
|
|
11152
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
11153
|
-
|
|
11154
|
-
/**
|
|
11155
|
-
* Creates a PackageInstallResponse message from a plain object. Also converts values to their respective internal types.
|
|
11156
|
-
* @param object Plain object
|
|
11157
|
-
* @returns PackageInstallResponse
|
|
11158
|
-
*/
|
|
11159
|
-
public static fromObject(object: { [k: string]: any }): api.PackageInstallResponse;
|
|
11160
|
-
|
|
11161
|
-
/**
|
|
11162
|
-
* Creates a plain object from a PackageInstallResponse message. Also converts values to other types if specified.
|
|
11163
|
-
* @param message PackageInstallResponse
|
|
11164
|
-
* @param [options] Conversion options
|
|
11165
|
-
* @returns Plain object
|
|
11166
|
-
*/
|
|
11167
|
-
public static toObject(message: api.PackageInstallResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11168
|
-
|
|
11169
|
-
/**
|
|
11170
|
-
* Converts this PackageInstallResponse to JSON.
|
|
11171
|
-
* @returns JSON object
|
|
11172
|
-
*/
|
|
11173
|
-
public toJSON(): { [k: string]: any };
|
|
11174
|
-
}
|
|
11175
|
-
|
|
11176
11080
|
/** Properties of a PackageListSpecfile. */
|
|
11177
11081
|
interface IPackageListSpecfile {
|
|
11178
11082
|
}
|
|
@@ -14459,6 +14363,9 @@ export namespace api {
|
|
|
14459
14363
|
|
|
14460
14364
|
/** DotReplit env */
|
|
14461
14365
|
env?: ({ [k: string]: string }|null);
|
|
14366
|
+
|
|
14367
|
+
/** DotReplit gitHubImport */
|
|
14368
|
+
gitHubImport?: (api.GitHubImportConfig|api.IGitHubImportConfig|null);
|
|
14462
14369
|
}
|
|
14463
14370
|
|
|
14464
14371
|
/** Represents a DotReplit. */
|
|
@@ -14515,6 +14422,9 @@ export namespace api {
|
|
|
14515
14422
|
/** DotReplit env. */
|
|
14516
14423
|
public env: { [k: string]: string };
|
|
14517
14424
|
|
|
14425
|
+
/** DotReplit gitHubImport. */
|
|
14426
|
+
public gitHubImport?: (api.GitHubImportConfig|null);
|
|
14427
|
+
|
|
14518
14428
|
/**
|
|
14519
14429
|
* Creates a new DotReplit instance using the specified properties.
|
|
14520
14430
|
* @param [properties] Properties to set
|
|
@@ -14586,6 +14496,96 @@ export namespace api {
|
|
|
14586
14496
|
public toJSON(): { [k: string]: any };
|
|
14587
14497
|
}
|
|
14588
14498
|
|
|
14499
|
+
/** Properties of a GitHubImportConfig. */
|
|
14500
|
+
interface IGitHubImportConfig {
|
|
14501
|
+
|
|
14502
|
+
/** GitHubImportConfig RequiredFiles */
|
|
14503
|
+
RequiredFiles?: (string[]|null);
|
|
14504
|
+
}
|
|
14505
|
+
|
|
14506
|
+
/** Represents a GitHubImportConfig. */
|
|
14507
|
+
class GitHubImportConfig {
|
|
14508
|
+
|
|
14509
|
+
/**
|
|
14510
|
+
* Constructs a new GitHubImportConfig.
|
|
14511
|
+
* @param [properties] Properties to set
|
|
14512
|
+
*/
|
|
14513
|
+
private constructor(properties?: api.IGitHubImportConfig);
|
|
14514
|
+
|
|
14515
|
+
/** GitHubImportConfig RequiredFiles. */
|
|
14516
|
+
public RequiredFiles: string[];
|
|
14517
|
+
|
|
14518
|
+
/**
|
|
14519
|
+
* Creates a new GitHubImportConfig instance using the specified properties.
|
|
14520
|
+
* @param [properties] Properties to set
|
|
14521
|
+
* @returns GitHubImportConfig instance
|
|
14522
|
+
*/
|
|
14523
|
+
public static create(properties?: api.IGitHubImportConfig): api.GitHubImportConfig;
|
|
14524
|
+
|
|
14525
|
+
/**
|
|
14526
|
+
* Encodes the specified GitHubImportConfig message. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
|
|
14527
|
+
* @param message GitHubImportConfig message or plain object to encode
|
|
14528
|
+
* @param [writer] Writer to encode to
|
|
14529
|
+
* @returns Writer
|
|
14530
|
+
*/
|
|
14531
|
+
public static encode(message: api.GitHubImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14532
|
+
|
|
14533
|
+
/**
|
|
14534
|
+
* Encodes the specified GitHubImportConfig message, length delimited. Does not implicitly {@link api.GitHubImportConfig.verify|verify} messages.
|
|
14535
|
+
* @param message GitHubImportConfig message or plain object to encode
|
|
14536
|
+
* @param [writer] Writer to encode to
|
|
14537
|
+
* @returns Writer
|
|
14538
|
+
*/
|
|
14539
|
+
public static encodeDelimited(message: api.GitHubImportConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14540
|
+
|
|
14541
|
+
/**
|
|
14542
|
+
* Decodes a GitHubImportConfig message from the specified reader or buffer.
|
|
14543
|
+
* @param reader Reader or buffer to decode from
|
|
14544
|
+
* @param [length] Message length if known beforehand
|
|
14545
|
+
* @returns GitHubImportConfig
|
|
14546
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14547
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14548
|
+
*/
|
|
14549
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.GitHubImportConfig;
|
|
14550
|
+
|
|
14551
|
+
/**
|
|
14552
|
+
* Decodes a GitHubImportConfig message from the specified reader or buffer, length delimited.
|
|
14553
|
+
* @param reader Reader or buffer to decode from
|
|
14554
|
+
* @returns GitHubImportConfig
|
|
14555
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14556
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14557
|
+
*/
|
|
14558
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.GitHubImportConfig;
|
|
14559
|
+
|
|
14560
|
+
/**
|
|
14561
|
+
* Verifies a GitHubImportConfig message.
|
|
14562
|
+
* @param message Plain object to verify
|
|
14563
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14564
|
+
*/
|
|
14565
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14566
|
+
|
|
14567
|
+
/**
|
|
14568
|
+
* Creates a GitHubImportConfig message from a plain object. Also converts values to their respective internal types.
|
|
14569
|
+
* @param object Plain object
|
|
14570
|
+
* @returns GitHubImportConfig
|
|
14571
|
+
*/
|
|
14572
|
+
public static fromObject(object: { [k: string]: any }): api.GitHubImportConfig;
|
|
14573
|
+
|
|
14574
|
+
/**
|
|
14575
|
+
* Creates a plain object from a GitHubImportConfig message. Also converts values to other types if specified.
|
|
14576
|
+
* @param message GitHubImportConfig
|
|
14577
|
+
* @param [options] Conversion options
|
|
14578
|
+
* @returns Plain object
|
|
14579
|
+
*/
|
|
14580
|
+
public static toObject(message: api.GitHubImportConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14581
|
+
|
|
14582
|
+
/**
|
|
14583
|
+
* Converts this GitHubImportConfig to JSON.
|
|
14584
|
+
* @returns JSON object
|
|
14585
|
+
*/
|
|
14586
|
+
public toJSON(): { [k: string]: any };
|
|
14587
|
+
}
|
|
14588
|
+
|
|
14589
14589
|
/** Properties of a NixConfig. */
|
|
14590
14590
|
interface INixConfig {
|
|
14591
14591
|
|