fix(housekeeping): serialize workspace client props
This commit is contained in:
1 parent
8a31556d51
commit
cb77b2d3b9
7 files changed
+59
-15
No files matched your search
@@ -4,10 +4,10 @@ import { PERMS } from "@/lib/permission-slugs";
|
||||
import {
|
||||
anyCapability,
|
||||
type HousekeepingRouteDefinition,
|
||||
type HousekeepingWidgetDefinition,
|
||||
ok,
|
||||
} from "../../../foundation/contracts";
|
||||
import { defaultHousekeepingPreferences } from "../../../foundation/preferences/schema";
|
||||
import type { OperationsWidgetOption } from "../personalization-model";
|
||||
import type { OperationsWorkspaceLoadResult } from "../queries";
|
||||
import { OperationsWorkspacePage } from "./workspace";
|
||||
|
||||
@@ -20,13 +20,10 @@ const routes: readonly HousekeepingRouteDefinition[] = [
|
||||
capability,
|
||||
},
|
||||
];
|
||||
const widgets: readonly HousekeepingWidgetDefinition[] = [
|
||||
const widgets: readonly OperationsWidgetOption[] = [
|
||||
{
|
||||
id: "people.queue",
|
||||
owner: "people",
|
||||
capability,
|
||||
kind: "mandatory",
|
||||
load: async () => ok({}, "widget"),
|
||||
},
|
||||
];
|
||||
const preferences = {
|
||||
|
||||
Reference in new issue
Block a user