23 lines
546 B
JavaScript
23 lines
546 B
JavaScript
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
|
import { bidirectional } from '../tools/bidirectional';
|
|
import { targetCR } from '../tools/targetCR';
|
|
import { targetUN } from '../tools/targetUN';
|
|
|
|
const TargetSchema = new SimpleSchema({
|
|
toolId: {
|
|
type: String,
|
|
label: 'Tool ID'
|
|
},
|
|
toolItemUid: {
|
|
type: String,
|
|
label: 'Tool Item UID'
|
|
}
|
|
});
|
|
|
|
export const targets = {
|
|
id: 'targets',
|
|
name: 'Targets',
|
|
childTools: [bidirectional, targetCR, targetUN],
|
|
schema: TargetSchema
|
|
};
|