Skip to content

Commit 352efff

Browse files
authored
Merge pull request #9 from instytutfi/bug/accounts-loader-not-exported
2 parents 9d8c348 + 1d70608 commit 352efff

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ that this package provides:
2525

2626
```ts
2727
import { defineCollection } from "astro:content";
28-
import { hiveBlogLoader } from "@onhive.io/astro-loader";
28+
import { hiveBlogLoader, hiveAccountsLoader } from "@onhive.io/astro-loader";
2929

3030
export const collections = {
3131
blog: defineCollection({

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onhive.io/astro-loader",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"author": "mietek.dev <hi@mietek.dev>",
55
"repository": {
66
"type": "git",

src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export { hiveBlogLoader } from "~/loaders/blogLoader";
2+
export { hiveAccountsLoader } from "~/loaders/accountsLoader";
23

34
export type { Post } from "~/schema/posts.ts";
45
export type { Communities } from "~/schema/communities.ts";
6+
export type { Account, Money, Wallet } from "~/schema/accounts.ts";

0 commit comments

Comments
 (0)