mezon-js-protobuf 1.7.26 → 1.7.28

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/api/api.ts CHANGED
@@ -687,6 +687,8 @@ export interface MessageReaction {
687
687
  is_public: boolean;
688
688
  /** topic id */
689
689
  topic_id: string;
690
+ /** emoji_recent_id */
691
+ emoji_recent_id: string;
690
692
  }
691
693
 
692
694
  /** Message attachment */
@@ -1354,6 +1356,22 @@ export interface Notification {
1354
1356
  category: number;
1355
1357
  }
1356
1358
 
1359
+ /** */
1360
+ export interface EmojiRecent {
1361
+ /** ID of the emoji. */
1362
+ emoji_recents_id: string;
1363
+ /** */
1364
+ emoji_id: string;
1365
+ /** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the emoji was created. */
1366
+ update_time: Date | undefined;
1367
+ }
1368
+
1369
+ /** A collection of zero or more notifications. */
1370
+ export interface EmojiRecentList {
1371
+ /** Collection of emojiRecents. */
1372
+ emoji_recents: EmojiRecent[];
1373
+ }
1374
+
1357
1375
  /** A collection of zero or more notifications. */
1358
1376
  export interface NotificationList {
1359
1377
  /** Collection of notifications. */
@@ -4006,9 +4024,7 @@ export interface GenerateHashChannelAppsRequest {
4006
4024
  }
4007
4025
 
4008
4026
  export interface GenerateHashChannelAppsResponse {
4009
- hash: string;
4010
- user_id: string;
4011
- auth_date: string;
4027
+ web_app_data: string;
4012
4028
  }
4013
4029
 
4014
4030
  function createBaseAccount(): Account {
@@ -8499,6 +8515,7 @@ function createBaseMessageReaction(): MessageReaction {
8499
8515
  message_sender_id: "",
8500
8516
  is_public: false,
8501
8517
  topic_id: "",
8518
+ emoji_recent_id: "",
8502
8519
  };
8503
8520
  }
8504
8521
 
@@ -8549,6 +8566,9 @@ export const MessageReaction = {
8549
8566
  if (message.topic_id !== "") {
8550
8567
  writer.uint32(122).string(message.topic_id);
8551
8568
  }
8569
+ if (message.emoji_recent_id !== "") {
8570
+ writer.uint32(130).string(message.emoji_recent_id);
8571
+ }
8552
8572
  return writer;
8553
8573
  },
8554
8574
 
@@ -8664,6 +8684,13 @@ export const MessageReaction = {
8664
8684
 
8665
8685
  message.topic_id = reader.string();
8666
8686
  continue;
8687
+ case 16:
8688
+ if (tag !== 130) {
8689
+ break;
8690
+ }
8691
+
8692
+ message.emoji_recent_id = reader.string();
8693
+ continue;
8667
8694
  }
8668
8695
  if ((tag & 7) === 4 || tag === 0) {
8669
8696
  break;
@@ -8690,6 +8717,7 @@ export const MessageReaction = {
8690
8717
  message_sender_id: isSet(object.message_sender_id) ? globalThis.String(object.message_sender_id) : "",
8691
8718
  is_public: isSet(object.is_public) ? globalThis.Boolean(object.is_public) : false,
8692
8719
  topic_id: isSet(object.topic_id) ? globalThis.String(object.topic_id) : "",
8720
+ emoji_recent_id: isSet(object.emoji_recent_id) ? globalThis.String(object.emoji_recent_id) : "",
8693
8721
  };
8694
8722
  },
8695
8723
 
@@ -8740,6 +8768,9 @@ export const MessageReaction = {
8740
8768
  if (message.topic_id !== "") {
8741
8769
  obj.topic_id = message.topic_id;
8742
8770
  }
8771
+ if (message.emoji_recent_id !== "") {
8772
+ obj.emoji_recent_id = message.emoji_recent_id;
8773
+ }
8743
8774
  return obj;
8744
8775
  },
8745
8776
 
@@ -8763,6 +8794,7 @@ export const MessageReaction = {
8763
8794
  message.message_sender_id = object.message_sender_id ?? "";
8764
8795
  message.is_public = object.is_public ?? false;
8765
8796
  message.topic_id = object.topic_id ?? "";
8797
+ message.emoji_recent_id = object.emoji_recent_id ?? "";
8766
8798
  return message;
8767
8799
  },
8768
8800
  };
