MCPcopy Create free account

hub / github.com/contentlayerdev/contentlayer / functions

Functions636 in github.com/contentlayerdev/contentlayer

FunctionLogo
()
examples/next-images/components/Header.tsx:18
FunctionMyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth-contentful/src/pages/_app.tsx:6
FunctionMyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth-colocated/src/pages/_app.tsx:6
FunctionMyApp
({ Component, pageProps }: AppProps)
examples/archive/playground-azimuth/src/pages/_app.tsx:6
FunctionPage
()
examples/next-rsc-dynamic/app/v/page.tsx:3
FunctionPage
({ doc, config, posts })
examples/archive/playground-azimuth-contentful/src/pages/[[...slug]].tsx:32
FunctionPage
({ post })
examples/archive/starter-js/pages/posts/[id].jsx:25
FunctionPage
({ doc, config, posts })
examples/archive/playground-azimuth-colocated/src/pages/[[...slug]].tsx:32
FunctionPage
({ post })
examples/archive/starter/pages/posts/[id].tsx:26
FunctionPage
({ post })
examples/archive/playground-contentful-starter/pages/posts/[id].tsx:27
FunctionPage
({ doc, config, posts })
examples/archive/playground-azimuth/src/pages/[[...slug]].tsx:31
FunctionPageLayout
({ config, page })
examples/archive/playground-azimuth-contentful/src/layouts/PageLayout.tsx:11
FunctionPageLayout
({ config, page })
examples/archive/playground-azimuth-colocated/src/layouts/PageLayout.tsx:14
FunctionPageLayout
({ config, page })
examples/archive/playground-azimuth/src/layouts/PageLayout.tsx:11
FunctionPostCard
(post: Post)
examples/next-images/app/page.tsx:6
FunctionPostLayout
({ params }: { params: { slug: string[]; tag: string } })
examples/next-rsc-dynamic/app/[...slug]/page.tsx:5
FunctionPostLayout
({ params }: { params: { slug: string[]; tag: string } })
examples/next-rsc-dynamic/app/v/[tag]/[...slug]/page.tsx:24
FunctionPostLayout
({ params }: { params: { slug: string } })
examples/next-images/app/posts/[slug]/page.tsx:13
FunctionPostLayout
({ config, post })
examples/archive/playground-azimuth-contentful/src/layouts/PostLayout.tsx:12
FunctionPostLayout
({ config, post })
examples/archive/playground-azimuth-colocated/src/layouts/PostLayout.tsx:16
FunctionPostLayout
({ config, post })
examples/archive/playground-azimuth/src/layouts/PostLayout.tsx:12
FunctionRootLayout
({ children }: { children: React.ReactNode })
examples/next-rsc-dynamic/app/layout.tsx:5
FunctionRootLayout
({ children }: { children: React.ReactNode })
examples/next-images/app/layout.tsx:5
FunctionSectionContact
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionContact.tsx:9
FunctionSectionContact
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionContact.tsx:11
FunctionSectionContact
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionContact.tsx:9
FunctionSectionContent
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionContent.tsx:8
FunctionSectionContent
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionContent.tsx:11
FunctionSectionContent
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionContent.tsx:8
FunctionSectionCta
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionCta.tsx:8
FunctionSectionCta
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionCta.tsx:11
FunctionSectionCta
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionCta.tsx:8
FunctionSectionFaq
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionFaq.tsx:7
FunctionSectionFaq
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionFaq.tsx:9
FunctionSectionFaq
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionFaq.tsx:7
FunctionSectionFeatures
({ section, ...props })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionFeatures.tsx:8
FunctionSectionFeatures
({ section, ...props })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionFeatures.tsx:11
FunctionSectionFeatures
({ section, ...props })
examples/archive/playground-azimuth/src/components/landing-sections/SectionFeatures.tsx:8
FunctionSectionHero
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionHero.tsx:8
FunctionSectionHero
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionHero.tsx:11
FunctionSectionHero
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionHero.tsx:8
FunctionSectionPosts
({ section, posts })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionPosts.tsx:8
FunctionSectionPosts
({ section, posts })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionPosts.tsx:10
FunctionSectionPosts
({ section, posts })
examples/archive/playground-azimuth/src/components/landing-sections/SectionPosts.tsx:8
FunctionSectionPricing
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionPricing.tsx:8
FunctionSectionPricing
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionPricing.tsx:11
FunctionSectionPricing
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionPricing.tsx:8
FunctionSectionReviews
({ section })
examples/archive/playground-azimuth-contentful/src/components/landing-sections/SectionReviews.tsx:7
FunctionSectionReviews
({ section })
examples/archive/playground-azimuth-colocated/src/components/landing-sections/SectionReviews.tsx:9
FunctionSectionReviews
({ section })
examples/archive/playground-azimuth/src/components/landing-sections/SectionReviews.tsx:7
Function_richText
({ numSentences }: { numSentences: number })
packages/contentful-generator/src/index.ts:49
Functionadd
(paths: readonly string[])
packages/@contentlayer/utils/src/node/fs-watcher.ts:268
Methodapply
(compiler: webpack.Compiler)
packages/next-contentlayer/src/index-cjs.ts:85
FunctionassertNever
(_: any)
packages/@contentlayer/utils/src/index.ts:106
FunctionassertPosixFilePathString
( path_: string, )
packages/@contentlayer/utils/src/file-paths.ts:34
FunctioncapitalizeFirstLetter
(str: string)
packages/@contentlayer/utils/src/index.ts:78
Functionchain
(f: (a: A0, w: O.Option<E0>) => These<E, A>)
packages/@contentlayer/utils/src/effect/These.ts:94
FunctionchainMapEitherRight
(mapRight: (a1: A1) => S.Stream<R2, E2, E.Either<EE2, A2>>)
packages/@contentlayer/utils/src/effect/Stream.ts:71
FunctionchainMergeObject
(effect: (a1: A1) => T.Effect<T2, E2, A2>)
packages/@contentlayer/utils/src/effect/Effect.ts:54
FunctionchainSwitchMapEitherRight
(mapRight: (a1: A1) => S.Stream<R2, E2, E.Either<EE2, A2>>)
packages/@contentlayer/utils/src/effect/Stream.ts:83
FunctionchokidarAllEventToCustomUpdateEvent
(event: FSWatch.FileSystemEvent)
packages/@contentlayer/source-files/src/fetchData/index.ts:207
Methodconstructor
(public item: T)
packages/@contentlayer/utils/src/single-item.ts:2
Methodconstructor
(readonly either: E.Either<E, Tp.Tuple<[A, O.Option<E>]>>)
packages/@contentlayer/utils/src/effect/These.ts:14
Methodconstructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:22
Methodconstructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:28
Methodconstructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:34
Methodconstructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:40
Methodconstructor
(public path: UnknownFilePath, public stats: O.Option<fs.Stats>)
packages/@contentlayer/utils/src/node/fs-watcher.ts:46
Methodconstructor
( 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
Methodconstructor
( private initialBuildResult: Ref.Ref<O.Option<esbuild.BuildResult>>, private buildContext: Ref.Ref<O.
packages/@contentlayer/core/src/getConfig/esbuild.ts:30
Methodconstructor
(readonly pluginOptions: NextPluginOptions)
packages/next-contentlayer/src/index.ts:82
Methodconstructor
(readonly pluginOptions: NextPluginOptions)
packages/next-contentlayer/src/index-cjs.ts:83
FunctiondebugLogEnv
(msg?: string)
packages/@contentlayer/utils/src/effect/Effect.ts:38
Functiondecode
(b64: string)
packages/@contentlayer/utils/src/base64.ts:109
FunctiondefineComputedFields
( computedFields: TComputedFields, )
packages/@contentlayer/source-files/src/schema/defs/index.ts:113
FunctiondefineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth-contentful/src/utils/next.ts:4
FunctiondefineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth-colocated/src/utils/next.ts:4
FunctiondefineServerSideProps
(fn: Fn)
examples/archive/playground-azimuth/src/utils/next.ts:4
FunctiondefineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth-contentful/src/utils/next.ts:13
FunctiondefineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth-colocated/src/utils/next.ts:13
FunctiondefineStaticPaths
(fn: Fn)
examples/archive/playground-azimuth/src/utils/next.ts:13
FunctionderefDocumentOrThrow
(documentDefMap: DocumentTypeDefMap, documentDefName: string)
packages/@contentlayer/cli/src/lib/utils.ts:4
FunctionderefEmbeddedOrThrow
(nestedTypeDefMap: NestedTypeDefMap, nestedTypeDefName: string)
packages/@contentlayer/cli/src/lib/utils.ts:14
Functiondirname
( path_: RelativePosixFilePath | AbsolutePosixFilePath, )
packages/@contentlayer/utils/src/file-paths.ts:94
FunctiondynamicBuildFromCompiledConfigMain
({ compiledConfigPath, esbuildHash, verbose, }: { compiledConfigPath: AbsolutePosixFilePath esbuildH
packages/@contentlayer/core/src/dynamic-build.ts:18
FunctiondynamicBuildMain
({ config, verbose, runtimeDeps, }: { config: Config verbose: boolean runtimeDeps: RuntimeDeps })
packages/@contentlayer/core/src/dynamic-build.ts:72
FunctioneffectTapErrorOrWarning
(tapFn: (te2: TE2) => T.Effect<T1, E1, any>)
packages/@contentlayer/utils/src/effect/These.ts:133
FunctioneffectTapSuccess
(tapFn: (a: A) => T.Effect<T1, E1, any>)
packages/@contentlayer/utils/src/effect/These.ts:119
FunctioneffectThese
( effect: T.Effect<T, E1, These<E2, A>>, )
packages/@contentlayer/utils/src/effect/These.ts:154
FunctioneffectToEither
(effect: T.Effect<R, E1, These<E2, A>>)
packages/@contentlayer/utils/src/effect/These.ts:170
FunctioneffectUnwrapValue
(effect: T.Effect<T, E1, These<E2, A>>)
packages/@contentlayer/utils/src/effect/These.ts:111
FunctioneitherMap
(mapRight: (a1: A1) => A2)
packages/@contentlayer/utils/src/effect/Effect.ts:49
Functionencode
(data: ArrayBuffer | string)
packages/@contentlayer/utils/src/base64.ts:77
Functionend
()
packages/@contentlayer/utils/src/tracing.ts:74
FunctionesbuildOnce
( buildOptions: esbuild.BuildOptions, )
packages/@contentlayer/core/src/getConfig/esbuild.ts:182
Methodexecute
()
packages/contentlayer-stackbit-yaml-generator/src/cli/DefaultCommand.ts:39
FunctionfoldM
( 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
FunctionforEachParDict
(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
FunctionfromValue
(a: A)
packages/@contentlayer/utils/src/effect/Stream.ts:118
FunctiongenerateDotpkg
({ config, verbose, }: { config: Config verbose: boolean })
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:55
← previousnext →401–500 of 636, ranked by callers