Changeset View
Changeset View
Standalone View
Standalone View
lib/types/thread-types.js
Show First 20 Lines • Show All 453 Lines • ▼ Show 20 Lines | export type ThreadChanges = Shape<{ | ||||
+parentThreadID: ?string, | +parentThreadID: ?string, | ||||
+newMemberIDs: $ReadOnlyArray<string>, | +newMemberIDs: $ReadOnlyArray<string>, | ||||
+avatar: UpdateUserAvatarRequest, | +avatar: UpdateUserAvatarRequest, | ||||
}>; | }>; | ||||
export type UpdateThreadRequest = { | export type UpdateThreadRequest = { | ||||
+threadID: string, | +threadID: string, | ||||
+changes: ThreadChanges, | +changes: ThreadChanges, | ||||
+accountPassword?: empty, | |||||
}; | }; | ||||
export type BaseNewThreadRequest = { | export type BaseNewThreadRequest = { | ||||
+id?: ?string, | +id?: ?string, | ||||
+name?: ?string, | +name?: ?string, | ||||
+description?: ?string, | +description?: ?string, | ||||
+color?: ?string, | +color?: ?string, | ||||
+parentThreadID?: ?string, | +parentThreadID?: ?string, | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |