diff --git a/lib/types/thread-types-enum.js b/lib/types/thread-types-enum.js --- a/lib/types/thread-types-enum.js +++ b/lib/types/thread-types-enum.js @@ -6,7 +6,7 @@ import { values } from '../utils/objects.js'; import { tNumEnum } from '../utils/validation-utils.js'; -export const threadTypes = Object.freeze({ +export const thinThreadTypes = Object.freeze({ //OPEN: 0, (DEPRECATED) //CLOSED: 1, (DEPRECATED) //SECRET: 2, (DEPRECATED) @@ -38,7 +38,14 @@ // like COMMUNITY_SECRET_ANNOUNCEMENT_SUBTHREAD, but you can't leave GENESIS: 12, }); -export type ThreadType = $Values; +export type ThinThreadType = $Values; + +export type ThreadType = ThinThreadType; + +export const threadTypes = Object.freeze({ + ...thinThreadTypes, +}); + export function assertThreadType(threadType: number): ThreadType { invariant( threadType === 3 ||