mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	 64628739ed
			
		
	
	64628739ed
	
	
	
		
			
			* create pki ca import component * add serial number to cert parser * convert to ts * remove comments * reset yarn.lock * fixed yarn lock * fix comment * add declaration for base cert
		
			
				
	
	
	
		
			413 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			413 B
		
	
	
	
	
	
	
	
To generate a declaration file run yarn tsc <javascript file to declare>  --declaration --allowJs --emitDeclarationOnly --outDir <type file location>
For example, the following command generates a declaration file called base.d.ts for the pki certificate base.js model:
yarn tsc ./app/models/pki/certificate/base.js  --declaration --allowJs --emitDeclarationOnly --outDir types/vault/models/pki/certificate