@antelopejs/dms-database 0.3.1 → 0.4.1

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 (112) hide show
  1. package/README.md +17 -10
  2. package/dist/automation/index.js.map +1 -1
  3. package/dist/automation/tableWatch.d.ts +8 -4
  4. package/dist/automation/tableWatch.js +35 -8
  5. package/dist/automation/tableWatch.js.map +1 -1
  6. package/dist/db/models/diagram_layouts.model.d.ts +7 -5
  7. package/dist/db/models/diagram_notes.model.d.ts +7 -5
  8. package/dist/db/models/query_history.model.d.ts +7 -5
  9. package/dist/db/models/saved_queries.model.d.ts +7 -5
  10. package/dist/db/tables/query_history.table.d.ts +2 -1
  11. package/dist/db/tables/query_history.table.js.map +1 -1
  12. package/dist/db/tables/saved_queries.table.d.ts +2 -1
  13. package/dist/db/tables/saved_queries.table.js.map +1 -1
  14. package/dist/i18n/messages.js +5 -2
  15. package/dist/i18n/messages.js.map +1 -1
  16. package/dist/module.js +5 -1
  17. package/dist/module.js.map +1 -1
  18. package/dist/pages/schemas.js.map +1 -1
  19. package/dist/routes/data.d.ts +4 -3
  20. package/dist/routes/data.js +37 -238
  21. package/dist/routes/data.js.map +1 -1
  22. package/dist/routes/diagram.js +64 -43
  23. package/dist/routes/diagram.js.map +1 -1
  24. package/dist/routes/query.js +51 -53
  25. package/dist/routes/query.js.map +1 -1
  26. package/dist/routes/tables.js +13 -7
  27. package/dist/routes/tables.js.map +1 -1
  28. package/dist/service/browse.d.ts +37 -0
  29. package/dist/service/browse.js +135 -0
  30. package/dist/service/browse.js.map +1 -0
  31. package/dist/service/fieldDescriptor.d.ts +6 -6
  32. package/dist/service/fieldDescriptor.js +56 -50
  33. package/dist/service/fieldDescriptor.js.map +1 -1
  34. package/dist/service/health.js.map +1 -1
  35. package/dist/service/introspect.js +45 -40
  36. package/dist/service/introspect.js.map +1 -1
  37. package/dist/service/overview.js.map +1 -1
  38. package/dist/service/queryInspection.d.ts +5 -4
  39. package/dist/service/queryInspection.js +28 -26
  40. package/dist/service/queryInspection.js.map +1 -1
  41. package/dist/service/references.d.ts +1 -1
  42. package/dist/service/references.js +3 -7
  43. package/dist/service/references.js.map +1 -1
  44. package/dist/service/rowEdit.d.ts +4 -0
  45. package/dist/service/rowEdit.js +80 -0
  46. package/dist/service/rowEdit.js.map +1 -0
  47. package/dist/service/schemaFilters.d.ts +1 -1
  48. package/dist/service/schemaFilters.js.map +1 -1
  49. package/dist/service/schemaLabels.js +1 -1
  50. package/dist/service/schemaLabels.js.map +1 -1
  51. package/dist/service/schemaRegistry.d.ts +1 -1
  52. package/dist/service/schemaRegistry.js +1 -1
  53. package/dist/service/schemaRegistry.js.map +1 -1
  54. package/dist/service/stagedSerialization.d.ts +7 -6
  55. package/dist/service/stagedSerialization.js +40 -32
  56. package/dist/service/stagedSerialization.js.map +1 -1
  57. package/dist/service/types.d.ts +3 -2
  58. package/dist/types/json.d.ts +8 -0
  59. package/dist/types/json.js +53 -0
  60. package/dist/types/json.js.map +1 -0
  61. package/dist/utils/guards.d.ts +8 -0
  62. package/dist/utils/guards.js +35 -0
  63. package/dist/utils/guards.js.map +1 -0
  64. package/dist/utils/query.d.ts +6 -7
  65. package/dist/utils/query.js +22 -30
  66. package/dist/utils/query.js.map +1 -1
  67. package/dist/utils/requestValidation.d.ts +1 -2
  68. package/dist/utils/requestValidation.js +4 -9
  69. package/dist/utils/requestValidation.js.map +1 -1
  70. package/frontend-vue/app/build/components/DataGridEmpty.vue +89 -0
  71. package/frontend-vue/app/build/components/DataGridFooter.vue +113 -0
  72. package/frontend-vue/app/build/components/DataGridReadOnlyBanner.vue +50 -0
  73. package/frontend-vue/app/build/components/DataGridSaveStatus.vue +73 -0
  74. package/frontend-vue/app/build/components/DataGridToolbar.vue +72 -0
  75. package/frontend-vue/app/build/components/DiagramLegend.vue +48 -0
  76. package/frontend-vue/app/build/components/DiagramSearchBar.vue +82 -0
  77. package/frontend-vue/app/build/components/DiagramStatusBar.vue +89 -0
  78. package/frontend-vue/app/build/components/DiagramToolbar.vue +102 -0
  79. package/frontend-vue/app/build/components/DiagramViewBar.vue +103 -0
  80. package/frontend-vue/app/build/components/diagramFloat.css +21 -0
  81. package/frontend-vue/app/build/composables/useDiagramDrag.ts +84 -0
  82. package/frontend-vue/app/build/composables/useDiagramNotes.ts +146 -0
  83. package/frontend-vue/app/build/composables/useDiagramSaveStatus.ts +50 -0
  84. package/frontend-vue/app/build/composables/useDiagramSearch.ts +77 -0
  85. package/frontend-vue/app/build/composables/useDiagramView.ts +125 -0
  86. package/frontend-vue/app/build/composables/useElsewhereInstances.ts +94 -0
  87. package/frontend-vue/app/build/composables/useTableSample.ts +176 -0
  88. package/frontend-vue/app/build/data/gridData.ts +66 -0
  89. package/frontend-vue/app/build/data/useStagedSave.ts +13 -20
  90. package/frontend-vue/app/build/diagram/autosave.ts +3 -3
  91. package/frontend-vue/app/build/diagram/graph.ts +67 -485
  92. package/frontend-vue/app/build/diagram/graphModel.ts +368 -0
  93. package/frontend-vue/app/build/diagram/layout.ts +135 -0
  94. package/frontend-vue/app/build/query/failures.ts +17 -0
  95. package/frontend-vue/app/components/DataGrid.vue +64 -358
  96. package/frontend-vue/app/components/QueryConsole.vue +27 -116
  97. package/frontend-vue/app/components/SchemaDiagram.vue +118 -678
  98. package/frontend-vue/app/components/TableInspector.vue +12 -136
  99. package/frontend-vue/build/backend-boundary.ts +122 -0
  100. package/frontend-vue/dms.frontend.build.ts +6 -0
  101. package/frontend-vue/package.json +46 -45
  102. package/frontend-vue/pnpm-lock.yaml +51 -16
  103. package/frontend-vue/tests/apiErrorPresentation.test.ts +83 -0
  104. package/frontend-vue/tests/backend-boundary.test.ts +134 -0
  105. package/frontend-vue/tests/clientNavigation.test.ts +5 -7
  106. package/frontend-vue/tests/fixtures/serverRender.ts +13 -1
  107. package/frontend-vue/tests/locales.test.ts +16 -89
  108. package/frontend-vue/tests/queryConsole.test.ts +20 -0
  109. package/frontend-vue/tests/registration.test.ts +0 -18
  110. package/frontend-vue/vitest.config.ts +5 -2
  111. package/package.json +28 -17
  112. package/skills/dms-database/cases.json +48 -0
