+ getStaticPath () {
+ switch (this.type) {
+ case ActorImageType.AVATAR:
+ return join(LAZY_STATIC_PATHS.AVATARS, this.filename)
+
+ case ActorImageType.BANNER:
+ return join(LAZY_STATIC_PATHS.BANNERS, this.filename)
+
+ default:
+ throw new Error('Unknown actor image type: ' + this.type)
+ }