Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32542275
D10209.1767171893.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10209.1767171893.diff
View Options
diff --git a/lib/reducers/integrity-reducer.js b/lib/reducers/integrity-reducer.js
--- a/lib/reducers/integrity-reducer.js
+++ b/lib/reducers/integrity-reducer.js
@@ -11,13 +11,13 @@
import type { IntegrityStore } from '../types/integrity-types';
import type { BaseAction } from '../types/redux-types.js';
import { fullStateSyncActionType } from '../types/socket-types.js';
-import type { LegacyRawThreadInfo } from '../types/thread-types.js';
+import type { RawThreadInfo } from '../types/thread-types.js';
import { hash } from '../utils/objects.js';
function reduceIntegrityStore(
state: IntegrityStore,
action: BaseAction,
- threadInfos: { +[string]: LegacyRawThreadInfo },
+ threadInfos: { +[string]: RawThreadInfo },
threadStoreOperations: $ReadOnlyArray<ThreadStoreOperation>,
): IntegrityStore {
if (
diff --git a/lib/selectors/thread-selectors.js b/lib/selectors/thread-selectors.js
--- a/lib/selectors/thread-selectors.js
+++ b/lib/selectors/thread-selectors.js
@@ -47,11 +47,11 @@
type ThreadType,
} from '../types/thread-types-enum.js';
import {
- type LegacyRawThreadInfo,
type SidebarInfo,
type LegacyRawThreadInfos,
type RelativeMemberInfo,
type ThreadInfo,
+ type RawThreadInfo,
} from '../types/thread-types.js';
import { dateString, dateFromString } from '../utils/date-utils.js';
import { values } from '../utils/objects.js';
@@ -322,7 +322,7 @@
(state: BaseAppState<>) => state.threadStore.threadInfos[threadID],
relativeMemberInfoSelectorForMembersOfThread(threadID),
(
- threadInfo: ?LegacyRawThreadInfo,
+ threadInfo: ?RawThreadInfo,
members: $ReadOnlyArray<RelativeMemberInfo>,
): boolean => {
if (!threadInfo) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 31, 9:04 AM (3 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5872876
Default Alt Text
D10209.1767171893.diff (1 KB)
Attached To
Mode
D10209: [lib] Remove simple usages of `LegacyRawThreadInfo`
Attached
Detach File
Event Timeline
Log In to Comment