@devvit/public-api 0.11.0-next-2024-07-23-33f5f2eff.0 → 0.11.0-next-2024-07-23-81c7fb8e2.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -7509,7 +7509,7 @@
7509
7509
  "format": "esm"
7510
7510
  },
7511
7511
  "../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js": {
7512
- "bytes": 9129,
7512
+ "bytes": 9894,
7513
7513
  "imports": [
7514
7514
  {
7515
7515
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -8844,7 +8844,7 @@
8844
8844
  "format": "esm"
8845
8845
  },
8846
8846
  "../protos/dist/types/devvit/events/v1alpha/events.js": {
8847
- "bytes": 83587,
8847
+ "bytes": 83623,
8848
8848
  "imports": [
8849
8849
  {
8850
8850
  "path": "../../node_modules/protobufjs/minimal.js",
@@ -14026,7 +14026,7 @@
14026
14026
  "bytesInOutput": 10006
14027
14027
  },
14028
14028
  "../protos/dist/types/devvit/ui/effects/v1alpha/create_order.js": {
14029
- "bytesInOutput": 8284
14029
+ "bytesInOutput": 8937
14030
14030
  },
14031
14031
  "../protos/dist/types/devvit/ui/effects/v1alpha/interval.js": {
14032
14032
  "bytesInOutput": 7321
@@ -14194,7 +14194,7 @@
14194
14194
  "bytesInOutput": 19429
14195
14195
  },
14196
14196
  "../protos/dist/types/devvit/events/v1alpha/events.js": {
14197
- "bytesInOutput": 75200
14197
+ "bytesInOutput": 75236
14198
14198
  },
14199
14199
  "../protos/dist/types/devvit/dev_portal/installation/installation.js": {
14200
14200
  "bytesInOutput": 68300
@@ -14644,7 +14644,7 @@
14644
14644
  "bytesInOutput": 4358
14645
14645
  }
14646
14646
  },
14647
- "bytes": 15180729
14647
+ "bytes": 15183082
14648
14648
  }
14649
14649
  }
14650
14650
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.0-next-2024-07-23-33f5f2eff.0",
3
+ "version": "0.11.0-next-2024-07-23-81c7fb8e2.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-23-33f5f2eff.0",
34
- "@devvit/shared-types": "0.11.0-next-2024-07-23-33f5f2eff.0",
33
+ "@devvit/protos": "0.11.0-next-2024-07-23-81c7fb8e2.0",
34
+ "@devvit/shared-types": "0.11.0-next-2024-07-23-81c7fb8e2.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-23-33f5f2eff.0",
43
- "@devvit/repo-tools": "0.11.0-next-2024-07-23-33f5f2eff.0",
44
- "@devvit/tsconfig": "0.11.0-next-2024-07-23-33f5f2eff.0",
42
+ "@devvit/eslint-config": "0.11.0-next-2024-07-23-81c7fb8e2.0",
43
+ "@devvit/repo-tools": "0.11.0-next-2024-07-23-81c7fb8e2.0",
44
+ "@devvit/tsconfig": "0.11.0-next-2024-07-23-81c7fb8e2.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": "e8f759ad82be4490bcdfac73b4ce3d3944bb1fe1"
67
+ "gitHead": "a5a76530ee4d7bf35e986a8f0b9506c82f345815"
68
68
  }
package/public-api.d.ts CHANGED
@@ -6908,6 +6908,13 @@ declare const CustomPostDefinition: {
6908
6908
  success?: boolean;
6909
6909
  errorMessage?: string | undefined;
6910
6910
  orderId?: string | undefined;
6911
+ order?: {
6912
+ id?: string;
6913
+ skus?: string[];
6914
+ metadata?: {
6915
+ [x: string]: string | undefined;
6916
+ };
6917
+ } | undefined;
6911
6918
  } | undefined;
6912
6919
  toastAction?: {} | undefined;
