mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			184 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			184 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { Attribute } from './schema';
 | 
						|
 | 
						|
interface Field {
 | 
						|
  config: {};
 | 
						|
  toDB(value: any): any;
 | 
						|
  fromDB(value: any): any;
 | 
						|
}
 | 
						|
 | 
						|
export function createField(attribute: Attribute): Field;
 |