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

Function integrationImportContent

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

localRelativePathFunction · 0.70

Tested by

no test coverage detected