@replit/protocol 0.2.65 → 0.2.66
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 +34 -4
- package/main/index.js +127 -16
- package/main/index.js.flow +54 -4
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -16362,8 +16362,23 @@ export namespace api {
|
|
|
16362
16362
|
/** Properties of an AuthConfig. */
|
|
16363
16363
|
interface IAuthConfig {
|
|
16364
16364
|
|
|
16365
|
-
/** AuthConfig
|
|
16366
|
-
|
|
16365
|
+
/** AuthConfig pageEnabled */
|
|
16366
|
+
pageEnabled?: (boolean|null);
|
|
16367
|
+
|
|
16368
|
+
/** AuthConfig pageTitle */
|
|
16369
|
+
pageTitle?: (string|null);
|
|
16370
|
+
|
|
16371
|
+
/** AuthConfig pageDescription */
|
|
16372
|
+
pageDescription?: (string|null);
|
|
16373
|
+
|
|
16374
|
+
/** AuthConfig pageColor */
|
|
16375
|
+
pageColor?: (string|null);
|
|
16376
|
+
|
|
16377
|
+
/** AuthConfig pageImage */
|
|
16378
|
+
pageImage?: (string|null);
|
|
16379
|
+
|
|
16380
|
+
/** AuthConfig buttonEnabled */
|
|
16381
|
+
buttonEnabled?: (boolean|null);
|
|
16367
16382
|
}
|
|
16368
16383
|
|
|
16369
16384
|
/** Represents an AuthConfig. */
|
|
@@ -16375,8 +16390,23 @@ export namespace api {
|
|
|
16375
16390
|
*/
|
|
16376
16391
|
private constructor(properties?: api.IAuthConfig);
|
|
16377
16392
|
|
|
16378
|
-
/** AuthConfig
|
|
16379
|
-
public
|
|
16393
|
+
/** AuthConfig pageEnabled. */
|
|
16394
|
+
public pageEnabled: boolean;
|
|
16395
|
+
|
|
16396
|
+
/** AuthConfig pageTitle. */
|
|
16397
|
+
public pageTitle: string;
|
|
16398
|
+
|
|
16399
|
+
/** AuthConfig pageDescription. */
|
|
16400
|
+
public pageDescription: string;
|
|
16401
|
+
|
|
16402
|
+
/** AuthConfig pageColor. */
|
|
16403
|
+
public pageColor: string;
|
|
16404
|
+
|
|
16405
|
+
/** AuthConfig pageImage. */
|
|
16406
|
+
public pageImage: string;
|
|
16407
|
+
|
|
16408
|
+
/** AuthConfig buttonEnabled. */
|
|
16409
|
+
public buttonEnabled: boolean;
|
|
16380
16410
|
|
|
16381
16411
|
/**
|
|
16382
16412
|
* Creates a new AuthConfig instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -40785,7 +40785,12 @@
|
|
|
40785
40785
|
* Properties of an AuthConfig.
|
|
40786
40786
|
* @memberof api
|
|
40787
40787
|
* @interface IAuthConfig
|
|
40788
|
-
* @property {boolean|null} [
|
|
40788
|
+
* @property {boolean|null} [pageEnabled] AuthConfig pageEnabled
|
|
40789
|
+
* @property {string|null} [pageTitle] AuthConfig pageTitle
|
|
40790
|
+
* @property {string|null} [pageDescription] AuthConfig pageDescription
|
|
40791
|
+
* @property {string|null} [pageColor] AuthConfig pageColor
|
|
40792
|
+
* @property {string|null} [pageImage] AuthConfig pageImage
|
|
40793
|
+
* @property {boolean|null} [buttonEnabled] AuthConfig buttonEnabled
|
|
40789
40794
|
*/
|
|
40790
40795
|
|
|
40791
40796
|
/**
|
|
@@ -40803,12 +40808,52 @@
|
|
|
40803
40808
|
}
|
|
40804
40809
|
|
|
40805
40810
|
/**
|
|
40806
|
-
* AuthConfig
|
|
40807
|
-
* @member {boolean}
|
|
40811
|
+
* AuthConfig pageEnabled.
|
|
40812
|
+
* @member {boolean} pageEnabled
|
|
40808
40813
|
* @memberof api.AuthConfig
|
|
40809
40814
|
* @instance
|
|
40810
40815
|
*/
|
|
40811
|
-
AuthConfig.prototype.
|
|
40816
|
+
AuthConfig.prototype.pageEnabled = false;
|
|
40817
|
+
|
|
40818
|
+
/**
|
|
40819
|
+
* AuthConfig pageTitle.
|
|
40820
|
+
* @member {string} pageTitle
|
|
40821
|
+
* @memberof api.AuthConfig
|
|
40822
|
+
* @instance
|
|
40823
|
+
*/
|
|
40824
|
+
AuthConfig.prototype.pageTitle = "";
|
|
40825
|
+
|
|
40826
|
+
/**
|
|
40827
|
+
* AuthConfig pageDescription.
|
|
40828
|
+
* @member {string} pageDescription
|
|
40829
|
+
* @memberof api.AuthConfig
|
|
40830
|
+
* @instance
|
|
40831
|
+
*/
|
|
40832
|
+
AuthConfig.prototype.pageDescription = "";
|
|
40833
|
+
|
|
40834
|
+
/**
|
|
40835
|
+
* AuthConfig pageColor.
|
|
40836
|
+
* @member {string} pageColor
|
|
40837
|
+
* @memberof api.AuthConfig
|
|
40838
|
+
* @instance
|
|
40839
|
+
*/
|
|
40840
|
+
AuthConfig.prototype.pageColor = "";
|
|
40841
|
+
|
|
40842
|
+
/**
|
|
40843
|
+
* AuthConfig pageImage.
|
|
40844
|
+
* @member {string} pageImage
|
|
40845
|
+
* @memberof api.AuthConfig
|
|
40846
|
+
* @instance
|
|
40847
|
+
*/
|
|
40848
|
+
AuthConfig.prototype.pageImage = "";
|
|
40849
|
+
|
|
40850
|
+
/**
|
|
40851
|
+
* AuthConfig buttonEnabled.
|
|
40852
|
+
* @member {boolean} buttonEnabled
|
|
40853
|
+
* @memberof api.AuthConfig
|
|
40854
|
+
* @instance
|
|
40855
|
+
*/
|
|
40856
|
+
AuthConfig.prototype.buttonEnabled = false;
|
|
40812
40857
|
|
|
40813
40858
|
/**
|
|
40814
40859
|
* Creates a new AuthConfig instance using the specified properties.
|
|
@@ -40834,8 +40879,18 @@
|
|
|
40834
40879
|
AuthConfig.encode = function encode(message, writer) {
|
|
40835
40880
|
if (!writer)
|
|
40836
40881
|
writer = $Writer.create();
|
|
40837
|
-
if (message.
|
|
40838
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.
|
|
40882
|
+
if (message.pageEnabled != null && Object.hasOwnProperty.call(message, "pageEnabled"))
|
|
40883
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.pageEnabled);
|
|
40884
|
+
if (message.pageTitle != null && Object.hasOwnProperty.call(message, "pageTitle"))
|
|
40885
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.pageTitle);
|
|
40886
|
+
if (message.pageDescription != null && Object.hasOwnProperty.call(message, "pageDescription"))
|
|
40887
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageDescription);
|
|
40888
|
+
if (message.pageColor != null && Object.hasOwnProperty.call(message, "pageColor"))
|
|
40889
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageColor);
|
|
40890
|
+
if (message.pageImage != null && Object.hasOwnProperty.call(message, "pageImage"))
|
|
40891
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.pageImage);
|
|
40892
|
+
if (message.buttonEnabled != null && Object.hasOwnProperty.call(message, "buttonEnabled"))
|
|
40893
|
+
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.buttonEnabled);
|
|
40839
40894
|
return writer;
|
|
40840
40895
|
};
|
|
40841
40896
|
|
|
@@ -40871,7 +40926,22 @@
|
|
|
40871
40926
|
var tag = reader.uint32();
|
|
40872
40927
|
switch (tag >>> 3) {
|
|
40873
40928
|
case 1:
|
|
40874
|
-
message.
|
|
40929
|
+
message.pageEnabled = reader.bool();
|
|
40930
|
+
break;
|
|
40931
|
+
case 2:
|
|
40932
|
+
message.pageTitle = reader.string();
|
|
40933
|
+
break;
|
|
40934
|
+
case 3:
|
|
40935
|
+
message.pageDescription = reader.string();
|
|
40936
|
+
break;
|
|
40937
|
+
case 4:
|
|
40938
|
+
message.pageColor = reader.string();
|
|
40939
|
+
break;
|
|
40940
|
+
case 5:
|
|
40941
|
+
message.pageImage = reader.string();
|
|
40942
|
+
break;
|
|
40943
|
+
case 6:
|
|
40944
|
+
message.buttonEnabled = reader.bool();
|
|
40875
40945
|
break;
|
|
40876
40946
|
default:
|
|
40877
40947
|
reader.skipType(tag & 7);
|
|
@@ -40908,9 +40978,24 @@
|
|
|
40908
40978
|
AuthConfig.verify = function verify(message) {
|
|
40909
40979
|
if (typeof message !== "object" || message === null)
|
|
40910
40980
|
return "object expected";
|
|
40911
|
-
if (message.
|
|
40912
|
-
if (typeof message.
|
|
40913
|
-
return "
|
|
40981
|
+
if (message.pageEnabled != null && message.hasOwnProperty("pageEnabled"))
|
|
40982
|
+
if (typeof message.pageEnabled !== "boolean")
|
|
40983
|
+
return "pageEnabled: boolean expected";
|
|
40984
|
+
if (message.pageTitle != null && message.hasOwnProperty("pageTitle"))
|
|
40985
|
+
if (!$util.isString(message.pageTitle))
|
|
40986
|
+
return "pageTitle: string expected";
|
|
40987
|
+
if (message.pageDescription != null && message.hasOwnProperty("pageDescription"))
|
|
40988
|
+
if (!$util.isString(message.pageDescription))
|
|
40989
|
+
return "pageDescription: string expected";
|
|
40990
|
+
if (message.pageColor != null && message.hasOwnProperty("pageColor"))
|
|
40991
|
+
if (!$util.isString(message.pageColor))
|
|
40992
|
+
return "pageColor: string expected";
|
|
40993
|
+
if (message.pageImage != null && message.hasOwnProperty("pageImage"))
|
|
40994
|
+
if (!$util.isString(message.pageImage))
|
|
40995
|
+
return "pageImage: string expected";
|
|
40996
|
+
if (message.buttonEnabled != null && message.hasOwnProperty("buttonEnabled"))
|
|
40997
|
+
if (typeof message.buttonEnabled !== "boolean")
|
|
40998
|
+
return "buttonEnabled: boolean expected";
|
|
40914
40999
|
return null;
|
|
40915
41000
|
};
|
|
40916
41001
|
|
|
@@ -40926,8 +41011,18 @@
|
|
|
40926
41011
|
if (object instanceof $root.api.AuthConfig)
|
|
40927
41012
|
return object;
|
|
40928
41013
|
var message = new $root.api.AuthConfig();
|
|
40929
|
-
if (object.
|
|
40930
|
-
message.
|
|
41014
|
+
if (object.pageEnabled != null)
|
|
41015
|
+
message.pageEnabled = Boolean(object.pageEnabled);
|
|
41016
|
+
if (object.pageTitle != null)
|
|
41017
|
+
message.pageTitle = String(object.pageTitle);
|
|
41018
|
+
if (object.pageDescription != null)
|
|
41019
|
+
message.pageDescription = String(object.pageDescription);
|
|
41020
|
+
if (object.pageColor != null)
|
|
41021
|
+
message.pageColor = String(object.pageColor);
|
|
41022
|
+
if (object.pageImage != null)
|
|
41023
|
+
message.pageImage = String(object.pageImage);
|
|
41024
|
+
if (object.buttonEnabled != null)
|
|
41025
|
+
message.buttonEnabled = Boolean(object.buttonEnabled);
|
|
40931
41026
|
return message;
|
|
40932
41027
|
};
|
|
40933
41028
|
|
|
@@ -40944,10 +41039,26 @@
|
|
|
40944
41039
|
if (!options)
|
|
40945
41040
|
options = {};
|
|
40946
41041
|
var object = {};
|
|
40947
|
-
if (options.defaults)
|
|
40948
|
-
object.
|
|
40949
|
-
|
|
40950
|
-
object.
|
|
41042
|
+
if (options.defaults) {
|
|
41043
|
+
object.pageEnabled = false;
|
|
41044
|
+
object.pageTitle = "";
|
|
41045
|
+
object.pageDescription = "";
|
|
41046
|
+
object.pageColor = "";
|
|
41047
|
+
object.pageImage = "";
|
|
41048
|
+
object.buttonEnabled = false;
|
|
41049
|
+
}
|
|
41050
|
+
if (message.pageEnabled != null && message.hasOwnProperty("pageEnabled"))
|
|
41051
|
+
object.pageEnabled = message.pageEnabled;
|
|
41052
|
+
if (message.pageTitle != null && message.hasOwnProperty("pageTitle"))
|
|
41053
|
+
object.pageTitle = message.pageTitle;
|
|
41054
|
+
if (message.pageDescription != null && message.hasOwnProperty("pageDescription"))
|
|
41055
|
+
object.pageDescription = message.pageDescription;
|
|
41056
|
+
if (message.pageColor != null && message.hasOwnProperty("pageColor"))
|
|
41057
|
+
object.pageColor = message.pageColor;
|
|
41058
|
+
if (message.pageImage != null && message.hasOwnProperty("pageImage"))
|
|
41059
|
+
object.pageImage = message.pageImage;
|
|
41060
|
+
if (message.buttonEnabled != null && message.hasOwnProperty("buttonEnabled"))
|
|
41061
|
+
object.buttonEnabled = message.buttonEnabled;
|
|
40951
41062
|
return object;
|
|
40952
41063
|
};
|
|
40953
41064
|
|
package/main/index.js.flow
CHANGED
|
@@ -22691,9 +22691,34 @@ declare class api$HostingConfig {
|
|
|
22691
22691
|
*/
|
|
22692
22692
|
declare type api$IAuthConfig = {|
|
|
22693
22693
|
/**
|
|
22694
|
-
* AuthConfig
|
|
22694
|
+
* AuthConfig pageEnabled
|
|
22695
22695
|
*/
|
|
22696
|
-
|
|
22696
|
+
pageEnabled?: boolean | null,
|
|
22697
|
+
|
|
22698
|
+
/**
|
|
22699
|
+
* AuthConfig pageTitle
|
|
22700
|
+
*/
|
|
22701
|
+
pageTitle?: string | null,
|
|
22702
|
+
|
|
22703
|
+
/**
|
|
22704
|
+
* AuthConfig pageDescription
|
|
22705
|
+
*/
|
|
22706
|
+
pageDescription?: string | null,
|
|
22707
|
+
|
|
22708
|
+
/**
|
|
22709
|
+
* AuthConfig pageColor
|
|
22710
|
+
*/
|
|
22711
|
+
pageColor?: string | null,
|
|
22712
|
+
|
|
22713
|
+
/**
|
|
22714
|
+
* AuthConfig pageImage
|
|
22715
|
+
*/
|
|
22716
|
+
pageImage?: string | null,
|
|
22717
|
+
|
|
22718
|
+
/**
|
|
22719
|
+
* AuthConfig buttonEnabled
|
|
22720
|
+
*/
|
|
22721
|
+
buttonEnabled?: boolean | null,
|
|
22697
22722
|
|};
|
|
22698
22723
|
|
|
22699
22724
|
/**
|
|
@@ -22707,9 +22732,34 @@ declare class api$AuthConfig {
|
|
|
22707
22732
|
constructor(properties?: api$IAuthConfig): this;
|
|
22708
22733
|
|
|
22709
22734
|
/**
|
|
22710
|
-
* AuthConfig
|
|
22735
|
+
* AuthConfig pageEnabled.
|
|
22736
|
+
*/
|
|
22737
|
+
pageEnabled: boolean;
|
|
22738
|
+
|
|
22739
|
+
/**
|
|
22740
|
+
* AuthConfig pageTitle.
|
|
22741
|
+
*/
|
|
22742
|
+
pageTitle: string;
|
|
22743
|
+
|
|
22744
|
+
/**
|
|
22745
|
+
* AuthConfig pageDescription.
|
|
22746
|
+
*/
|
|
22747
|
+
pageDescription: string;
|
|
22748
|
+
|
|
22749
|
+
/**
|
|
22750
|
+
* AuthConfig pageColor.
|
|
22751
|
+
*/
|
|
22752
|
+
pageColor: string;
|
|
22753
|
+
|
|
22754
|
+
/**
|
|
22755
|
+
* AuthConfig pageImage.
|
|
22756
|
+
*/
|
|
22757
|
+
pageImage: string;
|
|
22758
|
+
|
|
22759
|
+
/**
|
|
22760
|
+
* AuthConfig buttonEnabled.
|
|
22711
22761
|
*/
|
|
22712
|
-
|
|
22762
|
+
buttonEnabled: boolean;
|
|
22713
22763
|
|
|
22714
22764
|
/**
|
|
22715
22765
|
* Creates a new AuthConfig instance using the specified properties.
|