@lumerahq/ui 0.13.0-dev.2 → 0.13.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/README.md +29 -21
- package/dist/{RecordSheet-CawHELpB.js → RecordSheet-BGs3rudM.js} +9146 -5815
- package/dist/{automations-EgDXJ43_.js → automations-DGUEnAYR.js} +199 -38
- package/dist/components/audit-log/AuditLog.d.ts +51 -0
- package/dist/components/audit-log/AuditLog.d.ts.map +1 -0
- package/dist/components/audit-log/AuditLogEntry.d.ts +19 -0
- package/dist/components/audit-log/AuditLogEntry.d.ts.map +1 -0
- package/dist/components/audit-log/index.d.ts +2 -0
- package/dist/components/audit-log/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +6 -5
- package/dist/{highlighted-body-OFNGDK62-TFNZl-GI.js → highlighted-body-OFNGDK62-V6FEuBTg.js} +1 -1
- package/dist/hooks/index.d.ts +1 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -7
- package/dist/hooks/use-audit-log.d.ts +18 -0
- package/dist/hooks/use-audit-log.d.ts.map +1 -0
- package/dist/index.js +55 -65
- package/dist/lib/audit-log-core.d.ts +46 -40
- 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/bridge.d.ts +28 -0
- package/dist/lib/bridge.d.ts.map +1 -1
- package/dist/lib/index.d.ts +1 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +36 -46
- package/dist/mermaid-GHXKKRXX-AvjGDhsO.js +4 -0
- package/dist/ui.css +185 -1
- package/dist/{use-automation-run-IypX1vtN.js → use-automation-run-D6DIaHy3.js} +189 -3
- package/dist/{use-sql-table-By700ZAo.js → use-sql-table-BfA0A-w3.js} +3 -72
- package/package.json +1 -1
- package/dist/audit-log-BPvip04_.js +0 -128
- package/dist/hooks/use-record-audit-log-snapshot.d.ts +0 -15
- package/dist/hooks/use-record-audit-log-snapshot.d.ts.map +0 -1
- package/dist/hooks/use-record-audit-log.d.ts +0 -23
- package/dist/hooks/use-record-audit-log.d.ts.map +0 -1
- package/dist/mermaid-GHXKKRXX-9ec0sPET.js +0 -4
package/dist/index.js
CHANGED
|
@@ -1,52 +1,47 @@
|
|
|
1
|
-
import { A, a, e, j, k, n, o,
|
|
2
|
-
import { u as u2, a as a2, b as b2 } from "./use-automation-run-
|
|
3
|
-
import { u as u3, a as a3, b as b3, c as
|
|
4
|
-
import { B, E,
|
|
5
|
-
import { o as o3, f as
|
|
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-BGs3rudM.js";
|
|
2
|
+
import { u as u2, a as a2, b as b2, c as c2 } from "./use-automation-run-D6DIaHy3.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-BfA0A-w3.js";
|
|
4
|
+
import { B, E, C, b as b4, D as D2, F, G, c as c4, H, I, J, K, g as g2, L, M, N, f as f2, O, Q, P, a as a4, h as h2, R as R2, i as i2, S, T as T2, U, V, W, l as l2, o as o2, p as p2, d as d3, j as j2, k as k2, m as m2, n as n2, q as q2, t, u as u4, v, w as w2, x, y, X, Y, e as e3, r as r2, z, s, A as A2 } from "./automations-DGUEnAYR.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";
|
|
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";
|
|
8
7
|
export {
|
|
9
8
|
A as AgentChat,
|
|
10
9
|
a as ArtifactCard,
|
|
11
10
|
e as AssistantChat,
|
|
12
11
|
j as AssistantPage,
|
|
13
12
|
k as AssistantWidget,
|
|
14
|
-
n as
|
|
15
|
-
o as
|
|
13
|
+
n as AuditLog,
|
|
14
|
+
o as AutomationRunList,
|
|
15
|
+
p as AutomationRunner,
|
|
16
16
|
B as BridgeError,
|
|
17
17
|
D as DataTable,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
q as DataTableFilters,
|
|
19
|
+
r as DataTablePagination,
|
|
20
20
|
E as EXPECTED_PARENT_ORIGIN,
|
|
21
|
-
R3 as RECORD_AUDIT_EXPORT_LIMIT,
|
|
22
|
-
e5 as RECORD_AUDIT_MAX_COLLECTIONS,
|
|
23
21
|
R as RecordSheet,
|
|
24
22
|
T as ToolCallCard,
|
|
25
23
|
b as ToolRenderersProvider,
|
|
26
|
-
|
|
27
|
-
b6 as buildRecordAuditCsv,
|
|
28
|
-
a6 as buildRecordAuditLogPath,
|
|
24
|
+
C as automationStatuses,
|
|
29
25
|
b4 as buildShareableAppUrl,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
D2 as cancelAutomationRun,
|
|
27
|
+
F as cancelRun,
|
|
28
|
+
G as clearAutomationCache,
|
|
33
29
|
o3 as cn,
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
c4 as configureBridge,
|
|
31
|
+
H as createAutomationRun,
|
|
36
32
|
c as createLumeraAgentChatTransport,
|
|
37
|
-
|
|
33
|
+
I as createRun,
|
|
38
34
|
d as defaultToolRenderers,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
f5 as fetchRecordAuditLogCsv,
|
|
35
|
+
J as ensureAutomationRun,
|
|
36
|
+
K as ensureRun,
|
|
42
37
|
f as findRenderer,
|
|
43
|
-
|
|
38
|
+
f3 as formatBoolean,
|
|
44
39
|
a5 as formatCellValue,
|
|
45
40
|
b5 as formatCurrency,
|
|
46
|
-
|
|
41
|
+
c5 as formatDate,
|
|
47
42
|
d4 as formatDateTime,
|
|
48
43
|
e4 as formatEditor,
|
|
49
|
-
|
|
44
|
+
g3 as formatFile,
|
|
50
45
|
h3 as formatFileSize,
|
|
51
46
|
i3 as formatJson,
|
|
52
47
|
j3 as formatNumber,
|
|
@@ -54,67 +49,62 @@ export {
|
|
|
54
49
|
l3 as formatRelation,
|
|
55
50
|
m3 as formatSelect,
|
|
56
51
|
n3 as formatText,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
52
|
+
g2 as getAppProjectExternalId,
|
|
53
|
+
L as getAutomationByExternalId,
|
|
54
|
+
M as getAutomationRun,
|
|
55
|
+
N as getAutomationRunFileDownloadUrl,
|
|
61
56
|
g as getCollectionMap,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
N as getRunFiles,
|
|
57
|
+
f2 as getDownloadUrl,
|
|
58
|
+
O as getRun,
|
|
59
|
+
Q as getRunFileUrl,
|
|
60
|
+
P as getRunFiles,
|
|
67
61
|
a4 as getShareableAppUrl,
|
|
68
62
|
h2 as getUploadUrl,
|
|
69
63
|
h as humanizeCollectionName,
|
|
70
|
-
|
|
64
|
+
R2 as isActiveStatus,
|
|
71
65
|
i2 as isEmbedded,
|
|
72
66
|
i as isExploratoryToolCallError,
|
|
73
67
|
l as isMutatingToolCall,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
n4 as normalizeRecordAuditCollections,
|
|
81
|
-
c5 as normalizeRecordAuditExportLimit,
|
|
82
|
-
d5 as normalizeRecordAuditPageSize,
|
|
68
|
+
S as isTerminalStatus,
|
|
69
|
+
T2 as listAutomationRunFiles,
|
|
70
|
+
U as listRuns,
|
|
71
|
+
V as listRunsByAgent,
|
|
72
|
+
W as listRunsByExternalId,
|
|
73
|
+
l2 as logout,
|
|
83
74
|
o2 as onInitMessage,
|
|
84
75
|
p2 as parentApiRequest,
|
|
85
76
|
d3 as parentApiStream,
|
|
86
77
|
j2 as pbBulkDelete,
|
|
87
78
|
k2 as pbBulkUpdate,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
79
|
+
m2 as pbCreate,
|
|
80
|
+
n2 as pbDelete,
|
|
81
|
+
q2 as pbGet,
|
|
82
|
+
t as pbList,
|
|
83
|
+
u4 as pbSearch,
|
|
84
|
+
v as pbSql,
|
|
85
|
+
w2 as pbUpdate,
|
|
86
|
+
x as pbUpdateRecord,
|
|
87
|
+
y as pbUpsert,
|
|
88
|
+
X as pollAutomationRun,
|
|
89
|
+
Y as pollRun,
|
|
99
90
|
e3 as postReadyMessage,
|
|
100
91
|
q3 as queryClient,
|
|
101
|
-
r2 as
|
|
102
|
-
|
|
92
|
+
r2 as redirectToLogin,
|
|
93
|
+
z as sendEmail,
|
|
103
94
|
s as serializeBridgeRuntimeConfig,
|
|
104
95
|
s2 as stripHtml,
|
|
105
|
-
|
|
96
|
+
A2 as uploadFile,
|
|
106
97
|
u2 as useAgentChat,
|
|
107
98
|
a2 as useAgentChatSessions,
|
|
99
|
+
b2 as useAuditLog,
|
|
108
100
|
u3 as useAutomationAgent,
|
|
109
|
-
|
|
101
|
+
c2 as useAutomationRun,
|
|
110
102
|
u as useDataSyncTransport,
|
|
111
103
|
a3 as useFileUpload,
|
|
112
104
|
b3 as useLumeraUser,
|
|
113
|
-
|
|
105
|
+
c3 as usePbSql,
|
|
114
106
|
d2 as usePbUpdate,
|
|
115
|
-
e2 as
|
|
116
|
-
f2 as useRecordAuditLogSnapshot,
|
|
117
|
-
g2 as useSqlTable,
|
|
107
|
+
e2 as useSqlTable,
|
|
118
108
|
w as warmCollectionCache,
|
|
119
109
|
m as withDataSync
|
|
120
110
|
};
|
|
@@ -1,88 +1,94 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
1
|
+
export declare const AUDIT_LOG_EXPORT_LIMIT = 10000;
|
|
2
|
+
export declare const AUDIT_LOG_MAX_COLLECTIONS = 20;
|
|
3
|
+
export type AuditLogEvent = 'created' | 'updated' | 'deleted';
|
|
4
|
+
export type AuditLogStore = 'shared' | 'tenant';
|
|
5
|
+
export type AuditLogActor = {
|
|
6
6
|
id?: string;
|
|
7
7
|
type: string;
|
|
8
8
|
type_label: string;
|
|
9
9
|
name?: string;
|
|
10
10
|
email?: string;
|
|
11
11
|
};
|
|
12
|
-
export type
|
|
12
|
+
export type AuditLogSummarySegment = {
|
|
13
13
|
text: string;
|
|
14
14
|
emphasis: 'none' | 'strong';
|
|
15
15
|
};
|
|
16
|
-
export type
|
|
16
|
+
export type AuditLogField = {
|
|
17
17
|
label: string;
|
|
18
18
|
value: string;
|
|
19
19
|
secondary?: string;
|
|
20
|
+
secondaryLabel?: string;
|
|
20
21
|
mono?: boolean;
|
|
21
22
|
code?: boolean;
|
|
22
23
|
key?: string;
|
|
23
24
|
changed?: boolean;
|
|
24
25
|
json?: unknown;
|
|
25
26
|
};
|
|
26
|
-
export type
|
|
27
|
-
before:
|
|
28
|
-
after:
|
|
27
|
+
export type AuditLogSnapshot = {
|
|
28
|
+
before: AuditLogField[] | null;
|
|
29
|
+
after: AuditLogField[] | null;
|
|
29
30
|
};
|
|
30
|
-
export type
|
|
31
|
+
export type AuditLogEntry = {
|
|
31
32
|
id: string;
|
|
32
33
|
occurred_at: string;
|
|
33
|
-
domain:
|
|
34
|
-
event:
|
|
35
|
-
actor:
|
|
36
|
-
summary:
|
|
37
|
-
details:
|
|
34
|
+
domain: string;
|
|
35
|
+
event: AuditLogEvent;
|
|
36
|
+
actor: AuditLogActor;
|
|
37
|
+
summary: AuditLogSummarySegment[];
|
|
38
|
+
details: AuditLogField[];
|
|
38
39
|
has_snapshot: boolean;
|
|
39
|
-
store:
|
|
40
|
-
collection: string;
|
|
41
|
-
collection_id: string;
|
|
42
|
-
record_id: string;
|
|
43
|
-
record_label: string;
|
|
44
|
-
changed_fields: string[];
|
|
40
|
+
store: AuditLogStore;
|
|
45
41
|
};
|
|
46
|
-
export type
|
|
42
|
+
export type AuditLogPagination = {
|
|
47
43
|
limit: number;
|
|
48
44
|
has_more: boolean;
|
|
49
45
|
next_cursor?: string;
|
|
50
46
|
};
|
|
51
|
-
export type
|
|
52
|
-
requested_name: string;
|
|
47
|
+
export type AuditLogCollectionStatus = {
|
|
53
48
|
name: string;
|
|
54
49
|
audit_enabled: boolean;
|
|
55
50
|
};
|
|
56
|
-
export type
|
|
57
|
-
audit_logs:
|
|
58
|
-
record_collections?:
|
|
59
|
-
pagination:
|
|
51
|
+
export type AuditLogListResponse = {
|
|
52
|
+
audit_logs: AuditLogEntry[];
|
|
53
|
+
record_collections?: AuditLogCollectionStatus[];
|
|
54
|
+
pagination: AuditLogPagination;
|
|
60
55
|
};
|
|
61
|
-
export type
|
|
56
|
+
export type AuditLogSnapshotResponse = {
|
|
62
57
|
id: string;
|
|
63
|
-
snapshot:
|
|
58
|
+
snapshot: AuditLogSnapshot | null;
|
|
64
59
|
};
|
|
65
|
-
export type
|
|
66
|
-
event?:
|
|
60
|
+
export type AuditLogFilters = {
|
|
61
|
+
event?: AuditLogEvent;
|
|
67
62
|
actor?: string;
|
|
68
63
|
since?: string;
|
|
69
64
|
until?: string;
|
|
70
65
|
};
|
|
71
|
-
export type
|
|
66
|
+
export type AuditLogFilterState = AuditLogFilters & {
|
|
67
|
+
collections: string[];
|
|
68
|
+
};
|
|
69
|
+
export type ListRecordAuditLogParams = AuditLogFilters & {
|
|
72
70
|
collections: readonly string[];
|
|
73
71
|
cursor?: string;
|
|
74
72
|
limit?: number;
|
|
75
73
|
};
|
|
76
|
-
export type
|
|
74
|
+
export type RecordAuditLogCsvResult = {
|
|
77
75
|
csv: string;
|
|
78
76
|
count: number;
|
|
79
77
|
truncated: boolean;
|
|
80
78
|
};
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
export type AuditLogCsvOptions = {
|
|
80
|
+
collectionLabels?: Readonly<Record<string, string>>;
|
|
81
|
+
activityNouns?: Readonly<Record<string, string>>;
|
|
82
|
+
};
|
|
83
|
+
export declare const normalizeAuditLogPageSize: (value?: number) => number;
|
|
84
|
+
export declare const normalizeAuditLogExportLimit: (value?: number) => number;
|
|
85
|
+
export declare const auditLogActorLabel: (actor: AuditLogActor) => string;
|
|
84
86
|
export declare function normalizeRecordAuditCollections(collections: readonly string[]): string[];
|
|
85
|
-
/**
|
|
87
|
+
/** Keep filter state valid when the component's available collections change. */
|
|
88
|
+
export declare function normalizeAuditLogFilterState(collections: readonly string[], filters?: Partial<AuditLogFilterState>): AuditLogFilterState;
|
|
89
|
+
/** Build a request scoped to one or more user-defined collections. */
|
|
86
90
|
export declare function buildRecordAuditLogPath(params: ListRecordAuditLogParams): string;
|
|
87
|
-
export declare
|
|
91
|
+
export declare const auditLogDetailValue: (entry: AuditLogEntry, label: string) => string;
|
|
92
|
+
export declare function auditLogSummaryWithCollectionLabel(entry: AuditLogEntry, collectionLabel: string): AuditLogSummarySegment[];
|
|
93
|
+
export declare function buildAuditLogCsv(entries: AuditLogEntry[], options?: AuditLogCsvOptions): string;
|
|
88
94
|
//# sourceMappingURL=audit-log-core.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-log-core.d.ts","sourceRoot":"","sources":["../../src/lib/audit-log-core.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"audit-log-core.d.ts","sourceRoot":"","sources":["../../src/lib/audit-log-core.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,QAAS,CAAC;AAC7C,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAC9D,MAAM,MAA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,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,cAAU,KAAG,MAA6D,CAAC;AAErH,eAAO,MAAM,4BAA4B,GAAI,cAA8B,KAAG,MACc,CAAC;AAE7F,eAAO,MAAM,kBAAkB,GAAI,OAAO,aAAa,KAAG,MACK,CAAC;AAEhE,wBAAgB,+BAA+B,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAUxF;AAED,iFAAiF;AACjF,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,GAAE,OAAO,CAAC,mBAAmB,CAAM,GACzC,mBAAmB,CAcrB;AAED,sEAAsE;AACtE,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAqBhF;AAED,eAAO,MAAM,mBAAmB,GAAI,OAAO,aAAa,EAAE,OAAO,MAAM,KAAG,MACP,CAAC;AAEpE,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,aAAa,EACpB,eAAe,EAAE,MAAM,GACtB,sBAAsB,EAAE,CAe1B;AAmBD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,OAAO,GAAE,kBAAuB,GAAG,MAAM,CAsBnG"}
|
package/dist/lib/audit-log.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export declare function listRecordAuditLog(params: ListRecordAuditLogParams): Promise<
|
|
4
|
-
export declare function getRecordAuditLogSnapshot(id: string, store
|
|
1
|
+
import { AuditLogCsvOptions, AuditLogListResponse, AuditLogSnapshotResponse, AuditLogStore, ListRecordAuditLogParams, RecordAuditLogCsvResult } from './audit-log-core';
|
|
2
|
+
export { AUDIT_LOG_EXPORT_LIMIT, AUDIT_LOG_MAX_COLLECTIONS, type AuditLogActor, type AuditLogCollectionStatus, type AuditLogCsvOptions, type AuditLogEntry, type AuditLogEvent, type AuditLogField, type AuditLogFilterState, type AuditLogFilters, type AuditLogListResponse, auditLogActorLabel, auditLogDetailValue, auditLogSummaryWithCollectionLabel, normalizeAuditLogExportLimit, normalizeAuditLogFilterState, normalizeAuditLogPageSize, normalizeRecordAuditCollections, } from './audit-log-core';
|
|
3
|
+
export declare function listRecordAuditLog(params: ListRecordAuditLogParams): Promise<AuditLogListResponse>;
|
|
4
|
+
export declare function getRecordAuditLogSnapshot(id: string, store: AuditLogStore): Promise<AuditLogSnapshotResponse>;
|
|
5
5
|
/** Fetch the current filtered feed page-by-page, capped defensively at 10,000 rows. */
|
|
6
|
-
export declare function fetchRecordAuditLogCsv(params: Omit<ListRecordAuditLogParams, 'cursor' | 'limit'>, maxRows?: number): Promise<
|
|
6
|
+
export declare function fetchRecordAuditLogCsv(params: Omit<ListRecordAuditLogParams, 'cursor' | 'limit'>, maxRows?: number, options?: AuditLogCsvOptions): Promise<RecordAuditLogCsvResult>;
|
|
7
7
|
//# sourceMappingURL=audit-log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-log.d.ts","sourceRoot":"","sources":["../../src/lib/audit-log.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"audit-log.d.ts","sourceRoot":"","sources":["../../src/lib/audit-log.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,kBAAkB,EAEvB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAGlB,KAAK,wBAAwB,EAE7B,KAAK,uBAAuB,EAC7B,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,+BAA+B,GAChC,MAAM,kBAAkB,CAAC;AAE1B,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAExG;AAED,wBAAsB,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,wBAAwB,CAAC,CASnH;AAED,uFAAuF;AACvF,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,IAAI,CAAC,wBAAwB,EAAE,QAAQ,GAAG,OAAO,CAAC,EAC1D,OAAO,SAAyB,EAChC,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,uBAAuB,CAAC,CA2BlC"}
|
package/dist/lib/bridge.d.ts
CHANGED
|
@@ -47,6 +47,11 @@ export type HostPayload = {
|
|
|
47
47
|
name?: string;
|
|
48
48
|
apiName?: string;
|
|
49
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* The signed-in user. Undefined for anonymous visitors on public-access
|
|
52
|
+
* apps served on their own hostname — apps that allow anonymous access
|
|
53
|
+
* must handle this and may offer sign-in via `redirectToLogin()`.
|
|
54
|
+
*/
|
|
50
55
|
user?: {
|
|
51
56
|
id: string;
|
|
52
57
|
name: string;
|
|
@@ -58,7 +63,15 @@ export type HostPayload = {
|
|
|
58
63
|
projectExternalId?: string;
|
|
59
64
|
/** Base iframe URL mounted by Lumera, used for share-link generation. */
|
|
60
65
|
iframeBaseUrl?: string;
|
|
66
|
+
/** Who may open the app (org_members_with_permission … public). */
|
|
67
|
+
accessLevel?: string;
|
|
61
68
|
};
|
|
69
|
+
/**
|
|
70
|
+
* How the current caller was classified when the app runs standalone on
|
|
71
|
+
* its own hostname: 'org_member' (company member), 'app_user' (external
|
|
72
|
+
* signed-in user), or 'anonymous'.
|
|
73
|
+
*/
|
|
74
|
+
subjectType?: string;
|
|
62
75
|
message?: string;
|
|
63
76
|
session?: {
|
|
64
77
|
token?: string;
|
|
@@ -191,6 +204,21 @@ export declare function buildShareableAppUrl(path: string, options?: ShareableAp
|
|
|
191
204
|
* `app.externalId`.
|
|
192
205
|
*/
|
|
193
206
|
export declare function getShareableAppUrl(options?: ShareableAppUrlOptions): string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* Redirect the browser into the Lumera app-session login flow. Only
|
|
209
|
+
* meaningful in direct mode (standalone app hostname); in the Lumera shell
|
|
210
|
+
* the platform session already exists.
|
|
211
|
+
*
|
|
212
|
+
* @param returnTo - Relative path to land on after login. Defaults to the
|
|
213
|
+
* current path + query.
|
|
214
|
+
*/
|
|
215
|
+
export declare const redirectToLogin: (returnTo?: string) => void;
|
|
216
|
+
/**
|
|
217
|
+
* Revoke the current app session and clear its cookies. Only meaningful in
|
|
218
|
+
* direct mode. Resolves once the session is cleared; callers usually reload
|
|
219
|
+
* or navigate afterwards.
|
|
220
|
+
*/
|
|
221
|
+
export declare const logout: () => Promise<void>;
|
|
194
222
|
/**
|
|
195
223
|
* Extend bridge runtime config for the current page load.
|
|
196
224
|
*
|
package/dist/lib/bridge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../src/lib/bridge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AA2CH,eAAO,MAAM,sBAAsB,KAA0D,CAAC;AAQ9F,MAAM,MAAM,mBAAmB,GAAG;IAChC,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AA2CF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,QAAQ,mBAAmB,KAAG,MAI1E,CAAC;AAMF;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE;QACR,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,CAAC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
CHANGED
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module @lumerahq/ui/lib
|
|
5
5
|
*/
|
|
6
|
-
export { BridgeError, type BridgeRequest, type BridgeResponse, type BridgeRuntimeConfig, type BridgeStream, type BridgeStreamHandlers, type BridgeStreamOpen, type BridgeStreamResponse, buildShareableAppUrl, configureBridge, EXPECTED_PARENT_ORIGIN, getAppProjectExternalId, getShareableAppUrl, type HostPayload, isEmbedded, onInitMessage, parentApiRequest, parentApiStream, postReadyMessage, type ShareableAppRouter, type ShareableAppUrlOptions, serializeBridgeRuntimeConfig, } from './bridge';
|
|
6
|
+
export { BridgeError, type BridgeRequest, type BridgeResponse, type BridgeRuntimeConfig, type BridgeStream, type BridgeStreamHandlers, type BridgeStreamOpen, type BridgeStreamResponse, buildShareableAppUrl, configureBridge, EXPECTED_PARENT_ORIGIN, getAppProjectExternalId, getShareableAppUrl, type HostPayload, isEmbedded, logout, onInitMessage, parentApiRequest, parentApiStream, postReadyMessage, redirectToLogin, type ShareableAppRouter, type ShareableAppUrlOptions, serializeBridgeRuntimeConfig, } from './bridge';
|
|
7
7
|
export { type EmailSendRequest, type EmailSendResult, type FileDescriptor, getDownloadUrl, getUploadUrl, type PbBulkResult, type PbListOptions, type PbListResponse, type PbRecord, type PbSearchMetadata, type PbSearchOptions, type PbSearchResult, type PbSqlRequest, type PbSqlResponse, pbBulkDelete, pbBulkUpdate, pbCreate, pbDelete, pbGet, pbList, pbSearch, pbSql, pbUpdate, pbUpdateRecord, pbUpsert, sendEmail, type UploadOptions, type UploadUrlResponse, uploadFile, } from './api';
|
|
8
8
|
export { type Automation, type AutomationRun, type AutomationRunFile, type AutomationStatus, automationStatuses, type CreateRunOptions, cancelAutomationRun, cancelRun, clearAutomationCache, createAutomationRun, createRun, ensureAutomationRun, ensureRun, getAutomationByExternalId, getAutomationRun, getAutomationRunFileDownloadUrl, getRun, getRunFiles, getRunFileUrl, isActiveStatus, isTerminalStatus, type LegacyCreateRunOptions, type ListRunsOptions, listAutomationRunFiles, listRuns, listRunsByAgent, listRunsByExternalId, type PollOptions, pollAutomationRun, pollRun, } from './automations';
|
|
9
9
|
export { type ColumnType, type FileDescriptor as FormatterFileDescriptor, type FormatOptions, formatBoolean, formatCellValue, formatCurrency, formatDate, formatDateTime, formatEditor, formatFile, formatFileSize, formatJson, formatNumber, formatPercent, formatRelation, formatSelect, formatText, stripHtml, } from './formatters';
|
|
10
10
|
export { queryClient } from './query-client';
|
|
11
11
|
export { cn } from './utils';
|
|
12
|
-
export { buildRecordAuditCsv, buildRecordAuditLogPath, fetchRecordAuditLogCsv, getRecordAuditLogSnapshot, type ListRecordAuditLogParams, listRecordAuditLog, normalizeRecordAuditCollections, normalizeRecordAuditExportLimit, normalizeRecordAuditPageSize, RECORD_AUDIT_EXPORT_LIMIT, RECORD_AUDIT_MAX_COLLECTIONS, type RecordAuditActor, type RecordAuditCollectionStatus, type RecordAuditCsvResult, type RecordAuditEntry, type RecordAuditEvent, type RecordAuditField, type RecordAuditFilters, type RecordAuditListResponse, type RecordAuditPagination, type RecordAuditSnapshot, type RecordAuditSnapshotResponse, type RecordAuditStore, type RecordAuditSummarySegment, recordAuditActorLabel, } from './audit-log';
|
|
13
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAEL,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,oBAAoB,EAEpB,eAAe,EAEf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAElB,KAAK,WAAW,EAChB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,eAAe,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tB,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,mBAAmB,EACnB,SAAS,EAET,oBAAoB,EAEpB,mBAAmB,EAEnB,SAAS,EACT,mBAAmB,EACnB,SAAS,EAET,yBAAyB,EACzB,gBAAgB,EAChB,+BAA+B,EAC/B,MAAM,EAEN,WAAW,EACX,aAAa,EACb,cAAc,EAEd,gBAAgB,EAChB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,sBAAsB,EACtB,QAAQ,EACR,eAAe,EACf,oBAAoB,EACpB,KAAK,WAAW,EAChB,iBAAiB,EACjB,OAAO,GACR,MAAM,eAAe,CAAC;AAMvB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,cAAc,IAAI,uBAAuB,EAC9C,KAAK,aAAa,EAClB,aAAa,EACb,eAAe,EACf,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,YAAY,EACZ,UAAU,EACV,SAAS,GACV,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAM7C,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
import { B, E,
|
|
1
|
+
import { B, E, C, b, D, F, G, c, H, I, J, K, g, L, M, N, f, O, Q, P, a, h, R, i, S, T, U, V, W, l, o, p, d, j, k, m, n, q, t, u, v, w, x, y, X, Y, e, r, z, s, A } from "../automations-DGUEnAYR.js";
|
|
2
2
|
import { o as o2, f as f2, a as a2, b as b2, c as c2, d as d2, e as e2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, m as m2, n as n2, s as s2 } from "../formatters-D4T821Dv.js";
|
|
3
3
|
import { q as q2 } from "../query-client-DdOWay4_.js";
|
|
4
|
-
import { R as R2, e as e3, b as b3, a as a3, f as f3, g as g3, l as l3, n as n3, c as c3, d as d3, r as r2 } from "../audit-log-BPvip04_.js";
|
|
5
4
|
export {
|
|
6
5
|
B as BridgeError,
|
|
7
6
|
E as EXPECTED_PARENT_ORIGIN,
|
|
8
|
-
|
|
9
|
-
e3 as RECORD_AUDIT_MAX_COLLECTIONS,
|
|
10
|
-
z as automationStatuses,
|
|
11
|
-
b3 as buildRecordAuditCsv,
|
|
12
|
-
a3 as buildRecordAuditLogPath,
|
|
7
|
+
C as automationStatuses,
|
|
13
8
|
b as buildShareableAppUrl,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
D as cancelAutomationRun,
|
|
10
|
+
F as cancelRun,
|
|
11
|
+
G as clearAutomationCache,
|
|
17
12
|
o2 as cn,
|
|
18
13
|
c as configureBridge,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
f3 as fetchRecordAuditLogCsv,
|
|
14
|
+
H as createAutomationRun,
|
|
15
|
+
I as createRun,
|
|
16
|
+
J as ensureAutomationRun,
|
|
17
|
+
K as ensureRun,
|
|
24
18
|
f2 as formatBoolean,
|
|
25
19
|
a2 as formatCellValue,
|
|
26
20
|
b2 as formatCurrency,
|
|
@@ -36,48 +30,44 @@ export {
|
|
|
36
30
|
m2 as formatSelect,
|
|
37
31
|
n2 as formatText,
|
|
38
32
|
g as getAppProjectExternalId,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
L as getAutomationByExternalId,
|
|
34
|
+
M as getAutomationRun,
|
|
35
|
+
N as getAutomationRunFileDownloadUrl,
|
|
42
36
|
f as getDownloadUrl,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
N as getRunFiles,
|
|
37
|
+
O as getRun,
|
|
38
|
+
Q as getRunFileUrl,
|
|
39
|
+
P as getRunFiles,
|
|
47
40
|
a as getShareableAppUrl,
|
|
48
41
|
h as getUploadUrl,
|
|
49
|
-
|
|
42
|
+
R as isActiveStatus,
|
|
50
43
|
i as isEmbedded,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
n3 as normalizeRecordAuditCollections,
|
|
58
|
-
c3 as normalizeRecordAuditExportLimit,
|
|
59
|
-
d3 as normalizeRecordAuditPageSize,
|
|
44
|
+
S as isTerminalStatus,
|
|
45
|
+
T as listAutomationRunFiles,
|
|
46
|
+
U as listRuns,
|
|
47
|
+
V as listRunsByAgent,
|
|
48
|
+
W as listRunsByExternalId,
|
|
49
|
+
l as logout,
|
|
60
50
|
o as onInitMessage,
|
|
61
51
|
p as parentApiRequest,
|
|
62
52
|
d as parentApiStream,
|
|
63
53
|
j as pbBulkDelete,
|
|
64
54
|
k as pbBulkUpdate,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
55
|
+
m as pbCreate,
|
|
56
|
+
n as pbDelete,
|
|
57
|
+
q as pbGet,
|
|
58
|
+
t as pbList,
|
|
59
|
+
u as pbSearch,
|
|
60
|
+
v as pbSql,
|
|
61
|
+
w as pbUpdate,
|
|
62
|
+
x as pbUpdateRecord,
|
|
63
|
+
y as pbUpsert,
|
|
64
|
+
X as pollAutomationRun,
|
|
65
|
+
Y as pollRun,
|
|
76
66
|
e as postReadyMessage,
|
|
77
67
|
q2 as queryClient,
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
r as redirectToLogin,
|
|
69
|
+
z as sendEmail,
|
|
80
70
|
s as serializeBridgeRuntimeConfig,
|
|
81
71
|
s2 as stripHtml,
|
|
82
|
-
|
|
72
|
+
A as uploadFile
|
|
83
73
|
};
|