mirror of
https://github.com/JHUAPL/STIXMODELER_UI.git
synced 2026-01-09 14:27:56 -05:00
25 lines
523 B
JavaScript
25 lines
523 B
JavaScript
import deepmerge from 'deepmerge';
|
|
import common from '../definitions/common.json';
|
|
import rawDefinition from '../definitions/location.json';
|
|
|
|
import { Base } from './Base';
|
|
|
|
class Location extends Base {
|
|
constructor() {
|
|
const definition_extension = {
|
|
img: 'location.png',
|
|
prefix: 'location--',
|
|
active: true,
|
|
relationships: [],
|
|
};
|
|
|
|
const def = deepmerge(definition_extension, rawDefinition);
|
|
|
|
super(common, def);
|
|
}
|
|
}
|
|
|
|
const singleton = new Location();
|
|
|
|
export default singleton;
|