@@ -28,6 +28,7 @@ import {
28
28
  } from '../build/utils/fieldTypes'
29
29
  import { CROSS_INSTANCE_VALUE } from '../build/composables/useDataBrowserTabs'
30
30
  import { ALL_INSTANCES_PARAM, tableLink } from '../build/utils/databaseLinks'
31
+ import { useTableSample } from '../build/composables/useTableSample'
31
32
  import DrawerTabs from './DrawerTabs.vue'
32
33
 
33
34
  // The Schemas page's row drawer (D-07), also opened from the diagram: the
@@ -57,7 +58,6 @@ const NULLISH_KINDS = new Set<FieldDescriptor['kind']>([
57
58
  'any',
58
59
  'unknown',
59
60
  ])
60
- const BROWSE_LIST = '/api/database/browse/list'
61
61
  const BROWSE_COUNT = '/api/database/browse/count'
62
62
 
63
63
  const { t, n } = useI18n()
@@ -273,141 +273,17 @@ const tabs = computed<{ value: InspectorTab; label: string; badge?: number }[]>(
273
273
  ],
274
274
  )
275
275
 
276
- // --- sample row: the latest row, or the next one on demand ---
277
- interface SamplePage {
278
- results: Record<string, unknown>[]
279
- total: number
280
- }
281
-
282
- /**
283
- * The row asked for: its offset in an instance. No instance at offset 0 reads
284
- * the default one, or the first named instance holding rows when the default
285
- * one holds none.
286
- */
287
- interface SampleRequest {
288
- instance: string | null
289
- offset: number
290
- }
291
-
292
- /** A sample read, with the table and the instance it was read from. */
293
- interface SampleRead {
294
- table: string
295
- instance: string | null
296
- page: SamplePage
297
- }
298
-
299
- const requested = shallowRef<SampleRequest>({ instance: null, offset: 0 })
300
-
301
- type ReadSample = (instance: string | null) => Promise<SamplePage>
302
-
303
- async function firstFilledInstance(
304
- read: ReadSample,
305
- ): Promise<{ instance: string | null; page: SamplePage }> {
306
- const page = await read(null)
307
- if (page.total > 0) return { instance: null, page }
308
- for (const instance of schema.value?.instances ?? []) {
309
- const named = await read(instance)
310
- if (named.total > 0) return { instance, page: named }
311
- }
312
- return { instance: null, page }
313
- }
314
-
315
- // Read once the Sample tab shows, in the browser only.
316
- const sampleRead = useApiData<SampleRead>(
317
- () =>
318
- schemaId.value && tableName.value
319
- ? `dms-database:sample:${JSON.stringify([
320
- tableKey.value,
321
- requested.value.instance,
322
- requested.value.offset,
323
- ])}`
324
- : null,
325
- async ({ $authFetch, signal }) => {
326
- const table = tableKey.value
327
- const { instance, offset } = requested.value
328
- const read: ReadSample = (from) =>
329
- $authFetch<SamplePage>(BROWSE_LIST, {
330
- query: {
331
- filter_schema: `is:${schemaId.value}`,
332
- filter_table: `is:${tableName.value}`,
333
- offset,
334
- limit: 1,
335
- ...(from ? { filter_instance: `is:${from}` } : {}),
336
- },
337
- signal,
338
- })
339
- const found =
340
- instance === null && offset === 0
341
- ? await firstFilledInstance(read)
342
- : { instance, page: await read(instance) }
343
- return { table, ...found }
344
- },
345
- {
346
- immediate: false,
347
- server: false,
348
- watch: false,
349
- refreshOnPageRefresh: false,
350
- },
351
- )
352
-
353
- // Another table (a relation followed) shows none of the previous one's row.
354
- const sampleShown = computed(() => {
355
- const value = sampleRead.data.value
356
- return value?.table === tableKey.value ? value : null
357
- })
358
- const sample = computed(() => sampleShown.value?.page.results?.[0] ?? null)
359
- const sampleTotal = computed(() => sampleShown.value?.page.total ?? 0)
360
- const sampleOffset = computed(() => requested.value.offset)
361
- const sampleLoading = computed(() => sampleRead.pending.value)
362
- const sampleFailed = computed(() => sampleRead.status.value === 'error')
363
- // The instance the sample is read from.
364
- const sampleInstance = computed(() => sampleShown.value?.instance ?? null)
365
-
366
- const sampleInstanceLabel = computed(() =>
367
- sampleInstance.value === null
368
- ? t('dms_database.inspector.sample.default_instance')
369
- : t('dms_database.inspector.sample.named_instance', {
370
- name: sampleInstance.value,
371
- }),
372
- )
373
-
374
- function loadSample() {
375
- if (schemaId.value && tableName.value) void sampleRead.execute()
376
- }
377
-
378
- function nextSample() {
379
- const total = sampleTotal.value
380
- requested.value = {
381
- instance: sampleInstance.value,
382
- offset: total > 0 ? (requested.value.offset + 1) % total : 0,
383
- }
384
- loadSample()
385
- }
386
-
387
- // Another table (a relation followed) starts over from its latest row.
388
- watch(tableKey, () => {
389
- requested.value = { instance: null, offset: 0 }
390
- if (tab.value === 'sample' && !loading.value) loadSample()
391
- })
392
-
393
- // The sample waits for the schemas: they name the instances to look in.
394
- onMounted(() =>
395
- watch(
396
- () => tab.value === 'sample' && !loading.value,
397
- (ready) => {
398
- if (ready && !sample.value && !sampleLoading.value) loadSample()
399
- },
400
- { immediate: true },
401
- ),
402
- )
403
-
404
- // The `_instance` tag the store adds to rows of named instances is not a
405
- // column of the table.
406
- const sampleJson = computed(() => {
407
- if (!sample.value) return ''
408
- const { _instance: _tag, ...row } = sample.value
409
- return JSON.stringify(row, null, 2)
410
- })
276
+ const {
277
+ sample,
278
+ sampleTotal,
279
+ sampleOffset,
280
+ sampleLoading,
281
+ sampleFailed,
282
+ sampleInstanceLabel,
283
+ sampleJson,
284
+ loadSample,
285
+ nextSample,
286
+ } = useTableSample({ schemaId, tableName, tableKey, schema, tab, loading })
411
287
 
