MCPcopy Create free account
hub / github.com/dailydotdev/apps / isSourceUserSource

Function isSourceUserSource

packages/shared/src/graphql/sources.ts:72–73  ·  view source on GitHub ↗
(source?: Source)

Source from the content-addressed store, hash-verified

70}
71
72export const isSourceUserSource = (source?: Source): boolean =>
73 source?.type === SourceType.User;
74
75export const isSourceSquadOrMachine = (source?: Source): boolean =>
76 source?.type === SourceType.Squad || source?.type === SourceType.Machine;

Callers 15

HybridRailFunction · 0.90
WhyRecommendedContentFunction · 0.90
GistCardFunction · 0.90
RepostListItemFunction · 0.90
BookmarkRowFunction · 0.90
FreeformList.tsxFile · 0.90
ShareList.tsxFile · 0.90
AuthorSourceStackFunction · 0.90
ArticleList.tsxFile · 0.90
PollList.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected