@devvit/public-api 0.10.19-next-2024-04-17-8396cbaff.0 → 0.10.19-next-2024-04-17-68133da90.0

Sign up to get free protection for your applications and to get access to all the features.
package/meta.json CHANGED
@@ -12588,7 +12588,7 @@
12588
12588
  "format": "esm"
12589
12589
  },
12590
12590
  "src/types/media.ts": {
12591
- "bytes": 953,
12591
+ "bytes": 972,
12592
12592
  "imports": [],
12593
12593
  "format": "esm"
12594
12594
  },
package/meta.min.json CHANGED
@@ -2450,7 +2450,7 @@
2450
2450
  "format": "esm"
2451
2451
  },
2452
2452
  "src/types/media.ts": {
2453
- "bytes": 953,
2453
+ "bytes": 972,
2454
2454
  "imports": [],
2455
2455
  "format": "esm"
2456
2456
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.10.19-next-2024-04-17-8396cbaff.0",
3
+ "version": "0.10.19-next-2024-04-17-68133da90.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "types": "./index.d.ts",
31
31
  "dependencies": {
32
- "@devvit/protos": "0.10.19-next-2024-04-17-8396cbaff.0",
33
- "@devvit/runtimes": "0.10.19-next-2024-04-17-8396cbaff.0",
34
- "@devvit/shared-types": "0.10.19-next-2024-04-17-8396cbaff.0",
32
+ "@devvit/protos": "0.10.19-next-2024-04-17-68133da90.0",
33
+ "@devvit/runtimes": "0.10.19-next-2024-04-17-68133da90.0",
34
+ "@devvit/shared-types": "0.10.19-next-2024-04-17-68133da90.0",
35
35
  "base64-js": "1.5.1",
36
36
  "clone-deep": "4.0.1",
37
37
  "core-js": "3.27.2",
@@ -41,7 +41,7 @@
41
41
  "@ampproject/filesize": "4.3.0",
42
42
  "@devvit/eslint-config": "0.10.18",
43
43
  "@devvit/repo-tools": "0.10.18",
44
- "@devvit/tsconfig": "0.10.19-next-2024-04-17-8396cbaff.0",
44
+ "@devvit/tsconfig": "0.10.19-next-2024-04-17-68133da90.0",
45
45
  "@microsoft/api-extractor": "7.41.0",
46
46
  "@reddit/faceplate-ui": "11.1.0",
47
47
  "@types/clone-deep": "4.0.1",
@@ -63,5 +63,5 @@
63
63
  }
64
64
  },
65
65
  "source": "./src/index.ts",
66
- "gitHead": "c414c6908cf77ecd5b472bc9bdde75f493bc4f3d"
66
+ "gitHead": "6d2a907b81009d585529805035fb492d3a047fc8"
67
67
  }
package/public-api.d.ts CHANGED
@@ -5585,7 +5585,7 @@ export declare type UpdateWikiPageOptions = {
5585
5585
 
5586
5586
  export declare type UploadMediaOptions = {
5587
5587
  url: string;
5588
- type: string;
5588
+ type: 'image' | 'gif' | 'video';
5589
5589
  };
5590
5590
 
5591
5591
  declare type UrlString = string;
package/types/media.d.ts CHANGED
@@ -4,7 +4,7 @@ export type MediaAsset = {
4
4
  };
5
5
  export type UploadMediaOptions = {
6
6
  url: string;
7
- type: string;
7
+ type: 'image' | 'gif' | 'video';
8
8
  };
9
9
  export type MediaPlugin = {
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/types/media.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACvD,CAAC"}
1
+ {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/types/media.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,GAAG,KAAK,GAAG,OAAO,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACvD,CAAC"}