--!strict -- Registry: GENERATED by tools/gen_registry.py from the format folders - do not edit. -- One entry per format: the contract metadata (copied from its init.luau) and load(), which requires the format -- module on first use (a static require, as Roblox needs). Order: category, then name. export type Entry = { name: string, category: string, path: string, extensions: { string }, mime: { string }, deps: { string }, caps: { [string]: any }, load: () -> any, } local list: { Entry } = { { name = "png", category = "image", path = "image/png", extensions = { "png", "apng" }, mime = { "image/png", "image/apng" }, deps = { "core/Err", "core/Bytes", "core/Crc32", "codecs/Deflate", "Types" }, caps = { decode = true, encode = true, animation = false, alpha = true, depths = { 1, 2, 4, 8, 16 } }, load = function() return require("@formats/image/png") end, }, { name = "7z", category = "archive", path = "archive/7z", extensions = { "7z" }, mime = { "application/x-7z-compressed" }, deps = { "core/Err", "core/Bytes", "core/Crc32", "Types", "codecs/Lzma", "codecs/Deflate", "containers/Archive" }, caps = { decode = true, encode = false, methods = { "copy", "lzma", "lzma2", "deflate", "bcj", "delta" }, encrypted = false }, load = function() return require("@formats/archive/7z") end, }, { name = "xz", category = "archive", path = "archive/xz", extensions = { "xz", "txz", "lzma" }, mime = { "application/x-xz", "application/x-lzma" }, deps = { "core/Err", "core/Bytes", "Types", "codecs/Lzma", "containers/Archive" }, caps = { decode = true, encode = false, stream = true, filters = { "lzma2", "lzma", "delta", "x86", "powerpc", "arm", "armthumb", "sparc", "arm64" } }, load = function() return require("@formats/archive/xz") end, }, } return list