🌊
Aqua Book
FAQDeveloper DocsAqua BookUpdates
  • Introduction
  • Getting Started
    • Installation
    • Quick Start
  • Language
    • Types
    • Values
    • Topology
    • Execution flow
      • Sequential
      • Conditional
      • Parallel
      • Iterative
    • Abilities & Services
    • CRDT Streams
    • Closures
    • Imports And Exports
      • Control, Scope And Visibility
    • Expressions
      • Header
      • Functions
      • Services
      • Type definitions
      • Overrideable constants
  • Libraries
    • @fluencelabs/aqua-lib
    • @fluencelabs/aqua-ipfs
    • @fluencelabs/registry
  • Aqua CLI
    • Service Management
    • Scheduling Scripts
    • Plugins
    • Peer state info
  • Changelog
Powered by GitBook
On this page
  • data
  • alias

Was this helpful?

  1. Language
  2. Expressions

Type definitions

data

Product type definition. See Types for details.

data SomeType:
  fieldName: FieldType
  otherName: OtherType
  third: []u32

alias

Aliasing a type to a name.

It may help with self-documented code and refactoring.

alias PeerId: string
alias MyDomain: DomainType
PreviousServicesNextOverrideable constants

Last updated 4 years ago

Was this helpful?