feat: migrated packages to ts
This commit is contained in:
103
packages/config/types.ts
Normal file
103
packages/config/types.ts
Normal file
@@ -0,0 +1,103 @@
|
||||
export type Config = {
|
||||
site_id: string
|
||||
total_size: number
|
||||
akassets: {
|
||||
project_name: string
|
||||
url: string
|
||||
}
|
||||
insight: {
|
||||
id: string
|
||||
url: string
|
||||
}
|
||||
module: {
|
||||
assets: {
|
||||
config_yaml: string
|
||||
background: string
|
||||
music: string
|
||||
charword_table: string
|
||||
project_json: string
|
||||
}
|
||||
background: {
|
||||
operator_bg_png: string
|
||||
}
|
||||
charword_table: {
|
||||
charword_table_json: string
|
||||
}
|
||||
music: {
|
||||
music_table_json: string
|
||||
display_meta_table_json: string
|
||||
audio_data_json: string
|
||||
}
|
||||
official_info: {
|
||||
official_info_json: string
|
||||
}
|
||||
operator: {
|
||||
operator: string
|
||||
config: string
|
||||
template_yaml: string
|
||||
config_yaml: string
|
||||
portraits: string
|
||||
logos_assets: string
|
||||
logos: string
|
||||
directory_assets: string
|
||||
MonoBehaviour: string
|
||||
Texture2D: string
|
||||
title: {
|
||||
'zh-CN': string
|
||||
'en-US': string
|
||||
}
|
||||
}
|
||||
project_json: {
|
||||
project_json: string
|
||||
preview_jpg: string
|
||||
template_yaml: string
|
||||
}
|
||||
wrangler: {
|
||||
index_json: string
|
||||
}
|
||||
vite_helpers: {
|
||||
config_json: string
|
||||
}
|
||||
}
|
||||
app: {
|
||||
showcase: {
|
||||
public: string
|
||||
assets: string
|
||||
release: string
|
||||
}
|
||||
}
|
||||
dir_name: {
|
||||
data: string
|
||||
dist: string
|
||||
extracted: string
|
||||
auto_update: string
|
||||
voice: {
|
||||
main: string
|
||||
sub: {
|
||||
name: string
|
||||
lang: string
|
||||
lookup_region: string
|
||||
}[]
|
||||
}
|
||||
}
|
||||
directory: {
|
||||
assets_dir: string
|
||||
title: string
|
||||
voice: string
|
||||
error: {
|
||||
files: {
|
||||
key: string
|
||||
paddings: {
|
||||
left: string
|
||||
right: string
|
||||
top: string
|
||||
bottom: string
|
||||
}
|
||||
}[]
|
||||
voice: {
|
||||
file: string
|
||||
target: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user