@aiquants/daily-report 0.45.0 → 0.46.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/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to `@aiquants/daily-report` are documented here.
4
4
 
5
+ ## 0.46.0 (2026-10-16)
6
+
7
+ 版番号は 0.46.0 (minor) とする: 設定の `streamKey` と公開の `buildDailyReportSseStreamKey` を置き換える (下の Breaking)。
8
+
9
+ ### Changed
10
+
11
+ - **Redis のキーは 1 つの接頭辞から組む**: SSE のストリームとワーカーをまたぐ 3 種の epoch (ID の一覧・営業日・詳細) のキーを、サービスの設定
12
+ `redisKeyPrefix` (既定 `daily-report`) から組む (`<接頭辞>:sse-stream:v4`・`<接頭辞>:ids:epoch`・`<接頭辞>:date-epoch:<営業日>`・
13
+ `<接頭辞>:detail-epoch:<日報の ID>`)。epoch のキーは固定の名前だったので、同じ Redis を使う環境 (開発と本番など) は、ストリームのキーを分けても
14
+ 互いのキャッシュを無効にし合った。環境ごとに接頭辞を 1 つ渡せば、知らせも epoch も重ならない。既定の接頭辞のキーは 0.45.0 と字面まで同じ。
15
+
16
+ ### Breaking
17
+
18
+ - **設定の `streamKey` は `redisKeyPrefix` に置き換わる**: 設定に `streamKey` があると、値によらず生成のときに `TypeError`
19
+ (`[daily-report] redisKeyPrefix must be given in place of the removed key streamKey`) で止まる。接頭辞は空白も制御文字も含まない 1 文字以上で、`:` で
20
+ 始まらず終わらないもの。ほかの値は `RangeError` (`[daily-report] redisKeyPrefix must be a Redis key prefix of …; got <値>`) で止まる。
21
+ Migration: `streamKey` に基のキーを渡していたホストは、環境を見分ける名前を `redisKeyPrefix` に渡す (ストリームは `<接頭辞>:sse-stream:v4` になり、
22
+ 前の `<基のキー>:v4` のストリームは書かれなくなって手で消せる)。既定のまま使っていたホストは何も変えなくてよい。
23
+ - **公開の `buildDailyReportSseStreamKey(streamKey)` は `buildDailyReportRedisKeys(redisKeyPrefix)` に置き換わる**: 接頭辞の下のどのキーも返す
24
+ (`DailyReportRedisKeys`: `sseStream`・`idsEpoch`・`dateEpochPrefix`・`detailEpochPrefix`)。
25
+ Migration: `buildDailyReportSseStreamKey(base)` は `buildDailyReportRedisKeys(prefix).sseStream` に替え、epoch を直に読み書きする試験は返したキーを使う。
26
+
5
27
  ## 0.45.0 (2026-10-16)
6
28
 
7
29
  版番号は 0.45.0 (minor) とする: ピアの `@aiquants/swipe-overlay` の下限を上げる (下の Breaking)。
package/README.md CHANGED
@@ -605,7 +605,7 @@ its payload — with one strict parser each, after authentication and before any
605
605
  shared draft-label test, beside the hub row) or true when its creation category is one of the names; a row whose flag reads as anything but 1 or 0
606
606
  throws.
607
607
  The client compares no name: the views open the viewer's own draft in the editor by `isDraft` alone, so a draft named by any of the names, or by a
