Page MenuHomePhorge

D5107.1765031646.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D5107.1765031646.diff

diff --git a/keyserver/src/scripts/add-edit-thread-detailed-permissions.js b/keyserver/src/scripts/add-edit-thread-detailed-permissions.js
--- a/keyserver/src/scripts/add-edit-thread-detailed-permissions.js
+++ b/keyserver/src/scripts/add-edit-thread-detailed-permissions.js
@@ -1,4 +1,5 @@
// @flow
+
import bots from 'lib/facts/bots';
import { assertThreadType } from 'lib/types/thread-types';
diff --git a/lib/facts/ashoat.js b/lib/facts/ashoat.js
--- a/lib/facts/ashoat.js
+++ b/lib/facts/ashoat.js
@@ -1,9 +1,10 @@
// @flow
-type Ashoat = {
+
+type Ashoat = $ReadOnly<{
id: string,
email: string,
landing_email: string,
-};
+}>;
const ashoat: Ashoat = {
id: '256',
diff --git a/lib/facts/bots.js b/lib/facts/bots.js
--- a/lib/facts/bots.js
+++ b/lib/facts/bots.js
@@ -1,7 +1,11 @@
// @flow
-type Bots = {
- commbot: any,
-};
+
+type Bots = $ReadOnly<{
+ commbot: $ReadOnly<{
+ userID: string,
+ staffThreadID: string,
+ }>,
+}>;
const bots: Bots = {
commbot: {
diff --git a/lib/facts/genesis.js b/lib/facts/genesis.js
--- a/lib/facts/genesis.js
+++ b/lib/facts/genesis.js
@@ -1,10 +1,11 @@
// @flow
-type Genesis = {
+
+type Genesis = $ReadOnly<{
id: string,
name: string,
description: string,
- introMessages: string[],
-};
+ introMessages: $ReadOnlyArray<string>,
+}>;
const genesis: Genesis = {
id: '1',
diff --git a/lib/facts/staff.js b/lib/facts/staff.js
--- a/lib/facts/staff.js
+++ b/lib/facts/staff.js
@@ -1,27 +1,28 @@
// @flow
+
const staff: string[] = [
- "256",
- "518252",
- "379341",
- "546465",
- "1157418",
- "1509097",
- "1329299",
- "1105724",
- "1559042",
- "1589929",
- "1629414",
- "1362191",
- "1521260",
- "2039907",
- "2241388",
- "2231519",
- "2385131",
- "2775177",
- "2809656",
- "2815499",
- "3033752",
- "3079802"
+ '256',
+ '518252',
+ '379341',
+ '546465',
+ '1157418',
+ '1509097',
+ '1329299',
+ '1105724',
+ '1559042',
+ '1589929',
+ '1629414',
+ '1362191',
+ '1521260',
+ '2039907',
+ '2241388',
+ '2231519',
+ '2385131',
+ '2775177',
+ '2809656',
+ '2815499',
+ '3033752',
+ '3079802',
];
export default staff;
diff --git a/lib/facts/testers.js b/lib/facts/testers.js
--- a/lib/facts/testers.js
+++ b/lib/facts/testers.js
@@ -1,9 +1,10 @@
// @flow
-type Testers = {
+
+type Testers = $ReadOnly<{
name: string,
description: string,
- introMessages: string[],
-};
+ introMessages: $ReadOnlyArray<string>,
+}>;
const testers: Testers = {
name: 'OG SquadCal testers',

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 6, 2:34 PM (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5828857
Default Alt Text
D5107.1765031646.diff (2 KB)

Event Timeline