mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	 d482633e77
			
		
	
	
		d482633e77
		
			
		
	
	
	
	
		
			
			* refactor(admin): auth pages to TS * fix: fix error message displays * chore: remove generic * chore: remove unnecessary test files * chore: add tests * fix: reset-password errors
		
			
				
	
	
		
			38 lines
		
	
	
		
			650 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			650 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { errors } from '@strapi/utils';
 | |
| 
 | |
| /**
 | |
|  * /providers/isSSOLocked
 | |
|  */
 | |
| export declare namespace IsSSOLocked {
 | |
|   export interface Request {
 | |
|     body: {};
 | |
|     query: {};
 | |
|   }
 | |
|   export interface Response {
 | |
|     data: {
 | |
|       isSSOLocked: boolean;
 | |
|     };
 | |
|     error?: errors.ApplicationError;
 | |
|   }
 | |
| }
 | |
| 
 | |
| export interface Provider {
 | |
|   displayName: string;
 | |
|   icon?: string | null;
 | |
|   uid: string;
 | |
| }
 | |
| 
 | |
| /**
 | |
|  * /providers
 | |
|  */
 | |
| export declare namespace GetProviders {
 | |
|   export interface Request {
 | |
|     body: {};
 | |
|     query: {};
 | |
|   }
 | |
|   /**
 | |
|    * TODO: this should follow the expected pattern of returning `data` as an object.
 | |
|    */
 | |
|   export type Response = Provider[];
 | |
| }
 |