+1
pkg/appview/jetstream/processor_test.go
+1
pkg/appview/jetstream/processor_test.go
+16
-14
pkg/appview/ui_test.go
+16
-14
pkg/appview/ui_test.go
···
571
571
572
572
// Sample data for repo-card template
573
573
data := struct {
574
-
OwnerHandle string
575
-
Repository string
576
-
IconURL string
577
-
Description string
578
-
StarCount int
579
-
PullCount int
580
-
IsStarred bool
574
+
OwnerHandle string
575
+
Repository string
576
+
IconURL string
577
+
Description string
578
+
StarCount int
579
+
PullCount int
580
+
IsStarred bool
581
+
ArtifactType string
581
582
}{
582
-
OwnerHandle: "alice.bsky.social",
583
-
Repository: "myapp",
584
-
IconURL: "",
585
-
Description: "A cool container image",
586
-
StarCount: 42,
587
-
PullCount: 1337,
588
-
IsStarred: true,
583
+
OwnerHandle: "alice.bsky.social",
584
+
Repository: "myapp",
585
+
IconURL: "",
586
+
Description: "A cool container image",
587
+
StarCount: 42,
588
+
PullCount: 1337,
589
+
IsStarred: true,
590
+
ArtifactType: "container-image",
589
591
}
590
592
591
593
buf := new(bytes.Buffer)