412
288
  async function copyName() {
413
289
  await copy(tableName.value)
@@ -0,0 +1,122 @@
1
+ import { existsSync, readFileSync, realpathSync } from 'node:fs'
2
+ import { dirname, isAbsolute, join, relative, sep } from 'node:path'
3
+ import type { DmsVitePluginEntry } from '#dms/frontend-build'
4
+
5
+ type VitePlugin = Extract<DmsVitePluginEntry, { name: string }>
6
+
7
+ const BACKEND_PACKAGE = '@antelopejs/dms-database'
8
+ const BACKEND_SOURCE = 'src'
9
+ const QUERY_OR_HASH = /[?#].*$/
10
+
11
+ const backendRoots = new Map<string, string | null>()
12
+
13
+ /** Whether a parsed manifest names its package. */
14
+ function isNamedManifest(value: unknown): value is { name: string } {
15
+ return (
16
+ typeof value === 'object' &&
17
+ value !== null &&
18
+ 'name' in value &&
19
+ typeof value.name === 'string'
20
+ )
21
+ }
22
+
23
+ /** The package name a `package.json` declares, or `undefined`. */
24
+ function packageName(manifest: string): string | undefined {
25
+ try {
26
+ const parsed: unknown = JSON.parse(readFileSync(manifest, 'utf8'))
27
+ return isNamedManifest(parsed) ? parsed.name : undefined
28
+ } catch {
29
+ return undefined
30
+ }
31
+ }
32
+
33
+ /** The directory of the backend package that holds `directory`, or null. */
34
+ function backendRoot(directory: string): string | null {
35
+ const known = backendRoots.get(directory)
36
+ if (known !== undefined) {
37
+ return known
38
+ }
39
+ const manifest = join(directory, 'package.json')
40
+ const parent = dirname(directory)
41
+ let root: string | null = null
42
+ if (existsSync(manifest)) {
43
+ root = packageName(manifest) === BACKEND_PACKAGE ? directory : null
44
+ } else if (parent !== directory) {
45
+ root = backendRoot(parent)
46
+ }
47
+ backendRoots.set(directory, root)
48
+ return root
49
+ }
50
+
51
+ /**
52
+ * The real path of a resolved module id when it lies under the `src`
53
+ * directory of the backend package, or `undefined`. The package that owns the
54
+ * file decides, not a path, so the answer is the same in the repository and in
55
+ * the build workspace. Virtual ids and ids that are not files are ignored.
56
+ */
57
+ function backendSourceFile(id: string): string | undefined {
58
+ const path = id.replace(QUERY_OR_HASH, '')
59
+ if (!isAbsolute(path)) {
60
+ return undefined
61
+ }
62
+ let real: string
63
+ try {
64
+ real = realpathSync(path)
65
+ } catch {
66
+ return undefined
67
+ }
68
+ const root = backendRoot(dirname(real))
69
+ if (root === null) {
70
+ return undefined
71
+ }
72
+ return relative(root, real).split(sep)[0] === BACKEND_SOURCE
73
+ ? real
74
+ : undefined
75
+ }
76
+
77
+ /**
78
+ * Fails the build and the dev server when a module of the frontend resolves to
79
+ * a file under the `src` of the backend package: the browser reaches the
80
+ * backend only through its HTTP interface. It checks what the whole resolution
81
+ * chain returns, an id marked external included, so an alias is seen through
82
+ * and a symlink the resolver returns is followed to its real path, and it runs
83
+ * before the other plugins (`enforce: "pre"`). Vite builds workers with their
84
+ * own plugin list, so the plugin adds itself there too.
85
+ *
86
+ * antelopejs-sync writes this file from `@antelopejs/tooling-configs` and
87
+ * restores it on every run: change the plugin in the pack, not here.
88
+ */
89
+ export function backendBoundary(): VitePlugin {
90
+ return {
91
+ ...boundaryCheck(),
92
+ config: () => ({ worker: { plugins: () => [boundaryCheck()] } }),
93
+ }
94
+ }
95
+
96
+ /** The check alone, as a worker build runs it. */
97
+ function boundaryCheck(): VitePlugin {
98
+ return {
99
+ name: `${BACKEND_PACKAGE}:backend-boundary`,
100
+ enforce: 'pre',
101
+ async resolveId(source, importer, options) {
102
+ const resolved = await this.resolve(source, importer, {
103
+ ...options,
104
+ skipSelf: true,
105
+ })
106
+ if (resolved === null) {
107
+ return resolved
108
+ }
109
+ const file = backendSourceFile(resolved.id)
110
+ if (file === undefined) {
111
+ return resolved
112
+ }
113
+ const from =
114
+ importer === undefined
115
+ ? 'an entry point'
116
+ : importer.replace(QUERY_OR_HASH, '')
117
+ return this.error(
118
+ `Backend boundary: ${from} imports ${file}, which is under the src of ${BACKEND_PACKAGE}. The frontend reaches the backend only through its HTTP interface.`,
119
+ )
120
+ },
121
+ }
122
+ }
@@ -0,0 +1,6 @@
1
+ import { defineDmsFrontendBuild } from '#dms/frontend-build'
2
+ import { backendBoundary } from './build/backend-boundary.ts'
3
+
4
+ export default defineDmsFrontendBuild((build) => {
5
+ build.registerVitePlugins(() => [backendBoundary()])
6
+ })
@@ -1,47 +1,48 @@
1
1
  {
2
- "name": "@antelopejs/dms-database-frontend-vue",
3
- "version": "0.0.1",
4
- "private": true,
5
- "type": "module",
6
- "main": "./dms.frontend.ts",
7
- "packageManager": "pnpm@10.6.5",
8
- "engines": {
9
- "@antelopejs/dms-frontend": ">=0.9.0 <0.10.0"
10
- },
11
- "scripts": {
12
- "dev": "pnpm --dir ../playground frontend:dev",
13
- "build": "pnpm --dir ../playground exec ajs dms build",
14
- "typecheck": "pnpm --dir \"${DMS_FRONTEND_WORKSPACE:?Set DMS_FRONTEND_WORKSPACE to the generated Inertia workspace}\" typecheck",
15
- "format": "prettier --write .",
16
- "lint": "eslint .",
17
- "lint:fix": "eslint . --fix",
18
- "test": "vitest run"
19
- },
20
- "dependencies": {
21
- "@antelopejs/interface-core": ">=0.2.4 <1.0.0",
22
- "@antelopejs/interface-database": ">=0.1.11 <1.0.0",
23
- "@codemirror/autocomplete": "^6.18.6",
24
- "@codemirror/commands": "^6.8.1",
25
- "@codemirror/lang-javascript": "^6.2.4",
26
- "@codemirror/language": "^6.11.0",
27
- "@codemirror/state": "^6.5.2",
28
- "@codemirror/theme-one-dark": "^6.1.3",
29
- "@codemirror/view": "^6.38.1",
30
- "@dagrejs/dagre": "^3.0.0",
31
- "@vue-flow/core": "^1.48.2",
32
- "@vueuse/core": "^14.3.0",
33
- "vue": "^3.5.18"
34
- },
35
- "devDependencies": {
36
- "@intlify/message-compiler": "^11",
37
- "@nuxt/ui": "4.10.0",
38
- "@typescript-eslint/parser": "^8.0.0",
39
- "@vitejs/plugin-vue": "^6.0.10",
40
- "eslint": "^9.0.0",
41
- "eslint-plugin-vue": "^10.0.0",
42
- "prettier": "^3.5.3",
43
- "prettier-plugin-tailwindcss": "^0.6.11",
44
- "typescript": "^5.8.2",
45
- "vitest": "^3.2.4"
46
- }
2
+ "name": "@antelopejs/dms-database-frontend-vue",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "type": "module",
6
+ "main": "./dms.frontend.ts",
7
+ "packageManager": "pnpm@10.6.5",
8
+ "engines": {
9
+ "@antelopejs/dms-frontend": ">=0.10.0 <0.11.0"
10
+ },
11
+ "scripts": {
12
+ "dev": "pnpm --dir ../playground frontend:dev",
13
+ "build": "pnpm --dir ../playground exec ajs dms build",
14
+ "typecheck": "pnpm --dir \"${DMS_FRONTEND_WORKSPACE:?Set DMS_FRONTEND_WORKSPACE to the generated Inertia workspace}\" typecheck",
15
+ "format": "prettier --write .",
16
+ "lint": "eslint .",
17
+ "lint:fix": "eslint . --fix",
18
+ "test": "vitest run"
19
+ },
20
+ "dependencies": {
21
+ "@antelopejs/interface-core": ">=0.4.0 <1.0.0",
22
+ "@antelopejs/interface-database": ">=0.3.0 <1.0.0",
23
+ "@codemirror/autocomplete": "^6.18.6",
24
+ "@codemirror/commands": "^6.8.1",
25
+ "@codemirror/lang-javascript": "^6.2.4",
26
+ "@codemirror/language": "^6.11.0",
27
+ "@codemirror/state": "^6.5.2",
28
+ "@codemirror/theme-one-dark": "^6.1.3",
29
+ "@codemirror/view": "^6.38.1",
30
+ "@dagrejs/dagre": "^3.0.0",
31
+ "@vue-flow/core": "^1.48.2",
32
+ "@vueuse/core": "^14.3.0",
33
+ "vue": "^3.5.18"
34
+ },
35
+ "devDependencies": {
36
+ "@intlify/message-compiler": "^11",
37
+ "@nuxt/ui": "4.10.0",
38
+ "@typescript-eslint/parser": "^8.0.0",
39
+ "@vitejs/plugin-vue": "^6.0.10",
40
+ "eslint": "^9.0.0",
41
+ "eslint-plugin-vue": "^10.0.0",
42
+ "prettier": "^3.5.3",
43
+ "prettier-plugin-tailwindcss": "^0.6.11",
44
+ "typescript": "^5.8.2",
45
+ "vite": "^7.3.3",
46
+ "vitest": "^3.2.4"
47
+ }
47
48
  }
@@ -9,11 +9,11 @@ importers:
9
9
  .:
10
10
  dependencies:
11
11
  '@antelopejs/interface-core':
12
- specifier: '>=0.2.4 <1.0.0'
13
- version: 0.2.4
12
+ specifier: '>=0.4.0 <1.0.0'
13
+ version: 0.4.0
14
14
  '@antelopejs/interface-database':
15
- specifier: '>=0.1.11 <1.0.0'
16
- version: 0.1.11(@antelopejs/interface-core@0.2.4)
15
+ specifier: '>=0.3.0 <1.0.0'
16
+ version: 0.3.0(@antelopejs/interface-core@0.4.0)
17
17
  '@codemirror/autocomplete':
18
18
  specifier: ^6.18.6
19
19
  version: 6.20.3
@@ -53,7 +53,7 @@ importers:
53
53
  version: 11.4.13
54
54
  '@nuxt/ui':
55
55
  specifier: 4.10.0
56
- version: 4.10.0(16f5c2f09853d60e3ec969ed256a3593)
56
+ version: 4.10.0(c861662684e685fa13523d7951614b55)
57
57
  '@typescript-eslint/parser':
58
58
  specifier: ^8.0.0
59
59
  version: 8.59.3(eslint@9.39.4(jiti@2.7.0))(typescript@5.9.3)
@@ -75,6 +75,9 @@ importers:
75
75
  typescript:
76
76
  specifier: ^5.8.2
77
77
  version: 5.9.3
78
+ vite:
79
+ specifier: ^7.3.3
80
+ version: 7.3.3(@types/node@25.7.0)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0)
78
81
  vitest:
79
82
  specifier: ^3.2.4
80
83
  version: 3.2.7(@types/node@25.7.0)(jiti@2.7.0)(lightningcss@1.32.0)(terser@5.47.1)(yaml@2.9.0)
@@ -85,11 +88,11 @@ packages:
85
88
  resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
86
89
  engines: {node: '>=10'}
87
90
 
88
- '@antelopejs/interface-core@0.2.4':
89
- resolution: {integrity: sha512-2qF6/KwahCQvvNuC/piUvPWD4wq2Npmco941HMg2/bMBoJKbhMH16WcXXRvPYznNSkU0U+6vqK6KE+2N5NojSA==}
91
+ '@antelopejs/interface-core@0.4.0':
92
+ resolution: {integrity: sha512-IPX6dtt3KHknclN4mLOYeRYL2Odz1Pts+dtaZul62NghsBUX/0OFHD4Qhoaf+Beva4hjInbaF918ajr4Z5HVWQ==}
90
93
 
91
- '@antelopejs/interface-database@0.1.11':
92
- resolution: {integrity: sha512-uv6mB1Lghmlc9z+oWzntmzD1ZNBAmrj+2+7MItv6zClEolbqw5hfAt8+c3IPq2yLfWDfhpqWme2m0eTwsAm0RQ==}
94
+ '@antelopejs/interface-database@0.3.0':
95
+ resolution: {integrity: sha512-sPs/EROiuRgFr8r3SGrvO+9b8ZzBNkuwanN3rZbMfLQyQQ42CnULLkLG2JjE9/tRnbvGjgebJlU/VxhGrHBaoA==}
93
96
  peerDependencies:
94
97
  '@antelopejs/interface-core': '>=0.2.4 <1.0.0'
95
98
 
@@ -750,66 +753,79 @@ packages:
750
753
  resolution: {integrity: sha512-DV6fJoxEYWJOvaZIsok7KrYl0tPvga5OZ2yvKHNNYyk/2roMLqQAbGhr78EQ5YhHpnhLKJD3S1WFusAkmUuV5g==}
751
754
  cpu: [arm]
752
755
  os: [linux]
756
+ libc: [glibc]
753
757
 
754
758
  '@rollup/rollup-linux-arm-musleabihf@4.60.3':
755
759
  resolution: {integrity: sha512-mQKoJAzvuOs6F+TZybQO4GOTSMUu7v0WdxEk24krQ/uUxXoPTtHjuaUuPmFhtBcM4K0ons8nrE3JyhTuCFtT/w==}
756
760
  cpu: [arm]
757
761
  os: [linux]
762
+ libc: [musl]
758
763
 
759
764
  '@rollup/rollup-linux-arm64-gnu@4.60.3':
760
765
  resolution: {integrity: sha512-Whjj2qoiJ6+OOJMGptTYazaJvjOJm+iKHpXQM1P3LzGjt7Ff++Tp7nH4N8J/BUA7R9IHfDyx4DJIflifwnbmIA==}
761
766
  cpu: [arm64]
762
767
  os: [linux]
768
+ libc: [glibc]
763
769
 
764
770
  '@rollup/rollup-linux-arm64-musl@4.60.3':
765
771
  resolution: {integrity: sha512-4YTNHKqGng5+yiZt3mg77nmyuCfmNfX4fPmyUapBcIk+BdwSwmCWGXOUxhXbBEkFHtoN5boLj/5NON+u5QC9tg==}
766
772
  cpu: [arm64]
767
773
  os: [linux]
774
+ libc: [musl]
768
775
 
769
776
  '@rollup/rollup-linux-loong64-gnu@4.60.3':
770
777
  resolution: {integrity: sha512-SU3kNlhkpI4UqlUc2VXPGK9o886ZsSeGfMAX2ba2b8DKmMXq4AL7KUrkSWVbb7koVqx41Yczx6dx5PNargIrEA==}
771
778
  cpu: [loong64]
772
779
  os: [linux]
780
+ libc: [glibc]
773
781
 
774
782
  '@rollup/rollup-linux-loong64-musl@4.60.3':
775
783
  resolution: {integrity: sha512-6lDLl5h4TXpB1mTf2rQWnAk/LcXrx9vBfu/DT5TIPhvMhRWaZ5MxkIc8u4lJAmBo6klTe1ywXIUHFjylW505sg==}
776
784
  cpu: [loong64]
777
785
  os: [linux]
786
+ libc: [musl]
778
787
 
779
788
  '@rollup/rollup-linux-ppc64-gnu@4.60.3':
780
789
  resolution: {integrity: sha512-BMo8bOw8evlup/8G+cj5xWtPyp93xPdyoSN16Zy90Q2QZ0ZYRhCt6ZJSwbrRzG9HApFabjwj2p25TUPDWrhzqQ==}
781
790
  cpu: [ppc64]
782
791
  os: [linux]
792
+ libc: [glibc]
783
793
 
784
794
  '@rollup/rollup-linux-ppc64-musl@4.60.3':
785
795
  resolution: {integrity: sha512-E0L8X1dZN1/Rph+5VPF6Xj2G7JJvMACVXtamTJIDrVI44Y3K+G8gQaMEAavbqCGTa16InptiVrX6eM6pmJ+7qA==}
786
796
  cpu: [ppc64]
787
797
  os: [linux]
798
+ libc: [musl]
788
799
 
789
800
  '@rollup/rollup-linux-riscv64-gnu@4.60.3':
790
801
  resolution: {integrity: sha512-oZJ/WHaVfHUiRAtmTAeo3DcevNsVvH8mbvodjZy7D5QKvCefO371SiKRpxoDcCxB3PTRTLayWBkvmDQKTcX/sw==}
791
802
  cpu: [riscv64]
792
803
  os: [linux]
804
+ libc: [glibc]
793
805
 
794
806
  '@rollup/rollup-linux-riscv64-musl@4.60.3':
795
807
  resolution: {integrity: sha512-Dhbyh7j9FybM3YaTgaHmVALwA8AkUwTPccyCQ79TG9AJUsMQqgN1DDEZNr4+QUfwiWvLDumW5vdwzoeUF+TNxQ==}
796
808
  cpu: [riscv64]
797
809
  os: [linux]
810
+ libc: [musl]
798
811
 
799
812
  '@rollup/rollup-linux-s390x-gnu@4.60.3':
800
813
  resolution: {integrity: sha512-cJd1X5XhHHlltkaypz1UcWLA8AcoIi1aWhsvaWDskD1oz2eKCypnqvTQ8ykMNI0RSmm7NkTdSqSSD7zM0xa6Ig==}
801
814
  cpu: [s390x]
802
815
  os: [linux]
816
+ libc: [glibc]
803
817
 
804
818
  '@rollup/rollup-linux-x64-gnu@4.60.3':
805
819
  resolution: {integrity: sha512-DAZDBHQfG2oQuhY7mc6I3/qB4LU2fQCjRvxbDwd/Jdvb9fypP4IJ4qmtu6lNjes6B531AI8cg1aKC2di97bUxA==}
806
820
  cpu: [x64]
807
821
  os: [linux]
822
+ libc: [glibc]
808
823
 
809
824
  '@rollup/rollup-linux-x64-musl@4.60.3':
810
825
  resolution: {integrity: sha512-cRxsE8c13mZOh3vP+wLDxpQBRrOHDIGOWyDL93Sy0Ga8y515fBcC2pjUfFwUe5T7tqvTvWbCpg1URM/AXdWIXA==}
811
826
  cpu: [x64]
812
827
  os: [linux]
828
+ libc: [musl]
813
829
 
814
830
  '@rollup/rollup-openbsd-x64@4.60.3':
815
831
  resolution: {integrity: sha512-QaWcIgRxqEdQdhJqW4DJctsH6HCmo5vHxY0krHSX4jMtOqfzC+dqDGuHM87bu4H8JBeibWx7jFz+h6/4C8wA5Q==}
@@ -891,24 +907,28 @@ packages:
891
907
  engines: {node: '>= 20'}
892
908
  cpu: [arm64]
893
909
  os: [linux]
910
+ libc: [glibc]
894
911
 
895
912
  '@tailwindcss/oxide-linux-arm64-musl@4.3.3':
896
913
  resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==}
