Compare commits
2 Commits
13e639fa8d
...
55f9050dc9
Author | SHA1 | Date | |
---|---|---|---|
55f9050dc9 | |||
4e7d00db9b |
@ -11,14 +11,14 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"tsconfig.ts"
|
"tsconfig.json"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepare": "npm run build"
|
"prepare": "npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"zod": "^3.22.1"
|
"zod": "^3.22.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
|
@ -7,8 +7,8 @@ export class NotificationItem implements TNotificationItem {
|
|||||||
code: string
|
code: string
|
||||||
text: string
|
text: string
|
||||||
|
|
||||||
constructor(args: { code: string; text: string }) {
|
constructor(args: { text: string, code?: string }) {
|
||||||
this.code = args.code
|
|
||||||
this.text = args.text
|
this.text = args.text
|
||||||
|
this.code = args.code || 'info'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user