@@ -324,6 +324,52 @@ declare module '@getflywheel/local' {
324324 version : string ;
325325 }
326326
327+ /**
328+ * A url pointing to a ReleaseManifest. Will be either the "latest" ReleaseManifest or a specific one.
329+ *
330+ * @example
331+ * https://cdn.localwp.com/stable/updates.json
332+ *
333+ * @example
334+ * https://cdn.localwp.com/releases-stable/9.2.3+6776/updates.json
335+ */
336+ export type ReleaseManifestUrl = string ;
337+
338+ /**
339+ * A url to a single PlatformReleaseManifest
340+ *
341+ * @example
342+ * https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac-arm64.json
343+ */
344+ export type PlatformReleaseManifestUrl = string ;
345+
346+ /**
347+ * A collection of PlatformReleaseManifestUrls for various platforms of a specific release.
348+ *
349+ * This data represents a successful response from a ReleaseManifestUrl.
350+ *
351+ * @example
352+ * {
353+ * "darwin-x64-production": {
354+ * "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac.json"
355+ * },
356+ * "darwin-arm64-production": {
357+ * "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-mac-arm64.json"
358+ * },
359+ * "win32-x64-production": {
360+ * "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-windows.json"
361+ * },
362+ * "win32-ia32-production": {
363+ * "update": "https://cdn.localwp.com/releases-stable/9.2.4+6788/release-windows.json"
364+ * }
365+ * }
366+ */
367+ export interface ReleaseManifest {
368+ [ key : string ] : {
369+ update : PlatformReleaseManifestUrl ;
370+ }
371+ }
372+
327373 /**
328374 * This is the percentage of users that should update to this Local version.
329375 */
@@ -336,9 +382,23 @@ declare module '@getflywheel/local' {
336382 export type AutoupdateEnabled = boolean ;
337383
338384 /**
339- * Local reads from this file to learn about a new Local release.
385+ * Release details for a specific platform and version of Local.
386+ *
387+ * @example
388+ * {
389+ * "url": "https://cdn.localwp.com/releases-stable/9.2.4+6788/local-9.2.4-mac-arm64.zip",
390+ * "name": "9.2.4",
391+ * "notes": "",
392+ * "changelogUrl": "https://localwp.com/releases/9.2.4/",
393+ * "pub_date": "2025-04-17T15:07:31Z",
394+ * "size": "",
395+ * "rollout": {
396+ * "rolloutPercentage": 25,
397+ * "autoUpdate": true
398+ * }
399+ * }
340400 */
341- export interface ReleaseManifest {
401+ export interface PlatformReleaseManifest {
342402 /**
343403 * URL for the Local release zip.
344404 */
0 commit comments