897
914
  engines: {node: '>= 20'}
898
915
  cpu: [arm64]
899
916
  os: [linux]
917
+ libc: [musl]
900
918
 
901
919
  '@tailwindcss/oxide-linux-x64-gnu@4.3.3':
902
920
  resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==}
903
921
  engines: {node: '>= 20'}
904
922
  cpu: [x64]
905
923
  os: [linux]
924
+ libc: [glibc]
906
925
 
907
926
  '@tailwindcss/oxide-linux-x64-musl@4.3.3':
908
927
  resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==}
909
928
  engines: {node: '>= 20'}
910
929
  cpu: [x64]
911
930
  os: [linux]
931
+ libc: [musl]
912
932
 
913
933
  '@tailwindcss/oxide-wasm32-wasi@4.3.3':
914
934
  resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==}
@@ -1140,6 +1160,12 @@ packages:
1140
1160
  peerDependencies:
1141
1161
  '@tiptap/core': 3.32.0
1142
1162
 
1163
+ '@tiptap/extensions@3.23.1':
1164
+ resolution: {integrity: sha512-7UIn+idaVTVhdlP0KmgzBh8Csmwck357Dq4te5DuAxhSkN1gsXHlq39mpx907UYKJdSOgd+GMFeyOziPwSmbOQ==}
1165
+ peerDependencies:
1166
+ '@tiptap/core': 3.23.1
1167
+ '@tiptap/pm': 3.23.1
1168
+
1143
1169
  '@tiptap/extensions@3.32.0':
