@lumerahq/ui 0.13.0-dev.1 → 0.13.0-dev.2

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.
Files changed (37) hide show
  1. package/README.md +21 -40
  2. package/dist/{RecordSheet-CmOeQ0M-.js → RecordSheet-CawHELpB.js} +7412 -10823
  3. package/dist/audit-log-BPvip04_.js +128 -0
  4. package/dist/{automations-DOek1EjJ.js → automations-EgDXJ43_.js} +1 -181
  5. package/dist/components/index.d.ts +0 -1
  6. package/dist/components/index.d.ts.map +1 -1
  7. package/dist/components/index.js +5 -6
  8. package/dist/{highlighted-body-OFNGDK62-CkZgLnjq.js → highlighted-body-OFNGDK62-TFNZl-GI.js} +1 -1
  9. package/dist/hooks/index.d.ts +2 -1
  10. package/dist/hooks/index.d.ts.map +1 -1
  11. package/dist/hooks/index.js +7 -6
  12. package/dist/hooks/use-record-audit-log-snapshot.d.ts +15 -0
  13. package/dist/hooks/use-record-audit-log-snapshot.d.ts.map +1 -0
  14. package/dist/hooks/use-record-audit-log.d.ts +23 -0
  15. package/dist/hooks/use-record-audit-log.d.ts.map +1 -0
  16. package/dist/index.js +33 -28
  17. package/dist/lib/audit-log-core.d.ts +36 -54
  18. package/dist/lib/audit-log-core.d.ts.map +1 -1
  19. package/dist/lib/audit-log.d.ts +5 -5
  20. package/dist/lib/audit-log.d.ts.map +1 -1
  21. package/dist/lib/index.d.ts +1 -1
  22. package/dist/lib/index.d.ts.map +1 -1
  23. package/dist/lib/index.js +13 -8
  24. package/dist/mermaid-GHXKKRXX-9ec0sPET.js +4 -0
  25. package/dist/ui.css +1 -185
  26. package/dist/{use-automation-run-Vo2NXx-h.js → use-automation-run-IypX1vtN.js} +3 -48
  27. package/dist/{use-sql-table-yjz6z8nW.js → use-sql-table-By700ZAo.js} +72 -3
  28. package/package.json +1 -1
  29. package/dist/components/audit-log/AuditLog.d.ts +0 -51
  30. package/dist/components/audit-log/AuditLog.d.ts.map +0 -1
  31. package/dist/components/audit-log/AuditLogEntry.d.ts +0 -19
  32. package/dist/components/audit-log/AuditLogEntry.d.ts.map +0 -1
  33. package/dist/components/audit-log/index.d.ts +0 -2
  34. package/dist/components/audit-log/index.d.ts.map +0 -1
  35. package/dist/hooks/use-audit-log.d.ts +0 -18
  36. package/dist/hooks/use-audit-log.d.ts.map +0 -1
  37. package/dist/mermaid-GHXKKRXX-DXYmvmZa.js +0 -4
