Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3247690
D12594.id42179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D12594.id42179.diff
View Options
diff --git a/lib/permissions/minimally-encoded-thread-permissions-test-data.js b/lib/permissions/minimally-encoded-thread-permissions-test-data.js
--- a/lib/permissions/minimally-encoded-thread-permissions-test-data.js
+++ b/lib/permissions/minimally-encoded-thread-permissions-test-data.js
@@ -332,14 +332,12 @@
minimallyEncoded: true,
id: '256',
role: null,
- permissions: '87fff',
isSender: false,
},
{
minimallyEncoded: true,
id: '83853',
role: '85172',
- permissions: '3027f',
isSender: true,
},
],
diff --git a/lib/permissions/special-roles.test.js b/lib/permissions/special-roles.test.js
--- a/lib/permissions/special-roles.test.js
+++ b/lib/permissions/special-roles.test.js
@@ -62,14 +62,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
@@ -159,14 +157,12 @@
{
id: '256',
role: null,
- permissions: '2c7fff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '256|83815',
- permissions: '3026f',
isSender: true,
minimallyEncoded: true,
},
diff --git a/lib/reducers/calendar-filters-reducer.test.js b/lib/reducers/calendar-filters-reducer.test.js
--- a/lib/reducers/calendar-filters-reducer.test.js
+++ b/lib/reducers/calendar-filters-reducer.test.js
@@ -31,14 +31,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: true,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
@@ -86,14 +84,12 @@
{
id: '256',
role: null,
- permissions: '2c7fff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83816',
- permissions: '3026f',
isSender: true,
minimallyEncoded: true,
},
diff --git a/lib/reducers/integrity-reducer.test.js b/lib/reducers/integrity-reducer.test.js
--- a/lib/reducers/integrity-reducer.test.js
+++ b/lib/reducers/integrity-reducer.test.js
@@ -51,14 +51,12 @@
{
id: '256',
role: '256|83796',
- permissions: '3f73ff',
isSender: true,
minimallyEncoded: true,
},
{
id: '83810',
role: '256|83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
diff --git a/lib/shared/thread-utils.test.js b/lib/shared/thread-utils.test.js
--- a/lib/shared/thread-utils.test.js
+++ b/lib/shared/thread-utils.test.js
@@ -90,14 +90,12 @@
{
id: '256',
role: '83796',
- permissions: '3f73ff',
isSender: false,
minimallyEncoded: true,
},
{
id: '83809',
role: '83795',
- permissions: '3',
isSender: false,
minimallyEncoded: true,
},
diff --git a/lib/types/minimally-encoded-thread-permissions-types.js b/lib/types/minimally-encoded-thread-permissions-types.js
--- a/lib/types/minimally-encoded-thread-permissions-types.js
+++ b/lib/types/minimally-encoded-thread-permissions-types.js
@@ -164,7 +164,7 @@
export type ThinRawThreadInfo = $ReadOnly<{
...LegacyThinRawThreadInfo,
+minimallyEncoded: true,
- +members: $ReadOnlyArray<MemberInfoWithPermissions>,
+ +members: $ReadOnlyArray<MemberInfoSansPermissions>,
+roles: { +[id: string]: RoleInfo },
+currentUser: ThreadCurrentUserInfo,
}>;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 6:19 AM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2487362
Default Alt Text
D12594.id42179.diff (3 KB)
Attached To
Mode
D12594: [lib] Change type of `ThinRawThreadInfo.members` from `MemberInfoWithPermissions` to `MemberInfoSansPermissions`
Attached
Detach File
Event Timeline
Log In to Comment