diff --git a/ui/src/lib/graphql/plan.fragments.ts b/ui/src/lib/graphql/plan.fragments.ts index 542402e..710555a 100644 --- a/ui/src/lib/graphql/plan.fragments.ts +++ b/ui/src/lib/graphql/plan.fragments.ts @@ -56,6 +56,50 @@ export const SIMPLIFIED_PLAN_RETURN_FIELDS = gql` } ` +export const COMMITMENT_RETURN_FIELDS = gql` + fragment CommitmentReturnFields on Commitment { + id + revisionId + hasBeginning + action { + id + label + } + meta { + retrievedRevision { + id + time + } + } + provider { + id + name + } + receiver { + id + name + } + resourceQuantity { + hasNumericalValue + hasUnit { + id + label + } + } + resourceConformsTo { + id + name + defaultUnitOfResource { + label + } + } + fulfilledBy { + id + } + finished + } +` + export const PROCESS_RETURN_FIELDS = gql` fragment ProcessReturnFields on Process { id diff --git a/ui/src/lib/icons/EconomicEvent.svelte b/ui/src/lib/icons/EconomicEvent.svelte index d8446f0..5e60bca 100644 --- a/ui/src/lib/icons/EconomicEvent.svelte +++ b/ui/src/lib/icons/EconomicEvent.svelte @@ -1,4 +1,4 @@ - - \ No newline at end of file + --> + + + + + + + + + + + + + + $ +