@@ -0,0 +1,128 @@
1
+ import { X as requestApi } from "./automations-EgDXJ43_.js";
2
+ const RECORD_AUDIT_EXPORT_LIMIT = 1e4;
3
+ const RECORD_AUDIT_MAX_COLLECTIONS = 20;
4
+ const normalizeRecordAuditPageSize = (value = 50) => Math.min(200, Math.max(1, Math.trunc(value) || 50));
5
+ const normalizeRecordAuditExportLimit = (value = RECORD_AUDIT_EXPORT_LIMIT) => Math.min(RECORD_AUDIT_EXPORT_LIMIT, Math.max(1, Math.trunc(value) || RECORD_AUDIT_EXPORT_LIMIT));
6
+ const shortActorId = (id) => {
7
+ const normalized = id?.trim() || "";
8
+ return normalized.length > 4 ? `${normalized.slice(0, 4)}…` : normalized;
9
+ };
10
+ const recordAuditActorLabel = (actor) => actor.name?.trim() || actor.email?.trim() || [actor.type_label.trim(), shortActorId(actor.id)].filter(Boolean).join(" ") || "Unknown actor";
11
+ function normalizeRecordAuditCollections(collections) {
12
+ const normalized = [];
13
+ const seen = /* @__PURE__ */ new Set();
14
+ for (const value of collections) {
15
+ const collection = value.trim();
16
+ if (!collection || seen.has(collection)) continue;
17
+ seen.add(collection);
18
+ normalized.push(collection);
19
+ }
20
+ return normalized;
21
+ }
22
+ function buildRecordAuditLogPath(params) {
23
+ const collections = normalizeRecordAuditCollections(params.collections);
24
+ if (collections.length === 0) {
25
+ throw new Error("At least one collection is required");
26
+ }
27
+ if (collections.length > RECORD_AUDIT_MAX_COLLECTIONS) {
28
+ throw new Error(`At most ${RECORD_AUDIT_MAX_COLLECTIONS} collections can be requested`);
29
+ }
30
+ const query = new URLSearchParams({
31
+ domain: "record",
32
+ limit: String(normalizeRecordAuditPageSize(params.limit))
33
+ });
34
+ for (const collection of collections) query.append("collection", collection);
35
+ if (params.cursor?.trim()) query.set("cursor", params.cursor.trim());
36
+ if (params.event) query.set("event", params.event);
37
+ if (params.actor?.trim()) query.set("actor", params.actor.trim());
38
+ if (params.since?.trim()) query.set("since", params.since.trim());
39
+ if (params.until?.trim()) query.set("until", params.until.trim());
40
+ return `/audit-log?${query.toString()}`;
41
+ }
42
+ const protectSpreadsheetCell = (value) => /^[\t\r ]*[=+\-@]/.test(value) ? `'${value}` : value;
43
+ const csvCell = (value) => `"${protectSpreadsheetCell(value).replaceAll('"', '""')}"`;
44
+ const summaryText = (entry) => entry.summary.map((segment) => segment.text).join(" ");
45
+ function buildRecordAuditCsv(entries) {
46
+ const rows = entries.map(
47
+ (entry) => [
48
+ entry.occurred_at,
49
+ entry.collection,
50
+ entry.collection_id,
51
+ recordAuditActorLabel(entry.actor),
52
+ entry.actor.id || "",
53
+ entry.actor.type,
54
+ entry.event,
55
+ entry.record_id,
56
+ entry.record_label,
57
+ entry.changed_fields.join(", "),
58
+ summaryText(entry)
59
+ ].map(csvCell).join(",")
60
+ );
61
+ return [
62
+ [
63
+ "time",
64
+ "collection",
65
+ "collection_id",
66
+ "actor",
67
+ "actor_id",
68
+ "actor_type",
69
+ "event",
70
+ "record_id",
71
+ "record_label",
72
+ "changed_fields",
73
+ "summary"
74
+ ].map(csvCell).join(","),
75
+ ...rows
76
+ ].join("\n");
77
+ }
78
+ async function listRecordAuditLog(params) {
79
+ return requestApi(buildRecordAuditLogPath(params), { method: "GET" });
80
+ }
81
+ async function getRecordAuditLogSnapshot(id, store = "tenant") {
82
+ const normalizedID = id.trim();
83
+ if (!normalizedID) {
84
+ throw new Error("Audit log ID is required");
85
+ }
86
+ return requestApi(
87
+ `/audit-log/${encodeURIComponent(normalizedID)}/snapshot?store=${encodeURIComponent(store)}`,
88
+ { method: "GET" }
89
+ );
90
+ }
91
+ async function fetchRecordAuditLogCsv(params, maxRows = RECORD_AUDIT_EXPORT_LIMIT) {
92
+ const limit = normalizeRecordAuditExportLimit(maxRows);
93
+ const entries = [];
94
+ let cursor = "";
95
+ let truncated = false;
96
+ while (entries.length < limit) {
97
+ const page = await listRecordAuditLog({
98
+ ...params,
99
+ cursor: cursor || void 0,
100
+ limit: Math.min(200, limit - entries.length)
101
+ });
102
+ entries.push(...page.audit_logs.slice(0, limit - entries.length));
103
+ if (!page.pagination.has_more) break;
104
+ const nextCursor = page.pagination.next_cursor?.trim();
105
+ if (!nextCursor || nextCursor === cursor) {
106
+ throw new Error("Audit log export could not continue");
107
+ }
108
+ if (entries.length >= limit) {
109
+ truncated = true;
110
+ break;
111
+ }
112
+ cursor = nextCursor;
113
+ }
114
+ return { csv: buildRecordAuditCsv(entries), count: entries.length, truncated };
115
+ }
116
+ export {
117
+ RECORD_AUDIT_EXPORT_LIMIT as R,
118
+ buildRecordAuditLogPath as a,
119
+ buildRecordAuditCsv as b,
120
+ normalizeRecordAuditExportLimit as c,
121
+ normalizeRecordAuditPageSize as d,
122
+ RECORD_AUDIT_MAX_COLLECTIONS as e,
123
+ fetchRecordAuditLogCsv as f,
124
+ getRecordAuditLogSnapshot as g,
125
+ listRecordAuditLog as l,
126
+ normalizeRecordAuditCollections as n,
127
+ recordAuditActorLabel as r
128
+ };
@@ -1035,174 +1035,6 @@ async function sendEmail(options) {
1035
1035
  async function pbUpdateRecord(collectionId, recordId, data) {
1036
1036
  return pbUpdate(collectionId, recordId, data);
1037
1037
  }
1038
- const AUDIT_LOG_EXPORT_LIMIT = 1e4;
1039
- const AUDIT_LOG_MAX_COLLECTIONS = 20;
1040
- const normalizeAuditLogPageSize = (value = 50) => Math.min(200, Math.max(1, Math.trunc(value) || 50));
1041
- const normalizeAuditLogExportLimit = (value = AUDIT_LOG_EXPORT_LIMIT) => Math.min(AUDIT_LOG_EXPORT_LIMIT, Math.max(1, Math.trunc(value) || AUDIT_LOG_EXPORT_LIMIT));
1042
- const abbreviatedActorID = (id) => id.length > 8 ? `${id.slice(0, 6)}…` : id;
1043
- const auditLogActorLabel = (actor) => {
1044
- const id = actor.id?.trim() || "";
1045
- const name = actor.name?.trim() || "";
1046
- if (name && name !== id) return name;
1047
- if (actor.email?.trim()) return actor.email.trim();
1048
- if (id) return `${actor.type_label || "Actor"} ${abbreviatedActorID(id)}`;
1049
- return actor.type_label || "Unknown actor";
1050
- };
1051
- function normalizeRecordAuditCollections(collections) {
1052
- const normalized = [];
1053
- const seen = /* @__PURE__ */ new Set();
1054
- for (const value of collections) {
1055
- const collection = value.trim();
1056
- if (!collection || seen.has(collection)) continue;
1057
- seen.add(collection);
1058
- normalized.push(collection);
1059
- }
1060
- return normalized;
1061
- }
1062
- function normalizeAuditLogFilterState(collections, filters = {}) {
1063
- const available = normalizeRecordAuditCollections(collections);
1064
- const allowed = new Set(available);
1065
- const selected = normalizeRecordAuditCollections(filters.collections ?? available).filter(
1066
- (name) => allowed.has(name)
1067
- );
1068
- return {
1069
- collections: selected.length > 0 ? selected : available,
1070
- event: filters.event,
1071
- actor: filters.actor?.trim() || void 0,
1072
- since: filters.since?.trim() || void 0,
1073
- until: filters.until?.trim() || void 0
1074
- };
1075
- }
1076
- function buildRecordAuditLogPath(params) {
1077
- const collections = normalizeRecordAuditCollections(params.collections);
1078
- if (collections.length === 0) {
1079
- throw new Error("At least one collection is required");
1080
- }
1081
- if (collections.length > AUDIT_LOG_MAX_COLLECTIONS) {
1082
- throw new Error(`At most ${AUDIT_LOG_MAX_COLLECTIONS} collections can be requested`);
1083
- }
1084
- const query = new URLSearchParams({
1085
- domain: "record",
1086
- limit: String(normalizeAuditLogPageSize(params.limit))
1087
- });
1088
- for (const collection of collections) query.append("collection", collection);
1089
- if (params.cursor?.trim()) query.set("cursor", params.cursor.trim());
1090
- if (params.event) query.set("event", params.event);
1091
- if (params.actor?.trim()) query.set("actor", params.actor.trim());
1092
- if (params.since?.trim()) query.set("since", params.since.trim());
1093
- if (params.until?.trim()) query.set("until", params.until.trim());
1094
- return `/audit-log?${query.toString()}`;
1095
- }
1096
- const auditLogDetailValue = (entry, label) => entry.details.find((field) => field.label === label)?.value ?? "";
1097
- const auditLogRequestedCollectionName = (collection, statuses) => statuses.find((status) => status.name === collection)?.requested_name || collection;
1098
- function auditLogSummaryWithCollectionLabel(entry, collectionLabel) {
1099
- const label = collectionLabel.trim();
1100
- if (!label) return entry.summary;
1101
- const recordSegment = entry.summary.find((segment) => segment.emphasis === "strong");
1102
- const suffixSegments = entry.summary.filter(
1103
- (segment) => segment.emphasis === "none" && /^\(.+\)$/.test(segment.text.trim())
1104
- );
1105
- const eventLabel = entry.event[0].toUpperCase() + entry.event.slice(1);
1106
- return [
1107
- { text: `${eventLabel} ${label}`, emphasis: "none" },
1108
- ...recordSegment ? [recordSegment] : [],
1109
- ...suffixSegments
1110
- ];
1111
- }
1112
- const collectionLabelFor = (collection, options = {}) => options.collectionLabels?.[collection]?.trim() || collection;
1113
- const activityLabelFor = (collection, options = {}) => options.activityNouns?.[collection]?.trim() || options.collectionLabels?.[collection]?.trim() || "";
1114
- const summaryText = (entry, options = {}) => {
1115
- const collection = entry.collection;
1116
- const collectionLabel = collection ? activityLabelFor(collection, options) : "";
1117
- const summary = collectionLabel ? auditLogSummaryWithCollectionLabel(entry, collectionLabel) : entry.summary;
1118
- return summary.map((segment) => segment.text).join(" ");
1119
- };
1120
- const protectSpreadsheetCell = (value) => /^[\t\r ]*[=+\-@]/.test(value) ? `'${value}` : value;
1121
- const csvCell = (value) => `"${protectSpreadsheetCell(value).replaceAll('"', '""')}"`;
1122
- function buildAuditLogCsv(entries, options = {}) {
1123
- const rows = entries.map((entry) => {
1124
- const collectionApiName = entry.collection;
1125
- return [
1126
- entry.occurred_at,
1127
- collectionApiName ? collectionLabelFor(collectionApiName, options) : "",
1128
- collectionApiName,
1129
- auditLogActorLabel(entry.actor),
1130
- entry.actor.type,
1131
- entry.actor.id || "",
1132
- entry.event,
1133
- entry.record_id,
1134
- summaryText(entry, options)
1135
- ].map(csvCell).join(",");
1136
- });
1137
- return [
1138
- [
1139
- "time",
1140
- "collection_label",
1141
- "collection_api_name",
1142
- "actor",
1143
- "actor_type",
1144
- "actor_id",
1145
- "event",
1146
- "record_id",
1147
- "summary"
1148
- ].map(csvCell).join(","),
1149
- ...rows
1150
- ].join("\n");
1151
- }
1152
- async function listRecordAuditLog(params) {
1153
- return requestApi(buildRecordAuditLogPath(params), { method: "GET" });
1154
- }
1155
- async function getRecordAuditLogSnapshot(id, store) {
1156
- const normalizedID = id.trim();
1157
- if (!normalizedID) {
1158
- throw new Error("Audit log ID is required");
1159
- }
1160
- return requestApi(
1161
- `/audit-log/${encodeURIComponent(normalizedID)}/snapshot?store=${encodeURIComponent(store)}`,
1162
- { method: "GET" }
1163
- );
1164
- }
1165
- async function fetchRecordAuditLogCsv(params, maxRows = AUDIT_LOG_EXPORT_LIMIT, options = {}) {
1166
- const limit = normalizeAuditLogExportLimit(maxRows);
1167
- const entries = [];
1168
- let cursor = "";
1169
- let truncated = false;
1170
- const requestedNames = /* @__PURE__ */ new Map();
1171
- while (entries.length < limit) {
1172
- const page = await listRecordAuditLog({
1173
- ...params,
1174
- cursor: cursor || void 0,
1175
- limit: Math.min(200, limit - entries.length)
1176
- });
1177
- entries.push(...page.audit_logs.slice(0, limit - entries.length));
1178
- for (const status of page.record_collections ?? []) {
1179
- requestedNames.set(status.name, status.requested_name);
1180
- }
1181
- if (!page.pagination.has_more) break;
1182
- const nextCursor = page.pagination.next_cursor?.trim();
1183
- if (!nextCursor || nextCursor === cursor) {
1184
- throw new Error("Audit log export could not continue");
1185
- }
1186
- if (entries.length >= limit) {
1187
- truncated = true;
1188
- break;
1189
- }
1190
- cursor = nextCursor;
1191
- }
1192
- const withRequestedNameAliases = (values) => {
1193
- if (!values) return void 0;
1194
- const merged = { ...values };
1195
- for (const [apiName, requestedName] of requestedNames) {
1196
- if (!merged[apiName] && merged[requestedName]) merged[apiName] = merged[requestedName];
1197
- }
1198
- return merged;
1199
- };
1200
- const resolvedOptions = {
1201
- collectionLabels: withRequestedNameAliases(options.collectionLabels),
1202
- activityNouns: withRequestedNameAliases(options.activityNouns)
1203
- };
1204
- return { csv: buildAuditLogCsv(entries, resolvedOptions), count: entries.length, truncated };
1205
- }
1206
1038
  const API_PREFIX = "/api";
1207
1039
  const TERMINAL_STATUSES = ["succeeded", "failed", "cancelled"];
1208
1040
  const ACTIVE_STATUSES = ["preparing", "queued", "running", "cancelling"];
@@ -1432,7 +1264,6 @@ async function listRunsByExternalId(params) {
1432
1264
  });
