export additional types

This commit is contained in:
Andreas 2024-06-24 03:00:49 +02:00
parent 5f04cb0c83
commit 57375bd902

View File

@ -9,9 +9,9 @@ import { Attachment } from "./Attachment";
import { Bucket } from "./Bucket";
import { UUID } from "crypto";
type PostAttributes = InferAttributes<Post>;
export type PostAttributes = InferAttributes<Post>;
type PostCreationAttributes = InferCreationAttributes<Post>;
export type PostCreationAttributes = InferCreationAttributes<Post>;
export type PostAttributesWithBuckets = PostAttributes & {
buckets:Attributes<Bucket>[]