@rebasepro/studio 0.33.2 → 0.34.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/dist/{ApiExplorer-CJQZnOcP.js → ApiExplorer-BhQFd_iR.js} +2 -2
- package/dist/ApiExplorer-BhQFd_iR.js.map +1 -0
- package/dist/{ApiKeysView-9ZvwMPyh.js → ApiKeysView-CLBXUCgu.js} +20 -20
- package/dist/ApiKeysView-CLBXUCgu.js.map +1 -0
- package/dist/{BackupsView-BhOHB6iP.js → BackupsView-DJlYhWBy.js} +2 -2
- package/dist/{BackupsView-BhOHB6iP.js.map → BackupsView-DJlYhWBy.js.map} +1 -1
- package/dist/{BranchesView-DqIfywjf.js → BranchesView-BKGhk-PC.js} +8 -8
- package/dist/{BranchesView-DqIfywjf.js.map → BranchesView-BKGhk-PC.js.map} +1 -1
- package/dist/{CronJobsView-CMa1E-Tx.js → CronJobsView-CwF_m6ZB.js} +8 -8
- package/dist/CronJobsView-CwF_m6ZB.js.map +1 -0
- package/dist/{JSEditor-ojAVSkaU.js → JSEditor-Br22PfLh.js} +9 -9
- package/dist/JSEditor-Br22PfLh.js.map +1 -0
- package/dist/{LogsExplorer-C-bwDFIl.js → LogsExplorer-DOLRFQaW.js} +13 -16
- package/dist/LogsExplorer-DOLRFQaW.js.map +1 -0
- package/dist/{RLSEditor-BAwkENpj.js → RLSEditor-1bpfHsGv.js} +17 -17
- package/dist/RLSEditor-1bpfHsGv.js.map +1 -0
- package/dist/{SQLEditor-DX9LfbU7.js → SQLEditor-Dj5INEUZ.js} +11 -11
- package/dist/SQLEditor-Dj5INEUZ.js.map +1 -0
- package/dist/{SchemaVisualizer-C75TENPm.js → SchemaVisualizer-D2_cck4I.js} +17 -17
- package/dist/{SchemaVisualizer-C75TENPm.js.map → SchemaVisualizer-D2_cck4I.js.map} +1 -1
- package/dist/{StorageView-CPkDKbsX.js → StorageView-DHm22S7y.js} +16 -16
- package/dist/StorageView-DHm22S7y.js.map +1 -0
- package/dist/index.es.js +14 -14
- package/dist/index.es.js.map +1 -1
- package/package.json +9 -9
- package/dist/ApiExplorer-CJQZnOcP.js.map +0 -1
- package/dist/ApiKeysView-9ZvwMPyh.js.map +0 -1
- package/dist/CronJobsView-CMa1E-Tx.js.map +0 -1
- package/dist/JSEditor-ojAVSkaU.js.map +0 -1
- package/dist/LogsExplorer-C-bwDFIl.js.map +0 -1
- package/dist/RLSEditor-BAwkENpj.js.map +0 -1
- package/dist/SQLEditor-DX9LfbU7.js.map +0 -1
- package/dist/StorageView-CPkDKbsX.js.map +0 -1
|
@@ -784,7 +784,7 @@ var TableNodeInner = ({ data, selected }) => {
|
|
|
784
784
|
children: tableName
|
|
785
785
|
}), collectionName !== tableName && !isJunction && /* @__PURE__ */ jsx(Typography, {
|
|
786
786
|
variant: "caption",
|
|
787
|
-
className: "text-
|
|
787
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark truncate",
|
|
788
788
|
children: collectionName
|
|
789
789
|
})]
|
|
790
790
|
}),
|
|
@@ -823,7 +823,7 @@ var TableNodeInner = ({ data, selected }) => {
|
|
|
823
823
|
}),
|
|
824
824
|
/* @__PURE__ */ jsx(Typography, {
|
|
825
825
|
variant: "caption",
|
|
826
|
-
className: cls("font-mono text-
|
|
826
|
+
className: cls("font-mono text-xs truncate flex-1 min-w-0", col.isPrimaryKey ? "font-semibold text-amber-700 dark:text-amber-400" : col.isForeignKey ? "text-blue-600 dark:text-blue-400" : "text-text-primary dark:text-text-primary-dark"),
|
|
827
827
|
children: col.name
|
|
828
828
|
}),
|
|
829
829
|
col.isEnum ? /* @__PURE__ */ jsx(Chip, {
|
|
@@ -832,7 +832,7 @@ var TableNodeInner = ({ data, selected }) => {
|
|
|
832
832
|
children: "enum"
|
|
833
833
|
}) : /* @__PURE__ */ jsx(Typography, {
|
|
834
834
|
variant: "caption",
|
|
835
|
-
className: "text-
|
|
835
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark font-mono shrink-0",
|
|
836
836
|
children: col.typeLabel
|
|
837
837
|
}),
|
|
838
838
|
col.isRequired && !col.isPrimaryKey && /* @__PURE__ */ jsx(Tooltip, {
|
|
@@ -1058,7 +1058,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1058
1058
|
children: "Tables"
|
|
1059
1059
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1060
1060
|
variant: "caption",
|
|
1061
|
-
className: "text-
|
|
1061
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark font-mono",
|
|
1062
1062
|
children: stats.tables
|
|
1063
1063
|
})]
|
|
1064
1064
|
}),
|
|
@@ -1100,7 +1100,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1100
1100
|
children: descriptor.name
|
|
1101
1101
|
}), table !== descriptor.name && /* @__PURE__ */ jsx(Typography, {
|
|
1102
1102
|
variant: "caption",
|
|
1103
|
-
className: "text-
|
|
1103
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark font-mono truncate",
|
|
1104
1104
|
children: table
|
|
1105
1105
|
})]
|
|
1106
1106
|
}),
|
|
@@ -1158,11 +1158,11 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1158
1158
|
className: "flex items-center justify-between",
|
|
1159
1159
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1160
1160
|
variant: "caption",
|
|
1161
|
-
className: "text-
|
|
1161
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1162
1162
|
children: "Tables"
|
|
1163
1163
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1164
1164
|
variant: "caption",
|
|
1165
|
-
className: "text-
|
|
1165
|
+
className: "text-xs font-mono font-medium",
|
|
1166
1166
|
children: stats.tables
|
|
1167
1167
|
})]
|
|
1168
1168
|
}),
|
|
@@ -1170,11 +1170,11 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1170
1170
|
className: "flex items-center justify-between",
|
|
1171
1171
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1172
1172
|
variant: "caption",
|
|
1173
|
-
className: "text-
|
|
1173
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1174
1174
|
children: "Relations"
|
|
1175
1175
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1176
1176
|
variant: "caption",
|
|
1177
|
-
className: "text-
|
|
1177
|
+
className: "text-xs font-mono font-medium",
|
|
1178
1178
|
children: stats.relations
|
|
1179
1179
|
})]
|
|
1180
1180
|
}),
|
|
@@ -1182,13 +1182,13 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1182
1182
|
className: "flex items-center justify-between",
|
|
1183
1183
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1184
1184
|
variant: "caption",
|
|
1185
|
-
className: "text-
|
|
1185
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1186
1186
|
children: "RLS protected"
|
|
1187
1187
|
}), /* @__PURE__ */ jsxs("div", {
|
|
1188
1188
|
className: "flex items-center gap-1",
|
|
1189
1189
|
children: [/* @__PURE__ */ jsx("div", { className: "w-1.5 h-1.5 rounded-full bg-green-500" }), /* @__PURE__ */ jsx(Typography, {
|
|
1190
1190
|
variant: "caption",
|
|
1191
|
-
className: "text-
|
|
1191
|
+
className: "text-xs font-mono font-medium",
|
|
1192
1192
|
children: stats.withRls
|
|
1193
1193
|
})]
|
|
1194
1194
|
})]
|
|
@@ -1345,7 +1345,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1345
1345
|
className: "flex items-center gap-1.5",
|
|
1346
1346
|
children: [/* @__PURE__ */ jsx("div", { className: "w-6 h-0.5 bg-indigo-500 rounded" }), /* @__PURE__ */ jsx(Typography, {
|
|
1347
1347
|
variant: "caption",
|
|
1348
|
-
className: "text-
|
|
1348
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1349
1349
|
children: "Owning"
|
|
1350
1350
|
})]
|
|
1351
1351
|
}),
|
|
@@ -1353,7 +1353,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1353
1353
|
className: "flex items-center gap-1.5",
|
|
1354
1354
|
children: [/* @__PURE__ */ jsx("div", { className: "w-6 h-0.5 bg-violet-500 rounded" }), /* @__PURE__ */ jsx(Typography, {
|
|
1355
1355
|
variant: "caption",
|
|
1356
|
-
className: "text-
|
|
1356
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1357
1357
|
children: "M:N"
|
|
1358
1358
|
})]
|
|
1359
1359
|
}),
|
|
@@ -1364,7 +1364,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1364
1364
|
style: { backgroundImage: "repeating-linear-gradient(90deg, #9da2aa, #9da2aa 4px, transparent 4px, transparent 7px)" }
|
|
1365
1365
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1366
1366
|
variant: "caption",
|
|
1367
|
-
className: "text-
|
|
1367
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1368
1368
|
children: "Inverse"
|
|
1369
1369
|
})]
|
|
1370
1370
|
}),
|
|
@@ -1376,7 +1376,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1376
1376
|
children: "🔑"
|
|
1377
1377
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1378
1378
|
variant: "caption",
|
|
1379
|
-
className: "text-
|
|
1379
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1380
1380
|
children: "PK"
|
|
1381
1381
|
})]
|
|
1382
1382
|
}),
|
|
@@ -1387,7 +1387,7 @@ function SchemaVisualizerCanvas({ tables }) {
|
|
|
1387
1387
|
children: "🔗"
|
|
1388
1388
|
}), /* @__PURE__ */ jsx(Typography, {
|
|
1389
1389
|
variant: "caption",
|
|
1390
|
-
className: "text-
|
|
1390
|
+
className: "text-xs text-text-disabled dark:text-text-disabled-dark",
|
|
1391
1391
|
children: "FK"
|
|
1392
1392
|
})]
|
|
1393
1393
|
})
|
|
@@ -1453,4 +1453,4 @@ var SchemaVisualizer = () => {
|
|
|
1453
1453
|
//#endregion
|
|
1454
1454
|
export { SchemaVisualizer };
|
|
1455
1455
|
|
|
1456
|
-
//# sourceMappingURL=SchemaVisualizer-
|
|
1456
|
+
//# sourceMappingURL=SchemaVisualizer-D2_cck4I.js.map
|