store-only apps edit their listing on the store (storebound listing live / set: old -> new per field with the checks, a PATCH of only the edited fields; serve listing.set is the one store-only write, its token bound to the store ids; policy.rs STORE_ONLY_WRITES, write_with_confirm for store targets); screenshot captions per language and scene edited as a text edit of the shots copy JSON (JSON files keep their layout); Play content rating, target audience and App content answers in App info; docs/console-parity.md after the editors (73 rows: 55 complete, 18 with the reason) and tests/console-parity.test.ts keeping it honest
This commit is contained in:
parent
3cea2af4e1
commit
7ac028421a
33 changed files with 852 additions and 157 deletions
|
|
@ -122,6 +122,15 @@ pub const NEW_FOLDER_METHODS: &[&str] = &["project.init", "import.fastlane"];
|
|||
pub const CONSOLE_FILL: &str = "console.fill";
|
||||
pub const CONSOLE_FILL_NOTE: &str = "Console pages change. This is AI-assisted: review every field in the browser and press the final button (Publish, Submit, Save or Create) yourself. storebound moves through the pages for you and never submits or publishes; App Privacy answers stay a draft until you press Publish.";
|
||||
|
||||
/// Writes a store-only app (no folder) may run: they send only what the call carries (one language's texts), never
|
||||
/// the sidecar's generated config. Dry run from the window like every write; the real run only through
|
||||
/// `write_with_confirm`, its token bound to the store ids (`virtual`) instead of a folder.
|
||||
pub const STORE_ONLY_WRITES: &[&str] = &["listing.set"];
|
||||
|
||||
pub fn store_only_write(method: &str, kind: Option<Kind>) -> bool {
|
||||
kind == Some(Kind::Write) && STORE_ONLY_WRITES.contains(&method)
|
||||
}
|
||||
|
||||
/// Reads that are never kept in the offline cache (big: one rendered image as a data: URL).
|
||||
pub const NO_CACHE_METHODS: &[&str] = &["project.render"];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue