@devvit/protos 0.11.4-next-2024-12-05-2eef59486.0 → 0.11.4-next-2024-12-05-a4d072de4.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.
- package/meta.min.json +4 -4
- package/package.json +4 -4
- package/protos.min.js +1 -1
- package/protos.min.js.map +2 -2
- package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +7 -1
- package/schema/snootobuf.devenv.lock +51 -4
- package/schema/snootobuf.lock +51 -4
- package/schema/snootobuf.redditapi.lock +51 -4
- package/schema/snootobuf.ts.lock +51 -4
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
- package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +8 -1
- package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
- package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +15 -1
@@ -5,11 +5,17 @@ package devvit.ui.effects.web_view.v1alpha;
|
|
5
5
|
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/ui/effects/web_view/v1alpha";
|
6
6
|
option java_package = "com.reddit.devvit.ui.effects.web_view.v1alpha";
|
7
7
|
|
8
|
-
// Sent to launch a
|
8
|
+
// Sent to launch a fullscreen WebView experience
|
9
9
|
message WebViewFullScreenVisibilityEffect {
|
10
10
|
// True if app wants to show the WebView, false if the app wants to close an open WebView
|
11
11
|
bool show = 1;
|
12
12
|
|
13
13
|
// URL to load in the fullscreen WebView
|
14
14
|
string url = 2;
|
15
|
+
|
16
|
+
// ID to associate with the newly created WebView. Although only one can be visible at a time,
|
17
|
+
// it's possible for an app to define multiple fullscreen WebViews to launch at various times.
|
18
|
+
// In order to route messages back and forth between the correct WebView on the client and the
|
19
|
+
// associated callbacks within the app we need a stable identifier.
|
20
|
+
string id = 3;
|
15
21
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: 31acc7cb24de3168357bd9c3e6dd2a7180eee9c498313c7f6b95c581fb3153be
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -73538,6 +73538,13 @@ file: {
|
|
73538
73538
|
number: 2
|
73539
73539
|
type: TYPE_STRING
|
73540
73540
|
}
|
73541
|
+
field: {
|
73542
|
+
json_name: "id"
|
73543
|
+
label: LABEL_OPTIONAL
|
73544
|
+
name: "id"
|
73545
|
+
number: 3
|
73546
|
+
type: TYPE_STRING
|
73547
|
+
}
|
73541
73548
|
name: "WebViewFullScreenVisibilityEffect"
|
73542
73549
|
}
|
73543
73550
|
name: "devvit/ui/effects/web_view/v1alpha/fullscreen.proto"
|
@@ -73551,7 +73558,7 @@ file: {
|
|
73551
73558
|
span: 0
|
73552
73559
|
span: 0
|
73553
73560
|
span: 1
|
73554
|
-
span:
|
73561
|
+
span: 20
|
73555
73562
|
}
|
73556
73563
|
location: {
|
73557
73564
|
path: 12
|
@@ -73592,12 +73599,12 @@ file: {
|
|
73592
73599
|
span: 70
|
73593
73600
|
}
|
73594
73601
|
location: {
|
73595
|
-
leading_comments: " Sent to launch a
|
73602
|
+
leading_comments: " Sent to launch a fullscreen WebView experience\n"
|
73596
73603
|
path: 0
|
73597
73604
|
path: 4
|
73598
73605
|
span: 0
|
73599
73606
|
span: 1
|
73600
|
-
span:
|
73607
|
+
span: 20
|
73601
73608
|
span: 8
|
73602
73609
|
}
|
73603
73610
|
location: {
|
@@ -73688,6 +73695,46 @@ file: {
|
|
73688
73695
|
span: 15
|
73689
73696
|
span: 16
|
73690
73697
|
}
|
73698
|
+
location: {
|
73699
|
+
leading_comments: " ID to associate with the newly created WebView. Although only one can be visible at a time,\n it's possible for an app to define multiple fullscreen WebViews to launch at various times.\n In order to route messages back and forth between the correct WebView on the client and the\n associated callbacks within the app we need a stable identifier.\n"
|
73700
|
+
path: 0
|
73701
|
+
path: 2
|
73702
|
+
path: 2
|
73703
|
+
path: 4
|
73704
|
+
span: 16
|
73705
|
+
span: 19
|
73706
|
+
span: 2
|
73707
|
+
}
|
73708
|
+
location: {
|
73709
|
+
path: 0
|
73710
|
+
path: 2
|
73711
|
+
path: 2
|
73712
|
+
path: 4
|
73713
|
+
path: 5
|
73714
|
+
span: 19
|
73715
|
+
span: 2
|
73716
|
+
span: 8
|
73717
|
+
}
|
73718
|
+
location: {
|
73719
|
+
path: 0
|
73720
|
+
path: 1
|
73721
|
+
path: 2
|
73722
|
+
path: 2
|
73723
|
+
path: 4
|
73724
|
+
span: 11
|
73725
|
+
span: 19
|
73726
|
+
span: 9
|
73727
|
+
}
|
73728
|
+
location: {
|
73729
|
+
path: 0
|
73730
|
+
path: 2
|
73731
|
+
path: 2
|
73732
|
+
path: 3
|
73733
|
+
path: 4
|
73734
|
+
span: 14
|
73735
|
+
span: 15
|
73736
|
+
span: 19
|
73737
|
+
}
|
73691
73738
|
}
|
73692
73739
|
syntax: "proto3"
|
73693
73740
|
}
|
package/schema/snootobuf.lock
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: f5f0f2e4af7a62aba3becb035f72b66eedb5c0c16f20a1dba44606cb656fa3bd
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -73538,6 +73538,13 @@ file: {
|
|
73538
73538
|
number: 2
|
73539
73539
|
type: TYPE_STRING
|
73540
73540
|
}
|
73541
|
+
field: {
|
73542
|
+
json_name: "id"
|
73543
|
+
label: LABEL_OPTIONAL
|
73544
|
+
name: "id"
|
73545
|
+
number: 3
|
73546
|
+
type: TYPE_STRING
|
73547
|
+
}
|
73541
73548
|
name: "WebViewFullScreenVisibilityEffect"
|
73542
73549
|
}
|
73543
73550
|
name: "devvit/ui/effects/web_view/v1alpha/fullscreen.proto"
|
@@ -73551,7 +73558,7 @@ file: {
|
|
73551
73558
|
span: 0
|
73552
73559
|
span: 0
|
73553
73560
|
span: 1
|
73554
|
-
span:
|
73561
|
+
span: 20
|
73555
73562
|
}
|
73556
73563
|
location: {
|
73557
73564
|
path: 12
|
@@ -73592,12 +73599,12 @@ file: {
|
|
73592
73599
|
span: 70
|
73593
73600
|
}
|
73594
73601
|
location: {
|
73595
|
-
leading_comments: " Sent to launch a
|
73602
|
+
leading_comments: " Sent to launch a fullscreen WebView experience\n"
|
73596
73603
|
path: 0
|
73597
73604
|
path: 4
|
73598
73605
|
span: 0
|
73599
73606
|
span: 1
|
73600
|
-
span:
|
73607
|
+
span: 20
|
73601
73608
|
span: 8
|
73602
73609
|
}
|
73603
73610
|
location: {
|
@@ -73688,6 +73695,46 @@ file: {
|
|
73688
73695
|
span: 15
|
73689
73696
|
span: 16
|
73690
73697
|
}
|
73698
|
+
location: {
|
73699
|
+
leading_comments: " ID to associate with the newly created WebView. Although only one can be visible at a time,\n it's possible for an app to define multiple fullscreen WebViews to launch at various times.\n In order to route messages back and forth between the correct WebView on the client and the\n associated callbacks within the app we need a stable identifier.\n"
|
73700
|
+
path: 0
|
73701
|
+
path: 2
|
73702
|
+
path: 2
|
73703
|
+
path: 4
|
73704
|
+
span: 16
|
73705
|
+
span: 19
|
73706
|
+
span: 2
|
73707
|
+
}
|
73708
|
+
location: {
|
73709
|
+
path: 0
|
73710
|
+
path: 2
|
73711
|
+
path: 2
|
73712
|
+
path: 4
|
73713
|
+
path: 5
|
73714
|
+
span: 19
|
73715
|
+
span: 2
|
73716
|
+
span: 8
|
73717
|
+
}
|
73718
|
+
location: {
|
73719
|
+
path: 0
|
73720
|
+
path: 1
|
73721
|
+
path: 2
|
73722
|
+
path: 2
|
73723
|
+
path: 4
|
73724
|
+
span: 11
|
73725
|
+
span: 19
|
73726
|
+
span: 9
|
73727
|
+
}
|
73728
|
+
location: {
|
73729
|
+
path: 0
|
73730
|
+
path: 2
|
73731
|
+
path: 2
|
73732
|
+
path: 3
|
73733
|
+
path: 4
|
73734
|
+
span: 14
|
73735
|
+
span: 15
|
73736
|
+
span: 19
|
73737
|
+
}
|
73691
73738
|
}
|
73692
73739
|
syntax: "proto3"
|
73693
73740
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: a5678fb7464f7d5141e6c374fde567833689d99e57469611d0fb242c1c98bbfa
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -73538,6 +73538,13 @@ file: {
|
|
73538
73538
|
number: 2
|
73539
73539
|
type: TYPE_STRING
|
73540
73540
|
}
|
73541
|
+
field: {
|
73542
|
+
json_name: "id"
|
73543
|
+
label: LABEL_OPTIONAL
|
73544
|
+
name: "id"
|
73545
|
+
number: 3
|
73546
|
+
type: TYPE_STRING
|
73547
|
+
}
|
73541
73548
|
name: "WebViewFullScreenVisibilityEffect"
|
73542
73549
|
}
|
73543
73550
|
name: "devvit/ui/effects/web_view/v1alpha/fullscreen.proto"
|
@@ -73551,7 +73558,7 @@ file: {
|
|
73551
73558
|
span: 0
|
73552
73559
|
span: 0
|
73553
73560
|
span: 1
|
73554
|
-
span:
|
73561
|
+
span: 20
|
73555
73562
|
}
|
73556
73563
|
location: {
|
73557
73564
|
path: 12
|
@@ -73592,12 +73599,12 @@ file: {
|
|
73592
73599
|
span: 70
|
73593
73600
|
}
|
73594
73601
|
location: {
|
73595
|
-
leading_comments: " Sent to launch a
|
73602
|
+
leading_comments: " Sent to launch a fullscreen WebView experience\n"
|
73596
73603
|
path: 0
|
73597
73604
|
path: 4
|
73598
73605
|
span: 0
|
73599
73606
|
span: 1
|
73600
|
-
span:
|
73607
|
+
span: 20
|
73601
73608
|
span: 8
|
73602
73609
|
}
|
73603
73610
|
location: {
|
@@ -73688,6 +73695,46 @@ file: {
|
|
73688
73695
|
span: 15
|
73689
73696
|
span: 16
|
73690
73697
|
}
|
73698
|
+
location: {
|
73699
|
+
leading_comments: " ID to associate with the newly created WebView. Although only one can be visible at a time,\n it's possible for an app to define multiple fullscreen WebViews to launch at various times.\n In order to route messages back and forth between the correct WebView on the client and the\n associated callbacks within the app we need a stable identifier.\n"
|
73700
|
+
path: 0
|
73701
|
+
path: 2
|
73702
|
+
path: 2
|
73703
|
+
path: 4
|
73704
|
+
span: 16
|
73705
|
+
span: 19
|
73706
|
+
span: 2
|
73707
|
+
}
|
73708
|
+
location: {
|
73709
|
+
path: 0
|
73710
|
+
path: 2
|
73711
|
+
path: 2
|
73712
|
+
path: 4
|
73713
|
+
path: 5
|
73714
|
+
span: 19
|
73715
|
+
span: 2
|
73716
|
+
span: 8
|
73717
|
+
}
|
73718
|
+
location: {
|
73719
|
+
path: 0
|
73720
|
+
path: 1
|
73721
|
+
path: 2
|
73722
|
+
path: 2
|
73723
|
+
path: 4
|
73724
|
+
span: 11
|
73725
|
+
span: 19
|
73726
|
+
span: 9
|
73727
|
+
}
|
73728
|
+
location: {
|
73729
|
+
path: 0
|
73730
|
+
path: 2
|
73731
|
+
path: 2
|
73732
|
+
path: 3
|
73733
|
+
path: 4
|
73734
|
+
span: 14
|
73735
|
+
span: 15
|
73736
|
+
span: 19
|
73737
|
+
}
|
73691
73738
|
}
|
73692
73739
|
syntax: "proto3"
|
73693
73740
|
}
|
package/schema/snootobuf.ts.lock
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
|
2
|
-
## checksum:
|
2
|
+
## checksum: 65745ccc1add4a70f23efe6c5e3442edf377009e9f767616a699398f53acdacd
|
3
3
|
|
4
4
|
file: {
|
5
5
|
message_type: {
|
@@ -73538,6 +73538,13 @@ file: {
|
|
73538
73538
|
number: 2
|
73539
73539
|
type: TYPE_STRING
|
73540
73540
|
}
|
73541
|
+
field: {
|
73542
|
+
json_name: "id"
|
73543
|
+
label: LABEL_OPTIONAL
|
73544
|
+
name: "id"
|
73545
|
+
number: 3
|
73546
|
+
type: TYPE_STRING
|
73547
|
+
}
|
73541
73548
|
name: "WebViewFullScreenVisibilityEffect"
|
73542
73549
|
}
|
73543
73550
|
name: "devvit/ui/effects/web_view/v1alpha/fullscreen.proto"
|
@@ -73551,7 +73558,7 @@ file: {
|
|
73551
73558
|
span: 0
|
73552
73559
|
span: 0
|
73553
73560
|
span: 1
|
73554
|
-
span:
|
73561
|
+
span: 20
|
73555
73562
|
}
|
73556
73563
|
location: {
|
73557
73564
|
path: 12
|
@@ -73592,12 +73599,12 @@ file: {
|
|
73592
73599
|
span: 70
|
73593
73600
|
}
|
73594
73601
|
location: {
|
73595
|
-
leading_comments: " Sent to launch a
|
73602
|
+
leading_comments: " Sent to launch a fullscreen WebView experience\n"
|
73596
73603
|
path: 0
|
73597
73604
|
path: 4
|
73598
73605
|
span: 0
|
73599
73606
|
span: 1
|
73600
|
-
span:
|
73607
|
+
span: 20
|
73601
73608
|
span: 8
|
73602
73609
|
}
|
73603
73610
|
location: {
|
@@ -73688,6 +73695,46 @@ file: {
|
|
73688
73695
|
span: 15
|
73689
73696
|
span: 16
|
73690
73697
|
}
|
73698
|
+
location: {
|
73699
|
+
leading_comments: " ID to associate with the newly created WebView. Although only one can be visible at a time,\n it's possible for an app to define multiple fullscreen WebViews to launch at various times.\n In order to route messages back and forth between the correct WebView on the client and the\n associated callbacks within the app we need a stable identifier.\n"
|
73700
|
+
path: 0
|
73701
|
+
path: 2
|
73702
|
+
path: 2
|
73703
|
+
path: 4
|
73704
|
+
span: 16
|
73705
|
+
span: 19
|
73706
|
+
span: 2
|
73707
|
+
}
|
73708
|
+
location: {
|
73709
|
+
path: 0
|
73710
|
+
path: 2
|
73711
|
+
path: 2
|
73712
|
+
path: 4
|
73713
|
+
path: 5
|
73714
|
+
span: 19
|
73715
|
+
span: 2
|
73716
|
+
span: 8
|
73717
|
+
}
|
73718
|
+
location: {
|
73719
|
+
path: 0
|
73720
|
+
path: 1
|
73721
|
+
path: 2
|
73722
|
+
path: 2
|
73723
|
+
path: 4
|
73724
|
+
span: 11
|
73725
|
+
span: 19
|
73726
|
+
span: 9
|
73727
|
+
}
|
73728
|
+
location: {
|
73729
|
+
path: 0
|
73730
|
+
path: 2
|
73731
|
+
path: 2
|
73732
|
+
path: 3
|
73733
|
+
path: 4
|
73734
|
+
span: 14
|
73735
|
+
span: 15
|
73736
|
+
span: 19
|
73737
|
+
}
|
73691
73738
|
}
|
73692
73739
|
syntax: "proto3"
|
73693
73740
|
}
|
@@ -524,6 +524,7 @@ export declare const CustomPostDefinition: {
|
|
524
524
|
fullscreen?: {
|
525
525
|
show?: boolean;
|
526
526
|
url?: string;
|
527
|
+
id?: string;
|
527
528
|
} | undefined;
|
528
529
|
} | undefined;
|
529
530
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
@@ -925,6 +926,7 @@ export declare const CustomPostDefinition: {
|
|
925
926
|
fullscreen?: {
|
926
927
|
show?: boolean;
|
927
928
|
url?: string;
|
929
|
+
id?: string;
|
928
930
|
} | undefined;
|
929
931
|
} | undefined;
|
930
932
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
@@ -1548,6 +1550,7 @@ export declare const CustomPostDefinition: {
|
|
1548
1550
|
fullscreen?: {
|
1549
1551
|
show?: boolean;
|
1550
1552
|
url?: string;
|
1553
|
+
id?: string;
|
1551
1554
|
} | undefined;
|
1552
1555
|
} | undefined;
|
1553
1556
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
@@ -1949,6 +1952,7 @@ export declare const CustomPostDefinition: {
|
|
1949
1952
|
fullscreen?: {
|
1950
1953
|
show?: boolean;
|
1951
1954
|
url?: string;
|
1955
|
+
id?: string;
|
1952
1956
|
} | undefined;
|
1953
1957
|
} | undefined;
|
1954
1958
|
type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"custom_post.d.ts","sourceRoot":"","sources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AAM,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"}
|
@@ -4,12 +4,19 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
import _m0 from "protobufjs/minimal.js";
|
7
|
-
/** Sent to launch a
|
7
|
+
/** Sent to launch a fullscreen WebView experience */
|
8
8
|
export interface WebViewFullScreenVisibilityEffect {
|
9
9
|
/** True if app wants to show the WebView, false if the app wants to close an open WebView */
|
10
10
|
show: boolean;
|
11
11
|
/** URL to load in the fullscreen WebView */
|
12
12
|
url: string;
|
13
|
+
/**
|
14
|
+
* ID to associate with the newly created WebView. Although only one can be visible at a time,
|
15
|
+
* it's possible for an app to define multiple fullscreen WebViews to launch at various times.
|
16
|
+
* In order to route messages back and forth between the correct WebView on the client and the
|
17
|
+
* associated callbacks within the app we need a stable identifier.
|
18
|
+
*/
|
19
|
+
id: string;
|
13
20
|
}
|
14
21
|
export declare const WebViewFullScreenVisibilityEffect: {
|
15
22
|
$type: "devvit.ui.effects.web_view.v1alpha.WebViewFullScreenVisibilityEffect";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fullscreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/ui/effects/web_view/v1alpha/fullscreen.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAExC,
|
1
|
+
{"version":3,"file":"fullscreen.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/devvit/ui/effects/web_view/v1alpha/fullscreen.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAExC,qDAAqD;AACrD,MAAM,WAAW,iCAAiC;IAChD,6FAA6F;IAC7F,IAAI,EAAE,OAAO,CAAC;IACd,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAMD,eAAO,MAAM,iCAAiC;;oBAG5B,iCAAiC,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAa1F,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,iCAAiC;qBAqCzE,GAAG,GAAG,iCAAiC;oBAQxC,iCAAiC,GAAG,OAAO;kBAc7C,YAAY,iCAAiC,CAAC,GAAG,iCAAiC;wBAG5E,YAAY,iCAAiC,CAAC,GAAG,iCAAiC;CAOvG,CAAC;AAEF,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"}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
/* eslint-disable */
|
7
7
|
import _m0 from "protobufjs/minimal.js";
|
8
8
|
function createBaseWebViewFullScreenVisibilityEffect() {
|
9
|
-
return { show: false, url: "" };
|
9
|
+
return { show: false, url: "", id: "" };
|
10
10
|
}
|
11
11
|
export const WebViewFullScreenVisibilityEffect = {
|
12
12
|
$type: "devvit.ui.effects.web_view.v1alpha.WebViewFullScreenVisibilityEffect",
|
@@ -17,6 +17,9 @@ export const WebViewFullScreenVisibilityEffect = {
|
|
17
17
|
if (message.url !== "") {
|
18
18
|
writer.uint32(18).string(message.url);
|
19
19
|
}
|
20
|
+
if (message.id !== "") {
|
21
|
+
writer.uint32(26).string(message.id);
|
22
|
+
}
|
20
23
|
return writer;
|
21
24
|
},
|
22
25
|
decode(input, length) {
|
@@ -38,6 +41,12 @@ export const WebViewFullScreenVisibilityEffect = {
|
|
38
41
|
}
|
39
42
|
message.url = reader.string();
|
40
43
|
continue;
|
44
|
+
case 3:
|
45
|
+
if (tag !== 26) {
|
46
|
+
break;
|
47
|
+
}
|
48
|
+
message.id = reader.string();
|
49
|
+
continue;
|
41
50
|
}
|
42
51
|
if ((tag & 7) === 4 || tag === 0) {
|
43
52
|
break;
|
@@ -50,6 +59,7 @@ export const WebViewFullScreenVisibilityEffect = {
|
|
50
59
|
return {
|
51
60
|
show: isSet(object.show) ? globalThis.Boolean(object.show) : false,
|
52
61
|
url: isSet(object.url) ? globalThis.String(object.url) : "",
|
62
|
+
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
53
63
|
};
|
54
64
|
},
|
55
65
|
toJSON(message) {
|
@@ -60,6 +70,9 @@ export const WebViewFullScreenVisibilityEffect = {
|
|
60
70
|
if (message.url !== "") {
|
61
71
|
obj.url = message.url;
|
62
72
|
}
|
73
|
+
if (message.id !== "") {
|
74
|
+
obj.id = message.id;
|
75
|
+
}
|
63
76
|
return obj;
|
64
77
|
},
|
65
78
|
create(base) {
|
@@ -69,6 +82,7 @@ export const WebViewFullScreenVisibilityEffect = {
|
|
69
82
|
const message = createBaseWebViewFullScreenVisibilityEffect();
|
70
83
|
message.show = object.show ?? false;
|
71
84
|
message.url = object.url ?? "";
|
85
|
+
message.id = object.id ?? "";
|
72
86
|
return message;
|
73
87
|
},
|
74
88
|
};
|