@devvit/runtimes 0.11.0-next-2024-07-24-34983954c.0 → 0.11.0-next-2024-07-24-f87f4c351.0
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@devvit/runtimes",
|
3
|
-
"version": "0.11.0-next-2024-07-24-
|
3
|
+
"version": "0.11.0-next-2024-07-24-f87f4c351.0",
|
4
4
|
"license": "BSD-3-Clause",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -26,9 +26,9 @@
|
|
26
26
|
},
|
27
27
|
"types": "./index.d.ts",
|
28
28
|
"dependencies": {
|
29
|
-
"@devvit/protos": "0.11.0-next-2024-07-24-
|
30
|
-
"@devvit/shared-types": "0.11.0-next-2024-07-24-
|
31
|
-
"@devvit/web-worker": "0.11.0-next-2024-07-24-
|
29
|
+
"@devvit/protos": "0.11.0-next-2024-07-24-f87f4c351.0",
|
30
|
+
"@devvit/shared-types": "0.11.0-next-2024-07-24-f87f4c351.0",
|
31
|
+
"@devvit/web-worker": "0.11.0-next-2024-07-24-f87f4c351.0",
|
32
32
|
"base64-js": "1.5.1",
|
33
33
|
"buffer": "6.0.3",
|
34
34
|
"cron-parser": "4.7.1",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
"uuid": "9.0.0"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@devvit/eslint-config": "0.11.0-next-2024-07-24-
|
43
|
-
"@devvit/repo-tools": "0.11.0-next-2024-07-24-
|
44
|
-
"@devvit/tsconfig": "0.11.0-next-2024-07-24-
|
42
|
+
"@devvit/eslint-config": "0.11.0-next-2024-07-24-f87f4c351.0",
|
43
|
+
"@devvit/repo-tools": "0.11.0-next-2024-07-24-f87f4c351.0",
|
44
|
+
"@devvit/tsconfig": "0.11.0-next-2024-07-24-f87f4c351.0",
|
45
45
|
"@types/node-localstorage": "1.3.0",
|
46
46
|
"@types/uuid": "9.0.0",
|
47
47
|
"concurrently": "7.5.0",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"directory": "dist"
|
56
56
|
},
|
57
57
|
"source": "./src/index.ts",
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "a875e64e71dcd6c166132c6bb8293ba75fdd7beb"
|
59
59
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runAsUser.d.ts","sourceRoot":"","sources":["../../../src/plugins/utils/runAsUser.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"runAsUser.d.ts","sourceRoot":"","sources":["../../../src/plugins/utils/runAsUser.ts"],"names":[],"mappings":"AAoEA,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAE5E"}
|
@@ -41,14 +41,24 @@ const permissions = {
|
|
41
41
|
Remove: true,
|
42
42
|
},
|
43
43
|
'spot-comments': {
|
44
|
-
|
44
|
+
Submit: true,
|
45
45
|
Comment: true,
|
46
46
|
},
|
47
47
|
'daily-thread': {
|
48
|
-
|
48
|
+
Submit: true,
|
49
49
|
},
|
50
50
|
'fundraisers-app': {
|
51
|
-
|
51
|
+
Submit: true,
|
52
|
+
},
|
53
|
+
banhammerapp: {
|
54
|
+
Remove: true,
|
55
|
+
TempBan: true,
|
56
|
+
Unban: true,
|
57
|
+
DeleteNotes: true,
|
58
|
+
GetNotes: true,
|
59
|
+
PostNotes: true,
|
60
|
+
PostRemovalNote: true,
|
61
|
+
RecentNotes: true,
|
52
62
|
},
|
53
63
|
};
|
54
64
|
export function shouldRunAsUser(appName, methodName) {
|
package/worker.redditapi.cjs
CHANGED
@@ -111337,14 +111337,24 @@ var permissions = {
|
|
111337
111337
|
Remove: true
|
111338
111338
|
},
|
111339
111339
|
"spot-comments": {
|
111340
|
-
|
111340
|
+
Submit: true,
|
111341
111341
|
Comment: true
|
111342
111342
|
},
|
111343
111343
|
"daily-thread": {
|
111344
|
-
|
111344
|
+
Submit: true
|
111345
111345
|
},
|
111346
111346
|
"fundraisers-app": {
|
111347
|
-
|
111347
|
+
Submit: true
|
111348
|
+
},
|
111349
|
+
banhammerapp: {
|
111350
|
+
Remove: true,
|
111351
|
+
TempBan: true,
|
111352
|
+
Unban: true,
|
111353
|
+
DeleteNotes: true,
|
111354
|
+
GetNotes: true,
|
111355
|
+
PostNotes: true,
|
111356
|
+
PostRemovalNote: true,
|
111357
|
+
RecentNotes: true
|
111348
111358
|
}
|
111349
111359
|
};
|
111350
111360
|
function shouldRunAsUser(appName, methodName) {
|