Page MenuHomePhabricator

D13074.diff
No OneTemporary

D13074.diff

diff --git a/keyserver/src/updaters/role-updaters.js b/keyserver/src/updaters/role-updaters.js
--- a/keyserver/src/updaters/role-updaters.js
+++ b/keyserver/src/updaters/role-updaters.js
@@ -5,7 +5,7 @@
import { getRolePermissionBlobs } from 'lib/permissions/thread-permissions.js';
import type { ThreadRolePermissionsBlob } from 'lib/types/thread-permission-types.js';
-import type { ThreadType } from 'lib/types/thread-types-enum.js';
+import type { ThinThreadType } from 'lib/types/thread-types-enum.js';
import type { ServerLegacyRoleInfo } from 'lib/types/thread-types.js';
import createIDs from '../creators/id-creator.js';
@@ -16,7 +16,7 @@
async function updateRoles(
viewer: Viewer,
threadID: string,
- threadType: ThreadType,
+ threadType: ThinThreadType,
): Promise<void> {
const currentRoles: $ReadOnlyArray<ServerLegacyRoleInfo> =
await fetchRoles(threadID);
diff --git a/lib/types/thread-types.js b/lib/types/thread-types.js
--- a/lib/types/thread-types.js
+++ b/lib/types/thread-types.js
@@ -32,7 +32,6 @@
type UserSurfacedPermission,
} from './thread-permission-types.js';
import {
- type ThreadType,
type ThinThreadType,
type ThickThreadType,
threadTypeValidator,
@@ -278,7 +277,7 @@
};
export type ThreadChanges = Partial<{
- +type: ThreadType,
+ +type: ThinThreadType,
+name: string,
+description: string,
+color: string,

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 11:13 AM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2204851
Default Alt Text
D13074.diff (1 KB)

Event Timeline