[Launcher] Improve type definitions
This commit is contained in:
		
							
								
								
									
										21
									
								
								config/ags/launcher/definitions/components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								config/ags/launcher/definitions/components.d.ts
									
									
									
									
										vendored
									
									
								
							| @@ -19,17 +19,30 @@ export interface App extends ResultElement { | ||||
|  | ||||
| // TODO: Finish | ||||
| export interface DictionaryEntry extends ResultElement { | ||||
|     /** | ||||
|      * Execute no command | ||||
|      */ | ||||
|     action: null; | ||||
|  | ||||
|  | ||||
|     /** | ||||
|      * The dictionary definition | ||||
|      */ | ||||
|     definition: string; | ||||
| } | ||||
|  | ||||
| // TODO: Finish | ||||
| export interface CMDOutput extends ResultElement { | ||||
|  | ||||
|     /** | ||||
|      * Stdout from the command that was run | ||||
|      */ | ||||
|     result: string; | ||||
| } | ||||
|  | ||||
| // TODO: Finish | ||||
| export interface Calculation extends ResultElement { | ||||
|  | ||||
|     /** | ||||
|      * THe calculation result | ||||
|      */ | ||||
|     result: string; | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -57,4 +57,4 @@ export interface ResultElement { | ||||
|     fontSize: number | undefined; | ||||
| } | ||||
|  | ||||
| type Action = ''; | ||||
| type Action = '' | null; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user