@devvit/build-pack 0.11.18-next-2025-06-26-16-57-57-753b2eaee.0 → 0.11.18-next-2025-06-26-23-25-28-1986faeb3.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependency-spec-util.d.ts","sourceRoot":"","sources":["../../src/esbuild/dependency-spec-util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dependency-spec-util.d.ts","sourceRoot":"","sources":["../../src/esbuild/dependency-spec-util.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAK7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAEhF;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,EAC9B,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,EACzC,SAAS,EAAE,QAAQ,CAAC,SAAS,CAAC,GAC7B,cAAc,CAgFhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContextActionDefinition, CustomPostDefinition, Definition, FlairDefinition, GraphQLDefinition, HTTPDefinition, LinksAndCommentsDefinition, ListingsDefinition, MediaServiceDefinition, ModerationDefinition, ModlogDefinition, ModNoteDefinition, NewModmailDefinition, OnAppInstallDefinition, PrivateMessagesDefinition, RealtimeDefinition, RedisAPIDefinition, SubredditsDefinition, UIEventHandlerDefinition, UserActionsDefinition, UsersDefinition, WidgetsDefinition, WikiDefinition, } from '@devvit/protos';
|
|
1
|
+
import { AppSettingsDefinition, ContextActionDefinition, CustomPostDefinition, Definition, FlairDefinition, GraphQLDefinition, HTTPDefinition, InstallationSettingsDefinition, LinksAndCommentsDefinition, ListingsDefinition, MediaServiceDefinition, ModerationDefinition, ModlogDefinition, ModNoteDefinition, NewModmailDefinition, OnAppInstallDefinition, PrivateMessagesDefinition, RealtimeDefinition, RedisAPIDefinition, SettingsDefinition, SubredditsDefinition, UIEventHandlerDefinition, UserActionsDefinition, UsersDefinition, WidgetsDefinition, WikiDefinition, } from '@devvit/protos';
|
|
2
2
|
import { PaymentProcessorDefinition, PaymentsServiceDefinition } from '@devvit/protos/payments.js';
|
|
3
3
|
import { WebbitServerDefinition } from '@devvit/protos/types/devvit/actor/webbit/webbit.js';
|
|
4
4
|
import { normalizeDomains } from '@devvit/shared-types/fetch-domains.js';
|
|
@@ -41,17 +41,18 @@ export function createDependencySpec(actorSpec, config, namespace) {
|
|
|
41
41
|
use(spec, RedisAPIDefinition);
|
|
42
42
|
if (config.post) {
|
|
43
43
|
provide(spec, CustomPostDefinition, UIEventHandlerDefinition);
|
|
44
|
-
if (config.post.create.menu.enable || config.blocks?.menu.enable)
|
|
45
|
-
provide(spec, ContextActionDefinition);
|
|
46
44
|
if (config.post.create.onInstall)
|
|
47
45
|
provide(spec, OnAppInstallDefinition);
|
|
48
46
|
}
|
|
49
47
|
if (config.server)
|
|
50
48
|
provide(spec, WebbitServerDefinition);
|
|
51
|
-
if (
|
|
49
|
+
if (config.permissions.menu)
|
|
52
50
|
provide(spec, ContextActionDefinition);
|
|
51
|
+
if (config.permissions.settings) {
|
|
52
|
+
use(spec, SettingsDefinition);
|
|
53
|
+
provide(spec, AppSettingsDefinition, InstallationSettingsDefinition);
|
|
54
|
+
}
|
|
53
55
|
// to-do: when scheduler, SchedulerDefinition / SchedulerHandlerDefinition.
|
|
54
|
-
// to-do: when settings, SettingsDefinition / AppSettingsDefinition / InstallationSettingsDefinition.
|
|
55
56
|
// to-do: when form, UIEventHandlerDefinition.
|
|
56
57
|
// to-do: when triggers:
|
|
57
58
|
// OnAppInstallDefinition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devvit/build-pack",
|
|
3
|
-
"version": "0.11.18-next-2025-06-26-
|
|
3
|
+
"version": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
4
4
|
"license": "BSD-3-Clause",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"types": "./index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@devvit/protos": "0.11.18-next-2025-06-26-
|
|
27
|
-
"@devvit/shared-types": "0.11.18-next-2025-06-26-
|
|
26
|
+
"@devvit/protos": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
27
|
+
"@devvit/shared-types": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
28
28
|
"esbuild": "0.23.0",
|
|
29
29
|
"rxjs": "7.8.1",
|
|
30
30
|
"tsv": "0.2.0",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@devvit/server": "*"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@devvit/public-api": "0.11.18-next-2025-06-26-
|
|
39
|
-
"@devvit/repo-tools": "0.11.18-next-2025-06-26-
|
|
40
|
-
"@devvit/server": "0.11.18-next-2025-06-26-
|
|
41
|
-
"@devvit/tsconfig": "0.11.18-next-2025-06-26-
|
|
38
|
+
"@devvit/public-api": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
39
|
+
"@devvit/repo-tools": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
40
|
+
"@devvit/server": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
41
|
+
"@devvit/tsconfig": "0.11.18-next-2025-06-26-23-25-28-1986faeb3.0",
|
|
42
42
|
"@types/tsv": "0.2.1",
|
|
43
43
|
"eslint": "9.11.1",
|
|
44
44
|
"vitest": "1.6.1"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"directory": "dist"
|
|
48
48
|
},
|
|
49
49
|
"source": "./src/index.ts",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "f6c943e15d76bd4136f13086b28dca78a2e1ce3b"
|
|
51
51
|
}
|