Skip to main content

CrowdyStudioGitHubLayout

Where the SERVER and CLIENT crates live in the bound repository, resolved from crowdy.json (or inferred) at one commit. The only layout grammar: clients must not parse crowdy.json themselves.

type CrowdyStudioGitHubLayout {
commitSha: String!
server: String!
client: String
assets: String!
fromFile: Boolean!
kind: CrowdyStudioGitHubLayoutKind!
}

Fields​

CrowdyStudioGitHubLayout.commitSha ● String! non-null scalar​

Commit the layout was resolved at.

CrowdyStudioGitHubLayout.server ● String! non-null scalar​

Directory of the SERVER Cargo.toml; . is the repository root.

CrowdyStudioGitHubLayout.client ● String scalar​

Directory of the CLIENT Cargo.toml, or null when server-only.

CrowdyStudioGitHubLayout.assets ● String! non-null scalar​

Prefix visitors may fetch assets from (no trailing slash).

CrowdyStudioGitHubLayout.fromFile ● Boolean! non-null scalar​

A crowdy.json exists at the repository root. False means the layout was inferred from the tree.

CrowdyStudioGitHubLayout.kind ● CrowdyStudioGitHubLayoutKind! non-null enum​

STUDIO_CRATES for a mod repository, CONSTRUCT_GAME for a Construct game with no Studio rust under the layout roots (the same test TAKE_REPOSITORY adopts by).

Returned By​

crowdyStudioGitHubLayout query