mirror of
https://github.com/zoriya/flood.git
synced 2026-06-04 11:35:11 +00:00
shared: schema: split enums from schemas
Otherwise zod will be included in client dependency graph and increase the bundle size by 10kB unnecessarily.
This commit is contained in:
@@ -4,7 +4,7 @@ import Datastore from 'nedb';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import {AccessLevel} from '../../shared/schema/Auth';
|
||||
import {AccessLevel} from '../../shared/schema/constants/Auth';
|
||||
|
||||
import type {Credentials, UserInDatabase} from '../../shared/schema/Auth';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user