@absolutejs/auth 0.77.1 → 0.78.0
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/cli/migrate.js +7 -7
- package/dist/cli/migrate.js.map +3 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +3 -3
- package/dist/linkedProviders/index.js +7 -7
- package/dist/linkedProviders/index.js.map +3 -3
- package/dist/server.js +7 -7
- package/dist/server.js.map +3 -3
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -35333,7 +35333,7 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
35333
35333
|
available_scopes: jsonb("available_scopes").$type().notNull().default([]),
|
|
35334
35334
|
capabilities: jsonb("capabilities").$type().default([]),
|
|
35335
35335
|
connector_provider: varchar("connector_provider", { length: 64 }).notNull(),
|
|
35336
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
35336
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
35337
35337
|
email: varchar("email", { length: 320 }),
|
|
35338
35338
|
external_account_id: varchar("external_account_id", {
|
|
35339
35339
|
length: 255
|
|
@@ -35346,18 +35346,18 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
35346
35346
|
label: varchar("label", { length: 255 }),
|
|
35347
35347
|
metadata: jsonb("metadata").$type().default({}),
|
|
35348
35348
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
35349
|
-
updated_at: timestamp("updated_at").notNull().defaultNow(),
|
|
35349
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
35350
35350
|
username: varchar("username", { length: 255 })
|
|
35351
35351
|
});
|
|
35352
35352
|
var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
35353
35353
|
access_token_ciphertext: text("access_token_ciphertext"),
|
|
35354
35354
|
auth_provider_key: varchar("auth_provider_key", { length: 64 }).notNull(),
|
|
35355
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
35356
|
-
expires_at: timestamp("expires_at"),
|
|
35355
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
35356
|
+
expires_at: timestamp("expires_at", { withTimezone: true }),
|
|
35357
35357
|
granted_scopes: jsonb("granted_scopes").$type().notNull().default([]),
|
|
35358
35358
|
id: varchar("id", { length: 255 }).primaryKey(),
|
|
35359
35359
|
last_refresh_error: text("last_refresh_error"),
|
|
35360
|
-
last_refreshed_at: timestamp("last_refreshed_at"),
|
|
35360
|
+
last_refreshed_at: timestamp("last_refreshed_at", { withTimezone: true }),
|
|
35361
35361
|
metadata: jsonb("metadata").$type().default({}),
|
|
35362
35362
|
owner_ref: varchar("owner_ref", { length: 255 }).notNull(),
|
|
35363
35363
|
provider_family: varchar("provider_family", { length: 64 }).notNull(),
|
|
@@ -35365,7 +35365,7 @@ var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
|
35365
35365
|
refresh_token_ciphertext: text("refresh_token_ciphertext"),
|
|
35366
35366
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
35367
35367
|
token_type: varchar("token_type", { length: 64 }),
|
|
35368
|
-
updated_at: timestamp("updated_at").notNull().defaultNow()
|
|
35368
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
35369
35369
|
});
|
|
35370
35370
|
var toTimestamp = (value) => value === undefined ? null : new Date(value);
|
|
35371
35371
|
var fromTimestamp = (value) => value === null ? undefined : value.getTime();
|
|
@@ -42085,5 +42085,5 @@ export {
|
|
|
42085
42085
|
userSessionIdTypebox
|
|
42086
42086
|
};
|
|
42087
42087
|
|
|
42088
|
-
//# debugId=
|
|
42088
|
+
//# debugId=2F4B37C045D05FBC64756E2164756E21
|
|
42089
42089
|
//# sourceMappingURL=server.js.map
|