puter/packages/puter-js/app-migration-guide.txt
KernelDeimos 13525c85a0 -dot-
2024-04-11 21:46:43 -04:00

12 lines
483 B
Plaintext

all UI function calls from puter should be in the form `puter.ui.<function>`
e.g. `puter.showOpenFilePicker` becomes `puter.ui.showOpenFilePicker`
puter.FileSystem.<function> -> puter.fs.<function>
puter.Router.<function> -> puter.router.<function>
puter.Apps.<function> -> puter.apps.<function>
puter.setItem -> puter.kv.set
puter.getItem -> puter.kv.get
puter.removeItem -> puter.kv.del
puter.createCloudItem(...) -> new puter.CloudItem(...)
puter.router.* -> puter.hosting.*