Utility Types
These are common types used throughout the schema to provide standardized structures for things like pagination and metadata.
Scalar Types
URI
URI
The URI
type simply declares a reference to an external web URL, Holochain entry or other resource.
DateTime
DateTime
The DateTime
scalar type represents a DateTime value as specified by ISO 8601.
Decimal
Decimal
The Decimal
scalar type represents arbitrary-precision floating-point numbers as specified by IEEE 854-1987. They are represented as strings.
Pagination
PageInfo
PageInfo
Information about pagination in a connection.
hasNextPage
Boolean!
Indicates if there are more pages of data.
hasPreviousPage
Boolean!
Indicates if there are previous pages of data.
startCursor
String
The cursor of the first edge in the connection.
endCursor
String
The cursor of the last edge in the connection.
totalCount
Int
The total result count, if it can be determined.
pageLimit
Int
The number of items requested per page.
Record History
RecordMeta
RecordMeta
Generic metadata fields attached to all primary record types.
previousRevision
Revision
Metadata about the previous revision of this record.
previousRevisionsCount
Int
Number of older revisions, if known.
futureRevisionsCount
Int
Number of newer revisions, if known.
latestRevision
Revision
Metadata regarding the most recent revision of this record.
retrievedRevision
Revision!
Metadata regarding the requested revision of this record.
Revision
Revision
Represents a single revision of a record.
id
ID!
A unique identifier for the revision.
time
DateTime
The timestamp of when the revision was created.
Ordering
Sort
(enum)
Sort
(enum)Defines the sort order for a connection.
asc
Ascending
desc
Descending
Other Utility Types
Measure
Measure
A quantity of something, including the value and the unit.
hasNumericalValue
Decimal!
The numeric value of the measure.
hasUnit
Unit!
The unit of the measure.
Duration
Duration
The length of time something lasts.
hasNumericalValue
Decimal!
The numeric value of the duration.
hasUnit
Unit!
The unit of time for the duration.
AccountingScope
AccountingScope
Grouping around something to create a boundary or context.
id
ID!
A unique identifier for the scope.
revisionId
ID!
The identifier of the last revision of this scope.
name
String!
An informal or formal textual identifier for the scope.
note
String
A textual description or comment.
meta
RecordMeta!
Metadata about the record.
commitments
CommitmentConnection
Commitments in this scope.
economicEvents
EconomicEventConnection
Economic events in this scope.
intents
IntentConnection
Intents in this scope.
processes
ProcessConnection
Processes in this scope.
proposals
ProposalConnection
Proposals in this scope.
Last updated