Mika Scraper / FantaxyOutput
Interface: FantaxyOutput
Defined in: src/logo-generator/fantaxy.ts:29
The FantaxyOutput
interface represents the output from the logo generation process, encompassing both the generated logo data and its associated metadata.
Properties
data
data: [
LogoFileData
,number
]
Defined in: src/logo-generator/fantaxy.ts:30
An array containing the generated logo file data and the corresponding status code. The first element represents the logo file data, while the second element indicates the generation status.
is_generating
is_generating:
boolean
Defined in: src/logo-generator/fantaxy.ts:31
A flag that indicates whether the logo generation process is currently in progress. This property can be useful for UI state management to show loading indicators.
duration
duration:
number
Defined in: src/logo-generator/fantaxy.ts:32
The total time taken (in milliseconds) to generate the logo. This value is helpful for performance monitoring and optimization.
average_duration
average_duration:
number
Defined in: src/logo-generator/fantaxy.ts:33
The average duration (in milliseconds) taken over multiple logo generation processes. This metric aids in assessing the efficiency of the logo generation algorithm.
render_config
render_config:
any
Defined in: src/logo-generator/fantaxy.ts:34
An object representing the configuration parameters used for rendering the logo. The structure of this object is flexible, allowing for various rendering options, and should be specified based on the requirements of the generation process.
changed_state_ids
changed_state_ids:
string[]
Defined in: src/logo-generator/fantaxy.ts:35
An array of IDs representing the states that have been altered during the logo generation process. This property can be utilized to track which components or parameters require updates in a given context.