@develit-services/ledger 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/schema.cjs +2 -2
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/database/schema.mjs +2 -2
- package/dist/export/worker.cjs +2 -2
- package/dist/export/worker.d.cts +4 -5
- package/dist/export/worker.d.mts +4 -5
- package/dist/export/worker.d.ts +4 -5
- package/dist/export/worker.mjs +2 -2
- package/dist/shared/{ledger._BGfS_Xc.mjs → ledger.229hTbXo.mjs} +7 -2
- package/dist/shared/{ledger.BzCZUESF.cjs → ledger.B2SLAQpo.cjs} +1 -1
- package/dist/shared/{ledger.CG3rFnGr.d.cts → ledger.B9-7wKL6.d.cts} +15 -6
- package/dist/shared/{ledger.BChJGa5-.cjs → ledger.C6xAPWKq.cjs} +7 -2
- package/dist/shared/{ledger.X_sUCnek.mjs → ledger.CvKXXw9R.mjs} +1 -1
- package/dist/shared/{ledger.Bo3kdRvg.d.ts → ledger.D9n1klaX.d.cts} +242 -14
- package/dist/shared/{ledger.Bo3kdRvg.d.cts → ledger.D9n1klaX.d.mts} +242 -14
- package/dist/shared/{ledger.Bo3kdRvg.d.mts → ledger.D9n1klaX.d.ts} +242 -14
- package/dist/shared/{ledger.9Ll_cqva.d.mts → ledger.DHX1YtaC.d.ts} +15 -6
- package/dist/shared/{ledger.Vn3IgETm.d.ts → ledger.o5dDJQGc.d.mts} +15 -6
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/types.mjs +1 -1
- package/package.json +8 -10
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.
|
|
1
|
+
export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.D9n1klaX.js';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.DHX1YtaC.js';
|
|
3
|
+
export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.DHX1YtaC.js';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.js';
|
|
5
5
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ACCOUNT_TYPES, d as ALLOWED_TRANSACTION_FILTERS, a as ASSET_TYPES, B as BALANCE_STRATEGIES, y as BATCH_STATUSES, C as COUNTRY_CODES, E as ENTRY_STATUSES, I as IDENTIFIER_KINDS, P as PAYMENT_CHARGE_TYPES, x as PAYMENT_DIRECTIONS, w as PAYMENT_STATUSES, c as PAYMENT_TYPES, R as REFERENCE_TYPES, T as TRANSACTION_STATUSES, b as TRANSACTION_TYPES, e as cancelTransactionInputSchema, f as createAccountInputSchema, g as createTransactionInputSchema, h as deleteAccountInputSchema, i as failTransactionInputSchema, j as findAccountByIdentifierInputSchema, l as getAccountBalanceInputSchema, m as getAccountIdentifierInputSchema, k as getAccountInputSchema, n as getAccountsByOwnerInputSchema, o as getTransactionByIdInputSchema, q as getTransactionsByReferenceIdInputSchema, p as getTransactionsInputSchema, r as listAccountIdentifiersInputSchema, s as listAccountsInputSchema, t as matchTransactionInputSchema, u as updateAccountInputSchema, v as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.
|
|
1
|
+
export { A as ACCOUNT_TYPES, d as ALLOWED_TRANSACTION_FILTERS, a as ASSET_TYPES, B as BALANCE_STRATEGIES, y as BATCH_STATUSES, C as COUNTRY_CODES, E as ENTRY_STATUSES, I as IDENTIFIER_KINDS, P as PAYMENT_CHARGE_TYPES, x as PAYMENT_DIRECTIONS, w as PAYMENT_STATUSES, c as PAYMENT_TYPES, R as REFERENCE_TYPES, T as TRANSACTION_STATUSES, b as TRANSACTION_TYPES, e as cancelTransactionInputSchema, f as createAccountInputSchema, g as createTransactionInputSchema, h as deleteAccountInputSchema, i as failTransactionInputSchema, j as findAccountByIdentifierInputSchema, l as getAccountBalanceInputSchema, m as getAccountIdentifierInputSchema, k as getAccountInputSchema, n as getAccountsByOwnerInputSchema, o as getTransactionByIdInputSchema, q as getTransactionsByReferenceIdInputSchema, p as getTransactionsInputSchema, r as listAccountIdentifiersInputSchema, s as listAccountsInputSchema, t as matchTransactionInputSchema, u as updateAccountInputSchema, v as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.229hTbXo.mjs';
|
|
2
2
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-services/ledger",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dev": "wrangler dev --port 9235 --persist-to ../../.wrangler/state -c ./wrangler.jsonc -c ../../apps/secrets-store/wrangler.jsonc",
|
|
34
34
|
"wrangler:generate": "bunx develit wrangler:generate --types",
|
|
35
35
|
"db:init": "wrangler d1 execute develit-ledger --local --persist-to ../../.wrangler/state --command=\"SELECT 'Creating database...' AS status;\"",
|
|
36
|
-
"db:generate": "drizzle-kit generate",
|
|
37
|
-
"db:migrate": "drizzle-kit migrate",
|
|
38
|
-
"db:explore": "drizzle-kit studio",
|
|
36
|
+
"db:generate": "NODE_OPTIONS='--import tsx' drizzle-kit generate",
|
|
37
|
+
"db:migrate": "NODE_OPTIONS='--import tsx' drizzle-kit migrate",
|
|
38
|
+
"db:explore": "NODE_OPTIONS='--import tsx' drizzle-kit studio",
|
|
39
39
|
"types": "bash typegen.sh",
|
|
40
40
|
"lint": "biome check",
|
|
41
41
|
"lint:fix": "biome format --write && biome lint --write",
|
|
@@ -46,11 +46,9 @@
|
|
|
46
46
|
"build": "unbuild"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@develit-io/backend-sdk": "9.1
|
|
50
|
-
"
|
|
51
|
-
"drizzle-orm": "0.45.0",
|
|
52
|
-
"
|
|
53
|
-
"wrangler": "4.50.0",
|
|
54
|
-
"zod": "4.1.13"
|
|
49
|
+
"@develit-io/backend-sdk": "^9.8.1",
|
|
50
|
+
"@develit-io/general-codes": "^1.14.0",
|
|
51
|
+
"drizzle-orm": "^0.45.0",
|
|
52
|
+
"zod": "^4.1.13"
|
|
55
53
|
}
|
|
56
54
|
}
|