feat: new sharing system

feat: support legacy layout import
This commit is contained in:
2023-09-16 14:17:59 +02:00
parent a39f57bac1
commit 4cd9ce536d
33 changed files with 1391 additions and 698 deletions

View File

@@ -1,6 +1,15 @@
import {compressActions, decompressActions} from "./actions"
import {fromBase64, toBase64} from "$lib/serialization/base64"
export interface NewCharaLayout {
charaLayoutVersion: 1
device: "one" | "lite" | string
/**
* Layers A1-A3, with numeric action codes on each
*/
layers: [number[], number[], number[]]
}
export type CharaLayout = [number[], number[], number[]]
/**