sinfactura-types 1.6.83 → 1.6.85
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/store.d.ts +23 -0
- package/package.json +1 -1
package/dist/store.d.ts
CHANGED
|
@@ -143,6 +143,29 @@ declare global {
|
|
|
143
143
|
* default — does NOT reinterpret existing Account rows.
|
|
144
144
|
*/
|
|
145
145
|
defaultAccountCurrency?: string;
|
|
146
|
+
/**
|
|
147
|
+
* api#1740 — per-category × per-channel notification/feedback defaults.
|
|
148
|
+
* Store-level baseline the app layers per-device overrides on top of
|
|
149
|
+
* (app#2085); absent ⇒ the FE falls back to all-on. Purely FE-read — no
|
|
150
|
+
* BE behavior depends on these; `PATCH /store` validates shape only.
|
|
151
|
+
* Open key set (lowercase English category keys: `scan`, `payments`, …).
|
|
152
|
+
*/
|
|
153
|
+
feedbackDefaults?: Record<string, {
|
|
154
|
+
sound?: boolean;
|
|
155
|
+
visual?: boolean;
|
|
156
|
+
}>;
|
|
157
|
+
/**
|
|
158
|
+
* api#1876 — guided-setup onboarding progress (app#998, ADR-0020).
|
|
159
|
+
* Store-level wizard state persisted across sessions. Purely FE-read —
|
|
160
|
+
* no BE behavior depends on these; `PATCH /store` validates shape only.
|
|
161
|
+
* First-login is DERIVED FE-side (absent block, or neither `completed`
|
|
162
|
+
* nor `skipped` ⇒ show the wizard) — there is no BE first-login field.
|
|
163
|
+
*/
|
|
164
|
+
onboarding?: {
|
|
165
|
+
step: number;
|
|
166
|
+
completed: boolean;
|
|
167
|
+
skipped: boolean;
|
|
168
|
+
};
|
|
146
169
|
};
|
|
147
170
|
features: FeatureFlags;
|
|
148
171
|
ecommerce?: Ecommerce;
|