@devvit/protos 0.11.12-next-2025-03-26-76fc1f81e.0 → 0.11.12-next-2025-03-26-b56e4b84d.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 +6 -6
- package/package.json +5 -5
- package/protos.min.js +1 -1
- package/protos.min.js.map +2 -2
- package/schema/devvit/ui/effects/web_view/v1alpha/post_message.proto +4 -0
- package/schema/devvit/ui/events/v1alpha/web_view.proto +4 -0
- package/schema/snootobuf.devenv.lock +7653 -7386
- package/schema/snootobuf.lock +7655 -7386
- package/schema/snootobuf.redditapi.lock +7651 -7386
- package/schema/snootobuf.ts.lock +183 -76
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +12 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
- package/types/devvit/ui/effects/web_view/v1alpha/post_message.d.ts +6 -1
- package/types/devvit/ui/effects/web_view/v1alpha/post_message.d.ts.map +1 -1
- package/types/devvit/ui/effects/web_view/v1alpha/post_message.js +18 -2
- package/types/devvit/ui/events/v1alpha/web_view.d.ts +6 -1
- package/types/devvit/ui/events/v1alpha/web_view.d.ts.map +1 -1
- package/types/devvit/ui/events/v1alpha/web_view.js +18 -2
@@ -255,6 +255,7 @@ export declare const CustomPostDefinition: {
|
|
255
255
|
webView?: {
|
256
256
|
postMessage?: {
|
257
257
|
message?: any;
|
258
|
+
jsonString?: string;
|
258
259
|
} | undefined;
|
259
260
|
fullScreen?: {
|
260
261
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -356,6 +357,7 @@ export declare const CustomPostDefinition: {
|
|
356
357
|
webView?: {
|
357
358
|
postMessage?: {
|
358
359
|
message?: any;
|
360
|
+
jsonString?: string;
|
359
361
|
} | undefined;
|
360
362
|
fullScreen?: {
|
361
363
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -514,6 +516,7 @@ export declare const CustomPostDefinition: {
|
|
514
516
|
webViewId?: string;
|
515
517
|
app?: {
|
516
518
|
message?: any;
|
519
|
+
jsonString?: string | undefined;
|
517
520
|
} | undefined;
|
518
521
|
state?: {
|
519
522
|
state?: {
|
@@ -601,6 +604,7 @@ export declare const CustomPostDefinition: {
|
|
601
604
|
webView?: {
|
602
605
|
postMessage?: {
|
603
606
|
message?: any;
|
607
|
+
jsonString?: string;
|
604
608
|
} | undefined;
|
605
609
|
fullScreen?: {
|
606
610
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -916,6 +920,7 @@ export declare const CustomPostDefinition: {
|
|
916
920
|
webViewId?: string;
|
917
921
|
app?: {
|
918
922
|
message?: any;
|
923
|
+
jsonString?: string | undefined;
|
919
924
|
} | undefined;
|
920
925
|
state?: {
|
921
926
|
state?: {
|
@@ -1003,6 +1008,7 @@ export declare const CustomPostDefinition: {
|
|
1003
1008
|
webView?: {
|
1004
1009
|
postMessage?: {
|
1005
1010
|
message?: any;
|
1011
|
+
jsonString?: string;
|
1006
1012
|
} | undefined;
|
1007
1013
|
fullScreen?: {
|
1008
1014
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -1281,6 +1287,7 @@ export declare const CustomPostDefinition: {
|
|
1281
1287
|
webView?: {
|
1282
1288
|
postMessage?: {
|
1283
1289
|
message?: any;
|
1290
|
+
jsonString?: string;
|
1284
1291
|
} | undefined;
|
1285
1292
|
fullScreen?: {
|
1286
1293
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -1382,6 +1389,7 @@ export declare const CustomPostDefinition: {
|
|
1382
1389
|
webView?: {
|
1383
1390
|
postMessage?: {
|
1384
1391
|
message?: any;
|
1392
|
+
jsonString?: string;
|
1385
1393
|
} | undefined;
|
1386
1394
|
fullScreen?: {
|
1387
1395
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -1540,6 +1548,7 @@ export declare const CustomPostDefinition: {
|
|
1540
1548
|
webViewId?: string;
|
1541
1549
|
app?: {
|
1542
1550
|
message?: any;
|
1551
|
+
jsonString?: string | undefined;
|
1543
1552
|
} | undefined;
|
1544
1553
|
state?: {
|
1545
1554
|
state?: {
|
@@ -1627,6 +1636,7 @@ export declare const CustomPostDefinition: {
|
|
1627
1636
|
webView?: {
|
1628
1637
|
postMessage?: {
|
1629
1638
|
message?: any;
|
1639
|
+
jsonString?: string;
|
1630
1640
|
} | undefined;
|
1631
1641
|
fullScreen?: {
|
1632
1642
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -1942,6 +1952,7 @@ export declare const CustomPostDefinition: {
|
|
1942
1952
|
webViewId?: string;
|
1943
1953
|
app?: {
|
1944
1954
|
message?: any;
|
1955
|
+
jsonString?: string | undefined;
|
1945
1956
|
} | undefined;
|
1946
1957
|
state?: {
|
1947
1958
|
state?: {
|
@@ -2029,6 +2040,7 @@ export declare const CustomPostDefinition: {
|
|
2029
2040
|
webView?: {
|
2030
2041
|
postMessage?: {
|
2031
2042
|
message?: any;
|
2043
|
+
jsonString?: string;
|
2032
2044
|
} | undefined;
|
2033
2045
|
fullScreen?: {
|
2034
2046
|
visibility?: import("../../../../../index.js").WebViewVisibility;
|
@@ -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,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AG,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"}
|
@@ -18,8 +18,13 @@ export interface WebViewPostMessage {
|
|
18
18
|
* type: devvit-message
|
19
19
|
*/
|
20
20
|
export interface WebViewAppMessage {
|
21
|
-
/**
|
21
|
+
/**
|
22
|
+
* Any serializable value given to postMessage in a WebView
|
23
|
+
* @deprecated Use json_string instead
|
24
|
+
*/
|
22
25
|
message?: any | undefined;
|
26
|
+
/** JSON string payload */
|
27
|
+
jsonString?: string | undefined;
|
23
28
|
}
|
24
29
|
/**
|
25
30
|
* Used to pass stateful data into a WebView
|
@@ -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,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
|
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,iDAAiD;AACjD,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D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
|
function createBaseWebViewAppMessage() {
|
79
|
-
return { message: undefined };
|
79
|
+
return { message: undefined, jsonString: undefined };
|
80
80
|
}
|
81
81
|
export const WebViewAppMessage = {
|
82
82
|
$type: "devvit.ui.effects.web_view.v1alpha.WebViewAppMessage",
|
@@ -84,6 +84,9 @@ export const WebViewAppMessage = {
|
|
84
84
|
if (message.message !== undefined) {
|
85
85
|
Value.encode(Value.wrap(message.message), writer.uint32(10).fork()).ldelim();
|
86
86
|
}
|
87
|
+
if (message.jsonString !== undefined) {
|
88
|
+
writer.uint32(18).string(message.jsonString);
|
89
|
+
}
|
87
90
|
return writer;
|
88
91
|
},
|
89
92
|
decode(input, length) {
|
@@ -99,6 +102,12 @@ export const WebViewAppMessage = {
|
|
99
102
|
}
|
100
103
|
message.message = Value.unwrap(Value.decode(reader, reader.uint32()));
|
101
104
|
continue;
|
105
|
+
case 2:
|
106
|
+
if (tag !== 18) {
|
107
|
+
break;
|
108
|
+
}
|
109
|
+
message.jsonString = reader.string();
|
110
|
+
continue;
|
102
111
|
}
|
103
112
|
if ((tag & 7) === 4 || tag === 0) {
|
104
113
|
break;
|
@@ -108,13 +117,19 @@ export const WebViewAppMessage = {
|
|
108
117
|
return message;
|
109
118
|
},
|
110
119
|
fromJSON(object) {
|
111
|
-
return {
|
120
|
+
return {
|
121
|
+
message: isSet(object?.message) ? object.message : undefined,
|
122
|
+
jsonString: isSet(object.jsonString) ? globalThis.String(object.jsonString) : undefined,
|
123
|
+
};
|
112
124
|
},
|
113
125
|
toJSON(message) {
|
114
126
|
const obj = {};
|
115
127
|
if (message.message !== undefined) {
|
116
128
|
obj.message = message.message;
|
117
129
|
}
|
130
|
+
if (message.jsonString !== undefined) {
|
131
|
+
obj.jsonString = message.jsonString;
|
132
|
+
}
|
118
133
|
return obj;
|
119
134
|
},
|
120
135
|
create(base) {
|
@@ -123,6 +138,7 @@ export const WebViewAppMessage = {
|
|
123
138
|
fromPartial(object) {
|
124
139
|
const message = createBaseWebViewAppMessage();
|
125
140
|
message.message = object.message ?? undefined;
|
141
|
+
message.jsonString = object.jsonString ?? undefined;
|
126
142
|
return message;
|
127
143
|
},
|
128
144
|
};
|
@@ -13,8 +13,13 @@ export declare function webViewVisibilityFromJSON(object: any): WebViewVisibilit
|
|
13
13
|
export declare function webViewVisibilityToJSON(object: WebViewVisibility): number;
|
14
14
|
/** Fired when the content of a WebView calls window.parent.postMessage() */
|
15
15
|
export interface WebViewPostMessageEvent {
|
16
|
-
/**
|
16
|
+
/**
|
17
|
+
* Can be a Struct or a scalar value since postMessage doesn't restrict the type of 'message'.
|
18
|
+
* @deprecated Use json_string instead
|
19
|
+
*/
|
17
20
|
message?: any | undefined;
|
21
|
+
/** JSON string payload */
|
22
|
+
jsonString: string;
|
18
23
|
}
|
19
24
|
/** Fired when the visibility of a fullscreen WebView changes */
|
20
25
|
export interface WebViewFullScreenEvent {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"web_view.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/ui/events/v1alpha/web_view.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAIxC,oBAAY,iBAAiB;IAC3B,eAAe,IAAI;IACnB,cAAc,IAAI;IAClB,YAAY,KAAK;CAClB;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,GAAG,GAAG,iBAAiB,CAaxE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAUzE;AAED,4EAA4E;AAC5E,MAAM,WAAW,uBAAuB;IACtC
|
1
|
+
{"version":3,"file":"web_view.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/ui/events/v1alpha/web_view.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAIxC,oBAAY,iBAAiB;IAC3B,eAAe,IAAI;IACnB,cAAc,IAAI;IAClB,YAAY,KAAK;CAClB;AAED,wB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AAG,GAAG,YAAY;oBAOnB,YAAY,GAAG,OAAO;kBAWxB,YAAY,YAAY,CAAC,GAAG,YAAY;wBAGlC,YAAY,YAAY,CAAC,GAAG,YAAY;CAU7D,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"}
|
@@ -39,7 +39,7 @@ export function webViewVisibilityToJSON(object) {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
function createBaseWebViewPostMessageEvent() {
|
42
|
-
return { message: undefined };
|
42
|
+
return { message: undefined, jsonString: "" };
|
43
43
|
}
|
44
44
|
export const WebViewPostMessageEvent = {
|
45
45
|
$type: "devvit.ui.events.v1alpha.WebViewPostMessageEvent",
|
@@ -47,6 +47,9 @@ export const WebViewPostMessageEvent = {
|
|
47
47
|
if (message.message !== undefined) {
|
48
48
|
Value.encode(Value.wrap(message.message), writer.uint32(10).fork()).ldelim();
|
49
49
|
}
|
50
|
+
if (message.jsonString !== "") {
|
51
|
+
writer.uint32(18).string(message.jsonString);
|
52
|
+
}
|
50
53
|
return writer;
|
51
54
|
},
|
52
55
|
decode(input, length) {
|
@@ -62,6 +65,12 @@ export const WebViewPostMessageEvent = {
|
|
62
65
|
}
|
63
66
|
message.message = Value.unwrap(Value.decode(reader, reader.uint32()));
|
64
67
|
continue;
|
68
|
+
case 2:
|
69
|
+
if (tag !== 18) {
|
70
|
+
break;
|
71
|
+
}
|
72
|
+
message.jsonString = reader.string();
|
73
|
+
continue;
|
65
74
|
}
|
66
75
|
if ((tag & 7) === 4 || tag === 0) {
|
67
76
|
break;
|
@@ -71,13 +80,19 @@ export const WebViewPostMessageEvent = {
|
|
71
80
|
return message;
|
72
81
|
},
|
73
82
|
fromJSON(object) {
|
74
|
-
return {
|
83
|
+
return {
|
84
|
+
message: isSet(object?.message) ? object.message : undefined,
|
85
|
+
jsonString: isSet(object.jsonString) ? globalThis.String(object.jsonString) : "",
|
86
|
+
};
|
75
87
|
},
|
76
88
|
toJSON(message) {
|
77
89
|
const obj = {};
|
78
90
|
if (message.message !== undefined) {
|
79
91
|
obj.message = message.message;
|
80
92
|
}
|
93
|
+
if (message.jsonString !== "") {
|
94
|
+
obj.jsonString = message.jsonString;
|
95
|
+
}
|
81
96
|
return obj;
|
82
97
|
},
|
83
98
|
create(base) {
|
@@ -86,6 +101,7 @@ export const WebViewPostMessageEvent = {
|
|
86
101
|
fromPartial(object) {
|
87
102
|
const message = createBaseWebViewPostMessageEvent();
|
88
103
|
message.message = object.message ?? undefined;
|
104
|
+
message.jsonString = object.jsonString ?? "";
|
89
105
|
return message;
|
90
106
|
},
|
91
107
|
};
|