@remit/auth-service 0.0.13 → 0.0.14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/auth-service",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "better-auth identity service for the self-host stack",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -10,7 +10,6 @@
10
10
  // every deployed instance and rewrite all five tables. Match better-auth's
11
11
  // runtime expectations by hand when a version bump changes them, and let
12
12
  // vps-migrations-drift.sqlite.test.ts catch the migration side.
13
- import { relations } from "drizzle-orm";
14
13
  import { index, integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
15
14
 
16
15
  export const auth_user = sqliteTable("auth_user", {
@@ -106,22 +105,3 @@ export const auth_jwks = sqliteTable("auth_jwks", {
106
105
  createdAt: integer("created_at", { mode: "timestamp" }).notNull(),
107
106
  expiresAt: integer("expires_at", { mode: "timestamp" }),
108
107
  });
109
-
110
- export const auth_userRelations = relations(auth_user, ({ many }) => ({
111
- auth_sessions: many(auth_session),
112
- auth_accounts: many(auth_account),
113
- }));
114
-
115
- export const auth_sessionRelations = relations(auth_session, ({ one }) => ({
116
- auth_user: one(auth_user, {
117
- fields: [auth_session.userId],
118
- references: [auth_user.id],
119
- }),
120
- }));
121
-
122
- export const auth_accountRelations = relations(auth_account, ({ one }) => ({
123
- auth_user: one(auth_user, {
124
- fields: [auth_account.userId],
125
- references: [auth_user.id],
126
- }),
127
- }));