Page MenuHomePhabricator

D9591.diff
No OneTemporary

D9591.diff

diff --git a/lib/actions/keyserver-actions.js b/lib/actions/keyserver-actions.js
new file mode 100644
--- /dev/null
+++ b/lib/actions/keyserver-actions.js
@@ -0,0 +1,5 @@
+// @flow
+
+const addKeyserverActionType = 'ADD_KEYSERVER';
+
+export { addKeyserverActionType };
diff --git a/lib/types/keyserver-types.js b/lib/types/keyserver-types.js
--- a/lib/types/keyserver-types.js
+++ b/lib/types/keyserver-types.js
@@ -27,6 +27,11 @@
+keyserverInfo: KeyserverInfo,
};
+export type AddKeyserverPayload = {
+ +keyserverAdminUserID: string,
+ +newKeyserverInfo: KeyserverInfo,
+};
+
export const keyserverInfoValidator: TInterface<KeyserverInfo> =
tShape<KeyserverInfo>({
cookie: t.maybe(t.String),
diff --git a/lib/types/redux-types.js b/lib/types/redux-types.js
--- a/lib/types/redux-types.js
+++ b/lib/types/redux-types.js
@@ -39,7 +39,7 @@
SetCalendarDeletedFilterPayload,
} from './filter-types.js';
import type { IntegrityStore } from './integrity-types.js';
-import type { KeyserverStore } from './keyserver-types.js';
+import type { KeyserverStore, AddKeyserverPayload } from './keyserver-types.js';
import type { LifecycleState } from './lifecycle-state-types.js';
import type {
FetchInviteLinksResponse,
@@ -1229,6 +1229,10 @@
| {
+type: 'UPDATE_THEME_INFO',
+payload: Shape<GlobalThemeInfo>,
+ }
+ | {
+ +type: 'ADD_KEYSERVER',
+ +payload: AddKeyserverPayload,
};
export type ActionPayload = ?(Object | Array<*> | $ReadOnlyArray<*> | string);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 7:18 PM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2591430
Default Alt Text
D9591.diff (1 KB)

Event Timeline