@devvit/protos 0.10.22-next-2024-05-29-2dc4adb2f.0 → 0.10.22-next-2024-05-29-b76254e08.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +9 -4
- package/package.json +3 -3
- package/protos.min.js +2 -2
- package/protos.min.js.map +3 -3
- package/schema/devvit/ui/block_kit/v1beta/block.proto +4 -0
- 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/block_kit/v1beta/block.d.ts +4 -0
- package/types/devvit/ui/block_kit/v1beta/block.d.ts.map +1 -1
- package/types/devvit/ui/block_kit/v1beta/block.js +22 -2
@@ -4,6 +4,7 @@ package devvit.ui.block_kit.v1beta;
|
|
4
4
|
|
5
5
|
import "devvit/ui/block_kit/v1beta/attributes.proto";
|
6
6
|
import "devvit/ui/block_kit/v1beta/enums.proto";
|
7
|
+
import "google/protobuf/struct.proto";
|
7
8
|
|
8
9
|
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/ui/block_kit/v1beta";
|
9
10
|
option java_package = "com.reddit.devvit.ui.block_kit.v1beta";
|
@@ -188,6 +189,9 @@ message BlockConfig {
|
|
188
189
|
message WebView {
|
189
190
|
// URL to load in the webview
|
190
191
|
string url = 1;
|
192
|
+
|
193
|
+
// State to pass in to the webview
|
194
|
+
google.protobuf.Struct state = 2;
|
191
195
|
}
|
192
196
|
|
193
197
|
oneof config {
|
@@ -663,6 +663,9 @@ export declare const CustomPostDefinition: {
|
|
663
663
|
} | undefined;
|
664
664
|
webviewConfig?: {
|
665
665
|
url?: string;
|
666
|
+
state?: {
|
667
|
+
[x: string]: any;
|
668
|
+
} | undefined;
|
666
669
|
} | undefined;
|
667
670
|
} | undefined;
|
668
671
|
actions?: {
|
@@ -1014,6 +1017,9 @@ export declare const CustomPostDefinition: {
|
|
1014
1017
|
} | undefined;
|
1015
1018
|
webviewConfig?: {
|
1016
1019
|
url?: string;
|
1020
|
+
state?: {
|
1021
|
+
[x: string]: any;
|
1022
|
+
} | undefined;
|
1017
1023
|
} | undefined;
|
1018
1024
|
} | undefined;
|
1019
1025
|
actions?: {
|
@@ -1539,6 +1545,9 @@ export declare const CustomPostDefinition: {
|
|
1539
1545
|
} | undefined;
|
1540
1546
|
webviewConfig?: {
|
1541
1547
|
url?: string;
|
1548
|
+
state?: {
|
1549
|
+
[x: string]: any;
|
1550
|
+
} | undefined;
|
1542
1551
|
} | undefined;
|
1543
1552
|
} | undefined;
|
1544
1553
|
actions?: {
|
@@ -1890,6 +1899,9 @@ export declare const CustomPostDefinition: {
|
|
1890
1899
|
} | undefined;
|
1891
1900
|
webviewConfig?: {
|
1892
1901
|
url?: string;
|
1902
|
+
state?: {
|
1903
|
+
[x: string]: any;
|
1904
|
+
} | undefined;
|
1893
1905
|
} | undefined;
|
1894
1906
|
} | undefined;
|
1895
1907
|
actions?: {
|
@@ -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,sD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGhE,CAAC;AAEX,UAAU,GAAG;IACX,OAAO,CAAC,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"}
|
@@ -184,6 +184,10 @@ export interface BlockConfig_Animation {
|
|
184
184
|
export interface BlockConfig_WebView {
|
185
185
|
/** URL to load in the webview */
|
186
186
|
url: string;
|
187
|
+
/** State to pass in to the webview */
|
188
|
+
state?: {
|
189
|
+
[key: string]: any;
|
190
|
+
} | undefined;
|
187
191
|
}
|
188
192
|
export declare const Block: {
|
189
193
|
$type: "devvit.ui.block_kit.v1beta.Block";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../../../src/types/devvit/ui/block_kit/v1beta/block.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,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AAqB;oBAc5B,qBAAqB,GAAG,OAAO;kBAgCjC,YAAY,qBAAqB,CAAC,GAAG,qBAAqB;wBAGpD,YAAY,qBAAqB,CAAC,GAAG,qBAAqB;CAa/E,CAAC;AAQF,eAAO,MAAM,mBAAmB;;oBAGd,mBAAmB,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBAU5E,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,mBAAmB;qBA8B3D,GAAG,GAAG,mBAAmB;oBAO1B,mBAAmB,GAAG,OAAO;kBAW/B,YAAY,mBAAmB,CAAC,GAAG,mBAAmB;wBAGhD,YAAY,mBAAmB,CAAC,GAAG,mBAAmB;CAM3E,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"}
|
@@ -5,6 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
7
|
import _m0 from 'protobufjs/minimal.js';
|
8
|
+
import { Struct } from '../../../../google/protobuf/struct.js';
|
8
9
|
import { messageTypeRegistry } from '../../../../typeRegistry.js';
|
9
10
|
import { BlockAction, BlockAlignment, BlockBorder, BlockColor, BlockSize, BlockSizes } from './attributes.js';
|
10
11
|
import { blockAnimationDirectionFromJSON, blockAnimationDirectionToJSON, blockAnimationLoopModeFromJSON, blockAnimationLoopModeToJSON, blockAnimationTypeFromJSON, blockAnimationTypeToJSON, blockAvatarBackgroundFromJSON, blockAvatarBackgroundToJSON, blockAvatarFacingFromJSON, blockAvatarFacingToJSON, blockAvatarSizeFromJSON, blockAvatarSizeToJSON, blockButtonAppearanceFromJSON, blockButtonAppearanceToJSON, blockButtonSizeFromJSON, blockButtonSizeToJSON, blockFullSnooSizeFromJSON, blockFullSnooSizeToJSON, blockGapFromJSON, blockGapToJSON, blockIconSizeFromJSON, blockIconSizeToJSON, blockImageResizeModeFromJSON, blockImageResizeModeToJSON, blockPaddingFromJSON, blockPaddingToJSON, blockRadiusFromJSON, blockRadiusToJSON, blockSpacerShapeFromJSON, blockSpacerShapeToJSON, blockSpacerSizeFromJSON, blockSpacerSizeToJSON, blockStackDirectionFromJSON, blockStackDirectionToJSON, blockTextOutlineFromJSON, blockTextOutlineToJSON, blockTextOverflowFromJSON, blockTextOverflowToJSON, blockTextSizeFromJSON, blockTextSizeToJSON, blockTextStyleFromJSON, blockTextStyleToJSON, blockTextWeightFromJSON, blockTextWeightToJSON, blockTypeFromJSON, blockTypeToJSON, } from './enums.js';
|
@@ -1668,7 +1669,7 @@ export const BlockConfig_Animation = {
|
|
1668
1669
|
};
|
1669
1670
|
messageTypeRegistry.set(BlockConfig_Animation.$type, BlockConfig_Animation);
|
1670
1671
|
function createBaseBlockConfig_WebView() {
|
1671
|
-
return { url: "" };
|
1672
|
+
return { url: "", state: undefined };
|
1672
1673
|
}
|
1673
1674
|
export const BlockConfig_WebView = {
|
1674
1675
|
$type: "devvit.ui.block_kit.v1beta.BlockConfig.WebView",
|
@@ -1676,6 +1677,9 @@ export const BlockConfig_WebView = {
|
|
1676
1677
|
if (message.url !== "") {
|
1677
1678
|
writer.uint32(10).string(message.url);
|
1678
1679
|
}
|
1680
|
+
if (message.state !== undefined) {
|
1681
|
+
Struct.encode(Struct.wrap(message.state), writer.uint32(18).fork()).ldelim();
|
1682
|
+
}
|
1679
1683
|
return writer;
|
1680
1684
|
},
|
1681
1685
|
decode(input, length) {
|
@@ -1691,6 +1695,12 @@ export const BlockConfig_WebView = {
|
|
1691
1695
|
}
|
1692
1696
|
message.url = reader.string();
|
1693
1697
|
continue;
|
1698
|
+
case 2:
|
1699
|
+
if (tag !== 18) {
|
1700
|
+
break;
|
1701
|
+
}
|
1702
|
+
message.state = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
1703
|
+
continue;
|
1694
1704
|
}
|
1695
1705
|
if ((tag & 7) === 4 || tag === 0) {
|
1696
1706
|
break;
|
@@ -1700,13 +1710,19 @@ export const BlockConfig_WebView = {
|
|
1700
1710
|
return message;
|
1701
1711
|
},
|
1702
1712
|
fromJSON(object) {
|
1703
|
-
return {
|
1713
|
+
return {
|
1714
|
+
url: isSet(object.url) ? globalThis.String(object.url) : "",
|
1715
|
+
state: isObject(object.state) ? object.state : undefined,
|
1716
|
+
};
|
1704
1717
|
},
|
1705
1718
|
toJSON(message) {
|
1706
1719
|
const obj = {};
|
1707
1720
|
if (message.url !== "") {
|
1708
1721
|
obj.url = message.url;
|
1709
1722
|
}
|
1723
|
+
if (message.state !== undefined) {
|
1724
|
+
obj.state = message.state;
|
1725
|
+
}
|
1710
1726
|
return obj;
|
1711
1727
|
},
|
1712
1728
|
create(base) {
|
@@ -1715,10 +1731,14 @@ export const BlockConfig_WebView = {
|
|
1715
1731
|
fromPartial(object) {
|
1716
1732
|
const message = createBaseBlockConfig_WebView();
|
1717
1733
|
message.url = object.url ?? "";
|
1734
|
+
message.state = object.state ?? undefined;
|
1718
1735
|
return message;
|
1719
1736
|
},
|
1720
1737
|
};
|
1721
1738
|
messageTypeRegistry.set(BlockConfig_WebView.$type, BlockConfig_WebView);
|
1739
|
+
function isObject(value) {
|
1740
|
+
return typeof value === "object" && value !== null;
|
1741
|
+
}
|
1722
1742
|
function isSet(value) {
|
1723
1743
|
return value !== null && value !== undefined;
|
1724
1744
|
}
|