MCPcopy Create free account

hub / github.com/Orgnise/webapp / functions

Functions518 in github.com/Orgnise/webapp

↓ 1 callersFunctioncloseModal
({ dragged }: { dragged?: boolean } = {})
src/components/ui/model.tsx:27
↓ 1 callersFunctioncollectionMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:156
↓ 1 callersFunctioncreateAllIndexes
(client: MongoClient)
src/lib/db/indexes.ts:209
↓ 1 callersFunctioncreateBusinessPlan
(config: BusinessPlanConfig = {})
src/lib/constants/pricing.ts:60
↓ 1 callersFunctioncreateTeamAsync
(team: Team)
src/lib/swr/use-teams.ts:35
↓ 1 callersFunctioncreateWorkspace
(data: z.infer<typeof createWorkspaceSchema>)
src/app/(dashboard)/[team_slug]/providers.tsx:43
↓ 1 callersFunctioncustomerSubscriptionDeleted
(event: Stripe.Event, client: MongoClient)
src/app/api/callback/stripe/customer-subscription-deleted.ts:14
↓ 1 callersFunctioncustomerSubscriptionUpdated
(event: Stripe.Event, client: MongoClient)
src/app/api/callback/stripe/customer-subscription-updated.ts:10
↓ 1 callersMethoddelay
(ms: number)
src/lib/analytics/retryManager.ts:54
↓ 1 callersFunctiondeleteAccount
()
src/components/ui/models/delete-account-modal.tsx:28
↓ 1 callersFunctiondeleteCollection
(id: string, collectionSlug: string)
src/lib/swr/use-collections.ts:197
↓ 1 callersFunctiondeleteDocumentAndChildren
* Delete all the children (n-level) of a given documentId (MongoId) and a collection
src/app/api/teams/[team_slug]/[workspace_slug]/[collection_slug]/route.ts:141
↓ 1 callersFunctiondeleteTeamAsync
(teamSlug: string)
src/lib/swr/use-team.ts:31
↓ 1 callersFunctiondeleteWorkspace
(workspaceSlug: string)
src/app/(dashboard)/[team_slug]/providers.tsx:79
↓ 1 callersFunctiondismiss
()
src/components/ui/use-toast.ts:148
↓ 1 callersMethodexecuteWithRetry
( operation: () => Promise<T>, context: string )
src/lib/analytics/retryManager.ts:21
↓ 1 callersFunctionfetchAllTeamOwnedByUser
(client: MongoClient, userId: string)
src/lib/api/team.ts:110
↓ 1 callersFunctionfetchAllTeamsForUser
(client: MongoClient, userId: string)
src/lib/api/team.ts:220
↓ 1 callersFunctionfetchTeamFromDatabase
( client: MongoClient, teamSlug: string )
src/lib/auth/team.ts:56
↓ 1 callersFunctionfetchWithTimeout
( input: RequestInfo | URL, init?: RequestInit | undefined, timeout: number = 5000, )
src/lib/functions/fetch-with-timeout.ts:1
↓ 1 callersFunctionflattenCollectionTree
( tree: Collection[] | undefined, )
src/lib/utility/collection-tree-structure.ts:152
↓ 1 callersFunctiongenId
()
src/components/ui/use-toast.ts:25
↓ 1 callersFunctiongenerateVerificationSummary
* Comprehensive verification summary for Task 1.2.1: Database Query Optimization
scripts/db/verification-summary.ts:8
↓ 1 callersFunctiongetFirstAndLastDay2
(day: number, interval: "month" | "year")
src/lib/utility/datetime.ts:25
↓ 1 callersFunctiongetOS
()
src/lib/functions/get-platform.ts:1
↓ 1 callersFunctiongetPaddle
(slug: string, PADDLE_SECRET_CLIENT_KEY?: string, PADDLE_ENV: string = 'sandbox')
src/lib/paddle/paddle-client.ts:7
↓ 1 callersFunctiongetPlanDetails
(planName: string)
src/lib/constants/pricing.ts:248
↓ 1 callersFunctiongetTeamWithUserContext
( context: TeamAuthContext, teamDbData: TeamDbSchema )
src/lib/auth/team.ts:175
↓ 1 callersFunctiongetUrlFromString
(str: string)
src/components/ui/editor/selectors/link-selector.tsx:19
↓ 1 callersMethodgroup
(groupId: string, properties?: Record<string, any>)
src/lib/analytics/interfaces.ts:61
↓ 1 callersFunctionhandleApiError
(error: any)
src/lib/api/errors.ts:142
↓ 1 callersFunctionhandleCreateCollection
()
src/components/team/workspace/collection/content/item/create-item-cta.tsx:25
↓ 1 callersFunctionhandleCreateCollection
()
src/components/team/workspace/left-panel/collection-panel.view.tsx:139
↓ 1 callersFunctionhandleSubmit
(e: any)
src/app/(auth)/login/form.tsx:47
↓ 1 callersFunctionhandleTeamClick
(teamName: string, teamSlug: string)
src/components/ui/team-switcher.tsx:63
↓ 1 callersFunctionhandleTeamInvite
( client: MongoClient, teamId: ObjectId, userEmail: string )
src/lib/auth/team.ts:73
↓ 1 callersFunctionidentify
(userId: string, traits?: Record<string, any>)
src/lib/analytics/useAnalytics.ts:64
↓ 1 callersMethodinitialize
()
src/lib/analytics/providers/mixpanel.ts:26
↓ 1 callersFunctioninviteUser
({ client, invites, team, session, }: { client: MongoClient; invites: typeof SendInviteSchema._typ
src/lib/api/users.ts:13
↓ 1 callersMethodisBase64
(str: string)
src/lib/storage.ts:87
↓ 1 callersFunctionisStored
(url: string)
src/lib/storage.ts:130
↓ 1 callersMethodisUrl
(str: string)
src/lib/storage.ts:92
↓ 1 callersFunctionisValidUrl
(url: string)
src/components/ui/editor/selectors/link-selector.tsx:11
↓ 1 callersFunctionmain
()
scripts/migrate-to-date-format.ts:9
↓ 1 callersFunctionmain
()
scripts/get-api-users.ts:7
↓ 1 callersFunctionmain
()
scripts/workspace/add-team-owner-to-all-workspaces.ts:12
↓ 1 callersFunctionmain
()
scripts/workspace/add-default-values.ts:8
↓ 1 callersFunctionmain
()
scripts/workspace/generate-missing-slug.ts:9
↓ 1 callersFunctionmain
()
scripts/workspace/assign-editor-to-workspaces.ts:11
↓ 1 callersFunctionmain
()
scripts/team/update-missing-invite-code.ts:9
↓ 1 callersFunctionmain
()
scripts/team/add-default-values.ts:9
↓ 1 callersFunctionmain
()
scripts/team/remove-non-attached-team-members.ts:10
↓ 1 callersFunctionmain
()
scripts/team/make-team-creator-owner-of-team.ts:11
↓ 1 callersFunctionmain
* Database Index Creation Script * * Run this script to create all optimized indexes for the MongoDB database. * Usage: npx tsx ./scripts/db/creat
scripts/db/create-indexes.ts:12
↓ 1 callersFunctionmain
()
scripts/db/test-query-optimizer.ts:208
↓ 1 callersFunctionmain
()
scripts/db/verification-summary.ts:116
↓ 1 callersFunctionmain
()
scripts/db/test-optimization.ts:119
↓ 1 callersFunctionreducer
(state: State, action: Action)
src/components/ui/use-toast.ts:72
↓ 1 callersFunctionregisterCard
({ cardId, entry }: { cardId: string; entry: CardEntry })
src/components/drag-n-drop/registery.ts:22
↓ 1 callersFunctionregisterColumn
({ columnId, entry, }: { columnId: string; entry: ColumnEntry; })
src/components/drag-n-drop/registery.ts:29
↓ 1 callersFunctionremoveAllTeamCollections
(client: MongoClient, teamId: string)
src/lib/api/collection.ts:17
↓ 1 callersFunctionremoveAllTeamInvites
(client: MongoClient, teamId: string)
src/lib/api/users.ts:104
↓ 1 callersFunctionremoveAllTeamUsers
(client: MongoClient, teamId: string)
src/lib/api/users.ts:112
↓ 1 callersFunctionremoveAllTeamWorkspaceMembers
(client: MongoClient, teamId: string)
src/lib/api/workspace.ts:8
↓ 1 callersFunctionremoveAllWorkspaceCollection
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/collection.ts:7
↓ 1 callersFunctionremoveAllWorkspaceMembers
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/workspace.ts:18
↓ 1 callersFunctionremoveAllWorkspaces
(client: MongoClient, teamId: string)
src/lib/api/workspace.ts:28
↓ 1 callersFunctionremoveWorkspace
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/workspace.ts:38
↓ 1 callersFunctionsaveIdentity
(userId: string, traits?: UserTraits)
src/lib/analytics/identity.ts:6
↓ 1 callersMethodsendEventToMixpanel
(event: QueuedEvent)
src/lib/analytics/providers/mixpanel.ts:142
↓ 1 callersMethodsetupOfflineHandling
()
src/lib/analytics/providers/mixpanel.ts:44
↓ 1 callersFunctionsignOut
(message)
src/lib/auth/auth.ts:266
↓ 1 callersFunctionsubscriptionActivated
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.activated.ts:14
↓ 1 callersFunctionsubscriptionCanceled
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.canceled.ts:14
↓ 1 callersFunctionsubscriptionUpdated
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.updated.ts:10
↓ 1 callersFunctionswitchType
(type: string | undefined)
src/lib/functions/log.ts:25
↓ 1 callersFunctionteamUsersMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:124
↓ 1 callersFunctionteamsMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:29
↓ 1 callersFunctiontestConnectionPooling
()
scripts/db/test-optimization.ts:89
↓ 1 callersFunctiontestDatabaseConnection
* Test script to verify database optimizations are working * Usage: npx tsx ./scripts/db/test-optimization.ts
scripts/db/test-optimization.ts:10
↓ 1 callersFunctiontestPerformanceImprovement
()
scripts/db/test-query-optimizer.ts:124
↓ 1 callersFunctiontestQueryOptimizer
* Test script to verify query optimizer is working correctly
scripts/db/test-query-optimizer.ts:9
↓ 1 callersFunctiontrim
(u: unknown)
src/lib/functions/trim.ts:1
↓ 1 callersFunctionupdateCollection
(id: string, collection: typeof UpdateCollectionSchema._type)
src/lib/swr/use-collections.ts:158
↓ 1 callersMethodurlToBlob
(url: string, opts?: imageOptions)
src/lib/storage.ts:101
↓ 1 callersFunctionuseAddWorkspaceModal
()
src/components/ui/models/add-workspace-members-modal.tsx:355
↓ 1 callersFunctionuseCreateWorkspaceModal
()
src/components/ui/models/create-workspace-modal.tsx:219
↓ 1 callersFunctionuseDeleteTokenModal
({ token }: { token: Token })
src/components/ui/models/delete-token-modal.tsx:88
↓ 1 callersFunctionuseEditWorkspaceModal
({ user, role, }: { user: WorkspaceMemberProps; role: WorkspaceRole; })
src/components/ui/models/edit-worksapce-role-modal.tsx:109
↓ 1 callersFunctionuseMediaQuery
()
src/lib/hooks/use-media-query.ts:3
↓ 1 callersFunctionuseRemoveWorkspaceModal
({ user, }: { user: WorkspaceMemberProps; })
src/components/ui/models/remove-workspace-member-model.tsx:128
↓ 1 callersFunctionuseTeamInvite
()
src/lib/swr/use-team-invite.ts:12
↓ 1 callersFunctionuseTokenCreatedModal
({ token }: { token: string })
src/components/ui/models/token-created-modal.tsx:51
↓ 1 callersFunctionuseUpgradePlanModal
( PADDLE_SECRET_CLIENT_KEY?: string, PADDLE_ENV: "sandbox" | "production" = "sandbox", )
src/components/ui/models/upgrade-plan-modal.tsx:439
↓ 1 callersFunctionvalidateEvent
( eventName: K, properties: EventMap[K] )
src/lib/analytics/validation.ts:4
↓ 1 callersFunctionvalidateTeamPermissions
( team: Team, requiredRole: Array<TeamRole>, requiredPlan: Array<Plan> )
src/lib/auth/team.ts:151
↓ 1 callersFunctionvalidateTeamSlug
(teamSlug: string | undefined)
src/lib/auth/team.ts:45
↓ 1 callersFunctionwithQueryMetrics
( client: MongoClient, operation: (optimizer: QueryOptimizer) => Promise<T> )
src/lib/db/query-optimizer.ts:428
↓ 1 callersFunctionworkspaceMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:62
↓ 1 callersFunctionworkspaceUsersMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:93
← previousnext →101–200 of 518, ranked by callers