sinfactura-types 1.6.1 → 1.6.3
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/cash.d.ts +5 -0
- package/dist/store.d.ts +25 -0
- package/package.json +1 -1
package/dist/cash.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ declare global {
|
|
|
9
9
|
outcome?: number;
|
|
10
10
|
balance?: number;
|
|
11
11
|
subject?: string;
|
|
12
|
+
currency?: string;
|
|
13
|
+
currencyValue?: number;
|
|
14
|
+
currencyValueAt?: number;
|
|
15
|
+
balanceByCurrency?: Record<string, number>;
|
|
16
|
+
incomeByCurrency?: Record<string, number>;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
14
19
|
export {};
|
package/dist/store.d.ts
CHANGED
|
@@ -119,7 +119,32 @@ declare global {
|
|
|
119
119
|
priceDecimals: 0 | 1 | 2 | 3;
|
|
120
120
|
stock: boolean;
|
|
121
121
|
changePrice: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @deprecated since app#1539 — alias of `displayCurrency`. Kept
|
|
124
|
+
* during the migration so unmigrated readers stay correct.
|
|
125
|
+
* Removed once every FE read-site has switched to
|
|
126
|
+
* `displayCurrency`.
|
|
127
|
+
*/
|
|
122
128
|
currency: string;
|
|
129
|
+
/**
|
|
130
|
+
* Back-office display currency (catalogId). The single currency
|
|
131
|
+
* the operator's screens are framed in — distinct from the
|
|
132
|
+
* currency of any individual money entity (Order / Invoice /
|
|
133
|
+
* etc carry their own self-describing `currency` stamps).
|
|
134
|
+
*/
|
|
135
|
+
displayCurrency?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Seed catalogId for new Product writes. Used by the FE product
|
|
138
|
+
* form to populate the currency selector default — does NOT
|
|
139
|
+
* reinterpret existing Product rows.
|
|
140
|
+
*/
|
|
141
|
+
defaultProductCurrency?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Seed catalogId for new Account / SupplierAccount writes. Used
|
|
144
|
+
* by the FE cuenta form to populate the currency selector
|
|
145
|
+
* default — does NOT reinterpret existing Account rows.
|
|
146
|
+
*/
|
|
147
|
+
defaultAccountCurrency?: string;
|
|
123
148
|
};
|
|
124
149
|
features: FeatureFlags;
|
|
125
150
|
ecommerce?: Ecommerce;
|