···99export * from "./chhoto-url.js";
1010export * from "./worker-links.js";
11111212-export default function createIntegration(
1212+export default function shortlinks(
1313 shortlinker: Shortlinker,
1414 options: AstroShortlinkOptions
1515): AstroIntegration {
+3
src/types.ts
···1717 /**
1818 * Function to run the shortlinker over a set of {@link PageMapping}s.
1919 * `logger` is an Astro logger that is namespaced to the shortlinker.
2020+ *
2121+ * Return `false` if the shortlinker failed and provided its own logging to
2222+ * explain why.
2023 */
2124 run(
2225 mappings: PageMapping[],