MCPcopy Index your code
hub / github.com/coder/coder / isExternalApp

Function isExternalApp

site/src/modules/apps/apps.ts:159–163  ·  view source on GitHub ↗
(
	app: WorkspaceApp,
)

Source from the content-addressed store, hash-verified

157};
158
159export const isExternalApp = (
160 app: WorkspaceApp,
161): app is ExternalWorkspaceApp => {
162 return app.external && app.url !== undefined;
163};
164
165export const needsSessionToken = (app: ExternalWorkspaceApp) => {
166 // HTTP links should never need the session token, since Cookies

Callers 4

AppLinkFunction · 0.90
useAppLinkFunction · 0.90
AppMenuItemFunction · 0.90
getAppHrefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected