This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
AsaJS/config.d.ts
2026-02-23 12:42:15 +07:00

46 lines
960 B
TypeScript

import { Variable } from "./src/types/properties/value.ts"
export interface RetBindingValue {
generate_bindings?: Array<{ source_property_name: string; target_property_name: string }>
return_value: string
}
export interface Config {
compiler?: {
enabled?: boolean
autoImport?: boolean
importToPreview?: boolean
autoEnable?: boolean
gdkUserId?: string
fixInventoryItemRenderer?: boolean
buildFolder?: string
fileExtension?: string
uiBuildFolder?: string
}
ui_analyzer?: {
enabled?: boolean
generate_path?: string
imports?: string[]
}
packinfo?: {
name?: string
description?: string
version?: [number, number, number]
metadata?: {
authors?: string[]
license?: string
url?: string
}
subpacks?: {
folder_name?: string
name?: string
memory_performance_tier?: number
}[]
}
global_variables?: Record<Variable, string>
binding_functions?: Record<string, (...args: string[]) => RetBindingValue>
}