feat: remove view, update package json for sdk build

This commit is contained in:
Nevo David 2025-07-27 13:09:33 +07:00
parent 3f405fb64d
commit d504fac08d
2 changed files with 1 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@postiz/node", "name": "@postiz/node",
"version": "1.0.7", "version": "1.0.8",
"description": "The ultimate social media scheduling tool", "description": "The ultimate social media scheduling tool",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@ -1,7 +1,4 @@
import { Type } from 'class-transformer';
import { import {
IsDefined,
IsIn,
IsOptional, IsOptional,
IsString, IsString,
IsDateString, IsDateString,
@ -14,10 +11,6 @@ export class GetPostsDto {
@IsDateString() @IsDateString()
endDate: string; endDate: string;
@IsDefined()
@IsIn(['day', 'week', 'month'])
display: 'day' | 'week' | 'month';
@IsOptional() @IsOptional()
@IsString() @IsString()
customer: string; customer: string;