feat: remove appwrite and add nextjs backend
This commit is contained in:
15
backend/src/share/dto/shareMetaData.dto.ts
Normal file
15
backend/src/share/dto/shareMetaData.dto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Expose, plainToClass } from "class-transformer";
|
||||
|
||||
export class ShareMetaDataDTO {
|
||||
@Expose()
|
||||
id: string;
|
||||
|
||||
@Expose()
|
||||
isZipReady: boolean;
|
||||
|
||||
from(partial: Partial<ShareMetaDataDTO>) {
|
||||
return plainToClass(ShareMetaDataDTO, partial, {
|
||||
excludeExtraneousValues: true,
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user