Commit graph

14 commits

Author SHA1 Message Date
jahorton
becf2039a4 fix(common): model specification for isRTL 2020-01-30 14:23:31 +07:00
jahorton
5cc282c660 fix(common): more 'code unit' -> 'code point' work 2020-01-15 12:21:11 +07:00
Eddie Antonio Santos
eb7e9f7722
Document @keymanapp/lexical-model-types. 2019-10-05 13:41:33 -06:00
Eddie Antonio Santos
f2f511840e
Move npm link . to dependent build.sh scripts. 2019-10-01 14:55:58 -06:00
Eddie Antonio Santos
fc633ae94d
Rename WorkerInternalModel -> LexicalModel. 2019-10-01 14:31:40 -06:00
Eddie Antonio Santos
e14d1b0fba
Do not try to build anything in build.sh! 2019-10-01 14:10:07 -06:00
Eddie Antonio Santos
2d975138ac
Setup @keymanapp/lexical-model-types for publication. 2019-10-01 14:00:15 -06:00
Eddie Antonio Santos
1ce770d958
Add a few readonly declarations.
All consumers of these APIs compile with the current set of readonly properties. It's best to make the interfaces as strict as possible right now, for a few reasons:

 1) When I get objects of a particular interface, I don't expect its properties to change. Mutability is harder to reason about than immutability.
 2) Open-closed principle: it's easier to move from a restrictive declaration to a less restrictive declaration than the other way around.
2019-10-01 13:26:39 -06:00
Eddie Antonio Santos
b9398749c1
Add SuggestionTag interface. 2019-10-01 13:13:21 -06:00
Eddie Antonio Santos
81d8f7eb87
Completely move worker-compiler-interfaces.d.ts to lexical-model-types. 2019-10-01 12:48:19 -06:00
Eddie Antonio Santos
a630c0e249
Move common things from message.d.ts to the lexical-model-types. 2019-10-01 12:32:08 -06:00
Eddie Antonio Santos
eb6f9b53b1
Get linking to work. 2019-10-01 09:45:33 -06:00
Eddie Antonio Santos
5b58e6c236
Somehow that works. 2019-10-01 09:28:36 -06:00
Eddie Antonio Santos
c2f8767fe2
Setup scaffolding. 2019-10-01 09:15:35 -06:00