@tak-ps/node-cot
Version:
Lightweight JavaScript library for parsing and manipulating TAK messages
25 lines • 719 B
JavaScript
import Util from '../utils/util.js';
import CoT from '../cot.js';
export class ForceDelete extends CoT {
constructor(uid) {
const cot = {
event: {
_attributes: Util.cot_event_attr('t-x-d-d', 'm-g'),
point: Util.cot_point(),
detail: {
link: {
_attributes: {
uid: uid,
type: 'none',
relation: 'none'
}
},
__forcedelete: {}
}
}
};
super(cot);
this.uid(uid);
}
}
//# sourceMappingURL=force-delete.js.map