@zodic/shared 0.0.277 → 0.0.279

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.277",
3
+ "version": "0.0.279",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -368,6 +368,7 @@ export interface OAuthCompleteBody {
368
368
  tiktokUsername?: string | null;
369
369
  birthLocation: string;
370
370
  language: Languages;
371
+ gender: Gender;
371
372
  }
372
373
 
373
374
  export interface SignupBody {
@@ -383,6 +384,7 @@ export interface SignupBody {
383
384
  birthTime?: string | null; // Optional, format: "HH:mm" or null
384
385
  birthLocation: string;
385
386
  language: Languages;
387
+ gender: Gender;
386
388
  }
387
389
 
388
390
  export interface JWK {