web-dc-api 0.0.73 → 0.0.74
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/dist/dc.min.js +15 -3
- package/dist/index.cjs.js +15 -3
- package/dist/index.d.ts +445 -23
- package/dist/index.esm.js +15 -3
- package/lib/implements/aiproxy/manager.ts +7 -7
- package/lib/implements/keyvalue/client.ts +4 -4
- package/lib/implements/keyvalue/manager.ts +13 -11
- package/lib/implements/threaddb/common/key.ts +1 -1
- package/lib/index.ts +4 -0
- package/lib/interfaces/keyvalue-interface.ts +17 -6
- package/lib/modules/keyvalue-module.ts +25 -7
- package/lib/polyfills/process-env-browser.ts +1 -0
- package/lib/proto/dcnet.proto +1 -0
- package/lib/proto/dcnet_proto.d.ts +251 -0
- package/lib/proto/dcnet_proto.js +649 -1
- package/lib/serverless/babel-browser.ts +39 -0
- package/lib/serverless/base_entity.ts +78 -0
- package/lib/serverless/base_repository.ts +284 -0
- package/lib/serverless/browser_schema_extractor.ts +282 -0
- package/lib/serverless/decorator_factory.ts +322 -0
- package/package.json +4 -1
package/lib/proto/dcnet_proto.js
CHANGED
|
@@ -26968,6 +26968,7 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
26968
26968
|
* @memberof dcnet.pb
|
|
26969
26969
|
* @interface ISetKeyValueReply
|
|
26970
26970
|
* @property {number|null} [flag] SetKeyValueReply flag
|
|
26971
|
+
* @property {number|Long|null} [timestamp] SetKeyValueReply timestamp
|
|
26971
26972
|
*/
|
|
26972
26973
|
|
|
26973
26974
|
/**
|
|
@@ -26993,6 +26994,14 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
26993
26994
|
*/
|
|
26994
26995
|
SetKeyValueReply.prototype.flag = 0;
|
|
26995
26996
|
|
|
26997
|
+
/**
|
|
26998
|
+
* SetKeyValueReply timestamp.
|
|
26999
|
+
* @member {number|Long} timestamp
|
|
27000
|
+
* @memberof dcnet.pb.SetKeyValueReply
|
|
27001
|
+
* @instance
|
|
27002
|
+
*/
|
|
27003
|
+
SetKeyValueReply.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
27004
|
+
|
|
26996
27005
|
/**
|
|
26997
27006
|
* Creates a new SetKeyValueReply instance using the specified properties.
|
|
26998
27007
|
* @function create
|
|
@@ -27019,6 +27028,8 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
27019
27028
|
writer = $Writer.create();
|
|
27020
27029
|
if (message.flag != null && Object.hasOwnProperty.call(message, "flag"))
|
|
27021
27030
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.flag);
|
|
27031
|
+
if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
|
|
27032
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
27022
27033
|
return writer;
|
|
27023
27034
|
};
|
|
27024
27035
|
|
|
@@ -27057,6 +27068,10 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
27057
27068
|
message.flag = reader.uint32();
|
|
27058
27069
|
break;
|
|
27059
27070
|
}
|
|
27071
|
+
case 2: {
|
|
27072
|
+
message.timestamp = reader.uint64();
|
|
27073
|
+
break;
|
|
27074
|
+
}
|
|
27060
27075
|
default:
|
|
27061
27076
|
reader.skipType(tag & 7);
|
|
27062
27077
|
break;
|
|
@@ -27095,6 +27110,9 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
27095
27110
|
if (message.flag != null && message.hasOwnProperty("flag"))
|
|
27096
27111
|
if (!$util.isInteger(message.flag))
|
|
27097
27112
|
return "flag: integer expected";
|
|
27113
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
27114
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
27115
|
+
return "timestamp: integer|Long expected";
|
|
27098
27116
|
return null;
|
|
27099
27117
|
};
|
|
27100
27118
|
|
|
@@ -27112,6 +27130,15 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
27112
27130
|
let message = new $root.dcnet.pb.SetKeyValueReply();
|
|
27113
27131
|
if (object.flag != null)
|
|
27114
27132
|
message.flag = object.flag >>> 0;
|
|
27133
|
+
if (object.timestamp != null)
|
|
27134
|
+
if ($util.Long)
|
|
27135
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
27136
|
+
else if (typeof object.timestamp === "string")
|
|
27137
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
27138
|
+
else if (typeof object.timestamp === "number")
|
|
27139
|
+
message.timestamp = object.timestamp;
|
|
27140
|
+
else if (typeof object.timestamp === "object")
|
|
27141
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
27115
27142
|
return message;
|
|
27116
27143
|
};
|
|
27117
27144
|
|
|
@@ -27128,10 +27155,21 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
27128
27155
|
if (!options)
|
|
27129
27156
|
options = {};
|
|
27130
27157
|
let object = {};
|
|
27131
|
-
if (options.defaults)
|
|
27158
|
+
if (options.defaults) {
|
|
27132
27159
|
object.flag = 0;
|
|
27160
|
+
if ($util.Long) {
|
|
27161
|
+
let long = new $util.Long(0, 0, true);
|
|
27162
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
27163
|
+
} else
|
|
27164
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
27165
|
+
}
|
|
27133
27166
|
if (message.flag != null && message.hasOwnProperty("flag"))
|
|
27134
27167
|
object.flag = message.flag;
|
|
27168
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
27169
|
+
if (typeof message.timestamp === "number")
|
|
27170
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
27171
|
+
else
|
|
27172
|
+
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
27135
27173
|
return object;
|
|
27136
27174
|
};
|
|
27137
27175
|
|
|
@@ -34665,6 +34703,583 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
34665
34703
|
return GetThemeAuthListReply;
|
|
34666
34704
|
})();
|
|
34667
34705
|
|
|
34706
|
+
pb.GetUserThemeConfigInfoRequest = (function() {
|
|
34707
|
+
|
|
34708
|
+
/**
|
|
34709
|
+
* Properties of a GetUserThemeConfigInfoRequest.
|
|
34710
|
+
* @memberof dcnet.pb
|
|
34711
|
+
* @interface IGetUserThemeConfigInfoRequest
|
|
34712
|
+
* @property {Uint8Array|null} [theme] GetUserThemeConfigInfoRequest theme
|
|
34713
|
+
* @property {Uint8Array|null} [appId] GetUserThemeConfigInfoRequest appId
|
|
34714
|
+
* @property {Uint8Array|null} [themeAuthor] GetUserThemeConfigInfoRequest themeAuthor
|
|
34715
|
+
* @property {Uint8Array|null} [UserPubkey] GetUserThemeConfigInfoRequest UserPubkey
|
|
34716
|
+
* @property {Uint8Array|null} [Vaccount] GetUserThemeConfigInfoRequest Vaccount
|
|
34717
|
+
*/
|
|
34718
|
+
|
|
34719
|
+
/**
|
|
34720
|
+
* Constructs a new GetUserThemeConfigInfoRequest.
|
|
34721
|
+
* @memberof dcnet.pb
|
|
34722
|
+
* @classdesc Represents a GetUserThemeConfigInfoRequest.
|
|
34723
|
+
* @implements IGetUserThemeConfigInfoRequest
|
|
34724
|
+
* @constructor
|
|
34725
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest=} [properties] Properties to set
|
|
34726
|
+
*/
|
|
34727
|
+
function GetUserThemeConfigInfoRequest(properties) {
|
|
34728
|
+
if (properties)
|
|
34729
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34730
|
+
if (properties[keys[i]] != null)
|
|
34731
|
+
this[keys[i]] = properties[keys[i]];
|
|
34732
|
+
}
|
|
34733
|
+
|
|
34734
|
+
/**
|
|
34735
|
+
* GetUserThemeConfigInfoRequest theme.
|
|
34736
|
+
* @member {Uint8Array} theme
|
|
34737
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34738
|
+
* @instance
|
|
34739
|
+
*/
|
|
34740
|
+
GetUserThemeConfigInfoRequest.prototype.theme = $util.newBuffer([]);
|
|
34741
|
+
|
|
34742
|
+
/**
|
|
34743
|
+
* GetUserThemeConfigInfoRequest appId.
|
|
34744
|
+
* @member {Uint8Array} appId
|
|
34745
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34746
|
+
* @instance
|
|
34747
|
+
*/
|
|
34748
|
+
GetUserThemeConfigInfoRequest.prototype.appId = $util.newBuffer([]);
|
|
34749
|
+
|
|
34750
|
+
/**
|
|
34751
|
+
* GetUserThemeConfigInfoRequest themeAuthor.
|
|
34752
|
+
* @member {Uint8Array} themeAuthor
|
|
34753
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34754
|
+
* @instance
|
|
34755
|
+
*/
|
|
34756
|
+
GetUserThemeConfigInfoRequest.prototype.themeAuthor = $util.newBuffer([]);
|
|
34757
|
+
|
|
34758
|
+
/**
|
|
34759
|
+
* GetUserThemeConfigInfoRequest UserPubkey.
|
|
34760
|
+
* @member {Uint8Array} UserPubkey
|
|
34761
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34762
|
+
* @instance
|
|
34763
|
+
*/
|
|
34764
|
+
GetUserThemeConfigInfoRequest.prototype.UserPubkey = $util.newBuffer([]);
|
|
34765
|
+
|
|
34766
|
+
/**
|
|
34767
|
+
* GetUserThemeConfigInfoRequest Vaccount.
|
|
34768
|
+
* @member {Uint8Array} Vaccount
|
|
34769
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34770
|
+
* @instance
|
|
34771
|
+
*/
|
|
34772
|
+
GetUserThemeConfigInfoRequest.prototype.Vaccount = $util.newBuffer([]);
|
|
34773
|
+
|
|
34774
|
+
/**
|
|
34775
|
+
* Creates a new GetUserThemeConfigInfoRequest instance using the specified properties.
|
|
34776
|
+
* @function create
|
|
34777
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34778
|
+
* @static
|
|
34779
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest=} [properties] Properties to set
|
|
34780
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoRequest} GetUserThemeConfigInfoRequest instance
|
|
34781
|
+
*/
|
|
34782
|
+
GetUserThemeConfigInfoRequest.create = function create(properties) {
|
|
34783
|
+
return new GetUserThemeConfigInfoRequest(properties);
|
|
34784
|
+
};
|
|
34785
|
+
|
|
34786
|
+
/**
|
|
34787
|
+
* Encodes the specified GetUserThemeConfigInfoRequest message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
34788
|
+
* @function encode
|
|
34789
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34790
|
+
* @static
|
|
34791
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest} message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
34792
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34793
|
+
* @returns {$protobuf.Writer} Writer
|
|
34794
|
+
*/
|
|
34795
|
+
GetUserThemeConfigInfoRequest.encode = function encode(message, writer) {
|
|
34796
|
+
if (!writer)
|
|
34797
|
+
writer = $Writer.create();
|
|
34798
|
+
if (message.theme != null && Object.hasOwnProperty.call(message, "theme"))
|
|
34799
|
+
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.theme);
|
|
34800
|
+
if (message.appId != null && Object.hasOwnProperty.call(message, "appId"))
|
|
34801
|
+
writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.appId);
|
|
34802
|
+
if (message.themeAuthor != null && Object.hasOwnProperty.call(message, "themeAuthor"))
|
|
34803
|
+
writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.themeAuthor);
|
|
34804
|
+
if (message.UserPubkey != null && Object.hasOwnProperty.call(message, "UserPubkey"))
|
|
34805
|
+
writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.UserPubkey);
|
|
34806
|
+
if (message.Vaccount != null && Object.hasOwnProperty.call(message, "Vaccount"))
|
|
34807
|
+
writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.Vaccount);
|
|
34808
|
+
return writer;
|
|
34809
|
+
};
|
|
34810
|
+
|
|
34811
|
+
/**
|
|
34812
|
+
* Encodes the specified GetUserThemeConfigInfoRequest message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
34813
|
+
* @function encodeDelimited
|
|
34814
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34815
|
+
* @static
|
|
34816
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest} message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
34817
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34818
|
+
* @returns {$protobuf.Writer} Writer
|
|
34819
|
+
*/
|
|
34820
|
+
GetUserThemeConfigInfoRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
34821
|
+
return this.encode(message, writer).ldelim();
|
|
34822
|
+
};
|
|
34823
|
+
|
|
34824
|
+
/**
|
|
34825
|
+
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer.
|
|
34826
|
+
* @function decode
|
|
34827
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34828
|
+
* @static
|
|
34829
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34830
|
+
* @param {number} [length] Message length if known beforehand
|
|
34831
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoRequest} GetUserThemeConfigInfoRequest
|
|
34832
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34833
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34834
|
+
*/
|
|
34835
|
+
GetUserThemeConfigInfoRequest.decode = function decode(reader, length) {
|
|
34836
|
+
if (!(reader instanceof $Reader))
|
|
34837
|
+
reader = $Reader.create(reader);
|
|
34838
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.dcnet.pb.GetUserThemeConfigInfoRequest();
|
|
34839
|
+
while (reader.pos < end) {
|
|
34840
|
+
let tag = reader.uint32();
|
|
34841
|
+
switch (tag >>> 3) {
|
|
34842
|
+
case 1: {
|
|
34843
|
+
message.theme = reader.bytes();
|
|
34844
|
+
break;
|
|
34845
|
+
}
|
|
34846
|
+
case 2: {
|
|
34847
|
+
message.appId = reader.bytes();
|
|
34848
|
+
break;
|
|
34849
|
+
}
|
|
34850
|
+
case 3: {
|
|
34851
|
+
message.themeAuthor = reader.bytes();
|
|
34852
|
+
break;
|
|
34853
|
+
}
|
|
34854
|
+
case 4: {
|
|
34855
|
+
message.UserPubkey = reader.bytes();
|
|
34856
|
+
break;
|
|
34857
|
+
}
|
|
34858
|
+
case 5: {
|
|
34859
|
+
message.Vaccount = reader.bytes();
|
|
34860
|
+
break;
|
|
34861
|
+
}
|
|
34862
|
+
default:
|
|
34863
|
+
reader.skipType(tag & 7);
|
|
34864
|
+
break;
|
|
34865
|
+
}
|
|
34866
|
+
}
|
|
34867
|
+
return message;
|
|
34868
|
+
};
|
|
34869
|
+
|
|
34870
|
+
/**
|
|
34871
|
+
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer, length delimited.
|
|
34872
|
+
* @function decodeDelimited
|
|
34873
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34874
|
+
* @static
|
|
34875
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34876
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoRequest} GetUserThemeConfigInfoRequest
|
|
34877
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34878
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34879
|
+
*/
|
|
34880
|
+
GetUserThemeConfigInfoRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
34881
|
+
if (!(reader instanceof $Reader))
|
|
34882
|
+
reader = new $Reader(reader);
|
|
34883
|
+
return this.decode(reader, reader.uint32());
|
|
34884
|
+
};
|
|
34885
|
+
|
|
34886
|
+
/**
|
|
34887
|
+
* Verifies a GetUserThemeConfigInfoRequest message.
|
|
34888
|
+
* @function verify
|
|
34889
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34890
|
+
* @static
|
|
34891
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34892
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34893
|
+
*/
|
|
34894
|
+
GetUserThemeConfigInfoRequest.verify = function verify(message) {
|
|
34895
|
+
if (typeof message !== "object" || message === null)
|
|
34896
|
+
return "object expected";
|
|
34897
|
+
if (message.theme != null && message.hasOwnProperty("theme"))
|
|
34898
|
+
if (!(message.theme && typeof message.theme.length === "number" || $util.isString(message.theme)))
|
|
34899
|
+
return "theme: buffer expected";
|
|
34900
|
+
if (message.appId != null && message.hasOwnProperty("appId"))
|
|
34901
|
+
if (!(message.appId && typeof message.appId.length === "number" || $util.isString(message.appId)))
|
|
34902
|
+
return "appId: buffer expected";
|
|
34903
|
+
if (message.themeAuthor != null && message.hasOwnProperty("themeAuthor"))
|
|
34904
|
+
if (!(message.themeAuthor && typeof message.themeAuthor.length === "number" || $util.isString(message.themeAuthor)))
|
|
34905
|
+
return "themeAuthor: buffer expected";
|
|
34906
|
+
if (message.UserPubkey != null && message.hasOwnProperty("UserPubkey"))
|
|
34907
|
+
if (!(message.UserPubkey && typeof message.UserPubkey.length === "number" || $util.isString(message.UserPubkey)))
|
|
34908
|
+
return "UserPubkey: buffer expected";
|
|
34909
|
+
if (message.Vaccount != null && message.hasOwnProperty("Vaccount"))
|
|
34910
|
+
if (!(message.Vaccount && typeof message.Vaccount.length === "number" || $util.isString(message.Vaccount)))
|
|
34911
|
+
return "Vaccount: buffer expected";
|
|
34912
|
+
return null;
|
|
34913
|
+
};
|
|
34914
|
+
|
|
34915
|
+
/**
|
|
34916
|
+
* Creates a GetUserThemeConfigInfoRequest message from a plain object. Also converts values to their respective internal types.
|
|
34917
|
+
* @function fromObject
|
|
34918
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34919
|
+
* @static
|
|
34920
|
+
* @param {Object.<string,*>} object Plain object
|
|
34921
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoRequest} GetUserThemeConfigInfoRequest
|
|
34922
|
+
*/
|
|
34923
|
+
GetUserThemeConfigInfoRequest.fromObject = function fromObject(object) {
|
|
34924
|
+
if (object instanceof $root.dcnet.pb.GetUserThemeConfigInfoRequest)
|
|
34925
|
+
return object;
|
|
34926
|
+
let message = new $root.dcnet.pb.GetUserThemeConfigInfoRequest();
|
|
34927
|
+
if (object.theme != null)
|
|
34928
|
+
if (typeof object.theme === "string")
|
|
34929
|
+
$util.base64.decode(object.theme, message.theme = $util.newBuffer($util.base64.length(object.theme)), 0);
|
|
34930
|
+
else if (object.theme.length >= 0)
|
|
34931
|
+
message.theme = object.theme;
|
|
34932
|
+
if (object.appId != null)
|
|
34933
|
+
if (typeof object.appId === "string")
|
|
34934
|
+
$util.base64.decode(object.appId, message.appId = $util.newBuffer($util.base64.length(object.appId)), 0);
|
|
34935
|
+
else if (object.appId.length >= 0)
|
|
34936
|
+
message.appId = object.appId;
|
|
34937
|
+
if (object.themeAuthor != null)
|
|
34938
|
+
if (typeof object.themeAuthor === "string")
|
|
34939
|
+
$util.base64.decode(object.themeAuthor, message.themeAuthor = $util.newBuffer($util.base64.length(object.themeAuthor)), 0);
|
|
34940
|
+
else if (object.themeAuthor.length >= 0)
|
|
34941
|
+
message.themeAuthor = object.themeAuthor;
|
|
34942
|
+
if (object.UserPubkey != null)
|
|
34943
|
+
if (typeof object.UserPubkey === "string")
|
|
34944
|
+
$util.base64.decode(object.UserPubkey, message.UserPubkey = $util.newBuffer($util.base64.length(object.UserPubkey)), 0);
|
|
34945
|
+
else if (object.UserPubkey.length >= 0)
|
|
34946
|
+
message.UserPubkey = object.UserPubkey;
|
|
34947
|
+
if (object.Vaccount != null)
|
|
34948
|
+
if (typeof object.Vaccount === "string")
|
|
34949
|
+
$util.base64.decode(object.Vaccount, message.Vaccount = $util.newBuffer($util.base64.length(object.Vaccount)), 0);
|
|
34950
|
+
else if (object.Vaccount.length >= 0)
|
|
34951
|
+
message.Vaccount = object.Vaccount;
|
|
34952
|
+
return message;
|
|
34953
|
+
};
|
|
34954
|
+
|
|
34955
|
+
/**
|
|
34956
|
+
* Creates a plain object from a GetUserThemeConfigInfoRequest message. Also converts values to other types if specified.
|
|
34957
|
+
* @function toObject
|
|
34958
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
34959
|
+
* @static
|
|
34960
|
+
* @param {dcnet.pb.GetUserThemeConfigInfoRequest} message GetUserThemeConfigInfoRequest
|
|
34961
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
34962
|
+
* @returns {Object.<string,*>} Plain object
|
|
34963
|
+
*/
|
|
34964
|
+
GetUserThemeConfigInfoRequest.toObject = function toObject(message, options) {
|
|
34965
|
+
if (!options)
|
|
34966
|
+
options = {};
|
|
34967
|
+
let object = {};
|
|
34968
|
+
if (options.defaults) {
|
|
34969
|
+
if (options.bytes === String)
|
|
34970
|
+
object.theme = "";
|
|
34971
|
+
else {
|
|
34972
|
+
object.theme = [];
|
|
34973
|
+
if (options.bytes !== Array)
|
|
34974
|
+
object.theme = $util.newBuffer(object.theme);
|
|
34975
|
+
}
|
|
34976
|
+
if (options.bytes === String)
|
|
34977
|
+
object.appId = "";
|
|
34978
|
+
else {
|
|
34979
|
+
object.appId = [];
|
|
34980
|
+
if (options.bytes !== Array)
|
|
34981
|
+
object.appId = $util.newBuffer(object.appId);
|
|
34982
|
+
}
|
|
34983
|
+
if (options.bytes === String)
|
|
34984
|
+
object.themeAuthor = "";
|
|
34985
|
+
else {
|
|
34986
|
+
object.themeAuthor = [];
|
|
34987
|
+
if (options.bytes !== Array)
|
|
34988
|
+
object.themeAuthor = $util.newBuffer(object.themeAuthor);
|
|
34989
|
+
}
|
|
34990
|
+
if (options.bytes === String)
|
|
34991
|
+
object.UserPubkey = "";
|
|
34992
|
+
else {
|
|
34993
|
+
object.UserPubkey = [];
|
|
34994
|
+
if (options.bytes !== Array)
|
|
34995
|
+
object.UserPubkey = $util.newBuffer(object.UserPubkey);
|
|
34996
|
+
}
|
|
34997
|
+
if (options.bytes === String)
|
|
34998
|
+
object.Vaccount = "";
|
|
34999
|
+
else {
|
|
35000
|
+
object.Vaccount = [];
|
|
35001
|
+
if (options.bytes !== Array)
|
|
35002
|
+
object.Vaccount = $util.newBuffer(object.Vaccount);
|
|
35003
|
+
}
|
|
35004
|
+
}
|
|
35005
|
+
if (message.theme != null && message.hasOwnProperty("theme"))
|
|
35006
|
+
object.theme = options.bytes === String ? $util.base64.encode(message.theme, 0, message.theme.length) : options.bytes === Array ? Array.prototype.slice.call(message.theme) : message.theme;
|
|
35007
|
+
if (message.appId != null && message.hasOwnProperty("appId"))
|
|
35008
|
+
object.appId = options.bytes === String ? $util.base64.encode(message.appId, 0, message.appId.length) : options.bytes === Array ? Array.prototype.slice.call(message.appId) : message.appId;
|
|
35009
|
+
if (message.themeAuthor != null && message.hasOwnProperty("themeAuthor"))
|
|
35010
|
+
object.themeAuthor = options.bytes === String ? $util.base64.encode(message.themeAuthor, 0, message.themeAuthor.length) : options.bytes === Array ? Array.prototype.slice.call(message.themeAuthor) : message.themeAuthor;
|
|
35011
|
+
if (message.UserPubkey != null && message.hasOwnProperty("UserPubkey"))
|
|
35012
|
+
object.UserPubkey = options.bytes === String ? $util.base64.encode(message.UserPubkey, 0, message.UserPubkey.length) : options.bytes === Array ? Array.prototype.slice.call(message.UserPubkey) : message.UserPubkey;
|
|
35013
|
+
if (message.Vaccount != null && message.hasOwnProperty("Vaccount"))
|
|
35014
|
+
object.Vaccount = options.bytes === String ? $util.base64.encode(message.Vaccount, 0, message.Vaccount.length) : options.bytes === Array ? Array.prototype.slice.call(message.Vaccount) : message.Vaccount;
|
|
35015
|
+
return object;
|
|
35016
|
+
};
|
|
35017
|
+
|
|
35018
|
+
/**
|
|
35019
|
+
* Converts this GetUserThemeConfigInfoRequest to JSON.
|
|
35020
|
+
* @function toJSON
|
|
35021
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
35022
|
+
* @instance
|
|
35023
|
+
* @returns {Object.<string,*>} JSON object
|
|
35024
|
+
*/
|
|
35025
|
+
GetUserThemeConfigInfoRequest.prototype.toJSON = function toJSON() {
|
|
35026
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
35027
|
+
};
|
|
35028
|
+
|
|
35029
|
+
/**
|
|
35030
|
+
* Gets the default type url for GetUserThemeConfigInfoRequest
|
|
35031
|
+
* @function getTypeUrl
|
|
35032
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoRequest
|
|
35033
|
+
* @static
|
|
35034
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35035
|
+
* @returns {string} The default type url
|
|
35036
|
+
*/
|
|
35037
|
+
GetUserThemeConfigInfoRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
35038
|
+
if (typeUrlPrefix === undefined) {
|
|
35039
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
35040
|
+
}
|
|
35041
|
+
return typeUrlPrefix + "/dcnet.pb.GetUserThemeConfigInfoRequest";
|
|
35042
|
+
};
|
|
35043
|
+
|
|
35044
|
+
return GetUserThemeConfigInfoRequest;
|
|
35045
|
+
})();
|
|
35046
|
+
|
|
35047
|
+
pb.GetUserThemeConfigInfoReply = (function() {
|
|
35048
|
+
|
|
35049
|
+
/**
|
|
35050
|
+
* Properties of a GetUserThemeConfigInfoReply.
|
|
35051
|
+
* @memberof dcnet.pb
|
|
35052
|
+
* @interface IGetUserThemeConfigInfoReply
|
|
35053
|
+
* @property {number|null} [flag] GetUserThemeConfigInfoReply flag
|
|
35054
|
+
* @property {Uint8Array|null} [authInfo] GetUserThemeConfigInfoReply authInfo
|
|
35055
|
+
*/
|
|
35056
|
+
|
|
35057
|
+
/**
|
|
35058
|
+
* Constructs a new GetUserThemeConfigInfoReply.
|
|
35059
|
+
* @memberof dcnet.pb
|
|
35060
|
+
* @classdesc Represents a GetUserThemeConfigInfoReply.
|
|
35061
|
+
* @implements IGetUserThemeConfigInfoReply
|
|
35062
|
+
* @constructor
|
|
35063
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoReply=} [properties] Properties to set
|
|
35064
|
+
*/
|
|
35065
|
+
function GetUserThemeConfigInfoReply(properties) {
|
|
35066
|
+
if (properties)
|
|
35067
|
+
for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
35068
|
+
if (properties[keys[i]] != null)
|
|
35069
|
+
this[keys[i]] = properties[keys[i]];
|
|
35070
|
+
}
|
|
35071
|
+
|
|
35072
|
+
/**
|
|
35073
|
+
* GetUserThemeConfigInfoReply flag.
|
|
35074
|
+
* @member {number} flag
|
|
35075
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35076
|
+
* @instance
|
|
35077
|
+
*/
|
|
35078
|
+
GetUserThemeConfigInfoReply.prototype.flag = 0;
|
|
35079
|
+
|
|
35080
|
+
/**
|
|
35081
|
+
* GetUserThemeConfigInfoReply authInfo.
|
|
35082
|
+
* @member {Uint8Array} authInfo
|
|
35083
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35084
|
+
* @instance
|
|
35085
|
+
*/
|
|
35086
|
+
GetUserThemeConfigInfoReply.prototype.authInfo = $util.newBuffer([]);
|
|
35087
|
+
|
|
35088
|
+
/**
|
|
35089
|
+
* Creates a new GetUserThemeConfigInfoReply instance using the specified properties.
|
|
35090
|
+
* @function create
|
|
35091
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35092
|
+
* @static
|
|
35093
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoReply=} [properties] Properties to set
|
|
35094
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoReply} GetUserThemeConfigInfoReply instance
|
|
35095
|
+
*/
|
|
35096
|
+
GetUserThemeConfigInfoReply.create = function create(properties) {
|
|
35097
|
+
return new GetUserThemeConfigInfoReply(properties);
|
|
35098
|
+
};
|
|
35099
|
+
|
|
35100
|
+
/**
|
|
35101
|
+
* Encodes the specified GetUserThemeConfigInfoReply message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
35102
|
+
* @function encode
|
|
35103
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35104
|
+
* @static
|
|
35105
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoReply} message GetUserThemeConfigInfoReply message or plain object to encode
|
|
35106
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
35107
|
+
* @returns {$protobuf.Writer} Writer
|
|
35108
|
+
*/
|
|
35109
|
+
GetUserThemeConfigInfoReply.encode = function encode(message, writer) {
|
|
35110
|
+
if (!writer)
|
|
35111
|
+
writer = $Writer.create();
|
|
35112
|
+
if (message.flag != null && Object.hasOwnProperty.call(message, "flag"))
|
|
35113
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.flag);
|
|
35114
|
+
if (message.authInfo != null && Object.hasOwnProperty.call(message, "authInfo"))
|
|
35115
|
+
writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.authInfo);
|
|
35116
|
+
return writer;
|
|
35117
|
+
};
|
|
35118
|
+
|
|
35119
|
+
/**
|
|
35120
|
+
* Encodes the specified GetUserThemeConfigInfoReply message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
35121
|
+
* @function encodeDelimited
|
|
35122
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35123
|
+
* @static
|
|
35124
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoReply} message GetUserThemeConfigInfoReply message or plain object to encode
|
|
35125
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
35126
|
+
* @returns {$protobuf.Writer} Writer
|
|
35127
|
+
*/
|
|
35128
|
+
GetUserThemeConfigInfoReply.encodeDelimited = function encodeDelimited(message, writer) {
|
|
35129
|
+
return this.encode(message, writer).ldelim();
|
|
35130
|
+
};
|
|
35131
|
+
|
|
35132
|
+
/**
|
|
35133
|
+
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer.
|
|
35134
|
+
* @function decode
|
|
35135
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35136
|
+
* @static
|
|
35137
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
35138
|
+
* @param {number} [length] Message length if known beforehand
|
|
35139
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoReply} GetUserThemeConfigInfoReply
|
|
35140
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35141
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35142
|
+
*/
|
|
35143
|
+
GetUserThemeConfigInfoReply.decode = function decode(reader, length) {
|
|
35144
|
+
if (!(reader instanceof $Reader))
|
|
35145
|
+
reader = $Reader.create(reader);
|
|
35146
|
+
let end = length === undefined ? reader.len : reader.pos + length, message = new $root.dcnet.pb.GetUserThemeConfigInfoReply();
|
|
35147
|
+
while (reader.pos < end) {
|
|
35148
|
+
let tag = reader.uint32();
|
|
35149
|
+
switch (tag >>> 3) {
|
|
35150
|
+
case 1: {
|
|
35151
|
+
message.flag = reader.uint32();
|
|
35152
|
+
break;
|
|
35153
|
+
}
|
|
35154
|
+
case 2: {
|
|
35155
|
+
message.authInfo = reader.bytes();
|
|
35156
|
+
break;
|
|
35157
|
+
}
|
|
35158
|
+
default:
|
|
35159
|
+
reader.skipType(tag & 7);
|
|
35160
|
+
break;
|
|
35161
|
+
}
|
|
35162
|
+
}
|
|
35163
|
+
return message;
|
|
35164
|
+
};
|
|
35165
|
+
|
|
35166
|
+
/**
|
|
35167
|
+
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer, length delimited.
|
|
35168
|
+
* @function decodeDelimited
|
|
35169
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35170
|
+
* @static
|
|
35171
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
35172
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoReply} GetUserThemeConfigInfoReply
|
|
35173
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35174
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35175
|
+
*/
|
|
35176
|
+
GetUserThemeConfigInfoReply.decodeDelimited = function decodeDelimited(reader) {
|
|
35177
|
+
if (!(reader instanceof $Reader))
|
|
35178
|
+
reader = new $Reader(reader);
|
|
35179
|
+
return this.decode(reader, reader.uint32());
|
|
35180
|
+
};
|
|
35181
|
+
|
|
35182
|
+
/**
|
|
35183
|
+
* Verifies a GetUserThemeConfigInfoReply message.
|
|
35184
|
+
* @function verify
|
|
35185
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35186
|
+
* @static
|
|
35187
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
35188
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
35189
|
+
*/
|
|
35190
|
+
GetUserThemeConfigInfoReply.verify = function verify(message) {
|
|
35191
|
+
if (typeof message !== "object" || message === null)
|
|
35192
|
+
return "object expected";
|
|
35193
|
+
if (message.flag != null && message.hasOwnProperty("flag"))
|
|
35194
|
+
if (!$util.isInteger(message.flag))
|
|
35195
|
+
return "flag: integer expected";
|
|
35196
|
+
if (message.authInfo != null && message.hasOwnProperty("authInfo"))
|
|
35197
|
+
if (!(message.authInfo && typeof message.authInfo.length === "number" || $util.isString(message.authInfo)))
|
|
35198
|
+
return "authInfo: buffer expected";
|
|
35199
|
+
return null;
|
|
35200
|
+
};
|
|
35201
|
+
|
|
35202
|
+
/**
|
|
35203
|
+
* Creates a GetUserThemeConfigInfoReply message from a plain object. Also converts values to their respective internal types.
|
|
35204
|
+
* @function fromObject
|
|
35205
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35206
|
+
* @static
|
|
35207
|
+
* @param {Object.<string,*>} object Plain object
|
|
35208
|
+
* @returns {dcnet.pb.GetUserThemeConfigInfoReply} GetUserThemeConfigInfoReply
|
|
35209
|
+
*/
|
|
35210
|
+
GetUserThemeConfigInfoReply.fromObject = function fromObject(object) {
|
|
35211
|
+
if (object instanceof $root.dcnet.pb.GetUserThemeConfigInfoReply)
|
|
35212
|
+
return object;
|
|
35213
|
+
let message = new $root.dcnet.pb.GetUserThemeConfigInfoReply();
|
|
35214
|
+
if (object.flag != null)
|
|
35215
|
+
message.flag = object.flag >>> 0;
|
|
35216
|
+
if (object.authInfo != null)
|
|
35217
|
+
if (typeof object.authInfo === "string")
|
|
35218
|
+
$util.base64.decode(object.authInfo, message.authInfo = $util.newBuffer($util.base64.length(object.authInfo)), 0);
|
|
35219
|
+
else if (object.authInfo.length >= 0)
|
|
35220
|
+
message.authInfo = object.authInfo;
|
|
35221
|
+
return message;
|
|
35222
|
+
};
|
|
35223
|
+
|
|
35224
|
+
/**
|
|
35225
|
+
* Creates a plain object from a GetUserThemeConfigInfoReply message. Also converts values to other types if specified.
|
|
35226
|
+
* @function toObject
|
|
35227
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35228
|
+
* @static
|
|
35229
|
+
* @param {dcnet.pb.GetUserThemeConfigInfoReply} message GetUserThemeConfigInfoReply
|
|
35230
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
35231
|
+
* @returns {Object.<string,*>} Plain object
|
|
35232
|
+
*/
|
|
35233
|
+
GetUserThemeConfigInfoReply.toObject = function toObject(message, options) {
|
|
35234
|
+
if (!options)
|
|
35235
|
+
options = {};
|
|
35236
|
+
let object = {};
|
|
35237
|
+
if (options.defaults) {
|
|
35238
|
+
object.flag = 0;
|
|
35239
|
+
if (options.bytes === String)
|
|
35240
|
+
object.authInfo = "";
|
|
35241
|
+
else {
|
|
35242
|
+
object.authInfo = [];
|
|
35243
|
+
if (options.bytes !== Array)
|
|
35244
|
+
object.authInfo = $util.newBuffer(object.authInfo);
|
|
35245
|
+
}
|
|
35246
|
+
}
|
|
35247
|
+
if (message.flag != null && message.hasOwnProperty("flag"))
|
|
35248
|
+
object.flag = message.flag;
|
|
35249
|
+
if (message.authInfo != null && message.hasOwnProperty("authInfo"))
|
|
35250
|
+
object.authInfo = options.bytes === String ? $util.base64.encode(message.authInfo, 0, message.authInfo.length) : options.bytes === Array ? Array.prototype.slice.call(message.authInfo) : message.authInfo;
|
|
35251
|
+
return object;
|
|
35252
|
+
};
|
|
35253
|
+
|
|
35254
|
+
/**
|
|
35255
|
+
* Converts this GetUserThemeConfigInfoReply to JSON.
|
|
35256
|
+
* @function toJSON
|
|
35257
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35258
|
+
* @instance
|
|
35259
|
+
* @returns {Object.<string,*>} JSON object
|
|
35260
|
+
*/
|
|
35261
|
+
GetUserThemeConfigInfoReply.prototype.toJSON = function toJSON() {
|
|
35262
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
35263
|
+
};
|
|
35264
|
+
|
|
35265
|
+
/**
|
|
35266
|
+
* Gets the default type url for GetUserThemeConfigInfoReply
|
|
35267
|
+
* @function getTypeUrl
|
|
35268
|
+
* @memberof dcnet.pb.GetUserThemeConfigInfoReply
|
|
35269
|
+
* @static
|
|
35270
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35271
|
+
* @returns {string} The default type url
|
|
35272
|
+
*/
|
|
35273
|
+
GetUserThemeConfigInfoReply.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
35274
|
+
if (typeUrlPrefix === undefined) {
|
|
35275
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
35276
|
+
}
|
|
35277
|
+
return typeUrlPrefix + "/dcnet.pb.GetUserThemeConfigInfoReply";
|
|
35278
|
+
};
|
|
35279
|
+
|
|
35280
|
+
return GetUserThemeConfigInfoReply;
|
|
35281
|
+
})();
|
|
35282
|
+
|
|
34668
35283
|
pb.GetUserCommentsRequest = (function() {
|
|
34669
35284
|
|
|
34670
35285
|
/**
|
|
@@ -53488,6 +54103,39 @@ export const dcnet = $root.dcnet = (() => {
|
|
|
53488
54103
|
* @variation 2
|
|
53489
54104
|
*/
|
|
53490
54105
|
|
|
54106
|
+
/**
|
|
54107
|
+
* Callback as used by {@link dcnet.pb.Service#getUserThemeConfigInfo}.
|
|
54108
|
+
* @memberof dcnet.pb.Service
|
|
54109
|
+
* @typedef GetUserThemeConfigInfoCallback
|
|
54110
|
+
* @type {function}
|
|
54111
|
+
* @param {Error|null} error Error, if any
|
|
54112
|
+
* @param {dcnet.pb.GetUserThemeConfigInfoReply} [response] GetUserThemeConfigInfoReply
|
|
54113
|
+
*/
|
|
54114
|
+
|
|
54115
|
+
/**
|
|
54116
|
+
* Calls GetUserThemeConfigInfo.
|
|
54117
|
+
* @function getUserThemeConfigInfo
|
|
54118
|
+
* @memberof dcnet.pb.Service
|
|
54119
|
+
* @instance
|
|
54120
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest} request GetUserThemeConfigInfoRequest message or plain object
|
|
54121
|
+
* @param {dcnet.pb.Service.GetUserThemeConfigInfoCallback} callback Node-style callback called with the error, if any, and GetUserThemeConfigInfoReply
|
|
54122
|
+
* @returns {undefined}
|
|
54123
|
+
* @variation 1
|
|
54124
|
+
*/
|
|
54125
|
+
Object.defineProperty(Service.prototype.getUserThemeConfigInfo = function getUserThemeConfigInfo(request, callback) {
|
|
54126
|
+
return this.rpcCall(getUserThemeConfigInfo, $root.dcnet.pb.GetUserThemeConfigInfoRequest, $root.dcnet.pb.GetUserThemeConfigInfoReply, request, callback);
|
|
54127
|
+
}, "name", { value: "GetUserThemeConfigInfo" });
|
|
54128
|
+
|
|
54129
|
+
/**
|
|
54130
|
+
* Calls GetUserThemeConfigInfo.
|
|
54131
|
+
* @function getUserThemeConfigInfo
|
|
54132
|
+
* @memberof dcnet.pb.Service
|
|
54133
|
+
* @instance
|
|
54134
|
+
* @param {dcnet.pb.IGetUserThemeConfigInfoRequest} request GetUserThemeConfigInfoRequest message or plain object
|
|
54135
|
+
* @returns {Promise<dcnet.pb.GetUserThemeConfigInfoReply>} Promise
|
|
54136
|
+
* @variation 2
|
|
54137
|
+
*/
|
|
54138
|
+
|
|
53491
54139
|
/**
|
|
53492
54140
|
* Callback as used by {@link dcnet.pb.Service#getThemeAuthList}.
|
|
53493
54141
|
* @memberof dcnet.pb.Service
|