[api] quest asset split on unity target (#108)

* [api] quest asset split

* [api] unity swap + hash removal
This commit is contained in:
devin
2026-09-20 23:40:08 -04:00
committed by GitHub
parent 2909550cd6
commit 95bca2458a
10 changed files with 327 additions and 35 deletions
+5 -4
View File
@@ -270,10 +270,11 @@ const CUSTOM_AVATAR_ITEM_EXPORT = 'apps/econ/static/db/2025-1-cai.json'
* worker). Like `runx catalog load`: the table's STRUCTURE is a migration, its first-party
* CONTENTS are not, and this is the reload. Each record lands as the row's JSON with its
* `CreatorAccountId` forced to the Coach account (1) — what makes it stock content here — and
* each save's `ThumbnailFileName` put under `avatar/` (the statements come from api's
* `custom-avatar-items-load.ts`, the same ones the migration generator writes), an id already
* present is REPLACED, and nothing is deleted — the players' own shirts share the table and an
* export never mentions them. Re-running is always safe.
* each save's `ThumbnailFileName` put under `avatar/` and its assetbundle hashes blanked — they
* are the PC builds' hashes, and the same save serves the Quest builds too. (The statements
* come from api's `custom-avatar-items-load.ts`, the same ones the migration generator writes.)
* An id already present is REPLACED, and nothing is deleted — the players' own shirts share the
* table and an export never mentions them. Re-running is always safe.
*/
const caiLoad = new Command('cai-load')
.description('Load first-party custom avatar items from an export JSON (merges; never deletes)')