25 lines
499 B
JavaScript
25 lines
499 B
JavaScript
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
|
|
import { length } from '../tools/length';
|
|
import { ellipse } from '../tools/ellipse';
|
|
|
|
const TempSchema = new SimpleSchema({
|
|
toolId: {
|
|
type: String,
|
|
label: 'Tool ID'
|
|
},
|
|
toolItemId: {
|
|
type: String,
|
|
label: 'Tool Item ID'
|
|
},
|
|
createdAt: {
|
|
type: Date
|
|
}
|
|
});
|
|
|
|
export const temp = {
|
|
id: 'temp',
|
|
name: 'Temporary',
|
|
childTools: [length, ellipse],
|
|
schema: TempSchema
|
|
};
|