This commit is contained in:
Chris Chen
2025-11-03 21:11:10 -08:00
parent f88cd21b33
commit 719108fd6a
3 changed files with 101 additions and 1 deletions
@@ -0,0 +1,37 @@
import { Injectable } from '@angular/core';
import { CrudService } from '../../../services/crudServices/crud.service';
import { MD2MobInfo, MD2MobLevelInfo, MD2MobSkill } from '../massive-darkness2.db.model';
import { HttpClient } from '@angular/common/http';
@Injectable({
providedIn: 'root'
})
export class MD2MobInfoService extends CrudService<MD2MobInfo> {
constructor(http: HttpClient) {
super(http, (action: string = null) => { return `MD2MobInfo${(action ? `/${action}` : '')}` });
}
}
@Injectable({
providedIn: 'root'
})
export class MD2MobLevelInfoService extends CrudService<MD2MobLevelInfo> {
constructor(http: HttpClient) {
super(http, (action: string = null) => { return `MD2MobLevelInfo${(action ? `/${action}` : '')}` });
}
}
@Injectable({
providedIn: 'root'
})
export class MD2MobSkillService extends CrudService<MD2MobSkill> {
constructor(http: HttpClient) {
super(http, (action: string = null) => { return `MD2MobSkill${(action ? `/${action}` : '')}` });
}
}