Seed Bible extension API (v1.18.0) / seed-bible/extensions / SandboxDiscoverResult
Type Alias: SandboxDiscoverResult
type SandboxDiscoverResult =
| {
author?: string;
description: string;
id: string;
image?: string;
reference: SandboxReference;
title: string;
type: "content";
verses?: number[];
}
| {
crossReference: SandboxReference;
reference: SandboxReference;
type: "cross-reference";
}
| {
reference: SandboxReference;
text: string;
type: "study-note";
};What a Discover provider can show, as data the host renders.
Union Members
Type Literal
{
author?: string;
description: string;
id: string;
image?: string;
reference: SandboxReference;
title: string;
type: "content";
verses?: number[];
}author?
author?: string;Defaults to the extension's name.
description
description: string;Up to 2,000 characters.
id
id: string;Passed back to onSelect when the user picks it.
image?
image?: string;An https: image on one of the manifest's network hosts.
reference
reference: SandboxReference;The passage it's about.
title
title: string;Up to 200 characters.
type
type: "content";verses?
verses?: number[];The verses it's about, if not the whole reference.
Type Literal
{
crossReference: SandboxReference;
reference: SandboxReference;
type: "cross-reference";
}Type Literal
{
reference: SandboxReference;
text: string;
type: "study-note";
}reference
reference: SandboxReference;text
text: string;Plain text, up to 5,000 characters.
type
type: "study-note";