@zodic/shared 0.0.278 → 0.0.280

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.
@@ -36,6 +36,13 @@
36
36
  "when": 1742042357823,
37
37
  "tag": "0004_loose_iron_monger",
38
38
  "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1742419128409,
44
+ "tag": "0005_famous_cammi",
45
+ "breakpoints": true
39
46
  }
40
47
  ]
41
48
  }
package/db/schema.ts CHANGED
@@ -40,7 +40,7 @@ export const users = sqliteTable(
40
40
  tiktokUsername: text('tiktok_username').unique(), // Fix typo
41
41
  oauthProvider: text('oauth_provider'), // e.g., "google", "facebook", "apple", nullable for password-based login
42
42
  oauthProviderId: text('oauth_provider_id').unique(), // Unique identifier from the provider
43
- credits_balance: integer('credits_balance').default(0).notNull(),
43
+ creditsBalance: integer('credits_balance').default(0).notNull(),
44
44
  totalCreditsEarned: integer('total_credits_earned').default(0).notNull(),
45
45
  lastTransactionAt: integer('last_transaction_at', { mode: 'timestamp' }), // Nullable for no transactions
46
46
  language: text('language').notNull(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.278",
3
+ "version": "0.0.280",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -555,4 +555,26 @@ export type UserConceptData = {
555
555
  };
556
556
  combinationString: string; // e.g., "sagittarius-aquarius-libra"
557
557
  conceptSlug: Concept;
558
+ };
559
+
560
+ export type UserProfile = {
561
+ email: string;
562
+ name: string;
563
+ profileImage: string | null;
564
+ userPhotoId: string | null;
565
+ userPhotoUrl: string | null;
566
+ gender: string | null;
567
+ day: number;
568
+ month: number;
569
+ year: number;
570
+ hour: number | null;
571
+ min: number | null;
572
+ latitude: number;
573
+ longitude: number;
574
+ birthLocation: string;
575
+ instagramUsername: string | null;
576
+ tiktokUsername: string | null;
577
+ oauthProvider: string | null;
578
+ creditsBalance: number;
579
+ language: string;
558
580
  };