Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lifeforge-app/lifeforge
/ functions
Functions
1,110 in github.com/Lifeforge-app/lifeforge
⨍
Functions
1,110
◇
Types & classes
197
↓ 1 callers
Function
loadModuleRoutes
()
apps/api/src/core/functions/modules/loadModuleRoutes.ts:58
↓ 1 callers
Function
loadModules
( forgeAPI: any, coreModules: ModuleCategory['items'][number][] = [], devModeImports: Record<string, ()
packages/federation/src/loaders/loadModules.ts:41
↓ 1 callers
Function
main
()
apps/api/src/index.ts:57
↓ 1 callers
Function
mapCollectionRelation
* Removes auto-generated IDs and timestamps from a raw collection config. * * PocketBase generates unique IDs for collections and fields, but these
tools/src/commands/db/functions/migration-generation/generateContent/structure.ts:17
↓ 1 callers
Function
matchCollectionToModule
( modulesWithSchema: string[], allModules: string[], collection: Record<string, unknown> )
tools/src/commands/db/functions/schema-generation/matchCollectionToModule.ts:30
↓ 1 callers
Function
mdxListCountsPlugin
()
docs/plugins/mdxListCountsPlugin.ts:17
↓ 1 callers
Method
mutateRaw
* Triggers a raw (unencrypted) POST request to the current endpoint. * Use this for endpoints that have `.noEncryption()` enabled on the server,
packages/api/src/core/forgeEndpoint.ts:313
↓ 1 callers
Function
parseBodyPayload
( req: Request, mediaConfig: TMedia, isEncrypted: boolean, validator?: z.ZodTypeAny )
apps/api/src/core/functions/routes/utils/parsePayload.ts:10
↓ 1 callers
Function
parseQuery
( req: Request, validator?: z.ZodTypeAny )
apps/api/src/core/functions/routes/utils/parseQuery.ts:6
↓ 1 callers
Function
parseSessionData
()
apps/web/src/core/accountSettings/modals/QRLoginScannerModal/hooks/useQRLoginApproval.ts:23
↓ 1 callers
Function
prepareGitignoreForPublish
* Renames .gitignore to gitignore before publish (npm excludes .gitignore). * Returns true if a rename was performed.
tools/src/commands/modules/handlers/publishModuleHandler.ts:20
↓ 1 callers
Function
printDiff
* Prints file differences in a formatted way. * * @returns true if there were differences, false if in sync
tools/src/commands/modules/handlers/compareModuleHandler.ts:133
↓ 1 callers
Function
processCollectionSchema
* Processes a single collection into schema.ts format with Zod schema and raw config. * * @param collection - PocketBase collection object * @param
tools/src/commands/db/functions/schema-generation/generateSchemaContent.ts:11
↓ 1 callers
Method
queryRaw
* Triggers a raw (unencrypted) GET request to the current endpoint. * Use this for endpoints that have `.noEncryption()` enabled on the server.
packages/api/src/core/forgeEndpoint.ts:290
↓ 1 callers
Method
raf
(callback: () => void)
packages/ui/src/components/utilities/Scrollbars/index.tsx:630
↓ 1 callers
Function
readMdxFiles
(dir: string, basePath = '')
docs/plugins/mdxListCountsPlugin.ts:35
↓ 1 callers
Function
registerController
( controller: ForgeContract, router: Router, routeName: string = '' )
apps/api/src/core/functions/routes/functions/controllerLogic.ts:174
↓ 1 callers
Function
registerHandlebarsHelpers
()
tools/src/commands/modules/functions/templates/handlebars-helpers.ts:4
↓ 1 callers
Function
registerModule
( hashedKey: string, fullName: string, supportedLangs: string[] )
apps/api/src/core/functions/modules/moduleRegistry.ts:9
↓ 1 callers
Function
registerModuleMetadata
( appsDir: string, modDir: string )
apps/api/src/core/functions/modules/loadModuleRoutes.ts:18
↓ 1 callers
Function
registerRoutes
* Registers routes from a ForgeRouter configuration into an Express Router. * * This function recursively processes a router configuration object an
apps/api/src/core/functions/routes/functions/forgeRouter.ts:54
↓ 1 callers
Function
registerRoutesRecursive
( routes: RouterInput, router: Router, parentPath = '' )
apps/api/src/core/functions/routes/functions/forgeRouter.ts:59
↓ 1 callers
Function
remove
packages/ui/src/providers/ModalProvider.tsx:51
↓ 1 callers
Function
removeCategory
(index: number)
apps/web/src/core/moduleManager/pages/Categories/components/ModifyCategoryModal.tsx:79
↓ 1 callers
Function
removeComponent
()
apps/web/src/core/dashboard/components/modals/ManageWidgetsModal/components/ComponentItem.tsx:95
↓ 1 callers
Function
removeFontFromStylesheet
(fontFamily: string)
apps/web/src/core/personalization/components/FontFamilySelector/components/FontFamilySelectorModal/tabs/google/utils/stylesheet.ts:44
↓ 1 callers
Method
removeListeners
()
packages/ui/src/components/utilities/Scrollbars/index.tsx:356
↓ 1 callers
Function
renameTsConfigFile
(moduleDir: string)
tools/src/commands/modules/functions/templates/copy-template.ts:60
↓ 1 callers
Function
renderChart
()
docs/src/components/MermaidChart.tsx:25
↓ 1 callers
Function
resolveColor
(color: string)
packages/ui/src/components/inputs/Button/hooks/useButtonStyleProps.ts:38
↓ 1 callers
Function
resolveRoundedSprinklesProps
({ r, rtl, rtr, rbl, rbr }: TokenizedRoundedProps)
packages/ui/src/system/tokens/resolvers/rounded-props-resolvers.ts:7
↓ 1 callers
Function
resolveRoutes
()
apps/web/src/routes/components/Sidebar/SidebarItems.tsx:41
↓ 1 callers
Function
restartServerContainer
()
tools/src/utils/docker.ts:40
↓ 1 callers
Function
restoreFormDataType
(value: string)
apps/api/src/core/functions/routes/utils/restoreDataType.ts:1
↓ 1 callers
Function
restoreGitignoreAfterPublish
* Restores gitignore back to .gitignore after publish.
tools/src/commands/modules/handlers/publishModuleHandler.ts:37
↓ 1 callers
Function
routeSorter
* Sorts the routes based on the order of the categories * * @param categoriesSeq The sequence of categories * @returns The sorted routes
packages/federation/src/utils/sortRoutes.ts:28
↓ 1 callers
Function
runCLI
()
tools/src/cli/setup.ts:76
↓ 1 callers
Function
schemaWithPB
(schema: ZodObject<T>)
packages/server-utils/src/utils/schemaUtils.ts:48
↓ 1 callers
Function
searchLocations
(key: string, q: string)
apps/api/src/core/functions/external/location.ts:1
↓ 1 callers
Function
serializeRoutes
(node: any)
packages/server-utils/src/utils/writeContractFile.ts:85
↓ 1 callers
Function
serverError
(res: Response, err?: string, moduleName?: string)
apps/api/src/core/functions/routes/utils/response.ts:34
↓ 1 callers
Function
setFirstLangInDB
(shortName: string)
tools/src/commands/locales/functions/setFirstLangInDB.ts:8
↓ 1 callers
Function
setForgeMutationErrorHandler
( handler: (message: string) => void )
packages/api/src/hooks/useForgeMutation.ts:14
↓ 1 callers
Function
setI18n
(instance: i18n)
packages/localization/src/getI18n.ts:9
↓ 1 callers
Function
setLogLevel
(level: LogLevel)
tools/src/utils/logger.ts:14
↓ 1 callers
Function
setServerPublicKey
(pemKey: string)
packages/api/src/utils/encryption.ts:91
↓ 1 callers
Function
setupCLI
()
tools/src/cli/setup.ts:32
↓ 1 callers
Function
setupCommands
(program: Command)
tools/src/cli/setup.ts:23
↓ 1 callers
Method
setupDragging
()
packages/ui/src/components/utilities/Scrollbars/index.tsx:501
↓ 1 callers
Function
setupSocket
(io: Server)
apps/api/src/core/functions/socketio/setupSocket.ts:5
↓ 1 callers
Function
snakeCaseToCamelCase
(str: string)
packages/server-utils/src/routes/forgeContract.ts:26
↓ 1 callers
Function
sortRoutes
( routes: ModuleCategory[], categoryOrder: Record<string, Record<string, string>> )
packages/federation/src/utils/sortRoutes.ts:81
↓ 1 callers
Function
splitMediaAndData
( _media: MediaConfig | null, data: Record<string, any>, requestFiles: Record<string, Express.Multer.Fil
apps/api/src/core/functions/routes/utils/splitMediaAndData.ts:11
↓ 1 callers
Function
stageMigration
( pb: PocketBase, phase: 'skeleton' | 'structure' | 'views', index: number, importedSchemas: Array<{
tools/src/commands/db/functions/migration-generation/stageMigrations.ts:36
↓ 1 callers
Function
startAllServices
( host?: boolean, port?: string )
tools/src/commands/dev/functions/startServices.ts:71
↓ 1 callers
Function
startPBServer
()
tools/src/utils/pocketbase.ts:85
↓ 1 callers
Function
startPocketbase
()
tools/src/utils/pocketbase.ts:139
↓ 1 callers
Function
startServer
(server: ReturnType<typeof createServer>)
apps/api/src/index.ts:48
↓ 1 callers
Function
startSingleService
( service: string, extraArgs: string[] = [], host?: boolean, port?: string )
tools/src/commands/dev/functions/startServices.ts:15
↓ 1 callers
Function
stopService
(serviceName: string)
tools/src/utils/docker.ts:83
↓ 1 callers
Function
storeSession
* Store QR session in sessionStorage
apps/web/src/core/auth/modals/QRLoginModal/utils/QRSessionMngr.ts:38
↓ 1 callers
Function
stripCollectionIds
( collection: Record<string, unknown>, idToNameMap?: Map<string, string> )
tools/src/commands/db/functions/schema-generation/stripCollectionIds.ts:25
↓ 1 callers
Function
styleBody
* Styles the `<body>` element for Storybook: sets flex column layout, full height, * smooth transition, and the `theme-custom` class. Also applies bg
packages/ui/src/storybook/useSBTheme.tsx:85
↓ 1 callers
Function
styleHTML
* Applies the foundation background color to the `<html>` element and ensures * it stretches to full viewport height.
packages/ui/src/storybook/useSBTheme.tsx:74
↓ 1 callers
Function
styleSbDocsPreviews
* Applies theme styles to all `.sbdocs-preview .docs-story` elements and their * `.sbdocs-preview` parent containers, ensuring story canvases match t
packages/ui/src/storybook/useSBTheme.tsx:54
↓ 1 callers
Function
success
( res: Response<BaseResponse<T>>, data: T, statusCode: number = 200 )
apps/api/src/core/functions/routes/utils/response.ts:49
↓ 1 callers
Function
toggleComponent
()
apps/web/src/core/dashboard/components/modals/ManageWidgetsModal/components/ComponentItem.tsx:109
↓ 1 callers
Function
toggleTag
(tag: string)
packages/ui/src/components/data-display/TagChip/TagChip.stories.tsx:190
↓ 1 callers
Function
traceRouteStack
( stack: RouteStackLayer[], path: string = '', routes: Route[] = [] )
packages/server-utils/src/routes/traceRouteStack.ts:27
↓ 1 callers
Function
update
( pb: PocketBase, module: { id: string } )
apps/api/src/core/functions/database/PBService/services/update.ts:180
↓ 1 callers
Function
updateFontFamily
()
packages/ui/src/providers/PersonalizationProvider/hooks/useFontFamilyEffect.tsx:41
↓ 1 callers
Function
updatePosition
()
packages/ui/src/components/inputs/SearchInput/index.tsx:140
↓ 1 callers
Function
updateTimer
()
apps/web/src/core/auth/modals/QRLoginModal/hooks/useQRLoginSession.ts:254
↓ 1 callers
Function
useAppRouter
()
apps/web/src/routes/hooks/useAppRouter.ts:14
↓ 1 callers
Function
useBgTempEffect
( rootElement: HTMLElement, bgTemp: string, theme: 'light' | 'dark' )
packages/ui/src/providers/PersonalizationProvider/hooks/useBgTempEffect.tsx:8
↓ 1 callers
Function
useBorderRadiusEffect
(borderRadiusMultiplier: number)
packages/ui/src/providers/PersonalizationProvider/hooks/useBorderRadiusEffect.tsx:3
↓ 1 callers
Function
useBorderedEffect
(rootElement: HTMLElement, bordered: boolean)
packages/ui/src/providers/PersonalizationProvider/hooks/useBorderedEffect.tsx:3
↓ 1 callers
Function
useButtonStyleProps
({ variant, style, props }: { variant: 'primary' | 'secondary' | 'tertiary' | 'plain' style?: CSSPro
packages/ui/src/components/inputs/Button/hooks/useButtonStyleProps.ts:8
↓ 1 callers
Function
useEncryption
()
packages/api/src/providers/EncryptionProvider.tsx:47
↓ 1 callers
Function
useFontFamily
(fontFamily: string, fontScale: number, forgeAPI: any)
packages/ui/src/providers/PersonalizationProvider/hooks/useFontFamilyEffect.tsx:14
↓ 1 callers
Function
useLanguageEffect
(language: string)
packages/localization/src/hooks/useLanguageEffect.ts:5
↓ 1 callers
Function
useListboxBlurOnClose
()
packages/ui/src/components/inputs/ListboxInput/hooks/useListboxBlurOnClose.ts:14
↓ 1 callers
Function
useMetaEffect
(themeColor: string)
packages/ui/src/providers/PersonalizationProvider/hooks/useMetaEffect.tsx:3
↓ 1 callers
Function
useQRLoginApproval
(scannedData: string)
apps/web/src/core/accountSettings/modals/QRLoginScannerModal/hooks/useQRLoginApproval.ts:17
↓ 1 callers
Function
useQRLoginSession
({ onSuccess }: UseQRLoginSessionOptions)
apps/web/src/core/auth/modals/QRLoginModal/hooks/useQRLoginSession.ts:30
↓ 1 callers
Function
useRawThemeColorEffect
( rootElement: HTMLElement, rawThemeColor: string, theme: 'light' | 'dark', bgTemp: [light: string, da
packages/ui/src/providers/PersonalizationProvider/hooks/useRawThemeColorEffect.tsx:9
↓ 1 callers
Function
useSBTheme
(context: any)
packages/ui/src/storybook/useSBTheme.tsx:109
↓ 1 callers
Function
useThemeEffect
( rootElement: HTMLElement, theme: 'light' | 'dark', rawThemeColor: string, bgTemp: string )
packages/ui/src/providers/PersonalizationProvider/hooks/useThemeEffect.tsx:8
↓ 1 callers
Function
useTitleEffect
()
apps/web/src/routes/hooks/useTitleEffect.ts:7
↓ 1 callers
Method
validateAndLoad
* Validates and loads language packs. Should be called after submodule update.
apps/api/src/core/functions/initialization/localeService.ts:72
↓ 1 callers
Function
validateForm
()
apps/web/src/core/auth/pages/UserCreationPage.tsx:49
↓ 1 callers
Function
validateLocaleStructureHandler
(lang: string)
tools/src/commands/locales/handlers/validateLocaleStructure.ts:28
↓ 1 callers
Function
validateLocalesAuthor
(modulePath: string)
tools/src/commands/locales/functions/validateLocalesAuthor.ts:8
↓ 1 callers
Function
validateModuleAuthor
(modulePath: string)
tools/src/commands/modules/functions/validateModuleAuthor.ts:11
↓ 1 callers
Function
validateModuleStructure
( modulePath: string )
tools/src/commands/modules/functions/validateModuleStructure.ts:73
↓ 1 callers
Function
validatePocketBaseNotInitialized
( exitOnFailure: boolean = true )
tools/src/commands/db/functions/database-initialization/superuser.ts:11
↓ 1 callers
Function
validateProjectArguments
(projects: string[] | undefined)
tools/src/commands/project/functions/validateProjectArguments.ts:19
↓ 1 callers
Function
validateProjects
( projects: string[], validProjects: string[] )
tools/src/commands/project/functions/validateProjectArguments.ts:5
↓ 1 callers
Function
verifyAppOTP
( pb: PocketBase, otp: string )
apps/api/src/lib/user/utils/otp.ts:7
↓ 1 callers
Function
verifyEmailOTP
( pb: PocketBase, otp: string )
apps/api/src/lib/user/utils/otp.ts:35
← previous
next →
401–500 of 1,110, ranked by callers