mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 12:04:02 +00:00
feat(WHE-20): implement deterministic monthly settlement engine
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
"name": "@household/domain",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "bun build src/index.ts --outdir dist --target bun",
|
||||
"typecheck": "tsgo --project tsconfig.json --noEmit",
|
||||
|
||||
@@ -15,5 +15,6 @@ export const DOMAIN_ERROR_CODE = {
|
||||
INVALID_SPLIT_PARTS: 'INVALID_SPLIT_PARTS',
|
||||
INVALID_SPLIT_WEIGHTS: 'INVALID_SPLIT_WEIGHTS',
|
||||
INVALID_BILLING_PERIOD: 'INVALID_BILLING_PERIOD',
|
||||
INVALID_ENTITY_ID: 'INVALID_ENTITY_ID'
|
||||
INVALID_ENTITY_ID: 'INVALID_ENTITY_ID',
|
||||
INVALID_SETTLEMENT_INPUT: 'INVALID_SETTLEMENT_INPUT'
|
||||
} as const
|
||||
|
||||
Reference in New Issue
Block a user