@devvit/public-api 0.11.8-next-2025-02-27-42f09f9d3.0 → 0.11.8-next-2025-03-03-baef9b8d4.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.json CHANGED
@@ -6906,7 +6906,7 @@
6906
6906
  "format": "esm"
6907
6907
  },
6908
6908
  "../protos/dist/index.js": {
6909
- "bytes": 6416,
6909
+ "bytes": 6503,
6910
6910
  "imports": [
6911
6911
  {
6912
6912
  "path": "../protos/dist/lib/Defunct-Types.js",
@@ -6953,6 +6953,11 @@
6953
6953
  "kind": "import-statement",
6954
6954
  "original": "./types/devvit/actor/settings/v1alpha/shared.js"
6955
6955
  },
6956
+ {
6957
+ "path": "../protos/dist/types/devvit/events/v1alpha/events.js",
6958
+ "kind": "import-statement",
6959
+ "original": "./types/devvit/events/v1alpha/events.js"
6960
+ },
6956
6961
  {
6957
6962
  "path": "../protos/dist/types/devvit/events/v1alpha/realtime.js",
6958
6963
  "kind": "import-statement",
@@ -7258,8 +7263,14 @@
7258
7263
  "format": "esm"
7259
7264
  },
7260
7265
  "src/types/triggers.ts": {
7261
- "bytes": 7726,
7262
- "imports": [],
7266
+ "bytes": 7908,
7267
+ "imports": [
7268
+ {
7269
+ "path": "../protos/dist/index.js",
7270
+ "kind": "import-statement",
7271
+ "original": "@devvit/protos"
7272
+ }
7273
+ ],
7263
7274
  "format": "esm"
7264
7275
  },
7265
7276
  "src/types/ui-client.ts": {
@@ -7773,7 +7784,7 @@
7773
7784
  "format": "esm"
7774
7785
  },
7775
7786
  "package.json": {
7776
- "bytes": 2715,
7787
+ "bytes": 2717,
7777
7788
  "imports": [],
7778
7789
  "format": "esm",
7779
7790
  "with": {
@@ -9717,7 +9728,7 @@
9717
9728
  "bytesInOutput": 3902
9718
9729
  },
9719
9730
  "src/index.ts": {
9720
- "bytesInOutput": 2307
9731
+ "bytesInOutput": 2385
9721
9732
  },
9722
9733
  "../shared-types/dist/NonNull.js": {
9723
9734
  "bytesInOutput": 118
@@ -10034,6 +10045,9 @@
10034
10045
  "src/types/icons.ts": {
10035
10046
  "bytesInOutput": 5121
10036
10047
  },
10048
+ "src/types/triggers.ts": {
10049
+ "bytesInOutput": 0
10050
+ },
10037
10051
  "src/apis/ui/helpers/transformForm.ts": {
10038
10052
  "bytesInOutput": 3546
10039
10053
  },
@@ -10098,7 +10112,7 @@
10098
10112
  "bytesInOutput": 1973
10099
10113
  },
10100
10114
  "package.json": {
10101
- "bytesInOutput": 2816
10115
+ "bytesInOutput": 2818
10102
10116
  },
10103
10117
  "src/devvit/internals/context.ts": {
10104
10118
  "bytesInOutput": 2029
@@ -10293,7 +10307,7 @@
10293
10307
  "bytesInOutput": 2975
10294
10308
  }
10295
10309
  },
10296
- "bytes": 12435659
10310
+ "bytes": 12435755
10297
10311
  }
10298
10312
  }
10299
10313
  }
package/meta.min.json CHANGED
@@ -108,8 +108,14 @@
108
108
  "format": "esm"
109
109
  },
110
110
  "src/types/triggers.ts": {
111
- "bytes": 7726,
112
- "imports": [],
111
+ "bytes": 7908,
112
+ "imports": [
113
+ {
114
+ "path": "@devvit/protos",
115
+ "kind": "import-statement",
116
+ "external": true
117
+ }
118
+ ],
113
119
  "format": "esm"
114
120
  },
