Commit graph

2756 commits

Author SHA1 Message Date
Danila Fedorin
1f368dcec1 Add an interface for events 2021-08-17 09:57:36 -07:00
Danila Fedorin
6c6991e622 Add type annotations to StorageFactory 2021-08-17 09:57:35 -07:00
Danila Fedorin
fd4ddf5667 Start migrating StorageFactory to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
f9fa7cdb49 Translate quirks 2021-08-17 09:57:35 -07:00
Danila Fedorin
2cb8944a78 Start migrating quirks to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
9fcc776a29 Add initial translation of schema 2021-08-17 09:57:35 -07:00
Danila Fedorin
39e9b828e6 Start migrating schema to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
64b767e7eb Add type annotations to export 2021-08-17 09:57:35 -07:00
Danila Fedorin
2eea5d5ab8 Start migrating export to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
287242deda Add type annotations to Storage 2021-08-17 09:57:35 -07:00
Danila Fedorin
31c951c68c Start migrating Storage to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
ea4de29975 Properly encode session store 2021-08-17 09:57:35 -07:00
Danila Fedorin
f390d21881 Add type annotations to Transaction 2021-08-17 09:57:35 -07:00
Danila Fedorin
8c7e13f40f Start migrating Transaction to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
e0aa804971 Translate AccountDataStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
9e459aa003 Allow queries on keys (docs say this works) 2021-08-17 09:57:35 -07:00
Danila Fedorin
61d0108b3b Add type annotations to OperationStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
51d8e3cb66 Start migrating OperationStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
c21b187683 Add type annotations to GroupSessionDecryptionStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
736b122fc7 Start migrating GroupSessionDecryptionStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
016b51ba37 Add type annotations to OutboundGroupSessionStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
3128e072fd Start migrating OutboundGroupSessionStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
2883149086 Add type annotations to InboundGroupSessionStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
f4ba26cb1e Start migrating InboundGroupSessionStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
3213a0baa0 Add type annotations to OlmSessionStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
15d7d57b09 Start migrating OlmSessionStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
279f149408 Add type annotations to DeviceIdentityStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
218bac7883 Start migrating DeviceIdentityStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
c5a209258e Add type annotations to UserIdentityStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
5fb7871ca6 Start migrating UserIdentityStore to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
ee00aa3339 Add type annotations to PendingEventStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
e433a234fe Start migrating PendingEventStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
526ff53728 Add type annotations to TimelineFragmentStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
3ec222eae3 Start migrating TimelineFragmentStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
7f907427ee Add type annotations to RoomMemberStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
243d0e76ff Add more data to member interface 2021-08-17 09:57:35 -07:00
Danila Fedorin
ec38337223 Start migrating RoomMemberStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
9b4b303b01 Add type annotations to RoomStateStore.
Not sure how to type events, since they're so malleable.
2021-08-17 09:57:35 -07:00
Danila Fedorin
50897cfbe3 Start migrating RoomStateStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
8e93487ebe Add type annotations to TimelineRelationStore 2021-08-17 09:57:35 -07:00
Danila Fedorin
ddf09af05b Start migrating TimelineRelationStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
d07c38effd Migrate common.ts 2021-08-17 09:57:35 -07:00
Danila Fedorin
3b5b91cf1b Update signatures in other stores to return promises 2021-08-17 09:57:35 -07:00
Danila Fedorin
88ecc58b14 Add initial translation of TimelineEventStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
53228e88a2 Start migrating TimelineEventStore.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
de6fdba526 Make operations return promises 2021-08-17 09:57:35 -07:00
Danila Fedorin
29c87b7c01 Add initial translation of InviteStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
8ad2857c6a Annotate with return types 2021-08-17 09:57:35 -07:00
Danila Fedorin
f8613e9e96 Add initial translation of RoomSummaryStore.js 2021-08-17 09:57:35 -07:00
Danila Fedorin
5177c35d0d Add initial translation of SessionStore.js 2021-08-17 09:57:35 -07:00