summaryrefslogtreecommitdiff
path: root/src/components/signature/Authors.astro
diff options
context:
space:
mode:
authorJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-06-28 18:14:22 -0300
committerJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-06-28 18:14:22 -0300
commit79fd506d30eef3d113f4a8e3ab9ebd9004f1e8cc (patch)
tree96ff57c92e897c3cc3331e23043d20f1665c7d0a /src/components/signature/Authors.astro
parenta1eac976b20e39f86d5944fbec68e2a0f8ffb746 (diff)
feat: index page
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/components/signature/Authors.astro')
-rw-r--r--src/components/signature/Authors.astro8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/signature/Authors.astro b/src/components/signature/Authors.astro
index 43a2b36..71a3d62 100644
--- a/src/components/signature/Authors.astro
+++ b/src/components/signature/Authors.astro
@@ -3,16 +3,14 @@ import { toPK } from "@lib/pgp";
import { createKeyFromArmor } from "@lib/pgp/create";
import type { Verification } from "@lib/pgp/verify";
import { defined, get, instanciate } from "@utils/anonymous";
-import { type CollectionEntry, z } from "astro:content";
+import { z } from "astro:content";
import type { EntityTypesEnum } from "src/consts";
import qrcode from "yaqrcode";
+import type { getSigners } from "@lib/collection/helpers";
interface Props {
verifications: NonNullable<Verification["verifications"]>;
- expectedSigners: {
- entity: CollectionEntry<"entity">;
- role: z.infer<typeof EntityTypesEnum>;
- }[];
+ expectedSigners: Awaited<ReturnType<typeof getSigners>>;
commitSignerKey?: string;
}