@devvit/protos 0.10.20-next-2024-05-07-e793923cd.0 → 0.10.20

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.
@@ -57,6 +57,9 @@ message UIResponse {
57
57
  // Optional list of Effects to execute on the client
58
58
  repeated devvit.ui.effects.v1alpha.Effect effects = 2;
59
59
 
60
+ // Optional list of Events that will re-enter the dispatcher queue
61
+ repeated devvit.ui.events.v1alpha.UIEvent events = 5;
62
+
60
63
  /**
61
64
  * The rendered UI. The current preferred format is Blocks. If you would like to render a native UI, and you feel like Blocks won't work for you, today,
62
65
  * you can add a new set of components here inside the one-of. Please reach out to us if you need to do this.
@@ -7,7 +7,6 @@ import "devvit/ui/effects/v1alpha/navigate_to_url.proto";
7
7
  import "devvit/ui/effects/v1alpha/realtime_subscriptions.proto";
8
8
  import "devvit/ui/effects/v1alpha/reload_part.proto";
9
9
  import "devvit/ui/effects/v1alpha/rerender_ui.proto";
10
- import "devvit/ui/effects/v1alpha/send_event.proto";
11
10
  import "devvit/ui/effects/v1alpha/show_form.proto";
12
11
  import "devvit/ui/effects/v1alpha/show_toast.proto";
13
12
 
@@ -33,9 +32,6 @@ enum EffectType {
33
32
  // Notify the client to navigate to a URL
34
33
  EFFECT_NAVIGATE_TO_URL = 5;
35
34
 
36
- // Notify the client to send a synthetic event
37
- EFFECT_SEND_EVENT = 6;
38
-
39
35
  // This updates the list of active timers.
40
36
  EFFECT_SET_INTERVALS = 7;
41
37
  }
@@ -48,10 +44,11 @@ message Effect {
48
44
  ShowFormEffect show_form = 4;
49
45
  ShowToastEffect show_toast = 5;
50
46
  NavigateToUrlEffect navigate_to_url = 6;
51
- SendEventEffect send_event = 8;
52
47
  SetIntervalsEffect interval = 9;
53
48
  }
54
49
 
55
50
  //TODO: remove this field once all clients are updated. Redundant with effect_type
56
51
  EffectType type = 7;
52
+
53
+ reserved 8;
57
54
  }
@@ -36,6 +36,9 @@ message UIEvent {
36
36
 
37
37
  // The id of a the hook that should respond to this event
38
38
  google.protobuf.StringValue hook = 10;
39
+
40
+ // Signals if this event should be sent to the front (true) or back of the queue (false)
41
+ google.protobuf.BoolValue retry = 17;
39
42
  }
40
43
 
41
44
  /**
@@ -240,6 +240,7 @@ export declare const CustomPostDefinition: {
240
240
  async?: boolean | undefined;
241
241
  remoteOnly?: boolean | undefined;
242
242
  hook?: string | undefined;
243
+ retry?: boolean | undefined;
243
244
  }[];
244
245
  } | undefined): UIRequest;
245
246
  fromPartial(object: {
@@ -319,6 +320,7 @@ export declare const CustomPostDefinition: {
319
320
  async?: boolean | undefined;
320
321
  remoteOnly?: boolean | undefined;
321
322
  hook?: string | undefined;
323
+ retry?: boolean | undefined;
322
324
  }[];
323
325
  }): UIRequest;
324
326
  };
@@ -445,67 +447,6 @@ export declare const CustomPostDefinition: {
445
447
  url?: string;
446
448
  target?: string | undefined;
447
449
  } | undefined;
448
- sendEvent?: {
449
- event?: {
450
- realtimeEvent?: {
451
- event?: {
452
- channel?: string;
453
- data?: any;
454
- } | undefined;
455
- status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
456
- } | undefined;
457
- formSubmitted?: {
458
- results?: {
459
- [x: string]: {
460
- fieldType?: import("../../../../../index.js").FormFieldType;
461
- isSecret?: boolean | undefined;
462
- stringValue?: string | undefined;
463
- numberValue?: number | undefined;
464
- boolValue?: boolean | undefined;
465
- listValue?: {
466
- itemType?: import("../../../../../index.js").FormFieldType;
467
- items?: any[];
468
- } | undefined;
469
- selectionValue?: {
470
- values?: string[];
471
- } | undefined;
472
- groupValue?: {} | undefined;
473
- } | undefined;
474
- };
475
- formId?: string | undefined;
476
- } | undefined;
477
- toastAction?: {} | undefined;
478
- userAction?: {
479
- actionId?: string;
480
- data?: {
481
- [x: string]: any;
482
- } | undefined;
483
- } | undefined;
484
- asyncRequest?: {
485
- requestId?: string;
486
- data?: {
487
- [x: string]: any;
488
- } | undefined;
489
- } | undefined;
490
- asyncResponse?: {
491
- requestId?: string;
492
- data?: {
493
- [x: string]: any;
494
- } | undefined;
495
- error?: {
496
- message?: string;
497
- details?: string;
498
- } | undefined;
499
- } | undefined;
500
- timer?: {} | undefined;
501
- blocking?: {} | undefined;
502
- resize?: {} | undefined;
503
- async?: boolean | undefined;
504
- remoteOnly?: boolean | undefined;
505
- hook?: string | undefined;
506
- } | undefined;
507
- jumpsQueue?: boolean | undefined;
508
- } | undefined;
509
450
  interval?: {
510
451
  intervals?: {
511
452
  [x: string]: {
@@ -519,6 +460,65 @@ export declare const CustomPostDefinition: {
519
460
  } | undefined;
520
461
  type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
521
462
  }[];
463
+ events?: {
464
+ realtimeEvent?: {
465
+ event?: {
466
+ channel?: string;
467
+ data?: any;
468
+ } | undefined;
469
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
470
+ } | undefined;
471
+ formSubmitted?: {
472
+ results?: {
473
+ [x: string]: {
474
+ fieldType?: import("../../../../../index.js").FormFieldType;
475
+ isSecret?: boolean | undefined;
476
+ stringValue?: string | undefined;
477
+ numberValue?: number | undefined;
478
+ boolValue?: boolean | undefined;
479
+ listValue?: {
480
+ itemType?: import("../../../../../index.js").FormFieldType;
481
+ items?: any[];
482
+ } | undefined;
483
+ selectionValue?: {
484
+ values?: string[];
485
+ } | undefined;
486
+ groupValue?: {} | undefined;
487
+ } | undefined;
488
+ };
489
+ formId?: string | undefined;
490
+ } | undefined;
491
+ toastAction?: {} | undefined;
492
+ userAction?: {
493
+ actionId?: string;
494
+ data?: {
495
+ [x: string]: any;
496
+ } | undefined;
497
+ } | undefined;
498
+ asyncRequest?: {
499
+ requestId?: string;
500
+ data?: {
501
+ [x: string]: any;
502
+ } | undefined;
503
+ } | undefined;
504
+ asyncResponse?: {
505
+ requestId?: string;
506
+ data?: {
507
+ [x: string]: any;
508
+ } | undefined;
509
+ error?: {
510
+ message?: string;
511
+ details?: string;
512
+ } | undefined;
513
+ } | undefined;
514
+ timer?: {} | undefined;
515
+ blocking?: {} | undefined;
516
+ resize?: {} | undefined;
517
+ async?: boolean | undefined;
518
+ remoteOnly?: boolean | undefined;
519
+ hook?: string | undefined;
520
+ retry?: boolean | undefined;
521
+ }[];
522
522
  blocks?: {
523
523
  type?: import("../../../../../index.js").BlockType;
524
524
  size?: {
@@ -798,67 +798,6 @@ export declare const CustomPostDefinition: {
798
798
  url?: string;
799
799
  target?: string | undefined;
800
800
  } | undefined;
801
- sendEvent?: {
802
- event?: {
803
- realtimeEvent?: {
804
- event?: {
805
- channel?: string;
806
- data?: any;
807
- } | undefined;
808
- status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
809
- } | undefined;
810
- formSubmitted?: {
811
- results?: {
812
- [x: string]: {
813
- fieldType?: import("../../../../../index.js").FormFieldType;
814
- isSecret?: boolean | undefined;
815
- stringValue?: string | undefined;
816
- numberValue?: number | undefined;
817
- boolValue?: boolean | undefined;
818
- listValue?: {
819
- itemType?: import("../../../../../index.js").FormFieldType;
820
- items?: any[];
821
- } | undefined;
822
- selectionValue?: {
823
- values?: string[];
824
- } | undefined;
825
- groupValue?: {} | undefined;
826
- } | undefined;
827
- };
828
- formId?: string | undefined;
829
- } | undefined;
830
- toastAction?: {} | undefined;
831
- userAction?: {
832
- actionId?: string;
833
- data?: {
834
- [x: string]: any;
835
- } | undefined;
836
- } | undefined;
837
- asyncRequest?: {
838
- requestId?: string;
839
- data?: {
840
- [x: string]: any;
841
- } | undefined;
842
- } | undefined;
843
- asyncResponse?: {
844
- requestId?: string;
845
- data?: {
846
- [x: string]: any;
847
- } | undefined;
848
- error?: {
849
- message?: string;
850
- details?: string;
851
- } | undefined;
852
- } | undefined;
853
- timer?: {} | undefined;
854
- blocking?: {} | undefined;
855
- resize?: {} | undefined;
856
- async?: boolean | undefined;
857
- remoteOnly?: boolean | undefined;
858
- hook?: string | undefined;
859
- } | undefined;
860
- jumpsQueue?: boolean | undefined;
861
- } | undefined;
862
801
  interval?: {
863
802
  intervals?: {
864
803
  [x: string]: {
@@ -872,6 +811,65 @@ export declare const CustomPostDefinition: {
872
811
  } | undefined;
873
812
  type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
874
813
  }[];
814
+ events?: {
815
+ realtimeEvent?: {
816
+ event?: {
817
+ channel?: string;
818
+ data?: any;
819
+ } | undefined;
820
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
821
+ } | undefined;
822
+ formSubmitted?: {
823
+ results?: {
824
+ [x: string]: {
825
+ fieldType?: import("../../../../../index.js").FormFieldType;
826
+ isSecret?: boolean | undefined;
827
+ stringValue?: string | undefined;
828
+ numberValue?: number | undefined;
829
+ boolValue?: boolean | undefined;
830
+ listValue?: {
831
+ itemType?: import("../../../../../index.js").FormFieldType;
832
+ items?: any[];
833
+ } | undefined;
834
+ selectionValue?: {
835
+ values?: string[];
836
+ } | undefined;
837
+ groupValue?: {} | undefined;
838
+ } | undefined;
839
+ };
840
+ formId?: string | undefined;
841
+ } | undefined;
842
+ toastAction?: {} | undefined;
843
+ userAction?: {
844
+ actionId?: string;
845
+ data?: {
846
+ [x: string]: any;
847
+ } | undefined;
848
+ } | undefined;
849
+ asyncRequest?: {
850
+ requestId?: string;
851
+ data?: {
852
+ [x: string]: any;
853
+ } | undefined;
854
+ } | undefined;
855
+ asyncResponse?: {
856
+ requestId?: string;
857
+ data?: {
858
+ [x: string]: any;
859
+ } | undefined;
860
+ error?: {
861
+ message?: string;
862
+ details?: string;
863
+ } | undefined;
864
+ } | undefined;
865
+ timer?: {} | undefined;
866
+ blocking?: {} | undefined;
867
+ resize?: {} | undefined;
868
+ async?: boolean | undefined;
869
+ remoteOnly?: boolean | undefined;
870
+ hook?: string | undefined;
871
+ retry?: boolean | undefined;
872
+ }[];
875
873
  blocks?: {
876
874
  type?: import("../../../../../index.js").BlockType;
877
875
  size?: {
@@ -1124,6 +1122,7 @@ export declare const CustomPostDefinition: {
1124
1122
  async?: boolean | undefined;
1125
1123
  remoteOnly?: boolean | undefined;
1126
1124
  hook?: string | undefined;
1125
+ retry?: boolean | undefined;
1127
1126
  }[];
1128
1127
  } | undefined): UIRequest;
1129
1128
  fromPartial(object: {
@@ -1203,6 +1202,7 @@ export declare const CustomPostDefinition: {
1203
1202
  async?: boolean | undefined;
1204
1203
  remoteOnly?: boolean | undefined;
1205
1204
  hook?: string | undefined;
1205
+ retry?: boolean | undefined;
1206
1206
  }[];
1207
1207
  }): UIRequest;
1208
1208
  };
@@ -1329,67 +1329,6 @@ export declare const CustomPostDefinition: {
1329
1329
  url?: string;
1330
1330
  target?: string | undefined;
1331
1331
  } | undefined;
1332
- sendEvent?: {
1333
- event?: {
1334
- realtimeEvent?: {
1335
- event?: {
1336
- channel?: string;
1337
- data?: any;
1338
- } | undefined;
1339
- status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1340
- } | undefined;
1341
- formSubmitted?: {
1342
- results?: {
1343
- [x: string]: {
1344
- fieldType?: import("../../../../../index.js").FormFieldType;
1345
- isSecret?: boolean | undefined;
1346
- stringValue?: string | undefined;
1347
- numberValue?: number | undefined;
1348
- boolValue?: boolean | undefined;
1349
- listValue?: {
1350
- itemType?: import("../../../../../index.js").FormFieldType;
1351
- items?: any[];
1352
- } | undefined;
1353
- selectionValue?: {
1354
- values?: string[];
1355
- } | undefined;
1356
- groupValue?: {} | undefined;
1357
- } | undefined;
1358
- };
1359
- formId?: string | undefined;
1360
- } | undefined;
1361
- toastAction?: {} | undefined;
1362
- userAction?: {
1363
- actionId?: string;
1364
- data?: {
1365
- [x: string]: any;
1366
- } | undefined;
1367
- } | undefined;
1368
- asyncRequest?: {
1369
- requestId?: string;
1370
- data?: {
1371
- [x: string]: any;
1372
- } | undefined;
1373
- } | undefined;
1374
- asyncResponse?: {
1375
- requestId?: string;
1376
- data?: {
1377
- [x: string]: any;
1378
- } | undefined;
1379
- error?: {
1380
- message?: string;
1381
- details?: string;
1382
- } | undefined;
1383
- } | undefined;
1384
- timer?: {} | undefined;
1385
- blocking?: {} | undefined;
1386
- resize?: {} | undefined;
1387
- async?: boolean | undefined;
1388
- remoteOnly?: boolean | undefined;
1389
- hook?: string | undefined;
1390
- } | undefined;
1391
- jumpsQueue?: boolean | undefined;
1392
- } | undefined;
1393
1332
  interval?: {
1394
1333
  intervals?: {
1395
1334
  [x: string]: {
@@ -1403,6 +1342,65 @@ export declare const CustomPostDefinition: {
1403
1342
  } | undefined;
1404
1343
  type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
1405
1344
  }[];
1345
+ events?: {
1346
+ realtimeEvent?: {
1347
+ event?: {
1348
+ channel?: string;
1349
+ data?: any;
1350
+ } | undefined;
1351
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1352
+ } | undefined;
1353
+ formSubmitted?: {
1354
+ results?: {
1355
+ [x: string]: {
1356
+ fieldType?: import("../../../../../index.js").FormFieldType;
1357
+ isSecret?: boolean | undefined;
1358
+ stringValue?: string | undefined;
1359
+ numberValue?: number | undefined;
1360
+ boolValue?: boolean | undefined;
1361
+ listValue?: {
1362
+ itemType?: import("../../../../../index.js").FormFieldType;
1363
+ items?: any[];
1364
+ } | undefined;
1365
+ selectionValue?: {
1366
+ values?: string[];
1367
+ } | undefined;
1368
+ groupValue?: {} | undefined;
1369
+ } | undefined;
1370
+ };
1371
+ formId?: string | undefined;
1372
+ } | undefined;
1373
+ toastAction?: {} | undefined;
1374
+ userAction?: {
1375
+ actionId?: string;
1376
+ data?: {
1377
+ [x: string]: any;
1378
+ } | undefined;
1379
+ } | undefined;
1380
+ asyncRequest?: {
1381
+ requestId?: string;
1382
+ data?: {
1383
+ [x: string]: any;
1384
+ } | undefined;
1385
+ } | undefined;
1386
+ asyncResponse?: {
1387
+ requestId?: string;
1388
+ data?: {
1389
+ [x: string]: any;
1390
+ } | undefined;
1391
+ error?: {
1392
+ message?: string;
1393
+ details?: string;
1394
+ } | undefined;
1395
+ } | undefined;
1396
+ timer?: {} | undefined;
1397
+ blocking?: {} | undefined;
1398
+ resize?: {} | undefined;
1399
+ async?: boolean | undefined;
1400
+ remoteOnly?: boolean | undefined;
1401
+ hook?: string | undefined;
1402
+ retry?: boolean | undefined;
1403
+ }[];
1406
1404
  blocks?: {
1407
1405
  type?: import("../../../../../index.js").BlockType;
1408
1406
  size?: {
@@ -1682,67 +1680,6 @@ export declare const CustomPostDefinition: {
1682
1680
  url?: string;
1683
1681
  target?: string | undefined;
1684
1682
  } | undefined;
1685
- sendEvent?: {
1686
- event?: {
1687
- realtimeEvent?: {
1688
- event?: {
1689
- channel?: string;
1690
- data?: any;
1691
- } | undefined;
1692
- status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1693
- } | undefined;
1694
- formSubmitted?: {
1695
- results?: {
1696
- [x: string]: {
1697
- fieldType?: import("../../../../../index.js").FormFieldType;
1698
- isSecret?: boolean | undefined;
1699
- stringValue?: string | undefined;
1700
- numberValue?: number | undefined;
1701
- boolValue?: boolean | undefined;
1702
- listValue?: {
1703
- itemType?: import("../../../../../index.js").FormFieldType;
1704
- items?: any[];
1705
- } | undefined;
1706
- selectionValue?: {
1707
- values?: string[];
1708
- } | undefined;
1709
- groupValue?: {} | undefined;
1710
- } | undefined;
1711
- };
1712
- formId?: string | undefined;
1713
- } | undefined;
1714
- toastAction?: {} | undefined;
1715
- userAction?: {
1716
- actionId?: string;
1717
- data?: {
1718
- [x: string]: any;
1719
- } | undefined;
1720
- } | undefined;
1721
- asyncRequest?: {
1722
- requestId?: string;
1723
- data?: {
1724
- [x: string]: any;
1725
- } | undefined;
1726
- } | undefined;
1727
- asyncResponse?: {
1728
- requestId?: string;
1729
- data?: {
1730
- [x: string]: any;
1731
- } | undefined;
1732
- error?: {
1733
- message?: string;
1734
- details?: string;
1735
- } | undefined;
1736
- } | undefined;
1737
- timer?: {} | undefined;
1738
- blocking?: {} | undefined;
1739
- resize?: {} | undefined;
1740
- async?: boolean | undefined;
1741
- remoteOnly?: boolean | undefined;
1742
- hook?: string | undefined;
1743
- } | undefined;
1744
- jumpsQueue?: boolean | undefined;
1745
- } | undefined;
1746
1683
  interval?: {
1747
1684
  intervals?: {
1748
1685
  [x: string]: {
@@ -1756,6 +1693,65 @@ export declare const CustomPostDefinition: {
1756
1693
  } | undefined;
1757
1694
  type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
1758
1695
  }[];
1696
+ events?: {
1697
+ realtimeEvent?: {
1698
+ event?: {
1699
+ channel?: string;
1700
+ data?: any;
1701
+ } | undefined;
1702
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1703
+ } | undefined;
1704
+ formSubmitted?: {
1705
+ results?: {
1706
+ [x: string]: {
1707
+ fieldType?: import("../../../../../index.js").FormFieldType;
1708
+ isSecret?: boolean | undefined;
1709
+ stringValue?: string | undefined;
1710
+ numberValue?: number | undefined;
1711
+ boolValue?: boolean | undefined;
1712
+ listValue?: {
1713
+ itemType?: import("../../../../../index.js").FormFieldType;
1714
+ items?: any[];
1715
+ } | undefined;
1716
+ selectionValue?: {
1717
+ values?: string[];
1718
+ } | undefined;
1719
+ groupValue?: {} | undefined;
1720
+ } | undefined;
1721
+ };
1722
+ formId?: string | undefined;
1723
+ } | undefined;
1724
+ toastAction?: {} | undefined;
1725
+ userAction?: {
1726
+ actionId?: string;
1727
+ data?: {
1728
+ [x: string]: any;
1729
+ } | undefined;
1730
+ } | undefined;
1731
+ asyncRequest?: {
1732
+ requestId?: string;
1733
+ data?: {
1734
+ [x: string]: any;
1735
+ } | undefined;
1736
+ } | undefined;
1737
+ asyncResponse?: {
1738
+ requestId?: string;
1739
+ data?: {
1740
+ [x: string]: any;
1741
+ } | undefined;
1742
+ error?: {
1743
+ message?: string;
1744
+ details?: string;
1745
+ } | undefined;
1746
+ } | undefined;
1747
+ timer?: {} | undefined;
1748
+ blocking?: {} | undefined;
1749
+ resize?: {} | undefined;
1750
+ async?: boolean | undefined;
1751
+ remoteOnly?: boolean | undefined;
1752
+ hook?: string | undefined;
1753
+ retry?: boolean | undefined;
1754
+ }[];
1759
1755
  blocks?: {
1760
1756
  type?: import("../../../../../index.js").BlockType;
1761
1757
  size?: {
@@ -1 +1 @@
1
- {"version":3,"file":"custom_post.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/reddit/custom_post/v1alpha/custom_post.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,KAAK,CAAC,EACF;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GACtB,SAAS,CAAC;IACd,kCAAkC;IAClC,MAAM,CAAC,EACH,kBAAkB,GAClB,SAAS,CAAC;IACd,gGAAgG;IAChG,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CACrC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,kBAAkB;IACjC,yDAAyD;IACzD,KAAK,CAAC,EACF;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GACtB,SAAS,CAAC;IACd,wDAAwD;IACxD,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,sCAAsC;IACtC,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAC1C;AAMD,eAAO,MAAM,UAAU;;oBAG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G,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"custom_post.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/reddit/custom_post/v1alpha/custom_post.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,MAAM,WAAW,UAAU;IACzB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,sDAAsD;IACtD,KAAK,CAAC,EACF;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GACtB,SAAS,CAAC;IACd,kCAAkC;IAClC,MAAM,CAAC,EACH,kBAAkB,GAClB,SAAS,CAAC;IACd,gGAAgG;IAChG,UAAU,CAAC,EAAE,UAAU,GAAG,SAA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AAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACtG;AAED,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
@@ -58,6 +58,8 @@ export interface UIResponse {
58
58
  } | undefined;
59
59
  /** Optional list of Effects to execute on the client */
60
60
  effects: Effect[];
61
+ /** Optional list of Events that will re-enter the dispatcher queue */
62
+ events: UIEvent[];
61
63
  /** Render the post with Blocks */
62
64
  blocks?: Block | undefined;
63
65
  }