mirror of
https://github.com/lune-org/docs.git
synced 2024-12-12 13:00:37 +00:00
50 lines
720 B
Lua
50 lines
720 B
Lua
export type Source = {
|
|
path: string,
|
|
line: number,
|
|
}
|
|
|
|
export type FunctionParam = {
|
|
name: string,
|
|
desc: string,
|
|
lua_type: string,
|
|
}
|
|
|
|
export type FunctionReturn = {
|
|
desc: string,
|
|
lua_type: string,
|
|
}
|
|
|
|
export type Function = {
|
|
name: string,
|
|
desc: string,
|
|
params: { FunctionParam },
|
|
returns: { FunctionReturn },
|
|
function_type: string,
|
|
tags: { string }?,
|
|
source: Source,
|
|
}
|
|
|
|
export type Property = {
|
|
name: string,
|
|
desc: string,
|
|
lua_type: string,
|
|
tags: { string }?,
|
|
source: Source,
|
|
}
|
|
|
|
export type Type = {
|
|
name: string,
|
|
desc: string,
|
|
source: Source,
|
|
}
|
|
|
|
export type Item = {
|
|
name: string,
|
|
desc: string,
|
|
functions: { Function },
|
|
properties: { Property },
|
|
types: { Type },
|
|
source: Source,
|
|
}
|
|
|
|
return {}
|