@salesforce/lds-adapters-cdp-semantic-authoring 1.296.1 → 1.297.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,13 +8,12 @@ uses:
8
8
  (luvio.ttl): 30000 # 30 seconds in Miliseconds
9
9
 
10
10
  types:
11
- SemanticModelCollectionOutputRepresentation:
12
- (luvio.opaque): true
13
11
  SemanticModelOutputRepresentation:
14
- (luvio.opaque): true # https://www.luvio.dev/#/content/deep-dive-consistency?id=opaque-data
15
12
  (luvio.key):
16
13
  name: apiName
17
- # TODO: Add all other nested types? but not collections?
14
+ SemanticMetricOutputRepresentation:
15
+ (luvio.key):
16
+ name: id
18
17
 
19
18
  /ssot/semantic/models:
20
19
  get:
@@ -29,4 +28,13 @@ types:
29
28
  name: urlParams.modelApiNameOrId
30
29
  # Need to define all queryParameters from api.raml
31
30
  # Possible define ETAG as well: see https://www.luvio.dev/#/content/deep-dive-consistency?id=integrity
32
- # Need to define all other Getters we want to expose
31
+ /metrics:
32
+ get:
33
+ (luvio.adapter):
34
+ name: getSemanticMetrics
35
+ /metrics/{metricNameOrId}:
36
+ get:
37
+ (luvio.key):
38
+ name: urlParams.metricNameOrId
39
+ (luvio.adapter):
40
+ name: getSemanticMetric