@zodic/shared 0.0.31 → 0.0.33

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.
@@ -29,6 +29,20 @@
29
29
  "when": 1737680440619,
30
30
  "tag": "0003_fearless_giant_girl",
31
31
  "breakpoints": true
32
+ },
33
+ {
34
+ "idx": 4,
35
+ "version": "6",
36
+ "when": 1737682853316,
37
+ "tag": "0004_typical_king_bedlam",
38
+ "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1737683444742,
44
+ "tag": "0005_powerful_meltdown",
45
+ "breakpoints": true
32
46
  }
33
47
  ]
34
48
  }
package/db/schema.ts CHANGED
@@ -50,6 +50,20 @@ export const users = sqliteTable(
50
50
  ]
51
51
  );
52
52
 
53
+ export const usersTemp = sqliteTable(
54
+ 'users_temp',
55
+ {
56
+ id: text('id').primaryKey(),
57
+ email: text('email').notNull().unique(),
58
+ name: text('name').notNull(),
59
+ profileImage: text('profile_image'),
60
+ oauthProvider: text('oauth_provider'), // e.g., "google", "facebook", "apple", nullable for password-based login
61
+ oauthProviderId: text('oauth_provider_id').unique(), // Unique identifier from the provider
62
+ ...timestampFields,
63
+ },
64
+ (t) => [index('users_temp_email_idx').on(t.email)]
65
+ );
66
+
53
67
  export const creditsTransactions = sqliteTable(
54
68
  'credits_transactions',
55
69
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {