@yielded/auth-persistence-drizzle 0.1.0-beta.21 → 0.1.0-beta.22
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/D1.d.mts +4 -4
- package/dist/Libsql.d.mts +9 -9
- package/dist/Mysql2.d.mts +9 -9
- package/dist/Pglite.d.mts +9 -9
- package/dist/Postgres.d.mts +9 -9
- package/dist/SqliteBun.d.mts +9 -9
- package/dist/SqliteDo.d.mts +6 -6
- package/dist/SqliteNode.d.mts +6 -6
- package/dist/SqliteWasm.d.mts +6 -6
- package/dist/drizzle/d1-oauth.d.mts +2 -2
- package/dist/drizzle/oauth-connected-target.d.mts +6 -6
- package/package.json +1 -1
package/dist/D1.d.mts
CHANGED
|
@@ -78,10 +78,10 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
78
78
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
79
79
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
80
80
|
readonly _tag: "Rejected";
|
|
81
|
-
} | {
|
|
82
|
-
readonly _tag: "Ambiguous";
|
|
83
81
|
} | {
|
|
84
82
|
readonly _tag: "Cancelled";
|
|
83
|
+
} | {
|
|
84
|
+
readonly _tag: "Ambiguous";
|
|
85
85
|
} | {
|
|
86
86
|
readonly _tag: "Connected";
|
|
87
87
|
readonly grant: {
|
|
@@ -538,10 +538,10 @@ export declare const makeOAuthConnectedServices: <S extends AnySQLiteTable<{
|
|
|
538
538
|
readonly nowMillis: number;
|
|
539
539
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
540
540
|
readonly _tag: "Rejected";
|
|
541
|
-
} | {
|
|
542
|
-
readonly _tag: "Ambiguous";
|
|
543
541
|
} | {
|
|
544
542
|
readonly _tag: "Cancelled";
|
|
543
|
+
} | {
|
|
544
|
+
readonly _tag: "Ambiguous";
|
|
545
545
|
} | {
|
|
546
546
|
readonly _tag: "Connected";
|
|
547
547
|
readonly grant: {
|
package/dist/Libsql.d.mts
CHANGED
|
@@ -486,12 +486,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
486
486
|
readonly nowMillis: number;
|
|
487
487
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
488
488
|
readonly _tag: "Rejected";
|
|
489
|
-
} | {
|
|
490
|
-
readonly _tag: "Cancelled";
|
|
491
489
|
} | {
|
|
492
490
|
readonly _tag: "Ambiguous";
|
|
493
491
|
} | {
|
|
494
|
-
readonly _tag: "
|
|
492
|
+
readonly _tag: "Cancelled";
|
|
495
493
|
} | {
|
|
496
494
|
readonly _tag: "Linked";
|
|
497
495
|
readonly credential: {
|
|
@@ -513,6 +511,8 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
513
511
|
};
|
|
514
512
|
};
|
|
515
513
|
readonly changed: boolean;
|
|
514
|
+
} | {
|
|
515
|
+
readonly _tag: "Conflict";
|
|
516
516
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
517
517
|
readonly inspectUnlink: (input: {
|
|
518
518
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -859,10 +859,12 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
859
859
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
860
860
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
861
861
|
readonly _tag: "Rejected";
|
|
862
|
+
} | {
|
|
863
|
+
readonly _tag: "Ambiguous";
|
|
862
864
|
} | {
|
|
863
865
|
readonly _tag: "Cancelled";
|
|
864
866
|
} | {
|
|
865
|
-
readonly _tag: "
|
|
867
|
+
readonly _tag: "Conflict";
|
|
866
868
|
} | {
|
|
867
869
|
readonly _tag: "Connected";
|
|
868
870
|
readonly grant: {
|
|
@@ -932,8 +934,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
932
934
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
933
935
|
};
|
|
934
936
|
};
|
|
935
|
-
} | {
|
|
936
|
-
readonly _tag: "Conflict";
|
|
937
937
|
} | {
|
|
938
938
|
readonly _tag: "Busy";
|
|
939
939
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -1319,10 +1319,12 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1319
1319
|
readonly nowMillis: number;
|
|
1320
1320
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1321
1321
|
readonly _tag: "Rejected";
|
|
1322
|
+
} | {
|
|
1323
|
+
readonly _tag: "Ambiguous";
|
|
1322
1324
|
} | {
|
|
1323
1325
|
readonly _tag: "Cancelled";
|
|
1324
1326
|
} | {
|
|
1325
|
-
readonly _tag: "
|
|
1327
|
+
readonly _tag: "Conflict";
|
|
1326
1328
|
} | {
|
|
1327
1329
|
readonly _tag: "Connected";
|
|
1328
1330
|
readonly grant: {
|
|
@@ -1392,8 +1394,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1392
1394
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1393
1395
|
};
|
|
1394
1396
|
};
|
|
1395
|
-
} | {
|
|
1396
|
-
readonly _tag: "Conflict";
|
|
1397
1397
|
} | {
|
|
1398
1398
|
readonly _tag: "Busy";
|
|
1399
1399
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
package/dist/Mysql2.d.mts
CHANGED
|
@@ -201,12 +201,10 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
201
201
|
readonly nowMillis: number;
|
|
202
202
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
203
203
|
readonly _tag: "Rejected";
|
|
204
|
-
} | {
|
|
205
|
-
readonly _tag: "Cancelled";
|
|
206
204
|
} | {
|
|
207
205
|
readonly _tag: "Ambiguous";
|
|
208
206
|
} | {
|
|
209
|
-
readonly _tag: "
|
|
207
|
+
readonly _tag: "Cancelled";
|
|
210
208
|
} | {
|
|
211
209
|
readonly _tag: "Linked";
|
|
212
210
|
readonly credential: {
|
|
@@ -228,6 +226,8 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
228
226
|
};
|
|
229
227
|
};
|
|
230
228
|
readonly changed: boolean;
|
|
229
|
+
} | {
|
|
230
|
+
readonly _tag: "Conflict";
|
|
231
231
|
}, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
232
232
|
readonly inspectUnlink: (input: {
|
|
233
233
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -574,10 +574,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
574
574
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
575
575
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
576
576
|
readonly _tag: "Rejected";
|
|
577
|
+
} | {
|
|
578
|
+
readonly _tag: "Ambiguous";
|
|
577
579
|
} | {
|
|
578
580
|
readonly _tag: "Cancelled";
|
|
579
581
|
} | {
|
|
580
|
-
readonly _tag: "
|
|
582
|
+
readonly _tag: "Conflict";
|
|
581
583
|
} | {
|
|
582
584
|
readonly _tag: "Connected";
|
|
583
585
|
readonly grant: {
|
|
@@ -647,8 +649,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
647
649
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
648
650
|
};
|
|
649
651
|
};
|
|
650
|
-
} | {
|
|
651
|
-
readonly _tag: "Conflict";
|
|
652
652
|
} | {
|
|
653
653
|
readonly _tag: "Busy";
|
|
654
654
|
}, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -1034,10 +1034,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
1034
1034
|
readonly nowMillis: number;
|
|
1035
1035
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1036
1036
|
readonly _tag: "Rejected";
|
|
1037
|
+
} | {
|
|
1038
|
+
readonly _tag: "Ambiguous";
|
|
1037
1039
|
} | {
|
|
1038
1040
|
readonly _tag: "Cancelled";
|
|
1039
1041
|
} | {
|
|
1040
|
-
readonly _tag: "
|
|
1042
|
+
readonly _tag: "Conflict";
|
|
1041
1043
|
} | {
|
|
1042
1044
|
readonly _tag: "Connected";
|
|
1043
1045
|
readonly grant: {
|
|
@@ -1107,8 +1109,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyMySqlTable<{
|
|
|
1107
1109
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1108
1110
|
};
|
|
1109
1111
|
};
|
|
1110
|
-
} | {
|
|
1111
|
-
readonly _tag: "Conflict";
|
|
1112
1112
|
} | {
|
|
1113
1113
|
readonly _tag: "Busy";
|
|
1114
1114
|
}, A>) => import("effect/Effect").Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
package/dist/Pglite.d.mts
CHANGED
|
@@ -201,12 +201,10 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
201
201
|
readonly nowMillis: number;
|
|
202
202
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
203
203
|
readonly _tag: "Rejected";
|
|
204
|
-
} | {
|
|
205
|
-
readonly _tag: "Cancelled";
|
|
206
204
|
} | {
|
|
207
205
|
readonly _tag: "Ambiguous";
|
|
208
206
|
} | {
|
|
209
|
-
readonly _tag: "
|
|
207
|
+
readonly _tag: "Cancelled";
|
|
210
208
|
} | {
|
|
211
209
|
readonly _tag: "Linked";
|
|
212
210
|
readonly credential: {
|
|
@@ -228,6 +226,8 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
228
226
|
};
|
|
229
227
|
};
|
|
230
228
|
readonly changed: boolean;
|
|
229
|
+
} | {
|
|
230
|
+
readonly _tag: "Conflict";
|
|
231
231
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
232
232
|
readonly inspectUnlink: (input: {
|
|
233
233
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -574,10 +574,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
574
574
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
575
575
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
576
576
|
readonly _tag: "Rejected";
|
|
577
|
+
} | {
|
|
578
|
+
readonly _tag: "Ambiguous";
|
|
577
579
|
} | {
|
|
578
580
|
readonly _tag: "Cancelled";
|
|
579
581
|
} | {
|
|
580
|
-
readonly _tag: "
|
|
582
|
+
readonly _tag: "Conflict";
|
|
581
583
|
} | {
|
|
582
584
|
readonly _tag: "Connected";
|
|
583
585
|
readonly grant: {
|
|
@@ -647,8 +649,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
647
649
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
648
650
|
};
|
|
649
651
|
};
|
|
650
|
-
} | {
|
|
651
|
-
readonly _tag: "Conflict";
|
|
652
652
|
} | {
|
|
653
653
|
readonly _tag: "Busy";
|
|
654
654
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -1034,10 +1034,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1034
1034
|
readonly nowMillis: number;
|
|
1035
1035
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1036
1036
|
readonly _tag: "Rejected";
|
|
1037
|
+
} | {
|
|
1038
|
+
readonly _tag: "Ambiguous";
|
|
1037
1039
|
} | {
|
|
1038
1040
|
readonly _tag: "Cancelled";
|
|
1039
1041
|
} | {
|
|
1040
|
-
readonly _tag: "
|
|
1042
|
+
readonly _tag: "Conflict";
|
|
1041
1043
|
} | {
|
|
1042
1044
|
readonly _tag: "Connected";
|
|
1043
1045
|
readonly grant: {
|
|
@@ -1107,8 +1109,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1107
1109
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1108
1110
|
};
|
|
1109
1111
|
};
|
|
1110
|
-
} | {
|
|
1111
|
-
readonly _tag: "Conflict";
|
|
1112
1112
|
} | {
|
|
1113
1113
|
readonly _tag: "Busy";
|
|
1114
1114
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
package/dist/Postgres.d.mts
CHANGED
|
@@ -201,12 +201,10 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
201
201
|
readonly nowMillis: number;
|
|
202
202
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
203
203
|
readonly _tag: "Rejected";
|
|
204
|
-
} | {
|
|
205
|
-
readonly _tag: "Cancelled";
|
|
206
204
|
} | {
|
|
207
205
|
readonly _tag: "Ambiguous";
|
|
208
206
|
} | {
|
|
209
|
-
readonly _tag: "
|
|
207
|
+
readonly _tag: "Cancelled";
|
|
210
208
|
} | {
|
|
211
209
|
readonly _tag: "Linked";
|
|
212
210
|
readonly credential: {
|
|
@@ -228,6 +226,8 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
228
226
|
};
|
|
229
227
|
};
|
|
230
228
|
readonly changed: boolean;
|
|
229
|
+
} | {
|
|
230
|
+
readonly _tag: "Conflict";
|
|
231
231
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
232
232
|
readonly inspectUnlink: (input: {
|
|
233
233
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -574,10 +574,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
574
574
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
575
575
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
576
576
|
readonly _tag: "Rejected";
|
|
577
|
+
} | {
|
|
578
|
+
readonly _tag: "Ambiguous";
|
|
577
579
|
} | {
|
|
578
580
|
readonly _tag: "Cancelled";
|
|
579
581
|
} | {
|
|
580
|
-
readonly _tag: "
|
|
582
|
+
readonly _tag: "Conflict";
|
|
581
583
|
} | {
|
|
582
584
|
readonly _tag: "Connected";
|
|
583
585
|
readonly grant: {
|
|
@@ -647,8 +649,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
647
649
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
648
650
|
};
|
|
649
651
|
};
|
|
650
|
-
} | {
|
|
651
|
-
readonly _tag: "Conflict";
|
|
652
652
|
} | {
|
|
653
653
|
readonly _tag: "Busy";
|
|
654
654
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -1034,10 +1034,12 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1034
1034
|
readonly nowMillis: number;
|
|
1035
1035
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1036
1036
|
readonly _tag: "Rejected";
|
|
1037
|
+
} | {
|
|
1038
|
+
readonly _tag: "Ambiguous";
|
|
1037
1039
|
} | {
|
|
1038
1040
|
readonly _tag: "Cancelled";
|
|
1039
1041
|
} | {
|
|
1040
|
-
readonly _tag: "
|
|
1042
|
+
readonly _tag: "Conflict";
|
|
1041
1043
|
} | {
|
|
1042
1044
|
readonly _tag: "Connected";
|
|
1043
1045
|
readonly grant: {
|
|
@@ -1107,8 +1109,6 @@ export declare const makeOAuthAccountsServices: <S extends AnyPgTable<{
|
|
|
1107
1109
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1108
1110
|
};
|
|
1109
1111
|
};
|
|
1110
|
-
} | {
|
|
1111
|
-
readonly _tag: "Conflict";
|
|
1112
1112
|
} | {
|
|
1113
1113
|
readonly _tag: "Busy";
|
|
1114
1114
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
package/dist/SqliteBun.d.mts
CHANGED
|
@@ -482,12 +482,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
482
482
|
readonly nowMillis: number;
|
|
483
483
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
484
484
|
readonly _tag: "Rejected";
|
|
485
|
-
} | {
|
|
486
|
-
readonly _tag: "Cancelled";
|
|
487
485
|
} | {
|
|
488
486
|
readonly _tag: "Ambiguous";
|
|
489
487
|
} | {
|
|
490
|
-
readonly _tag: "
|
|
488
|
+
readonly _tag: "Cancelled";
|
|
491
489
|
} | {
|
|
492
490
|
readonly _tag: "Linked";
|
|
493
491
|
readonly credential: {
|
|
@@ -509,6 +507,8 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
509
507
|
};
|
|
510
508
|
};
|
|
511
509
|
readonly changed: boolean;
|
|
510
|
+
} | {
|
|
511
|
+
readonly _tag: "Conflict";
|
|
512
512
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable>;
|
|
513
513
|
readonly inspectUnlink: (input: {
|
|
514
514
|
readonly moduleId: string & import("effect/Brand").Brand<"effect-auth/OAuthModuleId">;
|
|
@@ -855,10 +855,12 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
855
855
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
856
856
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
857
857
|
readonly _tag: "Rejected";
|
|
858
|
+
} | {
|
|
859
|
+
readonly _tag: "Ambiguous";
|
|
858
860
|
} | {
|
|
859
861
|
readonly _tag: "Cancelled";
|
|
860
862
|
} | {
|
|
861
|
-
readonly _tag: "
|
|
863
|
+
readonly _tag: "Conflict";
|
|
862
864
|
} | {
|
|
863
865
|
readonly _tag: "Connected";
|
|
864
866
|
readonly grant: {
|
|
@@ -928,8 +930,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
928
930
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
929
931
|
};
|
|
930
932
|
};
|
|
931
|
-
} | {
|
|
932
|
-
readonly _tag: "Conflict";
|
|
933
933
|
} | {
|
|
934
934
|
readonly _tag: "Busy";
|
|
935
935
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
|
@@ -1315,10 +1315,12 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1315
1315
|
readonly nowMillis: number;
|
|
1316
1316
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1317
1317
|
readonly _tag: "Rejected";
|
|
1318
|
+
} | {
|
|
1319
|
+
readonly _tag: "Ambiguous";
|
|
1318
1320
|
} | {
|
|
1319
1321
|
readonly _tag: "Cancelled";
|
|
1320
1322
|
} | {
|
|
1321
|
-
readonly _tag: "
|
|
1323
|
+
readonly _tag: "Conflict";
|
|
1322
1324
|
} | {
|
|
1323
1325
|
readonly _tag: "Connected";
|
|
1324
1326
|
readonly grant: {
|
|
@@ -1388,8 +1390,6 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1388
1390
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
1389
1391
|
};
|
|
1390
1392
|
};
|
|
1391
|
-
} | {
|
|
1392
|
-
readonly _tag: "Conflict";
|
|
1393
1393
|
} | {
|
|
1394
1394
|
readonly _tag: "Busy";
|
|
1395
1395
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, import("@yielded/auth/OAuth").OAuthUnavailable, never>;
|
package/dist/SqliteDo.d.mts
CHANGED
|
@@ -483,10 +483,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
483
483
|
readonly nowMillis: number;
|
|
484
484
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
485
485
|
readonly _tag: "Rejected";
|
|
486
|
-
} | {
|
|
487
|
-
readonly _tag: "Ambiguous";
|
|
488
486
|
} | {
|
|
489
487
|
readonly _tag: "Cancelled";
|
|
488
|
+
} | {
|
|
489
|
+
readonly _tag: "Ambiguous";
|
|
490
490
|
} | {
|
|
491
491
|
readonly _tag: "Conflict";
|
|
492
492
|
} | {
|
|
@@ -856,10 +856,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
856
856
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
857
857
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
858
858
|
readonly _tag: "Rejected";
|
|
859
|
-
} | {
|
|
860
|
-
readonly _tag: "Ambiguous";
|
|
861
859
|
} | {
|
|
862
860
|
readonly _tag: "Cancelled";
|
|
861
|
+
} | {
|
|
862
|
+
readonly _tag: "Ambiguous";
|
|
863
863
|
} | {
|
|
864
864
|
readonly _tag: "Connected";
|
|
865
865
|
readonly grant: {
|
|
@@ -1316,10 +1316,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1316
1316
|
readonly nowMillis: number;
|
|
1317
1317
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1318
1318
|
readonly _tag: "Rejected";
|
|
1319
|
-
} | {
|
|
1320
|
-
readonly _tag: "Ambiguous";
|
|
1321
1319
|
} | {
|
|
1322
1320
|
readonly _tag: "Cancelled";
|
|
1321
|
+
} | {
|
|
1322
|
+
readonly _tag: "Ambiguous";
|
|
1323
1323
|
} | {
|
|
1324
1324
|
readonly _tag: "Connected";
|
|
1325
1325
|
readonly grant: {
|
package/dist/SqliteNode.d.mts
CHANGED
|
@@ -482,10 +482,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
482
482
|
readonly nowMillis: number;
|
|
483
483
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
484
484
|
readonly _tag: "Rejected";
|
|
485
|
-
} | {
|
|
486
|
-
readonly _tag: "Cancelled";
|
|
487
485
|
} | {
|
|
488
486
|
readonly _tag: "Ambiguous";
|
|
487
|
+
} | {
|
|
488
|
+
readonly _tag: "Cancelled";
|
|
489
489
|
} | {
|
|
490
490
|
readonly _tag: "Conflict";
|
|
491
491
|
} | {
|
|
@@ -855,10 +855,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
855
855
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
856
856
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
857
857
|
readonly _tag: "Rejected";
|
|
858
|
-
} | {
|
|
859
|
-
readonly _tag: "Cancelled";
|
|
860
858
|
} | {
|
|
861
859
|
readonly _tag: "Ambiguous";
|
|
860
|
+
} | {
|
|
861
|
+
readonly _tag: "Cancelled";
|
|
862
862
|
} | {
|
|
863
863
|
readonly _tag: "Connected";
|
|
864
864
|
readonly grant: {
|
|
@@ -1315,10 +1315,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1315
1315
|
readonly nowMillis: number;
|
|
1316
1316
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1317
1317
|
readonly _tag: "Rejected";
|
|
1318
|
-
} | {
|
|
1319
|
-
readonly _tag: "Cancelled";
|
|
1320
1318
|
} | {
|
|
1321
1319
|
readonly _tag: "Ambiguous";
|
|
1320
|
+
} | {
|
|
1321
|
+
readonly _tag: "Cancelled";
|
|
1322
1322
|
} | {
|
|
1323
1323
|
readonly _tag: "Connected";
|
|
1324
1324
|
readonly grant: {
|
package/dist/SqliteWasm.d.mts
CHANGED
|
@@ -482,10 +482,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
482
482
|
readonly nowMillis: number;
|
|
483
483
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
484
484
|
readonly _tag: "Rejected";
|
|
485
|
-
} | {
|
|
486
|
-
readonly _tag: "Ambiguous";
|
|
487
485
|
} | {
|
|
488
486
|
readonly _tag: "Cancelled";
|
|
487
|
+
} | {
|
|
488
|
+
readonly _tag: "Ambiguous";
|
|
489
489
|
} | {
|
|
490
490
|
readonly _tag: "Conflict";
|
|
491
491
|
} | {
|
|
@@ -855,10 +855,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
855
855
|
readonly outcome: import("@yielded/auth/OAuth").OAuthSignInAccessOutcome;
|
|
856
856
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
857
857
|
readonly _tag: "Rejected";
|
|
858
|
-
} | {
|
|
859
|
-
readonly _tag: "Ambiguous";
|
|
860
858
|
} | {
|
|
861
859
|
readonly _tag: "Cancelled";
|
|
860
|
+
} | {
|
|
861
|
+
readonly _tag: "Ambiguous";
|
|
862
862
|
} | {
|
|
863
863
|
readonly _tag: "Connected";
|
|
864
864
|
readonly grant: {
|
|
@@ -1315,10 +1315,10 @@ export declare const makeOAuthAccountsServices: <S extends AnySQLiteTable<{
|
|
|
1315
1315
|
readonly nowMillis: number;
|
|
1316
1316
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
1317
1317
|
readonly _tag: "Rejected";
|
|
1318
|
-
} | {
|
|
1319
|
-
readonly _tag: "Ambiguous";
|
|
1320
1318
|
} | {
|
|
1321
1319
|
readonly _tag: "Cancelled";
|
|
1320
|
+
} | {
|
|
1321
|
+
readonly _tag: "Ambiguous";
|
|
1322
1322
|
} | {
|
|
1323
1323
|
readonly _tag: "Connected";
|
|
1324
1324
|
readonly grant: {
|
|
@@ -163,10 +163,10 @@ export declare const makeD1OAuthAccountsServices: <S extends SQLiteTable, O exte
|
|
|
163
163
|
readonly nowMillis: number;
|
|
164
164
|
}, prepare: import("@yielded/auth/OAuth").PrepareOAuthCommit<{
|
|
165
165
|
readonly _tag: "Rejected";
|
|
166
|
-
} | {
|
|
167
|
-
readonly _tag: "Ambiguous";
|
|
168
166
|
} | {
|
|
169
167
|
readonly _tag: "Cancelled";
|
|
168
|
+
} | {
|
|
169
|
+
readonly _tag: "Ambiguous";
|
|
170
170
|
} | {
|
|
171
171
|
readonly _tag: "Conflict";
|
|
172
172
|
} | {
|
|
@@ -21,10 +21,12 @@ export declare const makeTargetOAuthConnectedServices: (mapping: Mapping, config
|
|
|
21
21
|
readonly outcome: M.OAuthSignInAccessOutcome;
|
|
22
22
|
}, prepare: PrepareOAuthCommit<{
|
|
23
23
|
readonly _tag: "Rejected";
|
|
24
|
+
} | {
|
|
25
|
+
readonly _tag: "Ambiguous";
|
|
24
26
|
} | {
|
|
25
27
|
readonly _tag: "Cancelled";
|
|
26
28
|
} | {
|
|
27
|
-
readonly _tag: "
|
|
29
|
+
readonly _tag: "Conflict";
|
|
28
30
|
} | {
|
|
29
31
|
readonly _tag: "Connected";
|
|
30
32
|
readonly grant: {
|
|
@@ -94,8 +96,6 @@ export declare const makeTargetOAuthConnectedServices: (mapping: Mapping, config
|
|
|
94
96
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
95
97
|
};
|
|
96
98
|
};
|
|
97
|
-
} | {
|
|
98
|
-
readonly _tag: "Conflict";
|
|
99
99
|
} | {
|
|
100
100
|
readonly _tag: "Busy";
|
|
101
101
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, M.OAuthUnavailable, never>;
|
|
@@ -477,10 +477,12 @@ export declare const makeTargetOAuthConnectedServices: (mapping: Mapping, config
|
|
|
477
477
|
readonly nowMillis: number;
|
|
478
478
|
}, prepare: PrepareOAuthCommit<{
|
|
479
479
|
readonly _tag: "Rejected";
|
|
480
|
+
} | {
|
|
481
|
+
readonly _tag: "Ambiguous";
|
|
480
482
|
} | {
|
|
481
483
|
readonly _tag: "Cancelled";
|
|
482
484
|
} | {
|
|
483
|
-
readonly _tag: "
|
|
485
|
+
readonly _tag: "Conflict";
|
|
484
486
|
} | {
|
|
485
487
|
readonly _tag: "Connected";
|
|
486
488
|
readonly grant: {
|
|
@@ -550,8 +552,6 @@ export declare const makeTargetOAuthConnectedServices: (mapping: Mapping, config
|
|
|
550
552
|
readonly ciphertext: import("effect/Redacted").Redacted<string>;
|
|
551
553
|
};
|
|
552
554
|
};
|
|
553
|
-
} | {
|
|
554
|
-
readonly _tag: "Conflict";
|
|
555
555
|
} | {
|
|
556
556
|
readonly _tag: "Busy";
|
|
557
557
|
}, A>) => Effect.Effect<import("@yielded/auth/Hooks").PreparedCommit<A>, M.OAuthUnavailable, never>;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@yielded/auth-persistence-drizzle","version":"0.1.0-beta.
|
|
1
|
+
{"name":"@yielded/auth-persistence-drizzle","version":"0.1.0-beta.22","dependencies":{"@yielded/auth":"0.1.0-beta.22","@yielded/auth-persistence":"0.1.0-beta.22"},"devDependencies":{"@effect/platform-bun":"4.0.0","@effect/platform-node":"4.0.0","@effect/sql-d1":"4.0.0","@effect/sql-libsql":"4.0.0","@effect/sql-mysql2":"4.0.0","@effect/sql-pg":"4.0.0","@effect/sql-pglite":"4.0.0","@effect/sql-sqlite-bun":"4.0.0","@effect/sql-sqlite-do":"4.0.0","@effect/sql-sqlite-node":"4.0.0","@effect/sql-sqlite-wasm":"4.0.0","@effect/vitest":"4.0.0","@yielded/crypto":"0.1.0-beta.22","drizzle-orm":"1.0.0-rc.4","effect":"4.0.0","typescript":"7.0.2","vite-plus":"0.3.3"},"peerDependencies":{"@effect/sql-d1":">=4.0.0","@effect/sql-libsql":">=4.0.0","@effect/sql-mysql2":">=4.0.0","@effect/sql-pg":">=4.0.0","@effect/sql-pglite":">=4.0.0","@effect/sql-sqlite-bun":">=4.0.0","@effect/sql-sqlite-do":">=4.0.0","@effect/sql-sqlite-node":">=4.0.0","@effect/sql-sqlite-wasm":">=4.0.0","drizzle-orm":">=1.0.0-rc.4","effect":"^4.0.0"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./D1":{"types":"./dist/D1.d.mts","default":"./dist/D1.mjs"},"./Libsql":{"types":"./dist/Libsql.d.mts","default":"./dist/Libsql.mjs"},"./Mysql2":{"types":"./dist/Mysql2.d.mts","default":"./dist/Mysql2.mjs"},"./Pglite":{"types":"./dist/Pglite.d.mts","default":"./dist/Pglite.mjs"},"./Postgres":{"types":"./dist/Postgres.d.mts","default":"./dist/Postgres.mjs"},"./SqliteBun":{"types":"./dist/SqliteBun.d.mts","default":"./dist/SqliteBun.mjs"},"./SqliteDo":{"types":"./dist/SqliteDo.d.mts","default":"./dist/SqliteDo.mjs"},"./SqliteNode":{"types":"./dist/SqliteNode.d.mts","default":"./dist/SqliteNode.mjs"},"./SqliteWasm":{"types":"./dist/SqliteWasm.d.mts","default":"./dist/SqliteWasm.mjs"}},"description":"Drizzle persistence, table mappings, and migration adapters for Yielded Auth.","homepage":"https://yielded.dev/auth/","bugs":{"url":"https://github.com/yielded-dev/auth/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/auth.git","directory":"packages/auth-persistence-drizzle"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json","test":"vp test --passWithNoTests","example:totp":"bun test/fixtures/totp-sqlite-bun.ts"},"peerDependenciesMeta":{"@effect/sql-d1":{"optional":true},"@effect/sql-libsql":{"optional":true},"@effect/sql-mysql2":{"optional":true},"@effect/sql-pg":{"optional":true},"@effect/sql-pglite":{"optional":true},"@effect/sql-sqlite-bun":{"optional":true},"@effect/sql-sqlite-do":{"optional":true},"@effect/sql-sqlite-node":{"optional":true},"@effect/sql-sqlite-wasm":{"optional":true}}}
|