@metreeca/blue - v0.12.0
    Preparing search index...

    Function id

    • Creates the member naming a resource.

      Marks the member it is declared under as carrying the resource's identifier, mapping it to the JSON-LD @id keyword. A shape states at most one, counted once inheritance has merged the members: a marker reaching the shape under one name through several parents, or redeclared over an inherited one, is a single member, while two markers under distinct names are rejected.

      Parameters

      • constraints: { hidden?: boolean } = {}

        Optional member constraints

        • Optional Readonlyhidden?: boolean

          Excludes the member from default serialisation

      Returns Id

      An immutable member naming the resource