drizzle-cube 0.1.3 → 0.1.5
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 +259 -96
- package/dist/client/client/CubeClient.d.ts +15 -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 +16 -0
- package/dist/client/components/PortletContainer.d.ts +10 -0
- package/dist/client/components/PortletEditModal.d.ts +12 -0
- package/dist/client/components/QueryBuilder/CubeMetaExplorer.d.ts +4 -0
- package/dist/client/components/QueryBuilder/QueryPanel.d.ts +4 -0
- package/dist/client/components/QueryBuilder/ResultsPanel.d.ts +4 -0
- package/dist/client/components/QueryBuilder/SetupPanel.d.ts +11 -0
- package/dist/client/components/QueryBuilder/index.d.ts +3 -0
- package/dist/client/components/QueryBuilder/types.d.ts +132 -0
- package/dist/client/components/QueryBuilder/utils.d.ts +42 -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 +15 -0
- package/dist/client/index.js +25439 -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 +84 -1155
- package/dist/server/index.js +1046 -2826
- package/package.json +14 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drizzle-cube",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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,30 +93,38 @@
|
|
|
90
93
|
},
|
|
91
94
|
"hono": {
|
|
92
95
|
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@neondatabase/serverless": {
|
|
98
|
+
"optional": true
|
|
93
99
|
}
|
|
94
100
|
},
|
|
95
101
|
"devDependencies": {
|
|
102
|
+
"@tailwindcss/postcss": "^4.1.12",
|
|
96
103
|
"@types/better-sqlite3": "^7.6.0",
|
|
97
104
|
"@types/node": "^20.0.0",
|
|
98
105
|
"@types/react": "^18.0.0",
|
|
99
106
|
"@types/react-dom": "^18.0.0",
|
|
107
|
+
"@types/react-grid-layout": "^1.3.5",
|
|
100
108
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
101
109
|
"@typescript-eslint/parser": "^7.18.0",
|
|
102
110
|
"@vitejs/plugin-react": "^4.0.0",
|
|
111
|
+
"autoprefixer": "^10.4.21",
|
|
103
112
|
"better-sqlite3": "^11.10.0",
|
|
104
113
|
"concurrently": "^8.0.0",
|
|
105
114
|
"drizzle-kit": "^0.31.4",
|
|
106
115
|
"drizzle-orm": "^0.44.4",
|
|
107
116
|
"eslint": "^8.0.0",
|
|
108
117
|
"hono": "^4.0.0",
|
|
118
|
+
"postcss": "^8.5.6",
|
|
109
119
|
"postgres": "^3.4.7",
|
|
120
|
+
"tailwindcss": "^4.1.12",
|
|
110
121
|
"typescript": "^5.0.0",
|
|
111
122
|
"vite": "^5.0.0",
|
|
112
123
|
"vite-plugin-dts": "^4.0.0",
|
|
113
124
|
"vitest": "^2.0.0"
|
|
114
125
|
},
|
|
115
126
|
"dependencies": {
|
|
116
|
-
"@heroicons/react": "^2.
|
|
127
|
+
"@heroicons/react": "^2.2.0",
|
|
117
128
|
"react-grid-layout": "^1.4.0",
|
|
118
129
|
"react-hook-form": "^7.47.0",
|
|
119
130
|
"recharts": "^2.8.0",
|