@devvit/public-api 0.11.0-next-2024-07-15-6cfe77526.0 → 0.11.0-next-2024-07-15-7b4288095.0

Sign up to get free protection for your applications and to get access to all the features.
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": 85603,
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": 55107,
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": 78359
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": 31880
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": 4358
14615
14615
  }
14616
14616
  },
14617
- "bytes": 15127896
14617
+ "bytes": 15124745
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-6cfe77526.0",
3
+ "version": "0.11.0-next-2024-07-15-7b4288095.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-6cfe77526.0",
34
- "@devvit/shared-types": "0.11.0-next-2024-07-15-6cfe77526.0",
33
+ "@devvit/protos": "0.11.0-next-2024-07-15-7b4288095.0",
34
+ "@devvit/shared-types": "0.11.0-next-2024-07-15-7b4288095.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-6cfe77526.0",
43
- "@devvit/repo-tools": "0.11.0-next-2024-07-15-6cfe77526.0",
44
- "@devvit/tsconfig": "0.11.0-next-2024-07-15-6cfe77526.0",
42
+ "@devvit/eslint-config": "0.11.0-next-2024-07-15-7b4288095.0",
43
+ "@devvit/repo-tools": "0.11.0-next-2024-07-15-7b4288095.0",
44
+ "@devvit/tsconfig": "0.11.0-next-2024-07-15-7b4288095.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": "21768048038c7bd9e785f1f7c7aabb8abe42f628"
67
+ "gitHead": "ea74b9903cc8dfcc89c75f3f6eb983223e20ad25"
68
68
  }
package/public-api.d.ts CHANGED
@@ -12499,11 +12499,16 @@ declare const FlairDefinition: {
12499
12499
  id?: string | undefined;
12500
12500
  cssClass?: string | undefined;
12501
12501
  maxEmojis?: number;
12502
- richtext?: string[];
12503
12502
  textEditable?: boolean;
12504
12503
  overrideCss?: boolean;
12505
12504
  type?: string | undefined;
12506
12505
  flairType?: string | undefined;
12506
+ richtext?: {
12507
+ e?: string | undefined;
12508
+ t?: string | undefined;
12509
+ a?: string | undefined;
12510
+ u?: string | undefined;
12511
+ }[];
12507
12512
  } | undefined): FlairObject;
12508
12513
  fromPartial(object: {
12509
12514
  allowableContent?: string | undefined;
@@ -12514,11 +12519,16 @@ declare const FlairDefinition: {
12514
12519
  id?: string | undefined;
12515
12520
  cssClass?: string | undefined;
12516
12521
  maxEmojis?: number;
12517
- richtext?: string[];
12518
12522
  textEditable?: boolean;
12519
12523
  overrideCss?: boolean;
12520
12524
  type?: string | undefined;
12521
12525
  flairType?: string | undefined;
12526
+ richtext?: {
12527
+ e?: string | undefined;
12528
+ t?: string | undefined;
12529
+ a?: string | undefined;
12530
+ u?: string | undefined;
12531
+ }[];
12522
12532
  }): FlairObject;
12523
12533
  };
12524
12534
  readonly responseStream: false;
@@ -12564,11 +12574,16 @@ declare const FlairDefinition: {
12564
12574
  id?: string | undefined;
12565
12575
  cssClass?: string | undefined;
12566
12576
  maxEmojis?: number;
12567
- richtext?: string[];
12568
12577
  textEditable?: boolean;
12569
12578
  overrideCss?: boolean;
12570
12579
  type?: string | undefined;
12571
12580
  flairType?: string | undefined;
12581
+ richtext?: {
12582
+ e?: string | undefined;
12583
+ t?: string | undefined;
12584
+ a?: string | undefined;
12585
+ u?: string | undefined;
12586
+ }[];
12572
12587
  }[];
12573
12588
  } | undefined): FlairArray;
12574
12589
  fromPartial(object: {
@@ -12581,11 +12596,16 @@ declare const FlairDefinition: {
12581
12596
  id?: string | undefined;
12582
12597
  cssClass?: string | undefined;
12583
12598
  maxEmojis?: number;
12584
- richtext?: string[];
12585
12599
  textEditable?: boolean;
12586
12600
  overrideCss?: boolean;
12587
12601
  type?: string | undefined;
12588
12602
  flairType?: string | undefined;
12603
+ richtext?: {
12604
+ e?: string | undefined;
12605
+ t?: string | undefined;
12606
+ a?: string | undefined;
12607
+ u?: string | undefined;
12608
+ }[];
12589
12609
  }[];
12590
12610
  }): FlairArray;
12591
12611
  };
@@ -12732,11 +12752,16 @@ declare const FlairDefinition: {
12732
12752
  id?: string | undefined;
12733
12753
  cssClass?: string | undefined;
12734
12754
  maxEmojis?: number;
12735
- richtext?: string[];
12736
12755
  textEditable?: boolean;
12737
12756
  overrideCss?: boolean;
12738
12757
  type?: string | undefined;
12739
12758
  flairType?: string | undefined;
12759
+ richtext?: {
12760
+ e?: string | undefined;
12761
+ t?: string | undefined;
12762
+ a?: string | undefined;
12763
+ u?: string | undefined;
12764
+ }[];
12740
12765
  }[];