115
121
  "src/types/ui-client.ts": {
@@ -623,7 +629,7 @@
623
629
  "format": "esm"
624
630
  },
625
631
  "package.json": {
626
- "bytes": 2715,
632
+ "bytes": 2717,
627
633
  "imports": [],
628
634
  "format": "esm",
629
635
  "with": {
@@ -2490,7 +2496,7 @@
2490
2496
  "imports": [],
2491
2497
  "exports": [],
2492
2498
  "inputs": {},
2493
- "bytes": 1048547
2499
+ "bytes": 1056802
2494
2500
  },
2495
2501
  "dist/public-api.min.js": {
2496
2502
  "imports": [
@@ -2654,6 +2660,11 @@
2654
2660
  "kind": "import-statement",
2655
2661
  "external": true
2656
2662
  },
2663
+ {
2664
+ "path": "@devvit/protos",
2665
+ "kind": "import-statement",
2666
+ "external": true
2667
+ },
2657
2668
  {
2658
2669
  "path": "@devvit/protos",
2659
2670
  "kind": "import-statement",
@@ -2669,7 +2680,9 @@
2669
2680
  "Comment",
2670
2681
  "CommunityListWidget",
2671
2682
  "CustomWidget",
2683
+ "DeletionReason",
2672
2684
  "Devvit",
2685
+ "EventSource",
2673
2686
  "Flair",
2674
2687
  "FlairTemplate",
2675
2688
  "FlairType",
@@ -2766,6 +2779,9 @@
2766
2779
  "src/types/icons.ts": {
2767
2780
  "bytesInOutput": 4713
2768
2781
  },
2782
+ "src/types/triggers.ts": {
2783
+ "bytesInOutput": 67
2784
+ },
2769
2785
  "src/devvit/internals/app-settings.ts": {
2770
2786
  "bytesInOutput": 359
2771
2787
  },
@@ -2836,7 +2852,7 @@
2836
2852
  "bytesInOutput": 848
2837
2853
  },
2838
2854
  "package.json": {
2839
- "bytesInOutput": 2295
2855
+ "bytesInOutput": 2297
2840
2856
  },
2841
2857
  "src/devvit/internals/context.ts": {
2842
2858
  "bytesInOutput": 1087
@@ -3025,7 +3041,7 @@
3025
3041
  "bytesInOutput": 1267
3026
3042
  }
3027
3043
  },
3028
- "bytes": 218098
3044
+ "bytes": 218206
3029
3045
  }
3030
3046
  }
3031
3047
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.8-next-2025-02-27-42f09f9d3.0",
3
+ "version": "0.11.8-next-2025-03-03-baef9b8d4.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,16 +30,16 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.11.8-next-2025-02-27-42f09f9d3.0",
34
- "@devvit/shared-types": "0.11.8-next-2025-02-27-42f09f9d3.0",
33
+ "@devvit/protos": "0.11.8-next-2025-03-03-baef9b8d4.0",
34
+ "@devvit/shared-types": "0.11.8-next-2025-03-03-baef9b8d4.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "moderndash": "4.0.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@ampproject/filesize": "4.3.0",
41
- "@devvit/repo-tools": "0.11.8-next-2025-02-27-42f09f9d3.0",
42
- "@devvit/tsconfig": "0.11.8-next-2025-02-27-42f09f9d3.0",
41
+ "@devvit/repo-tools": "0.11.8-next-2025-03-03-baef9b8d4.0",
42
+ "@devvit/tsconfig": "0.11.8-next-2025-03-03-baef9b8d4.0",
43
43
  "@microsoft/api-extractor": "7.41.0",
44
44
  "@reddit/faceplate-ui": "18.0.1",
45
45
  "@types/clone-deep": "4.0.1",
@@ -56,9 +56,9 @@
56
56
  "filesize": {
57
57
  "dist/public-api.min.js": {
58
58
  "gzip": "60 KB",
59
- "none": "213 KB"
59
+ "none": "213.1 KB"
60
60
  }
61
61
  },
