execModBuild
Build a mod from one ckx-sdk crate, as execBuild builds a developer's crates. Returns at once with the build queued; poll execModBuildStatus, then pass its id to execModDeploy. One build at a time per player. studio names the Crowdy Studio project and revision the crate is (yours, at a revision it has reached); the mod version deployed from the build reports them. Requires the 'write_server_code' permission in the app.
execModBuild(
appId: BigInt!
crate: ExecBuildCrateInput!
studio: ExecStudioSourceInput
): ExecBuild!
Arguments
execModBuild.appId ● BigInt! non-null scalar
The app the grid is in.
execModBuild.crate ● ExecBuildCrateInput! non-null input
The mod’s one ckx-sdk crate, e.g. execModStarter’s files.
execModBuild.studio ● ExecStudioSourceInput input
The Crowdy Studio project of yours and its saved revision the crate is, which the build, and what is deployed from it, report back.
Type
ExecBuild object
A ck-exec build: queued, building, succeeded or failed, with the compiler’s log and, once it succeeds, one module per crate.