@inkeep/agents-core 0.38.2 → 0.39.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/auth/auth-schema.d.ts +178 -1
- package/dist/auth/auth-schema.js +1 -1
- package/dist/auth/auth-validation-schemas.d.ts +347 -1
- package/dist/auth/auth-validation-schemas.js +4 -2
- package/dist/auth/auth.d.ts +360 -2
- package/dist/auth/auth.js +12 -2
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/{chunk-DW4DNYUS.js → chunk-BZOLMLKX.js} +2 -2
- package/dist/{chunk-CWAFZVRI.js → chunk-FGS57CQI.js} +1 -1
- package/dist/{chunk-LH6OJIIM.js → chunk-LI7GCYW2.js} +3 -2
- package/dist/{chunk-S4XQEAAF.js → chunk-PKGWDXDS.js} +65 -21
- package/dist/{chunk-UK63CULA.js → chunk-RZN5SMF6.js} +1 -1
- package/dist/{chunk-GENLXHZ4.js → chunk-XL55SHQM.js} +14 -2
- package/dist/{client-DG_xZdlN.d.ts → client-DmOy13ep.d.ts} +1 -1
- package/dist/client-exports.js +3 -3
- package/dist/credential-stores/index.d.ts +15 -1
- package/dist/credential-stores/index.js +1 -1
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +2 -2
- package/dist/db/test-client.d.ts +2 -2
- package/dist/db/test-client.js +1 -1
- package/dist/dist-TUQUTLPM.js +15929 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +16 -16
- package/dist/{schema-DA6PfmoP.d.ts → schema-Bq_OERAy.d.ts} +3 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0006_stale_thaddeus_ross.sql +12 -0
- package/drizzle/meta/0006_snapshot.json +3766 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +11 -11
- package/dist/chunk-SIAA4J6H.js +0 -17
|
@@ -1111,6 +1111,183 @@ declare const invitation: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1111
1111
|
};
|
|
1112
1112
|
dialect: "pg";
|
|
1113
1113
|
}>;
|
|
1114
|
+
declare const deviceCode: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
1115
|
+
name: "device_code";
|
|
1116
|
+
schema: undefined;
|
|
1117
|
+
columns: {
|
|
1118
|
+
id: drizzle_orm_pg_core.PgColumn<{
|
|
1119
|
+
name: "id";
|
|
1120
|
+
tableName: "device_code";
|
|
1121
|
+
dataType: "string";
|
|
1122
|
+
columnType: "PgText";
|
|
1123
|
+
data: string;
|
|
1124
|
+
driverParam: string;
|
|
1125
|
+
notNull: true;
|
|
1126
|
+
hasDefault: false;
|
|
1127
|
+
isPrimaryKey: true;
|
|
1128
|
+
isAutoincrement: false;
|
|
1129
|
+
hasRuntimeDefault: false;
|
|
1130
|
+
enumValues: [string, ...string[]];
|
|
1131
|
+
baseColumn: never;
|
|
1132
|
+
identity: undefined;
|
|
1133
|
+
generated: undefined;
|
|
1134
|
+
}, {}, {}>;
|
|
1135
|
+
deviceCode: drizzle_orm_pg_core.PgColumn<{
|
|
1136
|
+
name: "device_code";
|
|
1137
|
+
tableName: "device_code";
|
|
1138
|
+
dataType: "string";
|
|
1139
|
+
columnType: "PgText";
|
|
1140
|
+
data: string;
|
|
1141
|
+
driverParam: string;
|
|
1142
|
+
notNull: true;
|
|
1143
|
+
hasDefault: false;
|
|
1144
|
+
isPrimaryKey: false;
|
|
1145
|
+
isAutoincrement: false;
|
|
1146
|
+
hasRuntimeDefault: false;
|
|
1147
|
+
enumValues: [string, ...string[]];
|
|
1148
|
+
baseColumn: never;
|
|
1149
|
+
identity: undefined;
|
|
1150
|
+
generated: undefined;
|
|
1151
|
+
}, {}, {}>;
|
|
1152
|
+
userCode: drizzle_orm_pg_core.PgColumn<{
|
|
1153
|
+
name: "user_code";
|
|
1154
|
+
tableName: "device_code";
|
|
1155
|
+
dataType: "string";
|
|
1156
|
+
columnType: "PgText";
|
|
1157
|
+
data: string;
|
|
1158
|
+
driverParam: string;
|
|
1159
|
+
notNull: true;
|
|
1160
|
+
hasDefault: false;
|
|
1161
|
+
isPrimaryKey: false;
|
|
1162
|
+
isAutoincrement: false;
|
|
1163
|
+
hasRuntimeDefault: false;
|
|
1164
|
+
enumValues: [string, ...string[]];
|
|
1165
|
+
baseColumn: never;
|
|
1166
|
+
identity: undefined;
|
|
1167
|
+
generated: undefined;
|
|
1168
|
+
}, {}, {}>;
|
|
1169
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
1170
|
+
name: "user_id";
|
|
1171
|
+
tableName: "device_code";
|
|
1172
|
+
dataType: "string";
|
|
1173
|
+
columnType: "PgText";
|
|
1174
|
+
data: string;
|
|
1175
|
+
driverParam: string;
|
|
1176
|
+
notNull: false;
|
|
1177
|
+
hasDefault: false;
|
|
1178
|
+
isPrimaryKey: false;
|
|
1179
|
+
isAutoincrement: false;
|
|
1180
|
+
hasRuntimeDefault: false;
|
|
1181
|
+
enumValues: [string, ...string[]];
|
|
1182
|
+
baseColumn: never;
|
|
1183
|
+
identity: undefined;
|
|
1184
|
+
generated: undefined;
|
|
1185
|
+
}, {}, {}>;
|
|
1186
|
+
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
1187
|
+
name: "expires_at";
|
|
1188
|
+
tableName: "device_code";
|
|
1189
|
+
dataType: "date";
|
|
1190
|
+
columnType: "PgTimestamp";
|
|
1191
|
+
data: Date;
|
|
1192
|
+
driverParam: string;
|
|
1193
|
+
notNull: true;
|
|
1194
|
+
hasDefault: false;
|
|
1195
|
+
isPrimaryKey: false;
|
|
1196
|
+
isAutoincrement: false;
|
|
1197
|
+
hasRuntimeDefault: false;
|
|
1198
|
+
enumValues: undefined;
|
|
1199
|
+
baseColumn: never;
|
|
1200
|
+
identity: undefined;
|
|
1201
|
+
generated: undefined;
|
|
1202
|
+
}, {}, {}>;
|
|
1203
|
+
status: drizzle_orm_pg_core.PgColumn<{
|
|
1204
|
+
name: "status";
|
|
1205
|
+
tableName: "device_code";
|
|
1206
|
+
dataType: "string";
|
|
1207
|
+
columnType: "PgText";
|
|
1208
|
+
data: string;
|
|
1209
|
+
driverParam: string;
|
|
1210
|
+
notNull: true;
|
|
1211
|
+
hasDefault: false;
|
|
1212
|
+
isPrimaryKey: false;
|
|
1213
|
+
isAutoincrement: false;
|
|
1214
|
+
hasRuntimeDefault: false;
|
|
1215
|
+
enumValues: [string, ...string[]];
|
|
1216
|
+
baseColumn: never;
|
|
1217
|
+
identity: undefined;
|
|
1218
|
+
generated: undefined;
|
|
1219
|
+
}, {}, {}>;
|
|
1220
|
+
lastPolledAt: drizzle_orm_pg_core.PgColumn<{
|
|
1221
|
+
name: "last_polled_at";
|
|
1222
|
+
tableName: "device_code";
|
|
1223
|
+
dataType: "date";
|
|
1224
|
+
columnType: "PgTimestamp";
|
|
1225
|
+
data: Date;
|
|
1226
|
+
driverParam: string;
|
|
1227
|
+
notNull: false;
|
|
1228
|
+
hasDefault: false;
|
|
1229
|
+
isPrimaryKey: false;
|
|
1230
|
+
isAutoincrement: false;
|
|
1231
|
+
hasRuntimeDefault: false;
|
|
1232
|
+
enumValues: undefined;
|
|
1233
|
+
baseColumn: never;
|
|
1234
|
+
identity: undefined;
|
|
1235
|
+
generated: undefined;
|
|
1236
|
+
}, {}, {}>;
|
|
1237
|
+
pollingInterval: drizzle_orm_pg_core.PgColumn<{
|
|
1238
|
+
name: "polling_interval";
|
|
1239
|
+
tableName: "device_code";
|
|
1240
|
+
dataType: "number";
|
|
1241
|
+
columnType: "PgInteger";
|
|
1242
|
+
data: number;
|
|
1243
|
+
driverParam: string | number;
|
|
1244
|
+
notNull: false;
|
|
1245
|
+
hasDefault: false;
|
|
1246
|
+
isPrimaryKey: false;
|
|
1247
|
+
isAutoincrement: false;
|
|
1248
|
+
hasRuntimeDefault: false;
|
|
1249
|
+
enumValues: undefined;
|
|
1250
|
+
baseColumn: never;
|
|
1251
|
+
identity: undefined;
|
|
1252
|
+
generated: undefined;
|
|
1253
|
+
}, {}, {}>;
|
|
1254
|
+
clientId: drizzle_orm_pg_core.PgColumn<{
|
|
1255
|
+
name: "client_id";
|
|
1256
|
+
tableName: "device_code";
|
|
1257
|
+
dataType: "string";
|
|
1258
|
+
columnType: "PgText";
|
|
1259
|
+
data: string;
|
|
1260
|
+
driverParam: string;
|
|
1261
|
+
notNull: false;
|
|
1262
|
+
hasDefault: false;
|
|
1263
|
+
isPrimaryKey: false;
|
|
1264
|
+
isAutoincrement: false;
|
|
1265
|
+
hasRuntimeDefault: false;
|
|
1266
|
+
enumValues: [string, ...string[]];
|
|
1267
|
+
baseColumn: never;
|
|
1268
|
+
identity: undefined;
|
|
1269
|
+
generated: undefined;
|
|
1270
|
+
}, {}, {}>;
|
|
1271
|
+
scope: drizzle_orm_pg_core.PgColumn<{
|
|
1272
|
+
name: "scope";
|
|
1273
|
+
tableName: "device_code";
|
|
1274
|
+
dataType: "string";
|
|
1275
|
+
columnType: "PgText";
|
|
1276
|
+
data: string;
|
|
1277
|
+
driverParam: string;
|
|
1278
|
+
notNull: false;
|
|
1279
|
+
hasDefault: false;
|
|
1280
|
+
isPrimaryKey: false;
|
|
1281
|
+
isAutoincrement: false;
|
|
1282
|
+
hasRuntimeDefault: false;
|
|
1283
|
+
enumValues: [string, ...string[]];
|
|
1284
|
+
baseColumn: never;
|
|
1285
|
+
identity: undefined;
|
|
1286
|
+
generated: undefined;
|
|
1287
|
+
}, {}, {}>;
|
|
1288
|
+
};
|
|
1289
|
+
dialect: "pg";
|
|
1290
|
+
}>;
|
|
1114
1291
|
declare const userRelations: drizzle_orm.Relations<"user", {
|
|
1115
1292
|
sessions: drizzle_orm.Many<"session">;
|
|
1116
1293
|
accounts: drizzle_orm.Many<"account">;
|
|
@@ -1140,4 +1317,4 @@ declare const invitationRelations: drizzle_orm.Relations<"invitation", {
|
|
|
1140
1317
|
user: drizzle_orm.One<"user", true>;
|
|
1141
1318
|
}>;
|
|
1142
1319
|
|
|
1143
|
-
export { account, accountRelations, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification };
|
|
1320
|
+
export { account, accountRelations, deviceCode, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification };
|
package/dist/auth/auth-schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { account, accountRelations, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification } from '../chunk-
|
|
1
|
+
export { account, accountRelations, deviceCode, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification } from '../chunk-XL55SHQM.js';
|
|
@@ -1658,6 +1658,350 @@ declare const InvitationInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
1658
1658
|
generated: undefined;
|
|
1659
1659
|
}, {}, {}>;
|
|
1660
1660
|
}, undefined, undefined>;
|
|
1661
|
+
declare const DeviceCodeSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
1662
|
+
id: drizzle_orm_pg_core.PgColumn<{
|
|
1663
|
+
name: "id";
|
|
1664
|
+
tableName: "device_code";
|
|
1665
|
+
dataType: "string";
|
|
1666
|
+
columnType: "PgText";
|
|
1667
|
+
data: string;
|
|
1668
|
+
driverParam: string;
|
|
1669
|
+
notNull: true;
|
|
1670
|
+
hasDefault: false;
|
|
1671
|
+
isPrimaryKey: true;
|
|
1672
|
+
isAutoincrement: false;
|
|
1673
|
+
hasRuntimeDefault: false;
|
|
1674
|
+
enumValues: [string, ...string[]];
|
|
1675
|
+
baseColumn: never;
|
|
1676
|
+
identity: undefined;
|
|
1677
|
+
generated: undefined;
|
|
1678
|
+
}, {}, {}>;
|
|
1679
|
+
deviceCode: drizzle_orm_pg_core.PgColumn<{
|
|
1680
|
+
name: "device_code";
|
|
1681
|
+
tableName: "device_code";
|
|
1682
|
+
dataType: "string";
|
|
1683
|
+
columnType: "PgText";
|
|
1684
|
+
data: string;
|
|
1685
|
+
driverParam: string;
|
|
1686
|
+
notNull: true;
|
|
1687
|
+
hasDefault: false;
|
|
1688
|
+
isPrimaryKey: false;
|
|
1689
|
+
isAutoincrement: false;
|
|
1690
|
+
hasRuntimeDefault: false;
|
|
1691
|
+
enumValues: [string, ...string[]];
|
|
1692
|
+
baseColumn: never;
|
|
1693
|
+
identity: undefined;
|
|
1694
|
+
generated: undefined;
|
|
1695
|
+
}, {}, {}>;
|
|
1696
|
+
userCode: drizzle_orm_pg_core.PgColumn<{
|
|
1697
|
+
name: "user_code";
|
|
1698
|
+
tableName: "device_code";
|
|
1699
|
+
dataType: "string";
|
|
1700
|
+
columnType: "PgText";
|
|
1701
|
+
data: string;
|
|
1702
|
+
driverParam: string;
|
|
1703
|
+
notNull: true;
|
|
1704
|
+
hasDefault: false;
|
|
1705
|
+
isPrimaryKey: false;
|
|
1706
|
+
isAutoincrement: false;
|
|
1707
|
+
hasRuntimeDefault: false;
|
|
1708
|
+
enumValues: [string, ...string[]];
|
|
1709
|
+
baseColumn: never;
|
|
1710
|
+
identity: undefined;
|
|
1711
|
+
generated: undefined;
|
|
1712
|
+
}, {}, {}>;
|
|
1713
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
1714
|
+
name: "user_id";
|
|
1715
|
+
tableName: "device_code";
|
|
1716
|
+
dataType: "string";
|
|
1717
|
+
columnType: "PgText";
|
|
1718
|
+
data: string;
|
|
1719
|
+
driverParam: string;
|
|
1720
|
+
notNull: false;
|
|
1721
|
+
hasDefault: false;
|
|
1722
|
+
isPrimaryKey: false;
|
|
1723
|
+
isAutoincrement: false;
|
|
1724
|
+
hasRuntimeDefault: false;
|
|
1725
|
+
enumValues: [string, ...string[]];
|
|
1726
|
+
baseColumn: never;
|
|
1727
|
+
identity: undefined;
|
|
1728
|
+
generated: undefined;
|
|
1729
|
+
}, {}, {}>;
|
|
1730
|
+
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
1731
|
+
name: "expires_at";
|
|
1732
|
+
tableName: "device_code";
|
|
1733
|
+
dataType: "date";
|
|
1734
|
+
columnType: "PgTimestamp";
|
|
1735
|
+
data: Date;
|
|
1736
|
+
driverParam: string;
|
|
1737
|
+
notNull: true;
|
|
1738
|
+
hasDefault: false;
|
|
1739
|
+
isPrimaryKey: false;
|
|
1740
|
+
isAutoincrement: false;
|
|
1741
|
+
hasRuntimeDefault: false;
|
|
1742
|
+
enumValues: undefined;
|
|
1743
|
+
baseColumn: never;
|
|
1744
|
+
identity: undefined;
|
|
1745
|
+
generated: undefined;
|
|
1746
|
+
}, {}, {}>;
|
|
1747
|
+
status: drizzle_orm_pg_core.PgColumn<{
|
|
1748
|
+
name: "status";
|
|
1749
|
+
tableName: "device_code";
|
|
1750
|
+
dataType: "string";
|
|
1751
|
+
columnType: "PgText";
|
|
1752
|
+
data: string;
|
|
1753
|
+
driverParam: string;
|
|
1754
|
+
notNull: true;
|
|
1755
|
+
hasDefault: false;
|
|
1756
|
+
isPrimaryKey: false;
|
|
1757
|
+
isAutoincrement: false;
|
|
1758
|
+
hasRuntimeDefault: false;
|
|
1759
|
+
enumValues: [string, ...string[]];
|
|
1760
|
+
baseColumn: never;
|
|
1761
|
+
identity: undefined;
|
|
1762
|
+
generated: undefined;
|
|
1763
|
+
}, {}, {}>;
|
|
1764
|
+
lastPolledAt: drizzle_orm_pg_core.PgColumn<{
|
|
1765
|
+
name: "last_polled_at";
|
|
1766
|
+
tableName: "device_code";
|
|
1767
|
+
dataType: "date";
|
|
1768
|
+
columnType: "PgTimestamp";
|
|
1769
|
+
data: Date;
|
|
1770
|
+
driverParam: string;
|
|
1771
|
+
notNull: false;
|
|
1772
|
+
hasDefault: false;
|
|
1773
|
+
isPrimaryKey: false;
|
|
1774
|
+
isAutoincrement: false;
|
|
1775
|
+
hasRuntimeDefault: false;
|
|
1776
|
+
enumValues: undefined;
|
|
1777
|
+
baseColumn: never;
|
|
1778
|
+
identity: undefined;
|
|
1779
|
+
generated: undefined;
|
|
1780
|
+
}, {}, {}>;
|
|
1781
|
+
pollingInterval: drizzle_orm_pg_core.PgColumn<{
|
|
1782
|
+
name: "polling_interval";
|
|
1783
|
+
tableName: "device_code";
|
|
1784
|
+
dataType: "number";
|
|
1785
|
+
columnType: "PgInteger";
|
|
1786
|
+
data: number;
|
|
1787
|
+
driverParam: string | number;
|
|
1788
|
+
notNull: false;
|
|
1789
|
+
hasDefault: false;
|
|
1790
|
+
isPrimaryKey: false;
|
|
1791
|
+
isAutoincrement: false;
|
|
1792
|
+
hasRuntimeDefault: false;
|
|
1793
|
+
enumValues: undefined;
|
|
1794
|
+
baseColumn: never;
|
|
1795
|
+
identity: undefined;
|
|
1796
|
+
generated: undefined;
|
|
1797
|
+
}, {}, {}>;
|
|
1798
|
+
clientId: drizzle_orm_pg_core.PgColumn<{
|
|
1799
|
+
name: "client_id";
|
|
1800
|
+
tableName: "device_code";
|
|
1801
|
+
dataType: "string";
|
|
1802
|
+
columnType: "PgText";
|
|
1803
|
+
data: string;
|
|
1804
|
+
driverParam: string;
|
|
1805
|
+
notNull: false;
|
|
1806
|
+
hasDefault: false;
|
|
1807
|
+
isPrimaryKey: false;
|
|
1808
|
+
isAutoincrement: false;
|
|
1809
|
+
hasRuntimeDefault: false;
|
|
1810
|
+
enumValues: [string, ...string[]];
|
|
1811
|
+
baseColumn: never;
|
|
1812
|
+
identity: undefined;
|
|
1813
|
+
generated: undefined;
|
|
1814
|
+
}, {}, {}>;
|
|
1815
|
+
scope: drizzle_orm_pg_core.PgColumn<{
|
|
1816
|
+
name: "scope";
|
|
1817
|
+
tableName: "device_code";
|
|
1818
|
+
dataType: "string";
|
|
1819
|
+
columnType: "PgText";
|
|
1820
|
+
data: string;
|
|
1821
|
+
driverParam: string;
|
|
1822
|
+
notNull: false;
|
|
1823
|
+
hasDefault: false;
|
|
1824
|
+
isPrimaryKey: false;
|
|
1825
|
+
isAutoincrement: false;
|
|
1826
|
+
hasRuntimeDefault: false;
|
|
1827
|
+
enumValues: [string, ...string[]];
|
|
1828
|
+
baseColumn: never;
|
|
1829
|
+
identity: undefined;
|
|
1830
|
+
generated: undefined;
|
|
1831
|
+
}, {}, {}>;
|
|
1832
|
+
}, undefined, undefined>;
|
|
1833
|
+
declare const DeviceCodeInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
1834
|
+
id: drizzle_orm_pg_core.PgColumn<{
|
|
1835
|
+
name: "id";
|
|
1836
|
+
tableName: "device_code";
|
|
1837
|
+
dataType: "string";
|
|
1838
|
+
columnType: "PgText";
|
|
1839
|
+
data: string;
|
|
1840
|
+
driverParam: string;
|
|
1841
|
+
notNull: true;
|
|
1842
|
+
hasDefault: false;
|
|
1843
|
+
isPrimaryKey: true;
|
|
1844
|
+
isAutoincrement: false;
|
|
1845
|
+
hasRuntimeDefault: false;
|
|
1846
|
+
enumValues: [string, ...string[]];
|
|
1847
|
+
baseColumn: never;
|
|
1848
|
+
identity: undefined;
|
|
1849
|
+
generated: undefined;
|
|
1850
|
+
}, {}, {}>;
|
|
1851
|
+
deviceCode: drizzle_orm_pg_core.PgColumn<{
|
|
1852
|
+
name: "device_code";
|
|
1853
|
+
tableName: "device_code";
|
|
1854
|
+
dataType: "string";
|
|
1855
|
+
columnType: "PgText";
|
|
1856
|
+
data: string;
|
|
1857
|
+
driverParam: string;
|
|
1858
|
+
notNull: true;
|
|
1859
|
+
hasDefault: false;
|
|
1860
|
+
isPrimaryKey: false;
|
|
1861
|
+
isAutoincrement: false;
|
|
1862
|
+
hasRuntimeDefault: false;
|
|
1863
|
+
enumValues: [string, ...string[]];
|
|
1864
|
+
baseColumn: never;
|
|
1865
|
+
identity: undefined;
|
|
1866
|
+
generated: undefined;
|
|
1867
|
+
}, {}, {}>;
|
|
1868
|
+
userCode: drizzle_orm_pg_core.PgColumn<{
|
|
1869
|
+
name: "user_code";
|
|
1870
|
+
tableName: "device_code";
|
|
1871
|
+
dataType: "string";
|
|
1872
|
+
columnType: "PgText";
|
|
1873
|
+
data: string;
|
|
1874
|
+
driverParam: string;
|
|
1875
|
+
notNull: true;
|
|
1876
|
+
hasDefault: false;
|
|
1877
|
+
isPrimaryKey: false;
|
|
1878
|
+
isAutoincrement: false;
|
|
1879
|
+
hasRuntimeDefault: false;
|
|
1880
|
+
enumValues: [string, ...string[]];
|
|
1881
|
+
baseColumn: never;
|
|
1882
|
+
identity: undefined;
|
|
1883
|
+
generated: undefined;
|
|
1884
|
+
}, {}, {}>;
|
|
1885
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
1886
|
+
name: "user_id";
|
|
1887
|
+
tableName: "device_code";
|
|
1888
|
+
dataType: "string";
|
|
1889
|
+
columnType: "PgText";
|
|
1890
|
+
data: string;
|
|
1891
|
+
driverParam: string;
|
|
1892
|
+
notNull: false;
|
|
1893
|
+
hasDefault: false;
|
|
1894
|
+
isPrimaryKey: false;
|
|
1895
|
+
isAutoincrement: false;
|
|
1896
|
+
hasRuntimeDefault: false;
|
|
1897
|
+
enumValues: [string, ...string[]];
|
|
1898
|
+
baseColumn: never;
|
|
1899
|
+
identity: undefined;
|
|
1900
|
+
generated: undefined;
|
|
1901
|
+
}, {}, {}>;
|
|
1902
|
+
expiresAt: drizzle_orm_pg_core.PgColumn<{
|
|
1903
|
+
name: "expires_at";
|
|
1904
|
+
tableName: "device_code";
|
|
1905
|
+
dataType: "date";
|
|
1906
|
+
columnType: "PgTimestamp";
|
|
1907
|
+
data: Date;
|
|
1908
|
+
driverParam: string;
|
|
1909
|
+
notNull: true;
|
|
1910
|
+
hasDefault: false;
|
|
1911
|
+
isPrimaryKey: false;
|
|
1912
|
+
isAutoincrement: false;
|
|
1913
|
+
hasRuntimeDefault: false;
|
|
1914
|
+
enumValues: undefined;
|
|
1915
|
+
baseColumn: never;
|
|
1916
|
+
identity: undefined;
|
|
1917
|
+
generated: undefined;
|
|
1918
|
+
}, {}, {}>;
|
|
1919
|
+
status: drizzle_orm_pg_core.PgColumn<{
|
|
1920
|
+
name: "status";
|
|
1921
|
+
tableName: "device_code";
|
|
1922
|
+
dataType: "string";
|
|
1923
|
+
columnType: "PgText";
|
|
1924
|
+
data: string;
|
|
1925
|
+
driverParam: string;
|
|
1926
|
+
notNull: true;
|
|
1927
|
+
hasDefault: false;
|
|
1928
|
+
isPrimaryKey: false;
|
|
1929
|
+
isAutoincrement: false;
|
|
1930
|
+
hasRuntimeDefault: false;
|
|
1931
|
+
enumValues: [string, ...string[]];
|
|
1932
|
+
baseColumn: never;
|
|
1933
|
+
identity: undefined;
|
|
1934
|
+
generated: undefined;
|
|
1935
|
+
}, {}, {}>;
|
|
1936
|
+
lastPolledAt: drizzle_orm_pg_core.PgColumn<{
|
|
1937
|
+
name: "last_polled_at";
|
|
1938
|
+
tableName: "device_code";
|
|
1939
|
+
dataType: "date";
|
|
1940
|
+
columnType: "PgTimestamp";
|
|
1941
|
+
data: Date;
|
|
1942
|
+
driverParam: string;
|
|
1943
|
+
notNull: false;
|
|
1944
|
+
hasDefault: false;
|
|
1945
|
+
isPrimaryKey: false;
|
|
1946
|
+
isAutoincrement: false;
|
|
1947
|
+
hasRuntimeDefault: false;
|
|
1948
|
+
enumValues: undefined;
|
|
1949
|
+
baseColumn: never;
|
|
1950
|
+
identity: undefined;
|
|
1951
|
+
generated: undefined;
|
|
1952
|
+
}, {}, {}>;
|
|
1953
|
+
pollingInterval: drizzle_orm_pg_core.PgColumn<{
|
|
1954
|
+
name: "polling_interval";
|
|
1955
|
+
tableName: "device_code";
|
|
1956
|
+
dataType: "number";
|
|
1957
|
+
columnType: "PgInteger";
|
|
1958
|
+
data: number;
|
|
1959
|
+
driverParam: string | number;
|
|
1960
|
+
notNull: false;
|
|
1961
|
+
hasDefault: false;
|
|
1962
|
+
isPrimaryKey: false;
|
|
1963
|
+
isAutoincrement: false;
|
|
1964
|
+
hasRuntimeDefault: false;
|
|
1965
|
+
enumValues: undefined;
|
|
1966
|
+
baseColumn: never;
|
|
1967
|
+
identity: undefined;
|
|
1968
|
+
generated: undefined;
|
|
1969
|
+
}, {}, {}>;
|
|
1970
|
+
clientId: drizzle_orm_pg_core.PgColumn<{
|
|
1971
|
+
name: "client_id";
|
|
1972
|
+
tableName: "device_code";
|
|
1973
|
+
dataType: "string";
|
|
1974
|
+
columnType: "PgText";
|
|
1975
|
+
data: string;
|
|
1976
|
+
driverParam: string;
|
|
1977
|
+
notNull: false;
|
|
1978
|
+
hasDefault: false;
|
|
1979
|
+
isPrimaryKey: false;
|
|
1980
|
+
isAutoincrement: false;
|
|
1981
|
+
hasRuntimeDefault: false;
|
|
1982
|
+
enumValues: [string, ...string[]];
|
|
1983
|
+
baseColumn: never;
|
|
1984
|
+
identity: undefined;
|
|
1985
|
+
generated: undefined;
|
|
1986
|
+
}, {}, {}>;
|
|
1987
|
+
scope: drizzle_orm_pg_core.PgColumn<{
|
|
1988
|
+
name: "scope";
|
|
1989
|
+
tableName: "device_code";
|
|
1990
|
+
dataType: "string";
|
|
1991
|
+
columnType: "PgText";
|
|
1992
|
+
data: string;
|
|
1993
|
+
driverParam: string;
|
|
1994
|
+
notNull: false;
|
|
1995
|
+
hasDefault: false;
|
|
1996
|
+
isPrimaryKey: false;
|
|
1997
|
+
isAutoincrement: false;
|
|
1998
|
+
hasRuntimeDefault: false;
|
|
1999
|
+
enumValues: [string, ...string[]];
|
|
2000
|
+
baseColumn: never;
|
|
2001
|
+
identity: undefined;
|
|
2002
|
+
generated: undefined;
|
|
2003
|
+
}, {}, {}>;
|
|
2004
|
+
}, undefined, undefined>;
|
|
1661
2005
|
declare const VerificationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
1662
2006
|
id: drizzle_orm_pg_core.PgColumn<{
|
|
1663
2007
|
name: "id";
|
|
@@ -1907,9 +2251,11 @@ type Invitation = z.infer<typeof InvitationSelectSchema>;
|
|
|
1907
2251
|
type InvitationInsert = z.infer<typeof InvitationInsertSchema>;
|
|
1908
2252
|
type Verification = z.infer<typeof VerificationSelectSchema>;
|
|
1909
2253
|
type VerificationInsert = z.infer<typeof VerificationInsertSchema>;
|
|
2254
|
+
type DeviceCode = z.infer<typeof DeviceCodeSelectSchema>;
|
|
2255
|
+
type DeviceCodeInsert = z.infer<typeof DeviceCodeInsertSchema>;
|
|
1910
2256
|
type UserOrganization = z.infer<typeof UserOrganizationSchema>;
|
|
1911
2257
|
type UserOrganizationsResponse = z.infer<typeof UserOrganizationsResponseSchema>;
|
|
1912
2258
|
type AddUserToOrganizationRequest = z.infer<typeof AddUserToOrganizationRequestSchema>;
|
|
1913
2259
|
type AddUserToOrganizationResponse = z.infer<typeof AddUserToOrganizationResponseSchema>;
|
|
1914
2260
|
|
|
1915
|
-
export { type Account, type AccountInsert, AccountInsertSchema, AccountSelectSchema, type AddUserToOrganizationRequest, AddUserToOrganizationRequestSchema, type AddUserToOrganizationResponse, AddUserToOrganizationResponseSchema, type Invitation, type InvitationInsert, InvitationInsertSchema, InvitationSelectSchema, type Member, type MemberInsert, MemberInsertSchema, MemberSelectSchema, type Organization, type OrganizationInsert, OrganizationInsertSchema, OrganizationSelectSchema, type Session, type SessionInsert, SessionInsertSchema, SessionSelectSchema, type User, type UserInsert, UserInsertSchema, type UserOrganization, UserOrganizationSchema, type UserOrganizationsResponse, UserOrganizationsResponseSchema, UserSelectSchema, type Verification, type VerificationInsert, VerificationInsertSchema, VerificationSelectSchema };
|
|
2261
|
+
export { type Account, type AccountInsert, AccountInsertSchema, AccountSelectSchema, type AddUserToOrganizationRequest, AddUserToOrganizationRequestSchema, type AddUserToOrganizationResponse, AddUserToOrganizationResponseSchema, type DeviceCode, type DeviceCodeInsert, DeviceCodeInsertSchema, DeviceCodeSelectSchema, type Invitation, type InvitationInsert, InvitationInsertSchema, InvitationSelectSchema, type Member, type MemberInsert, MemberInsertSchema, MemberSelectSchema, type Organization, type OrganizationInsert, OrganizationInsertSchema, OrganizationSelectSchema, type Session, type SessionInsert, SessionInsertSchema, SessionSelectSchema, type User, type UserInsert, UserInsertSchema, type UserOrganization, UserOrganizationSchema, type UserOrganizationsResponse, UserOrganizationsResponseSchema, UserSelectSchema, type Verification, type VerificationInsert, VerificationInsertSchema, VerificationSelectSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { user, session, account, organization, member, invitation, verification } from '../chunk-
|
|
1
|
+
import { user, session, account, organization, member, invitation, deviceCode, verification } from '../chunk-XL55SHQM.js';
|
|
2
2
|
import { z } from '@hono/zod-openapi';
|
|
3
3
|
import { createSelectSchema, createInsertSchema } from 'drizzle-zod';
|
|
4
4
|
|
|
@@ -14,6 +14,8 @@ var MemberSelectSchema = createSelectSchema(member);
|
|
|
14
14
|
var MemberInsertSchema = createInsertSchema(member);
|
|
15
15
|
var InvitationSelectSchema = createSelectSchema(invitation);
|
|
16
16
|
var InvitationInsertSchema = createInsertSchema(invitation);
|
|
17
|
+
var DeviceCodeSelectSchema = createSelectSchema(deviceCode);
|
|
18
|
+
var DeviceCodeInsertSchema = createInsertSchema(deviceCode);
|
|
17
19
|
var VerificationSelectSchema = createSelectSchema(verification);
|
|
18
20
|
var VerificationInsertSchema = createInsertSchema(verification);
|
|
19
21
|
var UserOrganizationSchema = z.object({
|
|
@@ -36,4 +38,4 @@ var AddUserToOrganizationResponseSchema = z.object({
|
|
|
36
38
|
createdAt: z.string()
|
|
37
39
|
});
|
|
38
40
|
|
|
39
|
-
export { AccountInsertSchema, AccountSelectSchema, AddUserToOrganizationRequestSchema, AddUserToOrganizationResponseSchema, InvitationInsertSchema, InvitationSelectSchema, MemberInsertSchema, MemberSelectSchema, OrganizationInsertSchema, OrganizationSelectSchema, SessionInsertSchema, SessionSelectSchema, UserInsertSchema, UserOrganizationSchema, UserOrganizationsResponseSchema, UserSelectSchema, VerificationInsertSchema, VerificationSelectSchema };
|
|
41
|
+
export { AccountInsertSchema, AccountSelectSchema, AddUserToOrganizationRequestSchema, AddUserToOrganizationResponseSchema, DeviceCodeInsertSchema, DeviceCodeSelectSchema, InvitationInsertSchema, InvitationSelectSchema, MemberInsertSchema, MemberSelectSchema, OrganizationInsertSchema, OrganizationSelectSchema, SessionInsertSchema, SessionSelectSchema, UserInsertSchema, UserOrganizationSchema, UserOrganizationsResponseSchema, UserSelectSchema, VerificationInsertSchema, VerificationSelectSchema };
|