@authhero/kysely-adapter 0.22.0 → 0.24.0
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/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +22 -20
- package/dist/kysely-adapter.mjs +2095 -2095
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -553,10 +553,6 @@ declare enum AuthorizationResponseMode {
|
|
|
553
553
|
WEB_MESSAGE = "web_message",
|
|
554
554
|
SAML_POST = "saml_post"
|
|
555
555
|
}
|
|
556
|
-
declare enum CodeChallengeMethod {
|
|
557
|
-
S265 = "S256",
|
|
558
|
-
plain = "plain"
|
|
559
|
-
}
|
|
560
556
|
declare const brandingSchema: z.ZodObject<{
|
|
561
557
|
colors: z.ZodOptional<z.ZodObject<{
|
|
562
558
|
primary: z.ZodString;
|
|
@@ -1102,7 +1098,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1102
1098
|
"oauth2_state",
|
|
1103
1099
|
"ticket"
|
|
1104
1100
|
]>;
|
|
1105
|
-
code_verifier: z.ZodOptional<z.ZodString>;
|
|
1106
1101
|
expires_at: z.ZodString;
|
|
1107
1102
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1108
1103
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1113,7 +1108,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1113
1108
|
expires_at: string;
|
|
1114
1109
|
user_id?: string | undefined;
|
|
1115
1110
|
connection_id?: string | undefined;
|
|
1116
|
-
code_verifier?: string | undefined;
|
|
1117
1111
|
used_at?: string | undefined;
|
|
1118
1112
|
}, {
|
|
1119
1113
|
code_id: string;
|
|
@@ -1122,7 +1116,6 @@ declare const codeInsertSchema: z.ZodObject<{
|
|
|
1122
1116
|
expires_at: string;
|
|
1123
1117
|
user_id?: string | undefined;
|
|
1124
1118
|
connection_id?: string | undefined;
|
|
1125
|
-
code_verifier?: string | undefined;
|
|
1126
1119
|
used_at?: string | undefined;
|
|
1127
1120
|
}>;
|
|
1128
1121
|
export type CodeInsert = z.infer<typeof codeInsertSchema>;
|
|
@@ -1139,7 +1132,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1139
1132
|
"oauth2_state",
|
|
1140
1133
|
"ticket"
|
|
1141
1134
|
]>;
|
|
1142
|
-
code_verifier: z.ZodOptional<z.ZodString>;
|
|
1143
1135
|
expires_at: z.ZodString;
|
|
1144
1136
|
used_at: z.ZodOptional<z.ZodString>;
|
|
1145
1137
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1151,7 +1143,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1151
1143
|
expires_at: string;
|
|
1152
1144
|
user_id?: string | undefined;
|
|
1153
1145
|
connection_id?: string | undefined;
|
|
1154
|
-
code_verifier?: string | undefined;
|
|
1155
1146
|
used_at?: string | undefined;
|
|
1156
1147
|
}, {
|
|
1157
1148
|
created_at: string;
|
|
@@ -1161,7 +1152,6 @@ declare const codeSchema: z.ZodObject<{
|
|
|
1161
1152
|
expires_at: string;
|
|
1162
1153
|
user_id?: string | undefined;
|
|
1163
1154
|
connection_id?: string | undefined;
|
|
1164
|
-
code_verifier?: string | undefined;
|
|
1165
1155
|
used_at?: string | undefined;
|
|
1166
1156
|
}>;
|
|
1167
1157
|
export type Code = z.infer<typeof codeSchema>;
|
|
@@ -1500,7 +1490,10 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1500
1490
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1501
1491
|
scope: z.ZodOptional<z.ZodString>;
|
|
1502
1492
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1503
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1493
|
+
code_challenge_method: z.ZodOptional<z.ZodEnum<[
|
|
1494
|
+
"plain",
|
|
1495
|
+
"S256"
|
|
1496
|
+
]>>;
|
|
1504
1497
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1505
1498
|
username: z.ZodOptional<z.ZodString>;
|
|
1506
1499
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1517,7 +1510,7 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1517
1510
|
nonce?: string | undefined;
|
|
1518
1511
|
scope?: string | undefined;
|
|
1519
1512
|
prompt?: string | undefined;
|
|
1520
|
-
code_challenge_method?:
|
|
1513
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1521
1514
|
code_challenge?: string | undefined;
|
|
1522
1515
|
ui_locales?: string | undefined;
|
|
1523
1516
|
}, {
|
|
@@ -1533,13 +1526,14 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1533
1526
|
nonce?: string | undefined;
|
|
1534
1527
|
scope?: string | undefined;
|
|
1535
1528
|
prompt?: string | undefined;
|
|
1536
|
-
code_challenge_method?:
|
|
1529
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1537
1530
|
code_challenge?: string | undefined;
|
|
1538
1531
|
ui_locales?: string | undefined;
|
|
1539
1532
|
}>;
|
|
1540
1533
|
expires_at: z.ZodString;
|
|
1541
1534
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
1542
1535
|
ip: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
useragent: z.ZodOptional<z.ZodString>;
|
|
1543
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1544
1538
|
expires_at: string;
|
|
1545
1539
|
authParams: {
|
|
@@ -1555,13 +1549,14 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1555
1549
|
nonce?: string | undefined;
|
|
1556
1550
|
scope?: string | undefined;
|
|
1557
1551
|
prompt?: string | undefined;
|
|
1558
|
-
code_challenge_method?:
|
|
1552
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1559
1553
|
code_challenge?: string | undefined;
|
|
1560
1554
|
ui_locales?: string | undefined;
|
|
1561
1555
|
};
|
|
1562
1556
|
auth0Client?: string | undefined;
|
|
1563
1557
|
deleted_at?: string | undefined;
|
|
1564
1558
|
ip?: string | undefined;
|
|
1559
|
+
useragent?: string | undefined;
|
|
1565
1560
|
}, {
|
|
1566
1561
|
expires_at: string;
|
|
1567
1562
|
authParams: {
|
|
@@ -1577,13 +1572,14 @@ declare const loginInsertSchema: z.ZodObject<{
|
|
|
1577
1572
|
nonce?: string | undefined;
|
|
1578
1573
|
scope?: string | undefined;
|
|
1579
1574
|
prompt?: string | undefined;
|
|
1580
|
-
code_challenge_method?:
|
|
1575
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1581
1576
|
code_challenge?: string | undefined;
|
|
1582
1577
|
ui_locales?: string | undefined;
|
|
1583
1578
|
};
|
|
1584
1579
|
auth0Client?: string | undefined;
|
|
1585
1580
|
deleted_at?: string | undefined;
|
|
1586
1581
|
ip?: string | undefined;
|
|
1582
|
+
useragent?: string | undefined;
|
|
1587
1583
|
}>;
|
|
1588
1584
|
export type LoginInsert = z.infer<typeof loginInsertSchema>;
|
|
1589
1585
|
declare const loginSchema: z.ZodObject<{
|
|
@@ -1603,7 +1599,10 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1603
1599
|
nonce: z.ZodOptional<z.ZodString>;
|
|
1604
1600
|
scope: z.ZodOptional<z.ZodString>;
|
|
1605
1601
|
prompt: z.ZodOptional<z.ZodString>;
|
|
1606
|
-
code_challenge_method: z.ZodOptional<z.
|
|
1602
|
+
code_challenge_method: z.ZodOptional<z.ZodEnum<[
|
|
1603
|
+
"plain",
|
|
1604
|
+
"S256"
|
|
1605
|
+
]>>;
|
|
1607
1606
|
code_challenge: z.ZodOptional<z.ZodString>;
|
|
1608
1607
|
username: z.ZodOptional<z.ZodString>;
|
|
1609
1608
|
ui_locales: z.ZodOptional<z.ZodString>;
|
|
@@ -1620,7 +1619,7 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1620
1619
|
nonce?: string | undefined;
|
|
1621
1620
|
scope?: string | undefined;
|
|
1622
1621
|
prompt?: string | undefined;
|
|
1623
|
-
code_challenge_method?:
|
|
1622
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1624
1623
|
code_challenge?: string | undefined;
|
|
1625
1624
|
ui_locales?: string | undefined;
|
|
1626
1625
|
}, {
|
|
@@ -1636,13 +1635,14 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1636
1635
|
nonce?: string | undefined;
|
|
1637
1636
|
scope?: string | undefined;
|
|
1638
1637
|
prompt?: string | undefined;
|
|
1639
|
-
code_challenge_method?:
|
|
1638
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1640
1639
|
code_challenge?: string | undefined;
|
|
1641
1640
|
ui_locales?: string | undefined;
|
|
1642
1641
|
}>;
|
|
1643
1642
|
expires_at: z.ZodString;
|
|
1644
1643
|
deleted_at: z.ZodOptional<z.ZodString>;
|
|
1645
1644
|
ip: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
useragent: z.ZodOptional<z.ZodString>;
|
|
1646
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1647
1647
|
created_at: string;
|
|
1648
1648
|
updated_at: string;
|
|
@@ -1661,13 +1661,14 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1661
1661
|
nonce?: string | undefined;
|
|
1662
1662
|
scope?: string | undefined;
|
|
1663
1663
|
prompt?: string | undefined;
|
|
1664
|
-
code_challenge_method?:
|
|
1664
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1665
1665
|
code_challenge?: string | undefined;
|
|
1666
1666
|
ui_locales?: string | undefined;
|
|
1667
1667
|
};
|
|
1668
1668
|
auth0Client?: string | undefined;
|
|
1669
1669
|
deleted_at?: string | undefined;
|
|
1670
1670
|
ip?: string | undefined;
|
|
1671
|
+
useragent?: string | undefined;
|
|
1671
1672
|
}, {
|
|
1672
1673
|
created_at: string;
|
|
1673
1674
|
updated_at: string;
|
|
@@ -1686,13 +1687,14 @@ declare const loginSchema: z.ZodObject<{
|
|
|
1686
1687
|
nonce?: string | undefined;
|
|
1687
1688
|
scope?: string | undefined;
|
|
1688
1689
|
prompt?: string | undefined;
|
|
1689
|
-
code_challenge_method?:
|
|
1690
|
+
code_challenge_method?: "S256" | "plain" | undefined;
|
|
1690
1691
|
code_challenge?: string | undefined;
|
|
1691
1692
|
ui_locales?: string | undefined;
|
|
1692
1693
|
};
|
|
1693
1694
|
auth0Client?: string | undefined;
|
|
1694
1695
|
deleted_at?: string | undefined;
|
|
1695
1696
|
ip?: string | undefined;
|
|
1697
|
+
useragent?: string | undefined;
|
|
1696
1698
|
}>;
|
|
1697
1699
|
export type Login = z.infer<typeof loginSchema>;
|
|
1698
1700
|
declare const LogType: z.ZodEnum<[
|