1144
1170
  resolution: {integrity: sha512-qO+ndNvlOjzU2MWCtQHoRg1tIortCXLvqPjDx58F1pUYFNCOVZegXi+jqLGDODUA31er+TVz66umzRbbN1bO1Q==}
1145
1171
  peerDependencies:
@@ -2117,24 +2143,28 @@ packages:
2117
2143
  engines: {node: '>= 12.0.0'}
2118
2144
  cpu: [arm64]
2119
2145
  os: [linux]
2146
+ libc: [glibc]
2120
2147
 
2121
2148
  lightningcss-linux-arm64-musl@1.32.0:
2122
2149
  resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
2123
2150
  engines: {node: '>= 12.0.0'}
2124
2151
  cpu: [arm64]
2125
2152
  os: [linux]
2153
+ libc: [musl]
2126
2154
 
2127
2155
  lightningcss-linux-x64-gnu@1.32.0:
2128
2156
  resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
2129
2157
  engines: {node: '>= 12.0.0'}
2130
2158
  cpu: [x64]
2131
2159
  os: [linux]
2160
+ libc: [glibc]
2132
2161
 
2133
2162
  lightningcss-linux-x64-musl@1.32.0:
2134
2163
  resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
2135
2164
  engines: {node: '>= 12.0.0'}
