diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..93f962e --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@thilawyn:registry=https://git.jvalver.de/api/packages/thilawyn/npm/ diff --git a/bun.lockb b/bun.lockb index c02ea2e..281a69c 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/bunfig.toml b/bunfig.toml new file mode 100644 index 0000000..bb40fbe --- /dev/null +++ b/bunfig.toml @@ -0,0 +1,2 @@ +[install.scopes] +"@thilawyn" = "https://git.jvalver.de/api/packages/thilawyn/npm/" diff --git a/package.json b/package.json index 4f0ff3b..09e5a88 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "clean:node": "rm -rf node_modules" }, "dependencies": { + "@thilawyn/thilatrait": "^20231230.0.0", "effect": "^2.0.0-next.62", "lodash-es": "^4.17.21", "type-fest": "^4.9.0", diff --git a/src/JsonifiableSchemable.ts b/src/JsonifiableSchemable.ts new file mode 100644 index 0000000..d64e34e --- /dev/null +++ b/src/JsonifiableSchemable.ts @@ -0,0 +1,11 @@ +import { trait } from "@thilawyn/thilatrait" + + +export const JsonifiableSchemable = () => + trait(Parent => { + abstract class JsonifiableSchemable extends Parent { + + } + + return JsonifiableSchemable + })