@devvit/shared-types 0.12.2-next-2025-10-21-21-55-49-945ca7b05.0 → 0.12.2-next-2025-10-21-23-00-11-524cf6f22.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.
|
@@ -14,15 +14,5 @@ export type Context = BaseContext & {
|
|
|
14
14
|
* The ID of the current post.
|
|
15
15
|
*/
|
|
16
16
|
postId: T3;
|
|
17
|
-
/**
|
|
18
|
-
* The current user's snoovtar URL if logged in.
|
|
19
|
-
* @experimental
|
|
20
|
-
*/
|
|
21
|
-
snoovatar: string | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* The current user's handle if logged in.
|
|
24
|
-
* @experimental
|
|
25
|
-
*/
|
|
26
|
-
username: string | undefined;
|
|
27
17
|
};
|
|
28
18
|
//# sourceMappingURL=client-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-context.d.ts","sourceRoot":"","sources":["../../src/client/client-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG;IAGlC;;;;OAIG;IACH,YAAY,EAAE,EAAE,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,MAAM,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"client-context.d.ts","sourceRoot":"","sources":["../../src/client/client-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG;IAGlC;;;;OAIG;IACH,YAAY,EAAE,EAAE,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,MAAM,EAAE,EAAE,CAAC;CACZ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/shared-types",
|
|
3
|
-
"version": "0.12.2-next-2025-10-21-
|
|
3
|
+
"version": "0.12.2-next-2025-10-21-23-00-11-524cf6f22.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"types": "./dist/index.d.ts",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@devvit/protos": "0.12.2-next-2025-10-21-
|
|
36
|
+
"@devvit/protos": "0.12.2-next-2025-10-21-23-00-11-524cf6f22.0",
|
|
37
37
|
"jsonschema": "1.4.1",
|
|
38
38
|
"uuid": "9.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@devvit/repo-tools": "0.12.2-next-2025-10-21-
|
|
42
|
-
"@devvit/tsconfig": "0.12.2-next-2025-10-21-
|
|
41
|
+
"@devvit/repo-tools": "0.12.2-next-2025-10-21-23-00-11-524cf6f22.0",
|
|
42
|
+
"@devvit/tsconfig": "0.12.2-next-2025-10-21-23-00-11-524cf6f22.0",
|
|
43
43
|
"@types/redis-mock": "0.17.1",
|
|
44
44
|
"@types/uuid": "9.0.0",
|
|
45
45
|
"chokidar-cli": "3.0.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"vitest": "1.6.1"
|
|
52
52
|
},
|
|
53
53
|
"source": "./src/index.ts",
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "76b5b50a295e99a1cce24fd1b57adc8749dde617"
|
|
55
55
|
}
|
package/shared/baseContext.d.ts
CHANGED
|
@@ -20,5 +20,15 @@ export type BaseContext = {
|
|
|
20
20
|
* If there is no post data specified, the value is undefined.
|
|
21
21
|
*/
|
|
22
22
|
postData: PostData | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The current user's snoovtar URL if logged in.
|
|
25
|
+
* @experimental
|
|
26
|
+
*/
|
|
27
|
+
snoovatar: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The current user's handle if logged in.
|
|
30
|
+
* @experimental
|
|
31
|
+
*/
|
|
32
|
+
username: string | undefined;
|
|
23
33
|
};
|
|
24
34
|
//# sourceMappingURL=baseContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseContext.d.ts","sourceRoot":"","sources":["../../src/shared/baseContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE5C,wCAAwC;AACxC,MAAM,MAAM,WAAW,GAAG;IACxB,uCAAuC;IACvC,WAAW,EAAE,EAAE,CAAC;IAChB,yCAAyC;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,MAAM,EAAE,EAAE,GAAG,SAAS,CAAC;IACvB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,MAAM,EAAE,EAAE,GAAG,SAAS,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"baseContext.d.ts","sourceRoot":"","sources":["../../src/shared/baseContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAE5C,wCAAwC;AACxC,MAAM,MAAM,WAAW,GAAG;IACxB,uCAAuC;IACvC,WAAW,EAAE,EAAE,C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