@classytic/ledger-bd 0.3.1 → 0.5.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.
@@ -0,0 +1,42 @@
1
+ import { AccountType } from "@classytic/ledger";
2
+
3
+ //#region src/verticals/school/accounts.d.ts
4
+ declare const SCHOOL_ACCOUNTS: AccountType[];
5
+ //#endregion
6
+ //#region src/verticals/agro/accounts.d.ts
7
+ declare const AGRO_ACCOUNTS: AccountType[];
8
+ //#endregion
9
+ //#region src/verticals/real-estate/accounts.d.ts
10
+ declare const REAL_ESTATE_ACCOUNTS: AccountType[];
11
+ //#endregion
12
+ //#region src/verticals/ngo-microfinance/accounts.d.ts
13
+ declare const NGO_MFI_ACCOUNTS: AccountType[];
14
+ //#endregion
15
+ //#region src/verticals/restaurant/accounts.d.ts
16
+ declare const RESTAURANT_ACCOUNTS: AccountType[];
17
+ //#endregion
18
+ //#region src/verticals/rmg-enhancement/accounts.d.ts
19
+ declare const RMG_ENHANCEMENT_ACCOUNTS: AccountType[];
20
+ //#endregion
21
+ //#region src/verticals/hospital-enhancement/accounts.d.ts
22
+ declare const HOSPITAL_ENHANCEMENT_ACCOUNTS: AccountType[];
23
+ //#endregion
24
+ //#region src/verticals/index.d.ts
25
+ type VerticalName = 'school' | 'agro' | 'real-estate' | 'ngo-microfinance' | 'restaurant' | 'rmg-enhancement' | 'hospital-enhancement';
26
+ /** Reserved numeric-code blocks per category, one per vertical — see README.md. Non-overlapping by design; any new vertical must claim an unused block here before adding accounts. */
27
+ declare const CODE_BLOCKS: Record<VerticalName, {
28
+ assets?: string;
29
+ liabilities?: string;
30
+ equity?: string;
31
+ revenue?: string;
32
+ cogs?: string;
33
+ expenses?: string;
34
+ }>;
35
+ /**
36
+ * Compose the core chart with one or more verticals by name. Order is
37
+ * preserved (core first, then verticals in the order given); duplicate
38
+ * vertical names are applied once.
39
+ */
40
+ declare function applyVerticals(coreAccountTypes: readonly AccountType[], verticals: VerticalName[]): AccountType[];
41
+ //#endregion
42
+ export { AGRO_ACCOUNTS, CODE_BLOCKS, HOSPITAL_ENHANCEMENT_ACCOUNTS, NGO_MFI_ACCOUNTS, REAL_ESTATE_ACCOUNTS, RESTAURANT_ACCOUNTS, RMG_ENHANCEMENT_ACCOUNTS, SCHOOL_ACCOUNTS, VerticalName, applyVerticals };