Support the full set of chat space types

The PRD calls for company, division, department, project, pod and ad-hoc
spaces, but only company, department, project and direct were accepted. Add
division, pod and ad_hoc to the command contract, the service whitelist and the
new-space dialog. The space_type column is free text, so no migration is
needed.
This commit is contained in:
ZacharyZhang-NY committed 2026-05-28 19:47:16 -04:00
1 parent 43e1626f77
commit b4056502ec
3 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ export interface DeleteMessageInput {
export interface CreateChatSpaceInput {
orgId: string;
spaceType: "company" | "department" | "project" | "direct";
spaceType: "company" | "division" | "department" | "project" | "pod" | "ad_hoc" | "direct";
name: string;
topic: string;
visibility: "workspace" | "restricted";