类型
类型
参考范围
此页面侧重于公共对象和连接类型。有关枚举、输入对象、联合类型和辅助边缘包装器等详尽的 SDL 详细信息,请继续参阅 Schema。
关于类型
publicApp、publicApps 和 team { ... } 时最常遇到的公共输出形状。使用此页面来:- 确认公共对象上可用的确切字段名称
- 检查连接类型和详细信息包装器类型的顶层形状
- 直接从查询、突变或指南链接到一种类型
App
App 的字段
id(ID!)identifier(String!)isPublic(Boolean!)scope(AppScope!)coverImageUrl(String)tags([String!])stats(AppStats)store(AppStore)createdAt(DateTime!)updatedAt(DateTime!)
AppConnection
AppConnection 的字段
nodes([App!]!)edges([AppEdge!]!)pageInfo(PageInfo!)
AppDetail
AppDetail 的字段
app(App!)frontend(AppFrontend)releases(AppReleaseConnection!)screenshots([AppScreenshot!])user(AppUser!)
AppFrontend
AppFrontend 的字段
frontendUrl(String!)isFallback(Boolean!)
AppRelease
AppRelease 的字段
id(ID!)appId(ID!)version(String!)isPublic(Boolean!)createdAt(DateTime!)updatedAt(DateTime!)
AppReleaseConnection
AppReleaseConnection 的字段
nodes([AppRelease!]!)edges([AppReleaseEdge!]!)pageInfo(PageInfo!)
AppReleaseModel
AppReleaseModel 的字段
modelId(ID!)modelIdentifier(String!)modelInstanceId(ID!)modelVersionId(ID!)
AppReleaseStore
AppReleaseStore 的字段
changelog(String!)createdAt(DateTime!)updatedAt(DateTime!)
AppReleaseWithDetail
AppReleaseWithDetail 的字段
id(ID!)appId(ID!)version(String!)isPublic(Boolean!)models([AppReleaseModel!])store(AppReleaseStore)createdAt(DateTime!)updatedAt(DateTime!)
AppScreenshot
AppScreenshot 的字段
appStoreMediaId(ID!)order(Int!)url(String!)
AppStats
AppStats 的字段
downloadCount(Int!)starCount(Int!)
AppStore
AppStore 的字段
name(String)descriptionShort(String)descriptionLong(String)sourceUrl(String)
AppUser
AppUser 的字段
isStarred(Boolean!)
Device
Device 的字段
id(ID!)name(String!)kind(DeviceKind!)status(DeviceStatus!)architecture(DeviceArch!)capabilities([DeviceCapability!]!)flags([DeviceFlag!]!)model(String)normalizedModel(String)platform(String)serialNumber(String)linuxId(String)osRelease(DeviceOsRelease)version(String)lastContactAt(DateTime)lastStatusChangeAt(DateTime)
DeviceApp
DeviceApp 的字段
id(ID!)identifier(String!)localAppId(String!)appVersion(String!)enabled(Boolean)frontendPort(Int)isDev(Boolean!)state(DeviceAppState!)
DeviceAppConnection
DeviceAppConnection 的字段
nodes([DeviceApp!]!)edges([DeviceAppEdge!]!)pageInfo(PageInfo!)
DeviceAppDetail
DeviceAppDetail 字段
deviceApp(DeviceApp!)app(AppDetail)appRelease(AppRelease)frontend(DeviceAppFrontend)
DeviceAppFailure
DeviceAppFailure 字段
code(Int)message(String!)
DeviceAppFrontend
DeviceAppFrontend 字段
kind(DeviceAppFrontendKind!)url(String!)
DeviceAppInstallation
DeviceAppInstallation 字段
processing(Boolean!)progress(Int)
DeviceAppState
DeviceAppState 字段
status(DeviceAppStatus!)failure(DeviceAppFailure)installation(DeviceAppInstallation)update(DeviceAppUpdate)
DeviceAppUpdate
DeviceAppUpdate 字段
appVersion(String!)message(String)progress(Int)status(DeviceAppUpdateStatus!)
DeviceConnection
DeviceConnection 字段
nodes([Device!]!)edges([DeviceEdge!]!)pageInfo(PageInfo!)
DeviceGroup
DeviceGroup 字段
id(ID!)name(String!)createdAt(DateTime!)updatedAt(DateTime!)
DeviceGroupConnection
DeviceGroupConnection 字段
nodes([DeviceGroup!]!)edges([DeviceGroupEdge!]!)pageInfo(PageInfo!)
DeviceNetworkInterface
DeviceNetworkInterface 字段
interfaceName(String!)ipv4Address(IpAddress)ipv6Address(IpAddress)macAddress(MacAddress)otherIps([IpAddress!])
DeviceOsRelease
DeviceOsRelease 字段
id(Int!)imageRev(String!)versionId(String!)buildId(String)flavor(String)name(String)prettyName(String)version(String)
DeviceUpgrade
DeviceUpgrade 字段
status(DeviceUpgradeStatus!)percentage(Int)error(String)stdout(String)stderr(String)startedByTeamMemberId(ID)versionFrom(UUID)versionTo(UUID)startAt(DateTime)endAt(DateTime)createdAt(DateTime!)updatedAt(DateTime!)
DeviceUpgradeConnection
DeviceUpgradeConnection 字段
nodes([DeviceUpgrade!]!)edges([DeviceUpgradeEdge!]!)pageInfo(PageInfo!)
DeviceWithDetail
DeviceWithDetail 字段
id(ID!)name(String!)kind(DeviceKind!)status(DeviceStatus!)architecture(DeviceArch!)capabilities([DeviceCapability!]!)flags([DeviceFlag!]!)availableUpgrade(Firmware)networkInterfaces([DeviceNetworkInterface!]!)model(String)normalizedModel(String)platform(String)serialNumber(String)linuxId(String)osRelease(DeviceOsRelease)version(String)lastContactAt(DateTime)lastStatusChangeAt(DateTime)
EventFile
EventFile 字段
id(ID!)name(String!)classification(EventFileClassification!)mimeType(String!)hash(String!)size(Int!)presignedUrl(String!)
EventSnap
EventSnap 字段
id(ID!)name(String!)createdAt(DateTime!)tags([String!]!)extras(JSONObject!)files([EventFile!])sourceAppIdentifier(String)sourceDeviceId(ID)sourceSerialNumber(String)
EventSnapConnection
EventSnapConnection 字段
nodes([EventSnap!]!)edges([EventSnapEdge!]!)pageInfo(PageInfo!)
PageInfo
PageInfo 字段
hasNextPage(Boolean!)hasPreviousPage(Boolean!)startCursor(String)endCursor(String)
TeamAdoptKey
TeamAdoptKey 字段
id(ID!)name(String!)usesRemaining(Int!)deleteWhenUnusable(Boolean!)expiresAt(DateTime)revokedAt(DateTime)
TeamAdoptKeyConnection
TeamAdoptKeyConnection 字段
nodes([TeamAdoptKey!]!)edges([TeamAdoptKeyEdge!]!)pageInfo(PageInfo!)