@hiver/connector-agent 4.27.0-appWidgets-beta.2 → 4.27.0-appWidgets-beta.4

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.
@@ -12,11 +12,13 @@ type Row = {
12
12
  /**
13
13
  * Reads rows without mutating the response (parseCardData sorts in place).
14
14
  *
15
- * A card that found nothing still comes back with its fields (empty values) plus a
16
- * "No '<card>' found for …" cardErrorMessage, or, under an ID lookup, with no data at
17
- * all. The app tab shows those as "nothing found" (isCardEmpty), so they are not
18
- * records here either: counting them turned every lookup miss into a phantom card
19
- * titled with the field label.
15
+ * A card that found nothing, or whose upstream call failed, still comes back with its
16
+ * fields (null values) plus a cardErrorMessage: "No '<card>' found for …" for a miss,
17
+ * "Issue with the connected <app> app … (Error code: …)" for a failure. Under an ID
18
+ * lookup a miss has no data at all. The app tab shows these as empty or errored cards
19
+ * (isCardEmpty / isCardError), never as records, so they are not records here either:
20
+ * counting them turned every miss or failed read into a phantom card titled with the
21
+ * field label.
20
22
  */
21
23
  export declare const extractRows: (data: ISpecificCard | null) => Row[];
22
24
  export declare const toNumber: (value: CardFieldValue | undefined) => number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/features/app-widget/model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAe,kBAAkB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpG,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,QAAQ,CAAC;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAkB,cAAc,EAAmB,MAAM,SAAS,CAAC;AAElG,KAAK,QAAQ,GAAG,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC,GAAG;IAC1F,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,yFAAyF;AACzF,KA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