MCPcopy Create free account

hub / github.com/async-labs/saas / functions

Functions315 in github.com/async-labs/saas

↓ 73 callersFunctionnotify
(obj)
app/lib/notifier.ts:3
↓ 43 callersFunctionget
(name: string, required: boolean = false, alternateName: string = null)
api/server/consts.ts:6
↓ 32 callersFunctionsendRequestAndGetResponse
(path, opts: any = {})
app/lib/api/sendRequestAndGetResponse.ts:9
↓ 10 callersMethodgetDiscussion
(slug: string)
app/pages/discussion.tsx:82
↓ 7 callersMethodedit
({ content, userId, id, }: { content: string; userId: string; id: string; })
api/server/models/Post.ts:135
↓ 7 callersFunctionwithAuth
( BaseComponent, { loginRequired = true, logoutRequired = false, teamRequired = true } = {}, )
app/lib/withAuth.tsx:25
↓ 6 callersFunctiongenerateSlug
(Model, name, filter = {})
api/server/utils/slugify.ts:31
↓ 6 callersMethodgetList
(userId: string)
api/server/models/Team.ts:99
↓ 6 callersFunctiongetSocket
(socketId?: string)
api/server/realtime.ts:11
↓ 5 callersFunctiongetEmailTemplate
( name: string, params: any, template?: IEmailTemplateDocument, )
api/server/models/EmailTemplate.ts:100
↓ 5 callersMethodjoinSocketRoom
()
app/lib/store/team.ts:376
↓ 5 callersMethodloadDiscussions
()
app/lib/store/team.ts:140
↓ 5 callersMethodpublicFields
()
api/server/models/User.ts:431
↓ 5 callersMethodrender
()
app/pages/_app.tsx:35
↓ 5 callersFunctionsendEmail
(options)
api/server/aws-ses.ts:7
↓ 5 callersFunctionuploadFileUsingSignedPutRequest
(file, signedRequest, headers = {})
app/lib/api/team-member.ts:85
↓ 4 callersMethodadd
({ name, userId, }: { userId: string; name: string; avatarUrl: string; })
api/server/models/Team.ts:79
↓ 4 callersMethodcheckPermission
({ userId, teamId, memberIds = [] })
api/server/models/Discussion.ts:91
↓ 4 callersFunctiongetSignedRequestForUpload
({ file, prefix, bucket, acl = 'private' })
app/lib/api/team-member.ts:79
↓ 3 callersMethodchangeLocalCache
(data)
app/lib/store/discussion.ts:79
↓ 3 callersMethodcheckPermission
({ userId, discussionId, post = null })
api/server/models/Post.ts:227
↓ 3 callersFunctionconfirm
({ title, message, onAnswer, }: { title: string; message: string; onAnswer: (answer) => void; })
app/lib/confirm.ts:3
↓ 3 callersMethoddelete
({ userId, id }: { userId: string; id: string })
api/server/models/Post.ts:157
↓ 3 callersFunctiongetStore
()
app/lib/store/index.ts:293
↓ 3 callersMethodgtag
()
app/pages/_document.tsx:148
↓ 3 callersMethodleaveSocketRoom
()
app/lib/store/team.ts:365
↓ 3 callersMethodlogout
()
app/lib/store/user.ts:131
↓ 3 callersFunctionmarkdownToHtml
(content)
api/server/models/Post.ts:77
↓ 3 callersMethodupdateProfile
({ userId, name, avatarUrl, }: { userId: string; name: string; avatarUrl: string;
api/server/models/User.ts:165
↓ 2 callersMethodaddDiscussionToLocalCache
(data)
app/lib/store/discussion.ts:181
↓ 2 callersMethodaddPost
(content: string)
app/lib/store/discussion.ts:129
↓ 2 callersMethodaddPostToLocalCache
(data)
app/lib/store/discussion.ts:104
↓ 2 callersMethodaddTeamToLocalCache
(data)
app/lib/store/index.ts:160
↓ 2 callersFunctioncancelSubscription
({ subscriptionId })
api/server/stripe.ts:41
↓ 2 callersMethodcancelSubscription
({ teamLeaderId, teamId, }: { teamLeaderId: string; teamId: string; })
api/server/models/Team.ts:116
↓ 2 callersMethodchangeDiscussion
()
app/pages/discussion.tsx:105
↓ 2 callersMethodchangeLocalCache
(data)
app/lib/store/post.ts:30
↓ 2 callersMethodchangeLocalCache
(data)
app/lib/store/team.ts:387
↓ 2 callersMethodcheckTeam
()
app/components/layout/index.tsx:258
↓ 2 callersMethodcreateCustomer
({ userId, stripeToken, }: { userId: string; stripeToken: object; })
api/server/models/User.ts:193
↓ 2 callersMethodcreateSubscription
({ teamId }: { teamId: string })
app/lib/store/team.ts:322
↓ 2 callersFunctiondeletePostFiles
(posts: IPostDocument[])
api/server/models/Post.ts:18
↓ 2 callersFunctiongenerateNumberSlug
(Model, filter = {}, n = 1)
api/server/utils/slugify.ts:45
↓ 2 callersFunctiongenerateToken
()
api/server/models/Invitation.ts:63
↓ 2 callersMethodgetListOfInvoicesForCustomer
({ userId }: { userId: string })
api/server/models/User.ts:208
↓ 2 callersMethodgetTeamInvitedUsers
({ userId, teamId }: { userId: string; teamId: string })
api/server/models/Invitation.ts:57
↓ 2 callersMethodgetTeamMembers
({ userId, teamId }: { userId: string; teamId: string })
api/server/models/User.ts:175
↓ 2 callersFunctiongetUser
(options = {})
app/lib/api/public.ts:5
↓ 2 callersMethodinitializeFileUIandEvent
()
app/components/posts/PostContent.tsx:39
↓ 2 callersMethodloadCurrentTeamData
()
app/lib/store/index.ts:223
↓ 2 callersMethodloadPosts
()
app/lib/store/discussion.ts:56
↓ 2 callersFunctionmakeQueryString
(params)
app/lib/api/makeQueryString.ts:1
↓ 2 callersMethodpublicFields
()
api/server/models/User.ts:163
↓ 2 callersMethodremoveDiscussionFromLocalCache
(discussionId: string)
app/lib/store/discussion.ts:204
↓ 2 callersMethodremoveMember
({ teamId, teamLeaderId, userId, }: { teamId: string; teamLeaderId: string; userId: string
api/server/models/Team.ts:100
↓ 2 callersMethodremoveTeamFromLocalCache
(teamId: string)
app/lib/store/index.ts:181
↓ 2 callersFunctionresizeImage
(file: File, MAX_WIDTH, MAX_HEIGHT)
app/lib/resizeImage.ts:1
↓ 2 callersMethodsendDataToLambdaApiMethod
({ discussionName, discussionLink, postContent, authorName, userIds, })
app/lib/store/discussion.ts:159
↓ 2 callersMethodsetCurrentTeam
(slug: string)
app/lib/store/index.ts:136
↓ 2 callersMethodsetCurrentUser
(user, isLoadTeam: boolean, selectedTeamSlug: string)
app/lib/store/index.ts:187
↓ 2 callersMethodsetTeams
(teams: any[], selectedTeamSlug?: string)
app/lib/store/index.ts:87
↓ 2 callersFunctionsubscribe
({ email, listName })
api/server/mailchimp.ts:40
↓ 2 callersMethodtoggleTheme
({ userId, darkTheme }: { userId: string; darkTheme: boolean })
api/server/models/User.ts:209
↓ 1 callersFunctionaddDiscussion
app/lib/api/team-member.ts:41
↓ 1 callersMethodaddDiscussion
(data)
app/lib/store/team.ts:195
↓ 1 callersMethodaddDiscussionToLocalCache
(data)
app/lib/store/team.ts:173
↓ 1 callersFunctionaddPlaceholder
(elm)
app/components/posts/PostContent.tsx:3
↓ 1 callersFunctionaddPost
app/lib/api/team-member.ts:62
↓ 1 callersFunctionaddTeam
app/lib/api/team-leader.ts:5
↓ 1 callersMethodaddTeam
({ name, avatarUrl }: { name: string; avatarUrl: string })
app/lib/store/index.ts:103
↓ 1 callersMethodaddUserToTeam
({ token, user }: { token: string; user: IUserDocument })
api/server/models/Invitation.ts:60
↓ 1 callersFunctionapi
(server: express.Express)
api/server/api/index.ts:15
↓ 1 callersFunctioncallAPI
({ path, method, data })
api/server/mailchimp.ts:11
↓ 1 callersMethodcancelSubscriptionAfterFailedPayment
({ subscriptionId, }: { subscriptionId: string; })
api/server/models/Team.ts:123
↓ 1 callersFunctioncancelSubscriptionApiMethod
({ teamId }: { teamId: string })
app/lib/api/team-leader.ts:42
↓ 1 callersMethodchangeCurrentUrl
(url: string)
app/lib/store/index.ts:76
↓ 1 callersMethodcheckIfTeamLeaderMustBeCustomer
()
app/lib/store/team.ts:351
↓ 1 callersMethodcheckPermissionAndGetTeam
({ userId, teamId })
api/server/models/User.ts:449
↓ 1 callersFunctioncheckPrefix
(prefix, user)
api/server/aws-s3.ts:10
↓ 1 callersFunctioncreateCustomer
({ token, teamLeaderEmail, teamLeaderId })
api/server/stripe.ts:14
↓ 1 callersFunctioncreateCustomerApiMethod
({ token }: { token: object })
app/lib/api/team-leader.ts:47
↓ 1 callersFunctioncreateNewCard
({ customerId, token })
api/server/stripe.ts:52
↓ 1 callersMethodcreateNewCardAndUpdateCustomer
({ token }: { token: object })
app/lib/store/user.ts:94
↓ 1 callersFunctioncreateNewCardAndUpdateCustomerApiMethod
({ token }: { token: object })
app/lib/api/team-leader.ts:52
↓ 1 callersMethodcreateNewCardUpdateCustomer
({ userId, stripeToken, }: { userId: string; stripeToken: object; })
api/server/models/User.ts:201
↓ 1 callersFunctioncreateSubscription
({ customerId, teamId, teamLeaderId })
api/server/stripe.ts:25
↓ 1 callersFunctioncreateSubscriptionApiMethod
({ teamId }: { teamId: string })
app/lib/api/team-leader.ts:37
↓ 1 callersFunctioncreateUniqueSlug
(Model, slug, count, filter)
api/server/utils/slugify.ts:19
↓ 1 callersFunctiondeleteDiscussion
app/lib/api/team-member.ts:51
↓ 1 callersMethoddeleteDiscussion
(id: string)
app/lib/store/team.ts:210
↓ 1 callersFunctiondeleteFiles
(bucket: string, files: string[])
api/server/aws-s3.ts:107
↓ 1 callersFunctiondeletePost
app/lib/api/team-member.ts:72
↓ 1 callersMethoddeletePost
(post: Post)
app/lib/store/discussion.ts:147
↓ 1 callersFunctiondiscussionAdded
({ socketId, discussion, }: { socketId?: string; discussion: IDiscussionDocument; })
api/server/realtime.ts:82
↓ 1 callersFunctiondiscussionDeleted
({ socketId, teamId, id, }: { socketId?: string; teamId: string; id: string; })
api/server/realtime.ts:115
↓ 1 callersFunctiondiscussionEdited
({ socketId, discussion, }: { socketId?: string; discussion: IDiscussionDocument; })
api/server/realtime.ts:97
↓ 1 callersFunctioneditDiscussion
app/lib/api/team-member.ts:46
↓ 1 callersMethodeditDiscussionFromLocalCache
(data)
app/lib/store/discussion.ts:191
↓ 1 callersFunctioneditPost
app/lib/api/team-member.ts:67
↓ 1 callersMethodeditPostFromLocalCache
(data)
app/lib/store/discussion.ts:117
next →1–100 of 315, ranked by callers