@devvit/protos 0.11.14-next-2025-04-24-2e64fc4fa.0 → 0.11.14-next-2025-04-24-16fa79821.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.
@@ -19,3 +19,8 @@ message FormSubmittedEvent {
19
19
 
20
20
  optional string form_id = 2;
21
21
  }
22
+
23
+ // Form canceled
24
+ message FormCanceledEvent {
25
+ optional string form_id = 1;
26
+ }
@@ -25,6 +25,8 @@ message WebViewInternalMessage {
25
25
  // Origin: devvit-client
26
26
  google.protobuf.Struct effect = 4;
27
27
  }
28
+
29
+ optional string id = 5;
28
30
  }
29
31
 
30
32
  // Each message described below here will be converted to a Struct and sent to a WebView wrapped in a WebViewPostMessage:
@@ -36,6 +36,7 @@ message UIEvent {
36
36
  BlockingRenderEvent blocking = 13;
37
37
  ResizeEvent resize = 14;
38
38
  WebViewEvent web_view = 20;
39
+ devvit.ui.effects.v1alpha.FormCanceledEvent form_canceled = 21;
39
40
  }
40
41
 
41
42
  // If an event is async, it can be fired in parallel with other events. Async events
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
 
3
3
  package devvit.ui.events.v1alpha;
4
4
 
5
+ import "devvit/ui/effects/v1alpha/show_form.proto";
5
6
  import "google/protobuf/struct.proto";
6
7
 
7
8
  option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/ui/events/v1alpha";
@@ -33,3 +34,12 @@ message WebViewEvent {
33
34
  WebViewFullScreenEvent full_screen = 2;
34
35
  }
35
36
  }
37
+
38
+ message WebViewInternalEventMessage {
39
+ // ID of the event message, matches the id of the WebViewInternalMessage that triggered it
40
+ string id = 1;
41
+ oneof data {
42
+ devvit.ui.effects.v1alpha.FormCanceledEvent form_canceled = 2;
43
+ devvit.ui.effects.v1alpha.FormSubmittedEvent form_submitted = 3;
44
+ }
45
+ }