@antelopejs/dms-database 0.1.1 → 0.2.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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/dist/pages/schemas.js +2 -1
  3. package/dist/pages/schemas.js.map +1 -1
  4. package/dist/routes/tables.d.ts +1 -0
  5. package/dist/routes/tables.js +35 -10
  6. package/dist/routes/tables.js.map +1 -1
  7. package/frontend-vue/app/build/composables/useDataBrowserGrid.ts +4 -38
  8. package/frontend-vue/app/build/composables/useDatabaseHealth.ts +7 -4
  9. package/frontend-vue/app/build/composables/useDatabaseSchemas.ts +1 -2
  10. package/frontend-vue/app/build/composables/useDiagramPersistence.ts +49 -16
  11. package/frontend-vue/app/build/composables/useQueryStore.ts +59 -27
  12. package/frontend-vue/app/build/composables/useTableCounts.ts +50 -0
  13. package/frontend-vue/app/build/query/runs.ts +7 -27
  14. package/frontend-vue/app/build/schemas/useSchemasListing.ts +10 -33
  15. package/frontend-vue/app/components/ConnectionStatus.vue +14 -11
  16. package/frontend-vue/app/components/DataBrowserSidebar.vue +20 -42
  17. package/frontend-vue/app/components/DataBrowserTabBar.vue +1 -1
  18. package/frontend-vue/app/components/DataGrid.vue +43 -89
  19. package/frontend-vue/app/components/InstancePicker.vue +63 -55
  20. package/frontend-vue/app/components/QueryConsole.vue +47 -37
  21. package/frontend-vue/app/components/QueryLibrary.vue +20 -17
  22. package/frontend-vue/app/components/RowDrawer.vue +15 -18
  23. package/frontend-vue/app/components/SchemaDiagram.vue +7 -7
  24. package/frontend-vue/app/components/TableInspector.vue +134 -88
  25. package/frontend-vue/package.json +2 -1
  26. package/frontend-vue/pnpm-lock.yaml +883 -2587
  27. package/frontend-vue/tests/fixtures/inertia.ts +8 -0
  28. package/frontend-vue/tests/fixtures/serverRender.ts +219 -0
  29. package/frontend-vue/tests/fixtures/vueI18n.ts +4 -0
  30. package/frontend-vue/tests/helpers.test.ts +1 -0
  31. package/frontend-vue/tests/locales.test.ts +24 -0
  32. package/frontend-vue/tests/onDemandReads.test.ts +106 -0
  33. package/frontend-vue/tests/registration.test.ts +0 -12
  34. package/frontend-vue/tests/serverRender.test.ts +235 -0
  35. package/frontend-vue/vitest.config.ts +24 -0
  36. package/package.json +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-database",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,11 +36,12 @@
36
36
  "typecheck": "tsc --noEmit",
37
37
  "format": "oxfmt . && pnpm --dir frontend-vue format",
38
38
  "frontend:dev": "cd playground && pnpm frontend:dev",
39
- "test": "pnpm run build && ajs module test .",
39
+ "test": "([ -n \"$DMS_PREBUILT\" ] || pnpm run build) && ajs module test .",
40
40
  "release": "pnpm --dir frontend-vue install --frozen-lockfile && release-it",
41
41
  "prepack": "pnpm run build",
42
42
  "knip": "knip --dependencies",
43
43
  "knip:all": "knip",
44
+ "test:layer": "pnpm --dir frontend-vue test",
44
45
  "test:frontend": "ajs dms verify-source --layer node_modules/@antelopejs/dms/frontend-vue --module frontend-vue"
45
46
  },
46
47
  "dependencies": {
@@ -49,12 +50,12 @@
49
50
  "@antelopejs/interface-core": ">=0.1.1 <1.0.0",
50
51
  "@antelopejs/interface-database": ">=0.1.8 <1.0.0",
51
52
  "@antelopejs/interface-database-decorators": ">=0.1.7 <1.0.0",
52
- "@antelopejs/interface-dms": ">=0.5.1 <1.0.0"
53
+ "@antelopejs/interface-dms": ">=0.7.0 <1.0.0"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@antelopejs/core": ">=1.13.5 <2",
56
- "@antelopejs/dms": ">=0.7.4 <0.8.0",
57
- "@antelopejs/dms-frontend": ">=0.5.2 <0.6.0",
57
+ "@antelopejs/dms": ">=0.9.0 <1.0.0",
58
+ "@antelopejs/dms-frontend": ">=0.6.0 <0.7.0",
58
59
  "@antelopejs/tooling-configs": ">=0.0.7 <1.0.0",
59
60
  "@types/chai": "^5.2.3",
60
61
  "@types/mocha": "^10.0.10",