Built and signed on GitHub Actions
Built and signed on GitHub Actions
Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun
License
MIT
•
Downloads198/wk
•
Published5 days ago (2.3.6)
Vocabularies library for Fedify
A proposed economic transaction describing what is being offered or requested in a Proposal.
Constructors
values: { id?: URL | null; action?: string | null; resourceConformsTo?: URL | null; resourceQuantity?: Measure | null; availableQuantity?: Measure | null; minimumQuantity?: Measure | null; }, options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; tracerProvider?: TracerProvider; } new Intent(
Constructs a new instance of Intent with the given values.
Static Properties
The type URI of Intent: https://w3id.org/valueflows/ont/vf#Intent.
Static Methods
Converts a JSON-LD structure to an object of this type.
Properties
The type of economic transaction. The value of this property should be
either "deliverService" or "transfer".
The quantity of the offered resource currently available.
The minimum possible quantity of the resource.
The type of an economic resource. Could be any URI.
The amount and unit of the economic resource.
Methods
Clones this instance, optionally updating it with the given values.
Converts this object to a JSON-LD structure.