@aifeatures/admin-react 0.7.1 → 0.9.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.
package/dist/index.d.cts CHANGED
@@ -437,7 +437,7 @@ type OrderSource = "checkout" | "subscription" | "invoice";
437
437
  * deliberately sent nothing; it revives by itself once the order
438
438
  * is sendable again
439
439
  */
440
- type EmailSideStatus = "none" | "sending" | "sent" | "failed" | "failed_final" | "suppressed";
440
+ type EmailSideStatus = "none" | "sending" | "sent" | "failed" | "failed_final" | "suppressed" | "unknown";
441
441
  /**
442
442
  * A line item snapshot on an order. The wire format is an opaque snapshot
443
443
  * taken at checkout time — every field is optional and renderers should keep
@@ -2669,6 +2669,13 @@ interface AnalyticsViewProps {
2669
2669
  * collecting, nothing this period -> pick a wider period
2670
2670
  *
2671
2671
  * Rendering any of them as zeros would tell the merchant their site is dead.
2672
+ *
2673
+ * "Collecting" is the server's word for "has an analytics identity", and the
2674
+ * identity is minted when the site is CREATED, not when it is published — so
2675
+ * status says collecting for every site from day one. Whether pages carrying
2676
+ * that identity are actually live is a fact only the host has, which is why
2677
+ * `published === false` overrides a collecting status: an unpublished site
2678
+ * with nothing ever seen is the first row above, not the third.
2672
2679
  */
2673
2680
  declare function AnalyticsView({ filters: filtersProp, onFiltersChange, refreshKey, onBackToWebsite, className, published, lastPublishedAt, }: AnalyticsViewProps): react_jsx_runtime.JSX.Element;
2674
2681
 
package/dist/index.d.ts CHANGED
@@ -437,7 +437,7 @@ type OrderSource = "checkout" | "subscription" | "invoice";
437
437
  * deliberately sent nothing; it revives by itself once the order
438
438
  * is sendable again
439
439
  */
440
- type EmailSideStatus = "none" | "sending" | "sent" | "failed" | "failed_final" | "suppressed";
440
+ type EmailSideStatus = "none" | "sending" | "sent" | "failed" | "failed_final" | "suppressed" | "unknown";
441
441
  /**
442
442
  * A line item snapshot on an order. The wire format is an opaque snapshot
443
443
  * taken at checkout time — every field is optional and renderers should keep
@@ -2669,6 +2669,13 @@ interface AnalyticsViewProps {
2669
2669
  * collecting, nothing this period -> pick a wider period
2670
2670
  *
2671
2671
  * Rendering any of them as zeros would tell the merchant their site is dead.
2672
+ *
2673
+ * "Collecting" is the server's word for "has an analytics identity", and the
2674
+ * identity is minted when the site is CREATED, not when it is published — so
2675
+ * status says collecting for every site from day one. Whether pages carrying
2676
+ * that identity are actually live is a fact only the host has, which is why
2677
+ * `published === false` overrides a collecting status: an unpublished site
2678
+ * with nothing ever seen is the first row above, not the third.
2672
2679
  */
2673
2680
  declare function AnalyticsView({ filters: filtersProp, onFiltersChange, refreshKey, onBackToWebsite, className, published, lastPublishedAt, }: AnalyticsViewProps): react_jsx_runtime.JSX.Element;
2674
2681