2136
2165
  cpu: [x64]
2137
2166
  os: [linux]
2167
+ libc: [musl]
2138
2168
 
2139
2169
  lightningcss-win32-arm64-msvc@1.32.0:
2140
2170
  resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
@@ -3085,13 +3115,13 @@ snapshots:
3085
3115
 
3086
3116
  '@alloc/quick-lru@5.2.0': {}
3087
3117
 
3088
- '@antelopejs/interface-core@0.2.4':
3118
+ '@antelopejs/interface-core@0.4.0':
3089
3119
  dependencies:
3090
3120
  reflect-metadata: 0.2.2
3091
3121
 
3092
- '@antelopejs/interface-database@0.1.11(@antelopejs/interface-core@0.2.4)':
3122
+ '@antelopejs/interface-database@0.3.0(@antelopejs/interface-core@0.4.0)':
3093
3123
  dependencies:
3094
- '@antelopejs/interface-core': 0.2.4
3124
+ '@antelopejs/interface-core': 0.4.0
3095
3125
 
3096
3126
  '@antfu/install-pkg@2.0.1':
3097
3127
  dependencies:
@@ -3666,7 +3696,7 @@ snapshots:
3666
3696
  pkg-types: 2.3.1
3667
3697
  std-env: 4.2.0
3668
3698
 
