MCPcopy Create free account

hub / github.com/Sagyam/linite / functions

Functions462 in github.com/Sagyam/linite

↓ 190 callersFunctionrenderWithProviders
( ui: ReactElement, options: CustomRenderOptions = {} )
src/test/component-utils.tsx:232
↓ 122 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 81 callersMethodset
(key: string, data: T)
src/services/external-apis/types.ts:69
↓ 64 callersMethodget
(key: string)
src/services/external-apis/types.ts:57
↓ 57 callersFunctionerrorResponse
(message: string, status: number = 400)
src/lib/api-utils.ts:61
↓ 48 callersFunctionsuccessResponse
(data: T, status: number = 200)
src/lib/api-utils.ts:65
↓ 38 callersMethodget
* GET request
src/lib/api-client.ts:44
↓ 37 callersFunctioncreateMockAppWithRelations
( overrides?: Partial<AppWithRelations> )
src/test/component-utils.tsx:122
↓ 29 callersFunctionuseDialogs
()
src/hooks/use-dialogs.ts:35
↓ 29 callersFunctionuseFilters
(options: UseFiltersOptions = {})
src/hooks/use-filters.ts:30
↓ 28 callersFunctioncreateCRUDHandlers
( config: CRUDConfig<TUpdateInput, TRecord> )
src/lib/crud-factory.ts:103
↓ 28 callersFunctionsetupSelectionStore
(options: { apps?: string[]; categories?: Map<string, string>; distro?: string; sourcePreference?: str
src/test/component-utils.tsx:383
↓ 26 callersMethodfindMany
* Find all records with optional filtering and pagination
src/repositories/base.repository.ts:39
↓ 25 callersFunctioncreateMockRequest
(options: { url?: string; method?: string; headers?: Record<string, string>; body?: unknown;
src/lib/api-middleware.test.ts:47
↓ 24 callersFunctioncreateMockResponse
(data: T, status = 200, ok = true)
src/test/component-utils.tsx:272
↓ 24 callersFunctionuseDebounce
(value: T, delay: number = 500)
src/hooks/use-debounce.ts:5
↓ 23 callersMethodfindFirst
* Find a single record by condition
src/repositories/base.repository.ts:59
↓ 22 callersFunctioncreateCrudHooks
(config: CrudConfig)
src/hooks/use-crud.ts:23
↓ 21 callersFunctioncreateContext
(id: string)
src/lib/crud-factory.test.ts:66
↓ 20 callersFunctioncreateApiHandler
( config: ApiMiddlewareConfig<BodySchema, QuerySchema>, handler: ApiHandler<Context> )
src/lib/api-middleware.ts:48
↓ 20 callersFunctiongenerateUninstallCommands
( request: GenerateUninstallCommandRequest )
src/services/uninstall-command-generator.ts:47
↓ 19 callersMethoddelete
* Delete a record by ID
src/repositories/base.repository.ts:136
↓ 18 callersFunctionuploadImageFromUrl
( imageUrl: string, slug: string, prefix: string = 'app-icons', skipIfExists: boolean = false )
src/lib/blob.ts:336
↓ 17 callersFunctioncreateSuccessResponse
(data: unknown = { success: true })
src/lib/api-middleware.test.ts:64
↓ 17 callersFunctionmockGlobalFetch
()
src/test/component-utils.tsx:263
↓ 17 callersFunctionuseApps
(params: AppsQueryParams = {}, initialData?: InitialData)
src/hooks/use-apps.ts:29
↓ 17 callersFunctionuseClipboard
(options: UseClipboardOptions = {})
src/hooks/use-clipboard.ts:12
↓ 16 callersFunctioncreateAuthValidatedApiHandler
( bodySchema: ZodSchema<BodySchema>, handler: ValidatedApiHandler<BodySchema, Context> )
src/lib/api-middleware.ts:166
↓ 16 callersFunctionuseCommand
()
src/hooks/use-command.ts:40
↓ 15 callersFunctioncreateWrapper
()
src/hooks/use-command.test.ts:25
↓ 15 callersFunctioncreateWrapper
()
src/hooks/use-apps.test.ts:26
↓ 15 callersFunctionrequireUser
(request: NextRequest)
src/lib/api-utils.ts:30
↓ 15 callersFunctionwaitForAsync
()
src/test/component-utils.tsx:449
↓ 14 callersMethodclear
()
src/services/external-apis/types.ts:78
↓ 14 callersFunctioncreateAuthApiHandler
( handler: ApiHandler<Context> )
src/lib/api-middleware.ts:131
↓ 14 callersFunctiongenerateInstallCommands
( request: GenerateCommandRequest )
src/services/command-generator.ts:42
↓ 14 callersMethodupdate
* Update a record by ID
src/repositories/base.repository.ts:118
↓ 14 callersFunctionuseMultiClipboard
(options: UseClipboardOptions = {})
src/hooks/use-clipboard.ts:38
↓ 13 callersFunctioncreatePublicApiHandler
( handler: ApiHandler<Context> )
src/lib/api-middleware.ts:117
↓ 13 callersFunctioncreateWrapper
()
src/hooks/use-crud.test.ts:20
↓ 13 callersFunctionoptionalString
(maxLength: number, fieldName: string)
src/lib/validation/common.ts:30
↓ 13 callersFunctionparsePackageMetadata
(metadata: unknown)
src/lib/package-metadata.ts:34
↓ 13 callersFunctionsearchFlathub
(query: string)
src/services/external-apis/flathub.ts:19
↓ 12 callersFunctiongetUnique
(base: string)
src/services/external-apis/snapcraft.test.ts:8
↓ 12 callersFunctionsearchRepology
(projectName: string)
src/services/external-apis/repology.ts:67
↓ 12 callersFunctionuseInstallationKeyboardNavigation
( installations: InstallationWithRelations[], options?: UseInstallationKeyboardNavigationOptions )
src/hooks/use-installation-keyboard-navigation.ts:16
↓ 11 callersMethodbulkDeleteInstallations
* Bulk delete installation records (with user ownership check for all)
src/services/installation-history.service.ts:227
↓ 11 callersFunctioncreateMockPackageWithRelations
( overrides?: Partial<PackageWithRelations> )
src/test/component-utils.tsx:137
↓ 11 callersMethodfindBySlug
* Find app by slug
src/repositories/apps.repository.ts:83
↓ 11 callersFunctionsearchSnapcraft
(query: string)
src/services/external-apis/snapcraft.ts:96
↓ 10 callersFunctioncreateWrapper
()
src/hooks/use-distros.test.ts:10
↓ 10 callersFunctionsearchAUR
(query: string)
src/services/external-apis/aur.ts:38
↓ 10 callersFunctionuseDistros
()
src/hooks/use-distros.ts:37
↓ 9 callersMethodfindWithFilters
* Find apps with filters
src/repositories/apps.repository.ts:27
↓ 9 callersFunctiongetUnique
(base: string)
src/services/external-apis/repology.test.ts:8
↓ 9 callersMethodgetUserInstallations
* Get all installations for a user with optional filtering
src/services/installation-history.service.ts:16
↓ 9 callersFunctionrequireCollectionOwnership
(collectionId: string, userId: string)
src/lib/api-utils.ts:45
↓ 9 callersFunctionuploadImage
( file: File, pathname?: string )
src/lib/blob.ts:50
↓ 8 callersFunctioncreateMockFile
( type: string, size: number = 1024, name: string = 'test.png' )
src/lib/blob.test.ts:101
↓ 8 callersMethodfindAllOrdered
* Find all sources ordered by priority
src/repositories/sources.repository.ts:19
↓ 8 callersMethodfindBySlugWithSources
* Find distro by slug with sources
src/repositories/distros.repository.ts:79
↓ 7 callersMethodcount
* Count records matching condition
src/repositories/base.repository.ts:92
↓ 7 callersFunctioncreateMockCategory
(overrides?: Partial<Category>)
src/test/component-utils.tsx:43
↓ 7 callersMethodfindById
* Find by ID
src/repositories/base.repository.ts:74
↓ 7 callersMethodgetInstallationById
* Get installation by ID (with user ownership check)
src/services/installation-history.service.ts:90
↓ 7 callersFunctionrequireAuth
(request: NextRequest)
src/lib/api-utils.ts:7
↓ 7 callersFunctiontoast
({ ...props }: Toast)
src/hooks/use-toast.ts:134
↓ 7 callersMethodupdateInstallation
* Update an installation record (with user ownership check)
src/services/installation-history.service.ts:171
↓ 6 callersFunctioncheckBlobExists
(pathname: string)
src/lib/blob.ts:312
↓ 6 callersFunctioncreateUpdateSchema
(createSchema: z.ZodObject<T>)
src/lib/validation/common.ts:44
↓ 6 callersFunctioncreateValidatedApiHandler
( bodySchema: ZodSchema<BodySchema>, handler: ValidatedApiHandler<BodySchema, Context>, config?: Omit<Ap
src/lib/api-middleware.ts:145
↓ 6 callersMethodfindAllWithSourcesNormalized
* Find all distros with their sources (normalized) * Applies default values and normalizes the data structure
src/repositories/distros.repository.ts:30
↓ 6 callersMethodfindPaginated
* Find with pagination metadata
src/repositories/base.repository.ts:158
↓ 6 callersMethodgetUserDevices
* Get unique devices for a user
src/services/installation-history.service.ts:267
↓ 6 callersFunctionoptionalUrl
(fieldName: string)
src/lib/validation/common.ts:37
↓ 5 callersFunctiondeleteImage
(url: string)
src/lib/blob.ts:133
↓ 5 callersMethoddeleteInstallation
* Delete an installation record (with user ownership check)
src/services/installation-history.service.ts:204
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:125
↓ 5 callersMethodexists
* Check if a record exists
src/repositories/base.repository.ts:150
↓ 5 callersFunctiongetRowIdForSelection
(row: TData)
src/components/admin/advanced-data-table.tsx:73
↓ 4 callersFunctioncalculateConfidence
( appName: string, appSlug: string, packageName: string, packageSummary?: string )
scripts/package-discovery/discover-packages.ts:102
↓ 4 callersMethodcleanup
* Remove expired entries
src/services/external-apis/types.ts:85
↓ 4 callersFunctioncreateErrorResponse
(message: string, status: number = 400)
src/lib/api-middleware.test.ts:67
↓ 4 callersMethodcreateInstallation
* Create a new installation record
src/services/installation-history.service.ts:148
↓ 4 callersFunctiongetContainerClient
* Get Azure Blob Container Client
src/lib/blob.ts:27
↓ 4 callersMethodhasApps
* Check if category has apps
src/repositories/categories.repository.ts:46
↓ 4 callersMethodhasPackages
* Check if a source has packages
src/repositories/sources.repository.ts:46
↓ 4 callersFunctionnormalizeForComparison
(str: string | null | undefined)
scripts/package-discovery/discover-packages.ts:108
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:42
↓ 3 callersFunctioncalculateRetryDelay
* Calculate retry delay with exponential backoff and jitter * @param attemptNumber - The current retry attempt (0-indexed) * @returns Delay in milli
src/lib/blob.ts:197
↓ 3 callersFunctioncreateCollection
(data: CreateCollectionData)
src/services/collection.service.ts:75
↓ 3 callersFunctioncreateFlexibleApiClient
(config: ExtendedApiConfig)
src/services/external-apis/api-client-factory.ts:37
↓ 3 callersFunctiondownloadScript
(content: string, filename: string, )
src/lib/script-generator.ts:231
↓ 3 callersMethodfindByIdWithApps
* Find category with apps
src/repositories/categories.repository.ts:37
↓ 3 callersMethodfindByIdWithPackages
* Find source with packages
src/repositories/sources.repository.ts:37
↓ 3 callersMethodfindPopular
* Find popular distros
src/repositories/distros.repository.ts:121
↓ 3 callersFunctiongetCheckboxProps
()
src/components/apps/app-card.tsx:61
↓ 3 callersFunctiongetCollectionById
( collectionId: string, userId?: string )
src/services/collection.service.ts:164
↓ 3 callersMethodisSlugAvailable
* Check if slug is available
src/repositories/apps.repository.ts:114
↓ 3 callersFunctionlistCollections
( options: ListCollectionsOptions )
src/services/collection.service.ts:299
next →1–100 of 462, ranked by callers