6913
6920
  userAction?: {
@@ -6991,6 +6998,13 @@ declare const CustomPostDefinition: {
6991
6998
  success?: boolean;
6992
6999
  errorMessage?: string | undefined;
6993
7000
  orderId?: string | undefined;
7001
+ order?: {
7002
+ id?: string;
7003
+ skus?: string[];
7004
+ metadata?: {
7005
+ [x: string]: string | undefined;
7006
+ };
7007
+ } | undefined;
6994
7008
  } | undefined;
6995
7009
  toastAction?: {} | undefined;
6996
7010
  userAction?: {
@@ -7200,6 +7214,13 @@ declare const CustomPostDefinition: {
7200
7214
  success?: boolean;
7201
7215
  errorMessage?: string | undefined;
7202
7216
  orderId?: string | undefined;
7217
+ order?: {
7218
+ id?: string;
7219
+ skus?: string[];
7220
+ metadata?: {
7221
+ [x: string]: string | undefined;
7222
+ };
7223
+ } | undefined;
7203
7224
  } | undefined;
7204
7225
  toastAction?: {} | undefined;
7205
7226
  userAction?: {
@@ -7566,6 +7587,13 @@ declare const CustomPostDefinition: {
7566
7587
  success?: boolean;
7567
7588
  errorMessage?: string | undefined;
7568
7589
  orderId?: string | undefined;
7590
+ order?: {
7591
+ id?: string;
7592
+ skus?: string[];
7593
+ metadata?: {
7594
+ [x: string]: string | undefined;
7595
+ };
7596
+ } | undefined;
7569
7597
  } | undefined;
7570
7598
  toastAction?: {} | undefined;
7571
7599
  userAction?: {
@@ -7826,6 +7854,13 @@ declare const CustomPostDefinition: {
7826
7854
  success?: boolean;
7827
7855
  errorMessage?: string | undefined;
7828
7856
  orderId?: string | undefined;
7857
+ order?: {
7858
+ id?: string;
7859
+ skus?: string[];
7860
+ metadata?: {
7861
+ [x: string]: string | undefined;
7862
+ };
7863
+ } | undefined;
7829
7864
  } | undefined;
7830
7865
  toastAction?: {} | undefined;
7831
7866
  userAction?: {
@@ -7909,6 +7944,13 @@ declare const CustomPostDefinition: {
7909
7944
  success?: boolean;
7910
7945
  errorMessage?: string | undefined;
7911
7946
  orderId?: string | undefined;
7947
+ order?: {
7948
+ id?: string;
7949
+ skus?: string[];
7950
+ metadata?: {
7951
+ [x: string]: string | undefined;
7952
+ };
7953
+ } | undefined;
7912
7954
  } | undefined;
7913
7955
  toastAction?: {} | undefined;
7914
7956
  userAction?: {
@@ -8118,6 +8160,13 @@ declare const CustomPostDefinition: {
8118
8160
  success?: boolean;
8119
8161
  errorMessage?: string | undefined;
8120
8162
  orderId?: string | undefined;
8163
+ order?: {
8164
+ id?: string;
8165
+ skus?: string[];
8166
+ metadata?: {
8167
+ [x: string]: string | undefined;
8168
+ };
8169
+ } | undefined;
8121
8170
  } | undefined;
8122
8171
  toastAction?: {} | undefined;
8123
8172
  userAction?: {
@@ -8484,6 +8533,13 @@ declare const CustomPostDefinition: {
8484
8533
  success?: boolean;
8485
8534
  errorMessage?: string | undefined;
8486
8535
  orderId?: string | undefined;
8536
+ order?: {
8537
+ id?: string;
8538
+ skus?: string[];
8539
+ metadata?: {
8540
+ [x: string]: string | undefined;
8541
+ };
8542
+ } | undefined;
8487
8543
  } | undefined;
8488
8544
  toastAction?: {} | undefined;
8489
8545
  userAction?: {
@@ -38564,7 +38620,7 @@ declare const OnPostSpoilerUpdateDefinition: {
38564
38620
  iconImage?: string;
38565
38621
  description?: string;
38566
38622
  } | undefined;
38567
- isNsfw?: boolean;
38623
+ isSpoiler?: boolean;
38568
38624
  subreddit?: {
38569
38625
  id?: string;
38570
38626
  name?: string;
@@ -38691,7 +38747,7 @@ declare const OnPostSpoilerUpdateDefinition: {
38691
38747
  iconImage?: string;
38692
38748
  description?: string;
38693
38749
  } | undefined;
38694
- isNsfw?: boolean;
38750
+ isSpoiler?: boolean;
38695
38751
  subreddit?: {
38696
38752
  id?: string;
38697
38753
  name?: string;
@@ -39452,6 +39508,8 @@ declare interface OrderResultEvent {
39452
39508
  errorMessage?: string | undefined;
39453
39509
  /** If success is true, the order ID for the app to use to verify the purchase */
39454
39510
  orderId?: string | undefined;
39511
+ /** The original request */
39512
+ order?: CreateOrderEffect | undefined;
39455
39513
  }
39456
39514
 
39457
39515
  declare const OrderResultEvent: {
@@ -40967,7 +41025,7 @@ export declare type PostSpoilerUpdate = 'PostSpoilerUpdate';
40967
41025
  declare interface PostSpoilerUpdate_2 {
40968
41026
  post?: PostV2 | undefined;
40969
41027
  author?: UserV2 | undefined;
40970
- isNsfw: boolean;
41028
+ isSpoiler: boolean;
40971
41029
  subreddit?: SubredditV2 | undefined;
40972
41030
  }
40973
41031
 
@@ -59652,7 +59710,7 @@ declare const TriggersDefinition: {
59652
59710
  iconImage?: string;
59653
59711
  description?: string;
59654
59712
  } | undefined;
59655
- isNsfw?: boolean;
59713
+ isSpoiler?: boolean;
59656
59714
  subreddit?: {
59657
59715
  id?: string;
59658
59716
  name?: string;
@@ -61855,7 +61913,7 @@ declare const TriggersDefinition: {
61855
61913
  iconImage?: string;
61856
61914
  description?: string;
61857
61915
  } | undefined;
61858
- isNsfw?: boolean;
61916
+ isSpoiler?: boolean;
61859
61917
  subreddit?: {
61860
61918
  id?: string;
61861
61919
  name?: string;
@@ -64080,7 +64138,7 @@ declare const TriggersDefinition: {
64080
64138
  iconImage?: string;
64081
64139
  description?: string;
64082
64140
  } | undefined;
64083
- isNsfw?: boolean;
64141
+ isSpoiler?: boolean;
64084
64142
  subreddit?: {
64085
64143
  id?: string;
64086
64144
  name?: string;
@@ -66283,7 +66341,7 @@ declare const TriggersDefinition: {
66283
66341
  iconImage?: string;
66284
66342
  description?: string;
66285
66343
  } | undefined;
66286
- isNsfw?: boolean;
66344
+ isSpoiler?: boolean;
66287
66345
  subreddit?: {
66288
66346
  id?: string;
66289
66347
  name?: string;