1.0.84 • Published 12 months ago

@webage/property v1.0.84

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

property

Validation and Documentation decorator

Eample

@Dto()
export class CreateSampleDto {
  @Property({ type: 'string', minLength: 3, maxLength: 100, format: 'email', isArray: false })
  sample: string;

  @Property({ type: 'object', target: () => TargetClass, isArray: false }) 
  object: TargetClass;
}
1.0.84

12 months ago

1.0.83

12 months ago

1.0.81

12 months ago

1.0.8

12 months ago

1.0.71

12 months ago

1.0.7

12 months ago

1.0.62

12 months ago

1.0.61

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago