mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-25 16:14:26 +01:00
Restrict company imports to GitHub and zip packages
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
0b829ea20b
commit
4a5aba5bac
6 files changed
+163
-94
No files matched your search
@@ -123,10 +123,6 @@ export const portabilitySourceSchema = z.discriminatedUnion("type", [
|
||||
rootPath: z.string().min(1).optional().nullable(),
|
||||
files: z.record(z.string()),
|
||||
}),
|
||||
z.object({
|
||||
type: z.literal("url"),
|
||||
url: z.string().url(),
|
||||
}),
|
||||
z.object({
|
||||
type: z.literal("github"),
|
||||
url: z.string().url(),
|
||||
|
||||
Reference in new issue
Block a user