mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 08:40:52 +08:00
18 lines
498 B
Svelte
18 lines
498 B
Svelte
<script lang="ts">
|
|
import type { Scope, Policy } from "@httpd-client";
|
|
|
|
export let scope: Scope;
|
|
export let policy: Policy;
|
|
</script>
|
|
|
|
{#if policy === "allow"}
|
|
All discovered repositories will get seeded,
|
|
{:else if policy === "block"}
|
|
Only repositories marked as such will get seeded,
|
|
{/if}
|
|
{#if scope === "all"}
|
|
and all changes in those repos, made by any peer, will be synced.
|
|
{:else if scope === "followed"}
|
|
and only changes made by explicitly followed peers will be synced.
|
|
{/if}
|