@remit/drizzle-pg-schema 0.0.26 → 0.0.27

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/dist/schema.d.ts CHANGED
@@ -860,6 +860,23 @@ export declare const accounts: import("drizzle-orm/pg-core").PgTableWithColumns<
860
860
  identity: undefined;
861
861
  generated: undefined;
862
862
  }, {}, {}>;
863
+ grantedScopes: import("drizzle-orm/pg-core").PgColumn<{
864
+ name: "granted_scopes";
865
+ tableName: "account";
866
+ dataType: "json";
867
+ columnType: "PgJsonb";
868
+ data: unknown;
869
+ driverParam: unknown;
870
+ notNull: true;
871
+ hasDefault: true;
872
+ isPrimaryKey: false;
873
+ isAutoincrement: false;
874
+ hasRuntimeDefault: false;
875
+ enumValues: undefined;
876
+ baseColumn: never;
877
+ identity: undefined;
878
+ generated: undefined;
879
+ }, {}, {}>;
863
880
  passwordHash: import("drizzle-orm/pg-core").PgColumn<{
864
881
  name: "password_hash";
865
882
  tableName: "account";
package/dist/schema.js CHANGED
@@ -60,6 +60,7 @@ export const accounts = pgTable("account", {
60
60
  email: text("email").notNull(),
61
61
  authType: text("auth_type").$type().notNull().default("password"),
62
62
  syncedServices: jsonb("synced_services").notNull(),
63
+ grantedScopes: jsonb("granted_scopes").notNull().default([]),
63
64
  passwordHash: nullableText("password_hash"),
64
65
  oauthRefreshTokenHash: nullableText("oauth_refresh_token_hash"),
65
66
  oauthTokenUpdatedAt: nullableBigint("oauth_token_updated_at"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/drizzle-pg-schema",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.ts CHANGED
@@ -78,6 +78,7 @@ export const accounts = pgTable(
78
78
  email: text("email").notNull(),
79
79
  authType: text("auth_type").$type<"password" | "oauthMicrosoft">().notNull().default("password"),
80
80
  syncedServices: jsonb("synced_services").notNull(),
81
+ grantedScopes: jsonb("granted_scopes").notNull().default([]),
81
82
  passwordHash: nullableText("password_hash"),
82
83
  oauthRefreshTokenHash: nullableText("oauth_refresh_token_hash"),
83
84
  oauthTokenUpdatedAt: nullableBigint("oauth_token_updated_at"),