@absolutejs/auth 0.45.2 → 0.45.5

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.
@@ -1,4 +1,4 @@
1
- import { type AnyPgDatabase, type PgQueryResultHKT } from '../stores/postgres';
1
+ import { type AnyPgDatabase } from '../stores/postgres';
2
2
  import type { InvitationState, MembershipStatus, OrganizationStore } from './types';
3
3
  export declare const organizationInvitationsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
4
  name: "auth_organization_invitations";
@@ -409,4 +409,4 @@ export declare const organizationsTable: import("drizzle-orm/pg-core").PgTableWi
409
409
  dialect: "pg";
410
410
  }>;
411
411
  export declare const createNeonOrganizationStore: (databaseUrl: string) => OrganizationStore;
412
- export declare const createPostgresOrganizationStore: <Q extends PgQueryResultHKT>(db: AnyPgDatabase<Q>) => OrganizationStore;
412
+ export declare const createPostgresOrganizationStore: <DB extends AnyPgDatabase>(db: DB) => OrganizationStore;
@@ -1,4 +1,4 @@
1
- import { type AnyPgDatabase, type PgQueryResultHKT } from '../stores/postgres';
1
+ import { type AnyPgDatabase } from '../stores/postgres';
2
2
  import type { SetupCapability, SetupSessionStore } from './types';
3
3
  export declare const setupSessionsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
4
  name: "auth_setup_sessions";
@@ -137,4 +137,4 @@ export declare const setupSessionsTable: import("drizzle-orm/pg-core").PgTableWi
137
137
  dialect: "pg";
138
138
  }>;
139
139
  export declare const createNeonSetupSessionStore: (databaseUrl: string) => SetupSessionStore;
140
- export declare const createPostgresSetupSessionStore: <Q extends PgQueryResultHKT>(db: AnyPgDatabase<Q>) => SetupSessionStore;
140
+ export declare const createPostgresSetupSessionStore: <DB extends AnyPgDatabase>(db: DB) => SetupSessionStore;
@@ -1,4 +1,4 @@
1
- import { type AnyPgDatabase, type PgQueryResultHKT } from '../stores/postgres';
1
+ import { type AnyPgDatabase } from '../stores/postgres';
2
2
  import type { ScimTokenStore } from './types';
3
3
  export declare const scimTokensTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
4
  name: "auth_scim_tokens";
@@ -99,4 +99,4 @@ export declare const scimTokensTable: import("drizzle-orm/pg-core").PgTableWithC
99
99
  dialect: "pg";
100
100
  }>;
101
101
  export declare const createNeonScimTokenStore: (databaseUrl: string) => ScimTokenStore;
102
- export declare const createPostgresScimTokenStore: <Q extends PgQueryResultHKT>(db: AnyPgDatabase<Q>) => ScimTokenStore;
102
+ export declare const createPostgresScimTokenStore: <DB extends AnyPgDatabase>(db: DB) => ScimTokenStore;
@@ -1,4 +1,4 @@
1
- import { type AnyPgDatabase, type PgQueryResultHKT } from '../stores/postgres';
1
+ import { type AnyPgDatabase } from '../stores/postgres';
2
2
  import type { OidcConnectionConfig, SamlConnectionConfig, SSOConnectionStore, SSOConnectionType } from './types';
3
3
  export declare const ssoConnectionsTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
4
  name: "auth_sso_connections";
@@ -136,4 +136,4 @@ export declare const ssoConnectionsTable: import("drizzle-orm/pg-core").PgTableW
136
136
  dialect: "pg";
137
137
  }>;
138
138
  export declare const createNeonSsoConnectionStore: (databaseUrl: string) => SSOConnectionStore;
139
- export declare const createPostgresSsoConnectionStore: <Q extends PgQueryResultHKT>(db: AnyPgDatabase<Q>) => SSOConnectionStore;
139
+ export declare const createPostgresSsoConnectionStore: <DB extends AnyPgDatabase>(db: DB) => SSOConnectionStore;
@@ -1,6 +1,5 @@
1
- import type { PgDatabase, PgQueryResultHKT } from 'drizzle-orm/pg-core';
2
- export type AnyPgDatabase<Q extends PgQueryResultHKT = PgQueryResultHKT> = PgDatabase<Q>;
3
- export type { PgQueryResultHKT } from 'drizzle-orm/pg-core';
1
+ import type { PgDatabase } from 'drizzle-orm/pg-core';
2
+ export type AnyPgDatabase = PgDatabase<any, any, any>;
4
3
  export declare const createNeonDatabase: (databaseUrl: string) => import("drizzle-orm/neon-http").NeonHttpDatabase<Record<string, never>> & {
5
4
  $client: import("@neondatabase/serverless").NeonQueryFunction<false, false>;
6
5
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.45.2",
2
+ "version": "0.45.5",
3
3
  "name": "@absolutejs/auth",
4
4
  "description": "An authorization library for absolutejs",
5
5
  "repository": {