Move shared code into own directory for use in new frontend.
This commit is contained in:
parent
d5c0538544
commit
dda66c67bd
10 changed files with 9 additions and 9 deletions
server/types
|
@ -1,5 +1,5 @@
|
|||
import {ArrayField, Field, RawJsonField} from "sparkson"
|
||||
import {ClientConfig, DurationMilliseconds, isString, toIsNewtype, Url} from "./shared";
|
||||
import {ClientConfig, DurationMilliseconds, isString, toIsNewtype, Url} from "../shared/types";
|
||||
|
||||
export type Username = string & { readonly __tag: unique symbol };
|
||||
export const isUsername = toIsNewtype(isString, "" as Username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue