@devvit/protos 0.11.13-next-2025-04-21-1dec274a7.0 → 0.11.13-next-2025-04-21-1f6713d72.0

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.
@@ -1,5 +1,5 @@
1
1
  ## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
2
- ## checksum: 572d3b6e1ac579e640c61207f4c9e766f5e0e52b591a7baa21d9934c4348f912
2
+ ## checksum: 7ea6aad8ad892026ad94ee103bb18e4d69c8e14bdcf679c9d6104f06064b0afd
3
3
 
4
4
  file: {
5
5
  message_type: {
@@ -73991,6 +73991,15 @@ file: {
73991
73991
  type: TYPE_MESSAGE
73992
73992
  type_name: ".google.protobuf.Struct"
73993
73993
  }
73994
+ field: {
73995
+ json_name: "effect"
73996
+ label: LABEL_OPTIONAL
73997
+ name: "effect"
73998
+ number: 4
73999
+ oneof_index: 0
74000
+ type: TYPE_MESSAGE
74001
+ type_name: ".google.protobuf.Struct"
74002
+ }
73994
74003
  name: "WebViewInternalMessage"
73995
74004
  oneof_decl: {
73996
74005
  name: "options"
@@ -74090,7 +74099,7 @@ file: {
74090
74099
  span: 0
74091
74100
  span: 0
74092
74101
  span: 1
74093
- span: 89
74102
+ span: 91
74094
74103
  }
74095
74104
  location: {
74096
74105
  path: 12
@@ -74184,23 +74193,24 @@ file: {
74184
74193
  span: 12
74185
74194
  }
74186
74195
  location: {
74187
- leading_comments: " Internal message, sent by web-view-scripts via postMessage\n type: devvit-internal\n"
74196
+ leading_comments: " Devvit internal message, sent via postMessage\n"
74188
74197
  path: 0
74189
74198
  path: 4
74190
74199
  span: 0
74191
74200
  span: 1
74192
- span: 16
74193
- span: 25
74201
+ span: 15
74202
+ span: 27
74194
74203
  }
74195
74204
  location: {
74196
74205
  path: 0
74197
74206
  path: 1
74198
74207
  path: 4
74199
- span: 16
74208
+ span: 15
74200
74209
  span: 30
74201
74210
  span: 8
74202
74211
  }
74203
74212
  location: {
74213
+ leading_comments: " type: devvit-internal\n"
74204
74214
  path: 0
74205
74215
  path: 0
74206
74216
  path: 2
@@ -74286,7 +74296,7 @@ file: {
74286
74296
  path: 8
74287
74297
  span: 2
74288
74298
  span: 21
74289
- span: 24
74299
+ span: 26
74290
74300
  span: 3
74291
74301
  }
74292
74302
  location: {
@@ -74339,6 +74349,46 @@ file: {
74339
74349
  span: 39
74340
74350
  span: 40
74341
74351
  }
74352
+ location: {
74353
+ leading_comments: " Origin: devvit-client\n"
74354
+ path: 0
74355
+ path: 2
74356
+ path: 3
74357
+ path: 4
74358
+ span: 25
74359
+ span: 38
74360
+ span: 4
74361
+ }
74362
+ location: {
74363
+ path: 0
74364
+ path: 2
74365
+ path: 3
74366
+ path: 4
74367
+ path: 6
74368
+ span: 25
74369
+ span: 26
74370
+ span: 4
74371
+ }
74372
+ location: {
74373
+ path: 0
74374
+ path: 1
74375
+ path: 2
74376
+ path: 3
74377
+ path: 4
74378
+ span: 25
74379
+ span: 27
74380
+ span: 33
74381
+ }
74382
+ location: {
74383
+ path: 0
74384
+ path: 2
74385
+ path: 3
74386
+ path: 3
74387
+ path: 4
74388
+ span: 25
74389
+ span: 36
74390
+ span: 37
74391
+ }
74342
74392
  location: {
74343
74393
  leading_comments: " Structure of messages sent via postMessage\n"
74344
74394
  leading_detached_comments: " Each message described below here will be converted to a Struct and sent to a WebView wrapped in a WebViewPostMessage:\n Example, sending WebViewAppMessage:\n {\n type: 'devvit-message',\n data: {\n message: 'Foo'\n }\n }\n"
@@ -74346,15 +74396,15 @@ file: {
74346
74396
  path: 4
74347
74397
  span: 0
74348
74398
  span: 1
74349
- span: 37
74350
- span: 42
74399
+ span: 39
74400
+ span: 44
74351
74401
  }
74352
74402
  location: {
74353
74403
  path: 1
74354
74404
  path: 1
74355
74405
  path: 4
74356
74406
  span: 26
74357
- span: 37
74407
+ span: 39
74358
74408
  span: 8
74359
74409
  }
74360
74410
  location: {
@@ -74365,7 +74415,7 @@ file: {
74365
74415
  path: 4
74366
74416
  span: 18
74367
74417
  span: 2
74368
- span: 39
74418
+ span: 41
74369
74419
  }
74370
74420
  location: {
74371
74421
  path: 0
@@ -74374,7 +74424,7 @@ file: {
74374
74424
  path: 4
74375
74425
  path: 5
74376
74426
  span: 2
74377
- span: 39
74427
+ span: 41
74378
74428
  span: 8
74379
74429
  }
74380
74430
  location: {
@@ -74384,7 +74434,7 @@ file: {
74384
74434
  path: 2
74385
74435
  path: 4
74386
74436
  span: 13
74387
- span: 39
74437
+ span: 41
74388
74438
  span: 9
74389
74439
  }
74390
74440
  location: {
@@ -74395,7 +74445,7 @@ file: {
74395
74445
  path: 4
74396
74446
  span: 16
74397
74447
  span: 17
74398
- span: 39
74448
+ span: 41
74399
74449
  }
74400
74450
  location: {
74401
74451
  leading_comments: " One of the following messages converted to a Struct\n"
@@ -74405,7 +74455,7 @@ file: {
74405
74455
  path: 4
74406
74456
  span: 2
74407
74457
  span: 34
74408
- span: 41
74458
+ span: 43
74409
74459
  }
74410
74460
  location: {
74411
74461
  path: 1
@@ -74415,7 +74465,7 @@ file: {
74415
74465
  path: 6
74416
74466
  span: 2
74417
74467
  span: 24
74418
- span: 41
74468
+ span: 43
74419
74469
  }
74420
74470
  location: {
74421
74471
  path: 1
@@ -74425,7 +74475,7 @@ file: {
74425
74475
  path: 4
74426
74476
  span: 25
74427
74477
  span: 29
74428
- span: 41
74478
+ span: 43
74429
74479
  }
74430
74480
  location: {
74431
74481
  path: 1
@@ -74435,7 +74485,7 @@ file: {
74435
74485
  path: 4
74436
74486
  span: 32
74437
74487
  span: 33
74438
- span: 41
74488
+ span: 43
74439
74489
  }
74440
74490
  location: {
74441
74491
  leading_comments: " Arbitrary message, sent by app via effect\n type: devvit-message\n"
@@ -74443,15 +74493,15 @@ file: {
74443
74493
  path: 4
74444
74494
  span: 0
74445
74495
  span: 1
74446
- span: 46
74447
- span: 53
74496
+ span: 48
74497
+ span: 55
74448
74498
  }
74449
74499
  location: {
74450
74500
  path: 1
74451
74501
  path: 2
74452
74502
  path: 4
74453
74503
  span: 25
74454
- span: 46
74504
+ span: 48
74455
74505
  span: 8
74456
74506
  }
74457
74507
  location: {
@@ -74462,7 +74512,7 @@ file: {
74462
74512
  path: 4
74463
74513
  span: 2
74464
74514
  span: 36
74465
- span: 49
74515
+ span: 51
74466
74516
  }
74467
74517
  location: {
74468
74518
  path: 0
@@ -74472,7 +74522,7 @@ file: {
74472
74522
  path: 6
74473
74523
  span: 2
74474
74524
  span: 23
74475
- span: 49
74525
+ span: 51
74476
74526
  }
74477
74527
  location: {
74478
74528
  path: 0
@@ -74482,7 +74532,7 @@ file: {
74482
74532
  path: 4
74483
74533
  span: 24
74484
74534
  span: 31
74485
- span: 49
74535
+ span: 51
74486
74536
  }
74487
74537
  location: {
74488
74538
  path: 0
@@ -74492,7 +74542,7 @@ file: {
74492
74542
  path: 4
74493
74543
  span: 34
74494
74544
  span: 35
74495
- span: 49
74545
+ span: 51
74496
74546
  }
74497
74547
  location: {
74498
74548
  leading_comments: " JSON string payload\n"
@@ -74502,7 +74552,7 @@ file: {
74502
74552
  path: 4
74503
74553
  span: 2
74504
74554
  span: 34
74505
- span: 52
74555
+ span: 54
74506
74556
  }
74507
74557
  location: {
74508
74558
  path: 1
@@ -74512,7 +74562,7 @@ file: {
74512
74562
  path: 4
74513
74563
  span: 10
74514
74564
  span: 2
74515
- span: 52
74565
+ span: 54
74516
74566
  }
74517
74567
  location: {
74518
74568
  path: 1
@@ -74522,7 +74572,7 @@ file: {
74522
74572
  path: 5
74523
74573
  span: 11
74524
74574
  span: 17
74525
- span: 52
74575
+ span: 54
74526
74576
  }
74527
74577
  location: {
74528
74578
  path: 1
@@ -74532,7 +74582,7 @@ file: {
74532
74582
  path: 4
74533
74583
  span: 18
74534
74584
  span: 29
74535
- span: 52
74585
+ span: 54
74536
74586
  }
74537
74587
  location: {
74538
74588
  path: 1
@@ -74542,7 +74592,7 @@ file: {
74542
74592
  path: 4
74543
74593
  span: 32
74544
74594
  span: 33
74545
- span: 52
74595
+ span: 54
74546
74596
  }
74547
74597
  location: {
74548
74598
  leading_comments: " Used to pass stateful data into a WebView\n type: devvit-state\n @deprecated\n"
@@ -74550,15 +74600,15 @@ file: {
74550
74600
  path: 4
74551
74601
  span: 0
74552
74602
  span: 1
74553
- span: 58
74554
74603
  span: 60
74604
+ span: 62
74555
74605
  }
74556
74606
  location: {
74557
74607
  path: 1
74558
74608
  path: 3
74559
74609
  path: 4
74560
74610
  span: 27
74561
- span: 58
74611
+ span: 60
74562
74612
  span: 8
74563
74613
  }
74564
74614
  location: {
@@ -74568,7 +74618,7 @@ file: {
74568
74618
  path: 4
74569
74619
  span: 2
74570
74620
  span: 35
74571
- span: 59
74621
+ span: 61
74572
74622
  }
74573
74623
  location: {
74574
74624
  path: 0
@@ -74578,7 +74628,7 @@ file: {
74578
74628
  path: 6
74579
74629
  span: 2
74580
74630
  span: 24
74581
- span: 59
74631
+ span: 61
74582
74632
  }
74583
74633
  location: {
74584
74634
  path: 0
@@ -74588,7 +74638,7 @@ file: {
74588
74638
  path: 4
74589
74639
  span: 25
74590
74640
  span: 30
74591
- span: 59
74641
+ span: 61
74592
74642
  }
74593
74643
  location: {
74594
74644
  path: 0
@@ -74598,7 +74648,7 @@ file: {
74598
74648
  path: 4
74599
74649
  span: 33
74600
74650
  span: 34
74601
- span: 59
74651
+ span: 61
74602
74652
  }
74603
74653
  location: {
74604
74654
  leading_detached_comments: " TODO: Add once UI messages are properly organized out of the block_kit package.\n This is creating an import cycle in golang and cannot be compiled.\n Used to inform a WebView of client environment changes\n type: devvit-environment\n message WebViewUIEnvironmentMessage {\n devvit.ui.block_kit.v1beta.UIEnvironment environment = 1;\n }\n"
@@ -74607,16 +74657,16 @@ file: {
74607
74657
  path: 4
74608
74658
  span: 0
74609
74659
  span: 1
74610
- span: 78
74611
- span: 89
74660
+ span: 80
74661
+ span: 91
74612
74662
  }
74613
74663
  location: {
74614
74664
  path: 1
74615
74665
  path: 4
74616
74666
  path: 4
74617
74667
  span: 32
74618
- span: 78
74619
74668
  span: 8
74669
+ span: 80
74620
74670
  }
74621
74671
  location: {
74622
74672
  leading_comments: " ID of the WebView block\n"
@@ -74626,7 +74676,7 @@ file: {
74626
74676
  path: 4
74627
74677
  span: 2
74628
74678
  span: 25
74629
- span: 80
74679
+ span: 82
74630
74680
  }
74631
74681
  location: {
74632
74682
  path: 0
@@ -74636,7 +74686,7 @@ file: {
74636
74686
  path: 5
74637
74687
  span: 2
74638
74688
  span: 8
74639
- span: 80
74689
+ span: 82
74640
74690
  }
74641
74691
  location: {
74642
74692
  path: 0
@@ -74645,7 +74695,7 @@ file: {
74645
74695
  path: 4
74646
74696
  path: 4
74647
74697
  span: 20
74648
- span: 80
74698
+ span: 82
74649
74699
  span: 9
74650
74700
  }
74651
74701
  location: {
@@ -74656,7 +74706,7 @@ file: {
74656
74706
  path: 4
74657
74707
  span: 23
74658
74708
  span: 24
74659
- span: 80
74709
+ span: 82
74660
74710
  }
74661
74711
  location: {
74662
74712
  leading_comments: " Message to send to the WebView\n"
@@ -74666,8 +74716,8 @@ file: {
74666
74716
  path: 8
74667
74717
  span: 2
74668
74718
  span: 3
74669
- span: 83
74670
- span: 88
74719
+ span: 85
74720
+ span: 90
74671
74721
  }
74672
74722
  location: {
74673
74723
  path: 0
@@ -74677,7 +74727,7 @@ file: {
74677
74727
  path: 8
74678
74728
  span: 15
74679
74729
  span: 8
74680
- span: 83
74730
+ span: 85
74681
74731
  }
74682
74732
  location: {
74683
74733
  path: 1
@@ -74686,7 +74736,7 @@ file: {
74686
74736
  path: 4
74687
74737
  span: 30
74688
74738
  span: 4
74689
- span: 84
74739
+ span: 86
74690
74740
  }
74691
74741
  location: {
74692
74742
  path: 1
@@ -74696,7 +74746,7 @@ file: {
74696
74746
  path: 6
74697
74747
  span: 21
74698
74748
  span: 4
74699
- span: 84
74749
+ span: 86
74700
74750
  }
74701
74751
  location: {
74702
74752
  path: 1
@@ -74706,7 +74756,7 @@ file: {
74706
74756
  path: 4
74707
74757
  span: 22
74708
74758
  span: 25
74709
- span: 84
74759
+ span: 86
74710
74760
  }
74711
74761
  location: {
74712
74762
  path: 1
@@ -74716,7 +74766,7 @@ file: {
74716
74766
  path: 4
74717
74767
  span: 28
74718
74768
  span: 29
74719
- span: 84
74769
+ span: 86
74720
74770
  }
74721
74771
  location: {
74722
74772
  path: 2
@@ -74725,7 +74775,7 @@ file: {
74725
74775
  path: 4
74726
74776
  span: 34
74727
74777
  span: 4
74728
- span: 85
74778
+ span: 87
74729
74779
  trailing_comments: " WebViewUIEventMessage event = 4;\n WebViewUIEnvironmentMessage environment = 5;\n"
74730
74780
  }
74731
74781
  location: {
@@ -74736,7 +74786,7 @@ file: {
74736
74786
  path: 6
74737
74787
  span: 23
74738
74788
  span: 4
74739
- span: 85
74789
+ span: 87
74740
74790
  }
74741
74791
  location: {
74742
74792
  path: 1
@@ -74746,7 +74796,7 @@ file: {
74746
74796
  path: 4
74747
74797
  span: 24
74748
74798
  span: 29
74749
- span: 85
74799
+ span: 87
74750
74800
  }
74751
74801
  location: {
74752
74802
  path: 2
@@ -74756,7 +74806,7 @@ file: {
74756
74806
  path: 4
74757
74807
  span: 32
74758
74808
  span: 33
74759
- span: 85
74809
+ span: 87
74760
74810
  }
74761
74811
  }
74762
74812
  syntax: "proto3"
@@ -11,11 +11,9 @@ export declare enum WebViewInternalMessageScope {
11
11
  }
12
12
  export declare function webViewInternalMessageScopeFromJSON(object: any): WebViewInternalMessageScope;
13
13
  export declare function webViewInternalMessageScopeToJSON(object: WebViewInternalMessageScope): number;
14
- /**
15
- * Internal message, sent by web-view-scripts via postMessage
16
- * type: devvit-internal
17
- */
14
+ /** Devvit internal message, sent via postMessage */
18
15
  export interface WebViewInternalMessage {
16
+ /** type: devvit-internal */
19
17
  type: string;
20
18
  /** Scope of the message, used to determine where the message should be sent */
21
19
  scope: WebViewInternalMessageScope;
@@ -23,6 +21,10 @@ export interface WebViewInternalMessage {
23
21
  analytics?: {
24
22
  [key: string]: any;
25
23
  } | undefined;
24
+ /** Origin: devvit-client */
25
+ effect?: {
26
+ [key: string]: any;
27
+ } | undefined;
26
28
  }
27
29
  /** Structure of messages sent via postMessage */
28
30
  export interface WebViewPostMessage {
@@ -1 +1 @@
1
- {"version":3,"file":"post_message.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/ui/effects/web_view/v1alpha/post_message.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAIxC,oBAAY,2BAA2B;IACrC,uDAAuD;IACvD,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AAED,wBAAgB,mCAAmC,CAAC,MAAM,EAAE,GAAG,GAAG,2BAA2B,CAU5F;AAED,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAQ7F;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,KAAK,EAAE,2BAA2B,CAAC;IACnC,+BAA+B;IAC/B,SAAS,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAChD;AAED,iDAAiD;AACjD,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CAC3C;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,OAAO,CAAC,EACJ,GAAG,GACH,SAAS,CAAC;IACd,0BAA0B;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE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;;oBAGnB,wBAAwB,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAajF,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,wBAAwB;qBAqChE,GAAG,GAAG,wBAAwB;oBAQ/B,wBAAwB,GAAG,OAAO;kBAcpC,YAAY,wBAAwB,CAAC,GAAG,wBAAwB;wBAG1D,YAAY,wBAAwB,CAAC,GAAG,wBAAwB;CAWrF,CAAC;AAIF,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"}
@@ -34,7 +34,7 @@ export function webViewInternalMessageScopeToJSON(object) {
34
34
  }
35
35
  }
36
36
  function createBaseWebViewInternalMessage() {
37
- return { type: "", scope: 0, analytics: undefined };
37
+ return { type: "", scope: 0, analytics: undefined, effect: undefined };
38
38
  }
39
39
  export const WebViewInternalMessage = {
40
40
  $type: "devvit.ui.effects.web_view.v1alpha.WebViewInternalMessage",
@@ -48,6 +48,9 @@ export const WebViewInternalMessage = {
48
48
  if (message.analytics !== undefined) {
49
49
  Struct.encode(Struct.wrap(message.analytics), writer.uint32(26).fork()).ldelim();
50
50
  }
51
+ if (message.effect !== undefined) {
52
+ Struct.encode(Struct.wrap(message.effect), writer.uint32(34).fork()).ldelim();
53
+ }
51
54
  return writer;
52
55
  },
53
56
  decode(input, length) {
@@ -75,6 +78,12 @@ export const WebViewInternalMessage = {
75
78
  }
76
79
  message.analytics = Struct.unwrap(Struct.decode(reader, reader.uint32()));
77
80
  continue;
81
+ case 4:
82
+ if (tag !== 34) {
83
+ break;
84
+ }
85
+ message.effect = Struct.unwrap(Struct.decode(reader, reader.uint32()));
86
+ continue;
78
87
  }
79
88
  if ((tag & 7) === 4 || tag === 0) {
80
89
  break;
@@ -88,6 +97,7 @@ export const WebViewInternalMessage = {
88
97
  type: isSet(object.type) ? globalThis.String(object.type) : "",
89
98
  scope: isSet(object.scope) ? webViewInternalMessageScopeFromJSON(object.scope) : 0,
90
99
  analytics: isObject(object.analytics) ? object.analytics : undefined,
100
+ effect: isObject(object.effect) ? object.effect : undefined,
91
101
  };
92
102
  },
93
103
  toJSON(message) {
@@ -101,6 +111,9 @@ export const WebViewInternalMessage = {
101
111
  if (message.analytics !== undefined) {
102
112
  obj.analytics = message.analytics;
103
113
  }
114
+ if (message.effect !== undefined) {
115
+ obj.effect = message.effect;
116
+ }
104
117
  return obj;
105
118
  },
106
119
  create(base) {
@@ -111,6 +124,7 @@ export const WebViewInternalMessage = {
111
124
  message.type = object.type ?? "";
112
125
  message.scope = object.scope ?? 0;
113
126
  message.analytics = object.analytics ?? undefined;
127
+ message.effect = object.effect ?? undefined;
114
128
  return message;
115
129
  },
116
130
  };