Update scripts

This commit is contained in:
freearhey committed 2025-03-29 11:39:46 +03:00
1 parent 6d9ee99848
commit cad9cd5321
42 files changed
+1317 -694

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
type CategoryProps = {
type CategoryData = {
id: string
name: string
}
@@ -7,8 +7,8 @@ export class Category {
id: string
name: string
constructor({ id, name }: CategoryProps) {
this.id = id
this.name = name
constructor(data: CategoryData) {
this.id = data.id
this.name = data.name
}
}