mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 18:10:39 +09:00
Restrict company imports to GitHub and zip packages
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0b829ea20b
commit
4a5aba5bac
6 changed files with 163 additions and 94 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue