temp
This commit is contained in:
@@ -2,6 +2,7 @@ import { User, UserInit, UserServices } from '../auth/models/index.ts';
|
||||
import { UserSecretInit, UserSecret } from '../auth/models/index.ts';
|
||||
import { OrgInit } from '../auth/models/index.ts';
|
||||
export { User, UserInit, UserServices, UserSecret };
|
||||
import { useContextKey } from '@kevisual/context';
|
||||
const init = async () => {
|
||||
await OrgInit(null, null, {
|
||||
alter: true,
|
||||
@@ -21,5 +22,7 @@ const init = async () => {
|
||||
}).catch((e) => {
|
||||
console.error('UserSecret sync', e);
|
||||
});
|
||||
console.log('Models synced');
|
||||
useContextKey('models-synced', true);
|
||||
};
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user