mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <[email protected]> Co-authored-by: Renovate Bot <[email protected]>
44 lines
617 B
GraphQL
44 lines
617 B
GraphQL
# https://github.com/graphql/graphql-spec/blob/master/spec/Section%203%20--%20Type%20System.md#interfaces
|
|
|
|
interface Actor {
|
|
id: ID
|
|
name: String
|
|
}
|
|
|
|
interface Resource implements Node
|
|
{
|
|
id: ID!
|
|
url: String
|
|
}
|
|
|
|
interface Resource implements
|
|
Node {
|
|
id: ID!
|
|
url: String
|
|
}
|
|
|
|
interface Image implements Resource
|
|
& Node {
|
|
id: ID!
|
|
url: String
|
|
thumbnail: String
|
|
}
|
|
|
|
interface Node implements Named &
|
|
Node {
|
|
id: ID!
|
|
name: String
|
|
}
|
|
|
|
interface Named implements
|
|
Node & Named {
|
|
id: ID!
|
|
name: String
|
|
}
|
|
|
|
# `InterfaceTypeExtension`
|
|
extend interface Bar implements
|
|
A& B & C {
|
|
two(argument: InputType!): Type
|
|
}
|