mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-14 08:52:42 +00:00
chore(stage-ui-tachie): kebab case (#2147)
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
"./constants/emotions": "./src/constants/emotions.ts",
|
||||
"./stores": "./src/stores/index.ts",
|
||||
"./stores/tachie": "./src/stores/tachie.ts",
|
||||
"./utils/tachie-archive": "./src/utils/tachieArchive.ts",
|
||||
"./utils/tachie-preview": "./src/utils/tachiePreview.ts"
|
||||
"./utils/tachie-archive": "./src/utils/tachie-archive.ts",
|
||||
"./utils/tachie-preview": "./src/utils/tachie-preview.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { Application } from '@pixi/app'
|
||||
import type { Texture } from '@pixi/core'
|
||||
|
||||
import type { TachieEmotion } from '../../../constants/emotions'
|
||||
import type { TachieLoadedAssets } from '../../../utils/tachieArchive'
|
||||
import type { TachieLoadedAssets } from '../../../utils/tachie-archive'
|
||||
|
||||
import { errorMessageFrom } from '@moeru/std'
|
||||
import { Texture as PixiTexture, Renderer } from '@pixi/core'
|
||||
@@ -19,7 +19,7 @@ import { useTachie } from '../../../stores/tachie'
|
||||
import {
|
||||
loadTachieZip,
|
||||
MAX_TACHIE_ARCHIVE_BYTES,
|
||||
} from '../../../utils/tachieArchive'
|
||||
} from '../../../utils/tachie-archive'
|
||||
|
||||
interface MountedTachie {
|
||||
assets: TachieLoadedAssets
|
||||
|
||||
@@ -2,5 +2,5 @@ export { TachieCanvas, TachieModel } from './components/scenes/tachie'
|
||||
export { default as TachieScene } from './components/scenes/tachie.vue'
|
||||
export * from './constants/emotions'
|
||||
export * from './stores'
|
||||
export * from './utils/tachieArchive'
|
||||
export * from './utils/tachiePreview'
|
||||
export * from './utils/tachie-archive'
|
||||
export * from './utils/tachie-preview'
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it } from 'vitest'
|
||||
|
||||
import { resolveTachieArchiveLayout } from './tachieArchive'
|
||||
import { resolveTachieArchiveLayout } from './tachie-archive'
|
||||
|
||||
describe('resolveTachieArchiveLayout', () => {
|
||||
it('maps root images case-insensitively while ignoring metadata', () => {
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { DEFAULT_TACHIE_EMOTION } from '../constants/emotions'
|
||||
import { loadTachieZip } from './tachieArchive'
|
||||
import { loadTachieZip } from './tachie-archive'
|
||||
|
||||
/**
|
||||
* Creates a compact, aspect-preserving preview from the required neutral image.
|
||||
Reference in New Issue
Block a user