MCPcopy Create free account

hub / github.com/contentlayerdev/contentlayer / functions

Functions636 in github.com/contentlayerdev/contentlayer

↓ 1 callersFunctiongenerateTypes
({ artifactsDirPath, moduleName, configPath, }: { artifactsDirPath: string moduleName: string conf
packages/@contentlayer/cli/src/commands/PostInstallCommand.ts:28
↓ 1 callersFunctiongetAllAssets
( environment: Contentful.Environment, )
packages/@contentlayer/source-contentful/src/fetchData/index.ts:122
↓ 1 callersFunctiongetAllEntries
( environment: Contentful.Environment, )
packages/@contentlayer/source-contentful/src/fetchData/index.ts:102
↓ 1 callersFunctiongetAllRelativeFilePaths
({ contentDirPath, contentDirInclude, contentDirExclude, }: { contentDirPath: AbsolutePosixFilePath
packages/@contentlayer/source-files/src/fetchData/fetchAllDocuments.ts:93
↓ 1 callersFunctiongetComputedValues
({ document, documentTypeDef, documentFilePath, }: { documentTypeDef: core.DocumentTypeDef document:
packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts:184
↓ 1 callersFunctiongetConfig
({ configPath, }: { /** Contentlayer config source path */ configPath?: string })
packages/@contentlayer/core/src/getConfig/index.ts:35
↓ 1 callersFunctiongetConfigFromResult
({ result, configPath, }: { result: esbuild.BuildResult /** configPath only needed for error message *
packages/@contentlayer/core/src/getConfig/index.ts:121
↓ 1 callersFunctiongetConfigWatch
({ configPath: configPath_, }: { configPath?: string })
packages/@contentlayer/core/src/getConfig/index.ts:50
↓ 1 callersFunctiongetCwd
()
packages/@contentlayer/core/src/markdown/mdx.ts:45
↓ 1 callersFunctiongetDataForListItem
({ rawItemData, fieldDef, coreSchemaDef, options, documentFilePath, contentDirPath, }: { rawItem
packages/@contentlayer/source-files/src/fetchData/mapping/index.ts:311
↓ 1 callersFunctiongetDataForListItem
({ rawItemData, allEntries, allAssets, fieldDef, schemaDef, schemaOverrides, options, }: { raw
packages/@contentlayer/source-contentful/src/fetchData/mapping.ts:217
↓ 1 callersFunctiongetDataForListItem
({ rawItemData, fieldDef, schemaDef, imageUrlBuilder, }: { rawItemData: any fieldDef: Core.ListFie
packages/archive/source-sanity/src/fetchData.ts:157
↓ 1 callersFunctiongetDocumentDefName
({ rawContent, relativeFilePath, filePathPatternMap, options, }: { rawContent: RawContent relative
packages/@contentlayer/source-files/src/fetchData/validateDocumentData.ts:116
↓ 1 callersFunctiongetDocumentDefNameByFilePathPattern
({ relativeFilePath, filePathPatternMap, }: { relativeFilePath: string filePathPatternMap: FilePathPat
packages/@contentlayer/source-files/src/fetchData/validateDocumentData.ts:139
↓ 1 callersFunctiongetImageFieldData
({ documentFilePath, contentDirPath, fieldDef, imagePath: imagePath_, }: { documentFilePath: utils.R
packages/@contentlayer/source-files/src/fetchData/mapping/field-image.ts:37
↓ 1 callersFunctiongetModelName
(item: core.ListFieldDefItem.ItemNested | core.ListFieldDefItem.ItemDocumentReference)
packages/contentlayer-stackbit-yaml-generator/src/cli/convert.ts:144
↓ 1 callersFunctiongetPatternPrefix
(paths_: readonly string[])
packages/@contentlayer/source-files/src/fetchData/fetchAllDocuments.ts:102
↓ 1 callersFunctiongetRelativeCwd
()
packages/@contentlayer/core/src/markdown/mdx.ts:43
↓ 1 callersFunctiongetSanityJsonData
(studioDirPath: string)
packages/archive/source-sanity/src/sanity-client.ts:16
↓ 1 callersFunctiongetTransform
(transformPath: string)
packages/contentlayer-stackbit-yaml-generator/src/cli/DefaultCommand.ts:89
↓ 1 callersFunctiongetUpdateEvents
(studioDirPath: string)
packages/archive/source-sanity/src/index.ts:39
↓ 1 callersFunctionhandleHeader
(scrollPos)
examples/archive/playground-azimuth-contentful/public/js/init.js:17
↓ 1 callersFunctionhandleHeader
(scrollPos)
examples/archive/playground-azimuth-colocated/public/js/init.js:17
↓ 1 callersFunctionhandleHeader
(scrollPos)
examples/archive/playground-azimuth/public/js/init.js:17
↓ 1 callersFunctionhashObject
(obj: JsonValue | any)
packages/@contentlayer/utils/src/hash.ts:6
↓ 1 callersFunctionimportFresh
(modulePath: string)
packages/@contentlayer/core/src/getConfig/index.ts:176
↓ 1 callersFunctioninvertRecord
(record: Record<string, string>)
packages/@contentlayer/source-files/src/fetchData/fetchAllDocuments.ts:160
↓ 1 callersFunctionisEntryADocument
({ entry, documentTypeDef, }: { entry: Contentful.Entry documentTypeDef:
packages/@contentlayer/source-contentful/src/fetchData/index.ts:55
↓ 1 callersFunctionisReadonlyArray
(_: any)
packages/@contentlayer/utils/src/index.ts:104
↓ 1 callersFunctionisValidJsVarName
(str: string)
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:357
↓ 1 callersFunctionl
(t,e)
examples/archive/playground-azimuth-contentful/public/js/plugins.js:15
↓ 1 callersFunctionl
(t,e)
examples/archive/playground-azimuth-colocated/public/js/plugins.js:15
↓ 1 callersFunctionl
(t,e)
examples/archive/playground-azimuth/public/js/plugins.js:15
↓ 1 callersFunctionleftPadWithUnderscoreIfStartsWithNumber
(str: string)
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:513
↓ 1 callersFunctionlistFieldDefToStackbitFieldListItems
( fieldDef: core.ListFieldDef | core.ListPolymorphicFieldDef, )
packages/contentlayer-stackbit-yaml-generator/src/cli/convert.ts:141
↓ 1 callersFunctionmain
()
packages/contentful-generator/src/index.ts:78
↓ 1 callersFunctionmain
()
packages/contentlayer-stackbit-yaml-generator/bin/cli.cjs:3
↓ 1 callersFunctionmain
()
packages/contentlayer/bin/cli.cjs:3
↓ 1 callersFunctionmake
( paths: readonly string[] | string, options?: Chokidar.WatchOptions, )
packages/@contentlayer/utils/src/node/fs-watcher.ts:225
↓ 1 callersFunctionmake
(buildOptions: esbuild.BuildOptions)
packages/@contentlayer/core/src/getConfig/esbuild.ts:130
↓ 1 callersFunctionmakeAllPackagesExternalPlugin
(configPath: string)
packages/@contentlayer/core/src/getConfig/index.ts:228
↓ 1 callersFunctionmakeAndProvideDocumentContext
({ rawContent, relativeFilePath, documentTypeDef, }: Omit<DocumentContext, 'rawDocumentData'>)
packages/@contentlayer/source-files/src/fetchData/DocumentContext.ts:25
↓ 1 callersFunctionmakeAndSubscribeManaged
( buildOptions: esbuild.BuildOptions, )
packages/@contentlayer/core/src/getConfig/esbuild.ts:158
↓ 1 callersFunctionmakeCacheItem
({ documentEntry, allEntries, allAssets, documentTypeDef, schemaDef, schemaOverrides, options, }
packages/@contentlayer/source-contentful/src/fetchData/mapping.ts:12
↓ 1 callersFunctionmakeContentTypeMap
(documentTypeDefs: LocalSchema.DocumentTypeDef[])
packages/@contentlayer/source-files/src/fetchData/index.ts:145
↓ 1 callersFunctionmakeCoreSchema
({ documentTypeDefs, options, esbuildHash, }: { documentTypeDefs: LocalSchema.DocumentTypeDef[] opti
packages/@contentlayer/source-files/src/schema/provideSchema.ts:9
↓ 1 callersFunctionmakeDataExportFile
({ docDef, documentIds, assertStatement, }: { docDef: DocumentTypeDef documentIds: string[] assert
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:337
↓ 1 callersFunctionmakeDataExportsFromCache
({ cache, schemaDef, options, }: { cache: DataCache.Cache options: PluginOptions schemaDef: Schema
packages/@contentlayer/core/src/dynamic-build.ts:122
↓ 1 callersFunctionmakeDataTypes
({ schemaDef, options }: { schemaDef: SchemaDef; options: PluginOptions })
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:470
↓ 1 callersFunctionmakeDocument
({ rawContent, documentTypeDef, coreSchemaDef, relativeFilePath, contentDirPath, options, }: { r
packages/@contentlayer/source-files/src/fetchData/mapping/index.ts:17
↓ 1 callersFunctionmakeDocument
({ rawDocumentData, documentTypeDef, schemaDef, imageUrlBuilder, }: { rawDocumentData: Sanity.DataDo
packages/archive/source-sanity/src/fetchData.ts:50
↓ 1 callersFunctionmakeFetchContentWorker
({ config, bundleFilePath, }: { config: Config bundleFilePath: AbsolutePosixFilePath })
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:529
↓ 1 callersFunctionmakeIndexMjs
({ schemaDef, assertStatement, bundleFilePath, options, isDev, }: { schemaDef: SchemaDef assertS
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:390
↓ 1 callersFunctionmakeJaegerNodeTracingLayer
(serviceName: string)
packages/@contentlayer/utils/src/tracing-effect/index.ts:22
↓ 1 callersFunctionmakeNodeTracingProvider
(serviceName: string)
packages/@contentlayer/utils/src/tracing-effect/index.ts:15
↓ 1 callersFunctionmakePackageJson
(schemaHash: string)
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:280
↓ 1 callersFunctionmakeSchemaDef
()
packages/@contentlayer/source-files/src/__test__/errors/utils.ts:10
↓ 1 callersFunctionmakeSchemaWithSingletonDef
()
packages/@contentlayer/source-files/src/__test__/errors/utils.ts:33
↓ 1 callersFunctionmakeSourcePlugin
(args)
packages/archive/source-sanity/src/index.ts:16
↓ 1 callersFunctionmakeVariableName
(id: string, fileIndex: number)
packages/@contentlayer/core/src/generation/generate-dotpkg.ts:359
↓ 1 callersFunctionmakefilePathPatternMap
(documentTypeDefs: LocalSchema.DocumentTypeDef[])
packages/@contentlayer/source-files/src/fetchData/index.ts:136
↓ 1 callersFunctionmapError_
(self: These<E0, A>, f: (a: E0) => E)
packages/@contentlayer/utils/src/effect/These.ts:72
↓ 1 callersFunctionmap_
(self: These<E, A0>, f: (a: A0) => A)
packages/@contentlayer/utils/src/effect/These.ts:59
↓ 1 callersFunctionmdxToHtml
(mdxSource: string)
examples/node-script-mdx/contentlayer.config.ts:6
↓ 1 callersFunctionmigrateNextBatch
()
examples/archive/playground-azimuth-sanity/studio/migrations/migrate.js:23
↓ 1 callersFunctionnormalizeInputFieldOverrideMap
(map: Input.FieldOverrideMap)
packages/@contentlayer/source-contentful/src/schemaOverrides.ts:138
↓ 1 callersFunctionnormalizeInputTypeOverrideItem
(item: Input.TypeOverrideItem | string)
packages/@contentlayer/source-contentful/src/schemaOverrides.ts:127
↓ 1 callersFunctionnot
(guard: (_: T) => _ is TGuarded)
packages/@contentlayer/utils/src/index.ts:65
↓ 1 callersFunctionparseJson
({ jsonString, documentFilePath, }: { jsonString: string documentFilePath: RelativePosixFilePath })
packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts:238
↓ 1 callersFunctionparseYaml
({ yamlString, documentFilePath, }: { yamlString: string documentFilePath: RelativePosixFilePath })
packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts:250
↓ 1 callersFunctionpatchNestedType
(nestedType: SourceFiles.NestedType, patch: PartialDeep<SourceFiles.NestedTypeDef>)
packages/@contentlayer/experimental-source-files-stackbit/src/index.ts:145
↓ 1 callersFunctionprocessImage
(fileBuffer: Buffer)
packages/@contentlayer/source-files/src/fetchData/mapping/field-image.ts:108
↓ 1 callersFunctionprocessImageWithImageScript
(fileBuffer: Buffer)
packages/@contentlayer/source-files/src/fetchData/mapping/field-image.ts:134
↓ 1 callersFunctionprocessImageWithSharp
(fileBuffer: Buffer)
packages/@contentlayer/source-files/src/fetchData/mapping/field-image.ts:164
↓ 1 callersFunctionprocessRawContent
({ fullFilePath, relativeFilePath, }: { fullFilePath: AbsolutePosixFilePath relativeFilePath: Relative
packages/@contentlayer/source-files/src/fetchData/makeCacheItemFromFilePath.ts:123
↓ 1 callersFunctionprovideSchema
({ accessToken, spaceId, environmentId, schemaOverrides: schemaOverrides_, options, }: { accessTok
packages/@contentlayer/source-contentful/src/provideSchema.ts:12
↓ 1 callersFunctionrawFieldDataIsAsset
(rawFieldData: any)
packages/@contentlayer/source-contentful/src/fetchData/mapping.ts:214
↓ 1 callersFunctionreadFile
(filePath: string)
packages/@contentlayer/utils/src/fs-in-memory.ts:53
↓ 1 callersFunctionreadFile
(filePath: string)
packages/@contentlayer/utils/src/node/fs.ts:55
↓ 1 callersFunctionreadFileJson
( filePath: string, )
packages/@contentlayer/utils/src/fs-in-memory.ts:81
↓ 1 callersFunctionreadFileJson
( filePath: string, )
packages/@contentlayer/utils/src/node/fs.ts:83
↓ 1 callersFunctionrecRemoveUndefinedValues
(val: any)
packages/@contentlayer/utils/src/index.ts:33
↓ 1 callersFunctionremove_
(self: FileWatcher, paths: readonly string[])
packages/@contentlayer/utils/src/node/fs-watcher.ts:272
↓ 1 callersFunctionrenderFieldType
(field: FieldDef)
packages/@contentlayer/core/src/generation/generate-types.ts:189
↓ 1 callersFunctionrenderIdJsdoc
({ sourcePluginType }: { sourcePluginType: SourcePluginType })
packages/@contentlayer/core/src/generation/generate-types.ts:156
↓ 1 callersFunctionrenderListItemFieldType
(item: ListFieldDefItem.Item)
packages/@contentlayer/core/src/generation/generate-types.ts:244
↓ 1 callersFunctionrenderPolymorphicListType
(typeNames: string[])
packages/@contentlayer/core/src/generation/generate-types.ts:233
↓ 1 callersFunctionrenderRawType
({ sourcePluginType }: { sourcePluginType: SourcePluginType })
packages/@contentlayer/core/src/generation/generate-types.ts:169
↓ 1 callersFunctionresetEnvironment
()
packages/contentful-generator/src/index.ts:39
↓ 1 callersFunctionresolveConfigPath
({ configPath, }: { configPath?: string })
packages/@contentlayer/core/src/getConfig/index.ts:90
↓ 1 callersFunctionrunAsChildProcess
(childProcessCode, onMessage)
examples/archive/playground-azimuth-sanity/web/dev.js:44
↓ 1 callersFunctionrunBashCommand
(command: string)
examples/next-rsc-dynamic/contentlayer.config.ts:98
↓ 1 callersFunctionrunBashCommand
(command: string)
examples/node-script-remote-content/contentlayer.config.ts:61
↓ 1 callersFunctionrunContentlayerBuild
({ configPath }: NextPluginOptions)
packages/next-contentlayer/src/plugin.ts:32
↓ 1 callersFunctionrunContentlayerDev
({ configPath }: NextPluginOptions)
packages/next-contentlayer/src/plugin.ts:17
↓ 1 callersFunctionrunMain
( eff: T.Effect<OT.HasTracer & HasClock & HasCwd & HasConsole & HasDocumentTypeMapState & fs.HasFs, E, A>, )
packages/@contentlayer/source-files/src/__test__/fetchData/utils.ts:75
↓ 1 callersFunctionrunMain
(eff: T.Effect<OT.HasTracer & HasClock & HasConsole, E, A>)
packages/@contentlayer/experimental-source-files-stackbit/src/__test__/stackbit.spec.ts:44
↓ 1 callersFunctionrunMain
({ tracingServiceName, verbose, useInMemoryFs = false, customCwd, }: { tracingServiceNam
packages/@contentlayer/core/src/runMain.ts:13
↓ 1 callersFunctionrunPromise
(eff: T.Effect<OT.HasTracer & HasClock & HasConsole & HasCwd & fs.HasFs, unknown, A>)
packages/@contentlayer/source-files/src/__test__/mapping/getDataForFieldDef.spec.ts:191
↓ 1 callersFunctionsanitizeListItemDef
(item: core.ListFieldDefItem.Item)
packages/archive/source-sanity/src/provideSchema.ts:306
← previousnext →201–300 of 636, ranked by callers