sinfactura-types 1.6.67 → 1.6.68

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.
Files changed (2) hide show
  1. package/dist/seeder.d.ts +11 -0
  2. package/package.json +1 -1
package/dist/seeder.d.ts CHANGED
@@ -49,6 +49,17 @@ declare global {
49
49
  completed: number;
50
50
  total: number;
51
51
  costUsd?: number;
52
+ /**
53
+ * `true` once the drafts have actually been copied into the live partitions.
54
+ *
55
+ * `status: 'done'` alone CANNOT tell you this — it means "generation finished",
56
+ * and it keeps saying that after the commit too. Without this flag the FE can't
57
+ * tell a job that is READY to commit from one already committed, so the wizard
58
+ * offers "Confirmar" a second time and the tenant earns a 409.
59
+ *
60
+ * Derived server-side from an internal marker; the timestamp itself never ships.
61
+ */
62
+ committed?: boolean;
52
63
  /** Preview cards streamed so far. EMPTY until the stage workers write `SEED_DRAFT#` rows (api#1080). */
53
64
  samples?: SeedSampleCard[];
54
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.67",
3
+ "version": "1.6.68",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",