@devvit/public-api 0.11.0-next-2024-07-15-4a57db083.0 → 0.11.0-next-2024-07-15-c5542123c.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 +62 -17
- package/public-api.iife.js +116 -203
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": 89260,
|
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": 49210,
|
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": 81653
|
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": 28123
|
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": 15125169
|
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-c5542123c.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-c5542123c.0",
|
34
|
+
"@devvit/shared-types": "0.11.0-next-2024-07-15-c5542123c.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-c5542123c.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-07-15-c5542123c.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-07-15-c5542123c.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": "59030d09e8eb2948a002181212230c9d1975fdf3"
|
68
68
|
}
|
package/public-api.d.ts
CHANGED
@@ -12503,11 +12503,16 @@ declare const FlairDefinition: {
|
|
12503
12503
|
id?: string | undefined;
|
12504
12504
|
cssClass?: string | undefined;
|
12505
12505
|
maxEmojis?: number;
|
12506
|
-
richtext?: string[];
|
12507
12506
|
textEditable?: boolean;
|
12508
12507
|
overrideCss?: boolean;
|
12509
12508
|
type?: string | undefined;
|
12510
12509
|
flairType?: string | undefined;
|
12510
|
+
richtext?: {
|
12511
|
+
e?: string | undefined;
|
12512
|
+
t?: string | undefined;
|
12513
|
+
a?: string | undefined;
|
12514
|
+
u?: string | undefined;
|
12515
|
+
}[];
|
12511
12516
|
} | undefined): FlairObject;
|
12512
12517
|
fromPartial(object: {
|
12513
12518
|
allowableContent?: string | undefined;
|
@@ -12518,11 +12523,16 @@ declare const FlairDefinition: {
|
|
12518
12523
|
id?: string | undefined;
|
12519
12524
|
cssClass?: string | undefined;
|
12520
12525
|
maxEmojis?: number;
|
12521
|
-
richtext?: string[];
|
12522
12526
|
textEditable?: boolean;
|
12523
12527
|
overrideCss?: boolean;
|
12524
12528
|
type?: string | undefined;
|
12525
12529
|
flairType?: string | undefined;
|
12530
|
+
richtext?: {
|
12531
|
+
e?: string | undefined;
|
12532
|
+
t?: string | undefined;
|
12533
|
+
a?: string | undefined;
|
12534
|
+
u?: string | undefined;
|
12535
|
+
}[];
|
12526
12536
|
}): FlairObject;
|
12527
12537
|
};
|
12528
12538
|
readonly responseStream: false;
|
@@ -12568,11 +12578,16 @@ declare const FlairDefinition: {
|
|
12568
12578
|
id?: string | undefined;
|
12569
12579
|
cssClass?: string | undefined;
|
12570
12580
|
maxEmojis?: number;
|
12571
|
-
richtext?: string[];
|
12572
12581
|
textEditable?: boolean;
|
12573
12582
|
overrideCss?: boolean;
|
12574
12583
|
type?: string | undefined;
|
12575
12584
|
flairType?: string | undefined;
|
12585
|
+
richtext?: {
|
12586
|
+
e?: string | undefined;
|
12587
|
+
t?: string | undefined;
|
12588
|
+
a?: string | undefined;
|
12589
|
+
u?: string | undefined;
|
12590
|
+
}[];
|
12576
12591
|
}[];
|
12577
12592
|
} | undefined): FlairArray;
|
12578
12593
|
fromPartial(object: {
|
@@ -12585,11 +12600,16 @@ declare const FlairDefinition: {
|
|
12585
12600
|
id?: string | undefined;
|
12586
12601
|
cssClass?: string | undefined;
|
12587
12602
|
maxEmojis?: number;
|
12588
|
-
richtext?: string[];
|
12589
12603
|
textEditable?: boolean;
|
12590
12604
|
overrideCss?: boolean;
|
12591
12605
|
type?: string | undefined;
|
12592
12606
|
flairType?: string | undefined;
|
12607
|
+
richtext?: {
|
12608
|
+
e?: string | undefined;
|
12609
|
+
t?: string | undefined;
|
12610
|
+
a?: string | undefined;
|
12611
|
+
u?: string | undefined;
|
12612
|
+
}[];
|
12593
12613
|
}[];
|
12594
12614
|
}): FlairArray;
|
12595
12615
|
};
|
@@ -12736,11 +12756,16 @@ declare const FlairDefinition: {
|
|
12736
12756
|
id?: string | undefined;
|
12737
12757
|
cssClass?: string | undefined;
|
12738
12758
|
maxEmojis?: number;
|
12739
|
-
richtext?: string[];
|
12740
12759
|
textEditable?: boolean;
|
12741
12760
|
overrideCss?: boolean;
|
12742
12761
|
type?: string | undefined;
|
12743
12762
|
flairType?: string | undefined;
|
12763
|
+
richtext?: {
|
12764
|
+
e?: string | undefined;
|
12765
|
+
t?: string | undefined;
|
12766
|
+
a?: string | undefined;
|
12767
|
+
u?: string | undefined;
|
12768
|
+
}[];
|
12744
12769
|
}[];
|
12745
12770
|
} | undefined): FlairArray;
|
12746
12771
|
fromPartial(object: {
|
@@ -12753,11 +12778,16 @@ declare const FlairDefinition: {
|
|
12753
12778
|
id?: string | undefined;
|
12754
12779
|
cssClass?: string | undefined;
|
12755
12780
|
maxEmojis?: number;
|
12756
|
-
richtext?: string[];
|
12757
12781
|
textEditable?: boolean;
|
12758
12782
|
overrideCss?: boolean;
|
12759
12783
|
type?: string | undefined;
|
12760
12784
|
flairType?: string | undefined;
|
12785
|
+
richtext?: {
|
12786
|
+
e?: string | undefined;
|
12787
|
+
t?: string | undefined;
|
12788
|
+
a?: string | undefined;
|
12789
|
+
u?: string | undefined;
|
12790
|
+
}[];
|
12761
12791
|
}[];
|
12762
12792
|
}): FlairArray;
|
12763
12793
|
};
|
@@ -12823,11 +12853,11 @@ declare interface FlairObject {
|
|
12823
12853
|
id?: string | undefined;
|
12824
12854
|
cssClass?: string | undefined;
|
12825
12855
|
maxEmojis: number;
|
12826
|
-
richtext: string[];
|
12827
12856
|
textEditable: boolean;
|
12828
12857
|
overrideCss: boolean;
|
12829
12858
|
type?: string | undefined;
|
12830
12859
|
flairType?: string | undefined;
|
12860
|
+
richtext: FlairObject_FlairRichText[];
|
12831
12861
|
}
|
12832
12862
|
|
12833
12863
|
declare const FlairObject: {
|
@@ -12840,6 +12870,28 @@ declare const FlairObject: {
|
|
12840
12870
|
fromPartial(object: DeepPartial_55<FlairObject>): FlairObject;
|
12841
12871
|
};
|
12842
12872
|
|
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
|
+
|
12843
12895
|
declare interface FlairRequest {
|
12844
12896
|
/** subreddit name without the r/ e.g. 'devvit_test' */
|
12845
12897
|
subreddit: string;
|
@@ -29363,11 +29415,7 @@ declare const NewModmailDefinition: {
|
|
29363
29415
|
}): GetConversationsResponse_2;
|
29364
29416
|
};
|
29365
29417
|
readonly responseStream: false;
|
29366
|
-
readonly options: {
|
29367
|
-
readonly _unknownFields: {
|
29368
|
-
readonly 480010: readonly [Uint8Array];
|
29369
|
-
};
|
29370
|
-
};
|
29418
|
+
readonly options: {};
|
29371
29419
|
};
|
29372
29420
|
/** https://www.reddit.com/dev/api#POST_api_mod_conversations */
|
29373
29421
|
readonly createConversation: {
|
@@ -30031,11 +30079,7 @@ declare const NewModmailDefinition: {
|
|
30031
30079
|
}): GetConversationResponse_2;
|
30032
30080
|
};
|
30033
30081
|
readonly responseStream: false;
|
30034
|
-
readonly options: {
|
30035
|
-
readonly _unknownFields: {
|
30036
|
-
readonly 480010: readonly [Uint8Array];
|
30037
|
-
};
|
30038
|
-
};
|
30082
|
+
readonly options: {};
|
30039
30083
|
};
|
30040
30084
|
/** https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id */
|
30041
30085
|
readonly createConversationMessage: {
|
@@ -42951,6 +42995,7 @@ declare namespace protos {
|
|
42951
42995
|
SelectFlairRequest,
|
42952
42996
|
SetFlairEnabledRequest,
|
42953
42997
|
FlairObject,
|
42998
|
+
FlairObject_FlairRichText,
|
42954
42999
|
FlairArray,
|
42955
43000
|
FlairSelectorResponseOption,
|
42956
43001
|
FlairSelectorResponse,
|