@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
|
@@ -15140,7 +15140,7 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
15140
15140
|
available_scopes: jsonb("available_scopes").$type().notNull().default([]),
|
|
15141
15141
|
capabilities: jsonb("capabilities").$type().default([]),
|
|
15142
15142
|
connector_provider: varchar("connector_provider", { length: 64 }).notNull(),
|
|
15143
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
15143
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
15144
15144
|
email: varchar("email", { length: 320 }),
|
|
15145
15145
|
external_account_id: varchar("external_account_id", {
|
|
15146
15146
|
length: 255
|
|
@@ -15153,18 +15153,18 @@ var linkedProviderBindingsTable = pgTable("linked_provider_bindings", {
|
|
|
15153
15153
|
label: varchar("label", { length: 255 }),
|
|
15154
15154
|
metadata: jsonb("metadata").$type().default({}),
|
|
15155
15155
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
15156
|
-
updated_at: timestamp("updated_at").notNull().defaultNow(),
|
|
15156
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
15157
15157
|
username: varchar("username", { length: 255 })
|
|
15158
15158
|
});
|
|
15159
15159
|
var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
15160
15160
|
access_token_ciphertext: text("access_token_ciphertext"),
|
|
15161
15161
|
auth_provider_key: varchar("auth_provider_key", { length: 64 }).notNull(),
|
|
15162
|
-
created_at: timestamp("created_at").notNull().defaultNow(),
|
|
15163
|
-
expires_at: timestamp("expires_at"),
|
|
15162
|
+
created_at: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
15163
|
+
expires_at: timestamp("expires_at", { withTimezone: true }),
|
|
15164
15164
|
granted_scopes: jsonb("granted_scopes").$type().notNull().default([]),
|
|
15165
15165
|
id: varchar("id", { length: 255 }).primaryKey(),
|
|
15166
15166
|
last_refresh_error: text("last_refresh_error"),
|
|
15167
|
-
last_refreshed_at: timestamp("last_refreshed_at"),
|
|
15167
|
+
last_refreshed_at: timestamp("last_refreshed_at", { withTimezone: true }),
|
|
15168
15168
|
metadata: jsonb("metadata").$type().default({}),
|
|
15169
15169
|
owner_ref: varchar("owner_ref", { length: 255 }).notNull(),
|
|
15170
15170
|
provider_family: varchar("provider_family", { length: 64 }).notNull(),
|
|
@@ -15172,7 +15172,7 @@ var linkedProviderGrantsTable = pgTable("linked_provider_grants", {
|
|
|
15172
15172
|
refresh_token_ciphertext: text("refresh_token_ciphertext"),
|
|
15173
15173
|
status: varchar("status", { length: 64 }).$type().notNull(),
|
|
15174
15174
|
token_type: varchar("token_type", { length: 64 }),
|
|
15175
|
-
updated_at: timestamp("updated_at").notNull().defaultNow()
|
|
15175
|
+
updated_at: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
|
|
15176
15176
|
});
|
|
15177
15177
|
var toTimestamp = (value) => value === undefined ? null : new Date(value);
|
|
15178
15178
|
var fromTimestamp = (value) => value === null ? undefined : value.getTime();
|
|
@@ -15399,5 +15399,5 @@ export {
|
|
|
15399
15399
|
linkedProviderGrantsTable
|
|
15400
15400
|
};
|
|
15401
15401
|
|
|
15402
|
-
//# debugId=
|
|
15402
|
+
//# debugId=C2863A61B7F5183B64756E2164756E21
|
|
15403
15403
|
//# sourceMappingURL=index.js.map
|