Commit graph

2738 commits

Author SHA1 Message Date
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
Danila Fedorin
97a50c835d Add initial stab at annotating Store 2021-08-17 09:57:35 -07:00
Danila Fedorin
2b44878332 Restrict type for iterateCursor 2021-08-17 09:57:35 -07:00
Danila Fedorin
46c306b487 Start migrating Store.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
e837a91a80 Stop relying on QueryTargetWrapper in QueryTarget. 2021-08-17 09:57:35 -07:00
Danila Fedorin
1d5b105c34 Add initial stab at annotating QueryTarget 2021-08-17 09:57:35 -07:00
Danila Fedorin
fefa15cd85 Start migrating QueryTarget.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
a31f6a2c52 Add initial stab at annotating error 2021-08-17 09:57:35 -07:00
Danila Fedorin
69ab345a89 Start migrating error.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
a0017cb720 Seemingly fix a bug in utils.ts 2021-08-17 09:57:35 -07:00
Danila Fedorin
0c80f78e9b Add initial stab at annotating utils 2021-08-17 09:57:35 -07:00
Danila Fedorin
4fb93ad104 Start migrating utils.js to TypeScript 2021-08-17 09:57:35 -07:00
Danila Fedorin
caed99df69 Add initial stab at annotating common 2021-08-17 09:57:35 -07:00
Danila Fedorin
96a4ef47a7 Start migrating common.js to TypeScript 2021-08-17 09:57:35 -07:00
Bruno Windels
b6d0d54241 explicitly name snowpack build ouput dir, and remove it after build 2021-08-17 17:20:48 +02:00
Bruno Windels
522f8d085a exclude the polyfill files as well from being transpiled
as they are not used in the development build
2021-08-17 12:53:36 +02:00
Bruno Windels
ebd177263a disable HMR as we won't be using it any time soon I imagine.
this prevents the HMR code from loading at runtime
2021-08-17 12:53:00 +02:00
Bruno Windels
ce273d8761 make tests run again with typescript support 2021-08-17 12:52:50 +02:00
Danila Fedorin
b8e32a03f8 Invoke snowpack from build script 2021-08-09 13:30:25 -07:00