High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
import { createZodDto } from 'nestjs-zod';
import { UserLicenseSchema } from 'src/dtos/user.dto.js';
const LicenseKeySchema = UserLicenseSchema.pick({
licenseKey: true,
activationKey: true,
}).meta({ id: 'LicenseKeyDto' });
const LicenseResponseSchema = UserLicenseSchema.meta({ id: 'LicenseResponseDto' });
export class LicenseKeyDto extends createZodDto(LicenseKeySchema) {}
export class LicenseResponseDto extends createZodDto(LicenseResponseSchema) {}