Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3375258
D9591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9591.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D9591: [native] introduce addKeyserverActionType
Attached
Detach File
Event Timeline
Log In to Comment