@prisma/studio-core 0.0.0-dev.202505062135 → 0.0.0-dev.202505070037
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/ui/index.cjs +33 -33
- package/dist/ui/index.css +0 -12
- package/dist/ui/index.d.cts +14 -0
- package/dist/ui/index.d.ts +14 -0
- package/dist/ui/index.js +6 -6
- package/package.json +2 -1
package/dist/ui/index.css
CHANGED
|
@@ -909,15 +909,6 @@ video {
|
|
|
909
909
|
.ps-animate-indeterminate-bar {
|
|
910
910
|
animation: ps-indeterminate 1.5s infinite ease-in-out;
|
|
911
911
|
}
|
|
912
|
-
@keyframes ps-pulse {
|
|
913
|
-
|
|
914
|
-
50% {
|
|
915
|
-
opacity: .5;
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
.ps-animate-pulse {
|
|
919
|
-
animation: ps-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
920
|
-
}
|
|
921
912
|
.ps-cursor-col-resize {
|
|
922
913
|
cursor: col-resize;
|
|
923
914
|
}
|
|
@@ -1128,9 +1119,6 @@ video {
|
|
|
1128
1119
|
.ps-bg-primary {
|
|
1129
1120
|
background-color: hsl(var(--primary));
|
|
1130
1121
|
}
|
|
1131
|
-
.ps-bg-primary\/10 {
|
|
1132
|
-
background-color: hsl(var(--primary) / 0.1);
|
|
1133
|
-
}
|
|
1134
1122
|
.ps-bg-purple-600 {
|
|
1135
1123
|
--tw-bg-opacity: 1;
|
|
1136
1124
|
background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
|
package/dist/ui/index.d.cts
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { A as Adapter } from '../adapter-CKFCHq71.cjs';
|
|
3
3
|
|
|
4
|
+
type StudioTelemetryEvent = {
|
|
5
|
+
event: "studio_launched";
|
|
6
|
+
payload: {
|
|
7
|
+
event_id: string;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
user_id?: string;
|
|
10
|
+
workspace_id?: string;
|
|
11
|
+
organization_id?: string;
|
|
12
|
+
embedding_type?: string;
|
|
13
|
+
vendor_id?: string;
|
|
14
|
+
table_count: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
4
17
|
interface StudioProps {
|
|
5
18
|
adapter: Adapter;
|
|
6
19
|
onError?: (error: Error) => void;
|
|
20
|
+
onTelemetryEvent?: (args: StudioTelemetryEvent) => void;
|
|
7
21
|
}
|
|
8
22
|
/**
|
|
9
23
|
* Main Studio component that provides database visualization and management
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { A as Adapter } from '../adapter-CKFCHq71.js';
|
|
3
3
|
|
|
4
|
+
type StudioTelemetryEvent = {
|
|
5
|
+
event: "studio_launched";
|
|
6
|
+
payload: {
|
|
7
|
+
event_id: string;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
user_id?: string;
|
|
10
|
+
workspace_id?: string;
|
|
11
|
+
organization_id?: string;
|
|
12
|
+
embedding_type?: string;
|
|
13
|
+
vendor_id?: string;
|
|
14
|
+
table_count: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
4
17
|
interface StudioProps {
|
|
5
18
|
adapter: Adapter;
|
|
6
19
|
onError?: (error: Error) => void;
|
|
20
|
+
onTelemetryEvent?: (args: StudioTelemetryEvent) => void;
|
|
7
21
|
}
|
|
8
22
|
/**
|
|
9
23
|
* Main Studio component that provides database visualization and management
|