@yielded/auth-persistence-drizzle 0.1.0-beta.17 → 0.1.0-beta.19
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/README.md +8 -1
- package/dist/D1.d.mts +120 -120
- package/dist/Libsql.d.mts +154 -154
- package/dist/Mysql2.d.mts +166 -166
- package/dist/Pglite.d.mts +166 -166
- package/dist/Postgres.d.mts +152 -152
- package/dist/SqliteBun.d.mts +168 -168
- package/dist/SqliteDo.d.mts +237 -259
- package/dist/SqliteDo.mjs +30 -45
- package/dist/SqliteDo.mjs.map +1 -1
- package/dist/SqliteNode.d.mts +154 -154
- package/dist/SqliteWasm.d.mts +163 -163
- package/dist/drizzle/crypto.mjs +11 -0
- package/dist/drizzle/crypto.mjs.map +1 -0
- package/dist/drizzle/d1-identity.mjs +2 -2
- package/dist/drizzle/d1-identity.mjs.map +1 -1
- package/dist/drizzle/d1-oauth.d.mts +16 -16
- package/dist/drizzle/d1-oauth.mjs.map +1 -1
- package/dist/drizzle/d1-passkey.d.mts +6 -6
- package/dist/drizzle/d1-passkey.mjs.map +1 -1
- package/dist/drizzle/d1-password-prepared.mjs +3 -3
- package/dist/drizzle/d1-password-prepared.mjs.map +1 -1
- package/dist/drizzle/d1-passwords.d.mts +1 -1
- package/dist/drizzle/d1-passwords.mjs +1 -1
- package/dist/drizzle/d1-passwords.mjs.map +1 -1
- package/dist/drizzle/d1-phone.d.mts +3 -3
- package/dist/drizzle/d1-phone.mjs.map +1 -1
- package/dist/drizzle/d1-proofs.d.mts +1 -1
- package/dist/drizzle/d1-sessions.d.mts +1 -1
- package/dist/drizzle/d1-sessions.mjs +4 -3
- package/dist/drizzle/d1-sessions.mjs.map +1 -1
- package/dist/drizzle/d1-totp.d.mts +3 -3
- package/dist/drizzle/d1-totp.mjs.map +1 -1
- package/dist/drizzle/mysql-identity.mjs +2 -2
- package/dist/drizzle/mysql-identity.mjs.map +1 -1
- package/dist/drizzle/oauth-accounts.mjs +9 -8
- package/dist/drizzle/oauth-accounts.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-collection.mjs +1 -1
- package/dist/drizzle/oauth-connected-collection.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-custody.mjs +5 -4
- package/dist/drizzle/oauth-connected-custody.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-drivers.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-flow.mjs +8 -7
- package/dist/drizzle/oauth-connected-flow.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-management.mjs +3 -2
- package/dist/drizzle/oauth-connected-management.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-reference.mjs +8 -4
- package/dist/drizzle/oauth-connected-reference.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-settlement.mjs +4 -4
- package/dist/drizzle/oauth-connected-settlement.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-sign-in.mjs +11 -10
- package/dist/drizzle/oauth-connected-sign-in.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-state.d.mts +265 -265
- package/dist/drizzle/oauth-connected-state.mjs +23 -20
- package/dist/drizzle/oauth-connected-state.mjs.map +1 -1
- package/dist/drizzle/oauth-connected-target.d.mts +105 -105
- package/dist/drizzle/oauth-connected-target.mjs.map +1 -1
- package/dist/drizzle/oauth-drivers.mjs.map +1 -1
- package/dist/drizzle/oauth-flow.mjs +1 -1
- package/dist/drizzle/oauth-flow.mjs.map +1 -1
- package/dist/drizzle/oauth-model.d.mts +4 -4
- package/dist/drizzle/oauth-model.mjs.map +1 -1
- package/dist/drizzle/oauth-registration.mjs +2 -2
- package/dist/drizzle/oauth-registration.mjs.map +1 -1
- package/dist/drizzle/oauth-state.mjs +11 -12
- package/dist/drizzle/oauth-state.mjs.map +1 -1
- package/dist/drizzle/oauth-target.d.mts +4 -4
- package/dist/drizzle/oauth-target.mjs.map +1 -1
- package/dist/drizzle/passkey-drivers.mjs.map +1 -1
- package/dist/drizzle/passkey-write-drivers.mjs.map +1 -1
- package/dist/drizzle/passkey-write-target.d.mts +1 -1
- package/dist/drizzle/password-prepared-sql.mjs +1 -1
- package/dist/drizzle/password-prepared-sql.mjs.map +1 -1
- package/dist/drizzle/password-prepared-state.mjs +1 -1
- package/dist/drizzle/pg-identity.mjs +2 -2
- package/dist/drizzle/pg-identity.mjs.map +1 -1
- package/dist/drizzle/phone-model.d.mts +2 -2
- package/dist/drizzle/phone-model.mjs +3 -3
- package/dist/drizzle/phone-model.mjs.map +1 -1
- package/dist/drizzle/phone-target.d.mts +1 -1
- package/dist/drizzle/phone-target.mjs +2 -2
- package/dist/drizzle/phone-target.mjs.map +1 -1
- package/dist/drizzle/sqlite-do-database.d.mts +29 -0
- package/dist/drizzle/sqlite-do-database.mjs +45 -0
- package/dist/drizzle/sqlite-do-database.mjs.map +1 -0
- package/dist/drizzle/sqlite-emails.mjs.map +1 -1
- package/dist/drizzle/sqlite-identity.mjs +2 -2
- package/dist/drizzle/sqlite-identity.mjs.map +1 -1
- package/dist/drizzle/sqlite-passwords.mjs.map +1 -1
- package/dist/drizzle/sqlite-proofs.mjs.map +1 -1
- package/dist/drizzle/sqlite-sessions.mjs.map +1 -1
- package/dist/drizzle/storage-validation.mjs +17 -9
- package/dist/drizzle/storage-validation.mjs.map +1 -1
- package/dist/drizzle/totp-state.mjs +8 -8
- package/dist/drizzle/totp-state.mjs.map +1 -1
- package/dist/drizzle/totp-target.d.mts +1 -1
- package/dist/drizzle/totp-target.mjs +2 -2
- package/dist/drizzle/totp-target.mjs.map +1 -1
- package/package.json +1 -1
- package/src/SqliteDo.ts +63 -70
- package/src/drizzle/crypto.ts +14 -0
- package/src/drizzle/d1-identity.ts +2 -2
- package/src/drizzle/d1-oauth.ts +14 -5
- package/src/drizzle/d1-passkey.ts +5 -1
- package/src/drizzle/d1-password-prepared.ts +11 -5
- package/src/drizzle/d1-passwords.ts +1 -1
- package/src/drizzle/d1-phone.ts +2 -1
- package/src/drizzle/d1-sessions.ts +8 -2
- package/src/drizzle/d1-totp.ts +6 -2
- package/src/drizzle/mysql-identity.ts +2 -2
- package/src/drizzle/oauth-accounts.ts +14 -13
- package/src/drizzle/oauth-connected-collection.ts +1 -1
- package/src/drizzle/oauth-connected-custody.ts +8 -6
- package/src/drizzle/oauth-connected-drivers.ts +9 -3
- package/src/drizzle/oauth-connected-flow.ts +6 -6
- package/src/drizzle/oauth-connected-management.ts +1 -1
- package/src/drizzle/oauth-connected-reference.ts +14 -9
- package/src/drizzle/oauth-connected-settlement.ts +4 -4
- package/src/drizzle/oauth-connected-sign-in.ts +11 -10
- package/src/drizzle/oauth-connected-state.ts +40 -25
- package/src/drizzle/oauth-connected-target.ts +9 -5
- package/src/drizzle/oauth-drivers.ts +13 -5
- package/src/drizzle/oauth-flow.ts +1 -1
- package/src/drizzle/oauth-model.ts +4 -4
- package/src/drizzle/oauth-registration.ts +2 -2
- package/src/drizzle/oauth-state.ts +17 -15
- package/src/drizzle/oauth-target.ts +11 -3
- package/src/drizzle/passkey-drivers.ts +7 -3
- package/src/drizzle/passkey-write-drivers.ts +11 -2
- package/src/drizzle/password-prepared-sql.ts +1 -1
- package/src/drizzle/pg-identity.ts +2 -2
- package/src/drizzle/phone-model.ts +3 -3
- package/src/drizzle/phone-target.ts +11 -4
- package/src/drizzle/sqlite-do-database.ts +87 -0
- package/src/drizzle/sqlite-emails.ts +1 -1
- package/src/drizzle/sqlite-identity.ts +2 -2
- package/src/drizzle/sqlite-passwords.ts +1 -1
- package/src/drizzle/sqlite-proofs.ts +2 -2
- package/src/drizzle/sqlite-sessions.ts +2 -2
- package/src/drizzle/storage-validation.ts +15 -6
- package/src/drizzle/totp-state.ts +8 -8
- package/src/drizzle/totp-target.ts +11 -5
package/dist/Postgres.d.mts
CHANGED
|
@@ -91,11 +91,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
91
91
|
readonly resources: readonly string[];
|
|
92
92
|
readonly retention: "access-and-refresh" | "access-only";
|
|
93
93
|
readonly maximumAccessLifetimeMillis: number;
|
|
94
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
94
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
95
95
|
readonly refreshAheadMillis: number;
|
|
96
96
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
97
97
|
readonly revocation: "cohort" | "unsupported";
|
|
98
|
-
}
|
|
98
|
+
};
|
|
99
99
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
100
100
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
101
101
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -157,11 +157,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
157
157
|
readonly resources: readonly string[];
|
|
158
158
|
readonly retention: "access-and-refresh" | "access-only";
|
|
159
159
|
readonly maximumAccessLifetimeMillis: number;
|
|
160
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
160
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
161
161
|
readonly refreshAheadMillis: number;
|
|
162
162
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
163
163
|
readonly revocation: "cohort" | "unsupported";
|
|
164
|
-
}
|
|
164
|
+
};
|
|
165
165
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
166
166
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
167
167
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -305,7 +305,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
305
305
|
readonly hasMore: boolean;
|
|
306
306
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
307
307
|
};
|
|
308
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthSignInServices: <S extends AnyPgTable<{
|
|
308
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthSignInServices: <S extends AnyPgTable<{
|
|
309
309
|
dialect: "pg";
|
|
310
310
|
}>, O extends AnyPgTable<{
|
|
311
311
|
dialect: "pg";
|
|
@@ -347,7 +347,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
347
347
|
readonly hasMore: boolean;
|
|
348
348
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
349
349
|
};
|
|
350
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthRegistrationIntentServices: <S extends AnyPgTable<{
|
|
350
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthRegistrationIntentServices: <S extends AnyPgTable<{
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>, O extends AnyPgTable<{
|
|
353
353
|
dialect: "pg";
|
|
@@ -370,7 +370,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
370
370
|
readonly nowMillis: number;
|
|
371
371
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<import("@yielded/auth/OAuth").OAuthRegistrationSettlement, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
372
372
|
};
|
|
373
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthRegistrationServices: <Registration, S extends AnyPgTable<{
|
|
373
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthRegistrationServices: <Registration, S extends AnyPgTable<{
|
|
374
374
|
dialect: "pg";
|
|
375
375
|
}>, O extends AnyPgTable<{
|
|
376
376
|
dialect: "pg";
|
|
@@ -386,7 +386,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
386
386
|
dialect: "pg";
|
|
387
387
|
}>, N>(mapping: OAuthRegistrationMapping<Registration, S, O, C, AC, TA, I, R, N>) => Effect.Effect<{
|
|
388
388
|
registrationAuthority: OAuthRegistrationAuthority<Registration>;
|
|
389
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, coordinateOAuthRegistration: {
|
|
389
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, coordinateOAuthRegistration: {
|
|
390
390
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, TargetId, Registration, S extends AnyPgTable<{
|
|
391
391
|
dialect: "pg";
|
|
392
392
|
}>, O extends AnyPgTable<{
|
|
@@ -405,7 +405,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
405
405
|
readonly mapping: OAuthRegistrationMapping<NoInfer<Registration>, S, O, C, AC, TA, I, Rq, N>;
|
|
406
406
|
readonly target: SuppliedService<TargetId, OAuthRegistrationAuthority<Registration>>;
|
|
407
407
|
readonly transaction?: never;
|
|
408
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TargetId>>;
|
|
408
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TargetId>>;
|
|
409
409
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, TargetId, Registration, S extends AnyPgTable<{
|
|
410
410
|
dialect: "pg";
|
|
411
411
|
}>, O extends AnyPgTable<{
|
|
@@ -426,7 +426,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
426
426
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
427
427
|
readonly transaction: (...args: any[]) => any;
|
|
428
428
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
429
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TargetId | TxId>>;
|
|
429
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TargetId | TxId>>;
|
|
430
430
|
}, coordinateOAuthSignIn: {
|
|
431
431
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
432
432
|
dialect: "pg";
|
|
@@ -441,7 +441,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
441
441
|
}>, N, A, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
442
442
|
readonly mapping: OAuthSignInMapping<S, O, C, AC, F, N>;
|
|
443
443
|
readonly transaction?: never;
|
|
444
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthSignInPersistence>>;
|
|
444
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthSignInPersistence>>;
|
|
445
445
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
446
446
|
dialect: "pg";
|
|
447
447
|
}>, O extends AnyPgTable<{
|
|
@@ -457,7 +457,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
457
457
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
458
458
|
readonly transaction: (...args: any[]) => any;
|
|
459
459
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
460
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthSignInPersistence>>;
|
|
460
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthSignInPersistence>>;
|
|
461
461
|
}, coordinateOAuthRegistrationIntents: {
|
|
462
462
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
463
463
|
dialect: "pg";
|
|
@@ -476,7 +476,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
476
476
|
}>, N, A, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
477
477
|
readonly mapping: OAuthRegistrationIntentMapping<S, O, C, AC, F, TA, I, N>;
|
|
478
478
|
readonly transaction?: never;
|
|
479
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthRegistrationIntents>>;
|
|
479
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthRegistrationIntents>>;
|
|
480
480
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
481
481
|
dialect: "pg";
|
|
482
482
|
}>, O extends AnyPgTable<{
|
|
@@ -496,7 +496,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
496
496
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
497
497
|
readonly transaction: (...args: any[]) => any;
|
|
498
498
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
499
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthRegistrationIntents>>;
|
|
499
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthRegistrationIntents>>;
|
|
500
500
|
}, coordinateOAuthAccounts: {
|
|
501
501
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
502
502
|
dialect: "pg";
|
|
@@ -515,7 +515,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
515
515
|
}>, N, A, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
516
516
|
readonly mapping: OAuthAccountsMapping<S, O, C, AC, F, TA, U, N>;
|
|
517
517
|
readonly transaction?: never;
|
|
518
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthAccountsPersistence>>;
|
|
518
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthAccountsPersistence>>;
|
|
519
519
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
520
520
|
dialect: "pg";
|
|
521
521
|
}>, O extends AnyPgTable<{
|
|
@@ -535,7 +535,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
535
535
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
536
536
|
readonly transaction: (...args: any[]) => any;
|
|
537
537
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
538
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthAccountsPersistence>>;
|
|
538
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthAccountsPersistence>>;
|
|
539
539
|
}, makeOAuthConnectedServices: <S extends AnyPgTable<{
|
|
540
540
|
dialect: "pg";
|
|
541
541
|
}>, AC extends AnyPgTable<{
|
|
@@ -609,7 +609,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
609
609
|
readonly resources: readonly string[];
|
|
610
610
|
readonly retention: "access-and-refresh" | "access-only";
|
|
611
611
|
readonly maximumAccessLifetimeMillis: number;
|
|
612
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
612
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
613
613
|
readonly refreshAheadMillis: number;
|
|
614
614
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
615
615
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -622,22 +622,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
622
622
|
readonly metadata: {
|
|
623
623
|
readonly scopes: readonly string[];
|
|
624
624
|
readonly resources: readonly string[];
|
|
625
|
-
readonly accessExpiresAtMillis?: number
|
|
626
|
-
readonly refreshExpiresAtMillis?: number
|
|
625
|
+
readonly accessExpiresAtMillis?: number;
|
|
626
|
+
readonly refreshExpiresAtMillis?: number;
|
|
627
627
|
readonly useUntilMillis: number;
|
|
628
|
-
readonly refreshUseUntilMillis?: number
|
|
628
|
+
readonly refreshUseUntilMillis?: number;
|
|
629
629
|
readonly obtainedAtMillis: number;
|
|
630
630
|
readonly profile?: {
|
|
631
|
-
readonly displayName?: string
|
|
632
|
-
readonly handle?: string
|
|
633
|
-
readonly avatarUrl?: string
|
|
634
|
-
readonly profileUrl?: string
|
|
635
|
-
readonly email?: string
|
|
636
|
-
readonly emailVerified?: boolean
|
|
631
|
+
readonly displayName?: string;
|
|
632
|
+
readonly handle?: string;
|
|
633
|
+
readonly avatarUrl?: string;
|
|
634
|
+
readonly profileUrl?: string;
|
|
635
|
+
readonly email?: string;
|
|
636
|
+
readonly emailVerified?: boolean;
|
|
637
637
|
readonly providerData?: {
|
|
638
638
|
readonly [x: string]: import("effect/Schema").Json;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
643
|
readonly sealed: {
|
|
@@ -690,11 +690,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
690
690
|
readonly resources: readonly string[];
|
|
691
691
|
readonly retention: "access-and-refresh" | "access-only";
|
|
692
692
|
readonly maximumAccessLifetimeMillis: number;
|
|
693
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
693
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
694
694
|
readonly refreshAheadMillis: number;
|
|
695
695
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
696
696
|
readonly revocation: "cohort" | "unsupported";
|
|
697
|
-
}
|
|
697
|
+
};
|
|
698
698
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
699
699
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
700
700
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -721,7 +721,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
721
721
|
readonly resources: readonly string[];
|
|
722
722
|
readonly retention: "access-and-refresh" | "access-only";
|
|
723
723
|
readonly maximumAccessLifetimeMillis: number;
|
|
724
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
724
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
725
725
|
readonly refreshAheadMillis: number;
|
|
726
726
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
727
727
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -755,13 +755,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
755
755
|
readonly resources: readonly string[];
|
|
756
756
|
readonly retention: "access-and-refresh" | "access-only";
|
|
757
757
|
readonly maximumAccessLifetimeMillis: number;
|
|
758
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
758
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
759
759
|
readonly refreshAheadMillis: number;
|
|
760
760
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
761
761
|
readonly revocation: "cohort" | "unsupported";
|
|
762
762
|
};
|
|
763
763
|
};
|
|
764
|
-
}
|
|
764
|
+
};
|
|
765
765
|
readonly maximumEvidenceAgeMillis: number;
|
|
766
766
|
};
|
|
767
767
|
readonly sealed: {
|
|
@@ -803,11 +803,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
803
803
|
readonly resources: readonly string[];
|
|
804
804
|
readonly retention: "access-and-refresh" | "access-only";
|
|
805
805
|
readonly maximumAccessLifetimeMillis: number;
|
|
806
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
806
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
807
807
|
readonly refreshAheadMillis: number;
|
|
808
808
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
809
809
|
readonly revocation: "cohort" | "unsupported";
|
|
810
|
-
}
|
|
810
|
+
};
|
|
811
811
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
812
812
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
813
813
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -834,7 +834,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
834
834
|
readonly resources: readonly string[];
|
|
835
835
|
readonly retention: "access-and-refresh" | "access-only";
|
|
836
836
|
readonly maximumAccessLifetimeMillis: number;
|
|
837
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
837
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
838
838
|
readonly refreshAheadMillis: number;
|
|
839
839
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
840
840
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -868,13 +868,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
868
868
|
readonly resources: readonly string[];
|
|
869
869
|
readonly retention: "access-and-refresh" | "access-only";
|
|
870
870
|
readonly maximumAccessLifetimeMillis: number;
|
|
871
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
871
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
872
872
|
readonly refreshAheadMillis: number;
|
|
873
873
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
874
874
|
readonly revocation: "cohort" | "unsupported";
|
|
875
875
|
};
|
|
876
876
|
};
|
|
877
|
-
}
|
|
877
|
+
};
|
|
878
878
|
readonly maximumEvidenceAgeMillis: number;
|
|
879
879
|
};
|
|
880
880
|
readonly sealed: {
|
|
@@ -921,11 +921,11 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
921
921
|
readonly resources: readonly string[];
|
|
922
922
|
readonly retention: "access-and-refresh" | "access-only";
|
|
923
923
|
readonly maximumAccessLifetimeMillis: number;
|
|
924
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
924
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
925
925
|
readonly refreshAheadMillis: number;
|
|
926
926
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
927
927
|
readonly revocation: "cohort" | "unsupported";
|
|
928
|
-
}
|
|
928
|
+
};
|
|
929
929
|
readonly returnTarget: string & import("effect/Brand").Brand<"effect-auth/OAuthReturnTarget">;
|
|
930
930
|
readonly stateDigest: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
931
931
|
readonly requestBindingVerifier: string & import("effect/Brand").Brand<"effect-auth/TokenDigest">;
|
|
@@ -952,7 +952,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
952
952
|
readonly resources: readonly string[];
|
|
953
953
|
readonly retention: "access-and-refresh" | "access-only";
|
|
954
954
|
readonly maximumAccessLifetimeMillis: number;
|
|
955
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
955
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
956
956
|
readonly refreshAheadMillis: number;
|
|
957
957
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
958
958
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -986,13 +986,13 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
986
986
|
readonly resources: readonly string[];
|
|
987
987
|
readonly retention: "access-and-refresh" | "access-only";
|
|
988
988
|
readonly maximumAccessLifetimeMillis: number;
|
|
989
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
989
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
990
990
|
readonly refreshAheadMillis: number;
|
|
991
991
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
992
992
|
readonly revocation: "cohort" | "unsupported";
|
|
993
993
|
};
|
|
994
994
|
};
|
|
995
|
-
}
|
|
995
|
+
};
|
|
996
996
|
readonly maximumEvidenceAgeMillis: number;
|
|
997
997
|
};
|
|
998
998
|
readonly sealed: {
|
|
@@ -1069,7 +1069,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1069
1069
|
readonly resources: readonly string[];
|
|
1070
1070
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1071
1071
|
readonly maximumAccessLifetimeMillis: number;
|
|
1072
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1072
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1073
1073
|
readonly refreshAheadMillis: number;
|
|
1074
1074
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1075
1075
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1082,22 +1082,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1082
1082
|
readonly metadata: {
|
|
1083
1083
|
readonly scopes: readonly string[];
|
|
1084
1084
|
readonly resources: readonly string[];
|
|
1085
|
-
readonly accessExpiresAtMillis?: number
|
|
1086
|
-
readonly refreshExpiresAtMillis?: number
|
|
1085
|
+
readonly accessExpiresAtMillis?: number;
|
|
1086
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1087
1087
|
readonly useUntilMillis: number;
|
|
1088
|
-
readonly refreshUseUntilMillis?: number
|
|
1088
|
+
readonly refreshUseUntilMillis?: number;
|
|
1089
1089
|
readonly obtainedAtMillis: number;
|
|
1090
1090
|
readonly profile?: {
|
|
1091
|
-
readonly displayName?: string
|
|
1092
|
-
readonly handle?: string
|
|
1093
|
-
readonly avatarUrl?: string
|
|
1094
|
-
readonly profileUrl?: string
|
|
1095
|
-
readonly email?: string
|
|
1096
|
-
readonly emailVerified?: boolean
|
|
1091
|
+
readonly displayName?: string;
|
|
1092
|
+
readonly handle?: string;
|
|
1093
|
+
readonly avatarUrl?: string;
|
|
1094
|
+
readonly profileUrl?: string;
|
|
1095
|
+
readonly email?: string;
|
|
1096
|
+
readonly emailVerified?: boolean;
|
|
1097
1097
|
readonly providerData?: {
|
|
1098
1098
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
1101
|
};
|
|
1102
1102
|
};
|
|
1103
1103
|
readonly sealed: {
|
|
@@ -1124,22 +1124,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1124
1124
|
readonly profileKey: string & import("effect/Brand").Brand<"effect-auth/OAuthPermissionProfileKey">;
|
|
1125
1125
|
readonly status: "Active" | "Disconnected" | "ReauthorizationRequired" | "Refreshing";
|
|
1126
1126
|
readonly scopes: readonly string[];
|
|
1127
|
-
readonly accessExpiresAtMillis?: number
|
|
1127
|
+
readonly accessExpiresAtMillis?: number;
|
|
1128
1128
|
readonly useUntilMillis: number;
|
|
1129
1129
|
readonly profile?: {
|
|
1130
|
-
readonly displayName?: string
|
|
1131
|
-
readonly handle?: string
|
|
1132
|
-
readonly avatarUrl?: string
|
|
1133
|
-
readonly profileUrl?: string
|
|
1134
|
-
readonly email?: string
|
|
1135
|
-
readonly emailVerified?: boolean
|
|
1130
|
+
readonly displayName?: string;
|
|
1131
|
+
readonly handle?: string;
|
|
1132
|
+
readonly avatarUrl?: string;
|
|
1133
|
+
readonly profileUrl?: string;
|
|
1134
|
+
readonly email?: string;
|
|
1135
|
+
readonly emailVerified?: boolean;
|
|
1136
1136
|
readonly providerData?: {
|
|
1137
1137
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
1140
|
readonly remoteRevocation: "Confirmed" | "Pending" | "Unknown" | "Unsupported";
|
|
1141
1141
|
}[];
|
|
1142
|
-
readonly cursor?: string
|
|
1142
|
+
readonly cursor?: string;
|
|
1143
1143
|
}, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
1144
1144
|
readonly inspectDisconnect: (input: {
|
|
1145
1145
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -1182,7 +1182,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1182
1182
|
readonly resources: readonly string[];
|
|
1183
1183
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1184
1184
|
readonly maximumAccessLifetimeMillis: number;
|
|
1185
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1185
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1186
1186
|
readonly refreshAheadMillis: number;
|
|
1187
1187
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1188
1188
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1195,22 +1195,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1195
1195
|
readonly metadata: {
|
|
1196
1196
|
readonly scopes: readonly string[];
|
|
1197
1197
|
readonly resources: readonly string[];
|
|
1198
|
-
readonly accessExpiresAtMillis?: number
|
|
1199
|
-
readonly refreshExpiresAtMillis?: number
|
|
1198
|
+
readonly accessExpiresAtMillis?: number;
|
|
1199
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1200
1200
|
readonly useUntilMillis: number;
|
|
1201
|
-
readonly refreshUseUntilMillis?: number
|
|
1201
|
+
readonly refreshUseUntilMillis?: number;
|
|
1202
1202
|
readonly obtainedAtMillis: number;
|
|
1203
1203
|
readonly profile?: {
|
|
1204
|
-
readonly displayName?: string
|
|
1205
|
-
readonly handle?: string
|
|
1206
|
-
readonly avatarUrl?: string
|
|
1207
|
-
readonly profileUrl?: string
|
|
1208
|
-
readonly email?: string
|
|
1209
|
-
readonly emailVerified?: boolean
|
|
1204
|
+
readonly displayName?: string;
|
|
1205
|
+
readonly handle?: string;
|
|
1206
|
+
readonly avatarUrl?: string;
|
|
1207
|
+
readonly profileUrl?: string;
|
|
1208
|
+
readonly email?: string;
|
|
1209
|
+
readonly emailVerified?: boolean;
|
|
1210
1210
|
readonly providerData?: {
|
|
1211
1211
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
1214
|
};
|
|
1215
1215
|
};
|
|
1216
1216
|
readonly sealed?: {
|
|
@@ -1218,7 +1218,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1218
1218
|
readonly keyId: string;
|
|
1219
1219
|
readonly nonce: string;
|
|
1220
1220
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1221
|
-
}
|
|
1221
|
+
};
|
|
1222
1222
|
};
|
|
1223
1223
|
readonly revision: {
|
|
1224
1224
|
readonly subjectId: string & import("effect/Brand").Brand<"effect-auth/SubjectId">;
|
|
@@ -1295,7 +1295,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1295
1295
|
readonly resources: readonly string[];
|
|
1296
1296
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1297
1297
|
readonly maximumAccessLifetimeMillis: number;
|
|
1298
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1298
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1299
1299
|
readonly refreshAheadMillis: number;
|
|
1300
1300
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1301
1301
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1308,22 +1308,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1308
1308
|
readonly metadata: {
|
|
1309
1309
|
readonly scopes: readonly string[];
|
|
1310
1310
|
readonly resources: readonly string[];
|
|
1311
|
-
readonly accessExpiresAtMillis?: number
|
|
1312
|
-
readonly refreshExpiresAtMillis?: number
|
|
1311
|
+
readonly accessExpiresAtMillis?: number;
|
|
1312
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1313
1313
|
readonly useUntilMillis: number;
|
|
1314
|
-
readonly refreshUseUntilMillis?: number
|
|
1314
|
+
readonly refreshUseUntilMillis?: number;
|
|
1315
1315
|
readonly obtainedAtMillis: number;
|
|
1316
1316
|
readonly profile?: {
|
|
1317
|
-
readonly displayName?: string
|
|
1318
|
-
readonly handle?: string
|
|
1319
|
-
readonly avatarUrl?: string
|
|
1320
|
-
readonly profileUrl?: string
|
|
1321
|
-
readonly email?: string
|
|
1322
|
-
readonly emailVerified?: boolean
|
|
1317
|
+
readonly displayName?: string;
|
|
1318
|
+
readonly handle?: string;
|
|
1319
|
+
readonly avatarUrl?: string;
|
|
1320
|
+
readonly profileUrl?: string;
|
|
1321
|
+
readonly email?: string;
|
|
1322
|
+
readonly emailVerified?: boolean;
|
|
1323
1323
|
readonly providerData?: {
|
|
1324
1324
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
1327
|
};
|
|
1328
1328
|
};
|
|
1329
1329
|
readonly sealed: {
|
|
@@ -1380,7 +1380,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1380
1380
|
readonly resources: readonly string[];
|
|
1381
1381
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1382
1382
|
readonly maximumAccessLifetimeMillis: number;
|
|
1383
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1383
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1384
1384
|
readonly refreshAheadMillis: number;
|
|
1385
1385
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1386
1386
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1393,22 +1393,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1393
1393
|
readonly metadata: {
|
|
1394
1394
|
readonly scopes: readonly string[];
|
|
1395
1395
|
readonly resources: readonly string[];
|
|
1396
|
-
readonly accessExpiresAtMillis?: number
|
|
1397
|
-
readonly refreshExpiresAtMillis?: number
|
|
1396
|
+
readonly accessExpiresAtMillis?: number;
|
|
1397
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1398
1398
|
readonly useUntilMillis: number;
|
|
1399
|
-
readonly refreshUseUntilMillis?: number
|
|
1399
|
+
readonly refreshUseUntilMillis?: number;
|
|
1400
1400
|
readonly obtainedAtMillis: number;
|
|
1401
1401
|
readonly profile?: {
|
|
1402
|
-
readonly displayName?: string
|
|
1403
|
-
readonly handle?: string
|
|
1404
|
-
readonly avatarUrl?: string
|
|
1405
|
-
readonly profileUrl?: string
|
|
1406
|
-
readonly email?: string
|
|
1407
|
-
readonly emailVerified?: boolean
|
|
1402
|
+
readonly displayName?: string;
|
|
1403
|
+
readonly handle?: string;
|
|
1404
|
+
readonly avatarUrl?: string;
|
|
1405
|
+
readonly profileUrl?: string;
|
|
1406
|
+
readonly email?: string;
|
|
1407
|
+
readonly emailVerified?: boolean;
|
|
1408
1408
|
readonly providerData?: {
|
|
1409
1409
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1410
|
-
}
|
|
1411
|
-
}
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
1412
|
};
|
|
1413
1413
|
};
|
|
1414
1414
|
readonly sealed: {
|
|
@@ -1464,7 +1464,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1464
1464
|
readonly resources: readonly string[];
|
|
1465
1465
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1466
1466
|
readonly maximumAccessLifetimeMillis: number;
|
|
1467
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1467
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1468
1468
|
readonly refreshAheadMillis: number;
|
|
1469
1469
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1470
1470
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1477,22 +1477,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1477
1477
|
readonly metadata: {
|
|
1478
1478
|
readonly scopes: readonly string[];
|
|
1479
1479
|
readonly resources: readonly string[];
|
|
1480
|
-
readonly accessExpiresAtMillis?: number
|
|
1481
|
-
readonly refreshExpiresAtMillis?: number
|
|
1480
|
+
readonly accessExpiresAtMillis?: number;
|
|
1481
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1482
1482
|
readonly useUntilMillis: number;
|
|
1483
|
-
readonly refreshUseUntilMillis?: number
|
|
1483
|
+
readonly refreshUseUntilMillis?: number;
|
|
1484
1484
|
readonly obtainedAtMillis: number;
|
|
1485
1485
|
readonly profile?: {
|
|
1486
|
-
readonly displayName?: string
|
|
1487
|
-
readonly handle?: string
|
|
1488
|
-
readonly avatarUrl?: string
|
|
1489
|
-
readonly profileUrl?: string
|
|
1490
|
-
readonly email?: string
|
|
1491
|
-
readonly emailVerified?: boolean
|
|
1486
|
+
readonly displayName?: string;
|
|
1487
|
+
readonly handle?: string;
|
|
1488
|
+
readonly avatarUrl?: string;
|
|
1489
|
+
readonly profileUrl?: string;
|
|
1490
|
+
readonly email?: string;
|
|
1491
|
+
readonly emailVerified?: boolean;
|
|
1492
1492
|
readonly providerData?: {
|
|
1493
1493
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
1496
|
};
|
|
1497
1497
|
};
|
|
1498
1498
|
readonly sealed: {
|
|
@@ -1528,7 +1528,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1528
1528
|
readonly hasMore: boolean;
|
|
1529
1529
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
1530
1530
|
};
|
|
1531
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthConnectedRevocationServices: <T extends AnyPgTable<{
|
|
1531
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, makeOAuthConnectedRevocationServices: <T extends AnyPgTable<{
|
|
1532
1532
|
dialect: "pg";
|
|
1533
1533
|
}>, O extends AnyPgTable<{
|
|
1534
1534
|
dialect: "pg";
|
|
@@ -1583,7 +1583,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1583
1583
|
readonly resources: readonly string[];
|
|
1584
1584
|
readonly retention: "access-and-refresh" | "access-only";
|
|
1585
1585
|
readonly maximumAccessLifetimeMillis: number;
|
|
1586
|
-
readonly maximumRefreshLifetimeMillis?: number
|
|
1586
|
+
readonly maximumRefreshLifetimeMillis?: number;
|
|
1587
1587
|
readonly refreshAheadMillis: number;
|
|
1588
1588
|
readonly refresh: "confidential" | "rotating" | "unsupported";
|
|
1589
1589
|
readonly revocation: "cohort" | "unsupported";
|
|
@@ -1596,22 +1596,22 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1596
1596
|
readonly metadata: {
|
|
1597
1597
|
readonly scopes: readonly string[];
|
|
1598
1598
|
readonly resources: readonly string[];
|
|
1599
|
-
readonly accessExpiresAtMillis?: number
|
|
1600
|
-
readonly refreshExpiresAtMillis?: number
|
|
1599
|
+
readonly accessExpiresAtMillis?: number;
|
|
1600
|
+
readonly refreshExpiresAtMillis?: number;
|
|
1601
1601
|
readonly useUntilMillis: number;
|
|
1602
|
-
readonly refreshUseUntilMillis?: number
|
|
1602
|
+
readonly refreshUseUntilMillis?: number;
|
|
1603
1603
|
readonly obtainedAtMillis: number;
|
|
1604
1604
|
readonly profile?: {
|
|
1605
|
-
readonly displayName?: string
|
|
1606
|
-
readonly handle?: string
|
|
1607
|
-
readonly avatarUrl?: string
|
|
1608
|
-
readonly profileUrl?: string
|
|
1609
|
-
readonly email?: string
|
|
1610
|
-
readonly emailVerified?: boolean
|
|
1605
|
+
readonly displayName?: string;
|
|
1606
|
+
readonly handle?: string;
|
|
1607
|
+
readonly avatarUrl?: string;
|
|
1608
|
+
readonly profileUrl?: string;
|
|
1609
|
+
readonly email?: string;
|
|
1610
|
+
readonly emailVerified?: boolean;
|
|
1611
1611
|
readonly providerData?: {
|
|
1612
1612
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
1615
|
};
|
|
1616
1616
|
};
|
|
1617
1617
|
};
|
|
@@ -1636,7 +1636,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1636
1636
|
readonly settled: boolean;
|
|
1637
1637
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
1638
1638
|
};
|
|
1639
|
-
}, import("@yielded/auth/OAuth").OAuthUnavailable, Database | import("@yielded/auth/Hooks").LifecycleHooks>, coordinateOAuthConnected: {
|
|
1639
|
+
}, import("@yielded/auth/OAuth").OAuthUnavailable, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks>, coordinateOAuthConnected: {
|
|
1640
1640
|
<D extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1641
1641
|
dialect: "pg";
|
|
1642
1642
|
}>, AC extends AnyPgTable<{
|
|
@@ -1662,7 +1662,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1662
1662
|
}>, A, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<D, DatabaseError, DatabaseRequirements>, options: {
|
|
1663
1663
|
readonly mapping: OAuthConnectedMapping<S, AC, T, O, F, G, C, H, UA, DC, N, J>;
|
|
1664
1664
|
readonly transaction?: never;
|
|
1665
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthConnectedPersistence>>;
|
|
1665
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthConnectedPersistence>>;
|
|
1666
1666
|
<D extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1667
1667
|
dialect: "pg";
|
|
1668
1668
|
}>, AC extends AnyPgTable<{
|
|
@@ -1690,7 +1690,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1690
1690
|
readonly transaction: SuppliedService<TxId, NoInfer<D extends {
|
|
1691
1691
|
readonly transaction: (...args: any[]) => any;
|
|
1692
1692
|
} ? Parameters<Parameters<D["transaction"]>[0]>[0] : never>, TxShape>;
|
|
1693
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthConnectedPersistence>>;
|
|
1693
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthConnectedPersistence>>;
|
|
1694
1694
|
}, coordinateOAuthConnectedRevocations: {
|
|
1695
1695
|
<D extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, T extends AnyPgTable<{
|
|
1696
1696
|
dialect: "pg";
|
|
@@ -1709,7 +1709,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1709
1709
|
}>, N, A, E, R, DatabaseError, DatabaseRequirements>(acquire: Effect.Effect<D, DatabaseError, DatabaseRequirements>, options: {
|
|
1710
1710
|
readonly mapping: OAuthConnectedRevocationMapping<T, O, F, G, C, H, J, N>;
|
|
1711
1711
|
readonly transaction?: never;
|
|
1712
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthConnectedRevocations>>;
|
|
1712
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/OAuth").OAuthConnectedRevocations>>;
|
|
1713
1713
|
<D extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, T extends AnyPgTable<{
|
|
1714
1714
|
dialect: "pg";
|
|
1715
1715
|
}>, O extends AnyPgTable<{
|
|
@@ -1729,7 +1729,7 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1729
1729
|
readonly transaction: SuppliedService<TxId, NoInfer<D extends {
|
|
1730
1730
|
readonly transaction: (...args: any[]) => any;
|
|
1731
1731
|
} ? Parameters<Parameters<D["transaction"]>[0]>[0] : never>, TxShape>;
|
|
1732
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthConnectedRevocations>>;
|
|
1732
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | OAuthCoordinatorError<E>, DatabaseRequirements | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/OAuth").OAuthConnectedRevocations>>;
|
|
1733
1733
|
};
|
|
1734
1734
|
export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
1735
1735
|
dialect: "pg";
|
|
@@ -1741,7 +1741,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1741
1741
|
dialect: "pg";
|
|
1742
1742
|
}>, H extends AnyPgTable<{
|
|
1743
1743
|
dialect: "pg";
|
|
1744
|
-
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyCredentialMapping<S, C, F, O, H, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyCredentialServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyPersistenceServices: <S extends AnyPgTable<{
|
|
1744
|
+
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyCredentialMapping<S, C, F, O, H, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyCredentialServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyPersistenceServices: <S extends AnyPgTable<{
|
|
1745
1745
|
dialect: "pg";
|
|
1746
1746
|
}>, C extends AnyPgTable<{
|
|
1747
1747
|
dialect: "pg";
|
|
@@ -1759,7 +1759,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1759
1759
|
dialect: "pg";
|
|
1760
1760
|
}>, Charge extends AnyPgTable<{
|
|
1761
1761
|
dialect: "pg";
|
|
1762
|
-
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyPersistenceMapping<PasskeyCredentialMapping<S, C, F, O, H, N>, M, Flow, Admission, Charge, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyPersistenceServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyEnrollmentContextServices: <S extends AnyPgTable<{
|
|
1762
|
+
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyPersistenceMapping<PasskeyCredentialMapping<S, C, F, O, H, N>, M, Flow, Admission, Charge, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyPersistenceServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyEnrollmentContextServices: <S extends AnyPgTable<{
|
|
1763
1763
|
dialect: "pg";
|
|
1764
1764
|
}>, C extends AnyPgTable<{
|
|
1765
1765
|
dialect: "pg";
|
|
@@ -1771,7 +1771,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1771
1771
|
dialect: "pg";
|
|
1772
1772
|
}>, M extends AnyPgTable<{
|
|
1773
1773
|
dialect: "pg";
|
|
1774
|
-
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyEnrollmentContextMapping<PasskeyCredentialMapping<S, C, F, O, H, N>, M, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyEnrollmentContextServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyRegistrationCeremonyServices: <M extends AnyPgTable<{
|
|
1774
|
+
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyEnrollmentContextMapping<PasskeyCredentialMapping<S, C, F, O, H, N>, M, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyEnrollmentContextServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyRegistrationCeremonyServices: <M extends AnyPgTable<{
|
|
1775
1775
|
dialect: "pg";
|
|
1776
1776
|
}>, Flow extends AnyPgTable<{
|
|
1777
1777
|
dialect: "pg";
|
|
@@ -1783,7 +1783,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1783
1783
|
dialect: "pg";
|
|
1784
1784
|
}>, H extends AnyPgTable<{
|
|
1785
1785
|
dialect: "pg";
|
|
1786
|
-
}>, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationCeremonyMapping<M, Flow, Admission, Charge, Intent, H>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyRegistrationCeremonyServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePasskeyPersistence: {
|
|
1786
|
+
}>, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationCeremonyMapping<M, Flow, Admission, Charge, Intent, H>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyRegistrationCeremonyServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePasskeyPersistence: {
|
|
1787
1787
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1788
1788
|
dialect: "pg";
|
|
1789
1789
|
}>, C extends AnyPgTable<{
|
|
@@ -1805,7 +1805,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1805
1805
|
}>, N, A, E, R, RSetup = never, DatabaseError = never, DatabaseRequirements = never>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
1806
1806
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyPersistenceMapping<PasskeyCredentialMapping<S, C, F, O, H, N>, M, Flow, Admission, Charge, N>, RSetup>;
|
|
1807
1807
|
readonly transaction?: never;
|
|
1808
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1808
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1809
1809
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1810
1810
|
dialect: "pg";
|
|
1811
1811
|
}>, C extends AnyPgTable<{
|
|
@@ -1829,7 +1829,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1829
1829
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
1830
1830
|
readonly transaction: (...args: any[]) => any;
|
|
1831
1831
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
1832
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1832
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1833
1833
|
}, coordinatePasskeyRegistrationCeremony: {
|
|
1834
1834
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, M extends AnyPgTable<{
|
|
1835
1835
|
dialect: "pg";
|
|
@@ -1846,7 +1846,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1846
1846
|
}>, A, E, R, RSetup = never, DatabaseError = never, DatabaseRequirements = never>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
1847
1847
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationCeremonyMapping<M, Flow, Admission, Charge, Intent, H>, RSetup>;
|
|
1848
1848
|
readonly transaction?: never;
|
|
1849
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1849
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1850
1850
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, M extends AnyPgTable<{
|
|
1851
1851
|
dialect: "pg";
|
|
1852
1852
|
}>, Flow extends AnyPgTable<{
|
|
@@ -1864,7 +1864,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1864
1864
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
1865
1865
|
readonly transaction: (...args: any[]) => any;
|
|
1866
1866
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
1867
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1867
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1868
1868
|
}, makePasskeyManagementServices: <S extends AnyPgTable<{
|
|
1869
1869
|
dialect: "pg";
|
|
1870
1870
|
}>, C extends AnyPgTable<{
|
|
@@ -1885,7 +1885,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1885
1885
|
dialect: "pg";
|
|
1886
1886
|
}>, Command extends AnyPgTable<{
|
|
1887
1887
|
dialect: "pg";
|
|
1888
|
-
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyManagementMapping<S, C, F, O, H, M, Flow, Admission, Charge, Command, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyManagementServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyRegistrationServices: <S extends AnyPgTable<{
|
|
1888
|
+
}>, N, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyManagementMapping<S, C, F, O, H, M, Flow, Admission, Charge, Command, N>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyManagementServices, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, makePasskeyRegistrationServices: <S extends AnyPgTable<{
|
|
1889
1889
|
dialect: "pg";
|
|
1890
1890
|
}>, C extends AnyPgTable<{
|
|
1891
1891
|
dialect: "pg";
|
|
@@ -1905,7 +1905,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1905
1905
|
dialect: "pg";
|
|
1906
1906
|
}>, Intent extends AnyPgTable<{
|
|
1907
1907
|
dialect: "pg";
|
|
1908
|
-
}>, N, Value, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationMapping<S, C, F, O, H, M, Flow, Admission, Charge, Intent, N, Value>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyRegistrationServices<Value>, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePasskeyManagement: {
|
|
1908
|
+
}>, N, Value, RSetup = never>(mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationMapping<S, C, F, O, H, M, Flow, Admission, Charge, Intent, N, Value>, RSetup>) => Effect.Effect<import("@yielded/auth-persistence/Adapter").PasskeyRegistrationServices<Value>, import("@yielded/auth/Passkey").PasskeyConfigurationError | import("@yielded/auth-persistence/Adapter").PersistenceMappingError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePasskeyManagement: {
|
|
1909
1909
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1910
1910
|
dialect: "pg";
|
|
1911
1911
|
}>, C extends AnyPgTable<{
|
|
@@ -1929,7 +1929,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1929
1929
|
}>, N, A, E, R, RSetup = never, DatabaseError = never, DatabaseRequirements = never>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
1930
1930
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyManagementMapping<S, C, F, O, H, M, Flow, Admission, Charge, Command, N>, RSetup>;
|
|
1931
1931
|
readonly transaction?: never;
|
|
1932
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyManagementPersistence | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1932
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Passkey").PasskeyManagementPersistence | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1933
1933
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1934
1934
|
dialect: "pg";
|
|
1935
1935
|
}>, C extends AnyPgTable<{
|
|
@@ -1955,7 +1955,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1955
1955
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
1956
1956
|
readonly transaction: (...args: any[]) => any;
|
|
1957
1957
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
1958
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyManagementPersistence | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1958
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Passkey").PasskeyManagementPersistence | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1959
1959
|
}, coordinatePasskeyRegistration: {
|
|
1960
1960
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1961
1961
|
dialect: "pg";
|
|
@@ -1981,7 +1981,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
1981
1981
|
readonly mapping: import("@yielded/auth-persistence/Adapter").PasskeyMappingSource<PasskeyRegistrationMapping<S, C, F, O, H, M, Flow, Admission, Charge, Intent, N, Value>, RSetup>;
|
|
1982
1982
|
readonly authority: import("effect/Context").Key<AuthorityId, import("@yielded/auth-persistence/Adapter").PasskeyRegistrationWriter<Value>>;
|
|
1983
1983
|
readonly transaction?: never;
|
|
1984
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, AuthorityId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1984
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, AuthorityId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
1985
1985
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
1986
1986
|
dialect: "pg";
|
|
1987
1987
|
}>, C extends AnyPgTable<{
|
|
@@ -2008,7 +2008,7 @@ export declare const makePasskeyCredentialServices: <S extends AnyPgTable<{
|
|
|
2008
2008
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
2009
2009
|
readonly transaction: (...args: any[]) => any;
|
|
2010
2010
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
2011
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, AuthorityId | TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
2011
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | import("@yielded/auth-persistence/Adapter").PasskeyCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, AuthorityId | TxId | import("@yielded/auth/Passkey").PasskeyPersistence>>;
|
|
2012
2012
|
};
|
|
2013
2013
|
export declare const makeTotpPersistenceServices: <S extends AnyPgTable<{
|
|
2014
2014
|
dialect: "pg";
|
|
@@ -2016,7 +2016,7 @@ export declare const makeTotpPersistenceServices: <S extends AnyPgTable<{
|
|
|
2016
2016
|
dialect: "pg";
|
|
2017
2017
|
}>, C extends AnyPgTable<{
|
|
2018
2018
|
dialect: "pg";
|
|
2019
|
-
}>, N, RSetup = never>(mapping: TotpMappingSource<TotpMapping<S, F, C, N>, RSetup>) => Effect.Effect<TotpPersistenceServices, import("@yielded/auth-persistence/Adapter").PersistenceMappingError | import("@yielded/auth/Totp").TotpConfigurationError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinateTotpPersistence: {
|
|
2019
|
+
}>, N, RSetup = never>(mapping: TotpMappingSource<TotpMapping<S, F, C, N>, RSetup>) => Effect.Effect<TotpPersistenceServices, import("@yielded/auth-persistence/Adapter").PersistenceMappingError | import("@yielded/auth/Totp").TotpConfigurationError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinateTotpPersistence: {
|
|
2020
2020
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
2021
2021
|
dialect: "pg";
|
|
2022
2022
|
}>, F extends AnyPgTable<{
|
|
@@ -2026,7 +2026,7 @@ export declare const makeTotpPersistenceServices: <S extends AnyPgTable<{
|
|
|
2026
2026
|
}>, N, A, E, R, RSetup = never, DatabaseError = never, DatabaseRequirements = never>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
2027
2027
|
readonly mapping: TotpMappingSource<TotpMapping<S, F, C, N>, RSetup>;
|
|
2028
2028
|
readonly transaction?: never;
|
|
2029
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | TotpCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Totp").TotpPersistence>>;
|
|
2029
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | TotpCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/Totp").TotpPersistence>>;
|
|
2030
2030
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
2031
2031
|
dialect: "pg";
|
|
2032
2032
|
}>, F extends AnyPgTable<{
|
|
@@ -2038,7 +2038,7 @@ export declare const makeTotpPersistenceServices: <S extends AnyPgTable<{
|
|
|
2038
2038
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
2039
2039
|
readonly transaction: (...args: any[]) => any;
|
|
2040
2040
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
2041
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | TotpCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Totp").TotpPersistence>>;
|
|
2041
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | TotpCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/Totp").TotpPersistence>>;
|
|
2042
2042
|
};
|
|
2043
2043
|
export declare const makePhonePersistenceServices: <S extends AnyPgTable<{
|
|
2044
2044
|
dialect: "pg";
|
|
@@ -2048,7 +2048,7 @@ export declare const makePhonePersistenceServices: <S extends AnyPgTable<{
|
|
|
2048
2048
|
dialect: "pg";
|
|
2049
2049
|
}>, C extends AnyPgTable<{
|
|
2050
2050
|
dialect: "pg";
|
|
2051
|
-
}>, N, RSetup = never>(mapping: PhoneMappingSource<PhoneMapping<S, I, C, F, N>, RSetup>) => Effect.Effect<PhonePersistenceServices, import("@yielded/auth-persistence/Adapter").PersistenceMappingError | import("@yielded/auth/PhoneOtp").PhoneConfigurationError, Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePhonePersistence: {
|
|
2051
|
+
}>, N, RSetup = never>(mapping: PhoneMappingSource<PhoneMapping<S, I, C, F, N>, RSetup>) => Effect.Effect<PhonePersistenceServices, import("@yielded/auth-persistence/Adapter").PersistenceMappingError | import("@yielded/auth/PhoneOtp").PhoneConfigurationError, import("effect/Crypto").Crypto | Database | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<RSetup, import("@yielded/auth-persistence/Adapter").NativeDatabase>>, coordinatePhonePersistence: {
|
|
2052
2052
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
2053
2053
|
dialect: "pg";
|
|
2054
2054
|
}>, I extends AnyPgTable<{
|
|
@@ -2060,7 +2060,7 @@ export declare const makePhonePersistenceServices: <S extends AnyPgTable<{
|
|
|
2060
2060
|
}>, N, A, E, R, RSetup = never, DatabaseError = never, DatabaseRequirements = never>(acquire: Effect.Effect<Database, DatabaseError, DatabaseRequirements>, options: {
|
|
2061
2061
|
readonly mapping: PhoneMappingSource<PhoneMapping<S, I, C, F, N>, RSetup>;
|
|
2062
2062
|
readonly transaction?: never;
|
|
2063
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | PhoneCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/PhoneOtp").PhoneAdmission | import("@yielded/auth/PhoneOtp").PhonePersistence | import("@yielded/auth/PhoneOtp").PhoneSignInTargets>>;
|
|
2063
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | PhoneCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, import("@yielded/auth/PhoneOtp").PhoneAdmission | import("@yielded/auth/PhoneOtp").PhonePersistence | import("@yielded/auth/PhoneOtp").PhoneSignInTargets>>;
|
|
2064
2064
|
<Database extends EffectPgDatabase<import("drizzle-orm").TablesRelationalConfig>, S extends AnyPgTable<{
|
|
2065
2065
|
dialect: "pg";
|
|
2066
2066
|
}>, I extends AnyPgTable<{
|
|
@@ -2074,7 +2074,7 @@ export declare const makePhonePersistenceServices: <S extends AnyPgTable<{
|
|
|
2074
2074
|
readonly transaction: SuppliedService<TxId, NoInfer<Database extends {
|
|
2075
2075
|
readonly transaction: (...args: any[]) => any;
|
|
2076
2076
|
} ? Parameters<Parameters<Database["transaction"]>[0]>[0] : never>, TxShape>;
|
|
2077
|
-
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | PhoneCoordinatorError<E>, DatabaseRequirements | RSetup | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/PhoneOtp").PhoneAdmission | import("@yielded/auth/PhoneOtp").PhonePersistence | import("@yielded/auth/PhoneOtp").PhoneSignInTargets>>;
|
|
2077
|
+
}, body: Effect.Effect<A, E, R>): Effect.Effect<A, DatabaseError | PhoneCoordinatorError<E>, DatabaseRequirements | RSetup | import("effect/Crypto").Crypto | import("@yielded/auth/Hooks").LifecycleHooks | Exclude<R, TxId | import("@yielded/auth/PhoneOtp").PhoneAdmission | import("@yielded/auth/PhoneOtp").PhonePersistence | import("@yielded/auth/PhoneOtp").PhoneSignInTargets>>;
|
|
2078
2078
|
};
|
|
2079
2079
|
export declare const AuthPersistence: {
|
|
2080
2080
|
make: <C extends import("@yielded/auth-persistence/Adapter").ClaimsCodec, const Id extends string, const A extends import("@yielded/auth-persistence/Adapter").Definition<C, Id>>(auth: A & import("@yielded/auth-persistence/Adapter").Definition<C, Id>) => import("@yielded/auth-persistence/Adapter").BoundPersistence<import("drizzle-orm/pg-core").PgTable<import("drizzle-orm/pg-core").TableConfig>, import("@effect/sql-pg/PgClient").PgClient, C, Id, A>;
|