608
- variant the collation equates, behaves as one ([Client wiring](#client-wiring)). The SSE stream's key carries the wire version (`<streamKey>:v4`; [Realtime architecture](#realtime-architecture)),
608
+ variant the collation equates, behaves as one ([Client wiring](#client-wiring)). The SSE stream's key carries the wire version (`<redisKeyPrefix>:sse-stream:v4`; [Realtime architecture](#realtime-architecture)),
609
609
  so an entry written before `isDraft` existed is never read.
610
610
  - `resolveVisibleSourceTypes(request, { reason })` — **Required row-level authorization port.** Returns the `Hub.source_type` values this request may
611
611
  view, or the explicit opt-out `{ unrestricted: "<reason>" }` of a deployment that does not restrict by source type. Applies uniformly to every server
@@ -665,11 +665,18 @@ its payload — with one strict parser each, after authentication and before any
665
665
  The JSON answers themselves write nothing, and no line carries a request header's value or traces an answer given before the endpoint (the 401, 404
666
666
  and 405), so a client decides neither the number nor the size of the lines.
667
667
  - Primary tuning parameters: `idsTtlMs` (180 s) / `businessDateTtlMs` (300 s) / `cacheDefaultTtlMs` (60 s) / `cacheMaxBuckets` (4,096) /
668
- `cacheMaxBytes` (512 MiB per process; both **The SQL result cache** in [The API route](#the-api-route)) / `streamKey` / `streamMaxLen` (10,000
668
+ `cacheMaxBytes` (512 MiB per process; both **The SQL result cache** in [The API route](#the-api-route)) / `streamMaxLen` (10,000
669
669
  entries); the attachment tuning lives in the `attachments` block ([Attachments](#attachments)).
670
670
  Every number among them is an integer of at least 1, and only an omitted one takes its default: `0`, a negative number, `NaN`, a fraction or 2^53
671
671
  stops `createDailyReportService` and `createDailyReportServer` with a `RangeError` that names the key
672
672
  (`[daily-report] idsTtlMs must be an integer >= 1; got 0`).
673
+ - `redisKeyPrefix` (`daily-report` by default) — the prefix of every Redis key of the service: the SSE stream `<prefix>:sse-stream:v4` and the
674
+ cross-worker epochs `<prefix>:ids:epoch`, `<prefix>:date-epoch:<business date>` and `<prefix>:detail-epoch:<report id>`. Environments that share
675
+ one Redis (development and production, say) each pass their own prefix, so that neither reads the other's notifications nor drops the other's
676
+ cached reads. The prefix is one or more characters without whitespace or control characters, neither
677
+ starting nor ending with `:`, and only an omitted one takes the default: any other value stops `createDailyReportService` and
678
+ `createDailyReportServer` with a `RangeError` (`[daily-report] redisKeyPrefix must be a Redis key prefix of …; got ""`), and a configuration that
679
+ carries `streamKey` stops with a `TypeError` that names `redisKeyPrefix` instead.
673
680
 
674
681
  #### Configuration errors
675
682
 
@@ -1637,10 +1644,10 @@ and without the retry the victim would answer 500 and lose what it wrote.
1637
1644
 
1638
1645
  ### Realtime architecture
1639
1646
 
1640
- 1. Mutation services publish to Redis Stream (`<streamKey>:v4`, `daily-report:sse-stream:v4` by default: the key carries the wire version of the
1647
+ 1. Mutation services publish to Redis Stream (`<redisKeyPrefix>:sse-stream:v4`, `daily-report:sse-stream:v4` by default: the key carries the wire version of the
1641
1648
  stream's messages and their embedded report, so a deployment that changes a required key of them reads no entry an older version wrote, and the stream of the previous version
1642
1649
  stops growing and can be deleted by hand; a host that reads or writes the stream itself, such as an integration test, builds the key with the
1643
- server entry's `buildDailyReportSseStreamKey(streamKey)` instead of restating the version) in sequence:
1650
+ server entry's `buildDailyReportRedisKeys(redisKeyPrefix).sseStream` instead of restating the version) in sequence:
1644
1651
  `invalidate -> epoch increment -> SSE publish`.
1645
1652
  2. `DailyReportSseReader` uses a single blocking `xRead` loop to fan-out events to all SSE connections (eliminating per-connection Redis TCP
1646
1653
  connections). `createDailyReportServer` creates it; `createDailyReportHandlers` takes the reader as `sseReader` typed by the port
@@ -4596,8 +4603,9 @@ Documenting a name here is no reason to export it, and the values that tune the
4596
4603
  `DAILY_REPORT_SHARP_THUMBNAIL_DECODE_BUDGET_BYTES` / `DAILY_REPORT_SHARP_THUMBNAIL_DECODE_WORK_MODEL` (the render deadline `renderMs` and the
4597
4604
  decode-work and walk bounds, for a host's conformance checks) / `DAILY_REPORT_ATTACHMENT_THUMBNAIL_OUTPUT_MEDIA_TYPES` /
4598
4605
  `DAILY_REPORT_ATTACHMENT_THUMBNAIL_MAX_OUTPUT_BYTES`.
4599
- - SSE and caching: `buildDailyReportSseStreamKey(streamKey)` (the Redis stream key the service writes and reads the SSE entries of, the base key
4600
- with the wire version appended, `<streamKey>:v4`, for a host that reads or writes the stream itself) / `DailyReportSseReader` /
4606
+ - SSE and caching: `buildDailyReportRedisKeys(redisKeyPrefix)` (`DailyReportRedisKeys`: the keys the service builds under the prefix, the SSE
4607
+ stream `sseStream` with the wire version, `<prefix>:sse-stream:v4`, and the epoch keys `idsEpoch`, `dateEpochPrefix` and `detailEpochPrefix`,
4608
+ for a host that reads or writes the stream or the epochs itself) / `DailyReportSseReader` /
4601
4609
  `readDailyReportSseStreamEntry(raw, logger)` (reads one Redis stream entry, `{ id, message }` as the client returns it, once: `{ entry, json }`,
4602
4610
  the frozen `StreamEntry` the shared reader hands every subscriber and the entry's parsed JSON value; for a host whose own reader keeps the same
4603
4611
  contract) /
package/dist/server.d.mts CHANGED
@@ -1852,7 +1852,7 @@ type DailyReportServiceConfig = {
1852
1852
  string,
1853
1853
  ...string[]
1854
1854
  ];
1855
- streamKey?: string;
1855
+ redisKeyPrefix?: string;
1856
1856
  streamMaxLen?: number;
1857
1857
  idsTtlMs?: number;
1858
1858
  businessDateTtlMs?: number;
@@ -1867,7 +1867,6 @@ type DailyReportIdsSource = {
1867
1867
  readonly streamAnchor: string | null;
1868
1868
  readonly snapshot: string;
1869
1869
  };
1870
- declare const buildDailyReportSseStreamKey: (baseKey: string) => string;
1871
1870
  declare function createDailyReportService(config: DailyReportServiceConfig): {
1872
1871
  streamKey: string;
1873
1872
  attachmentDelivery: Readonly<{
@@ -1987,6 +1986,13 @@ declare class DailyReportSseReader implements DailyReportSseReaderPort {
1987
1986
  private _readLoop;
1988
1987
  private _invalidateCaches;
1989
1988
  }
1989
+ type DailyReportRedisKeys = {
1990
+ readonly sseStream: string;
1991
+ readonly idsEpoch: string;
1992
+ readonly dateEpochPrefix: string;
1993
+ readonly detailEpochPrefix: string;
1994
+ };
1995
+ declare const buildDailyReportRedisKeys: (redisKeyPrefix: string) => DailyReportRedisKeys;
1990
1996
  type SharpHeaderLike = {
1991
1997
  width: number;
1992
1998
  height: number;
@@ -2111,4 +2117,4 @@ type DailyReportServer = DailyReportHandlers & {
2111
2117
  knownSourceTypes: readonly string[];
2112
2118
  };
2113
2119
  declare function createDailyReportServer(config: DailyReportServerConfig): DailyReportServer;
2114
- export { DAILY_REPORT_ATTACHMENT_THUMBNAIL_MAX_OUTPUT_BYTES, DAILY_REPORT_ATTACHMENT_THUMBNAIL_OUTPUT_MEDIA_TYPES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_BUDGET_BYTES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_WORK_MODEL, DAILY_REPORT_SHARP_THUMBNAIL_WORKING_SET_MODEL, DAILY_REPORT_SSE_CATCH_UP_BATCH, DAILY_REPORT_SSE_VISIBILITY_REFRESH_MS, DAILY_REPORT_VISIBILITY_MAX_CACHE_TTL_MS, type DailyReportAttachmentBytes, type DailyReportAttachmentDelivery, type DailyReportAttachmentError, type DailyReportAttachmentFailure, type DailyReportAttachmentTable, type DailyReportAttachmentThumbnail, type AttachmentThumbnailDelivery as DailyReportAttachmentThumbnailDelivery, type DailyReportAttachmentThumbnailError, type DailyReportAttachmentThumbnailFailure, type DailyReportAttachmentThumbnailOutputMediaType, type DailyReportAttachmentThumbnailRenderer, type DailyReportAttachmentThumbnailSourceFormat, type DailyReportAttachmentThumbnailsConfig, type DailyReportAttachmentsConfig, type DailyReportAuthResult, type DailyReportAuthenticate, type DailyReportClientTempId, type DailyReportCommentTable, type DailyReportDb, type DeleteChain as DailyReportDbDeleteChain, type InsertChain as DailyReportDbInsertChain, type Rows as DailyReportDbRows, type SelectChain as DailyReportDbSelectChain, type UpdateChain as DailyReportDbUpdateChain, type DailyReportEncodeUserId, type EpochStore as DailyReportEpochStore, type ExternalReportFields as DailyReportExternalReportFields, type DailyReportExternalSource, type DailyReportHandlers, type DailyReportHandlersConfig, type DailyReportHubLabelTable, type DailyReportHubTable, type DailyReportIdCodec, type DailyReportIdsSource, type DailyReportInternalTable, type DailyReportLabelTable, type DailyReportReadAttachment, type DailyReportRedisBlockingClient, type DailyReportRedisClient, type DailyReportRedisProvider, type RedisStreamMessage as DailyReportRedisStreamMessage, type DailyReportResolveUserId, type DailyReportResolveVisibleSourceTypes, type ResourceRouteArgs as DailyReportResourceRouteArgs, DailyReportSearchAlternative, type DailyReportSearchCommentTable, type DailyReportSearchConfig, type DailyReportSearchCriteria, type DailyReportSearchDocumentTable, DailyReportSearchFacets, type DailyReportSearchFilters, type DailyReportSearchNameFilter, type DailyReportSearchPlan, type DailyReportSearchReconcileOptions, type DailyReportSearchReconcileProgress, type DailyReportSearchReconcileSummary, type DailyReportSearchSet, type DailyReportSearchSourceTextReader, type DailyReportSearchSqlExecutor, type DailyReportSearchTables, type DailyReportSearchWord, type DailyReportServer, type DailyReportServerConfig, type DailyReportService, type DailyReportServiceConfig, type SharpHeaderLike as DailyReportSharpHeaderLike, type SharpLike as DailyReportSharpLike, type SharpPipelineLike as DailyReportSharpPipelineLike, type SqlResultCacheMissAdmission as DailyReportSqlResultCacheMissAdmission, type SqlResultCacheQueryOptions as DailyReportSqlResultCacheQueryOptions, type DailyReportSseEntryMessage, DailyReportSseReader, type DailyReportSseReaderConfig, type DailyReportSseReaderPort, type StreamEntry as DailyReportSseStreamEntry, DailyReportSseStreamMessage, type DailyReportTables, type DailyReportUserStatusRow, type DailyReportUserStatusTable, type DailyReportUserTable, DailyReportViewerScope, type DailyReportVisibilityCacheConfig, type DailyReportVisibilityDimensions, type DailyReportVisibilityOptOut, type DailyReportVisibilityResolveContext, type DailyReportVisibilityResolveReason, type VisibleSourceTypeSet as DailyReportVisibleSourceTypeSet, type DailyReportVisibleSourceTypes, SqlResultCache, buildDailyReportSseStreamKey, createDailyReportHandlers, createDailyReportServer, createDailyReportService, createDailyReportVisibilityCache, createEpochStore, createSharpThumbnailRenderer, defineDailyReportSchema, defineDailyReportSearchSchema, isStreamIdLte, parseClientTempId, predictSharpThumbnailWorkingSetBytes, readSseStreamEntry as readDailyReportSseStreamEntry, transformJsonArray };
2120
+ export { DAILY_REPORT_ATTACHMENT_THUMBNAIL_MAX_OUTPUT_BYTES, DAILY_REPORT_ATTACHMENT_THUMBNAIL_OUTPUT_MEDIA_TYPES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_BUDGET_BYTES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_WORK_MODEL, DAILY_REPORT_SHARP_THUMBNAIL_WORKING_SET_MODEL, DAILY_REPORT_SSE_CATCH_UP_BATCH, DAILY_REPORT_SSE_VISIBILITY_REFRESH_MS, DAILY_REPORT_VISIBILITY_MAX_CACHE_TTL_MS, type DailyReportAttachmentBytes, type DailyReportAttachmentDelivery, type DailyReportAttachmentError, type DailyReportAttachmentFailure, type DailyReportAttachmentTable, type DailyReportAttachmentThumbnail, type AttachmentThumbnailDelivery as DailyReportAttachmentThumbnailDelivery, type DailyReportAttachmentThumbnailError, type DailyReportAttachmentThumbnailFailure, type DailyReportAttachmentThumbnailOutputMediaType, type DailyReportAttachmentThumbnailRenderer, type DailyReportAttachmentThumbnailSourceFormat, type DailyReportAttachmentThumbnailsConfig, type DailyReportAttachmentsConfig, type DailyReportAuthResult, type DailyReportAuthenticate, type DailyReportClientTempId, type DailyReportCommentTable, type DailyReportDb, type DeleteChain as DailyReportDbDeleteChain, type InsertChain as DailyReportDbInsertChain, type Rows as DailyReportDbRows, type SelectChain as DailyReportDbSelectChain, type UpdateChain as DailyReportDbUpdateChain, type DailyReportEncodeUserId, type EpochStore as DailyReportEpochStore, type ExternalReportFields as DailyReportExternalReportFields, type DailyReportExternalSource, type DailyReportHandlers, type DailyReportHandlersConfig, type DailyReportHubLabelTable, type DailyReportHubTable, type DailyReportIdCodec, type DailyReportIdsSource, type DailyReportInternalTable, type DailyReportLabelTable, type DailyReportReadAttachment, type DailyReportRedisBlockingClient, type DailyReportRedisClient, type DailyReportRedisKeys, type DailyReportRedisProvider, type RedisStreamMessage as DailyReportRedisStreamMessage, type DailyReportResolveUserId, type DailyReportResolveVisibleSourceTypes, type ResourceRouteArgs as DailyReportResourceRouteArgs, DailyReportSearchAlternative, type DailyReportSearchCommentTable, type DailyReportSearchConfig, type DailyReportSearchCriteria, type DailyReportSearchDocumentTable, DailyReportSearchFacets, type DailyReportSearchFilters, type DailyReportSearchNameFilter, type DailyReportSearchPlan, type DailyReportSearchReconcileOptions, type DailyReportSearchReconcileProgress, type DailyReportSearchReconcileSummary, type DailyReportSearchSet, type DailyReportSearchSourceTextReader, type DailyReportSearchSqlExecutor, type DailyReportSearchTables, type DailyReportSearchWord, type DailyReportServer, type DailyReportServerConfig, type DailyReportService, type DailyReportServiceConfig, type SharpHeaderLike as DailyReportSharpHeaderLike, type SharpLike as DailyReportSharpLike, type SharpPipelineLike as DailyReportSharpPipelineLike, type SqlResultCacheMissAdmission as DailyReportSqlResultCacheMissAdmission, type SqlResultCacheQueryOptions as DailyReportSqlResultCacheQueryOptions, type DailyReportSseEntryMessage, DailyReportSseReader, type DailyReportSseReaderConfig, type DailyReportSseReaderPort, type StreamEntry as DailyReportSseStreamEntry, DailyReportSseStreamMessage, type DailyReportTables, type DailyReportUserStatusRow, type DailyReportUserStatusTable, type DailyReportUserTable, DailyReportViewerScope, type DailyReportVisibilityCacheConfig, type DailyReportVisibilityDimensions, type DailyReportVisibilityOptOut, type DailyReportVisibilityResolveContext, type DailyReportVisibilityResolveReason, type VisibleSourceTypeSet as DailyReportVisibleSourceTypeSet, type DailyReportVisibleSourceTypes, SqlResultCache, buildDailyReportRedisKeys, createDailyReportHandlers, createDailyReportServer, createDailyReportService, createDailyReportVisibilityCache, createEpochStore, createSharpThumbnailRenderer, defineDailyReportSchema, defineDailyReportSearchSchema, isStreamIdLte, parseClientTempId, predictSharpThumbnailWorkingSetBytes, readSseStreamEntry as readDailyReportSseStreamEntry, transformJsonArray };
package/dist/server.d.ts CHANGED
@@ -1852,7 +1852,7 @@ type DailyReportServiceConfig = {
1852
1852
  string,
1853
1853
  ...string[]
1854
1854
  ];
1855
- streamKey?: string;
1855
+ redisKeyPrefix?: string;
1856
1856
  streamMaxLen?: number;
1857
1857
  idsTtlMs?: number;
1858
1858
  businessDateTtlMs?: number;
@@ -1867,7 +1867,6 @@ type DailyReportIdsSource = {
1867
1867
  readonly streamAnchor: string | null;
1868
1868
  readonly snapshot: string;
1869
1869
  };
1870
- declare const buildDailyReportSseStreamKey: (baseKey: string) => string;
1871
1870
  declare function createDailyReportService(config: DailyReportServiceConfig): {
1872
1871
  streamKey: string;
1873
1872
  attachmentDelivery: Readonly<{
@@ -1987,6 +1986,13 @@ declare class DailyReportSseReader implements DailyReportSseReaderPort {
1987
1986
  private _readLoop;
1988
1987
  private _invalidateCaches;
1989
1988
  }
1989
+ type DailyReportRedisKeys = {
1990
+ readonly sseStream: string;
1991
+ readonly idsEpoch: string;
1992
+ readonly dateEpochPrefix: string;
1993
+ readonly detailEpochPrefix: string;
1994
+ };
1995
+ declare const buildDailyReportRedisKeys: (redisKeyPrefix: string) => DailyReportRedisKeys;
1990
1996
  type SharpHeaderLike = {
1991
1997
  width: number;
1992
1998
  height: number;
@@ -2111,4 +2117,4 @@ type DailyReportServer = DailyReportHandlers & {
2111
2117
  knownSourceTypes: readonly string[];
2112
2118
  };
2113
2119
  declare function createDailyReportServer(config: DailyReportServerConfig): DailyReportServer;
2114
- export { DAILY_REPORT_ATTACHMENT_THUMBNAIL_MAX_OUTPUT_BYTES, DAILY_REPORT_ATTACHMENT_THUMBNAIL_OUTPUT_MEDIA_TYPES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_BUDGET_BYTES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_WORK_MODEL, DAILY_REPORT_SHARP_THUMBNAIL_WORKING_SET_MODEL, DAILY_REPORT_SSE_CATCH_UP_BATCH, DAILY_REPORT_SSE_VISIBILITY_REFRESH_MS, DAILY_REPORT_VISIBILITY_MAX_CACHE_TTL_MS, type DailyReportAttachmentBytes, type DailyReportAttachmentDelivery, type DailyReportAttachmentError, type DailyReportAttachmentFailure, type DailyReportAttachmentTable, type DailyReportAttachmentThumbnail, type AttachmentThumbnailDelivery as DailyReportAttachmentThumbnailDelivery, type DailyReportAttachmentThumbnailError, type DailyReportAttachmentThumbnailFailure, type DailyReportAttachmentThumbnailOutputMediaType, type DailyReportAttachmentThumbnailRenderer, type DailyReportAttachmentThumbnailSourceFormat, type DailyReportAttachmentThumbnailsConfig, type DailyReportAttachmentsConfig, type DailyReportAuthResult, type DailyReportAuthenticate, type DailyReportClientTempId, type DailyReportCommentTable, type DailyReportDb, type DeleteChain as DailyReportDbDeleteChain, type InsertChain as DailyReportDbInsertChain, type Rows as DailyReportDbRows, type SelectChain as DailyReportDbSelectChain, type UpdateChain as DailyReportDbUpdateChain, type DailyReportEncodeUserId, type EpochStore as DailyReportEpochStore, type ExternalReportFields as DailyReportExternalReportFields, type DailyReportExternalSource, type DailyReportHandlers, type DailyReportHandlersConfig, type DailyReportHubLabelTable, type DailyReportHubTable, type DailyReportIdCodec, type DailyReportIdsSource, type DailyReportInternalTable, type DailyReportLabelTable, type DailyReportReadAttachment, type DailyReportRedisBlockingClient, type DailyReportRedisClient, type DailyReportRedisProvider, type RedisStreamMessage as DailyReportRedisStreamMessage, type DailyReportResolveUserId, type DailyReportResolveVisibleSourceTypes, type ResourceRouteArgs as DailyReportResourceRouteArgs, DailyReportSearchAlternative, type DailyReportSearchCommentTable, type DailyReportSearchConfig, type DailyReportSearchCriteria, type DailyReportSearchDocumentTable, DailyReportSearchFacets, type DailyReportSearchFilters, type DailyReportSearchNameFilter, type DailyReportSearchPlan, type DailyReportSearchReconcileOptions, type DailyReportSearchReconcileProgress, type DailyReportSearchReconcileSummary, type DailyReportSearchSet, type DailyReportSearchSourceTextReader, type DailyReportSearchSqlExecutor, type DailyReportSearchTables, type DailyReportSearchWord, type DailyReportServer, type DailyReportServerConfig, type DailyReportService, type DailyReportServiceConfig, type SharpHeaderLike as DailyReportSharpHeaderLike, type SharpLike as DailyReportSharpLike, type SharpPipelineLike as DailyReportSharpPipelineLike, type SqlResultCacheMissAdmission as DailyReportSqlResultCacheMissAdmission, type SqlResultCacheQueryOptions as DailyReportSqlResultCacheQueryOptions, type DailyReportSseEntryMessage, DailyReportSseReader, type DailyReportSseReaderConfig, type DailyReportSseReaderPort, type StreamEntry as DailyReportSseStreamEntry, DailyReportSseStreamMessage, type DailyReportTables, type DailyReportUserStatusRow, type DailyReportUserStatusTable, type DailyReportUserTable, DailyReportViewerScope, type DailyReportVisibilityCacheConfig, type DailyReportVisibilityDimensions, type DailyReportVisibilityOptOut, type DailyReportVisibilityResolveContext, type DailyReportVisibilityResolveReason, type VisibleSourceTypeSet as DailyReportVisibleSourceTypeSet, type DailyReportVisibleSourceTypes, SqlResultCache, buildDailyReportSseStreamKey, createDailyReportHandlers, createDailyReportServer, createDailyReportService, createDailyReportVisibilityCache, createEpochStore, createSharpThumbnailRenderer, defineDailyReportSchema, defineDailyReportSearchSchema, isStreamIdLte, parseClientTempId, predictSharpThumbnailWorkingSetBytes, readSseStreamEntry as readDailyReportSseStreamEntry, transformJsonArray };
2120
+ export { DAILY_REPORT_ATTACHMENT_THUMBNAIL_MAX_OUTPUT_BYTES, DAILY_REPORT_ATTACHMENT_THUMBNAIL_OUTPUT_MEDIA_TYPES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_BUDGET_BYTES, DAILY_REPORT_SHARP_THUMBNAIL_DECODE_WORK_MODEL, DAILY_REPORT_SHARP_THUMBNAIL_WORKING_SET_MODEL, DAILY_REPORT_SSE_CATCH_UP_BATCH, DAILY_REPORT_SSE_VISIBILITY_REFRESH_MS, DAILY_REPORT_VISIBILITY_MAX_CACHE_TTL_MS, type DailyReportAttachmentBytes, type DailyReportAttachmentDelivery, type DailyReportAttachmentError, type DailyReportAttachmentFailure, type DailyReportAttachmentTable, type DailyReportAttachmentThumbnail, type AttachmentThumbnailDelivery as DailyReportAttachmentThumbnailDelivery, type DailyReportAttachmentThumbnailError, type DailyReportAttachmentThumbnailFailure, type DailyReportAttachmentThumbnailOutputMediaType, type DailyReportAttachmentThumbnailRenderer, type DailyReportAttachmentThumbnailSourceFormat, type DailyReportAttachmentThumbnailsConfig, type DailyReportAttachmentsConfig, type DailyReportAuthResult, type DailyReportAuthenticate, type DailyReportClientTempId, type DailyReportCommentTable, type DailyReportDb, type DeleteChain as DailyReportDbDeleteChain, type InsertChain as DailyReportDbInsertChain, type Rows as DailyReportDbRows, type SelectChain as DailyReportDbSelectChain, type UpdateChain as DailyReportDbUpdateChain, type DailyReportEncodeUserId, type EpochStore as DailyReportEpochStore, type ExternalReportFields as DailyReportExternalReportFields, type DailyReportExternalSource, type DailyReportHandlers, type DailyReportHandlersConfig, type DailyReportHubLabelTable, type DailyReportHubTable, type DailyReportIdCodec, type DailyReportIdsSource, type DailyReportInternalTable, type DailyReportLabelTable, type DailyReportReadAttachment, type DailyReportRedisBlockingClient, type DailyReportRedisClient, type DailyReportRedisKeys, type DailyReportRedisProvider, type RedisStreamMessage as DailyReportRedisStreamMessage, type DailyReportResolveUserId, type DailyReportResolveVisibleSourceTypes, type ResourceRouteArgs as DailyReportResourceRouteArgs, DailyReportSearchAlternative, type DailyReportSearchCommentTable, type DailyReportSearchConfig, type DailyReportSearchCriteria, type DailyReportSearchDocumentTable, DailyReportSearchFacets, type DailyReportSearchFilters, type DailyReportSearchNameFilter, type DailyReportSearchPlan, type DailyReportSearchReconcileOptions, type DailyReportSearchReconcileProgress, type DailyReportSearchReconcileSummary, type DailyReportSearchSet, type DailyReportSearchSourceTextReader, type DailyReportSearchSqlExecutor, type DailyReportSearchTables, type DailyReportSearchWord, type DailyReportServer, type DailyReportServerConfig, type DailyReportService, type DailyReportServiceConfig, type SharpHeaderLike as DailyReportSharpHeaderLike, type SharpLike as DailyReportSharpLike, type SharpPipelineLike as DailyReportSharpPipelineLike, type SqlResultCacheMissAdmission as DailyReportSqlResultCacheMissAdmission, type SqlResultCacheQueryOptions as DailyReportSqlResultCacheQueryOptions, type DailyReportSseEntryMessage, DailyReportSseReader, type DailyReportSseReaderConfig, type DailyReportSseReaderPort, type StreamEntry as DailyReportSseStreamEntry, DailyReportSseStreamMessage, type DailyReportTables, type DailyReportUserStatusRow, type DailyReportUserStatusTable, type DailyReportUserTable, DailyReportViewerScope, type DailyReportVisibilityCacheConfig, type DailyReportVisibilityDimensions, type DailyReportVisibilityOptOut, type DailyReportVisibilityResolveContext, type DailyReportVisibilityResolveReason, type VisibleSourceTypeSet as DailyReportVisibleSourceTypeSet, type DailyReportVisibleSourceTypes, SqlResultCache, buildDailyReportRedisKeys, createDailyReportHandlers, createDailyReportServer, createDailyReportService, createDailyReportVisibilityCache, createEpochStore, createSharpThumbnailRenderer, defineDailyReportSchema, defineDailyReportSearchSchema, isStreamIdLte, parseClientTempId, predictSharpThumbnailWorkingSetBytes, readSseStreamEntry as readDailyReportSseStreamEntry, transformJsonArray };