Skip to main content
View as Markdown

GloScrScript

Represents a script with details including its versions.

Common Data Model​

Returned By​

gloScrScript query

Member Of​

GloScrCreateScriptPayload object ● GloScrRenameScriptPayload object ● GloScrScriptConnection object ● GloScrScriptEdge object

type GloScrScript {
createdAt: DateTime!
description: String
name: String!
scriptId: String!
versionById(
scriptVersionId: String!
): GloScrScriptVersion
versions(
after: String
before: String
first: Int
last: Int
order: [GloScrScriptVersionSortInput!]
): GloScrScriptVersionConnection
}

Fields​

createdAt ● DateTime! non-null scalar​

description ● String scalar​

name ● String! non-null scalar​

scriptId ● String! non-null scalar​

versionById ● GloScrScriptVersion object​

Retrieves a specific version of the script by its version ID.

scriptVersionId ● String! non-null scalar​

versions ● GloScrScriptVersionConnection object​

Retrieves versions of the script with pagination options.

after ● String scalar​

Returns the elements in the list that come after the specified cursor.

before ● String scalar​

Returns the elements in the list that come before the specified cursor.

first ● Int scalar​

Returns the first _n_ elements from the list.

last ● Int scalar​

Returns the last _n_ elements from the list.

order ● [GloScrScriptVersionSortInput!] list input​