Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RomainLanz/romainlanz.com
/ functions
Functions
265 in github.com/RomainLanz/romainlanz.com
⨍
Functions
265
◇
Types & classes
251
↓ 52 callers
Method
get
()
apps/romainlanz.com/app/twitch/services/twitch_app_token_retrieve.ts:15
↓ 46 callers
Method
execute
()
apps/romainlanz.com/app/taxonomies/queries/list_tags_query.ts:7
↓ 36 callers
Method
toString
()
apps/romainlanz.com/app/core/domain/identifier.ts:16
↓ 18 callers
Method
fromString
(this: new (props: { value: string }) => T, value: string)
apps/romainlanz.com/app/core/domain/identifier.ts:12
↓ 18 callers
Method
use
(db: Kysely<DB>)
apps/romainlanz.com/tests/factories/factory.ts:83
↓ 15 callers
Method
generate
(this: new (props: { value: string }) => T)
apps/romainlanz.com/app/core/domain/identifier.ts:8
↓ 10 callers
Function
defineFactory
( table: Table, definition: FactoryDefinition<Table>, db: Kysely<DB> = defaultDb, )
apps/romainlanz.com/tests/factories/factory.ts:298
↓ 10 callers
Method
execute
(slug: string)
apps/romainlanz.com/app/articles/queries/get_article_by_slug_query.ts:11
↓ 9 callers
Method
givenTag
(input: Partial<FactoryInsert<'tags'>> = {})
apps/romainlanz.com/tests/fixtures/article_fixture.ts:52
↓ 8 callers
Method
create
(overrides: Partial<FactoryInsert<Table>> = {})
apps/romainlanz.com/tests/factories/factory.ts:256
↓ 8 callers
Method
now
()
apps/romainlanz.com/app/common/services/time_service.ts:5
↓ 8 callers
Method
toHtml
(content: string)
apps/romainlanz.com/app/articles/services/markdown_compiler.ts:27
↓ 7 callers
Method
all
()
apps/romainlanz.com/app/redirects/repositories/redirect_repository.ts:12
↓ 7 callers
Method
givenCategory
(input: Partial<FactoryInsert<'categories'>> = {})
apps/romainlanz.com/tests/fixtures/article_fixture.ts:48
↓ 7 callers
Method
givenPublishedArticles
(inputs: PublishedArticleInput[])
apps/romainlanz.com/tests/fixtures/article_fixture.ts:56
↓ 7 callers
Function
run
(command, args, options = {})
bin/release.mjs:20
↓ 6 callers
Function
resolveRelation
( factory: KyselyFactory<Table, any, any>, value: FactoryRelationValue<Table> | undefined, db: Kysely<DB>,
apps/romainlanz.com/tests/factories/factory.ts:282
↓ 6 callers
Method
visitArticles
(client: ApiClient, query: Record<string, string | number> = {})
apps/romainlanz.com/tests/fixtures/article_fixture.ts:32
↓ 6 callers
Method
whenICreateATag
(attributes: TagAttributes)
apps/romainlanz.com/tests/fixtures/tag_fixture.ts:26
↓ 6 callers
Method
with
(name: Name, value?: WithRelationInput<WithRelations[Name]>)
apps/romainlanz.com/tests/factories/factory.ts:189
↓ 5 callers
Method
assertArticleTitles
(assert: Assert, props: ArticleListPageProps, expectedTitles: string[])
apps/romainlanz.com/tests/fixtures/article_fixture.ts:41
↓ 5 callers
Method
create
(properties: Properties)
apps/romainlanz.com/app/auth/domain/user.ts:22
↓ 5 callers
Method
create
(properties: Properties)
apps/romainlanz.com/app/articles/domain/article.ts:24
↓ 5 callers
Method
create
(properties: Properties)
apps/romainlanz.com/app/taxonomies/domain/tag.ts:13
↓ 5 callers
Method
forRelation
( name: Name, resolver: FactoryForRelation<Table, Value>, options: { useByDefault?: boolean } = {}, )
apps/romainlanz.com/tests/factories/factory.ts:131
↓ 5 callers
Function
parseTagColor
(color: string)
apps/romainlanz.com/app/taxonomies/domain/tag_color.ts:3
↓ 4 callers
Method
create
(user: User)
apps/romainlanz.com/app/admin/articles/policies/article_policy.ts:5
↓ 4 callers
Method
execute
(params: ComputeVisitHashServiceParams)
apps/romainlanz.com/app/redirects/services/compute_visit_hash_service.ts:10
↓ 4 callers
Method
isAdmin
()
apps/romainlanz.com/app/auth/domain/user.ts:18
↓ 4 callers
Method
make
(overrides: Partial<FactoryInsert<Table>> = {})
apps/romainlanz.com/tests/factories/factory.ts:204
↓ 4 callers
Method
render
({ inertia }: HttpContext)
apps/romainlanz.com/app/pages/controllers/about_controller.ts:4
↓ 4 callers
Function
runInherited
(command, args)
bin/release.mjs:28
↓ 4 callers
Method
thenTagShouldExposePublicData
(slug: string, expected: { name: string; slug: string; color: TagColor })
apps/romainlanz.com/tests/fixtures/tag_fixture.ts:41
↓ 3 callers
Method
delete
(id: RedirectIdentifier)
apps/romainlanz.com/app/redirects/repositories/redirect_repository.ts:58
↓ 3 callers
Function
generateSlug
(value: string)
apps/romainlanz.com/app/core/slug.ts:3
↓ 3 callers
Method
isPublished
(now: DateTime)
apps/romainlanz.com/app/articles/domain/article.ts:20
↓ 3 callers
Function
truncateLine
(line: string, maxChars: number)
apps/romainlanz.com/app/common/services/og_image_generator_service.ts:20
↓ 2 callers
Method
#makeWithContext
(overrides: Partial<FactoryInsert<Table>> = {})
apps/romainlanz.com/tests/factories/factory.ts:210
↓ 2 callers
Method
build
(filters: PublishedArticlesFilters)
apps/romainlanz.com/app/articles/queries/published_articles_query_builder.ts:9
↓ 2 callers
Method
create
(redirect: Redirect)
apps/romainlanz.com/app/redirects/repositories/redirect_repository.ts:46
↓ 2 callers
Method
execute
({ bouncer, request, response }: HttpContext)
apps/romainlanz.com/app/admin/articles/controllers/update_article_controller.ts:47
↓ 2 callers
Method
execute
({ bouncer, request, response }: HttpContext)
apps/romainlanz.com/app/admin/articles/controllers/store_article_controller.ts:41
↓ 2 callers
Function
initiateApplication
(app: App, plugin: Plugin<[]>)
apps/romainlanz.com/inertia/app/helpers.ts:5
↓ 2 callers
Function
isMigration
(obj: unknown)
apps/romainlanz.com/app/core/file_migration_provider.ts:48
↓ 2 callers
Function
isNodeWithType
(node: unknown, type: string)
apps/romainlanz.com/shared/markdown/directives.ts:43
↓ 2 callers
Function
parsePublishedAt
(value: string | undefined)
apps/romainlanz.com/app/admin/articles/published_at.ts:5
↓ 2 callers
Method
resetDatabase
()
apps/romainlanz.com/tests/fixtures/database_fixture.ts:5
↓ 2 callers
Function
setLayout
(name: string, page: DefineComponent)
apps/romainlanz.com/inertia/app/helpers.ts:9
↓ 2 callers
Method
share
(ctx: HttpContext)
apps/romainlanz.com/app/middleware/inertia_middleware.ts:8
↓ 2 callers
Method
state
(state: FactoryState<Table>)
apps/romainlanz.com/tests/factories/factory.ts:116
↓ 2 callers
Function
wrapText
(text: string, { maxChars, maxLines }: WrapTextOptions)
apps/romainlanz.com/app/common/services/og_image_generator_service.ts:28
↓ 1 callers
Method
#getDayToken
()
apps/romainlanz.com/app/redirects/services/compute_visit_hash_service.ts:16
↓ 1 callers
Method
#loadTemplate
()
apps/romainlanz.com/app/common/services/og_image_generator_service.ts:61
↓ 1 callers
Method
#migrateDown
()
apps/romainlanz.com/commands/migrate_rollback.ts:54
↓ 1 callers
Method
alwaysFail
()
apps/romainlanz.com/tests/fixtures/live_status_fixture.ts:8
↓ 1 callers
Method
attempt
* Attempts to verify the user credentials.
apps/romainlanz.com/app/auth/services/auth_service.ts:12
↓ 1 callers
Method
cleanup
()
apps/romainlanz.com/tests/fixtures/live_status_fixture.ts:26
↓ 1 callers
Function
compileAlertNoteDirective
(node: MarkdownContainerDirective)
apps/romainlanz.com/shared/markdown/directives.ts:73
↓ 1 callers
Function
compileCodegroupDirective
(node: MarkdownContainerDirective)
apps/romainlanz.com/shared/markdown/directives.ts:89
↓ 1 callers
Function
compileDirective
(node: MarkdownContainerDirective)
apps/romainlanz.com/shared/markdown/directives.ts:59
↓ 1 callers
Method
configureRehype
(processor)
apps/romainlanz.com/app/articles/services/markdown_compiler.ts:13
↓ 1 callers
Method
create
(payload: CreateTagDTO)
apps/romainlanz.com/app/taxonomies/repositories/tag_repository.ts:20
↓ 1 callers
Method
create
(properties: Properties)
apps/romainlanz.com/app/paste/domain/paste.ts:10
↓ 1 callers
Method
create
(payload: StorePasteDTO)
apps/romainlanz.com/app/paste/repositories/paste_repository.ts:21
↓ 1 callers
Method
create
(properties: Properties)
apps/romainlanz.com/app/redirects/domain/visit.ts:15
↓ 1 callers
Function
createMarkdownProcessor
(options: MarkdownProcessorOptions = {})
apps/romainlanz.com/shared/markdown/processor.ts:23
↓ 1 callers
Function
createMarkdownRehypeProcessor
()
apps/romainlanz.com/shared/markdown/processor.ts:10
↓ 1 callers
Method
createUserForGuard
(user: User)
apps/romainlanz.com/app/auth/session_user_provider.ts:11
↓ 1 callers
Function
escapeXml
(value: string)
apps/romainlanz.com/app/common/services/og_image_generator_service.ts:11
↓ 1 callers
Method
execute
({ session, request, response }: HttpContext)
apps/romainlanz.com/app/pages/controllers/contact_controller.ts:18
↓ 1 callers
Method
execute
({}: HttpContext)
apps/romainlanz.com/app/admin/taxonomies/controllers/store_category_controller.ts:16
↓ 1 callers
Function
extractCodegroupTab
(node: Code)
apps/romainlanz.com/shared/markdown/directives.ts:132
↓ 1 callers
Method
findById
(id: PasteIdentifier)
apps/romainlanz.com/app/paste/repositories/paste_repository.ts:11
↓ 1 callers
Method
findBySlug
(slug: string)
apps/romainlanz.com/app/redirects/repositories/redirect_repository.ts:28
↓ 1 callers
Method
findUserByEmail
(email: string)
apps/romainlanz.com/app/auth/repositories/user_repository.ts:7
↓ 1 callers
Method
for
(name: Name, value?: ForRelationInput<ForRelations[Name]>)
apps/romainlanz.com/tests/factories/factory.ts:174
↓ 1 callers
Method
getActiveTest
()
apps/romainlanz.com/tests/fixtures/base_fixture.ts:7
↓ 1 callers
Method
getLiveStatus
()
apps/romainlanz.com/app/twitch/services/twitch.ts:10
↓ 1 callers
Method
getPassword
()
apps/romainlanz.com/app/auth/domain/user.ts:14
↓ 1 callers
Method
getRequestLocale
* This method reads the user language from the "Accept-Language" * header and returns the best matching locale by checking it * against the suppor
apps/romainlanz.com/app/core/middleware/detect_user_locale_middleware.ts:28
↓ 1 callers
Method
givenATagExists
(attributes: Partial<TagAttributes> = {})
apps/romainlanz.com/tests/fixtures/tag_fixture.ts:18
↓ 1 callers
Method
givenPublishedArticle
(input: PublishedArticleInput = {})
apps/romainlanz.com/tests/fixtures/article_fixture.ts:66
↓ 1 callers
Method
givenTwitchIsAvailable
()
apps/romainlanz.com/tests/fixtures/live_status_fixture.ts:30
↓ 1 callers
Method
handle
* The method is used for handling errors and returning * response to the client
apps/romainlanz.com/app/core/exceptions/handler.ts:35
↓ 1 callers
Function
isAlertNoteType
(value: unknown)
apps/romainlanz.com/shared/markdown/directives.ts:31
↓ 1 callers
Function
isCodeNode
(node: unknown)
apps/romainlanz.com/shared/markdown/directives.ts:39
↓ 1 callers
Function
isContainerDirective
(node: unknown)
apps/romainlanz.com/shared/markdown/directives.ts:35
↓ 1 callers
Function
isFunction
(obj: unknown)
apps/romainlanz.com/app/core/file_migration_provider.ts:53
↓ 1 callers
Function
isObject
(obj: unknown)
apps/romainlanz.com/app/core/file_migration_provider.ts:57
↓ 1 callers
Function
isTagColor
(value)
packages/design-system/src/atoms/tag/tag_color.js:3
↓ 1 callers
Function
isTagSlugUniqueConstraintViolation
(error: unknown)
apps/romainlanz.com/app/taxonomies/repositories/tag_repository.ts:86
↓ 1 callers
Method
makeEventsDispatchable
* Providing the instance of emitter to the "BaseEvent" class, * so that you can emit events using the "Event.dispatch" * method.
apps/romainlanz.com/providers/app_provider.ts:12
↓ 1 callers
Method
merge
(overrides: Partial<FactoryInsert<Table>>)
apps/romainlanz.com/tests/factories/factory.ts:98
↓ 1 callers
Function
migrateDatabase
()
apps/romainlanz.com/tests/database_test_utils.ts:10
↓ 1 callers
Function
removeCodegroupTab
(meta?: string)
apps/romainlanz.com/shared/markdown/directives.ts:143
↓ 1 callers
Method
render
({ inertia }: HttpContext)
apps/romainlanz.com/app/admin/articles/controllers/list_articles_controller.ts:14
↓ 1 callers
Method
run
()
apps/romainlanz.com/commands/seed.ts:22
↓ 1 callers
Method
run
()
apps/romainlanz.com/app/core/health_checks/kysely_check.ts:9
↓ 1 callers
Method
save
(visit: Visit)
apps/romainlanz.com/app/redirects/repositories/visit_repository.ts:6
↓ 1 callers
Method
sendDoubleOptInConfirmation
(email: string)
apps/romainlanz.com/app/newsletter/services/brevo_service.ts:4
next →
1–100 of 265, ranked by callers