mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
Restore installed app config typing
Co-Authored-By: madison@stack-auth.com <madison.w.kennedy@gmail.com>
This commit is contained in:
parent
99da207c46
commit
c249153061
@ -19,6 +19,7 @@ test("agent-auth stays explicitly enableable", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(defaults.apps.installed["agent-auth"].enabled).toBe(true);
|
||||
expect(defaults.apps.installed["agent-auth"]).toBeDefined();
|
||||
expect(defaults.apps.installed["agent-auth"]?.enabled).toBe(true);
|
||||
expect(ALL_APPS["agent-auth"].independentlyEnableable).toBe(true);
|
||||
});
|
||||
|
||||
@ -752,7 +752,7 @@ const organizationConfigDefaults = {
|
||||
},
|
||||
|
||||
apps: {
|
||||
installed: typedFromEntries(installedAppIdsByDefault.map((appId) => [appId, { enabled: false }])),
|
||||
installed: typedFromEntries(installedAppIdsByDefault.map((appId) => [appId, { enabled: false }])) as Record<string, { enabled: boolean } | undefined>,
|
||||
},
|
||||
|
||||
teams: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user