@zodic/shared 0.0.303 → 0.0.304

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.
@@ -793,14 +793,16 @@ export class ArchetypeService {
793
793
  `🎉 [Batch] Completed regenerating ${compositions.length} combinations`
794
794
  );
795
795
  }
796
-
796
+
797
797
  async fetchMissingArchetypeCompositions(): Promise<Composition[]> {
798
798
  const db = this.context.drizzle();
799
799
  const incomplete = await this.findIncompleteCombinations();
800
+ console.log(`🔎 [Fetch] Retrieved ${incomplete.length} incomplete combinations`);
800
801
 
801
802
  const compositions: Composition[] = [];
802
803
 
803
804
  for (const { combination } of incomplete) {
805
+ console.log(`🔍 [Fetch] Processing combination: ${combination}`);
804
806
  const [sun, ascendant, moon] = combination.split('-') as ZodiacSignSlug[];
805
807
 
806
808
  const existing = await db
@@ -829,13 +831,13 @@ export class ArchetypeService {
829
831
  moon,
830
832
  indexesToGenerate,
831
833
  });
834
+ console.log(`✅ [Fetch] Will regenerate indexes [${indexesToGenerate.join(', ')}] for ${combination}`);
832
835
  }
833
836
  }
834
837
 
835
- console.log(
836
- `🧩 [Fetch] Missing archetype compositions to regenerate: ${compositions.length}`
837
- );
838
-
838
+ console.log(`📦 [Fetch] Total compositions to regenerate: ${compositions.length}`);
839
+
840
+
839
841
  return compositions;
840
842
  }
841
843
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.303",
3
+ "version": "0.0.304",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {