MCPcopy Create free account

hub / github.com/aptabase/aptabase / functions

Functions669 in github.com/aptabase/aptabase

↓ 40 callersMethodAdd
(ref TrackingEvent @event)
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:5
↓ 21 callersMethodExecuteAsync
(CancellationToken cancellationToken)
src/Features/Billing/TrialExpiredCronJob.cs:16
↓ 20 callersMethodGetCurrentUserIdentity
(this Controller controller)
src/Features/Authentication/AuthExtensions.cs:12
↓ 20 callersFunctionuseApps
()
src/webapp/features/apps/AppsProvider.tsx:83
↓ 15 callersMethodCreateClient
()
tests/IntegrationTests/IntegrationTestsFixture.cs:18
↓ 15 callersFunctionget
(path: string, params?: Record<string, any>)
src/webapp/fns/api.ts:46
↓ 13 callersMethodParse
()
src/Features/Stats/StatsController.cs:180
↓ 13 callersFunctionformatNumber
(value: number | undefined, format?: "number" | "duration")
src/webapp/fns/format-number.ts:25
↓ 12 callersMethodCreateApp
(string name)
tests/IntegrationTests/Clients/AccountClient.cs:27
↓ 12 callersMethodTrackEvent
(DateTime timestamp, string eventName, object? props)
tests/IntegrationTests/Clients/IngestionClient.cs:39
↓ 11 callersMethodWithNanoIdColumn
(this ICreateTableWithColumnSyntax tableWithColumnSyntax, string name)
src/Data/Migrations/MigrationExtensions.cs:8
↓ 10 callersFunctionuseCurrentApp
()
src/webapp/features/apps/AppsProvider.tsx:92
↓ 8 callersMethodFindByAppKey
(string appKey, CancellationToken cancellationToken)
src/Features/Ingestion/IngestionCache.cs:44
↓ 8 callersFunctionformatDate
(value: Date | string | undefined)
src/webapp/fns/format-date.ts:5
↓ 7 callersMethodFlushEvents
()
src/Features/Ingestion/Buffer/EventBackgroundWritter.cs:49
↓ 7 callersMethodResolveClientIpAddress
(this HttpContext httpContext)
src/Extensions/HttpExtensions.cs:5
↓ 7 callersMethodWithTimestamps
(this ICreateTableWithColumnSyntax tableWithColumnSyntax)
src/Data/Migrations/MigrationExtensions.cs:16
↓ 6 callersMethodCountEvents
(string appId, string period)
tests/IntegrationTests/Clients/AccountClient.cs:42
↓ 6 callersFunctionformatTime
(value: Date | string | undefined)
src/webapp/fns/format-date.ts:11
↓ 6 callersFunctiontoggleMinimize
(widgetId: string)
src/webapp/features/analytics/DashboardPage.tsx:64
↓ 5 callersMethodGetActiveAppByAppKey
(string appKey, CancellationToken cancellationToken)
src/Features/Apps/AppQueries.cs:33
↓ 5 callersMethodNew
(string preffix)
src/Data/NanoId.cs:10
↓ 5 callersMethodSet
(string key, string value, TimeSpan ttl)
src/Features/Cache/CacheService.cs:9
↓ 5 callersFunction_fetch
(method: string, path: string, body?: any)
src/webapp/fns/api.ts:36
↓ 5 callersFunctionformatPeriod
(granularity: "hour" | "day" | "month", period: string)
src/webapp/fns/format-date.ts:19
↓ 5 callersFunctionhandleError
(status: number, response: Response)
src/webapp/fns/api.ts:3
↓ 5 callersFunctionuseChartColors
()
src/webapp/features/theme/useChartColors.ts:49
↓ 4 callersMethodCreate
([FromBody] CreateAppRequestBody body)
src/Features/Apps/AppsController.cs:104
↓ 4 callersMethodPostAsync
(string path, IEnumerable<EventRow> rows, CancellationToken ct = default)
src/Features/Ingestion/Buffer/TinybirdIngestionClient.cs:42
↓ 4 callersMethodSendEmailAsync
(string to, string subject, string templateName, Dictionary<string, string>? properties, CancellationToken can
src/Features/Notification/IEmailClient.cs:5
↓ 4 callersMethodWrite
(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
src/Features/Stats/TinybirdDateTimeJsonConverter.cs:27
↓ 4 callersFunctionatomWithSearchParam
(eventName: string)
src/webapp/atoms/location-atoms.ts:6
↓ 4 callersFunctionupdateFilters
(newFilters: Partial<TopFilterValue>)
src/webapp/features/analytics/sessions/UsersSessionsFilters.tsx:33
↓ 3 callersMethodAddRange
(ref TrackingEvent[] events)
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:6
↓ 3 callersMethodCreateClient
()
src/Features/Notification/SESEmailClient.cs:26
↓ 3 callersMethodEnsureSuccessWithLog
(this HttpResponseMessage response, ILogger logger)
src/Extensions/HttpExtensions.cs:27
↓ 3 callersMethodMaskAsOnboarded
(string appId, CancellationToken cancellationToken)
src/Features/Apps/AppQueries.cs:50
↓ 3 callersMethodRender
(string name, string subject, Dictionary<string, string>? properties)
src/Features/Notification/TemplateEngine.cs:12
↓ 3 callersMethodSetSessionId
(string? value)
tests/IntegrationTests/Clients/IngestionClient.cs:34
↓ 3 callersMethodSplitProps
()
src/Features/Ingestion/EventBody.cs:57
↓ 3 callersMethodStreamResponseAsync
(string query, CancellationToken cancellationToken)
src/Features/Stats/IQueryClient.cs:7
↓ 3 callersMethodTrackEvents
(IEnumerable<(DateTime, string, object?)> events)
tests/IntegrationTests/Clients/IngestionClient.cs:49
↓ 3 callersFunctionatomWithLocalAndUrlPersistence
(key: string, initialValue: T)
src/webapp/atoms/date-atoms.ts:78
↓ 3 callersFunctioncreateApp
(name: string)
src/webapp/features/apps/apps.ts:22
↓ 3 callersFunctionperiodicStats
(params: QueryParams)
src/webapp/features/analytics/query.ts:85
↓ 3 callersFunctionuseBilling
()
src/webapp/features/billing/useBilling.tsx:27
↓ 3 callersFunctionuseTheme
()
src/webapp/features/theme/ThemeProvider.tsx:40
↓ 2 callersMethodComputeHash
(Span<byte> salt, byte[] bytes)
src/Features/Privacy/DailyUserHasher.cs:44
↓ 2 callersMethodCreateAccount
(string name, string email)
tests/IntegrationTests/Clients/AccountClient.cs:17
↓ 2 callersMethodCreateAuthToken
(AuthTokenType type, string name, string email)
src/Features/Authentication/AuthTokenManager.cs:38
↓ 2 callersMethodExecuteAsync
(CancellationToken cancellationToken)
src/Features/Privacy/PurgeDailySaltsCronJob.cs:16
↓ 2 callersMethodExists
(string key)
src/Features/Cache/CacheService.cs:10
↓ 2 callersMethodFindOrCreateAccountWithOAuthAsync
(string name, string email, string providerName, string providerUid, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:182
↓ 2 callersMethodFindUserByIdAsync
(string id, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:170
↓ 2 callersMethodGetByVariantId
(long variantId)
src/Features/Billing/Subscription.cs:53
↓ 2 callersMethodGetClientLocation
(HttpContext httpContext)
src/Features/GeoIP/IGeoIPClient.cs:28
↓ 2 callersMethodGetKeyMetrics
(string appId, string period)
tests/IntegrationTests/Clients/AccountClient.cs:37
↓ 2 callersMethodGetOwnedAppAsync
(string appId, string userId)
src/Features/Apps/AppQueries.cs:60
↓ 2 callersMethodGetOwnedAppIds
(UserIdentity user)
src/Features/Billing/BillingQueries.cs:48
↓ 2 callersMethodGetUserSubscription
(UserIdentity user)
src/Features/Billing/BillingQueries.cs:32
↓ 2 callersMethodIsAuthenticated
(this HttpContext context)
src/Features/Authentication/AuthExtensions.cs:7
↓ 2 callersMethodIsValid
(ILogger logger)
src/Features/Ingestion/EventBody.cs:92
↓ 2 callersMethodMigrateUp
()
src/Data/ClickHouseMigrationRunner.cs:25
↓ 2 callersMethodNewSessionId
()
tests/IntegrationTests/Clients/IngestionClient.cs:27
↓ 2 callersMethodParseBrowser
(string userAgent)
src/Features/Ingestion/UserAgentParser.cs:53
↓ 2 callersMethodTakeAll
()
src/Features/Ingestion/Buffer/InMemoryEventBuffer.cs:8
↓ 2 callersFunctiondeleteApp
(appId: string)
src/webapp/features/apps/apps.ts:33
↓ 2 callersFunctiondownload
(fullMonth?: Props["months"][number], startDate?: Date, endDate?: Date)
src/webapp/features/export/YearlyGrid.tsx:24
↓ 2 callersFunctionhandleSelect
(value: string)
src/webapp/features/analytics/sessions/filters/FilterDropdownFancy.tsx:34
↓ 2 callersFunctionkeyMetrics
(params: QueryParams)
src/webapp/features/analytics/query.ts:72
↓ 2 callersFunctionrefetchApps
()
src/webapp/features/apps/AppsProvider.tsx:54
↓ 2 callersFunctionupdateApp
(appId: string, name: string, icon: string)
src/webapp/features/apps/apps.ts:29
↓ 2 callersFunctionupdateTheme
(theme: Theme)
src/webapp/features/theme/ThemeProvider.tsx:5
↓ 2 callersFunctionuseAuth
()
src/webapp/features/auth/AuthProvider.tsx:32
↓ 2 callersFunctionuseAuthState
()
src/webapp/features/auth/AuthProvider.tsx:28
↓ 2 callersFunctionuseDelay
(delayMs: number)
src/webapp/hooks/use-delay.ts:3
↓ 2 callersFunctionuseLocalStorage
(key: string, initialValue: T)
src/webapp/hooks/use-localstorage.ts:3
↓ 2 callersFunctionuseSupport
()
src/webapp/features/support/useSupport.tsx:7
↓ 1 callersMethodAddDefaultHealthChecks
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:81
↓ 1 callersMethodAddEmailClient
(this IServiceCollection services, EnvSettings env)
src/Features/Notification/NotificationExtensions.cs:5
↓ 1 callersMethodAddGeoIPClient
(this IServiceCollection services, EnvSettings env)
src/Features/GeoIP/GeoIPExtensions.cs:5
↓ 1 callersMethodAddGitHub
(this AuthenticationBuilder builder, EnvSettings env)
src/Features/Authentication/OAuthExtensions.cs:46
↓ 1 callersMethodAddGoogle
(this AuthenticationBuilder builder, EnvSettings env)
src/Features/Authentication/OAuthExtensions.cs:117
↓ 1 callersMethodAddLemonSqueezy
(this IServiceCollection services, EnvSettings env)
src/Features/Billing/LemonSqueezy/LemonSqueezyExtensions.cs:7
↓ 1 callersMethodAddOpenTelemetryExporters
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:62
↓ 1 callersMethodAddServiceDefaults
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:14
↓ 1 callersMethodBulkSendEventAsync
(IEnumerable<EventRow> rows, CancellationToken ct = default)
src/Features/Ingestion/Buffer/IIngestionClient.cs:6
↓ 1 callersMethodCalculateHash
(DateTime timestamp, string appId, string sessionId, string clientIP, string userAgent)
src/Features/Privacy/DailyUserHasher.cs:12
↓ 1 callersMethodCloneToPreviousInterval
()
src/Features/Stats/StatsController.cs:135
↓ 1 callersMethodConfigureOpenTelemetry
(this IHostApplicationBuilder builder)
src/Extensions/TelemetryExtensions.cs:34
↓ 1 callersMethodCreateAccountAsync
(string name, string email, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:86
↓ 1 callersMethodCreateCheckout
(UserIdentity user, CancellationToken cancellationToken)
src/Features/Billing/LemonSqueezy/LemonSqueezyClient.cs:26
↓ 1 callersMethodDeleteUserByIdAsync
(string id, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:138
↓ 1 callersMethodDownloadAsync
(string path, CancellationToken cancellationToken)
src/Features/Blob/IBlobService.cs:13
↓ 1 callersMethodExecuteAsync
(CancellationToken stoppingToken)
src/Features/Ingestion/Buffer/EventBackgroundWritter.cs:24
↓ 1 callersMethodFindUserByEmailAsync
(string email, CancellationToken cancellationToken)
src/Features/Authentication/AuthService.cs:176
↓ 1 callersMethodFormatLocale
Validates and formats a locale string Return a lowercase locale string Return empty string for empty or the special 'C' locale Returns null for invali
src/Features/Ingestion/LocaleFormatter.cs:18
↓ 1 callersMethodGetAppInfo
()
tools/DemoDataGenerator/DemoDataSource.cs:204
↓ 1 callersMethodGetBillingPortalUrl
(long subscriptionId, CancellationToken cancellationToken)
src/Features/Billing/LemonSqueezy/LemonSqueezyClient.cs:71
↓ 1 callersMethodGetBillingUsageByApp
(int year, int month)
src/Features/Billing/BillingQueries.cs:55
next →1–100 of 669, ranked by callers