diff --git a/src/model/Post.ts b/src/model/Post.ts index 3c11a0c..8702b0c 100644 --- a/src/model/Post.ts +++ b/src/model/Post.ts @@ -9,9 +9,9 @@ import { Attachment } from "./Attachment"; import { Bucket } from "./Bucket"; import { UUID } from "crypto"; -type PostAttributes = InferAttributes; +export type PostAttributes = InferAttributes; -type PostCreationAttributes = InferCreationAttributes; +export type PostCreationAttributes = InferCreationAttributes; export type PostAttributesWithBuckets = PostAttributes & { buckets:Attributes[]