@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/index.js
CHANGED
|
@@ -34337,7 +34337,7 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
34337
34337
|
available_scopes: jsonb("available_scopes").$type().notNull().default([]),
|
|
34338
34338
|
capabilities: jsonb("capabilities").$type().default([]),
|
|
34339
34339
|
connector_provider: varchar("connector_provider", { length: 64 }).notNull(),
|
|
34340
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
34340
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
34341
34341
|
email: varchar("email", { length: 320 }),
|
|
34342
34342
|
external_account_id: varchar("external_account_id", {
|
|
34343
34343
|
length: 255
|
|
@@ -34350,18 +34350,18 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
34350
34350
|
label: varchar("label", { length: 255 }),
|
|
34351
34351
|
metadata: jsonb("metadata").$type().default({}),
|
|
34352
34352
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
34353
|
-
updated_at: timestamp("updated_at").notNull().defaultNow(),
|
|
34353
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
34354
34354
|
username: varchar("username", { length: 255 })
|
|
34355
34355
|
});
|
|
34356
34356
|
var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
34357
34357
|
access_token_ciphertext: text("access_token_ciphertext"),
|
|
34358
34358
|
auth_provider_key: varchar("auth_provider_key", { length: 64 }).notNull(),
|
|
34359
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
34360
|
-
expires_at: timestamp("expires_at"),
|
|
34359
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
34360
|
+
expires_at: timestamp("expires_at", { withTimezone: true }),
|
|
34361
34361
|
granted_scopes: jsonb("granted_scopes").$type().notNull().default([]),
|
|
34362
34362
|
id: varchar("id", { length: 255 }).primaryKey(),
|
|
34363
34363
|
last_refresh_error: text("last_refresh_error"),
|
|
34364
|
-
last_refreshed_at: timestamp("last_refreshed_at"),
|
|
34364
|
+
last_refreshed_at: timestamp("last_refreshed_at", { withTimezone: true }),
|
|
34365
34365
|
metadata: jsonb("metadata").$type().default({}),
|
|
34366
34366
|
owner_ref: varchar("owner_ref", { length: 255 }).notNull(),
|
|
34367
34367
|
provider_family: varchar("provider_family", { length: 64 }).notNull(),
|
|
@@ -34369,7 +34369,7 @@ var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
|
34369
34369
|
refresh_token_ciphertext: text("refresh_token_ciphertext"),
|
|
34370
34370
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
34371
34371
|
token_type: varchar("token_type", { length: 64 }),
|
|
34372
|
-
updated_at: timestamp("updated_at").notNull().defaultNow()
|
|
34372
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
34373
34373
|
});
|
|
34374
34374
|
var toTimestamp = (value) => value === undefined ? null : new Date(value);
|
|
34375
34375
|
var fromTimestamp = (value) => value === null ? undefined : value.getTime();
|
|
@@ -41445,5 +41445,5 @@ export {
|
|
|
41445
41445
|
writeWarrant
|
|
41446
41446
|
};
|
|
41447
41447
|
|
|
41448
|
-
//# debugId=
|
|
41448
|
+
//# debugId=ED19DD93253BFAE664756E2164756E21
|
|
41449
41449
|
//# sourceMappingURL=index.js.map
|