/usr/share/grafana/public/app/features/plugins/loader
// Extend the System type with the loader hooks we use // to provide backwards compatibility with older version of Systemjs export type SystemJSWithLoaderHooks = typeof System & { shouldFetch: (url: string) => Boolean; fetch: (url: string, options?: Record<string, unknown>) => Promise<Response>; onload: (err: unknown, id: string) => void; };
.
Edit
..
Edit
constants.ts
Edit
pluginInfoCache.test.ts
Edit
pluginInfoCache.ts
Edit
pluginLoader.mock.ts
Edit
sharedDependencies.ts
Edit
systemjs.ts
Edit
systemjsHooks.test.ts
Edit
systemjsHooks.ts
Edit
types.ts
Edit
utils.test.ts
Edit
utils.ts
Edit