@devvit/public-api 0.11.0-next-2024-07-15-c5542123c.0 → 0.11.0-next-2024-07-15-a7fd3a4f7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.json +5 -5
- package/package.json +7 -7
- package/public-api.d.ts +17 -62
- package/public-api.iife.js +203 -116
package/meta.json
CHANGED
@@ -8400,7 +8400,7 @@
|
|
8400
8400
|
"format": "esm"
|
8401
8401
|
},
|
8402
8402
|
"../protos/dist/types/devvit/plugin/redditapi/flair/flair_msg.js": {
|
8403
|
-
"bytes":
|
8403
|
+
"bytes": 85603,
|
8404
8404
|
"imports": [
|
8405
8405
|
{
|
8406
8406
|
"path": "../../node_modules/long/src/long.js",
|
@@ -9924,7 +9924,7 @@
|
|
9924
9924
|
"format": "esm"
|
9925
9925
|
},
|
9926
9926
|
"../protos/dist/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js": {
|
9927
|
-
"bytes":
|
9927
|
+
"bytes": 55107,
|
9928
9928
|
"imports": [
|
9929
9929
|
{
|
9930
9930
|
"path": "../../node_modules/protobufjs/minimal.js",
|
@@ -14107,7 +14107,7 @@
|
|
14107
14107
|
"bytesInOutput": 699
|
14108
14108
|
},
|
14109
14109
|
"../protos/dist/types/devvit/plugin/redditapi/flair/flair_msg.js": {
|
14110
|
-
"bytesInOutput":
|
14110
|
+
"bytesInOutput": 78359
|
14111
14111
|
},
|
14112
14112
|
"../protos/dist/types/devvit/plugin/redditapi/postcollections/postcollections_msg.js": {
|
14113
14113
|
"bytesInOutput": 38118
|
@@ -14281,7 +14281,7 @@
|
|
14281
14281
|
"bytesInOutput": 3667
|
14282
14282
|
},
|
14283
14283
|
"../protos/dist/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js": {
|
14284
|
-
"bytesInOutput":
|
14284
|
+
"bytesInOutput": 31880
|
14285
14285
|
},
|
14286
14286
|
"../protos/dist/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js": {
|
14287
14287
|
"bytesInOutput": 213915
|
@@ -14614,7 +14614,7 @@
|
|
14614
14614
|
"bytesInOutput": 4450
|
14615
14615
|
}
|
14616
14616
|
},
|
14617
|
-
"bytes":
|
14617
|
+
"bytes": 15128320
|
14618
14618
|
}
|
14619
14619
|
}
|
14620
14620
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/public-api",
|
3
|
-
"version": "0.11.0-next-2024-07-15-
|
3
|
+
"version": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -30,8 +30,8 @@
|
|
30
30
|
},
|
31
31
|
"types": "./index.d.ts",
|
32
32
|
"dependencies": {
|
33
|
-
"@devvit/protos": "0.11.0-next-2024-07-15-
|
34
|
-
"@devvit/shared-types": "0.11.0-next-2024-07-15-
|
33
|
+
"@devvit/protos": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
35
35
|
"base64-js": "1.5.1",
|
36
36
|
"clone-deep": "4.0.1",
|
37
37
|
"core-js": "3.27.2",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
42
|
-
"@devvit/eslint-config": "0.11.0-next-2024-07-15-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-07-15-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-07-15-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-07-15-a7fd3a4f7.0",
|
45
45
|
"@microsoft/api-extractor": "7.41.0",
|
46
46
|
"@reddit/faceplate-ui": "11.3.3",
|
47
47
|
"@types/clone-deep": "4.0.1",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
}
|
65
65
|
},
|
66
66
|
"source": "./src/index.ts",
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "882e0bd1b724c9b0164920ea64fbe87fc63722b2"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -12503,16 +12503,11 @@ declare const FlairDefinition: {
|
|
12503
12503
|
id?: string | undefined;
|
12504
12504
|
cssClass?: string | undefined;
|
12505
12505
|
maxEmojis?: number;
|
12506
|
+
richtext?: string[];
|
12506
12507
|
textEditable?: boolean;
|
12507
12508
|
overrideCss?: boolean;
|
12508
12509
|
type?: string | undefined;
|
12509
12510
|
flairType?: string | undefined;
|
12510
|
-
richtext?: {
|
12511
|
-
e?: string | undefined;
|
12512
|
-
t?: string | undefined;
|
12513
|
-
a?: string | undefined;
|
12514
|
-
u?: string | undefined;
|
12515
|
-
}[];
|
12516
12511
|
} | undefined): FlairObject;
|
12517
12512
|
fromPartial(object: {
|
12518
12513
|
allowableContent?: string | undefined;
|
@@ -12523,16 +12518,11 @@ declare const FlairDefinition: {
|
|
12523
12518
|
id?: string | undefined;
|
12524
12519
|
cssClass?: string | undefined;
|
12525
12520
|
maxEmojis?: number;
|
12521
|
+
richtext?: string[];
|
12526
12522
|
textEditable?: boolean;
|
12527
12523
|
overrideCss?: boolean;
|
12528
12524
|
type?: string | undefined;
|
12529
12525
|
flairType?: string | undefined;
|
12530
|
-
richtext?: {
|
12531
|
-
e?: string | undefined;
|
12532
|
-
t?: string | undefined;
|
12533
|
-
a?: string | undefined;
|
12534
|
-
u?: string | undefined;
|
12535
|
-
}[];
|
12536
12526
|
}): FlairObject;
|
12537
12527
|
};
|
12538
12528
|
readonly responseStream: false;
|
@@ -12578,16 +12568,11 @@ declare const FlairDefinition: {
|
|
12578
12568
|
id?: string | undefined;
|
12579
12569
|
cssClass?: string | undefined;
|
12580
12570
|
maxEmojis?: number;
|
12571
|
+
richtext?: string[];
|
12581
12572
|
textEditable?: boolean;
|
12582
12573
|
overrideCss?: boolean;
|
12583
12574
|
type?: string | undefined;
|
12584
12575
|
flairType?: string | undefined;
|
12585
|
-
richtext?: {
|
12586
|
-
e?: string | undefined;
|
12587
|
-
t?: string | undefined;
|
12588
|
-
a?: string | undefined;
|
12589
|
-
u?: string | undefined;
|
12590
|
-
}[];
|
12591
12576
|
}[];
|
12592
12577
|
} | undefined): FlairArray;
|
12593
12578
|
fromPartial(object: {
|
@@ -12600,16 +12585,11 @@ declare const FlairDefinition: {
|
|
12600
12585
|
id?: string | undefined;
|
12601
12586
|
cssClass?: string | undefined;
|
12602
12587
|
maxEmojis?: number;
|
12588
|
+
richtext?: string[];
|
12603
12589
|
textEditable?: boolean;
|
12604
12590
|
overrideCss?: boolean;
|
12605
12591
|
type?: string | undefined;
|
12606
12592
|
flairType?: string | undefined;
|
12607
|
-
richtext?: {
|
12608
|
-
e?: string | undefined;
|
12609
|
-
t?: string | undefined;
|
12610
|
-
a?: string | undefined;
|
12611
|
-
u?: string | undefined;
|
12612
|
-
}[];
|
12613
12593
|
}[];
|
12614
12594
|
}): FlairArray;
|
12615
12595
|
};
|
@@ -12756,16 +12736,11 @@ declare const FlairDefinition: {
|
|
12756
12736
|
id?: string | undefined;
|
12757
12737
|
cssClass?: string | undefined;
|
12758
12738
|
maxEmojis?: number;
|
12739
|
+
richtext?: string[];
|
12759
12740
|
textEditable?: boolean;
|
12760
12741
|
overrideCss?: boolean;
|
12761
12742
|
type?: string | undefined;
|
12762
12743
|
flairType?: string | undefined;
|
12763
|
-
richtext?: {
|
12764
|
-
e?: string | undefined;
|
12765
|
-
t?: string | undefined;
|
12766
|
-
a?: string | undefined;
|
12767
|
-
u?: string | undefined;
|
12768
|
-
}[];
|
12769
12744
|
}[];
|
12770
12745
|
} | undefined): FlairArray;
|
12771
12746
|
fromPartial(object: {
|
@@ -12778,16 +12753,11 @@ declare const FlairDefinition: {
|
|
12778
12753
|
id?: string | undefined;
|
12779
12754
|
cssClass?: string | undefined;
|
12780
12755
|
maxEmojis?: number;
|
12756
|
+
richtext?: string[];
|
12781
12757
|
textEditable?: boolean;
|
12782
12758
|
overrideCss?: boolean;
|
12783
12759
|
type?: string | undefined;
|
12784
12760
|
flairType?: string | undefined;
|
12785
|
-
richtext?: {
|
12786
|
-
e?: string | undefined;
|
12787
|
-
t?: string | undefined;
|
12788
|
-
a?: string | undefined;
|
12789
|
-
u?: string | undefined;
|
12790
|
-
}[];
|
12791
12761
|
}[];
|
12792
12762
|
}): FlairArray;
|
12793
12763
|
};
|
@@ -12853,11 +12823,11 @@ declare interface FlairObject {
|
|
12853
12823
|
id?: string | undefined;
|
12854
12824
|
cssClass?: string | undefined;
|
12855
12825
|
maxEmojis: number;
|
12826
|
+
richtext: string[];
|
12856
12827
|
textEditable: boolean;
|
12857
12828
|
overrideCss: boolean;
|
12858
12829
|
type?: string | undefined;
|
12859
12830
|
flairType?: string | undefined;
|
12860
|
-
richtext: FlairObject_FlairRichText[];
|
12861
12831
|
}
|
12862
12832
|
|
12863
12833
|
declare const FlairObject: {
|
@@ -12870,28 +12840,6 @@ declare const FlairObject: {
|
|
12870
12840
|
fromPartial(object: DeepPartial_55<FlairObject>): FlairObject;
|
12871
12841
|
};
|
12872
12842
|
|
12873
|
-
/** RichText document for flair */
|
12874
|
-
declare interface FlairObject_FlairRichText {
|
12875
|
-
/** enum of element types. e.g. emoji or text */
|
12876
|
-
e?: string | undefined;
|
12877
|
-
/** text to show up in the flair, e.g. "Need Advice" */
|
12878
|
-
t?: string | undefined;
|
12879
|
-
/** emoji references, e.g. ":rainbow:" */
|
12880
|
-
a?: string | undefined;
|
12881
|
-
/** url string, e.g. "https://reddit.com/" */
|
12882
|
-
u?: string | undefined;
|
12883
|
-
}
|
12884
|
-
|
12885
|
-
declare const FlairObject_FlairRichText: {
|
12886
|
-
$type: "devvit.plugin.redditapi.flair.FlairObject.FlairRichText";
|
12887
|
-
encode(message: FlairObject_FlairRichText, writer?: _m0.Writer): _m0.Writer;
|
12888
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FlairObject_FlairRichText;
|
12889
|
-
fromJSON(object: any): FlairObject_FlairRichText;
|
12890
|
-
toJSON(message: FlairObject_FlairRichText): unknown;
|
12891
|
-
create(base?: DeepPartial_55<FlairObject_FlairRichText>): FlairObject_FlairRichText;
|
12892
|
-
fromPartial(object: DeepPartial_55<FlairObject_FlairRichText>): FlairObject_FlairRichText;
|
12893
|
-
};
|
12894
|
-
|
12895
12843
|
declare interface FlairRequest {
|
12896
12844
|
/** subreddit name without the r/ e.g. 'devvit_test' */
|
12897
12845
|
subreddit: string;
|
@@ -29415,7 +29363,11 @@ declare const NewModmailDefinition: {
|
|
29415
29363
|
}): GetConversationsResponse_2;
|
29416
29364
|
};
|
29417
29365
|
readonly responseStream: false;
|
29418
|
-
readonly options: {
|
29366
|
+
readonly options: {
|
29367
|
+
readonly _unknownFields: {
|
29368
|
+
readonly 480010: readonly [Uint8Array];
|
29369
|
+
};
|
29370
|
+
};
|
29419
29371
|
};
|
29420
29372
|
/** https://www.reddit.com/dev/api#POST_api_mod_conversations */
|
29421
29373
|
readonly createConversation: {
|
@@ -30079,7 +30031,11 @@ declare const NewModmailDefinition: {
|
|
30079
30031
|
}): GetConversationResponse_2;
|
30080
30032
|
};
|
30081
30033
|
readonly responseStream: false;
|
30082
|
-
readonly options: {
|
30034
|
+
readonly options: {
|
30035
|
+
readonly _unknownFields: {
|
30036
|
+
readonly 480010: readonly [Uint8Array];
|
30037
|
+
};
|
30038
|
+
};
|
30083
30039
|
};
|
30084
30040
|
/** https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id */
|
30085
30041
|
readonly createConversationMessage: {
|
@@ -42995,7 +42951,6 @@ declare namespace protos {
|
|
42995
42951
|
SelectFlairRequest,
|
42996
42952
|
SetFlairEnabledRequest,
|
42997
42953
|
FlairObject,
|
42998
|
-
FlairObject_FlairRichText,
|
42999
42954
|
FlairArray,
|
43000
42955
|
FlairSelectorResponseOption,
|
43001
42956
|
FlairSelectorResponse,
|