62
62
  "source": "./src/index.ts",
63
- "gitHead": "75b460f13b3ff1c3e408c81840d3b922f98663fb"
63
+ "gitHead": "8a26a1a0e52a6210aa9e4ea5890ede4bd29d2309"
64
64
  }
package/public-api.d.ts CHANGED
@@ -7443,7 +7443,7 @@ declare const DeleteWidgetRequest: {
7443
7443
  fromPartial(object: DeepPartial_5<DeleteWidgetRequest>): DeleteWidgetRequest;
7444
7444
  };
7445
7445
 
7446
- declare enum DeletionReason {
7446
+ export declare enum DeletionReason {
7447
7447
  UNSPECIFIED_DELETION_REASON = 0,
7448
7448
  SPAM = 1,
7449
7449
  LEGAL = 2,
@@ -8265,11 +8265,46 @@ declare enum EventSource_2 {
8265
8265
  MODERATOR = 3,
8266
8266
  UNRECOGNIZED = -1
8267
8267
  }
8268
+ export { EventSource_2 as EventSource }
8268
8269
 
8269
8270
  declare function eventSourceFromJSON(object: any): EventSource_2;
8270
8271
 
8271
8272
  declare function eventSourceToJSON(object: EventSource_2): number;
8272
8273
 
8274
+ declare namespace EventTypes {
8275
+ export {
8276
+ eventSourceFromJSON,
8277
+ eventSourceToJSON,
8278
+ deletionReasonFromJSON,
8279
+ deletionReasonToJSON,
8280
+ EventSource_2 as EventSource,
8281
+ DeletionReason,
8282
+ PostSubmit_2 as PostSubmit,
8283
+ PostCreate_2 as PostCreate,
8284
+ PostUpdate_2 as PostUpdate,
8285
+ PostReport_2 as PostReport,
8286
+ PostFlairUpdate_2 as PostFlairUpdate,
8287
+ PostDelete_2 as PostDelete,
8288
+ PostApprove,
8289
+ CommentApprove,
8290
+ CommentSubmit_2 as CommentSubmit,
8291
+ CommentCreate_2 as CommentCreate,
8292
+ CommentUpdate_2 as CommentUpdate,
8293
+ CommentReport_2 as CommentReport,
8294
+ CommentDelete_2 as CommentDelete,
8295
+ SubredditSubscribe,
8296
+ AppInstall_2 as AppInstall,
8297
+ AppUpgrade_2 as AppUpgrade,
8298
+ AccountDelete,
8299
+ Vote,
8300
+ AutomoderatorFilterPost_2 as AutomoderatorFilterPost,
8301
+ AutomoderatorFilterComment_2 as AutomoderatorFilterComment,
8302
+ PostNsfwUpdate_2 as PostNsfwUpdate,
8303
+ PostSpoilerUpdate_2 as PostSpoilerUpdate
8304
+ }
8305
+ }
8306
+ export { EventTypes }
8307
+
8273
8308
  declare interface ExistsResponse {
8274
8309
  existingKeys: number;
8275
8310
  }
@@ -36235,6 +36270,8 @@ declare namespace protos {
36235
36270
  InstallationSettingsDefinition,
36236
36271
  GetFieldsResponse,
36237
36272
  ValidateFormResponse,
36273
+ DeletionReason,
36274
+ EventSource_2 as EventSource,
36238
36275
  RealtimeDefinition,
36239
36276
  HTTP,
36240
36277
  HTTPDefinition,
@@ -36375,8 +36412,6 @@ declare namespace protos {
36375
36412
  eventSourceToJSON,
36376
36413
  deletionReasonFromJSON,
36377
36414
  deletionReasonToJSON,
36378
- EventSource_2 as EventSource,
36379
- DeletionReason,
36380
36415
  PostSubmit_2 as PostSubmit,
36381
36416
  PostCreate_2 as PostCreate,
36382
36417
  PostUpdate_2 as PostUpdate,