Skip to content

Commit a19d1c1

Browse files
committed
undeprecate stuff
1 parent 99f9cd3 commit a19d1c1

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

src/storage/drizzle.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,12 @@ export function createDrizzleStore(options: DrizzleAdapterConfig): Storage {
480480
}
481481

482482
/**
483-
* @deprecated Use `createDrizzleStore` instead. This class will be removed in the next major version.
483+
* Storage adapter class for Drizzle ORM
484+
*
485+
* @example
486+
* ```typescript
487+
* const store = new DrizzleStore({ db, table: apikey, provider: 'pg' });
488+
* ```
484489
*/
485490
export class DrizzleStore implements Storage {
486491
private readonly storage: Storage;

src/storage/kysely.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,12 @@ export function createKyselyStore(options: KyselyAdapterConfig): Storage {
488488
}
489489

490490
/**
491-
* @deprecated Use `createKyselyStore` instead. This class will be removed in the next major version.
491+
* Storage adapter class for Kysely Query Builder
492+
*
493+
* @example
494+
* ```typescript
495+
* const store = new KyselyStore({ db, table: 'apikey', provider: 'pg' });
496+
* ```
492497
*/
493498
export class KyselyStore implements Storage {
494499
private readonly storage: Storage;

src/storage/prisma.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,12 @@ export function createPrismaStore(options: PrismaAdapterConfig): Storage {
443443
}
444444

445445
/**
446-
* @deprecated Use `createPrismaStore` instead. This class will be removed in the next major version.
446+
* Storage adapter class for Prisma ORM
447+
*
448+
* @example
449+
* ```typescript
450+
* const store = new PrismaStore({ prisma, model: 'apiKey' });
451+
* ```
447452
*/
448453
export class PrismaStore implements Storage {
449454
private readonly storage: Storage;

0 commit comments

Comments
 (0)