0.1.1 #2

Merged
Thilawyn merged 2 commits from next into master 2024-06-23 01:24:53 +02:00
4 changed files with 17 additions and 7 deletions

BIN
bun.lockb

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{
"name": "@thilawyn/thilalib",
"version": "0.1.0",
"version": "0.1.1",
"type": "module",
"files": [
"./dist"
@@ -46,20 +46,20 @@
"clean:node": "rm -rf node_modules"
},
"dependencies": {
"remeda": "^2.0.10",
"remeda": "^2.2.0",
"type-fest": "^4.20.1"
},
"devDependencies": {
"bun-types": "^1.1.13",
"bun-types": "^1.1.15",
"npm-check-updates": "^16.14.20",
"npm-sort": "^0.0.4",
"tsup": "^8.1.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5"
"tsx": "^4.15.7",
"typescript": "^5.5.2"
},
"optionalDependencies": {
"@effect/schema": "^0.68.0",
"effect": "^3.3.4",
"@effect/schema": "^0.68.5",
"effect": "^3.4.0",
"mobx": "^6.12.4"
}
}

9
src/effect/schema/Tag.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Schema as S } from "@effect/schema"
export function Tag<Tag extends string>(tag: Tag) {
return S.withConstructorDefault(
S.propertySignature(S.Literal(tag)),
() => tag,
)
}

View File

@@ -1 +1,2 @@
export { Jsonifiable } from "./Jsonifiable"
export { Tag } from "./Tag"