@feltdb/core 0.4.4 → 0.4.6
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 +22 -0
- package/bin/create-feltdb.js +3 -0
- package/bin/feltdb.js +3 -0
- package/dist/analytics-backend.js +1 -1
- package/dist/cli/api-client.js +236 -0
- package/dist/cli/cli.js +18 -0
- package/dist/cli/commands.js +795 -0
- package/dist/cli/config.js +66 -0
- package/dist/cli/index.js +399 -0
- package/dist/create/application-identity.js +132 -0
- package/dist/create/cli-scripts-generator.js +211 -0
- package/dist/create/cli.js +202 -0
- package/dist/create/create.js +638 -0
- package/dist/create/docker-compose-generator.js +258 -0
- package/dist/create/index.js +4 -0
- package/dist/create/package-versions.js +4 -0
- package/dist/create/runtime-templates.js +272 -0
- package/dist/index-backend.js +1 -1
- package/dist/migrate/analyzer/index.d.ts +2 -0
- package/dist/migrate/analyzer/index.js +34 -0
- package/dist/migrate/benchmark/index.d.ts +13 -0
- package/dist/migrate/benchmark/index.js +8 -0
- package/dist/migrate/capability-gate/index.d.ts +3 -0
- package/dist/migrate/capability-gate/index.js +3 -0
- package/dist/migrate/classifier/index.d.ts +3 -0
- package/dist/migrate/classifier/index.js +53 -0
- package/dist/migrate/cli/index.d.ts +2 -0
- package/dist/migrate/cli/index.js +201 -0
- package/dist/migrate/domain-model/index.d.ts +2 -0
- package/dist/migrate/domain-model/index.js +4 -0
- package/dist/migrate/generator/index.d.ts +2 -0
- package/dist/migrate/generator/index.js +21 -0
- package/dist/migrate/index.d.ts +16 -0
- package/dist/migrate/index.js +16 -0
- package/dist/migrate/measurement/index.d.ts +7 -0
- package/dist/migrate/measurement/index.js +1 -0
- package/dist/migrate/migrator/index.d.ts +2 -0
- package/dist/migrate/migrator/index.js +35 -0
- package/dist/migrate/planner/index.d.ts +2 -0
- package/dist/migrate/planner/index.js +12 -0
- package/dist/migrate/prover/index.d.ts +9 -0
- package/dist/migrate/prover/index.js +3 -0
- package/dist/migrate/reporter/index.d.ts +4 -0
- package/dist/migrate/reporter/index.js +1 -0
- package/dist/migrate/runtime-dependencies/index.d.ts +13 -0
- package/dist/migrate/runtime-dependencies/index.js +112 -0
- package/dist/migrate/state-contract/index.d.ts +13 -0
- package/dist/migrate/state-contract/index.js +49 -0
- package/dist/migrate/types/index.d.ts +228 -0
- package/dist/migrate/types/index.js +1 -0
- package/dist/migrate/ui-wiring/index.d.ts +18 -0
- package/dist/migrate/ui-wiring/index.js +2 -0
- package/dist/migrate/util.d.ts +5 -0
- package/dist/migrate/util.js +10 -0
- package/dist/react/index.d.ts +7 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +6 -0
- package/dist/react/useCapability.d.ts +11 -0
- package/dist/react/useCapability.d.ts.map +1 -0
- package/dist/react/useCapability.js +30 -0
- package/dist/react/useCollection.d.ts +17 -0
- package/dist/react/useCollection.d.ts.map +1 -0
- package/dist/react/useCollection.js +69 -0
- package/dist/react/useFeltDB.d.ts +136 -0
- package/dist/react/useFeltDB.d.ts.map +1 -0
- package/dist/react/useFeltDB.js +350 -0
- package/dist/studio/.gitkeep +1 -0
- package/dist/studio/KeyManagementPanel-BOvWTRyH.js +246 -0
- package/dist/studio/app.d.ts +10 -0
- package/dist/studio/app.d.ts.map +1 -0
- package/dist/studio/components/AgentExplorer.d.ts +9 -0
- package/dist/studio/components/AgentExplorer.d.ts.map +1 -0
- package/dist/studio/components/ApplicationDesigner.d.ts +11 -0
- package/dist/studio/components/ApplicationDesigner.d.ts.map +1 -0
- package/dist/studio/components/CapabilityExplorer.d.ts +9 -0
- package/dist/studio/components/CapabilityExplorer.d.ts.map +1 -0
- package/dist/studio/components/ConflictExplorer.d.ts +9 -0
- package/dist/studio/components/ConflictExplorer.d.ts.map +1 -0
- package/dist/studio/components/ExecutionViewer.d.ts +9 -0
- package/dist/studio/components/ExecutionViewer.d.ts.map +1 -0
- package/dist/studio/components/GlobalSearch.d.ts +10 -0
- package/dist/studio/components/GlobalSearch.d.ts.map +1 -0
- package/dist/studio/components/HealthCenter.d.ts +9 -0
- package/dist/studio/components/HealthCenter.d.ts.map +1 -0
- package/dist/studio/components/KeyManagementPanel.d.ts +9 -0
- package/dist/studio/components/KeyManagementPanel.d.ts.map +1 -0
- package/dist/studio/components/KeyManagementPanel.js +2 -0
- package/dist/studio/components/ManagedInstancePanel.d.ts +4 -0
- package/dist/studio/components/ManagedInstancePanel.d.ts.map +1 -0
- package/dist/studio/components/ManagedInstancePanel.js +281 -0
- package/dist/studio/components/OperationsExplorer.d.ts +10 -0
- package/dist/studio/components/OperationsExplorer.d.ts.map +1 -0
- package/dist/studio/components/OverviewDashboard.d.ts +8 -0
- package/dist/studio/components/OverviewDashboard.d.ts.map +1 -0
- package/dist/studio/components/PeerMap.d.ts +8 -0
- package/dist/studio/components/PeerMap.d.ts.map +1 -0
- package/dist/studio/components/ProvenanceViewer.d.ts +11 -0
- package/dist/studio/components/ProvenanceViewer.d.ts.map +1 -0
- package/dist/studio/components/ReferenceExplorer.d.ts +10 -0
- package/dist/studio/components/ReferenceExplorer.d.ts.map +1 -0
- package/dist/studio/components/SettingsPanel.d.ts +7 -0
- package/dist/studio/components/SettingsPanel.d.ts.map +1 -0
- package/dist/studio/components/StateExplorer.d.ts +10 -0
- package/dist/studio/components/StateExplorer.d.ts.map +1 -0
- package/dist/studio/components/WorkflowVisualizer.d.ts +9 -0
- package/dist/studio/components/WorkflowVisualizer.d.ts.map +1 -0
- package/dist/studio/components/index.d.ts +24 -0
- package/dist/studio/components/index.d.ts.map +1 -0
- package/dist/studio/components/index.js +4 -0
- package/dist/studio/components-BRYUceo9.js +1711 -0
- package/dist/studio/hooks/index.d.ts +37 -0
- package/dist/studio/hooks/index.d.ts.map +1 -0
- package/dist/studio/index.d.ts +27 -0
- package/dist/studio/index.d.ts.map +1 -0
- package/dist/studio/index.html +30 -0
- package/dist/studio/index.js +236 -0
- package/dist/studio/main.d.ts +1 -0
- package/dist/studio/main.d.ts.map +1 -0
- package/dist/studio/studio.css +2 -0
- package/dist/studio/types/index.d.ts +133 -0
- package/dist/studio/types/index.d.ts.map +1 -0
- package/dist/studio/utils/api.d.ts +27 -0
- package/dist/studio/utils/api.d.ts.map +1 -0
- package/dist/studio/utils/format.d.ts +24 -0
- package/dist/studio/utils/format.d.ts.map +1 -0
- package/dist/studio/utils/index.d.ts +7 -0
- package/dist/studio/utils/index.d.ts.map +1 -0
- package/dist/studio/utils/index.js +75 -0
- package/dist/studio/utils/managed-instance.d.ts +40 -0
- package/dist/studio/utils/managed-instance.d.ts.map +1 -0
- package/dist/studio/utils/managed-instance.js +51 -0
- package/dist/studio-app/.gitkeep +1 -0
- package/dist/studio-app/assets/feltdb_wasm-BXMn9UxO.js +1 -0
- package/dist/studio-app/assets/feltdb_wasm_bg-bYYbZeRM.wasm +0 -0
- package/dist/studio-app/assets/index-B-lZjdtI.js +28 -0
- package/dist/studio-app/assets/index-CB-Eed9V.css +1 -0
- package/dist/studio-app/index.html +3 -0
- package/dist/wasm/feltdb_wasm.d.ts +461 -0
- package/dist/wasm/feltdb_wasm.js +1690 -0
- package/dist/wasm/feltdb_wasm_bg.wasm +0 -0
- package/dist/wasm/feltdb_wasm_bg.wasm.d.ts +84 -0
- package/dist/wasm/package.json +16 -0
- package/package.json +40 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface GlobalSearchProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
onSearch?: (term: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function GlobalSearch({ db, model, onSearch }: GlobalSearchProps): React.JSX.Element;
|
|
9
|
+
export default GlobalSearch;
|
|
10
|
+
//# sourceMappingURL=GlobalSearch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalSearch.d.ts","sourceRoot":"","sources":["../../src/components/GlobalSearch.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,qBA2CtE;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, RuntimeDiagnostics } from '@feltdb/core';
|
|
3
|
+
export interface HealthCenterProps {
|
|
4
|
+
diagnostics?: RuntimeDiagnostics | null;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
}
|
|
7
|
+
export declare function HealthCenter({ diagnostics, model }: HealthCenterProps): React.JSX.Element;
|
|
8
|
+
export default HealthCenter;
|
|
9
|
+
//# sourceMappingURL=HealthCenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthCenter.d.ts","sourceRoot":"","sources":["../../src/components/HealthCenter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACjE,MAAM,WAAW,iBAAiB;IAAG,WAAW,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAE;AACvG,wBAAgB,YAAY,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,iBAAiB,qBAKrE;AACD,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface KeyManagementPanelProps {
|
|
3
|
+
apiUrl: string;
|
|
4
|
+
token: string;
|
|
5
|
+
namespace?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const KeyManagementPanel: React.FC<KeyManagementPanelProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=KeyManagementPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyManagementPanel.d.ts","sourceRoot":"","sources":["../../src/components/KeyManagementPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAanD,UAAU,uBAAuB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwRhE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagedInstancePanel.d.ts","sourceRoot":"","sources":["../../src/components/ManagedInstancePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAuRxC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { ManagedInstanceUtil as e } from "../utils/managed-instance.js";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/ManagedInstancePanel.tsx
|
|
5
|
+
var i = () => {
|
|
6
|
+
let [i, a] = t("app-store-sherpa"), [o, s] = t(""), [c, l] = t("90"), [u, d] = t(null), [f, p] = t(null), [m, h] = t(!1), g = [
|
|
7
|
+
"state:read",
|
|
8
|
+
"state:write",
|
|
9
|
+
"events:read",
|
|
10
|
+
"backup:create",
|
|
11
|
+
"backup:restore",
|
|
12
|
+
"admin:logs",
|
|
13
|
+
"admin:restart"
|
|
14
|
+
], _ = () => {
|
|
15
|
+
let t = o || `token-${Date.now()}`, n = e.createToken({
|
|
16
|
+
id: t,
|
|
17
|
+
namespace: i,
|
|
18
|
+
scopes: g,
|
|
19
|
+
expiresIn: parseInt(c, 10)
|
|
20
|
+
});
|
|
21
|
+
d(n), s("");
|
|
22
|
+
}, v = (e) => {
|
|
23
|
+
navigator.clipboard.writeText(e), p(e), setTimeout(() => p(null), 2e3);
|
|
24
|
+
};
|
|
25
|
+
return /* @__PURE__ */ r("div", {
|
|
26
|
+
style: {
|
|
27
|
+
padding: "20px",
|
|
28
|
+
maxWidth: "800px",
|
|
29
|
+
fontFamily: "monospace"
|
|
30
|
+
},
|
|
31
|
+
children: [/* @__PURE__ */ n("h2", { children: "🔑 Managed Instance API Token Generator" }), u ? /* @__PURE__ */ r("div", {
|
|
32
|
+
style: {
|
|
33
|
+
backgroundColor: "#f5f5f5",
|
|
34
|
+
padding: "20px",
|
|
35
|
+
borderRadius: "4px",
|
|
36
|
+
marginBottom: "20px"
|
|
37
|
+
},
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ n("h3", { children: "✓ Token Generated" }),
|
|
40
|
+
/* @__PURE__ */ r("div", {
|
|
41
|
+
style: { marginBottom: "15px" },
|
|
42
|
+
children: [/* @__PURE__ */ n("strong", { children: "Token ID:" }), /* @__PURE__ */ n("div", {
|
|
43
|
+
style: {
|
|
44
|
+
color: "#666",
|
|
45
|
+
fontSize: "12px"
|
|
46
|
+
},
|
|
47
|
+
children: u.id
|
|
48
|
+
})]
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ r("div", {
|
|
51
|
+
style: { marginBottom: "15px" },
|
|
52
|
+
children: [/* @__PURE__ */ n("strong", { children: "Secret (57 chars):" }), /* @__PURE__ */ r("div", {
|
|
53
|
+
style: {
|
|
54
|
+
backgroundColor: "#fff",
|
|
55
|
+
padding: "10px",
|
|
56
|
+
borderRadius: "4px",
|
|
57
|
+
fontFamily: "monospace",
|
|
58
|
+
fontSize: "12px",
|
|
59
|
+
wordBreak: "break-all",
|
|
60
|
+
marginTop: "8px",
|
|
61
|
+
display: "flex",
|
|
62
|
+
justifyContent: "space-between",
|
|
63
|
+
alignItems: "center"
|
|
64
|
+
},
|
|
65
|
+
children: [/* @__PURE__ */ n("span", { children: u.secret }), /* @__PURE__ */ n("button", {
|
|
66
|
+
onClick: () => v(u.secret),
|
|
67
|
+
style: {
|
|
68
|
+
padding: "5px 10px",
|
|
69
|
+
backgroundColor: f === u.secret ? "#28a745" : "#6c757d",
|
|
70
|
+
color: "white",
|
|
71
|
+
border: "none",
|
|
72
|
+
borderRadius: "4px",
|
|
73
|
+
cursor: "pointer",
|
|
74
|
+
fontSize: "12px",
|
|
75
|
+
marginLeft: "10px",
|
|
76
|
+
whiteSpace: "nowrap"
|
|
77
|
+
},
|
|
78
|
+
children: f === u.secret ? "✓ Copied" : "Copy"
|
|
79
|
+
})]
|
|
80
|
+
})]
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ r("div", {
|
|
83
|
+
style: { marginBottom: "15px" },
|
|
84
|
+
children: [/* @__PURE__ */ n("strong", { children: "Created:" }), /* @__PURE__ */ n("div", {
|
|
85
|
+
style: {
|
|
86
|
+
color: "#666",
|
|
87
|
+
fontSize: "12px"
|
|
88
|
+
},
|
|
89
|
+
children: new Date(u.createdAt).toLocaleString()
|
|
90
|
+
})]
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ r("div", {
|
|
93
|
+
style: { marginBottom: "15px" },
|
|
94
|
+
children: [/* @__PURE__ */ n("strong", { children: "Expires:" }), /* @__PURE__ */ n("div", {
|
|
95
|
+
style: {
|
|
96
|
+
color: "#666",
|
|
97
|
+
fontSize: "12px"
|
|
98
|
+
},
|
|
99
|
+
children: new Date(u.expiresAt).toLocaleString()
|
|
100
|
+
})]
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ r("div", {
|
|
103
|
+
style: { marginBottom: "15px" },
|
|
104
|
+
children: [/* @__PURE__ */ n("button", {
|
|
105
|
+
onClick: () => {
|
|
106
|
+
if (!u) return;
|
|
107
|
+
let t = e.generateEnvContent({
|
|
108
|
+
url: `https://${i}-feltdb.fly.dev`,
|
|
109
|
+
token: u.secret,
|
|
110
|
+
namespace: u.namespace,
|
|
111
|
+
applicationId: i,
|
|
112
|
+
revisionId: "v0.5-alpha",
|
|
113
|
+
environment: "staging"
|
|
114
|
+
}), n = new Blob([t], { type: "text/plain" }), r = URL.createObjectURL(n), a = document.createElement("a");
|
|
115
|
+
a.href = r, a.download = ".env.local", document.body.appendChild(a), a.click(), document.body.removeChild(a), URL.revokeObjectURL(r);
|
|
116
|
+
},
|
|
117
|
+
style: {
|
|
118
|
+
padding: "10px 20px",
|
|
119
|
+
backgroundColor: "#28a745",
|
|
120
|
+
color: "white",
|
|
121
|
+
border: "none",
|
|
122
|
+
borderRadius: "4px",
|
|
123
|
+
cursor: "pointer",
|
|
124
|
+
fontSize: "14px",
|
|
125
|
+
marginRight: "10px"
|
|
126
|
+
},
|
|
127
|
+
children: "Download .env.local"
|
|
128
|
+
}), /* @__PURE__ */ n("button", {
|
|
129
|
+
onClick: () => d(null),
|
|
130
|
+
style: {
|
|
131
|
+
padding: "10px 20px",
|
|
132
|
+
backgroundColor: "#6c757d",
|
|
133
|
+
color: "white",
|
|
134
|
+
border: "none",
|
|
135
|
+
borderRadius: "4px",
|
|
136
|
+
cursor: "pointer",
|
|
137
|
+
fontSize: "14px"
|
|
138
|
+
},
|
|
139
|
+
children: "Generate Another"
|
|
140
|
+
})]
|
|
141
|
+
}),
|
|
142
|
+
/* @__PURE__ */ r("details", {
|
|
143
|
+
style: { marginTop: "20px" },
|
|
144
|
+
children: [/* @__PURE__ */ n("summary", {
|
|
145
|
+
style: {
|
|
146
|
+
cursor: "pointer",
|
|
147
|
+
color: "#0070f3"
|
|
148
|
+
},
|
|
149
|
+
children: "Show API Keys JSON"
|
|
150
|
+
}), m && /* @__PURE__ */ n("pre", {
|
|
151
|
+
style: {
|
|
152
|
+
backgroundColor: "#fff",
|
|
153
|
+
padding: "10px",
|
|
154
|
+
borderRadius: "4px",
|
|
155
|
+
fontSize: "11px",
|
|
156
|
+
overflow: "auto",
|
|
157
|
+
marginTop: "10px"
|
|
158
|
+
},
|
|
159
|
+
children: e.generateApiKeysJson([u])
|
|
160
|
+
})]
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ r("div", {
|
|
163
|
+
style: {
|
|
164
|
+
backgroundColor: "#fff3cd",
|
|
165
|
+
padding: "10px",
|
|
166
|
+
borderRadius: "4px",
|
|
167
|
+
marginTop: "20px",
|
|
168
|
+
fontSize: "12px"
|
|
169
|
+
},
|
|
170
|
+
children: [/* @__PURE__ */ n("strong", { children: "⚠ Security:" }), /* @__PURE__ */ r("ul", {
|
|
171
|
+
style: { margin: "8px 0 0 20px" },
|
|
172
|
+
children: [
|
|
173
|
+
/* @__PURE__ */ n("li", { children: "This secret is shown only once" }),
|
|
174
|
+
/* @__PURE__ */ n("li", { children: "Store it securely (1Password, AWS Secrets Manager)" }),
|
|
175
|
+
/* @__PURE__ */ n("li", { children: "Never commit to version control" }),
|
|
176
|
+
/* @__PURE__ */ n("li", { children: "Regenerate if exposed" })
|
|
177
|
+
]
|
|
178
|
+
})]
|
|
179
|
+
})
|
|
180
|
+
]
|
|
181
|
+
}) : /* @__PURE__ */ r("div", {
|
|
182
|
+
style: { marginBottom: "20px" },
|
|
183
|
+
children: [
|
|
184
|
+
/* @__PURE__ */ r("div", {
|
|
185
|
+
style: { marginBottom: "15px" },
|
|
186
|
+
children: [/* @__PURE__ */ n("label", {
|
|
187
|
+
style: {
|
|
188
|
+
display: "block",
|
|
189
|
+
marginBottom: "5px"
|
|
190
|
+
},
|
|
191
|
+
children: "Namespace:"
|
|
192
|
+
}), /* @__PURE__ */ n("input", {
|
|
193
|
+
type: "text",
|
|
194
|
+
value: i,
|
|
195
|
+
onChange: (e) => a(e.target.value),
|
|
196
|
+
style: {
|
|
197
|
+
width: "100%",
|
|
198
|
+
padding: "8px",
|
|
199
|
+
fontSize: "14px",
|
|
200
|
+
fontFamily: "monospace",
|
|
201
|
+
border: "1px solid #ccc",
|
|
202
|
+
borderRadius: "4px"
|
|
203
|
+
}
|
|
204
|
+
})]
|
|
205
|
+
}),
|
|
206
|
+
/* @__PURE__ */ r("div", {
|
|
207
|
+
style: { marginBottom: "15px" },
|
|
208
|
+
children: [/* @__PURE__ */ n("label", {
|
|
209
|
+
style: {
|
|
210
|
+
display: "block",
|
|
211
|
+
marginBottom: "5px"
|
|
212
|
+
},
|
|
213
|
+
children: "Token Name (optional):"
|
|
214
|
+
}), /* @__PURE__ */ n("input", {
|
|
215
|
+
type: "text",
|
|
216
|
+
value: o,
|
|
217
|
+
onChange: (e) => s(e.target.value),
|
|
218
|
+
placeholder: "e.g., production-key",
|
|
219
|
+
style: {
|
|
220
|
+
width: "100%",
|
|
221
|
+
padding: "8px",
|
|
222
|
+
fontSize: "14px",
|
|
223
|
+
fontFamily: "monospace",
|
|
224
|
+
border: "1px solid #ccc",
|
|
225
|
+
borderRadius: "4px"
|
|
226
|
+
}
|
|
227
|
+
})]
|
|
228
|
+
}),
|
|
229
|
+
/* @__PURE__ */ r("div", {
|
|
230
|
+
style: { marginBottom: "15px" },
|
|
231
|
+
children: [/* @__PURE__ */ n("label", {
|
|
232
|
+
style: {
|
|
233
|
+
display: "block",
|
|
234
|
+
marginBottom: "5px"
|
|
235
|
+
},
|
|
236
|
+
children: "Expires In (days):"
|
|
237
|
+
}), /* @__PURE__ */ n("input", {
|
|
238
|
+
type: "number",
|
|
239
|
+
value: c,
|
|
240
|
+
onChange: (e) => l(e.target.value),
|
|
241
|
+
min: "1",
|
|
242
|
+
style: {
|
|
243
|
+
width: "100%",
|
|
244
|
+
padding: "8px",
|
|
245
|
+
fontSize: "14px",
|
|
246
|
+
fontFamily: "monospace",
|
|
247
|
+
border: "1px solid #ccc",
|
|
248
|
+
borderRadius: "4px"
|
|
249
|
+
}
|
|
250
|
+
})]
|
|
251
|
+
}),
|
|
252
|
+
/* @__PURE__ */ r("div", {
|
|
253
|
+
style: { marginBottom: "15px" },
|
|
254
|
+
children: [/* @__PURE__ */ n("strong", { children: "Scopes (fixed):" }), /* @__PURE__ */ n("div", {
|
|
255
|
+
style: {
|
|
256
|
+
fontSize: "12px",
|
|
257
|
+
color: "#666",
|
|
258
|
+
marginTop: "8px"
|
|
259
|
+
},
|
|
260
|
+
children: g.map((e) => /* @__PURE__ */ r("div", { children: ["• ", e] }, e))
|
|
261
|
+
})]
|
|
262
|
+
}),
|
|
263
|
+
/* @__PURE__ */ n("button", {
|
|
264
|
+
onClick: _,
|
|
265
|
+
style: {
|
|
266
|
+
padding: "10px 20px",
|
|
267
|
+
backgroundColor: "#0070f3",
|
|
268
|
+
color: "white",
|
|
269
|
+
border: "none",
|
|
270
|
+
borderRadius: "4px",
|
|
271
|
+
cursor: "pointer",
|
|
272
|
+
fontSize: "14px"
|
|
273
|
+
},
|
|
274
|
+
children: "Generate Token"
|
|
275
|
+
})
|
|
276
|
+
]
|
|
277
|
+
})]
|
|
278
|
+
});
|
|
279
|
+
};
|
|
280
|
+
//#endregion
|
|
281
|
+
export { i as ManagedInstancePanel, i as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface OperationsExplorerProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function OperationsExplorer({ db, namespace }: OperationsExplorerProps): React.JSX.Element;
|
|
9
|
+
export default OperationsExplorer;
|
|
10
|
+
//# sourceMappingURL=OperationsExplorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationsExplorer.d.ts","sourceRoot":"","sources":["../../src/components/OperationsExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAc,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEvE,MAAM,WAAW,uBAAuB;IAAG,EAAE,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;AAE3G,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,EAAE,SAAqB,EAAE,EAAE,uBAAuB,qBAkBxF;AACD,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DashboardStats } from '../types';
|
|
3
|
+
export interface OverviewDashboardProps {
|
|
4
|
+
stats?: DashboardStats | null;
|
|
5
|
+
}
|
|
6
|
+
export declare function OverviewDashboard({ stats }: OverviewDashboardProps): React.JSX.Element;
|
|
7
|
+
export default OverviewDashboard;
|
|
8
|
+
//# sourceMappingURL=OverviewDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverviewDashboard.d.ts","sourceRoot":"","sources":["../../src/components/OverviewDashboard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,EAAE,sBAAsB,qBAsElE;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface PeerMapProps {
|
|
3
|
+
peers?: string[];
|
|
4
|
+
localInstance?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function PeerMap({ peers, localInstance }: PeerMapProps): React.JSX.Element;
|
|
7
|
+
export default PeerMap;
|
|
8
|
+
//# sourceMappingURL=PeerMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PeerMap.d.ts","sourceRoot":"","sources":["../../src/components/PeerMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,MAAM,WAAW,YAAY;IAAG,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE;AAC1E,wBAAgB,OAAO,CAAC,EAAE,KAAU,EAAE,aAAuB,EAAE,EAAE,YAAY,qBAE5E;AACD,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface ProvenanceViewerProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
reference?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function ProvenanceViewer({ db, namespace, reference }: ProvenanceViewerProps): React.JSX.Element;
|
|
10
|
+
export default ProvenanceViewer;
|
|
11
|
+
//# sourceMappingURL=ProvenanceViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProvenanceViewer.d.ts","sourceRoot":"","sources":["../../src/components/ProvenanceViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAc,QAAQ,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAC;AAExF,MAAM,WAAW,qBAAqB;IAAG,EAAE,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;AAE7H,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,EAAE,SAAqB,EAAE,SAAS,EAAE,EAAE,qBAAqB,qBAe/F;AACD,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface ReferenceExplorerProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function ReferenceExplorer({ db, model, namespace }: ReferenceExplorerProps): React.JSX.Element;
|
|
9
|
+
export default ReferenceExplorer;
|
|
10
|
+
//# sourceMappingURL=ReferenceExplorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReferenceExplorer.d.ts","sourceRoot":"","sources":["../../src/components/ReferenceExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,sBAAsB;IAAG,EAAE,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;AAQ1G,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAqB,EAAE,EAAE,sBAAsB,qBAW7F;AACD,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsPanel.d.ts","sourceRoot":"","sources":["../../src/components/SettingsPanel.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,GAAG,CAAC;CACV;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,EAAE,EAAE,kBAAkB,qBAwDvD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface StateExplorerProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function StateExplorer({ db, model, namespace }: StateExplorerProps): React.JSX.Element;
|
|
9
|
+
export default StateExplorer;
|
|
10
|
+
//# sourceMappingURL=StateExplorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateExplorer.d.ts","sourceRoot":"","sources":["../../src/components/StateExplorer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAkB,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAG3E,MAAM,WAAW,kBAAkB;IAAG,EAAE,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE;AAmBtG,wBAAgB,aAAa,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAqB,EAAE,EAAE,kBAAkB,qBAOrF;AACD,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FlowSpec, StateFirstDB } from '@feltdb/core';
|
|
3
|
+
export interface WorkflowVisualizerProps {
|
|
4
|
+
db?: StateFirstDB;
|
|
5
|
+
model?: FlowSpec | null;
|
|
6
|
+
}
|
|
7
|
+
export declare function WorkflowVisualizer({ model }: WorkflowVisualizerProps): React.JSX.Element;
|
|
8
|
+
export default WorkflowVisualizer;
|
|
9
|
+
//# sourceMappingURL=WorkflowVisualizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowVisualizer.d.ts","sourceRoot":"","sources":["../../src/components/WorkflowVisualizer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE3D,MAAM,WAAW,uBAAuB;IAAG,EAAE,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAA;CAAE;AAEvF,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,EAAE,uBAAuB,qBAKpE;AACD,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Studio Components Index
|
|
3
|
+
*/
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export * from './OverviewDashboard';
|
|
8
|
+
export * from './StateExplorer';
|
|
9
|
+
export * from './ReferenceExplorer';
|
|
10
|
+
export * from './OperationsExplorer';
|
|
11
|
+
export * from './PeerMap';
|
|
12
|
+
export * from './CapabilityExplorer';
|
|
13
|
+
export * from './ExecutionViewer';
|
|
14
|
+
export * from './ConflictExplorer';
|
|
15
|
+
export * from './WorkflowVisualizer';
|
|
16
|
+
export * from './AgentExplorer';
|
|
17
|
+
export * from './ProvenanceViewer';
|
|
18
|
+
export * from './HealthCenter';
|
|
19
|
+
export * from './SettingsPanel';
|
|
20
|
+
export * from './GlobalSearch';
|
|
21
|
+
export * from './ApplicationDesigner';
|
|
22
|
+
export * from './ManagedInstancePanel';
|
|
23
|
+
export * from './KeyManagementPanel';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p, x as m } from "../components-BRYUceo9.js";
|
|
2
|
+
import { t as h } from "../KeyManagementPanel-BOvWTRyH.js";
|
|
3
|
+
import { ManagedInstancePanel as g } from "./ManagedInstancePanel.js";
|
|
4
|
+
export { c as AgentExplorer, f as ApplicationDesigner, p as CapabilityExplorer, t as ConflictExplorer, a as ExecutionViewer, s as GlobalSearch, i as HealthCenter, h as KeyManagementPanel, g as ManagedInstancePanel, r as OperationsExplorer, m as OverviewDashboard, n as PeerMap, e as ProvenanceViewer, l as ReferenceExplorer, u as SettingsPanel, o as StateExplorer, d as WorkflowVisualizer };
|