repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'IDTEAM-1.26.0' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
drive
/
utils
/
share.ts
blob
08451c9c89caefd0c444b7073fb8787d82d6b0a5
1
import { ShareFlags } from '../../interfaces/drive/share';
2
3
export const isMainShare = (meta: { Flags?: number }) => {
4
return !!(typeof meta.Flags !== 'undefined' && meta.Flags & ShareFlags.MainShare);
5
};