Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Orgnise/webapp
/ functions
Functions
518 in github.com/Orgnise/webapp
⨍
Functions
518
◇
Types & classes
122
↓ 1 callers
Function
closeModal
({ dragged }: { dragged?: boolean } = {})
src/components/ui/model.tsx:27
↓ 1 callers
Function
collectionMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:156
↓ 1 callers
Function
createAllIndexes
(client: MongoClient)
src/lib/db/indexes.ts:209
↓ 1 callers
Function
createBusinessPlan
(config: BusinessPlanConfig = {})
src/lib/constants/pricing.ts:60
↓ 1 callers
Function
createTeamAsync
(team: Team)
src/lib/swr/use-teams.ts:35
↓ 1 callers
Function
createWorkspace
(data: z.infer<typeof createWorkspaceSchema>)
src/app/(dashboard)/[team_slug]/providers.tsx:43
↓ 1 callers
Function
customerSubscriptionDeleted
(event: Stripe.Event, client: MongoClient)
src/app/api/callback/stripe/customer-subscription-deleted.ts:14
↓ 1 callers
Function
customerSubscriptionUpdated
(event: Stripe.Event, client: MongoClient)
src/app/api/callback/stripe/customer-subscription-updated.ts:10
↓ 1 callers
Method
delay
(ms: number)
src/lib/analytics/retryManager.ts:54
↓ 1 callers
Function
deleteAccount
()
src/components/ui/models/delete-account-modal.tsx:28
↓ 1 callers
Function
deleteCollection
(id: string, collectionSlug: string)
src/lib/swr/use-collections.ts:197
↓ 1 callers
Function
deleteDocumentAndChildren
* 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 callers
Function
deleteTeamAsync
(teamSlug: string)
src/lib/swr/use-team.ts:31
↓ 1 callers
Function
deleteWorkspace
(workspaceSlug: string)
src/app/(dashboard)/[team_slug]/providers.tsx:79
↓ 1 callers
Function
dismiss
()
src/components/ui/use-toast.ts:148
↓ 1 callers
Method
executeWithRetry
( operation: () => Promise<T>, context: string )
src/lib/analytics/retryManager.ts:21
↓ 1 callers
Function
fetchAllTeamOwnedByUser
(client: MongoClient, userId: string)
src/lib/api/team.ts:110
↓ 1 callers
Function
fetchAllTeamsForUser
(client: MongoClient, userId: string)
src/lib/api/team.ts:220
↓ 1 callers
Function
fetchTeamFromDatabase
( client: MongoClient, teamSlug: string )
src/lib/auth/team.ts:56
↓ 1 callers
Function
fetchWithTimeout
( input: RequestInfo | URL, init?: RequestInit | undefined, timeout: number = 5000, )
src/lib/functions/fetch-with-timeout.ts:1
↓ 1 callers
Function
flattenCollectionTree
( tree: Collection[] | undefined, )
src/lib/utility/collection-tree-structure.ts:152
↓ 1 callers
Function
genId
()
src/components/ui/use-toast.ts:25
↓ 1 callers
Function
generateVerificationSummary
* Comprehensive verification summary for Task 1.2.1: Database Query Optimization
scripts/db/verification-summary.ts:8
↓ 1 callers
Function
getFirstAndLastDay2
(day: number, interval: "month" | "year")
src/lib/utility/datetime.ts:25
↓ 1 callers
Function
getOS
()
src/lib/functions/get-platform.ts:1
↓ 1 callers
Function
getPaddle
(slug: string, PADDLE_SECRET_CLIENT_KEY?: string, PADDLE_ENV: string = 'sandbox')
src/lib/paddle/paddle-client.ts:7
↓ 1 callers
Function
getPlanDetails
(planName: string)
src/lib/constants/pricing.ts:248
↓ 1 callers
Function
getTeamWithUserContext
( context: TeamAuthContext, teamDbData: TeamDbSchema )
src/lib/auth/team.ts:175
↓ 1 callers
Function
getUrlFromString
(str: string)
src/components/ui/editor/selectors/link-selector.tsx:19
↓ 1 callers
Method
group
(groupId: string, properties?: Record<string, any>)
src/lib/analytics/interfaces.ts:61
↓ 1 callers
Function
handleApiError
(error: any)
src/lib/api/errors.ts:142
↓ 1 callers
Function
handleCreateCollection
()
src/components/team/workspace/collection/content/item/create-item-cta.tsx:25
↓ 1 callers
Function
handleCreateCollection
()
src/components/team/workspace/left-panel/collection-panel.view.tsx:139
↓ 1 callers
Function
handleSubmit
(e: any)
src/app/(auth)/login/form.tsx:47
↓ 1 callers
Function
handleTeamClick
(teamName: string, teamSlug: string)
src/components/ui/team-switcher.tsx:63
↓ 1 callers
Function
handleTeamInvite
( client: MongoClient, teamId: ObjectId, userEmail: string )
src/lib/auth/team.ts:73
↓ 1 callers
Function
identify
(userId: string, traits?: Record<string, any>)
src/lib/analytics/useAnalytics.ts:64
↓ 1 callers
Method
initialize
()
src/lib/analytics/providers/mixpanel.ts:26
↓ 1 callers
Function
inviteUser
({ client, invites, team, session, }: { client: MongoClient; invites: typeof SendInviteSchema._typ
src/lib/api/users.ts:13
↓ 1 callers
Method
isBase64
(str: string)
src/lib/storage.ts:87
↓ 1 callers
Function
isStored
(url: string)
src/lib/storage.ts:130
↓ 1 callers
Method
isUrl
(str: string)
src/lib/storage.ts:92
↓ 1 callers
Function
isValidUrl
(url: string)
src/components/ui/editor/selectors/link-selector.tsx:11
↓ 1 callers
Function
main
()
scripts/migrate-to-date-format.ts:9
↓ 1 callers
Function
main
()
scripts/get-api-users.ts:7
↓ 1 callers
Function
main
()
scripts/workspace/add-team-owner-to-all-workspaces.ts:12
↓ 1 callers
Function
main
()
scripts/workspace/add-default-values.ts:8
↓ 1 callers
Function
main
()
scripts/workspace/generate-missing-slug.ts:9
↓ 1 callers
Function
main
()
scripts/workspace/assign-editor-to-workspaces.ts:11
↓ 1 callers
Function
main
()
scripts/team/update-missing-invite-code.ts:9
↓ 1 callers
Function
main
()
scripts/team/add-default-values.ts:9
↓ 1 callers
Function
main
()
scripts/team/remove-non-attached-team-members.ts:10
↓ 1 callers
Function
main
()
scripts/team/make-team-creator-owner-of-team.ts:11
↓ 1 callers
Function
main
* 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 callers
Function
main
()
scripts/db/test-query-optimizer.ts:208
↓ 1 callers
Function
main
()
scripts/db/verification-summary.ts:116
↓ 1 callers
Function
main
()
scripts/db/test-optimization.ts:119
↓ 1 callers
Function
reducer
(state: State, action: Action)
src/components/ui/use-toast.ts:72
↓ 1 callers
Function
registerCard
({ cardId, entry }: { cardId: string; entry: CardEntry })
src/components/drag-n-drop/registery.ts:22
↓ 1 callers
Function
registerColumn
({ columnId, entry, }: { columnId: string; entry: ColumnEntry; })
src/components/drag-n-drop/registery.ts:29
↓ 1 callers
Function
removeAllTeamCollections
(client: MongoClient, teamId: string)
src/lib/api/collection.ts:17
↓ 1 callers
Function
removeAllTeamInvites
(client: MongoClient, teamId: string)
src/lib/api/users.ts:104
↓ 1 callers
Function
removeAllTeamUsers
(client: MongoClient, teamId: string)
src/lib/api/users.ts:112
↓ 1 callers
Function
removeAllTeamWorkspaceMembers
(client: MongoClient, teamId: string)
src/lib/api/workspace.ts:8
↓ 1 callers
Function
removeAllWorkspaceCollection
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/collection.ts:7
↓ 1 callers
Function
removeAllWorkspaceMembers
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/workspace.ts:18
↓ 1 callers
Function
removeAllWorkspaces
(client: MongoClient, teamId: string)
src/lib/api/workspace.ts:28
↓ 1 callers
Function
removeWorkspace
(client: MongoClient, teamId: string, workspaceId: string)
src/lib/api/workspace.ts:38
↓ 1 callers
Function
saveIdentity
(userId: string, traits?: UserTraits)
src/lib/analytics/identity.ts:6
↓ 1 callers
Method
sendEventToMixpanel
(event: QueuedEvent)
src/lib/analytics/providers/mixpanel.ts:142
↓ 1 callers
Method
setupOfflineHandling
()
src/lib/analytics/providers/mixpanel.ts:44
↓ 1 callers
Function
signOut
(message)
src/lib/auth/auth.ts:266
↓ 1 callers
Function
subscriptionActivated
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.activated.ts:14
↓ 1 callers
Function
subscriptionCanceled
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.canceled.ts:14
↓ 1 callers
Function
subscriptionUpdated
(event: EventEntity, client: MongoClient)
src/app/api/callback/paddle/subscription.updated.ts:10
↓ 1 callers
Function
switchType
(type: string | undefined)
src/lib/functions/log.ts:25
↓ 1 callers
Function
teamUsersMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:124
↓ 1 callers
Function
teamsMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:29
↓ 1 callers
Function
testConnectionPooling
()
scripts/db/test-optimization.ts:89
↓ 1 callers
Function
testDatabaseConnection
* Test script to verify database optimizations are working * Usage: npx tsx ./scripts/db/test-optimization.ts
scripts/db/test-optimization.ts:10
↓ 1 callers
Function
testPerformanceImprovement
()
scripts/db/test-query-optimizer.ts:124
↓ 1 callers
Function
testQueryOptimizer
* Test script to verify query optimizer is working correctly
scripts/db/test-query-optimizer.ts:9
↓ 1 callers
Function
trim
(u: unknown)
src/lib/functions/trim.ts:1
↓ 1 callers
Function
updateCollection
(id: string, collection: typeof UpdateCollectionSchema._type)
src/lib/swr/use-collections.ts:158
↓ 1 callers
Method
urlToBlob
(url: string, opts?: imageOptions)
src/lib/storage.ts:101
↓ 1 callers
Function
useAddWorkspaceModal
()
src/components/ui/models/add-workspace-members-modal.tsx:355
↓ 1 callers
Function
useCreateWorkspaceModal
()
src/components/ui/models/create-workspace-modal.tsx:219
↓ 1 callers
Function
useDeleteTokenModal
({ token }: { token: Token })
src/components/ui/models/delete-token-modal.tsx:88
↓ 1 callers
Function
useEditWorkspaceModal
({ user, role, }: { user: WorkspaceMemberProps; role: WorkspaceRole; })
src/components/ui/models/edit-worksapce-role-modal.tsx:109
↓ 1 callers
Function
useMediaQuery
()
src/lib/hooks/use-media-query.ts:3
↓ 1 callers
Function
useRemoveWorkspaceModal
({ user, }: { user: WorkspaceMemberProps; })
src/components/ui/models/remove-workspace-member-model.tsx:128
↓ 1 callers
Function
useTeamInvite
()
src/lib/swr/use-team-invite.ts:12
↓ 1 callers
Function
useTokenCreatedModal
({ token }: { token: string })
src/components/ui/models/token-created-modal.tsx:51
↓ 1 callers
Function
useUpgradePlanModal
( PADDLE_SECRET_CLIENT_KEY?: string, PADDLE_ENV: "sandbox" | "production" = "sandbox", )
src/components/ui/models/upgrade-plan-modal.tsx:439
↓ 1 callers
Function
validateEvent
( eventName: K, properties: EventMap[K] )
src/lib/analytics/validation.ts:4
↓ 1 callers
Function
validateTeamPermissions
( team: Team, requiredRole: Array<TeamRole>, requiredPlan: Array<Plan> )
src/lib/auth/team.ts:151
↓ 1 callers
Function
validateTeamSlug
(teamSlug: string | undefined)
src/lib/auth/team.ts:45
↓ 1 callers
Function
withQueryMetrics
( client: MongoClient, operation: (optimizer: QueryOptimizer) => Promise<T> )
src/lib/db/query-optimizer.ts:428
↓ 1 callers
Function
workspaceMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:62
↓ 1 callers
Function
workspaceUsersMigration
(client: MongoClient)
scripts/migrate-to-date-format.ts:93
← previous
next →
101–200 of 518, ranked by callers