feat: add demo for mark and user org model

This commit is contained in:
abearxiong committed 2025-03-02 21:21:25 +08:00
1 parent 65ee66d6b4
commit ed4379b589
7 files changed
+838 -145

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { App } from '@kevisual/router';
import { useContextKey, useContext } from '@kevisual/use-config/context';
import { useContextKey } from '@kevisual/use-config/context';
const init = () => {
return new App();
+9
View File
@@ -0,0 +1,9 @@
import { Mark, markModelInit } from '@kevisual/mark';
export { Mark, markModelInit };
export const init = () => {
markModelInit({
tableName: '',
});
};
+1
View File
@@ -0,0 +1 @@
export { sequelize } from '@kevisual/code-center-module';
+9
View File
@@ -0,0 +1,9 @@
import { sequelize, User, UserInit, Org, OrgInit } from '@kevisual/code-center-module';
export { sequelize, User, UserInit, Org, OrgInit };
export const init = () => {
UserInit();
OrgInit();
};
init();