MCPcopy Create free account

hub / github.com/0010aor/FlashNotes / functions

Functions539 in github.com/0010aor/FlashNotes

↓ 168 callersFunctiont
()
frontend/src/utils.ts:4
↓ 28 callersFunctionrandom_lower_string
()
backend/tests/utils/utils.py:9
↓ 27 callersMethoddelete
(collectionId: string, id: string)
frontend/src/repositories/card/CardRepository.ts:8
↓ 21 callersMethodupdate
(collectionId: string, id: string, data: CardUpdate)
frontend/src/repositories/card/CardRepository.ts:7
↓ 19 callersFunctionrandom_email
()
backend/tests/utils/utils.py:13
↓ 16 callersFunctioncreate_user
(*, session: Session, user_create: UserCreate)
backend/src/users/services.py:15
↓ 12 callersFunctionverify_entity_deleted
Helper function to verify an entity was deleted.
backend/tests/flashcards/test_cascade_delete.py:100
↓ 8 callersMethodcreate
(collectionId: string, data: CardCreate)
frontend/src/repositories/card/CardRepository.ts:6
↓ 8 callersFunctionisGuest
()
frontend/src/utils/authUtils.ts:5
↓ 7 callersFunctionauthentication_token_from_email
Return a valid token for the user with given email. If the user doesn't exist it is created first.
backend/tests/utils/user.py:31
↓ 7 callersFunctioncheck_and_increment_ai_usage_quota
(session: Session, user: User)
backend/src/users/services.py:71
↓ 7 callersFunctioncreate_random_user
(db: Session)
backend/tests/utils/user.py:23
↓ 6 callersFunctioncollection_with_sessions
(db)
backend/tests/stats/test_api.py:15
↓ 6 callersFunctionget_practice_cards
Get practice cards for a session, optionally filtering, ordering, and limiting.
backend/src/flashcards/services.py:282
↓ 5 callersFunctionrepo
()
frontend/src/services/collections.ts:5
↓ 5 callersFunctionrepo
()
frontend/src/services/cards.ts:5
↓ 5 callersFunctionresolve
( options: ApiRequestOptions<T>, resolver?: T | Resolver<T>, )
frontend/src/client/core/request.ts:113
↓ 5 callersFunctionuseColorMode
()
frontend/src/components/ui/color-mode.tsx:27
↓ 4 callersFunctioncheck_collection_access
( session: Session, collection_id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:187
↓ 4 callersFunctioncreate_collection
( session: Session, user_id: uuid.UUID, name: str, cards: list[CardBase] | None = None )
backend/src/flashcards/services.py:50
↓ 4 callersFunctiongenerate_ai_collection
(provider, prompt: str)
backend/src/flashcards/services.py:375
↓ 4 callersFunctionget_collection
( session: Session, id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:41
↓ 4 callersFunctionget_or_create_practice_session
( session: Session, collection_id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:250
↓ 4 callersFunctionisString
(value: unknown)
frontend/src/client/core/request.ts:11
↓ 4 callersFunctionrecord_practice_card_result
( session: Session, practice_card: PracticeCard, is_correct: bool, )
backend/src/flashcards/services.py:340
↓ 4 callersFunctiontoCollection
(local: LocalCollection, localCards: LocalCard[])
frontend/src/repositories/collection/LocalCollectionRepository.ts:16
↓ 4 callersFunctionuseAuthContext
()
frontend/src/hooks/useAuthContext.tsx:61
↓ 4 callersFunctionuseRichTextEditor
({ content = '', characterLimit = 3000, onUpdate, }: UseRichTextEditorOptions = {})
frontend/src/components/commonUI/RichText/useRichTextEditor.ts:19
↓ 3 callersMethod_check_default_secret
(self, var_name: str, value: str | None)
backend/src/core/config.py:78
↓ 3 callersFunction_get_collection_basic_info
( session: Session, collection_id: uuid.UUID )
backend/src/stats/services.py:16
↓ 3 callersFunctioncreate_card
( session: Session, collection_id: uuid.UUID, card_in: CardCreate )
backend/src/flashcards/services.py:139
↓ 3 callersFunctiongenerate_ai_flashcard
(prompt: str, provider)
backend/src/flashcards/services.py:396
↓ 3 callersFunctionget_card_with_collection
( session: Session, card_id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:110
↓ 3 callersFunctionget_cards
( session: Session, collection_id: uuid.UUID, skip: int = 0, limit: int = 100 )
backend/src/flashcards/services.py:90
↓ 3 callersFunctionget_collections
( session: Session, user_id: uuid.UUID, skip: int = 0, limit: int = 100 )
backend/src/flashcards/services.py:25
↓ 3 callersFunctionget_practice_session
( session: Session, session_id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:213
↓ 3 callersFunctionhandleSubmit
()
frontend/src/components/commonUI/AiPromptDialog.tsx:54
↓ 3 callersFunctionisStringWithValue
(value: unknown)
frontend/src/client/core/request.ts:15
↓ 3 callersFunctionrepo
()
frontend/src/services/practiceSessions.ts:5
↓ 3 callersFunctiontoCard
(local: LocalCard)
frontend/src/repositories/card/LocalCardRepository.ts:6
↓ 3 callersMethoduse
(fn: Middleware<T>)
frontend/src/client/core/OpenAPI.ts:22
↓ 3 callersFunctionuseAuth
()
frontend/src/hooks/useAuth.ts:24
↓ 3 callersFunctionverify_password
(plain_password: str, hashed_password: str)
backend/src/auth/services.py:46
↓ 2 callersFunctionPracticeCard
({ card, isFlipped, onFlip }: PracticeCardProps)
frontend/src/components/practice/PracticeCard.tsx:11
↓ 2 callersFunction_get_collection_cards
(session: Session, collection_id: uuid.UUID)
backend/src/flashcards/services.py:233
↓ 2 callersFunction_get_difficult_cards
( session: Session, collection_id: uuid.UUID, min_attempts: int = 2, limit: int = 5, )
backend/src/stats/services.py:70
↓ 2 callersFunction_get_recent_sessions
Get recent practice sessions using an optimized query.
backend/src/stats/services.py:42
↓ 2 callersFunctionappend
(key: string, value: unknown)
frontend/src/client/core/request.ts:43
↓ 2 callersFunctionauthenticate
(*, session: Session, email: str, password: str)
backend/src/auth/services.py:50
↓ 2 callersFunctioncalculateSessionSuccessRate
( session: PracticeSessionStats | null, )
frontend/src/utils/stats.ts:14
↓ 2 callersFunctioncard_response_schema
(schema_type)
backend/src/flashcards/ai_config.py:7
↓ 2 callersFunctioncreateCard
(collectionId: string, data: CardCreate)
frontend/src/services/cards.ts:15
↓ 2 callersFunctioncreateCollection
(data: CollectionCreate)
frontend/src/services/collections.ts:15
↓ 2 callersFunctioncreate_cards
(db, collection, num_cards)
backend/tests/stats/utils.py:4
↓ 2 callersFunctioncreate_content_config
( temperature: float = DEFAULT_TEMPERATURE, top_p: float = DEFAULT_TOP_P, top_k: int = DEFAULT_TOP
backend/src/ai_models/gemini/config.py:37
↓ 2 callersFunctioncreate_practice_cards
(db, sessions, cards)
backend/tests/stats/utils.py:31
↓ 2 callersFunctioncreate_sessions
(db, user_id, collection, num_sessions, num_cards)
backend/tests/stats/utils.py:14
↓ 2 callersMethodgetAll
(collectionId: string)
frontend/src/repositories/card/CardRepository.ts:4
↓ 2 callersMethodgetById
(collectionId: string, id: string)
frontend/src/repositories/card/CardRepository.ts:5
↓ 2 callersFunctiongetNextPracticeCard
( sessionId: string, )
frontend/src/services/practiceSessions.ts:11
↓ 2 callersFunctionget_ai_usage_quota_for_user
(user: User)
backend/src/users/services.py:51
↓ 2 callersFunctionget_card
(session: Session, card_id: uuid.UUID)
backend/src/flashcards/services.py:106
↓ 2 callersFunctionget_card_by_id
(session: Session, card_id: uuid.UUID)
backend/src/flashcards/services.py:370
↓ 2 callersFunctionget_collection_stats
( session: Session, collection_id: uuid.UUID, limit: int = 30 )
backend/src/stats/services.py:114
↓ 2 callersFunctionget_password_hash
(password: str)
backend/src/auth/services.py:68
↓ 2 callersFunctionget_practice_card
( session: Session, practice_session_id: uuid.UUID, card_id: uuid.UUID, )
backend/src/flashcards/services.py:328
↓ 2 callersFunctionget_practice_sessions
( session: Session, user_id: uuid.UUID, skip: int = 0, limit: int = 100 )
backend/src/flashcards/services.py:197
↓ 2 callersFunctionget_user_by_email
(*, session: Session, email: str)
backend/src/users/services.py:45
↓ 2 callersFunctioninit
(db_engine: Engine)
backend/tests/tests_pre_start.py:22
↓ 2 callersFunctioninit_db
(session: Session)
backend/src/core/db.py:14
↓ 2 callersFunctioninitializeAnalytics
()
frontend/src/components/commonUI/AnalyticsConsent.tsx:25
↓ 2 callersFunctionisBlob
(value: any)
frontend/src/client/core/request.ts:19
↓ 2 callersFunctionisSuccess
(status: number)
frontend/src/client/core/request.ts:27
↓ 2 callersFunctionlogout
()
frontend/src/hooks/useAuthContext.tsx:48
↓ 2 callersFunctiononSubmit
(data)
frontend/src/routes/_publicLayout/login.tsx:43
↓ 2 callersFunctionprocess
(key: string, value: unknown)
frontend/src/client/core/request.ts:88
↓ 2 callersFunctionremoveIncompletePracticeSessionsForCollection
(collectionId: string)
frontend/src/data/localDB/cards.ts:4
↓ 2 callersMethodrun_model
( self, content_config: types.GenerateContentConfig, prompt: str )
backend/src/ai_models/gemini/provider.py:23
↓ 2 callersFunctionsetGuestMode
(value: boolean)
frontend/src/hooks/useAuthContext.tsx:38
↓ 2 callersMethodsubmitCardResult
(sessionId: string, cardId: string, isCorrect: boolean)
frontend/src/repositories/practiceSession/PracticeSessionRepository.ts:6
↓ 2 callersFunctionupdate_card
(session: Session, card: Card, card_in: CardUpdate)
backend/src/flashcards/services.py:153
↓ 2 callersFunctionuseCard
(collectionId: string, cardId?: string)
frontend/src/hooks/useCard.ts:17
↓ 2 callersFunctionuseTextCounter
(editor: Editor | null, setTextLength: (length: number) => void)
frontend/src/hooks/useTextCounter.tsx:7
↓ 1 callersFunction_add_card_to_ongoing_sessions
(session: Session, card: Card)
backend/src/flashcards/services.py:121
↓ 1 callersFunction_create
(user_id, num_cards=5, num_sessions=10)
backend/tests/stats/test_services.py:42
↓ 1 callersFunction_create_practice_cards
( session: Session, practice_session: PracticeSession, cards: list[Card] )
backend/src/flashcards/services.py:238
↓ 1 callersFunction_get_uncompleted_session
( session: Session, collection_id: uuid.UUID, user_id: uuid.UUID )
backend/src/flashcards/services.py:222
↓ 1 callersFunction_remove_incomplete_practice_sessions
(session: Session, card: Card)
backend/src/flashcards/services.py:164
↓ 1 callersFunctionbase64
(str: string)
frontend/src/client/core/request.ts:31
↓ 1 callersFunctioncalculateAverageAccuracy
( sessions: PracticeSessionStats[] | undefined, )
frontend/src/utils/stats.ts:3
↓ 1 callersFunctioncalculateLearningTrend
( sessions: PracticeSessionStats[] | undefined, )
frontend/src/utils/stats.ts:21
↓ 1 callersFunctioncatchErrorCodes
(options: ApiRequestOptions, result: ApiResult)
frontend/src/client/core/request.ts:245
↓ 1 callersFunctionclean_orphaned_records
Clean up orphaned records that would violate new foreign key constraints
backend/src/alembic/versions/cb7e65c8085b_add_user_cascade_delete_relationships.py:22
↓ 1 callersFunctioncollection_response_schema
(schema_type)
backend/src/flashcards/ai_config.py:22
↓ 1 callersFunctionconfirmPasswordRules
(getValues: () => unknown, isRequired = true)
frontend/src/utils.ts:38
↓ 1 callersMethodcreateCard
* Create Card * @param data The data for the request. * @param data.collectionId * @param data.requestBody * @returns Card Successful Resp
frontend/src/client/sdk.gen.ts:198
↓ 1 callersMethodcreateCollection
* Create Collection * @param data The data for the request. * @param data.requestBody * @returns Collection Successful Response * @throws
frontend/src/client/sdk.gen.ts:79
↓ 1 callersFunctioncreatePracticeCardsForSession
(sessionId: string, cards: LocalCard[])
frontend/src/data/localDB/practiceSessions.ts:56
↓ 1 callersFunctioncreatePracticeSession
( collectionId: string, totalCards: number, now: number, )
frontend/src/data/localDB/practiceSessions.ts:35
↓ 1 callersFunctioncreate_access_token
(subject: str | Any, expires_delta: timedelta)
backend/src/auth/services.py:61
next →1–100 of 539, ranked by callers