@devvit/public-api 0.11.17-next-2025-06-04-3936ca7b8.0 → 0.11.17-next-2025-06-05-43928117e.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/package.json +7 -7
- package/public-api.d.ts +34 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/public-api",
|
|
3
|
-
"version": "0.11.17-next-2025-06-
|
|
3
|
+
"version": "0.11.17-next-2025-06-05-43928117e.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@devvit/metrics": "0.11.17-next-2025-06-
|
|
34
|
-
"@devvit/protos": "0.11.17-next-2025-06-
|
|
35
|
-
"@devvit/shared-types": "0.11.17-next-2025-06-
|
|
33
|
+
"@devvit/metrics": "0.11.17-next-2025-06-05-43928117e.0",
|
|
34
|
+
"@devvit/protos": "0.11.17-next-2025-06-05-43928117e.0",
|
|
35
|
+
"@devvit/shared-types": "0.11.17-next-2025-06-05-43928117e.0",
|
|
36
36
|
"base64-js": "1.5.1",
|
|
37
37
|
"clone-deep": "4.0.1",
|
|
38
38
|
"moderndash": "4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@ampproject/filesize": "4.3.0",
|
|
42
|
-
"@devvit/repo-tools": "0.11.17-next-2025-06-
|
|
43
|
-
"@devvit/tsconfig": "0.11.17-next-2025-06-
|
|
42
|
+
"@devvit/repo-tools": "0.11.17-next-2025-06-05-43928117e.0",
|
|
43
|
+
"@devvit/tsconfig": "0.11.17-next-2025-06-05-43928117e.0",
|
|
44
44
|
"@microsoft/api-extractor": "7.41.0",
|
|
45
45
|
"@reddit/faceplate-ui": "18.0.1",
|
|
46
46
|
"@types/clone-deep": "4.0.1",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"source": "./src/index.ts",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "8ab4f9b8f0503c1e9d5d24bf6b20ea383a27d5e5"
|
|
65
65
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -13488,6 +13488,12 @@ declare interface LinkedBundle {
|
|
|
13488
13488
|
products: {
|
|
13489
13489
|
[key: string]: string;
|
|
13490
13490
|
};
|
|
13491
|
+
/**
|
|
13492
|
+
* Standalone server implementation, without Blocks rendering or "Devvit Classic".
|
|
13493
|
+
* If provided, this code is expected to be an entry point for an HTTP server that can
|
|
13494
|
+
* handle requests at process.env.WEBBIT_PORT.
|
|
13495
|
+
*/
|
|
13496
|
+
server?: ServerBundle | undefined;
|
|
13491
13497
|
}
|
|
13492
13498
|
|
|
13493
13499
|
declare const LinkedBundle: {
|
|
@@ -42429,6 +42435,33 @@ declare const SerializableServiceDefinition: {
|
|
|
42429
42435
|
fromPartial(object: DeepPartial_13<SerializableServiceDefinition>): SerializableServiceDefinition;
|
|
42430
42436
|
};
|
|
42431
42437
|
|
|
42438
|
+
/**
|
|
42439
|
+
* This represents a standalone server implementation that starts an HTTP server
|
|
42440
|
+
* to execute on Devvit's compute platform.
|
|
42441
|
+
*/
|
|
42442
|
+
declare interface ServerBundle {
|
|
42443
|
+
/**
|
|
42444
|
+
* A compiled bundle of code to be executed as-is. Listening on the server port
|
|
42445
|
+
* for HTTP requests should occur through side effects of evaluating this code.
|
|
42446
|
+
*/
|
|
42447
|
+
code: string;
|
|
42448
|
+
/**
|
|
42449
|
+
* Source map accompanying |code|, used for better stack traces when erorrs occur.
|
|
42450
|
+
* Not required. For specification, see: https://tc39.es/ecma426/
|
|
42451
|
+
*/
|
|
42452
|
+
sourceMap: string;
|
|
42453
|
+
}
|
|
42454
|
+
|
|
42455
|
+
declare const ServerBundle: {
|
|
42456
|
+
$type: "devvit.runtime.ServerBundle";
|
|
42457
|
+
encode(message: ServerBundle, writer?: _m0.Writer): _m0.Writer;
|
|
42458
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ServerBundle;
|
|
42459
|
+
fromJSON(object: any): ServerBundle;
|
|
42460
|
+
toJSON(message: ServerBundle): unknown;
|
|
42461
|
+
create(base?: DeepPartial_15<ServerBundle>): ServerBundle;
|
|
42462
|
+
fromPartial(object: DeepPartial_15<ServerBundle>): ServerBundle;
|
|
42463
|
+
};
|
|
42464
|
+
|
|
42432
42465
|
declare interface SetContestModeRequest {
|
|
42433
42466
|
/**
|
|
42434
42467
|
* Post thing ID
|
|
@@ -49529,8 +49562,8 @@ declare interface TableRowContext extends TableCellContainer<TableRowContext> {
|
|
|
49529
49562
|
}
|
|
49530
49563
|
|
|
49531
49564
|
declare enum TargetRuntime {
|
|
49565
|
+
/** UNIVERSAL - Server-only as of 2025-06-04 or so. */
|
|
49532
49566
|
UNIVERSAL = 0,
|
|
49533
|
-
/** CLIENT - SERVER = 2; */
|
|
49534
49567
|
CLIENT = 1,
|
|
49535
49568
|
UNRECOGNIZED = -1
|
|
49536
49569
|
}
|