3669
- '@nuxt/ui@4.10.0(16f5c2f09853d60e3ec969ed256a3593)':
3699
+ '@nuxt/ui@4.10.0(c861662684e685fa13523d7951614b55)':
3670
3700
  dependencies:
3671
3701
  '@floating-ui/dom': 1.8.0
3672
3702
  '@iconify/vue': 5.0.1(vue@3.5.34(typescript@5.9.3))
@@ -3691,7 +3721,7 @@ snapshots:
3691
3721
  '@tiptap/extension-image': 3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))
3692
3722
  '@tiptap/extension-mention': 3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)(@tiptap/suggestion@3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1))
3693
3723
  '@tiptap/extension-node-range': 3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)
3694
- '@tiptap/extension-placeholder': 3.23.1(@tiptap/extensions@3.32.0(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1))
3724
+ '@tiptap/extension-placeholder': 3.23.1(@tiptap/extensions@3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1))
3695
3725
  '@tiptap/markdown': 3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)
3696
3726
  '@tiptap/pm': 3.23.1
3697
3727
  '@tiptap/starter-kit': 3.23.1
@@ -4117,9 +4147,9 @@ snapshots:
4117
4147
  dependencies:
4118
4148
  '@tiptap/core': 3.23.1(@tiptap/pm@3.23.1)
