Keep possibly brand names just initials

This commit is contained in:
barsdeveloper
2023-03-02 19:44:20 +01:00
parent 45e5aedb09
commit f5fd01d35b
10 changed files with 4722 additions and 4699 deletions

View File

@@ -0,0 +1,21 @@
import IEntity from "./IEntity"
import InvariantTextEntity from "./InvariantTextEntity"
import LocalizedTextEntity from "./LocalizedTextEntity"
import UnionType from "./UnionType"
export default class FormatTextEntity extends IEntity {
static lookbehind = "LOCGEN_FORMAT_NAMED"
static attributes = {
value: [new UnionType(LocalizedTextEntity, InvariantTextEntity, FormatTextEntity)],
}
static {
this.cleanupAttributes(this.attributes)
}
constructor(values) {
super(values)
/** @type {String} */ this.value
}
} 1