feat: remove view, update package json for sdk build
This commit is contained in:
parent
3f405fb64d
commit
d504fac08d
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue