···9export * from "./chhoto-url.js";
10export * from "./worker-links.js";
1112-export default function createIntegration(
13 shortlinker: Shortlinker,
14 options: AstroShortlinkOptions
15): AstroIntegration {
···9export * from "./chhoto-url.js";
10export * from "./worker-links.js";
1112+export default function shortlinks(
13 shortlinker: Shortlinker,
14 options: AstroShortlinkOptions
15): AstroIntegration {
+3
src/types.ts
···17 /**
18 * Function to run the shortlinker over a set of {@link PageMapping}s.
19 * `logger` is an Astro logger that is namespaced to the shortlinker.
00020 */
21 run(
22 mappings: PageMapping[],
···17 /**
18 * Function to run the shortlinker over a set of {@link PageMapping}s.
19 * `logger` is an Astro logger that is namespaced to the shortlinker.
20+ *
21+ * Return `false` if the shortlinker failed and provided its own logging to
22+ * explain why.
23 */
24 run(
25 mappings: PageMapping[],