drizzle-cube 0.1.3 → 0.1.4
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 +24 -2
- package/dist/adapters/hono/index.d.ts +5 -1
- package/dist/adapters/hono/index.js +187 -93
- package/dist/client/client/CubeClient.d.ts +14 -0
- package/dist/client/components/AnalyticsDashboard.d.ts +2 -0
- package/dist/client/components/AnalyticsPage.d.ts +1 -0
- package/dist/client/components/AnalyticsPortlet.d.ts +6 -0
- package/dist/client/components/ChartConfigEditor.d.ts +8 -0
- package/dist/client/components/ChartErrorBoundary.d.ts +21 -0
- package/dist/client/components/DashboardEditModal.d.ts +14 -0
- package/dist/client/components/DashboardGrid.d.ts +11 -0
- package/dist/client/components/Modal.d.ts +15 -0
- package/dist/client/components/PortletContainer.d.ts +10 -0
- package/dist/client/components/PortletEditModal.d.ts +12 -0
- package/dist/client/components/charts/AreaChart.d.ts +2 -0
- package/dist/client/components/charts/BarChart.d.ts +2 -0
- package/dist/client/components/charts/ChartContainer.d.ts +7 -0
- package/dist/client/components/charts/ChartLegend.d.ts +7 -0
- package/dist/client/components/charts/ChartTooltip.d.ts +7 -0
- package/dist/client/components/charts/DataTable.d.ts +2 -0
- package/dist/client/components/charts/LineChart.d.ts +2 -0
- package/dist/client/components/charts/PieChart.d.ts +2 -0
- package/dist/client/components/charts/RadarChart.d.ts +2 -0
- package/dist/client/components/charts/RadialBarChart.d.ts +2 -0
- package/dist/client/components/charts/ScatterChart.d.ts +2 -0
- package/dist/client/components/charts/TreeMapChart.d.ts +2 -0
- package/dist/client/components/charts/index.d.ts +13 -0
- package/dist/client/hooks/useCubeQuery.d.ts +8 -0
- package/dist/client/index.d.ts +14 -0
- package/dist/client/index.js +23813 -4
- package/dist/client/providers/CubeProvider.d.ts +15 -0
- package/dist/client/styles.css +1 -0
- package/dist/client/types.d.ts +111 -0
- package/dist/client/utils/chartConstants.d.ts +15 -0
- package/dist/client/utils/chartUtils.d.ts +9 -0
- package/dist/client/utils/index.d.ts +87 -0
- package/dist/server/index.d.ts +74 -1155
- package/dist/server/index.js +1036 -2842
- package/package.json +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-cube",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.",
|
|
5
5
|
"main": "./dist/server/index.js",
|
|
6
6
|
"types": "./dist/server/index.d.ts",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"types": "./dist/client/index.d.ts",
|
|
15
15
|
"import": "./dist/client/index.js"
|
|
16
16
|
},
|
|
17
|
+
"./client/styles.css": "./dist/client/styles.css",
|
|
17
18
|
"./adapters/hono": {
|
|
18
19
|
"types": "./dist/adapters/hono/index.d.ts",
|
|
19
20
|
"import": "./dist/adapters/hono/index.js"
|
|
@@ -25,12 +26,13 @@
|
|
|
25
26
|
"LICENSE"
|
|
26
27
|
],
|
|
27
28
|
"scripts": {
|
|
28
|
-
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\" \"npm run dev:examples\"",
|
|
29
|
+
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\" \"npm run dev:examples\" \"npm run dev:help\"",
|
|
29
30
|
"dev:server": "vite build src/server --watch --mode development",
|
|
30
31
|
"dev:client": "vite build src/client --watch --mode development",
|
|
31
32
|
"dev:examples": "cd examples/hono-app && npm run dev",
|
|
32
33
|
"dev:help": "cd help-site && npm run dev",
|
|
33
34
|
"build": "npm run build:server && npm run build:client && npm run build:adapters",
|
|
35
|
+
"build:all": "npm run build && npm run build:help",
|
|
34
36
|
"build:server": "vite build --config vite.config.server.ts",
|
|
35
37
|
"build:client": "vite build --config vite.config.client.ts",
|
|
36
38
|
"build:adapters": "vite build --config vite.config.adapters.ts",
|
|
@@ -73,6 +75,7 @@
|
|
|
73
75
|
"url": "https://github.com/cliftonc/drizzle-cube/issues"
|
|
74
76
|
},
|
|
75
77
|
"peerDependencies": {
|
|
78
|
+
"@neondatabase/serverless": "^1.0.1",
|
|
76
79
|
"drizzle-orm": "^0.44.4",
|
|
77
80
|
"hono": "^4.0.0",
|
|
78
81
|
"react": "^18.0.0",
|
|
@@ -90,6 +93,9 @@
|
|
|
90
93
|
},
|
|
91
94
|
"hono": {
|
|
92
95
|
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@neondatabase/serverless": {
|
|
98
|
+
"optional": true
|
|
93
99
|
}
|
|
94
100
|
},
|
|
95
101
|
"devDependencies": {
|
|
@@ -97,6 +103,7 @@
|
|
|
97
103
|
"@types/node": "^20.0.0",
|
|
98
104
|
"@types/react": "^18.0.0",
|
|
99
105
|
"@types/react-dom": "^18.0.0",
|
|
106
|
+
"@types/react-grid-layout": "^1.3.5",
|
|
100
107
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
101
108
|
"@typescript-eslint/parser": "^7.18.0",
|
|
102
109
|
"@vitejs/plugin-react": "^4.0.0",
|
|
@@ -113,7 +120,7 @@
|
|
|
113
120
|
"vitest": "^2.0.0"
|
|
114
121
|
},
|
|
115
122
|
"dependencies": {
|
|
116
|
-
"@heroicons/react": "^2.
|
|
123
|
+
"@heroicons/react": "^2.2.0",
|
|
117
124
|
"react-grid-layout": "^1.4.0",
|
|
118
125
|
"react-hook-form": "^7.47.0",
|
|
119
126
|
"recharts": "^2.8.0",
|