4119
4149
 
4120
- '@tiptap/extension-placeholder@3.23.1(@tiptap/extensions@3.32.0(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1))':
4150
+ '@tiptap/extension-placeholder@3.23.1(@tiptap/extensions@3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1))':
4121
4151
  dependencies:
4122
- '@tiptap/extensions': 3.32.0(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)
4152
+ '@tiptap/extensions': 3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)
4123
4153
 
4124
4154
  '@tiptap/extension-strike@3.32.0(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))':
4125
4155
  dependencies:
@@ -4133,6 +4163,11 @@ snapshots:
4133
4163
  dependencies:
4134
4164
  '@tiptap/core': 3.23.1(@tiptap/pm@3.23.1)
4135
4165
 
4166
+ '@tiptap/extensions@3.23.1(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)':
4167
+ dependencies:
4168
+ '@tiptap/core': 3.23.1(@tiptap/pm@3.23.1)
4169
+ '@tiptap/pm': 3.23.1
4170
+
4136
4171
  '@tiptap/extensions@3.32.0(@tiptap/core@3.23.1(@tiptap/pm@3.23.1))(@tiptap/pm@3.23.1)':
4137
4172
  dependencies:
4138
4173
  '@tiptap/core': 3.23.1(@tiptap/pm@3.23.1)