12741
12766
  } | undefined): FlairArray;
12742
12767
  fromPartial(object: {
@@ -12749,11 +12774,16 @@ declare const FlairDefinition: {
12749
12774
  id?: string | undefined;
12750
12775
  cssClass?: string | undefined;
12751
12776
  maxEmojis?: number;
12752
- richtext?: string[];
12753
12777
  textEditable?: boolean;
12754
12778
  overrideCss?: boolean;
12755
12779
  type?: string | undefined;
12756
12780
  flairType?: string | undefined;
12781
+ richtext?: {
12782
+ e?: string | undefined;
12783
+ t?: string | undefined;
12784
+ a?: string | undefined;
12785
+ u?: string | undefined;
12786
+ }[];
12757
12787
  }[];
12758
12788
  }): FlairArray;
12759
12789
  };
@@ -12819,11 +12849,11 @@ declare interface FlairObject {
12819
12849
  id?: string | undefined;
12820
12850
  cssClass?: string | undefined;
12821
12851
  maxEmojis: number;
12822
- richtext: string[];
12823
12852
  textEditable: boolean;
12824
12853
  overrideCss: boolean;
12825
12854
  type?: string | undefined;
12826
12855
  flairType?: string | undefined;
12856
+ richtext: FlairObject_FlairRichText[];
12827
12857
  }
12828
12858
 
12829
12859
  declare const FlairObject: {
@@ -12836,6 +12866,28 @@ declare const FlairObject: {
12836
12866
  fromPartial(object: DeepPartial_55<FlairObject>): FlairObject;
12837
12867
  };
12838
12868
 
12869
+ /** RichText document for flair */
12870
+ declare interface FlairObject_FlairRichText {
12871
+ /** enum of element types. e.g. emoji or text */
12872
+ e?: string | undefined;
12873
+ /** text to show up in the flair, e.g. "Need Advice" */
12874
+ t?: string | undefined;
12875
+ /** emoji references, e.g. ":rainbow:" */
12876
+ a?: string | undefined;
12877
+ /** url string, e.g. "https://reddit.com/" */
12878
+ u?: string | undefined;
12879
+ }
12880
+
12881
+ declare const FlairObject_FlairRichText: {
12882
+ $type: "devvit.plugin.redditapi.flair.FlairObject.FlairRichText";
12883
+ encode(message: FlairObject_FlairRichText, writer?: _m0.Writer): _m0.Writer;
12884
+ decode(input: _m0.Reader | Uint8Array, length?: number): FlairObject_FlairRichText;
12885
+ fromJSON(object: any): FlairObject_FlairRichText;
12886
+ toJSON(message: FlairObject_FlairRichText): unknown;
12887
+ create(base?: DeepPartial_55<FlairObject_FlairRichText>): FlairObject_FlairRichText;
12888
+ fromPartial(object: DeepPartial_55<FlairObject_FlairRichText>): FlairObject_FlairRichText;
12889
+ };
12890
+
12839
12891
  declare interface FlairRequest {
12840
12892
  /** subreddit name without the r/ e.g. 'devvit_test' */
12841
12893
  subreddit: string;
@@ -29359,11 +29411,7 @@ declare const NewModmailDefinition: {
29359
29411
  }): GetConversationsResponse_2;
29360
29412
  };
29361
29413
  readonly responseStream: false;
29362
- readonly options: {
29363
- readonly _unknownFields: {
29364
- readonly 480010: readonly [Uint8Array];
29365
- };
29366
- };
29414
+ readonly options: {};
29367
29415
  };
29368
29416
  /** https://www.reddit.com/dev/api#POST_api_mod_conversations */
29369
29417
  readonly createConversation: {
@@ -30027,11 +30075,7 @@ declare const NewModmailDefinition: {
30027
30075
  }): GetConversationResponse_2;
30028
30076
  };
30029
30077
  readonly responseStream: false;
30030
- readonly options: {
30031
- readonly _unknownFields: {
30032
- readonly 480010: readonly [Uint8Array];
30033
- };
30034
- };
30078
+ readonly options: {};
30035
30079
  };
30036
30080
  /** https://www.reddit.com/dev/api#POST_api_mod_conversations_:conversation_id */
30037
30081
  readonly createConversationMessage: {
@@ -42947,6 +42991,7 @@ declare namespace protos {
42947
42991
  SelectFlairRequest,
42948
42992
  SetFlairEnabledRequest,
42949
42993
  FlairObject,
42994
+ FlairObject_FlairRichText,
42950
42995
  FlairArray,
42951
42996
  FlairSelectorResponseOption,
42952
42997
  FlairSelectorResponse,