Explorer

definy.run-options-response

description
(en) The response of RunService/GetRunOptions: {administrator, serverRun}. serverRun is whether this server can run programs (read_host_settings run_expressions); the account can run on the server if both are true
type
Fn(administrator: Boolean, server_run: Boolean) -> @definy.service-io
expression
fn(administrator$0, server_run$1) =>
  @definy.json-response(
    status: 200,
    body: #object<@definy.json>([
      {key: "administrator", value: #boolean<@definy.json>($0)},
      {key: "serverRun", value: #boolean<@definy.json>($1)}
    ])
  )
visibility
public
definy.run-options-response (project definy, branch main, snapshot l0VFjJZP174d8CbZWFoujAGTYjgsQu4uTq5uWCZaXgo)
id: IBk-1ayl9lCRIfWJdpb3SzrfJ0ezO4UtSkidQoeJE2U
content hash: 2oXNvnZfH9wzeVdERjPDIcy9fkcCWP0_4zbtm8w1H5k