@zaisma/cli 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/zaisma.mjs +3 -2
package/package.json
CHANGED
package/zaisma.mjs
CHANGED
|
@@ -65,6 +65,7 @@ const TEXTURE_CHECK_COUNT = 20;
|
|
|
65
65
|
/** The choices the API takes, checked before anything is sent (test/node/cli.test.ts holds them to the API's lists). */
|
|
66
66
|
const VISIBILITIES = ["listed", "unlisted", "private", "draft"];
|
|
67
67
|
const SCREENS = ["wide", "phone"];
|
|
68
|
+
const MATCH_UPDATE_MODES = ["next_match", "now"];
|
|
68
69
|
const TOPIC_KINDS = ["bug", "gap", "feature", "question", "talk"];
|
|
69
70
|
const MESSAGE_KINDS = ["bug", "gap", "feature", "question"];
|
|
70
71
|
const FORUM_CATEGORIES = ["publishing", "scans", "pages", "rooms", "servers", "passes", "sdk", "saves", "stats", "mcp", "api", "cli", "accounts", "dashboard", "reports", "rules", "docs", "other"];
|
|
@@ -153,7 +154,7 @@ const COMMANDS = {
|
|
|
153
154
|
game: { hasValue: true, isRequired: true, placeholder: "<slug>", about: "The game to upload to" },
|
|
154
155
|
"patch-notes": { hasValue: true, placeholder: '"…"', about: "What changed, shown with the update" },
|
|
155
156
|
"publish-when-approved": { hasValue: false, about: "Go live as soon as it passes review" },
|
|
156
|
-
"match-update-mode": { hasValue: true,
|
|
157
|
+
"match-update-mode": { hasValue: true, choices: MATCH_UPDATE_MODES, about: "With --publish-when-approved: when running matches get it: next_match (they finish on the version they started; the default) or now (every live match switches within seconds, in the same room)" },
|
|
157
158
|
},
|
|
158
159
|
},
|
|
159
160
|
shader: {
|
|
@@ -172,7 +173,7 @@ const COMMANDS = {
|
|
|
172
173
|
arguments: [{ name: "slug" }, { name: "version_id" }],
|
|
173
174
|
flags: {
|
|
174
175
|
"scheduled-publish-at": { hasValue: true, placeholder: "<time>", about: 'Publish later instead: an ISO 8601 time with Z or an offset, like "2026-11-01T17:00:00Z" or "2026-11-01T17:00+01:00"' },
|
|
175
|
-
"match-update-mode": { hasValue: true,
|
|
176
|
+
"match-update-mode": { hasValue: true, choices: MATCH_UPDATE_MODES, about: "When running matches get it: next_match (they finish on the version they started; the default) or now (every live match switches within seconds, in the same room)" },
|
|
176
177
|
},
|
|
177
178
|
},
|
|
178
179
|
unschedule: { about: "Cancel a publish-later", arguments: [{ name: "slug" }, { name: "version_id" }], flags: {} },
|