Skip to content

Commit

Permalink
fix: actually make paths type public
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Dec 5, 2024
1 parent 2cc3b84 commit 7b10167
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-comics-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@acdh-oeaw/keystatic-lib": patch
---

actually make paths type public
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export {
createCollectionPaths,
createSingleton,
createSingletonPaths,
type Paths,
} from "./resources";
export { withI18nPrefix, type WithoutI18nPrefix } from "./with-i18n-prefix";
1 change: 0 additions & 1 deletion src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Collection, ComponentSchema, Singleton } from "@keystatic/core";

import type { Locale } from "./config";

/** @private */
export function createPaths<TPath extends `/${string}/`>(path: TPath, locale: Locale) {
return {
assetPath: `/content/assets/${locale}${path}`,
Expand Down

0 comments on commit 7b10167

Please sign in to comment.