Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ functions
Functions
636 in github.com/contentlayerdev/contentlayer
⨍
Functions
636
◇
Types & classes
157
Function
Logo
()
examples/next-images/components/Header.tsx:18
Function
MyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth-contentful/src/pages/_app.tsx:6
Function
MyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth-colocated/src/pages/_app.tsx:6
Function
MyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth/src/pages/_app.tsx:6
Function
Page
()
examples/next-rsc-dynamic/app/v/page.tsx:3
Function
Page
({ doc, config, posts })
examples/archive/playground-azimuth-contentful/src/pages/[[...slug]].tsx:32
Function
Page
({ post })
examples/archive/starter-js/pages/posts/[id].jsx:25
Function
Page
({ doc, config, posts })
examples/archive/playground-azimuth-colocated/src/pages/[[...slug]].tsx:32
Function
Page
({ post })
examples/archive/starter/pages/posts/[id].tsx:26
Function
Page
({ post })
examples/archive/playground-contentful-starter/pages/posts/[id].tsx:27
Function
Page
({ doc, config, posts })
examples/archive/playground-azimuth/src/pages/[[...slug]].tsx:31
Function
PageLayout
({ config, page })
examples/archive/playground-azimuth-contentful/src/layouts/PageLayout.tsx:11
Function
PageLayout
({ config, page })
examples/archive/playground-azimuth-colocated/src/layouts/PageLayout.tsx:14
Function
PageLayout
({ config, page })
examples/archive/playground-azimuth/src/layouts/PageLayout.tsx:11
Function
PostCard
(post: Post)
examples/next-images/app/page.tsx:6
Function
PostLayout
({ params }: { params: { slug: string[]; tag: string } })
examples/next-rsc-dynamic/app/[...slug]/page.tsx:5
Function
PostLayout
({ params }: { params: { slug: string[]; tag: string } })
examples/next-rsc-dynamic/app/v/[tag]/[...slug]/page.tsx:24
Function
PostLayout
({ params }: { params: { slug: string } })
examples/next-images/app/posts/[slug]/page.tsx:13
Function
PostLayout
({ config, post })
examples/archive/playground-azimuth-contentful/src/layouts/PostLayout.tsx:12
Function
PostLayout
({ config, post })
examples/archive/playground-azimuth-colocated/src/layouts/PostLayout.tsx:16
Function
PostLayout
({ config, post })
examples/archive/playground-azimuth/src/layouts/PostLayout.tsx:12
Function
RootLayout
({ children }: { children: React.ReactNode })
examples/next-rsc-dynamic/app/layout.tsx:5
Function
RootLayout
({ children }: { children: React.ReactNode })
examples/next-images/app/layout.tsx:5
Function
SectionContact
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionContact.tsx:9
Function
SectionContact
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionContact.tsx:11
Function
SectionContact
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionContact.tsx:9
Function
SectionContent
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionContent.tsx:8
Function
SectionContent
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionContent.tsx:11
Function
SectionContent
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionContent.tsx:8
Function
SectionCta
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionCta.tsx:8
Function
SectionCta
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionCta.tsx:11
Function
SectionCta
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionCta.tsx:8
Function
SectionFaq
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionFaq.tsx:7
Function
SectionFaq
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionFaq.tsx:9
Function
SectionFaq
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionFaq.tsx:7
Function
SectionFeatures
({ section, ...props })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionFeatures.tsx:8
Function
SectionFeatures
({ section, ...props })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionFeatures.tsx:11
Function
SectionFeatures
({ section, ...props })
examples/archive/playground-azimuth/src/components/landing-sections/SectionFeatures.tsx:8
Function
SectionHero
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionHero.tsx:8
Function
SectionHero
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionHero.tsx:11
Function
SectionHero
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionHero.tsx:8
Function
SectionPosts
({ section, posts })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionPosts.tsx:8
Function
SectionPosts
({ section, posts })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionPosts.tsx:10
Function
SectionPosts
({ section, posts })
examples/archive/playground-azimuth/src/components/landing-sections/SectionPosts.tsx:8
Function
SectionPricing
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionPricing.tsx:8
Function
SectionPricing
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionPricing.tsx:11
Function
SectionPricing
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionPricing.tsx:8
Function
SectionReviews
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionReviews.tsx:7
Function
SectionReviews
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionReviews.tsx:9
Function
SectionReviews
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionReviews.tsx:7
Function
_richText
({ numSentences }: { numSentences: number })
packages/contentful-generator/src/index.ts:49
Function
add
(paths: readonly string[])
packages/@contentlayer/utils/src/node/fs-watcher.ts:268
Method
apply
(compiler: webpack.Compiler)
packages/next-contentlayer/src/index-cjs.ts:85
Function
assertNever
(_: any)
packages/@contentlayer/utils/src/index.ts:106
Function
assertPosixFilePathString
( path_: string, )
packages/@contentlayer/utils/src/file-paths.ts:34
Function
capitalizeFirstLetter
(str: string)
packages/@contentlayer/utils/src/index.ts:78
Function
chain
(f: (a: A0, w: O.Option<E0>) => These<E, A>)
packages/@contentlayer/utils/src/effect/These.ts:94
Function
chainMapEitherRight
(mapRight: (a1: A1) => S.Stream<R2, E2, E.Either<EE2, A2>>)
packages/@contentlayer/utils/src/effect/Stream.ts:71
Function
chainMergeObject
(effect: (a1: A1) => T.Effect<T2, E2, A2>)
packages/@contentlayer/utils/src/effect/Effect.ts:54
Function
chainSwitchMapEitherRight
(mapRight: (a1: A1) => S.Stream<R2, E2, E.Either<EE2, A2>>)
packages/@contentlayer/utils/src/effect/Stream.ts:83
Function
chokidarAllEventToCustomUpdateEvent
(event: FSWatch.FileSystemEvent)
packages/@contentlayer/source-files/src/fetchData/index.ts:207
Method
constructor
(public item: T)
packages/@contentlayer/utils/src/single-item.ts:2
Method
constructor
(readonly either: E.Either<E, Tp.Tuple<[A, O.Option<E>]>>)
packages/@contentlayer/utils/src/effect/These.ts:14
Method
constructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:22
Method
constructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:28
Method
constructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:34
Method
constructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:40
Method
constructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:46
Method
constructor
( public instance: Ref.Ref<Chokidar.FSWatcher>, private fsEventsHub: H.Hub<Ex.Exit<never, E.Either<Fil
packages/@contentlayer/utils/src/node/fs-watcher.ts:82
Method
constructor
( private initialBuildResult: Ref.Ref<O.Option<esbuild.BuildResult>>, private buildContext: Ref.Ref<O.
packages/@contentlayer/core/src/getConfig/esbuild.ts:30
Method
constructor
(readonly pluginOptions: NextPluginOptions)
packages/next-contentlayer/src/index.ts:82
Method
constructor
(readonly pluginOptions: NextPluginOptions)
packages/next-contentlayer/src/index-cjs.ts:83
Function
debugLogEnv
(msg?: string)
packages/@contentlayer/utils/src/effect/Effect.ts:38
Function
decode
(b64: string)
packages/@contentlayer/utils/src/base64.ts:109
Function
defineComputedFields
( computedFields: TComputedFields, )
packages/@contentlayer/source-files/src/schema/defs/index.ts:113
Function
defineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth-contentful/src/utils/next.ts:4
Function
defineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth-colocated/src/utils/next.ts:4
Function
defineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth/src/utils/next.ts:4
Function
defineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth-contentful/src/utils/next.ts:13
Function
defineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth-colocated/src/utils/next.ts:13
Function
defineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth/src/utils/next.ts:13
Function
derefDocumentOrThrow
(documentDefMap: DocumentTypeDefMap, documentDefName: string)
packages/@contentlayer/cli/src/lib/utils.ts:4
Function
derefEmbeddedOrThrow
(nestedTypeDefMap: NestedTypeDefMap, nestedTypeDefName: string)
packages/@contentlayer/cli/src/lib/utils.ts:14
Function
dirname
( path_: RelativePosixFilePath | AbsolutePosixFilePath, )
packages/@contentlayer/utils/src/file-paths.ts:94
Function
dynamicBuildFromCompiledConfigMain
({ compiledConfigPath, esbuildHash, verbose, }: { compiledConfigPath: AbsolutePosixFilePath esbuildH
packages/@contentlayer/core/src/dynamic-build.ts:18
Function
dynamicBuildMain
({ config, verbose, runtimeDeps, }: { config: Config verbose: boolean runtimeDeps: RuntimeDeps })
packages/@contentlayer/core/src/dynamic-build.ts:72
Function
effectTapErrorOrWarning
(tapFn: (te2: TE2) => T.Effect<T1, E1, any>)
packages/@contentlayer/utils/src/effect/These.ts:133
Function
effectTapSuccess
(tapFn: (a: A) => T.Effect<T1, E1, any>)
packages/@contentlayer/utils/src/effect/These.ts:119
Function
effectThese
( effect: T.Effect<T, E1, These<E2, A>>, )
packages/@contentlayer/utils/src/effect/These.ts:154
Function
effectToEither
(effect: T.Effect<R, E1, These<E2, A>>)
packages/@contentlayer/utils/src/effect/These.ts:170
Function
effectUnwrapValue
(effect: T.Effect<T, E1, These<E2, A>>)
packages/@contentlayer/utils/src/effect/These.ts:111
Function
eitherMap
(mapRight: (a1: A1) => A2)
packages/@contentlayer/utils/src/effect/Effect.ts:49
Function
encode
(data: ArrayBuffer | string)
packages/@contentlayer/utils/src/base64.ts:77
Function
end
()
packages/@contentlayer/utils/src/tracing.ts:74
Function
esbuildOnce
( buildOptions: esbuild.BuildOptions, )
packages/@contentlayer/core/src/getConfig/esbuild.ts:182
Method
execute
()
packages/contentlayer-stackbit-yaml-generator/src/cli/DefaultCommand.ts:39
Function
foldM
( onSuccess: (a: A) => These<E1, A1>, onBoth: (a: A, e: E) => These<E2, A2>, onFail: (e: E) => These<E3,
packages/@contentlayer/utils/src/effect/These.ts:51
Function
forEachParDict
(args: { mapKey: (a: A) => T.Effect<R, E, string>; mapValue: (a: A) => T.Effect<R, E, B> })
packages/@contentlayer/utils/src/effect/Effect.ts:64
Function
fromValue
(a: A)
packages/@contentlayer/utils/src/effect/Stream.ts:118
Function
generateDotpkg
({ config, verbose, }: { config: Config verbose: boolean })
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:55
← previous
next →
401–500 of 636, ranked by callers