You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					30 lines
				
				1014 B
			
		
		
			
		
	
	
					30 lines
				
				1014 B
			| 
								 
											3 years ago
										 
									 | 
							
								"use strict";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var _factoryGirl = _interopRequireDefault(require("factory-girl"));
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								_factoryGirl.default.define('PropertyJSON', Object, {
							 | 
						||
| 
								 | 
							
								  custom: {},
							 | 
						||
| 
								 | 
							
								  isTitle: false,
							 | 
						||
| 
								 | 
							
								  isId: false,
							 | 
						||
| 
								 | 
							
								  isSortable: true,
							 | 
						||
| 
								 | 
							
								  availableValues: null,
							 | 
						||
| 
								 | 
							
								  label: _factoryGirl.default.sequence('JSONProperty.label', n => `some property ${n}`),
							 | 
						||
| 
								 | 
							
								  name: _factoryGirl.default.sequence('JSONProperty.name', n => `someProperty${n}`),
							 | 
						||
| 
								 | 
							
								  position: _factoryGirl.default.sequence('JSONProperty.position', n => n),
							 | 
						||
| 
								 | 
							
								  type: 'string',
							 | 
						||
| 
								 | 
							
								  reference: null,
							 | 
						||
| 
								 | 
							
								  isDisabled: false,
							 | 
						||
| 
								 | 
							
								  isArray: false,
							 | 
						||
| 
								 | 
							
								  isDraggable: false,
							 | 
						||
| 
								 | 
							
								  subProperties: [],
							 | 
						||
| 
								 | 
							
								  isRequired: true,
							 | 
						||
| 
								 | 
							
								  components: undefined,
							 | 
						||
| 
								 | 
							
								  path: _factoryGirl.default.sequence('JSONProperty.path', n => `someProperty${n}`),
							 | 
						||
| 
								 | 
							
								  propertyPath: _factoryGirl.default.sequence('JSONProperty.propertyPath', n => `someProperty${n}`),
							 | 
						||
| 
								 | 
							
								  resourceId: 'someResourceId',
							 | 
						||
| 
								 | 
							
								  isVirtual: false,
							 | 
						||
| 
								 | 
							
								  props: {},
							 | 
						||
| 
								 | 
							
								  hideLabel: false
							 | 
						||
| 
								 | 
							
								});
							 |