@lumerahq/ui 0.13.0-dev.0 → 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.
- package/README.md +21 -40
- package/dist/{RecordSheet-BwslIDfX.js → RecordSheet-CawHELpB.js} +7382 -10779
- package/dist/audit-log-BPvip04_.js +128 -0
- package/dist/{automations-D4tZC_G7.js → automations-EgDXJ43_.js} +1 -162
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -6
- package/dist/{highlighted-body-OFNGDK62-ClrpL6m7.js → highlighted-body-OFNGDK62-TFNZl-GI.js} +1 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +7 -6
- package/dist/hooks/use-record-audit-log-snapshot.d.ts +15 -0
- package/dist/hooks/use-record-audit-log-snapshot.d.ts.map +1 -0
- package/dist/hooks/use-record-audit-log.d.ts +23 -0
- package/dist/hooks/use-record-audit-log.d.ts.map +1 -0
- package/dist/index.js +33 -28
- package/dist/lib/audit-log-core.d.ts +36 -54
- package/dist/lib/audit-log-core.d.ts.map +1 -1
- package/dist/lib/audit-log.d.ts +5 -5
- package/dist/lib/audit-log.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +13 -8
- package/dist/mermaid-GHXKKRXX-9ec0sPET.js +4 -0
- package/dist/ui.css +1 -185
- package/dist/{use-automation-run-BHa7eyZU.js → use-automation-run-IypX1vtN.js} +3 -48
- package/dist/{use-sql-table-CkRTvZmH.js → use-sql-table-By700ZAo.js} +72 -3
- package/package.json +1 -1
- package/dist/components/audit-log/AuditLog.d.ts +0 -51
- package/dist/components/audit-log/AuditLog.d.ts.map +0 -1
- package/dist/components/audit-log/AuditLogEntry.d.ts +0 -19
- package/dist/components/audit-log/AuditLogEntry.d.ts.map +0 -1
- package/dist/components/audit-log/index.d.ts +0 -2
- package/dist/components/audit-log/index.d.ts.map +0 -1
- package/dist/hooks/use-audit-log.d.ts +0 -18
- package/dist/hooks/use-audit-log.d.ts.map +0 -1
- package/dist/mermaid-GHXKKRXX-B_NhCUBg.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,155 +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 auditLogActorLabel = (actor) => actor.name?.trim() || actor.email?.trim() || actor.type_label;
|
|
1043
|
-
function normalizeRecordAuditCollections(collections) {
|
|
1044
|
-
const normalized = [];
|
|
1045
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1046
|
-
for (const value of collections) {
|
|
1047
|
-
const collection = value.trim();
|
|
1048
|
-
if (!collection || seen.has(collection)) continue;
|
|
1049
|
-
seen.add(collection);
|
|
1050
|
-
normalized.push(collection);
|
|
1051
|
-
}
|
|
1052
|
-
return normalized;
|
|
1053
|
-
}
|
|
1054
|
-
function normalizeAuditLogFilterState(collections, filters = {}) {
|
|
1055
|
-
const available = normalizeRecordAuditCollections(collections);
|
|
1056
|
-
const allowed = new Set(available);
|
|
1057
|
-
const selected = normalizeRecordAuditCollections(filters.collections ?? available).filter(
|
|
1058
|
-
(name) => allowed.has(name)
|
|
1059
|
-
);
|
|
1060
|
-
return {
|
|
1061
|
-
collections: selected.length > 0 ? selected : available,
|
|
1062
|
-
event: filters.event,
|
|
1063
|
-
actor: filters.actor?.trim() || void 0,
|
|
1064
|
-
since: filters.since?.trim() || void 0,
|
|
1065
|
-
until: filters.until?.trim() || void 0
|
|
1066
|
-
};
|
|
1067
|
-
}
|
|
1068
|
-
function buildRecordAuditLogPath(params) {
|
|
1069
|
-
const collections = normalizeRecordAuditCollections(params.collections);
|
|
1070
|
-
if (collections.length === 0) {
|
|
1071
|
-
throw new Error("At least one collection is required");
|
|
1072
|
-
}
|
|
1073
|
-
if (collections.length > AUDIT_LOG_MAX_COLLECTIONS) {
|
|
1074
|
-
throw new Error(`At most ${AUDIT_LOG_MAX_COLLECTIONS} collections can be requested`);
|
|
1075
|
-
}
|
|
1076
|
-
const query = new URLSearchParams({
|
|
1077
|
-
domain: "record",
|
|
1078
|
-
limit: String(normalizeAuditLogPageSize(params.limit))
|
|
1079
|
-
});
|
|
1080
|
-
for (const collection of collections) query.append("collection", collection);
|
|
1081
|
-
if (params.cursor?.trim()) query.set("cursor", params.cursor.trim());
|
|
1082
|
-
if (params.event) query.set("event", params.event);
|
|
1083
|
-
if (params.actor?.trim()) query.set("actor", params.actor.trim());
|
|
1084
|
-
if (params.since?.trim()) query.set("since", params.since.trim());
|
|
1085
|
-
if (params.until?.trim()) query.set("until", params.until.trim());
|
|
1086
|
-
return `/audit-log?${query.toString()}`;
|
|
1087
|
-
}
|
|
1088
|
-
const auditLogDetailValue = (entry, label) => entry.details.find((field) => field.label === label)?.value ?? "";
|
|
1089
|
-
const auditLogRequestedCollectionName = (collection, statuses) => statuses.find((status) => status.name === collection)?.requested_name || collection;
|
|
1090
|
-
function auditLogSummaryWithCollectionLabel(entry, collectionLabel) {
|
|
1091
|
-
const label = collectionLabel.trim();
|
|
1092
|
-
if (!label) return entry.summary;
|
|
1093
|
-
const recordSegment = entry.summary.find((segment) => segment.emphasis === "strong");
|
|
1094
|
-
const suffixSegments = entry.summary.filter(
|
|
1095
|
-
(segment) => segment.emphasis === "none" && /^\(.+\)$/.test(segment.text.trim())
|
|
1096
|
-
);
|
|
1097
|
-
const eventLabel = entry.event[0].toUpperCase() + entry.event.slice(1);
|
|
1098
|
-
return [
|
|
1099
|
-
{ text: `${eventLabel} ${label}`, emphasis: "none" },
|
|
1100
|
-
...recordSegment ? [recordSegment] : [],
|
|
1101
|
-
...suffixSegments
|
|
1102
|
-
];
|
|
1103
|
-
}
|
|
1104
|
-
const collectionLabelFor = (collection, options = {}) => options.collectionLabels?.[collection]?.trim() || collection;
|
|
1105
|
-
const activityLabelFor = (collection, options = {}) => options.activityNouns?.[collection]?.trim() || options.collectionLabels?.[collection]?.trim() || "";
|
|
1106
|
-
const summaryText = (entry, options = {}) => {
|
|
1107
|
-
const collection = entry.collection;
|
|
1108
|
-
const collectionLabel = collection ? activityLabelFor(collection, options) : "";
|
|
1109
|
-
const summary = collectionLabel ? auditLogSummaryWithCollectionLabel(entry, collectionLabel) : entry.summary;
|
|
1110
|
-
return summary.map((segment) => segment.text).join(" ");
|
|
1111
|
-
};
|
|
1112
|
-
const protectSpreadsheetCell = (value) => /^[\t\r ]*[=+\-@]/.test(value) ? `'${value}` : value;
|
|
1113
|
-
const csvCell = (value) => `"${protectSpreadsheetCell(value).replaceAll('"', '""')}"`;
|
|
1114
|
-
function buildAuditLogCsv(entries, options = {}) {
|
|
1115
|
-
const rows = entries.map((entry) => {
|
|
1116
|
-
const collectionApiName = entry.collection;
|
|
1117
|
-
return [
|
|
1118
|
-
entry.occurred_at,
|
|
1119
|
-
collectionApiName ? collectionLabelFor(collectionApiName, options) : "",
|
|
1120
|
-
collectionApiName,
|
|
1121
|
-
auditLogActorLabel(entry.actor),
|
|
1122
|
-
entry.actor.type,
|
|
1123
|
-
entry.event,
|
|
1124
|
-
entry.record_id,
|
|
1125
|
-
summaryText(entry, options)
|
|
1126
|
-
].map(csvCell).join(",");
|
|
1127
|
-
});
|
|
1128
|
-
return [
|
|
1129
|
-
["time", "collection_label", "collection_api_name", "actor", "actor_type", "event", "record_id", "summary"].map(csvCell).join(","),
|
|
1130
|
-
...rows
|
|
1131
|
-
].join("\n");
|
|
1132
|
-
}
|
|
1133
|
-
async function listRecordAuditLog(params) {
|
|
1134
|
-
return requestApi(buildRecordAuditLogPath(params), { method: "GET" });
|
|
1135
|
-
}
|
|
1136
|
-
async function getRecordAuditLogSnapshot(id, store) {
|
|
1137
|
-
const normalizedID = id.trim();
|
|
1138
|
-
if (!normalizedID) {
|
|
1139
|
-
throw new Error("Audit log ID is required");
|
|
1140
|
-
}
|
|
1141
|
-
return requestApi(
|
|
1142
|
-
`/audit-log/${encodeURIComponent(normalizedID)}/snapshot?store=${encodeURIComponent(store)}`,
|
|
1143
|
-
{ method: "GET" }
|
|
1144
|
-
);
|
|
1145
|
-
}
|
|
1146
|
-
async function fetchRecordAuditLogCsv(params, maxRows = AUDIT_LOG_EXPORT_LIMIT, options = {}) {
|
|
1147
|
-
const limit = normalizeAuditLogExportLimit(maxRows);
|
|
1148
|
-
const entries = [];
|
|
1149
|
-
let cursor = "";
|
|
1150
|
-
let truncated = false;
|
|
1151
|
-
const requestedNames = /* @__PURE__ */ new Map();
|
|
1152
|
-
while (entries.length < limit) {
|
|
1153
|
-
const page = await listRecordAuditLog({
|
|
1154
|
-
...params,
|
|
1155
|
-
cursor: cursor || void 0,
|
|
1156
|
-
limit: Math.min(200, limit - entries.length)
|
|
1157
|
-
});
|
|
1158
|
-
entries.push(...page.audit_logs.slice(0, limit - entries.length));
|
|
1159
|
-
for (const status of page.record_collections ?? []) {
|
|
1160
|
-
requestedNames.set(status.name, status.requested_name);
|
|
1161
|
-
}
|
|
1162
|
-
if (!page.pagination.has_more) break;
|
|
1163
|
-
const nextCursor = page.pagination.next_cursor?.trim();
|
|
1164
|
-
if (!nextCursor || nextCursor === cursor) {
|
|
1165
|
-
throw new Error("Audit log export could not continue");
|
|
1166
|
-
}
|
|
1167
|
-
if (entries.length >= limit) {
|
|
1168
|
-
truncated = true;
|
|
1169
|
-
break;
|
|
1170
|
-
}
|
|
1171
|
-
cursor = nextCursor;
|
|
1172
|
-
}
|
|
1173
|
-
const withRequestedNameAliases = (values) => {
|
|
1174
|
-
if (!values) return void 0;
|
|
1175
|
-
const merged = { ...values };
|
|
1176
|
-
for (const [apiName, requestedName] of requestedNames) {
|
|
1177
|
-
if (!merged[apiName] && merged[requestedName]) merged[apiName] = merged[requestedName];
|
|
1178
|
-
}
|
|
1179
|
-
return merged;
|
|
1180
|
-
};
|
|
1181
|
-
const resolvedOptions = {
|
|
1182
|
-
collectionLabels: withRequestedNameAliases(options.collectionLabels),
|
|
1183
|
-
activityNouns: withRequestedNameAliases(options.activityNouns)
|
|
1184
|
-
};
|
|
1185
|
-
return { csv: buildAuditLogCsv(entries, resolvedOptions), count: entries.length, truncated };
|
|
1186
|
-
}
|
|
1187
1038
|
const API_PREFIX = "/api";
|
|
1188
1039
|
const TERMINAL_STATUSES = ["succeeded", "failed", "cancelled"];
|
|
1189
1040
|
const ACTIVE_STATUSES = ["preparing", "queued", "running", "cancelling"];
|
|
@@ -1413,7 +1264,6 @@ async function listRunsByExternalId(params) {
|
|
|
1413
1264
|
});
|
|
1414
1265
|
}
|
|
1415
1266
|
export {
|
|
1416
|
-
fetchRecordAuditLogCsv as $,
|
|
1417
1267
|
cancelAutomationRun as A,
|
|
1418
1268
|
BridgeError as B,
|
|
1419
1269
|
cancelRun as C,
|
|
@@ -1437,19 +1287,8 @@ export {
|
|
|
1437
1287
|
listRunsByExternalId as U,
|
|
1438
1288
|
pollAutomationRun as V,
|
|
1439
1289
|
pollRun as W,
|
|
1440
|
-
|
|
1441
|
-
AUDIT_LOG_MAX_COLLECTIONS as Y,
|
|
1442
|
-
auditLogActorLabel as Z,
|
|
1443
|
-
auditLogRequestedCollectionName as _,
|
|
1290
|
+
requestApi as X,
|
|
1444
1291
|
getShareableAppUrl as a,
|
|
1445
|
-
getRecordAuditLogSnapshot as a0,
|
|
1446
|
-
listRecordAuditLog as a1,
|
|
1447
|
-
normalizeRecordAuditCollections as a2,
|
|
1448
|
-
normalizeAuditLogPageSize as a3,
|
|
1449
|
-
auditLogSummaryWithCollectionLabel as a4,
|
|
1450
|
-
auditLogDetailValue as a5,
|
|
1451
|
-
normalizeAuditLogFilterState as a6,
|
|
1452
|
-
normalizeAuditLogExportLimit as a7,
|
|
1453
1292
|
buildShareableAppUrl as b,
|
|
1454
1293
|
configureBridge as c,
|
|
1455
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,
|
|
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"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { A, a, e, j, k, n, o,
|
|
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
|
|
9
|
-
o as
|
|
10
|
-
p as AutomationRunner,
|
|
8
|
+
n as AutomationRunList,
|
|
9
|
+
o as AutomationRunner,
|
|
11
10
|
D as DataTable,
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
p as DataTableFilters,
|
|
12
|
+
q as DataTablePagination,
|
|
14
13
|
R as RecordSheet,
|
|
15
14
|
T as ToolCallCard,
|
|
16
15
|
b as ToolRenderersProvider,
|
package/dist/{highlighted-body-OFNGDK62-ClrpL6m7.js → highlighted-body-OFNGDK62-TFNZl-GI.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 }) => {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { u, a, b
|
|
2
|
-
import { u as u2, a as a2, b as b2, c
|
|
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
|
-
|
|
7
|
+
b as useAutomationRun,
|
|
9
8
|
a2 as useFileUpload,
|
|
10
9
|
b2 as useLumeraUser,
|
|
11
|
-
|
|
10
|
+
c as usePbSql,
|
|
12
11
|
d as usePbUpdate,
|
|
13
|
-
e as
|
|
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,
|
|
2
|
-
import { u as u2, a as a2, b as b2
|
|
3
|
-
import { u as u3, a as a3, b as b3, c as
|
|
4
|
-
import {
|
|
5
|
-
import { o as o3, f as
|
|
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
|
|
16
|
-
o as
|
|
17
|
-
p as AutomationRunner,
|
|
14
|
+
n as AutomationRunList,
|
|
15
|
+
o as AutomationRunner,
|
|
18
16
|
B as BridgeError,
|
|
19
17
|
D as DataTable,
|
|
20
|
-
|
|
21
|
-
|
|
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
|
-
|
|
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
|
-
|
|
41
|
+
f5 as fetchRecordAuditLogCsv,
|
|
42
42
|
f as findRenderer,
|
|
43
|
-
|
|
43
|
+
f4 as formatBoolean,
|
|
44
44
|
a5 as formatCellValue,
|
|
45
45
|
b5 as formatCurrency,
|
|
46
|
-
|
|
46
|
+
c4 as formatDate,
|
|
47
47
|
d4 as formatDateTime,
|
|
48
48
|
e4 as formatEditor,
|
|
49
|
-
|
|
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
|
-
|
|
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
|
-
|
|
63
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
109
|
+
b2 as useAutomationRun,
|
|
107
110
|
u as useDataSyncTransport,
|
|
108
111
|
a3 as useFileUpload,
|
|
109
112
|
b3 as useLumeraUser,
|
|
110
|
-
|
|
113
|
+
c2 as usePbSql,
|
|
111
114
|
d2 as usePbUpdate,
|
|
112
|
-
e2 as
|
|
115
|
+
e2 as useRecordAuditLog,
|
|
116
|
+
f2 as useRecordAuditLogSnapshot,
|
|
117
|
+
g2 as useSqlTable,
|
|
113
118
|
w as warmCollectionCache,
|
|
114
119
|
m as withDataSync
|
|
115
120
|
};
|