Skip to Content
Mika Scraper 1.1.1 is released πŸŽ‰
πŸ• MIKA INTERFACEInterface: GalaxySuccessResult

Mika Scraper v1.1.2


Mika Scraper / GalaxySuccessResult

Interface: GalaxySuccessResult

Defined in: src/_other-scraper/galaxyai.ts:50

The GalaxySuccessResult interface represents a successful result returned by the GalaxyAI module. It encapsulates the key properties that define the outcome of a successful API call.

Properties

module

module: GalaxyModule
Defined in: src/_other-scraper/galaxyai.ts:51
The module type associated with the successful result. This property indicates which specific Galaxy module was utilized in generating the result.


input

input: string
Defined in: src/_other-scraper/galaxyai.ts:52
The input string provided to the GalaxyAI, representing the original data or query that initiated the process.


to

to: string
Defined in: src/_other-scraper/galaxyai.ts:53
A string indicating the target destination or format for the output, which may represent either a service endpoint or a required output format.


output

output: string
Defined in: src/_other-scraper/galaxyai.ts:54
The resultant output string generated by the GalaxyAI after processing the input. This output can be utilized for further actions or responses based on the success of the API call.


Example

Here’s an example of how to use the GalaxySuccessResult interface in TypeScript:

function processGalaxyResult(result: GalaxySuccessResult) { console.log(`Input: ${result.input}`); console.log(`Output: ${result.output}`); console.log(`Module used: ${result.module}`); console.log(`Output directed to: ${result.to}`); }

This example demonstrates how to access properties of the GalaxySuccessResult interface to log the details of the result after a successful GalaxyAI operation.

Last updated on