Alex Deymo | f7ead81 | 2015-10-23 17:37:27 -0700 | [diff] [blame] | 1 | { |
| 2 | "_updater": { |
| 3 | "commands": { |
| 4 | "checkForUpdates": { |
| 5 | "minimalRole": "manager", |
| 6 | "parameters": {} |
| 7 | }, |
| 8 | "trackChannel": { |
| 9 | "minimalRole": "manager", |
| 10 | "parameters": { |
| 11 | "channel": { |
| 12 | "type": "string", |
| 13 | "enum": ["stable-channel", "beta-channel", "dev-channel", "canary-channel"] |
| 14 | } |
| 15 | } |
| 16 | } |
| 17 | }, |
| 18 | "state": { |
| 19 | "currentChannel": { |
| 20 | "type": "string", |
| 21 | "enum": ["stable-channel", "beta-channel", "dev-channel", "canary-channel"] |
| 22 | }, |
| 23 | "trackingChannel": { |
| 24 | "type": "string", |
| 25 | "enum": ["stable-channel", "beta-channel", "dev-channel", "canary-channel"] |
| 26 | }, |
| 27 | "status": { |
| 28 | "type": "string", |
| 29 | "enum": [ |
| 30 | "idle", |
| 31 | "checkingForUpdate", |
| 32 | "updateAvailable", |
| 33 | "downloading", |
| 34 | "verifying", |
| 35 | "finalizing", |
| 36 | "updatedNeedReboot", |
| 37 | "reportingErrorEvent", |
| 38 | "attemptingRollback", |
| 39 | "disabled" |
| 40 | ] |
| 41 | }, |
| 42 | "progress": { |
| 43 | "type": "number", |
| 44 | "minimum": 0, |
| 45 | "maximum": 1 |
| 46 | }, |
| 47 | "lastUpdateCheckTimestamp": { |
| 48 | "type": "number" |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | } |