MCPcopy Create free account

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

Functions539 in github.com/0010aor/FlashNotes

MethodgetNextCard
(sessionId: string)
frontend/src/repositories/practiceSession/ApiPracticeSessionRepository.ts:12
MethodgetNextCard
(sessionId: string)
frontend/src/repositories/practiceSession/LocalPracticeSessionRepository.ts:43
FunctiongetNextLocalPracticeCard
( sessionId: string, )
frontend/src/data/localDB/practiceSessions.ts:92
FunctiongetPracticeCardsForSession
( sessionId: string, )
frontend/src/data/localDB/practiceSessions.ts:112
MethodgetPracticeSessionStatus
* Get Practice Session Status * Get practice session status and statistics * @param data The data for the request. * @param data.practiceSess
frontend/src/client/sdk.gen.ts:345
Functionget_collection_statistics_endpoint
( session: SessionDep, current_user: CurrentUser, collection_id: uuid.UUID, limit: int = Query
backend/src/stats/api.py:16
Functionget_current_user
(session: SessionDep, token: TokenDep)
backend/src/auth/services.py:26
Functionget_db
()
backend/src/core/db.py:30
Functionget_my_ai_usage_quota
(current_user: CurrentUser)
backend/src/users/api.py:44
Functionget_practice_session_status
Get practice session status and statistics
backend/src/flashcards/api.py:264
Functionget_provider
()
backend/src/ai_models/gemini/provider.py:50
Functionget_user_by_id
(*, session: Session, user_id: uuid.UUID)
backend/src/users/services.py:39
FunctionhandleAccept
()
frontend/src/components/commonUI/AnalyticsConsent.tsx:37
FunctionhandleApiError
(error: Error)
frontend/src/main.tsx:19
FunctionhandleClose
()
frontend/src/components/commonUI/AnalyticsConsent.tsx:48
FunctionhandleClose
()
frontend/src/routes/_layout/collections/$collectionId/cards/new.tsx:20
FunctionhandleDecline
()
frontend/src/components/commonUI/AnalyticsConsent.tsx:43
FunctionhandleDeleteCard
(cardId: string)
frontend/src/routes/_layout/collections/$collectionId/index.tsx:42
FunctionhandleDeleteCollection
(collectionId: string)
frontend/src/routes/_layout/collections/index.tsx:80
FunctionhandleEdit
()
frontend/src/components/collections/CollectionListItem.tsx:20
FunctionhandleError
( err: ApiError, showToast: (title: string, message: string, type: string) => void, )
frontend/src/utils.ts:60
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
frontend/src/components/collections/CollectionListItem.tsx:31
FunctionhandleKeyDown
(event: { key: string; preventDefault: () => void })
frontend/src/components/commonUI/AiPromptDialog.tsx:66
FunctionhandleKeyDown
(e: React.KeyboardEvent)
frontend/src/routes/_layout/collections/$collectionId/cards/$cardId.tsx:46
FunctionhandleLogin
()
frontend/src/components/commonUI/GuestModeNotice.tsx:12
FunctionhandleLogout
()
frontend/src/components/commonUI/Drawer.tsx:72
FunctionhandleNavigate
()
frontend/src/components/commonUI/Drawer.tsx:70
FunctionhandleOpenChange
(detail: OpenChangeDetails)
frontend/src/components/commonUI/AiPromptDialog.tsx:60
FunctionhandleStorage
(e: StorageEvent)
frontend/src/hooks/useAuthContext.tsx:25
FunctionhandleTryAsGuest
()
frontend/src/routes/_publicLayout/index.tsx:21
FunctionhandleUpdate
({ editor: currentEditor }: { editor: Editor })
frontend/src/hooks/useTextCounter.tsx:48
MethodisCancelled
()
frontend/src/client/core/CancelablePromise.ts:7
MethodisCancelled
()
frontend/src/client/core/CancelablePromise.ts:123
MethodlistPracticeSessions
* List Practice Sessions * List all practice sessions for the current user * @param data The data for the request. * @param data.skip * @p
frontend/src/client/sdk.gen.ts:321
Functionlist_practice_cards
List practice cards for a session, optionally filtering and ordering.
backend/src/flashcards/api.py:285
Functionlist_practice_sessions
List all practice sessions for the current user
backend/src/flashcards/api.py:247
Functionlogin
(data: AccessToken)
frontend/src/hooks/useAuth.ts:71
Functionlogin_access_token
( session: SessionDep, form_data: Annotated[OAuth2PasswordRequestForm, Depends()] )
backend/src/auth/api.py:17
Functionmock_collection
()
backend/tests/flashcards/collection/test_api.py:50
Functionmock_completed_session
()
backend/tests/flashcards/practice_session/test_api.py:66
Functionmock_get_provider
()
backend/tests/flashcards/practice_session/test_services.py:29
Functionmultiple_collections
Create multiple collections for a user.
backend/tests/flashcards/test_cascade_delete.py:81
Functionmultiple_practice_sessions
( client: TestClient, normal_user_token_headers: dict[str, str] )
backend/tests/flashcards/practice_session/test_api.py:102
Functionnormal_user_token_headers
(client: TestClient, db: Session)
backend/tests/conftest.py:46
MethodonCancel
(cancelHandler: () => void)
frontend/src/client/core/CancelablePromise.ts:60
MethodonReject
(reason?: unknown)
frontend/src/client/core/CancelablePromise.ts:52
MethodonResolve
(value: T | PromiseLike<T>)
frontend/src/client/core/CancelablePromise.ts:44
FunctiononSubmit
(data)
frontend/src/routes/_publicLayout/signup.tsx:49
Functionparse_cors
(v: Any)
backend/src/core/config.py:17
MethodreadUserMe
* Read User Me * Get current user. * @returns UserPublic Successful Response * @throws ApiError
frontend/src/client/sdk.gen.ts:478
Functionread_card
( session: SessionDep, current_user: CurrentUser, collection_id: uuid.UUID, card_id: uuid.UUID
backend/src/flashcards/api.py:172
Functionread_cards
( session: SessionDep, current_user: CurrentUser, collection_id: uuid.UUID, skip: int = 0,
backend/src/flashcards/api.py:124
Functionread_collection
( session: SessionDep, current_user: CurrentUser, collection_id: uuid.UUID )
backend/src/flashcards/api.py:82
Functionread_collections
( session: SessionDep, current_user: CurrentUser, skip: int = 0, limit: int = 100 )
backend/src/flashcards/api.py:35
Functionread_user_me
Get current user.
backend/src/users/api.py:15
Functionregister_user
Create new user without the need to be logged in.
backend/src/users/api.py:23
FunctionrenameCollection
(collectionId: string, newName: string)
frontend/src/routes/_layout/collections/index.tsx:71
Functionrequest
( config: OpenAPIConfig, options: ApiRequestOptions<T>, axiosClient: AxiosInstance = axios, )
frontend/src/client/core/request.ts:322
FunctionsendRequest
( config: OpenAPIConfig, options: ApiRequestOptions<T>, url: string, body: unknown, formData: FormDa
frontend/src/client/core/request.ts:187
Methodstart
(collectionId: string)
frontend/src/repositories/practiceSession/ApiPracticeSessionRepository.ts:6
Methodstart
(collectionId: string)
frontend/src/repositories/practiceSession/LocalPracticeSessionRepository.ts:33
FunctionstartLocalPracticeSession
( collectionId: string, )
frontend/src/data/localDB/practiceSessions.ts:67
Functionstart_practice_session
Start a new practice session for a collection
backend/src/flashcards/api.py:225
FunctionsubmitCardResult
(sessionId: string, cardId: string, isCorrect: boolean)
frontend/src/data/localDB/practiceSessions.ts:164
MethodsubmitCardResult
(sessionId: string, cardId: string, isCorrect: boolean)
frontend/src/repositories/practiceSession/ApiPracticeSessionRepository.ts:23
MethodsubmitCardResult
(sessionId: string, cardId: string, isCorrect: boolean)
frontend/src/repositories/practiceSession/LocalPracticeSessionRepository.ts:47
Functionsuperuser_token_headers
(client: TestClient, db: Session)
backend/tests/conftest.py:41
Functiontest_authenticate_user
(db: Session)
backend/tests/auth/test_services.py:11
Functiontest_card
(db: Session, test_collection: Collection)
backend/tests/flashcards/conftest.py:77
Functiontest_card
Create a testing card
backend/tests/flashcards/card/test_api.py:29
Functiontest_cards
Create test cards for a collection.
backend/tests/flashcards/test_cascade_delete.py:33
Functiontest_check_and_increment_ai_usage_quota_first_time
(db, test_user)
backend/tests/users/test_services.py:119
Functiontest_check_and_increment_ai_usage_quota_max_count_reached
(db, test_user)
backend/tests/users/test_services.py:124
Functiontest_check_and_increment_ai_usage_quota_near_limit
Test that quota checking works correctly near the limit.
backend/tests/users/test_services.py:163
Functiontest_check_and_increment_ai_usage_quota_reset_count
(db, test_user)
backend/tests/users/test_services.py:140
Functiontest_check_collection_access
(db: Session, test_collection: Collection)
backend/tests/flashcards/collection/test_services.py:119
Functiontest_check_collection_access_with_nonexistent_collection
( db: Session, test_user: dict[str, Any] )
backend/tests/flashcards/collection/test_services.py:127
Functiontest_check_collection_access_with_other_user
( db: Session, test_collection: Collection, test_other_user: dict[str, Any] )
backend/tests/flashcards/collection/test_services.py:138
Functiontest_check_if_user_is_active
(db: Session)
backend/tests/users/test_services.py:30
Functiontest_check_if_user_is_active_inactive
(db: Session)
backend/tests/users/test_services.py:38
Functiontest_check_if_user_is_superuser
(db: Session)
backend/tests/users/test_services.py:46
Functiontest_check_if_user_is_superuser_normal_user
(db: Session)
backend/tests/users/test_services.py:54
Functiontest_collection
Create a test collection for cascade tests.
backend/tests/flashcards/test_cascade_delete.py:23
Functiontest_collection
(db: Session, test_user: dict[str, Any])
backend/tests/flashcards/conftest.py:39
Functiontest_collection
Create a testing collection
backend/tests/flashcards/collection/test_api.py:14
Functiontest_collection
Create a testing collection
backend/tests/flashcards/card/test_api.py:13
Functiontest_collection
Create a testing collection
backend/tests/flashcards/practice_session/test_api.py:20
Functiontest_collection_cascade_delete_cards
Test that deleting a collection cascades to its cards.
backend/tests/flashcards/test_cascade_delete.py:106
Functiontest_collection_cascade_delete_practice_sessions
Test that deleting a collection cascades to practice sessions, practice cards, and cards.
backend/tests/flashcards/test_cascade_delete.py:158
Functiontest_collection_with_multiple_cards
( db: Session, test_user: dict[str, Any] )
backend/tests/flashcards/conftest.py:47
Functiontest_create_access_token
(db: Session)
backend/tests/auth/test_services.py:28
Functiontest_create_card
(db: Session, test_collection: Collection)
backend/tests/flashcards/card/test_services.py:18
Functiontest_create_card_with_nonexistent_collection
( client: TestClient, normal_user_token_headers: dict[str, str] )
backend/tests/flashcards/card/test_api.py:70
Functiontest_create_card_with_prompt_ai
( client: TestClient, normal_user_token_headers: dict[str, str], test_collection: dict[str, Any],
backend/tests/flashcards/card/test_api.py:386
Functiontest_create_card_with_prompt_too_long
( client: TestClient, normal_user_token_headers: dict[str, str], test_collection: dict[str, Any],
backend/tests/flashcards/card/test_api.py:415
Functiontest_create_collection
(db: Session, test_user: dict[str, Any])
backend/tests/flashcards/collection/test_services.py:18
Functiontest_create_collection_with_ai_generation_error
( client: TestClient, normal_user_token_headers: dict[str, str] )
backend/tests/flashcards/collection/test_api.py:111
Functiontest_create_collection_with_prompt
( client: TestClient, normal_user_token_headers: dict[str, str], mock_collection: Collection, )
backend/tests/flashcards/collection/test_api.py:74
Functiontest_create_user
(db: Session)
backend/tests/users/test_services.py:21
Functiontest_delete_card
(db: Session, test_collection: Collection, test_card: Card)
backend/tests/flashcards/card/test_services.py:148
← previousnext →301–400 of 539, ranked by callers