@reopt-ai/opt-devtool 1.0.0 → 1.0.1
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 +7 -0
- package/dist/brandapp/index.cjs +455 -364
- package/dist/brandapp/index.d.cts +70 -68
- package/dist/brandapp/index.d.ts +70 -68
- package/dist/brandapp/index.js +448 -361
- package/dist/datagrid/index.cjs +171 -181
- package/dist/datagrid/index.d.cts +10 -9
- package/dist/datagrid/index.d.ts +10 -9
- package/dist/datagrid/index.js +167 -179
- package/dist/editor/index.cjs +210 -229
- package/dist/editor/index.d.cts +10 -9
- package/dist/editor/index.d.ts +10 -9
- package/dist/editor/index.js +206 -227
- package/dist/harness/index.cjs +5 -12
- package/dist/harness/index.d.cts +14 -14
- package/dist/harness/index.d.ts +14 -14
- package/dist/harness/index.js +2 -11
- package/dist/harness-CoRqiJWO.cjs +584 -0
- package/dist/harness-DU8hP98g.js +536 -0
- package/dist/index.cjs +3687 -3816
- package/dist/index.d.cts +13 -15
- package/dist/index.d.ts +13 -15
- package/dist/index.js +3679 -3815
- package/dist/provider-Bn7CAE_Y.js +116 -0
- package/dist/provider-CLRiXjfD.cjs +168 -0
- package/dist/theme/index.cjs +296 -12
- package/dist/theme/index.d.cts +25 -24
- package/dist/theme/index.d.ts +25 -24
- package/dist/theme/index.js +292 -11
- package/dist/theme-isolate-DgSS935z.cjs +54 -0
- package/dist/theme-isolate-F-oX2d4W.js +43 -0
- package/dist/types-B_abMm2B.cjs +10 -0
- package/dist/types-DvhcaPXA.js +5 -0
- package/dist/types-oHbLkgEH.d.cts +95 -0
- package/dist/types-oHbLkgEH.d.ts +95 -0
- package/dist/ui/index.cjs +4 -8
- package/dist/ui/index.d.cts +3 -2
- package/dist/ui/index.d.ts +3 -2
- package/dist/ui/index.js +2 -7
- package/package.json +2 -2
- package/dist/chunk-4MJKIAXH.cjs +0 -65
- package/dist/chunk-5HRIQSVF.js +0 -32
- package/dist/chunk-6AGUYGVT.cjs +0 -77
- package/dist/chunk-EQPETYJJ.cjs +0 -32
- package/dist/chunk-H3F2WACS.cjs +0 -568
- package/dist/chunk-N7YO56TN.cjs +0 -25
- package/dist/chunk-SQ3E3QLA.cjs +0 -253
- package/dist/chunk-SW2FF6EV.js +0 -568
- package/dist/chunk-UJSIQF3A.js +0 -25
- package/dist/chunk-UQY5I3WS.js +0 -253
- package/dist/chunk-YCYIUFB4.js +0 -65
- package/dist/chunk-Z2KFRHSI.js +0 -77
- package/dist/index-Bakx4o8Z.d.cts +0 -91
- package/dist/index-Bakx4o8Z.d.ts +0 -91
package/dist/brandapp/index.cjs
CHANGED
|
@@ -1,391 +1,482 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";
|
|
2
1
|
"use client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
require(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
unknown: "bg-white/25"
|
|
2
|
+
"use client";
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
+
const require_provider = require("../provider-CLRiXjfD.cjs");
|
|
5
|
+
let react = require("react");
|
|
6
|
+
react = require_provider.__toESM(react, 1);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
+
//#region src/brandapp/index.tsx
|
|
9
|
+
const STATUS_STYLES = {
|
|
10
|
+
connected: "bg-emerald-400",
|
|
11
|
+
configured: "bg-blue-400",
|
|
12
|
+
missing: "bg-red-400",
|
|
13
|
+
warning: "bg-amber-300",
|
|
14
|
+
error: "bg-red-400",
|
|
15
|
+
unknown: "bg-white/25"
|
|
18
16
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
const STATUS_TEXT_STYLES = {
|
|
18
|
+
connected: "text-emerald-300",
|
|
19
|
+
configured: "text-blue-300",
|
|
20
|
+
missing: "text-red-300",
|
|
21
|
+
warning: "text-amber-300",
|
|
22
|
+
error: "text-red-300",
|
|
23
|
+
unknown: "text-white/45"
|
|
26
24
|
};
|
|
27
25
|
function statusLabel(status) {
|
|
28
|
-
|
|
26
|
+
return status !== null && status !== void 0 ? status : "unknown";
|
|
29
27
|
}
|
|
28
|
+
/** Summarize required Brandapp env vars for status badges and diagnostics. */
|
|
30
29
|
function getBrandappRequiredEnvSummary(env) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
const required = (env !== null && env !== void 0 ? env : []).filter((item) => item.required);
|
|
31
|
+
return {
|
|
32
|
+
total: required.length,
|
|
33
|
+
present: required.filter((item) => item.present).length,
|
|
34
|
+
missing: required.filter((item) => !item.present).map((item) => item.name)
|
|
35
|
+
};
|
|
37
36
|
}
|
|
37
|
+
/** Resolve the top-level Brandapp snapshot status from all reported signals. */
|
|
38
38
|
function getBrandappSnapshotStatus(snapshot) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
if (statuses.includes("warning")) {
|
|
55
|
-
return "warning";
|
|
56
|
-
}
|
|
57
|
-
if (statuses.includes("connected")) {
|
|
58
|
-
return "connected";
|
|
59
|
-
}
|
|
60
|
-
if (statuses.includes("configured")) {
|
|
61
|
-
return "configured";
|
|
62
|
-
}
|
|
63
|
-
return "unknown";
|
|
39
|
+
var _snapshot$auth, _snapshot$eav, _snapshot$ai, _snapshot$features, _snapshot$routes;
|
|
40
|
+
const requiredEnv = getBrandappRequiredEnvSummary(snapshot.env);
|
|
41
|
+
const statuses = [
|
|
42
|
+
(_snapshot$auth = snapshot.auth) === null || _snapshot$auth === void 0 ? void 0 : _snapshot$auth.status,
|
|
43
|
+
(_snapshot$eav = snapshot.eav) === null || _snapshot$eav === void 0 ? void 0 : _snapshot$eav.status,
|
|
44
|
+
(_snapshot$ai = snapshot.ai) === null || _snapshot$ai === void 0 ? void 0 : _snapshot$ai.status,
|
|
45
|
+
...((_snapshot$features = snapshot.features) !== null && _snapshot$features !== void 0 ? _snapshot$features : []).map((feature) => feature.status),
|
|
46
|
+
...((_snapshot$routes = snapshot.routes) !== null && _snapshot$routes !== void 0 ? _snapshot$routes : []).map((route) => route.status)
|
|
47
|
+
];
|
|
48
|
+
if (statuses.includes("error")) return "error";
|
|
49
|
+
if (requiredEnv.missing.length > 0 || statuses.includes("missing")) return "missing";
|
|
50
|
+
if (statuses.includes("warning")) return "warning";
|
|
51
|
+
if (statuses.includes("connected")) return "connected";
|
|
52
|
+
if (statuses.includes("configured")) return "configured";
|
|
53
|
+
return "unknown";
|
|
64
54
|
}
|
|
65
55
|
function formatDate(value) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
if (Number.isNaN(date.getTime())) {
|
|
71
|
-
return String(value);
|
|
72
|
-
}
|
|
73
|
-
return date.toLocaleString();
|
|
56
|
+
if (value === void 0) return "-";
|
|
57
|
+
const date = typeof value === "number" ? new Date(value) : new Date(value);
|
|
58
|
+
if (Number.isNaN(date.getTime())) return String(value);
|
|
59
|
+
return date.toLocaleString();
|
|
74
60
|
}
|
|
75
61
|
function formatOptional(value) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
return String(value);
|
|
62
|
+
if (value === null || value === void 0 || value === "") return "-";
|
|
63
|
+
return String(value);
|
|
80
64
|
}
|
|
81
|
-
function StatusDot({
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
className: `inline-block h-1.5 w-1.5 rounded-full ${STATUS_STYLES[resolved]}`
|
|
91
|
-
}
|
|
92
|
-
),
|
|
93
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: STATUS_TEXT_STYLES[resolved], children: label })
|
|
94
|
-
] });
|
|
65
|
+
function StatusDot({ status, label }) {
|
|
66
|
+
const resolved = status !== null && status !== void 0 ? status : "unknown";
|
|
67
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
68
|
+
className: "inline-flex items-center gap-1.5",
|
|
69
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: `inline-block h-1.5 w-1.5 rounded-full ${STATUS_STYLES[resolved]}` }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
70
|
+
className: STATUS_TEXT_STYLES[resolved],
|
|
71
|
+
children: label
|
|
72
|
+
})]
|
|
73
|
+
});
|
|
95
74
|
}
|
|
96
|
-
function InfoRow({
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
75
|
+
function InfoRow({ label, value }) {
|
|
76
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
77
|
+
className: "grid min-w-0 grid-cols-[5.75rem_minmax(0,1fr)] items-center gap-1 rounded-md bg-white/[0.035] px-2 py-1",
|
|
78
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
79
|
+
className: "truncate text-[9px] font-semibold tracking-wide text-white/35 uppercase",
|
|
80
|
+
children: label
|
|
81
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
82
|
+
className: "min-w-0 truncate rounded bg-black/20 px-1.5 py-0.5 text-right font-mono text-[10px] text-white/78",
|
|
83
|
+
children: formatOptional(value)
|
|
84
|
+
})]
|
|
85
|
+
});
|
|
104
86
|
}
|
|
105
|
-
function CollapsibleGroup({
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
open ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-2.5 py-2", children }) : null
|
|
131
|
-
] });
|
|
87
|
+
function CollapsibleGroup({ title, trailing, defaultOpen = true, children }) {
|
|
88
|
+
const [open, setOpen] = react.useState(defaultOpen);
|
|
89
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
90
|
+
className: "overflow-hidden rounded-lg bg-white/[0.025]",
|
|
91
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
92
|
+
type: "button",
|
|
93
|
+
tabIndex: -1,
|
|
94
|
+
onClick: () => setOpen((current) => !current),
|
|
95
|
+
className: "flex w-full items-center justify-between gap-2 bg-white/[0.045] px-2.5 py-1.5 text-left transition-colors hover:bg-white/[0.065]",
|
|
96
|
+
"aria-expanded": open,
|
|
97
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
98
|
+
className: "flex min-w-0 items-center gap-1.5",
|
|
99
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
100
|
+
className: "text-[9px] text-white/35",
|
|
101
|
+
children: open ? "▾" : "▸"
|
|
102
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
103
|
+
className: "truncate text-[10px] font-semibold text-emerald-400",
|
|
104
|
+
children: title
|
|
105
|
+
})]
|
|
106
|
+
}), trailing]
|
|
107
|
+
}), open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
108
|
+
className: "px-2.5 py-2",
|
|
109
|
+
children
|
|
110
|
+
}) : null]
|
|
111
|
+
});
|
|
132
112
|
}
|
|
133
113
|
function SummaryPanel({ snapshot }) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
114
|
+
const requiredEnv = getBrandappRequiredEnvSummary(snapshot.env);
|
|
115
|
+
const status = getBrandappSnapshotStatus(snapshot);
|
|
116
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
117
|
+
className: "rounded-lg bg-white/[0.05] px-2.5 py-2",
|
|
118
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
119
|
+
className: "flex items-center justify-between gap-2",
|
|
120
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
121
|
+
status,
|
|
122
|
+
label: `Brandapp ${statusLabel(status)}`
|
|
123
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
124
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 font-mono text-[9px] text-white/55",
|
|
125
|
+
children: [
|
|
126
|
+
"env ",
|
|
127
|
+
requiredEnv.present,
|
|
128
|
+
"/",
|
|
129
|
+
requiredEnv.total
|
|
130
|
+
]
|
|
131
|
+
})]
|
|
132
|
+
}), requiredEnv.missing.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
133
|
+
className: "mt-1.5 flex flex-wrap gap-1",
|
|
134
|
+
children: requiredEnv.missing.map((name) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
135
|
+
className: "rounded bg-red-500/15 px-1.5 py-0.5 font-mono text-[9px] text-red-200",
|
|
136
|
+
children: ["missing ", name]
|
|
137
|
+
}, name))
|
|
138
|
+
}) : null]
|
|
139
|
+
});
|
|
159
140
|
}
|
|
160
|
-
function FeatureList({
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
141
|
+
function FeatureList({ features }) {
|
|
142
|
+
if (!features || features.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
143
|
+
className: "text-[10px] text-white/40",
|
|
144
|
+
children: "No feature signals."
|
|
145
|
+
});
|
|
146
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
147
|
+
className: "flex flex-col gap-1",
|
|
148
|
+
children: features.map((feature) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
149
|
+
className: "grid min-w-0 grid-cols-[6.5rem_minmax(0,1fr)] items-start gap-1 rounded-md bg-white/[0.035] px-2 py-1",
|
|
150
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
151
|
+
className: "min-w-0 truncate",
|
|
152
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
153
|
+
status: feature.status,
|
|
154
|
+
label: feature.label
|
|
155
|
+
})
|
|
156
|
+
}), feature.detail ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
157
|
+
className: "min-w-0 truncate rounded bg-black/20 px-1.5 py-0.5 font-mono text-[9px] text-white/55",
|
|
158
|
+
children: feature.detail
|
|
159
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
160
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 font-mono text-[9px] text-white/35",
|
|
161
|
+
children: "-"
|
|
162
|
+
})]
|
|
163
|
+
}, feature.id))
|
|
164
|
+
});
|
|
177
165
|
}
|
|
178
|
-
function EnvList({
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
166
|
+
function EnvList({ env }) {
|
|
167
|
+
if (!env || env.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
168
|
+
className: "text-[10px] text-white/40",
|
|
169
|
+
children: "No env signals."
|
|
170
|
+
});
|
|
171
|
+
const requiredEnv = getBrandappRequiredEnvSummary(env);
|
|
172
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
173
|
+
className: "flex flex-col gap-1",
|
|
174
|
+
children: [requiredEnv.missing.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
175
|
+
className: "rounded bg-red-500/12 px-2 py-1 text-[10px] text-red-200",
|
|
176
|
+
children: ["Missing required env: ", requiredEnv.missing.join(", ")]
|
|
177
|
+
}) : null, env.map((item) => {
|
|
178
|
+
var _ref, _item$maskedValue;
|
|
179
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
180
|
+
className: "grid grid-cols-[minmax(0,1fr)_minmax(4.5rem,auto)] gap-1 rounded-md bg-white/[0.035] px-2 py-1",
|
|
181
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
182
|
+
className: "min-w-0",
|
|
183
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
184
|
+
className: "flex min-w-0 items-center gap-1.5",
|
|
185
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
186
|
+
status: item.present ? "configured" : item.required ? "missing" : "unknown",
|
|
187
|
+
label: item.name
|
|
188
|
+
}), item.required ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
189
|
+
className: "rounded bg-amber-400/12 px-1 py-0.5 text-[8px] text-amber-300",
|
|
190
|
+
children: "required"
|
|
191
|
+
}) : null]
|
|
192
|
+
}), item.note ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
193
|
+
className: "truncate pl-3 text-[9px] text-white/35",
|
|
194
|
+
children: item.note
|
|
195
|
+
}) : null]
|
|
196
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
197
|
+
className: "min-w-0 truncate rounded bg-black/20 px-1.5 py-0.5 text-right font-mono text-[9px] text-white/55",
|
|
198
|
+
children: (_ref = (_item$maskedValue = item.maskedValue) !== null && _item$maskedValue !== void 0 ? _item$maskedValue : item.scope) !== null && _ref !== void 0 ? _ref : ""
|
|
199
|
+
})]
|
|
200
|
+
}, item.name);
|
|
201
|
+
})]
|
|
202
|
+
});
|
|
212
203
|
}
|
|
213
|
-
function RouteList({
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
204
|
+
function RouteList({ routes }) {
|
|
205
|
+
if (!routes || routes.length === 0) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
206
|
+
className: "text-[10px] text-white/40",
|
|
207
|
+
children: "No route signals."
|
|
208
|
+
});
|
|
209
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
210
|
+
className: "flex flex-col gap-1",
|
|
211
|
+
children: routes.map((route) => {
|
|
212
|
+
var _route$status, _route$method, _route$method2;
|
|
213
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
214
|
+
className: "min-w-0 rounded-md bg-white/[0.035] px-2 py-1",
|
|
215
|
+
children: [
|
|
216
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
217
|
+
className: "grid min-w-0 grid-cols-[3.25rem_minmax(0,1fr)] items-center gap-1",
|
|
218
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
219
|
+
className: "min-w-0 truncate",
|
|
220
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
221
|
+
status: (_route$status = route.status) !== null && _route$status !== void 0 ? _route$status : "unknown",
|
|
222
|
+
label: (_route$method2 = route.method) !== null && _route$method2 !== void 0 ? _route$method2 : "GET"
|
|
223
|
+
})
|
|
224
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
225
|
+
className: "truncate rounded bg-black/20 px-1.5 py-0.5 font-mono text-[10px] text-white/75",
|
|
226
|
+
children: route.path
|
|
227
|
+
})]
|
|
228
|
+
}),
|
|
229
|
+
route.statusCode !== void 0 || route.latencyMs !== void 0 || route.lastCheckedAt !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
230
|
+
className: "mt-1 flex flex-wrap gap-1 pl-[3.75rem]",
|
|
231
|
+
children: [
|
|
232
|
+
route.statusCode !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
233
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 text-[9px] text-white/45",
|
|
234
|
+
children: route.statusCode
|
|
235
|
+
}) : null,
|
|
236
|
+
route.latencyMs !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
237
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 text-[9px] text-white/45",
|
|
238
|
+
children: [route.latencyMs, "ms"]
|
|
239
|
+
}) : null,
|
|
240
|
+
route.lastCheckedAt !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
241
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 text-[9px] text-white/40",
|
|
242
|
+
children: formatDate(route.lastCheckedAt)
|
|
243
|
+
}) : null
|
|
244
|
+
]
|
|
245
|
+
}) : null,
|
|
246
|
+
route.description ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
247
|
+
className: "truncate pl-3 text-[9px] text-white/35",
|
|
248
|
+
children: route.description
|
|
249
|
+
}) : null
|
|
250
|
+
]
|
|
251
|
+
}, `${(_route$method = route.method) !== null && _route$method !== void 0 ? _route$method : "GET"} ${route.path}`);
|
|
252
|
+
})
|
|
253
|
+
});
|
|
245
254
|
}
|
|
246
255
|
function formatEntityMetric(entity) {
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
return `${entity.attributeCount} attrs`;
|
|
252
|
-
}
|
|
253
|
-
if (entity.synced) {
|
|
254
|
-
return "synced";
|
|
255
|
-
}
|
|
256
|
-
return entity.id;
|
|
256
|
+
if (entity.recordCount !== void 0) return `${entity.recordCount} rows`;
|
|
257
|
+
if (entity.attributeCount !== void 0) return `${entity.attributeCount} attrs`;
|
|
258
|
+
if (entity.synced) return "synced";
|
|
259
|
+
return entity.id;
|
|
257
260
|
}
|
|
258
261
|
function EavPanel({ eav }) {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
262
|
+
if (!eav) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
263
|
+
className: "text-[10px] text-white/40",
|
|
264
|
+
children: "No EAV signal."
|
|
265
|
+
});
|
|
266
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
267
|
+
className: "flex flex-col gap-1.5",
|
|
268
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
269
|
+
className: "grid gap-x-3 gap-y-1 text-[10px] md:grid-cols-2",
|
|
270
|
+
children: [
|
|
271
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
272
|
+
label: "status",
|
|
273
|
+
value: statusLabel(eav.status)
|
|
274
|
+
}),
|
|
275
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
276
|
+
label: "schema",
|
|
277
|
+
value: eav.schemaHash
|
|
278
|
+
}),
|
|
279
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
280
|
+
label: "lockfile",
|
|
281
|
+
value: eav.lockfileHash
|
|
282
|
+
}),
|
|
283
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
284
|
+
label: "sync",
|
|
285
|
+
value: formatDate(eav.lastSyncAt)
|
|
286
|
+
})
|
|
287
|
+
]
|
|
288
|
+
}), eav.entities && eav.entities.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
289
|
+
className: "flex flex-col gap-1",
|
|
290
|
+
children: eav.entities.slice(0, 6).map((entity) => {
|
|
291
|
+
var _ref2, _entity$label;
|
|
292
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
293
|
+
className: "grid grid-cols-[minmax(0,1fr)_auto] gap-1 rounded-md bg-white/[0.035] px-2 py-1 text-[10px]",
|
|
294
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
295
|
+
className: "truncate text-white/70",
|
|
296
|
+
children: (_ref2 = (_entity$label = entity.label) !== null && _entity$label !== void 0 ? _entity$label : entity.name) !== null && _ref2 !== void 0 ? _ref2 : entity.id
|
|
297
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
298
|
+
className: "rounded bg-black/20 px-1.5 py-0.5 font-mono text-white/55",
|
|
299
|
+
children: formatEntityMetric(entity)
|
|
300
|
+
})]
|
|
301
|
+
}, entity.id);
|
|
302
|
+
})
|
|
303
|
+
}) : null]
|
|
304
|
+
});
|
|
284
305
|
}
|
|
285
|
-
function BrandappDevtoolPanel({
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
306
|
+
function BrandappDevtoolPanel({ snapshot }) {
|
|
307
|
+
var _snapshot$auth2, _snapshot$eav2, _snapshot$ai2, _snapshot$auth3, _snapshot$auth4, _snapshot$auth5, _snapshot$auth6, _snapshot$auth7;
|
|
308
|
+
if (!snapshot) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
309
|
+
className: "text-[11px] text-white/55",
|
|
310
|
+
children: "Waiting for Brandapp SDK snapshot."
|
|
311
|
+
});
|
|
312
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
313
|
+
className: "flex flex-col gap-3 text-[11px]",
|
|
314
|
+
children: [
|
|
315
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(SummaryPanel, { snapshot }),
|
|
316
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
317
|
+
title: "Identity",
|
|
318
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
319
|
+
className: "grid gap-x-3 gap-y-1 text-[10px] md:grid-cols-2",
|
|
320
|
+
children: [
|
|
321
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
322
|
+
label: "brandappId",
|
|
323
|
+
value: snapshot.brandappId
|
|
324
|
+
}),
|
|
325
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
326
|
+
label: "clientId",
|
|
327
|
+
value: snapshot.clientId
|
|
328
|
+
}),
|
|
329
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
330
|
+
label: "baseUrl",
|
|
331
|
+
value: snapshot.baseUrl
|
|
332
|
+
}),
|
|
333
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
334
|
+
label: "sdk",
|
|
335
|
+
value: snapshot.sdkVersion
|
|
336
|
+
}),
|
|
337
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
338
|
+
label: "env",
|
|
339
|
+
value: snapshot.environment
|
|
340
|
+
}),
|
|
341
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
342
|
+
label: "updated",
|
|
343
|
+
value: formatDate(snapshot.updatedAt)
|
|
344
|
+
})
|
|
345
|
+
]
|
|
346
|
+
})
|
|
347
|
+
}),
|
|
348
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(CollapsibleGroup, {
|
|
349
|
+
title: "Connection",
|
|
350
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
351
|
+
className: "flex flex-wrap gap-x-3 gap-y-1.5 text-white/70",
|
|
352
|
+
children: [
|
|
353
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
354
|
+
status: (_snapshot$auth2 = snapshot.auth) === null || _snapshot$auth2 === void 0 ? void 0 : _snapshot$auth2.status,
|
|
355
|
+
label: "Auth"
|
|
356
|
+
}),
|
|
357
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
358
|
+
status: (_snapshot$eav2 = snapshot.eav) === null || _snapshot$eav2 === void 0 ? void 0 : _snapshot$eav2.status,
|
|
359
|
+
label: "EAV"
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StatusDot, {
|
|
362
|
+
status: (_snapshot$ai2 = snapshot.ai) === null || _snapshot$ai2 === void 0 ? void 0 : _snapshot$ai2.status,
|
|
363
|
+
label: "AI"
|
|
364
|
+
}),
|
|
365
|
+
((_snapshot$auth3 = snapshot.auth) === null || _snapshot$auth3 === void 0 ? void 0 : _snapshot$auth3.session) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
366
|
+
className: "text-white/45",
|
|
367
|
+
children: ["session: ", snapshot.auth.session]
|
|
368
|
+
}) : null
|
|
369
|
+
]
|
|
370
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
371
|
+
className: "mt-1 grid gap-x-3 gap-y-1 text-[10px] md:grid-cols-2",
|
|
372
|
+
children: [
|
|
373
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
374
|
+
label: "provider",
|
|
375
|
+
value: (_snapshot$auth4 = snapshot.auth) === null || _snapshot$auth4 === void 0 ? void 0 : _snapshot$auth4.provider
|
|
376
|
+
}),
|
|
377
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
378
|
+
label: "callback",
|
|
379
|
+
value: (_snapshot$auth5 = snapshot.auth) === null || _snapshot$auth5 === void 0 ? void 0 : _snapshot$auth5.callbackPath
|
|
380
|
+
}),
|
|
381
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
382
|
+
label: "user",
|
|
383
|
+
value: (_snapshot$auth6 = snapshot.auth) === null || _snapshot$auth6 === void 0 ? void 0 : _snapshot$auth6.userId
|
|
384
|
+
}),
|
|
385
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
386
|
+
label: "org",
|
|
387
|
+
value: (_snapshot$auth7 = snapshot.auth) === null || _snapshot$auth7 === void 0 ? void 0 : _snapshot$auth7.organizationId
|
|
388
|
+
})
|
|
389
|
+
]
|
|
390
|
+
})]
|
|
391
|
+
}),
|
|
392
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
393
|
+
title: "Features",
|
|
394
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FeatureList, { features: snapshot.features })
|
|
395
|
+
}),
|
|
396
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
397
|
+
title: "Environment",
|
|
398
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EnvList, { env: snapshot.env })
|
|
399
|
+
}),
|
|
400
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
401
|
+
title: "EAV",
|
|
402
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(EavPanel, { eav: snapshot.eav })
|
|
403
|
+
}),
|
|
404
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
405
|
+
title: "Routes",
|
|
406
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RouteList, { routes: snapshot.routes })
|
|
407
|
+
}),
|
|
408
|
+
snapshot.ai ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(CollapsibleGroup, {
|
|
409
|
+
title: "AI",
|
|
410
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
411
|
+
className: "grid gap-x-3 gap-y-1 text-[10px] md:grid-cols-2",
|
|
412
|
+
children: [
|
|
413
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
414
|
+
label: "status",
|
|
415
|
+
value: statusLabel(snapshot.ai.status)
|
|
416
|
+
}),
|
|
417
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
418
|
+
label: "route",
|
|
419
|
+
value: snapshot.ai.routePath
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
422
|
+
label: "model",
|
|
423
|
+
value: snapshot.ai.defaultModel
|
|
424
|
+
}),
|
|
425
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InfoRow, {
|
|
426
|
+
label: "credits",
|
|
427
|
+
value: snapshot.ai.creditBalance
|
|
428
|
+
})
|
|
429
|
+
]
|
|
430
|
+
}), snapshot.ai.models && snapshot.ai.models.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
431
|
+
className: "mt-1 flex flex-wrap gap-1",
|
|
432
|
+
children: snapshot.ai.models.map((model) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
433
|
+
className: "rounded bg-white/[0.055] px-1.5 py-0.5 text-[9px] text-white/60",
|
|
434
|
+
children: model
|
|
435
|
+
}, model))
|
|
436
|
+
}) : null]
|
|
437
|
+
}) : null,
|
|
438
|
+
snapshot.notes && snapshot.notes.length > 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleGroup, {
|
|
439
|
+
title: "Notes",
|
|
440
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
441
|
+
className: "flex flex-col gap-1 text-[10px] text-white/50",
|
|
442
|
+
children: snapshot.notes.map((note, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
443
|
+
className: "rounded bg-white/[0.035] px-2 py-1",
|
|
444
|
+
children: note
|
|
445
|
+
}, `${index}-${note}`))
|
|
446
|
+
})
|
|
447
|
+
}) : null
|
|
448
|
+
]
|
|
449
|
+
});
|
|
348
450
|
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
tab: "brandapp",
|
|
377
|
-
renderPanel: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BrandappDevtoolPanel, { snapshot })
|
|
378
|
-
}),
|
|
379
|
-
[id, label, order, snapshot]
|
|
380
|
-
);
|
|
381
|
-
_chunk6AGUYGVTcjs.useOptDevtoolPlugin.call(void 0, plugin);
|
|
382
|
-
return {
|
|
383
|
-
inspect,
|
|
384
|
-
clear
|
|
385
|
-
};
|
|
451
|
+
/** Register a Brandapp SDK integration panel in opt-devtool. */
|
|
452
|
+
function useBrandappDevtoolBridge({ id, label, order = 10, snapshot: controlledSnapshot }) {
|
|
453
|
+
const isControlled = controlledSnapshot !== void 0;
|
|
454
|
+
const [uncontrolledSnapshot, setUncontrolledSnapshot] = react.useState(controlledSnapshot !== null && controlledSnapshot !== void 0 ? controlledSnapshot : null);
|
|
455
|
+
const snapshot = isControlled ? controlledSnapshot : uncontrolledSnapshot;
|
|
456
|
+
const inspect = react.useCallback((nextSnapshot) => {
|
|
457
|
+
if (!isControlled) setUncontrolledSnapshot(nextSnapshot);
|
|
458
|
+
}, [isControlled]);
|
|
459
|
+
const clear = react.useCallback(() => {
|
|
460
|
+
if (!isControlled) setUncontrolledSnapshot(null);
|
|
461
|
+
}, [isControlled]);
|
|
462
|
+
require_provider.useOptDevtoolPlugin(react.useMemo(() => ({
|
|
463
|
+
id,
|
|
464
|
+
label,
|
|
465
|
+
order,
|
|
466
|
+
tab: "brandapp",
|
|
467
|
+
renderPanel: () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(BrandappDevtoolPanel, { snapshot })
|
|
468
|
+
}), [
|
|
469
|
+
id,
|
|
470
|
+
label,
|
|
471
|
+
order,
|
|
472
|
+
snapshot
|
|
473
|
+
]));
|
|
474
|
+
return {
|
|
475
|
+
inspect,
|
|
476
|
+
clear
|
|
477
|
+
};
|
|
386
478
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
exports.getBrandappRequiredEnvSummary = getBrandappRequiredEnvSummary; exports.getBrandappSnapshotStatus = getBrandappSnapshotStatus; exports.useBrandappDevtoolBridge = useBrandappDevtoolBridge;
|
|
479
|
+
//#endregion
|
|
480
|
+
exports.getBrandappRequiredEnvSummary = getBrandappRequiredEnvSummary;
|
|
481
|
+
exports.getBrandappSnapshotStatus = getBrandappSnapshotStatus;
|
|
482
|
+
exports.useBrandappDevtoolBridge = useBrandappDevtoolBridge;
|