From e8be46864a2196c06d341b7730f1de11ebd95d5b Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 21 Feb 2025 18:44:37 +0000 Subject: [PATCH] docs: add `@field` annotations for `ZipEntryProperties` --- lib/init.luau | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/init.luau b/lib/init.luau index 011790c..12d2f54 100644 --- a/lib/init.luau +++ b/lib/init.luau @@ -168,6 +168,14 @@ export type CompressionMethod = "STORE" | "DEFLATE" A set of properties that describe a ZIP entry. Used internally for construction of [ZipEntry] objects. + + @field versionMadeBy number -- Version of software and OS that created the ZIP + @field compressedSize number -- Compressed size in bytes + @field size number -- Uncompressed size in bytes + @field attributes number -- File attributes + @field timestamp number -- MS-DOS format timestamp + @field method CompressionMethod? -- Method used + @field crc number -- CRC32 checksum of the uncompressed data ]=] type ZipEntryProperties = { versionMadeBy: number,