From b4ec5fe3158cd60e5bf76b0a0760323ed95e866b Mon Sep 17 00:00:00 2001 From: Jon <4leite@gmail.com> Date: Thu, 9 May 2024 01:16:29 +1200 Subject: [PATCH] partially addresses #52 --- .changeset/poor-meals-yawn.md | 10 ++++++++++ oberoncms/upload-thing/src/uploadthing/file-router.ts | 1 + 2 files changed, 11 insertions(+) create mode 100644 .changeset/poor-meals-yawn.md diff --git a/.changeset/poor-meals-yawn.md b/.changeset/poor-meals-yawn.md new file mode 100644 index 00000000..66bcab50 --- /dev/null +++ b/.changeset/poor-meals-yawn.md @@ -0,0 +1,10 @@ +--- +"@oberoncms/adapter-vercel-postgres": minor +"@oberoncms/adapter-turso": minor +"@oberoncms/upload-thing": minor +"@oberoncms/core": minor +"@tohuhono/utils": minor +--- + +Added updatedAt and updatedBy to images +Resolved uploadingthing type declaration error diff --git a/oberoncms/upload-thing/src/uploadthing/file-router.ts b/oberoncms/upload-thing/src/uploadthing/file-router.ts index 15d1df9a..96715e0f 100644 --- a/oberoncms/upload-thing/src/uploadthing/file-router.ts +++ b/oberoncms/upload-thing/src/uploadthing/file-router.ts @@ -5,6 +5,7 @@ import { } from "uploadthing/next" import { UploadThingError } from "uploadthing/server" import type { OberonAdapter } from "@oberoncms/core" +// TODO https://github.com/pingdotgg/uploadthing/issues/790 import type {} from "@uploadthing/shared" import { getImageSize } from "./get-image-size"