MCPcopy Create free account
hub / github.com/TanStack/cli / integrationImportContent

Function integrationImportContent

packages/create/src/edge-template-file.ts:120–122  ·  view source on GitHub ↗
(integration: Integration)

Source from the content-addressed store, hash-verified

118 relativePath(file, path, stripExtension)
119
120 const integrationImportContent = (integration: Integration) =>
121 integration.import ||
122 `import ${integration.jsName} from '${localRelativePath(integration.path || '')}'`
123
124 const integrationImportCode = (integration: Integration) =>
125 integration.code || integration.jsName

Callers

nothing calls this directly

Calls 1

localRelativePathFunction · 0.70

Tested by

no test coverage detected