MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / createFileImportConfig

Function createFileImportConfig

packages/validation/src/index.ts:659–664  ·  view source on GitHub ↗
(provider: T)

Source from the content-addressed store, hash-verified

657});
658
659const createFileImportConfig = <T extends string>(provider: T) =>
660 z.object({
661 provider: z.literal(provider),
662 type: z.literal('file'),
663 fileUrl: z.string().url(),
664 });
665
666// Import configs
667export const zUmamiImportConfig = createFileImportConfig('umami').extend({

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected