Skip to content

Commit d4e5324

Browse files
committed
feat: add UI components and metadata handling for the studio
- Implemented Card component and its subcomponents (CardHeader, CardTitle, CardDescription, CardContent, CardFooter) for consistent UI layout. - Created useMetadata hook to fetch and manage metadata objects from the API. - Developed Dashboard page to display total collections and individual metadata objects using Card components. - Introduced MetadataBrowser page for browsing and viewing detailed metadata information. - Built ObjectView page for displaying object data in a grid format with server-side fetching capabilities. - Added SchemaEditor page for editing schema files with file selection functionality. - Configured Tailwind CSS for styling and responsive design. - Set up Vite for development and build processes, including API proxying. - Established TypeScript configuration for type safety and module resolution.
1 parent d3cd022 commit d4e5324

140 files changed

Lines changed: 164 additions & 154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/scenarios/preset-usage/objectql.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const db = new ObjectQL({
88
default: createDriverFromConnection(`sqlite://${path.join(__dirname, 'preset.sqlite3')}`)
99
},
1010
// Load the project-management capabilities as a preset
11-
presets: ['@example/basic-script'],
11+
presets: ['@objectql/starter-basic-script'],
1212
plugins: ['@example/audit-log']
1313
});
1414

examples/scenarios/preset-usage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"repl": "objectql repl"
1717
},
1818
"dependencies": {
19-
"@example/basic-script": "workspace:*",
19+
"@objectql/starter-basic-script": "workspace:*",
2020
"@example/audit-log": "workspace:*"
2121
},
2222
"devDependencies": {

examples/starters/basic-script/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@example/basic-script",
2+
"name": "@objectql/starter-basic-script",
33
"version": "6.0.0",
44
"license": "MIT",
55
"author": "ObjectQL Contributors",

examples/starters/express-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@example/express-api",
2+
"name": "@objectql/starter-express-api",
33
"version": "1.1.4",
44
"license": "MIT",
55
"author": "ObjectQL Contributors",

packages/cli/tsconfig.json

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module.exports = {
33
testEnvironment: 'node',
44
testMatch: ['**/test/**/*.test.ts'],
55
moduleNameMapper: {
6-
'^@objectql/(.*)$': '<rootDir>/../$1/src',
6+
'^@objectql/types$': '<rootDir>/../../foundation/types/src',
7+
'^@objectql/core$': '<rootDir>/../../foundation/core/src',
78
},
89
transform: {
910
'^.+\\.ts$': ['ts-jest', {

0 commit comments

Comments
 (0)