@@ -13299,6 +13331,156 @@ export const Notification = {
13299
13331
  },
13300
13332
  };
13301
13333
 
13334
+ function createBaseEmojiRecent(): EmojiRecent {
13335
+ return { emoji_recents_id: "", emoji_id: "", update_time: undefined };
13336
+ }
13337
+
13338
+ export const EmojiRecent = {
13339
+ encode(message: EmojiRecent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13340
+ if (message.emoji_recents_id !== "") {
13341
+ writer.uint32(10).string(message.emoji_recents_id);
13342
+ }
13343
+ if (message.emoji_id !== "") {
13344
+ writer.uint32(18).string(message.emoji_id);
13345
+ }
13346
+ if (message.update_time !== undefined) {
13347
+ Timestamp.encode(toTimestamp(message.update_time), writer.uint32(26).fork()).ldelim();
13348
+ }
13349
+ return writer;
13350
+ },
13351
+
13352
+ decode(input: _m0.Reader | Uint8Array, length?: number): EmojiRecent {
13353
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13354
+ let end = length === undefined ? reader.len : reader.pos + length;
13355
+ const message = createBaseEmojiRecent();
13356
+ while (reader.pos < end) {
13357
+ const tag = reader.uint32();
13358
+ switch (tag >>> 3) {
13359
+ case 1:
13360
+ if (tag !== 10) {
13361
+ break;
13362
+ }
13363
+
13364
+ message.emoji_recents_id = reader.string();
13365
+ continue;
13366
+ case 2:
13367
+ if (tag !== 18) {
13368
+ break;
13369
+ }
13370
+
13371
+ message.emoji_id = reader.string();
13372
+ continue;
13373
+ case 3:
13374
+ if (tag !== 26) {
13375
+ break;
13376
+ }
13377
+
13378
+ message.update_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
13379
+ continue;
13380
+ }
13381
+ if ((tag & 7) === 4 || tag === 0) {
13382
+ break;
13383
+ }
13384
+ reader.skipType(tag & 7);
13385
+ }
13386
+ return message;
13387
+ },
13388
+
13389
+ fromJSON(object: any): EmojiRecent {
13390
+ return {
13391
+ emoji_recents_id: isSet(object.emoji_recents_id) ? globalThis.String(object.emoji_recents_id) : "",
13392
+ emoji_id: isSet(object.emoji_id) ? globalThis.String(object.emoji_id) : "",
13393
+ update_time: isSet(object.update_time) ? fromJsonTimestamp(object.update_time) : undefined,
13394
+ };
13395
+ },
13396
+
13397
+ toJSON(message: EmojiRecent): unknown {
13398
+ const obj: any = {};
13399
+ if (message.emoji_recents_id !== "") {
13400
+ obj.emoji_recents_id = message.emoji_recents_id;
13401
+ }
13402
+ if (message.emoji_id !== "") {
13403
+ obj.emoji_id = message.emoji_id;
13404
+ }
13405
+ if (message.update_time !== undefined) {
13406
+ obj.update_time = message.update_time.toISOString();
13407
+ }
13408
+ return obj;
13409
+ },
13410
+
13411
+ create<I extends Exact<DeepPartial<EmojiRecent>, I>>(base?: I): EmojiRecent {
13412
+ return EmojiRecent.fromPartial(base ?? ({} as any));
13413
+ },
13414
+ fromPartial<I extends Exact<DeepPartial<EmojiRecent>, I>>(object: I): EmojiRecent {
13415
+ const message = createBaseEmojiRecent();
13416
+ message.emoji_recents_id = object.emoji_recents_id ?? "";
13417
+ message.emoji_id = object.emoji_id ?? "";
13418
+ message.update_time = object.update_time ?? undefined;
13419
+ return message;
13420
+ },
13421
+ };
13422
+
13423
+ function createBaseEmojiRecentList(): EmojiRecentList {
13424
+ return { emoji_recents: [] };
13425
+ }
13426
+
13427
+ export const EmojiRecentList = {
13428
+ encode(message: EmojiRecentList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
13429
+ for (const v of message.emoji_recents) {
13430
+ EmojiRecent.encode(v!, writer.uint32(10).fork()).ldelim();
13431
+ }
13432
+ return writer;
13433
+ },
13434
+
13435
+ decode(input: _m0.Reader | Uint8Array, length?: number): EmojiRecentList {
13436
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
13437
+ let end = length === undefined ? reader.len : reader.pos + length;
13438
+ const message = createBaseEmojiRecentList();
13439
+ while (reader.pos < end) {
13440
+ const tag = reader.uint32();
13441
+ switch (tag >>> 3) {
13442
+ case 1:
13443
+ if (tag !== 10) {
13444
+ break;
13445
+ }
13446
+
13447
+ message.emoji_recents.push(EmojiRecent.decode(reader, reader.uint32()));
13448
+ continue;
13449
+ }
13450
+ if ((tag & 7) === 4 || tag === 0) {
13451
+ break;
13452
+ }
13453
+ reader.skipType(tag & 7);
13454
+ }
13455
+ return message;
13456
+ },
13457
+
13458
+ fromJSON(object: any): EmojiRecentList {
13459
+ return {
13460
+ emoji_recents: globalThis.Array.isArray(object?.emoji_recents)
13461
+ ? object.emoji_recents.map((e: any) => EmojiRecent.fromJSON(e))
13462
+ : [],
13463
+ };
13464
+ },
13465
+
13466
+ toJSON(message: EmojiRecentList): unknown {
13467
+ const obj: any = {};
13468
+ if (message.emoji_recents?.length) {
13469
+ obj.emoji_recents = message.emoji_recents.map((e) => EmojiRecent.toJSON(e));
13470
+ }
13471
+ return obj;
13472
+ },
13473
+
13474
+ create<I extends Exact<DeepPartial<EmojiRecentList>, I>>(base?: I): EmojiRecentList {
13475
+ return EmojiRecentList.fromPartial(base ?? ({} as any));
13476
+ },
13477
+ fromPartial<I extends Exact<DeepPartial<EmojiRecentList>, I>>(object: I): EmojiRecentList {
13478
+ const message = createBaseEmojiRecentList();
13479
+ message.emoji_recents = object.emoji_recents?.map((e) => EmojiRecent.fromPartial(e)) || [];
13480
+ return message;
13481
+ },
13482
+ };
13483
+
13302
13484
  function createBaseNotificationList(): NotificationList {
13303
13485
  return { notifications: [], cacheable_cursor: "" };
13304
13486
  }
