@devvit/runtimes 0.11.0-next-2024-07-03-1379924de.0 → 0.11.0-next-2024-07-03-3e3a7490a.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-03-1379924de.0",
3
+ "version": "0.11.0-next-2024-07-03-3e3a7490a.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-03-1379924de.0",
30
- "@devvit/shared-types": "0.11.0-next-2024-07-03-1379924de.0",
31
- "@devvit/web-worker": "0.11.0-next-2024-07-03-1379924de.0",
29
+ "@devvit/protos": "0.11.0-next-2024-07-03-3e3a7490a.0",
30
+ "@devvit/shared-types": "0.11.0-next-2024-07-03-3e3a7490a.0",
31
+ "@devvit/web-worker": "0.11.0-next-2024-07-03-3e3a7490a.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-03-1379924de.0",
43
- "@devvit/repo-tools": "0.11.0-next-2024-07-03-1379924de.0",
44
- "@devvit/tsconfig": "0.11.0-next-2024-07-03-1379924de.0",
42
+ "@devvit/eslint-config": "0.11.0-next-2024-07-03-3e3a7490a.0",
43
+ "@devvit/repo-tools": "0.11.0-next-2024-07-03-3e3a7490a.0",
44
+ "@devvit/tsconfig": "0.11.0-next-2024-07-03-3e3a7490a.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": "76d1f7867a729f739eceecffbd97863e4aeea854"
58
+ "gitHead": "3027c735826e24a5da86076c6a8a9ea73b639749"
59
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"runAsUser.d.ts","sourceRoot":"","sources":["../../../src/plugins/utils/runAsUser.ts"],"names":[],"mappings":"AA4CA,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAE5E"}
1
+ {"version":3,"file":"runAsUser.d.ts","sourceRoot":"","sources":["../../../src/plugins/utils/runAsUser.ts"],"names":[],"mappings":"AAgDA,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAE5E"}
@@ -36,6 +36,10 @@ const permissions = {
36
36
  'title-tweaker': {
37
37
  Submit: true,
38
38
  },
39
+ 'modqueue-nuke': {
40
+ Approve: true,
41
+ Remove: true,
42
+ },
39
43
  };
40
44
  export function shouldRunAsUser(appName, methodName) {
41
45
  return Boolean(permissions[appName]?.[methodName]);
@@ -110674,6 +110674,10 @@ var permissions = {
110674
110674
  },
110675
110675
  "title-tweaker": {
110676
110676
  Submit: true
110677
+ },
110678
+ "modqueue-nuke": {
110679
+ Approve: true,
110680
+ Remove: true
110677
110681
  }
110678
110682
  };
110679
110683
  function shouldRunAsUser(appName, methodName) {