mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 02:10:38 +08:00
Attributes initialization refactoring (#19)
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import AttributeInfo from "./AttributeInfo.js"
|
||||
import IEntity from "./IEntity.js"
|
||||
|
||||
export default class Base64ObjectsEncoded extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
...super.attributes,
|
||||
value: {
|
||||
type: String,
|
||||
},
|
||||
objects: {
|
||||
value: AttributeInfo.createType(String),
|
||||
objects: new AttributeInfo({
|
||||
ignored: true,
|
||||
},
|
||||
}),
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
|
||||
Reference in New Issue
Block a user