@@ -39682,19 +39864,13 @@ export const GenerateHashChannelAppsRequest = {
39682
39864
  };
39683
39865
 
39684
39866
  function createBaseGenerateHashChannelAppsResponse(): GenerateHashChannelAppsResponse {
39685
- return { hash: "", user_id: "", auth_date: "" };
39867
+ return { web_app_data: "" };
39686
39868
  }
39687
39869
 
39688
39870
  export const GenerateHashChannelAppsResponse = {
39689
39871
  encode(message: GenerateHashChannelAppsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
39690
- if (message.hash !== "") {
39691
- writer.uint32(10).string(message.hash);
39692
- }
39693
- if (message.user_id !== "") {
39694
- writer.uint32(18).string(message.user_id);
39695
- }
39696
- if (message.auth_date !== "") {
39697
- writer.uint32(26).string(message.auth_date);
39872
+ if (message.web_app_data !== "") {
39873
+ writer.uint32(10).string(message.web_app_data);
39698
39874
  }
39699
39875
  return writer;
39700
39876
  },
@@ -39711,21 +39887,7 @@ export const GenerateHashChannelAppsResponse = {
39711
39887
  break;
39712
39888
  }
39713
39889
 
39714
- message.hash = reader.string();
39715
- continue;
39716
- case 2:
39717
- if (tag !== 18) {
39718
- break;
39719
- }
39720
-
39721
- message.user_id = reader.string();
39722
- continue;
39723
- case 3:
39724
- if (tag !== 26) {
39725
- break;
39726
- }
39727
-
39728
- message.auth_date = reader.string();
39890
+ message.web_app_data = reader.string();
39729
39891
  continue;
39730
39892
  }
39731
39893
  if ((tag & 7) === 4 || tag === 0) {
@@ -39737,23 +39899,13 @@ export const GenerateHashChannelAppsResponse = {
39737
39899
  },
39738
39900
 
39739
39901
  fromJSON(object: any): GenerateHashChannelAppsResponse {
39740
- return {
39741
- hash: isSet(object.hash) ? globalThis.String(object.hash) : "",
39742
- user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
39743
- auth_date: isSet(object.auth_date) ? globalThis.String(object.auth_date) : "",
39744
- };
39902
+ return { web_app_data: isSet(object.web_app_data) ? globalThis.String(object.web_app_data) : "" };
39745
39903
  },
39746
39904
 
39747
39905
  toJSON(message: GenerateHashChannelAppsResponse): unknown {
39748
39906
  const obj: any = {};
39749
- if (message.hash !== "") {
39750
- obj.hash = message.hash;
39751
- }
39752
- if (message.user_id !== "") {
39753
- obj.user_id = message.user_id;
39754
- }
39755
- if (message.auth_date !== "") {
39756
- obj.auth_date = message.auth_date;
39907
+ if (message.web_app_data !== "") {
39908
+ obj.web_app_data = message.web_app_data;
39757
39909
  }
39758
39910
  return obj;
39759
39911
  },
@@ -39765,9 +39917,7 @@ export const GenerateHashChannelAppsResponse = {
39765
39917
  object: I,
39766
39918
  ): GenerateHashChannelAppsResponse {
39767
39919
  const message = createBaseGenerateHashChannelAppsResponse();
39768
- message.hash = object.hash ?? "";
39769
- message.user_id = object.user_id ?? "";
39770
- message.auth_date = object.auth_date ?? "";
39920
+ message.web_app_data = object.web_app_data ?? "";
39771
39921
  return message;
39772
39922
  },
39773
39923
  };
@@ -495,6 +495,8 @@ export interface MessageReaction {
495
495
  is_public: boolean;
496
496
  /** topic id */
497
497
  topic_id: string;
498
+ /** emoji_recent_id */
499
+ emoji_recent_id: string;
498
500
  }
499
501
  /** Message attachment */
500
502
  export interface MessageAttachment {
@@ -989,6 +991,20 @@ export interface Notification {
989
991
  /** category. */
990
992
  category: number;
991
993
  }
994
+ /** */
995
+ export interface EmojiRecent {
996
+ /** ID of the emoji. */
997
+ emoji_recents_id: string;
998
+ /** */
999
+ emoji_id: string;
1000
+ /** The UNIX time (for gRPC clients) or ISO string (for REST clients) when the emoji was created. */
1001
+ update_time: Date | undefined;
1002
+ }
1003
+ /** A collection of zero or more notifications. */
1004
+ export interface EmojiRecentList {
1005
+ /** Collection of emojiRecents. */
1006
+ emoji_recents: EmojiRecent[];
1007
+ }
992
1008
  /** A collection of zero or more notifications. */
993
1009
  export interface NotificationList {
994
1010
  /** Collection of notifications. */
@@ -3239,9 +3255,7 @@ export interface GenerateHashChannelAppsRequest {
3239
3255
  app_id: string;
3240
3256
  }
3241
3257
  export interface GenerateHashChannelAppsResponse {
3242
- hash: string;
3243
- user_id: string;
3244
- auth_date: string;
3258
+ web_app_data: string;
3245
3259
  }
3246
3260
  export declare const Account: {
3247
3261
  encode(message: Account, writer?: _m0.Writer): _m0.Writer;
@@ -5400,6 +5414,7 @@ export declare const MessageReaction: {
5400
5414
  message_sender_id?: string | undefined;
5401
5415
  is_public?: boolean | undefined;
5402
5416
  topic_id?: string | undefined;
5417
+ emoji_recent_id?: string | undefined;
5403
5418
  } & {
5404
5419
  id?: string | undefined;
5405
5420
  emoji_id?: string | undefined;
@@ -5416,6 +5431,7 @@ export declare const MessageReaction: {
5416
5431
  message_sender_id?: string | undefined;
5417
5432
  is_public?: boolean | undefined;
5418
5433
  topic_id?: string | undefined;
5434
+ emoji_recent_id?: string | undefined;
5419
5435
  } & { [K in Exclude<keyof I, keyof MessageReaction>]: never; }>(base?: I | undefined): MessageReaction;
5420
5436
  fromPartial<I_1 extends {
5421
5437
  id?: string | undefined;
@@ -5433,6 +5449,7 @@ export declare const MessageReaction: {
5433
5449
  message_sender_id?: string | undefined;
5434
5450
  is_public?: boolean | undefined;
5435
5451
  topic_id?: string | undefined;
5452
+ emoji_recent_id?: string | undefined;
5436
5453
  } & {
5437
5454
  id?: string | undefined;
5438
5455
  emoji_id?: string | undefined;
@@ -5449,6 +5466,7 @@ export declare const MessageReaction: {
5449
5466
  message_sender_id?: string | undefined;
5450
5467
  is_public?: boolean | undefined;
5451
5468
  topic_id?: string | undefined;
5469
+ emoji_recent_id?: string | undefined;
5452
5470
  } & { [K_1 in Exclude<keyof I_1, keyof MessageReaction>]: never; }>(object: I_1): MessageReaction;
5453
5471
  };
5454
5472
  export declare const MessageAttachment: {
@@ -9227,6 +9245,86 @@ export declare const Notification: {
9227
9245
  category?: number | undefined;
9228
9246
  } & { [K_25 in Exclude<keyof I_1, keyof Notification>]: never; }>(object: I_1): Notification;
9229
9247
  };
9248
+ export declare const EmojiRecent: {
9249
+ encode(message: EmojiRecent, writer?: _m0.Writer): _m0.Writer;
9250
+ decode(input: _m0.Reader | Uint8Array, length?: number): EmojiRecent;
9251
+ fromJSON(object: any): EmojiRecent;
9252
+ toJSON(message: EmojiRecent): unknown;
9253
+ create<I extends {
9254
+ emoji_recents_id?: string | undefined;
9255
+ emoji_id?: string | undefined;
9256
+ update_time?: Date | undefined;
9257
+ } & {
9258
+ emoji_recents_id?: string | undefined;
9259
+ emoji_id?: string | undefined;
9260
+ update_time?: Date | undefined;
9261
+ } & { [K in Exclude<keyof I, keyof EmojiRecent>]: never; }>(base?: I | undefined): EmojiRecent;
9262
+ fromPartial<I_1 extends {
9263
+ emoji_recents_id?: string | undefined;
9264
+ emoji_id?: string | undefined;
9265
+ update_time?: Date | undefined;
9266
+ } & {
9267
+ emoji_recents_id?: string | undefined;
9268
+ emoji_id?: string | undefined;
9269
+ update_time?: Date | undefined;
9270
+ } & { [K_1 in Exclude<keyof I_1, keyof EmojiRecent>]: never; }>(object: I_1): EmojiRecent;
9271
+ };
9272
+ export declare const EmojiRecentList: {
9273
+ encode(message: EmojiRecentList, writer?: _m0.Writer): _m0.Writer;
9274
+ decode(input: _m0.Reader | Uint8Array, length?: number): EmojiRecentList;
9275
+ fromJSON(object: any): EmojiRecentList;
9276
+ toJSON(message: EmojiRecentList): unknown;
9277
+ create<I extends {
9278
+ emoji_recents?: {
9279
+ emoji_recents_id?: string | undefined;
9280
+ emoji_id?: string | undefined;
9281
+ update_time?: Date | undefined;
9282
+ }[] | undefined;
9283
+ } & {
9284
+ emoji_recents?: ({
9285
+ emoji_recents_id?: string | undefined;
9286
+ emoji_id?: string | undefined;
9287
+ update_time?: Date | undefined;
9288
+ }[] & ({
9289
+ emoji_recents_id?: string | undefined;
9290
+ emoji_id?: string | undefined;
9291
+ update_time?: Date | undefined;
9292
+ } & {
9293
+ emoji_recents_id?: string | undefined;
9294
+ emoji_id?: string | undefined;
9295
+ update_time?: Date | undefined;
9296
+ } & { [K in Exclude<keyof I["emoji_recents"][number], keyof EmojiRecent>]: never; })[] & { [K_1 in Exclude<keyof I["emoji_recents"], keyof {
9297
+ emoji_recents_id?: string | undefined;
9298
+ emoji_id?: string | undefined;
9299
+ update_time?: Date | undefined;
9300
+ }[]>]: never; }) | undefined;
9301
+ } & { [K_2 in Exclude<keyof I, "emoji_recents">]: never; }>(base?: I | undefined): EmojiRecentList;
9302
+ fromPartial<I_1 extends {
9303
+ emoji_recents?: {
9304
+ emoji_recents_id?: string | undefined;
9305
+ emoji_id?: string | undefined;
9306
+ update_time?: Date | undefined;
9307
+ }[] | undefined;
9308
+ } & {
9309
+ emoji_recents?: ({
9310
+ emoji_recents_id?: string | undefined;
9311
+ emoji_id?: string | undefined;
9312
+ update_time?: Date | undefined;
9313
+ }[] & ({
9314
+ emoji_recents_id?: string | undefined;
9315
+ emoji_id?: string | undefined;
9316
+ update_time?: Date | undefined;
9317
+ } & {
9318
+ emoji_recents_id?: string | undefined;
9319
+ emoji_id?: string | undefined;
9320
+ update_time?: Date | undefined;
9321
+ } & { [K_3 in Exclude<keyof I_1["emoji_recents"][number], keyof EmojiRecent>]: never; })[] & { [K_4 in Exclude<keyof I_1["emoji_recents"], keyof {
9322
+ emoji_recents_id?: string | undefined;
9323
+ emoji_id?: string | undefined;
9324
+ update_time?: Date | undefined;
9325
+ }[]>]: never; }) | undefined;
9326
+ } & { [K_5 in Exclude<keyof I_1, "emoji_recents">]: never; }>(object: I_1): EmojiRecentList;
9327
+ };
9230
9328
  export declare const NotificationList: {
9231
9329
  encode(message: NotificationList, writer?: _m0.Writer): _m0.Writer;
9232
9330
  decode(input: _m0.Reader | Uint8Array, length?: number): NotificationList;
@@ -25107,23 +25205,15 @@ export declare const GenerateHashChannelAppsResponse: {
25107
25205
  fromJSON(object: any): GenerateHashChannelAppsResponse;
25108
25206
  toJSON(message: GenerateHashChannelAppsResponse): unknown;
25109
25207
  create<I extends {
25110
- hash?: string | undefined;
25111
- user_id?: string | undefined;
25112
- auth_date?: string | undefined;
25208
+ web_app_data?: string | undefined;
25113
25209
  } & {
25114
- hash?: string | undefined;
25115
- user_id?: string | undefined;
25116
- auth_date?: string | undefined;
25117
- } & { [K in Exclude<keyof I, keyof GenerateHashChannelAppsResponse>]: never; }>(base?: I | undefined): GenerateHashChannelAppsResponse;
25210
+ web_app_data?: string | undefined;
25211
+ } & { [K in Exclude<keyof I, "web_app_data">]: never; }>(base?: I | undefined): GenerateHashChannelAppsResponse;
25118
25212
  fromPartial<I_1 extends {
25119
- hash?: string | undefined;
25120
- user_id?: string | undefined;
25121
- auth_date?: string | undefined;
25213
+ web_app_data?: string | undefined;
25122
25214
  } & {
25123
- hash?: string | undefined;
25124
- user_id?: string | undefined;
25125
- auth_date?: string | undefined;
25126
- } & { [K_1 in Exclude<keyof I_1, keyof GenerateHashChannelAppsResponse>]: never; }>(object: I_1): GenerateHashChannelAppsResponse;
25215
+ web_app_data?: string | undefined;
25216
+ } & { [K_1 in Exclude<keyof I_1, "web_app_data">]: never; }>(object: I_1): GenerateHashChannelAppsResponse;
25127
25217
  };
25128
25218
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
25129
25219
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {