File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff 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 */
485490export class DrizzleStore implements Storage {
486491 private readonly storage : Storage ;
Original file line number Diff line number Diff 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 */
493498export class KyselyStore implements Storage {
494499 private readonly storage : Storage ;
Original file line number Diff line number Diff 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 */
448453export class PrismaStore implements Storage {
449454 private readonly storage : Storage ;
You can’t perform that action at this time.
0 commit comments