1433
1265
  }
1434
1266
  export {
1435
- fetchRecordAuditLogCsv as $,
1436
1267
  cancelAutomationRun as A,
1437
1268
  BridgeError as B,
1438
1269
  cancelRun as C,
@@ -1456,19 +1287,8 @@ export {
1456
1287
  listRunsByExternalId as U,
1457
1288
  pollAutomationRun as V,
1458
1289
  pollRun as W,
1459
- AUDIT_LOG_EXPORT_LIMIT as X,
1460
- AUDIT_LOG_MAX_COLLECTIONS as Y,
1461
- auditLogActorLabel as Z,
1462
- auditLogRequestedCollectionName as _,
1290
+ requestApi as X,
1463
1291
  getShareableAppUrl as a,
1464
- getRecordAuditLogSnapshot as a0,
1465
- listRecordAuditLog as a1,
1466
- normalizeRecordAuditCollections as a2,
1467
- normalizeAuditLogPageSize as a3,
1468
- auditLogSummaryWithCollectionLabel as a4,
1469
- auditLogDetailValue as a5,
1470
- normalizeAuditLogFilterState as a6,
1471
- normalizeAuditLogExportLimit as a7,
1472
1292
  buildShareableAppUrl as b,
1473
1293
  configureBridge as c,
1474
1294
  parentApiStream as d,
@@ -2,7 +2,6 @@ export type { ColumnType, FormatOptions } from '../lib/formatters';
2
2
  export type { AgentChatAbortRequest, AgentChatAction, AgentChatActionBlock, AgentChatActiveStatus, AgentChatAgentProfile, AgentChatAgentRequest, AgentChatBlockRendererProps, AgentChatCollectionMap, AgentChatComposerActions, AgentChatComposerRendererProps, AgentChatComposerState, AgentChatContentBlock, AgentChatCustomBlock, AgentChatFeatureFlags, AgentChatFile, AgentChatFileBlock, AgentChatHistoryPage, AgentChatHistoryRequest, AgentChatHistoryResult, AgentChatID, AgentChatInfoBlock, AgentChatLabels, AgentChatLoadEarlierRequest, AgentChatMessage, AgentChatMessageRendererProps, AgentChatMessageRole, AgentChatMetadata, AgentChatOperationStatus, AgentChatPendingFile, AgentChatPhase, AgentChatProps, AgentChatRenameSessionRequest, AgentChatRenderers, AgentChatResizableWidthOptions, AgentChatSession, AgentChatSessionListRequest, AgentChatSessionListResult, AgentChatStreamEvent, AgentChatStreamHandlers, AgentChatSubmitInput, AgentChatSubmitResult, AgentChatSubscription, AgentChatTerminalStatus, AgentChatTextBlock, AgentChatThinkingBlock, AgentChatTokenUsage, AgentChatToolCall, AgentChatToolCallBlock, AgentChatToolCallLike, AgentChatToolRenderer, AgentChatTransport, AgentChatTurn, AgentChatTurnStatus, LumeraAgentChatTransportOptions, } from './agent-chat';
3
3
  export { AgentChat, ArtifactCard, createLumeraAgentChatTransport, defaultToolRenderers, findRenderer, getCollectionMap, humanizeCollectionName, isExploratoryToolCallError, ToolCallCard, type ToolCallCardProps, ToolRenderersProvider, warmCollectionCache, } from './agent-chat';
4
4
  export { AssistantChat, type AssistantChatProps, AssistantPage, type AssistantPageProps, AssistantWidget, type AssistantWidgetProps, type ComposerChip as AssistantComposerChip, isMutatingToolCall, useDataSyncTransport, withDataSync, } from './assistant';
5
- export { AuditLog, type AuditLogDensity, type AuditLogFilterState, type AuditLogProps, type AuditLogRecord, } from './audit-log';
6
5
  export { AutomationRunList } from './automation/AutomationRunList';
7
6
  export { AutomationRunner } from './automation/AutomationRunner';
8
7
  export { type ColumnDef, DataTable, DataTableFilters, type DataTableFiltersProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type FilterColumn, RecordSheet, type RecordSheetProps, } from './data-table';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClE,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,EAC7B,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,6BAA6B,EAC7B,kBAAkB,EAClB,8BAA8B,EAC9B,gBAAgB,EAChB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACnB,+BAA+B,GAChC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,SAAS,EACT,YAAY,EACZ,8BAA8B,EAC9B,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,KAAK,iBAAiB,EACtB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,aAAa,EACb,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,YAAY,IAAI,qBAAqB,EAC1C,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,QAAQ,EACR,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,cAAc,GACpB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EACL,KAAK,SAAS,EACd,SAAS,EACT,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAClE,YAAY,EACV,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,2BAA2B,EAC3B,gBAAgB,EAChB,6BAA6B,EAC7B,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,6BAA6B,EAC7B,kBAAkB,EAClB,8BAA8B,EAC9B,gBAAgB,EAChB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACnB,+BAA+B,GAChC,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,SAAS,EACT,YAAY,EACZ,8BAA8B,EAC9B,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,KAAK,iBAAiB,EACtB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,aAAa,EACb,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,YAAY,IAAI,qBAAqB,EAC1C,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EACL,KAAK,SAAS,EACd,SAAS,EACT,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,WAAW,EACX,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC"}
@@ -1,16 +1,15 @@
1
- import { A, a, e, j, k, n, o, p, D, q, r, R, T, b, c, d, f, g, h, i, l, u, w, m } from "../RecordSheet-CmOeQ0M-.js";
1
+ import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "../RecordSheet-CawHELpB.js";
2
2
  export {
3
3
  A as AgentChat,
4
4
  a as ArtifactCard,
5
5
  e as AssistantChat,
6
6
  j as AssistantPage,
7
7
  k as AssistantWidget,
8
- n as AuditLog,
9
- o as AutomationRunList,
10
- p as AutomationRunner,
8
+ n as AutomationRunList,
9
+ o as AutomationRunner,
11
10
  D as DataTable,
12
- q as DataTableFilters,
13
- r as DataTablePagination,
11
+ p as DataTableFilters,
12
+ q as DataTablePagination,
14
13
  R as RecordSheet,
15
14
  T as ToolCallCard,
16
15
  b as ToolRenderersProvider,
@@ -1,4 +1,4 @@
1
- import { t as R$1, L as Li, v as At } from "./RecordSheet-CmOeQ0M-.js";
1
+ import { s as R$1, L as Li, t as At } from "./RecordSheet-CawHELpB.js";
2
2
  import { useContext, useState, useEffect } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  var R = ({ code: s, language: e, raw: t, className: h, startLine: d, lineNumbers: m, ...p }) => {
@@ -1,9 +1,10 @@
1
1
  export { type UseAgentChatOptions, type UseAgentChatResult, useAgentChat, } from './use-agent-chat';
2
2
  export { type UseAgentChatSessionsOptions, type UseAgentChatSessionsResult, useAgentChatSessions, } from './use-agent-chat-sessions';
3
- export { type UseAuditLogOptions, type UseAuditLogResult, useAuditLog, } from './use-audit-log';
4
3
  export { useAutomationAgent } from './use-automation-agent';
5
4
  export { useAutomationRun } from './use-automation-run';
6
5
  export { type UploadStatus, type UseFileUploadOptions, type UseFileUploadReturn, useFileUpload, } from './use-file-upload';
7
6
  export { useLumeraUser, usePbSql, usePbUpdate } from './use-lumera-api';
7
+ export { type UseRecordAuditLogParams, type UseRecordAuditLogResult, useRecordAuditLog, } from './use-record-audit-log';
8
+ export { type UseRecordAuditLogSnapshotParams, type UseRecordAuditLogSnapshotResult, useRecordAuditLogSnapshot, } from './use-record-audit-log-snapshot';
8
9
  export { type SortDirection, type TableFilter, type TableSort, type UseSqlTableOptions, type UseSqlTableResult, useSqlTable, } from './use-sql-table';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,YAAY,GACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,WAAW,GACZ,MAAM,iBAAiB,CAAC"}
@@ -1,14 +1,15 @@
1
- import { u, a, b, c } from "../use-automation-run-Vo2NXx-h.js";
2
- import { u as u2, a as a2, b as b2, c as c2, d, e } from "../use-sql-table-yjz6z8nW.js";
1
+ import { u, a, b } from "../use-automation-run-IypX1vtN.js";
2
+ import { u as u2, a as a2, b as b2, c, d, e, f, g } from "../use-sql-table-By700ZAo.js";
3
3
  export {
4
4
  u as useAgentChat,
5
5
  a as useAgentChatSessions,
6
- b as useAuditLog,
7
6
  u2 as useAutomationAgent,
8
- c as useAutomationRun,
7
+ b as useAutomationRun,
9
8
  a2 as useFileUpload,
10
9
  b2 as useLumeraUser,
11
- c2 as usePbSql,
10
+ c as usePbSql,
12
11
  d as usePbUpdate,
13
- e as useSqlTable
12
+ e as useRecordAuditLog,
13
+ f as useRecordAuditLogSnapshot,
14
+ g as useSqlTable
14
15
  };
@@ -0,0 +1,15 @@
1
+ import { RecordAuditSnapshot, RecordAuditStore } from '../lib/audit-log';
2
+ export type UseRecordAuditLogSnapshotParams = {
3
+ id?: string;
4
+ store?: RecordAuditStore;
5
+ enabled?: boolean;
6
+ };
7
+ export type UseRecordAuditLogSnapshotResult = {
8
+ snapshot: RecordAuditSnapshot | null;
9
+ error: Error | null;
10
+ isLoading: boolean;
11
+ isFetching: boolean;
12
+ refresh: () => Promise<void>;
13
+ };
14
+ export declare function useRecordAuditLogSnapshot(params: UseRecordAuditLogSnapshotParams): UseRecordAuditLogSnapshotResult;
15
+ //# sourceMappingURL=use-record-audit-log-snapshot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-record-audit-log-snapshot.d.ts","sourceRoot":"","sources":["../../src/hooks/use-record-audit-log-snapshot.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,mBAAmB,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE7G,MAAM,MAAM,+BAA+B,GAAG;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACrC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,+BAA+B,GAAG,+BAA+B,CAsBlH"}
@@ -0,0 +1,23 @@
1
+ import { RecordAuditCollectionStatus, RecordAuditEntry, RecordAuditEvent } from '../lib/audit-log';
2
+ export type UseRecordAuditLogParams = {
3
+ collections: readonly string[];
4
+ event?: RecordAuditEvent;
5
+ actor?: string;
6
+ since?: string;
7
+ until?: string;
8
+ pageSize?: number;
9
+ enabled?: boolean;
10
+ };
11
+ export type UseRecordAuditLogResult = {
12
+ entries: RecordAuditEntry[];
13
+ collectionStatus: RecordAuditCollectionStatus[];
14
+ error: Error | null;
15
+ isLoading: boolean;
16
+ isFetching: boolean;
17
+ isLoadingMore: boolean;
18
+ hasMore: boolean;
19
+ loadMore: () => Promise<void>;
20
+ refresh: () => Promise<void>;
21
+ };
22
+ export declare function useRecordAuditLog(params: UseRecordAuditLogParams): UseRecordAuditLogResult;
23
+ //# sourceMappingURL=use-record-audit-log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-record-audit-log.d.ts","sourceRoot":"","sources":["../../src/hooks/use-record-audit-log.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EAEtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,gBAAgB,EAAE,2BAA2B,EAAE,CAAC;IAChD,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,uBAAuB,GAAG,uBAAuB,CA+C1F"}
package/dist/index.js CHANGED
@@ -1,52 +1,52 @@
1
- import { A, a, e, j, k, n, o, p, D, q, r, R, T, b, c, d, f, g, h, i, l, u, w, m } from "./RecordSheet-CmOeQ0M-.js";
2
- import { u as u2, a as a2, b as b2, c as c2 } from "./use-automation-run-Vo2NXx-h.js";
3
- import { u as u3, a as a3, b as b3, c as c3, d as d2, e as e2 } from "./use-sql-table-yjz6z8nW.js";
4
- import { X, Y, B, E, Z, _, z, b as b4, A as A2, C, D as D2, c as c4, F, G, H, I, $, g as g2, J, K, L, f as f2, a0, M, O, N, a as a4, h as h2, P, i as i2, Q, R as R2, a1, S, T as T2, U, o as o2, p as p2, d as d3, j as j2, k as k2, l as l2, m as m2, n as n2, q as q2, r as r2, t, u as u4, v, w as w2, V, W, e as e3, x, s, y } from "./automations-DOek1EjJ.js";
5
- import { o as o3, f as f3, a as a5, b as b5, c as c5, d as d4, e as e4, g as g3, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, s as s2 } from "./formatters-D4T821Dv.js";
1
+ import { A, a, e, j, k, n, o, D, p, q, R, T, b, c, d, f, g, h, i, l, u, w, m } from "./RecordSheet-CawHELpB.js";
2
+ import { u as u2, a as a2, b as b2 } from "./use-automation-run-IypX1vtN.js";
3
+ import { u as u3, a as a3, b as b3, c as c2, d as d2, e as e2, f as f2, g as g2 } from "./use-sql-table-By700ZAo.js";
4
+ import { B, E, z, b as b4, A as A2, C, D as D2, c as c3, F, G, H, I, g as g3, J, K, L, f as f3, M, O, N, a as a4, h as h2, P, i as i2, Q, R as R2, S, T as T2, U, o as o2, p as p2, d as d3, j as j2, k as k2, l as l2, m as m2, n as n2, q as q2, r, t, u as u4, v, w as w2, V, W, e as e3, x, s, y } from "./automations-EgDXJ43_.js";
5
+ import { o as o3, f as f4, a as a5, b as b5, c as c4, d as d4, e as e4, g as g4, h as h3, i as i3, j as j3, k as k3, l as l3, m as m3, n as n3, s as s2 } from "./formatters-D4T821Dv.js";
6
6
  import { q as q3 } from "./query-client-DdOWay4_.js";
7
+ import { R as R3, e as e5, b as b6, a as a6, f as f5, g as g5, l as l4, n as n4, c as c5, d as d5, r as r2 } from "./audit-log-BPvip04_.js";
7
8
  export {
8
- X as AUDIT_LOG_EXPORT_LIMIT,
9
- Y as AUDIT_LOG_MAX_COLLECTIONS,
10
9
  A as AgentChat,
11
10
  a as ArtifactCard,
12
11
  e as AssistantChat,
13
12
  j as AssistantPage,
14
13
  k as AssistantWidget,
15
- n as AuditLog,
16
- o as AutomationRunList,
17
- p as AutomationRunner,
14
+ n as AutomationRunList,
15
+ o as AutomationRunner,
18
16
  B as BridgeError,
19
17
  D as DataTable,
20
- q as DataTableFilters,
21
- r as DataTablePagination,
18
+ p as DataTableFilters,
19
+ q as DataTablePagination,
22
20
  E as EXPECTED_PARENT_ORIGIN,
21
+ R3 as RECORD_AUDIT_EXPORT_LIMIT,
22
+ e5 as RECORD_AUDIT_MAX_COLLECTIONS,
23
23
  R as RecordSheet,
24
24
  T as ToolCallCard,
25
25
  b as ToolRenderersProvider,
26
- Z as auditLogActorLabel,
27
- _ as auditLogRequestedCollectionName,
28
26
  z as automationStatuses,
27
+ b6 as buildRecordAuditCsv,
28
+ a6 as buildRecordAuditLogPath,
29
29
  b4 as buildShareableAppUrl,
30
30
  A2 as cancelAutomationRun,
31
31
  C as cancelRun,
32
32
  D2 as clearAutomationCache,
33
33
  o3 as cn,
34
- c4 as configureBridge,
34
+ c3 as configureBridge,
35
35
  F as createAutomationRun,
36
36
  c as createLumeraAgentChatTransport,
37
37
  G as createRun,
38
38
  d as defaultToolRenderers,
39
39
  H as ensureAutomationRun,
40
40
  I as ensureRun,
41
- $ as fetchRecordAuditLogCsv,
41
+ f5 as fetchRecordAuditLogCsv,
42
42
  f as findRenderer,
43
- f3 as formatBoolean,
43
+ f4 as formatBoolean,
44
44
  a5 as formatCellValue,
45
45
  b5 as formatCurrency,
46
- c5 as formatDate,
46
+ c4 as formatDate,
47
47
  d4 as formatDateTime,
48
48
  e4 as formatEditor,
49
- g3 as formatFile,
49
+ g4 as formatFile,
50
50
  h3 as formatFileSize,
51
51
  i3 as formatJson,
52
52
  j3 as formatNumber,
@@ -54,13 +54,13 @@ export {
54
54
  l3 as formatRelation,
55
55
  m3 as formatSelect,
56
56
  n3 as formatText,
57
- g2 as getAppProjectExternalId,
57
+ g3 as getAppProjectExternalId,
58
58
  J as getAutomationByExternalId,
59
59
  K as getAutomationRun,
60
60
  L as getAutomationRunFileDownloadUrl,
61
61
  g as getCollectionMap,
62
- f2 as getDownloadUrl,
63
- a0 as getRecordAuditLogSnapshot,
62
+ f3 as getDownloadUrl,
63
+ g5 as getRecordAuditLogSnapshot,
64
64
  M as getRun,
65
65
  O as getRunFileUrl,
66
66
  N as getRunFiles,
@@ -73,10 +73,13 @@ export {
73
73
  l as isMutatingToolCall,
74
74
  Q as isTerminalStatus,
75
75
  R2 as listAutomationRunFiles,
76
- a1 as listRecordAuditLog,
76
+ l4 as listRecordAuditLog,
77
77
  S as listRuns,
78
78
  T2 as listRunsByAgent,
79
79
  U as listRunsByExternalId,
80
+ n4 as normalizeRecordAuditCollections,
81
+ c5 as normalizeRecordAuditExportLimit,
82
+ d5 as normalizeRecordAuditPageSize,
80
83
  o2 as onInitMessage,
81
84
  p2 as parentApiRequest,
82
85
  d3 as parentApiStream,
@@ -86,7 +89,7 @@ export {
86
89
  m2 as pbDelete,
87
90
  n2 as pbGet,
88
91
  q2 as pbList,
89
- r2 as pbSearch,
92
+ r as pbSearch,
90
93
  t as pbSql,
91
94
  u4 as pbUpdate,
92
95
  v as pbUpdateRecord,
@@ -95,21 +98,23 @@ export {
95
98
  W as pollRun,
96
99
  e3 as postReadyMessage,
97
100
  q3 as queryClient,
101
+ r2 as recordAuditActorLabel,
98
102
  x as sendEmail,
99
103
  s as serializeBridgeRuntimeConfig,
100
104
  s2 as stripHtml,
101
105
  y as uploadFile,
102
106
  u2 as useAgentChat,
103
107
  a2 as useAgentChatSessions,
104
- b2 as useAuditLog,
105
108
  u3 as useAutomationAgent,
106
- c2 as useAutomationRun,
109
+ b2 as useAutomationRun,
107
110
  u as useDataSyncTransport,
108
111
  a3 as useFileUpload,
109
112
  b3 as useLumeraUser,
110
- c3 as usePbSql,
113
+ c2 as usePbSql,
111
114
  d2 as usePbUpdate,
112
- e2 as useSqlTable,
115
+ e2 as useRecordAuditLog,
116
+ f2 as useRecordAuditLogSnapshot,
117
+ g2 as useSqlTable,
113
118
  w as warmCollectionCache,
114
119
  m as withDataSync
115
120
  };