@dra2020/baseclient 1.0.14 → 1.0.17

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.
Files changed (97) hide show
  1. package/README.md +5 -16
  2. package/dist/all/all.d.ts +2 -18
  3. package/dist/baseclient.js +1309 -173
  4. package/dist/baseclient.js.map +1 -1
  5. package/dist/filterexpr/filterexpr.d.ts +3 -0
  6. package/dist/fsm/fsm.d.ts +1 -0
  7. package/dist/geo/all.d.ts +2 -0
  8. package/dist/geo/geo.d.ts +67 -0
  9. package/dist/geo/vfeature.d.ts +4 -0
  10. package/dist/ot-js/otsession.d.ts +3 -0
  11. package/dist/poly/union.d.ts +1 -0
  12. package/docs/filterexpr.md +22 -0
  13. package/lib/all/all.ts +2 -22
  14. package/lib/filterexpr/filterexpr.ts +79 -5
  15. package/lib/fsm/fsm.ts +12 -2
  16. package/lib/geo/all.ts +2 -0
  17. package/lib/geo/geo.ts +452 -0
  18. package/lib/geo/vfeature.ts +34 -0
  19. package/lib/ot-js/otsession.ts +4 -1
  20. package/lib/poly/hash.ts +1 -1
  21. package/lib/poly/polybin.ts +5 -4
  22. package/lib/poly/polypack.ts +16 -4
  23. package/lib/poly/topo.ts +26 -41
  24. package/lib/poly/union.ts +17 -0
  25. package/package.json +9 -10
  26. package/dist/all/allclient.d.ts +0 -18
  27. package/dist/base.js +0 -33010
  28. package/dist/base.js.map +0 -1
  29. package/dist/dbabstract/all.d.ts +0 -1
  30. package/dist/dbabstract/db.d.ts +0 -83
  31. package/dist/dbdynamo/all.d.ts +0 -1
  32. package/dist/dbdynamo/dbdynamo.d.ts +0 -190
  33. package/dist/fsmfile/all.d.ts +0 -1
  34. package/dist/fsmfile/fsmfile.d.ts +0 -47
  35. package/dist/jsonstream/all.d.ts +0 -1
  36. package/dist/jsonstream/jsonstream.d.ts +0 -130
  37. package/dist/lambda/all.d.ts +0 -1
  38. package/dist/lambda/env.d.ts +0 -10
  39. package/dist/lambda/lambda.d.ts +0 -18
  40. package/dist/logserver/all.d.ts +0 -5
  41. package/dist/logserver/log.d.ts +0 -11
  42. package/dist/logserver/logaccum.d.ts +0 -154
  43. package/dist/logserver/logblob.d.ts +0 -24
  44. package/dist/logserver/logconcat.d.ts +0 -55
  45. package/dist/logserver/logkey.d.ts +0 -28
  46. package/dist/memsqs/all.d.ts +0 -4
  47. package/dist/memsqs/client.d.ts +0 -13
  48. package/dist/memsqs/loopback.d.ts +0 -11
  49. package/dist/memsqs/orderedlist.d.ts +0 -19
  50. package/dist/memsqs/queue.d.ts +0 -84
  51. package/dist/memsqs/server.d.ts +0 -37
  52. package/dist/storage/all.d.ts +0 -4
  53. package/dist/storage/datablob.d.ts +0 -9
  54. package/dist/storage/env.d.ts +0 -10
  55. package/dist/storage/splitsblob.d.ts +0 -13
  56. package/dist/storage/storage.d.ts +0 -166
  57. package/dist/storages3/all.d.ts +0 -1
  58. package/dist/storages3/s3.d.ts +0 -62
  59. package/docs/dbabstract.md +0 -2
  60. package/docs/dbdynamo.md +0 -2
  61. package/docs/fsmfile.md +0 -2
  62. package/docs/jsonstream.md +0 -44
  63. package/docs/lambda.md +0 -2
  64. package/docs/logserver.md +0 -2
  65. package/docs/storage.md +0 -2
  66. package/docs/storages3.md +0 -2
  67. package/lib/all/allclient.ts +0 -19
  68. package/lib/dbabstract/all.ts +0 -1
  69. package/lib/dbabstract/db.ts +0 -246
  70. package/lib/dbdynamo/all.ts +0 -1
  71. package/lib/dbdynamo/dbdynamo.ts +0 -1551
  72. package/lib/fsmfile/all.ts +0 -1
  73. package/lib/fsmfile/fsmfile.ts +0 -236
  74. package/lib/jsonstream/all.ts +0 -1
  75. package/lib/jsonstream/jsonstream.ts +0 -940
  76. package/lib/lambda/all.ts +0 -1
  77. package/lib/lambda/env.ts +0 -13
  78. package/lib/lambda/lambda.ts +0 -120
  79. package/lib/logserver/all.ts +0 -5
  80. package/lib/logserver/log.ts +0 -565
  81. package/lib/logserver/logaccum.ts +0 -1445
  82. package/lib/logserver/logblob.ts +0 -84
  83. package/lib/logserver/logconcat.ts +0 -313
  84. package/lib/logserver/logkey.ts +0 -125
  85. package/lib/memsqs/all.ts +0 -4
  86. package/lib/memsqs/client.ts +0 -268
  87. package/lib/memsqs/loopback.ts +0 -64
  88. package/lib/memsqs/orderedlist.ts +0 -74
  89. package/lib/memsqs/queue.ts +0 -395
  90. package/lib/memsqs/server.ts +0 -262
  91. package/lib/storage/all.ts +0 -4
  92. package/lib/storage/datablob.ts +0 -36
  93. package/lib/storage/env.ts +0 -14
  94. package/lib/storage/splitsblob.ts +0 -63
  95. package/lib/storage/storage.ts +0 -604
  96. package/lib/storages3/all.ts +0 -1
  97. package/lib/storages3/s3.ts +0 -576
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # base
2
- The Base library pulls together the core set of libraries required by the various components of DRA2020.
1
+ # baseclient
2
+ The Baseclient library pulls together the core set of libraries required by the various components of DRA2020A.
3
3
  This includes:
4
4
 
5
5
  - the nodejs hosted server
@@ -9,7 +9,7 @@ This includes:
9
9
 
10
10
  These libraries are all packaged in this repository. Normally they are included like this:
11
11
 
12
- import { Util, Poly } from '@dra2020/base';
12
+ import { Util, Poly } from '@dra2020/baseclient';
13
13
 
14
14
  Then the various functions of the different sets are available under their appropriate symbol.
15
15
 
@@ -22,16 +22,5 @@ These libraries are used across both client and server:
22
22
  - [LogAbstract](./docs/logabstract.md): An abstract logging interface. Different implementations are used on client and server.
23
23
  - [LogClient](./docs/logclient.md): A client implementation of the logging abstract interface.
24
24
  - [OT](./docs/ot-js.md): An Operational Transformation implementation, used as the basis for all content editing.
25
- - [OTE](.docs/ot-editutil.md): A set of utility functions for creating OT edits.
26
-
27
- These libraries are used only on the server (or nodejs-hosted command line utilites):
28
-
29
- - [DBAbstract](./docs/dbabstract.md): A database abstraction interface, exposed as FSM classes.
30
- - [Storage](./docs/storage.md): A blob storage abstraction interface, exposed as FSM classes.
31
- - [JS](./docs/jsonstream.md): A set of classes for doing stream-based reading and writing of JSON.
32
- - [FsmFile](./docs/fsmfile.md): A set of utility classes for exposing file operations (e.g. mkdir) as FSM-compatible classes.
33
- - [LogServer](./docs/logserver.md): The server implementation of the logging interface, supports saving the logs up to
34
- a blob storage.
35
- - [S3](./docs/storages3.md): An implementation of the storage abstraction on top of AWS S3, exposed as FSM classes.
36
- - [DBDynamo](./docs/dbdynamo.md): An implementation of the DB abstraction on top of AWS DynamoDB, exposed as FSM classes.
37
- - [Lambda](.docs/lambda.md): An interface for invoking AWS lambda functions in a consistent way, exposed as FSM classes.
25
+ - [OTE](./docs/ot-editutil.md): A set of utility functions for creating OT edits.
26
+ - [FilterExpr](./docs/filterexpr.md): A class for parsing and executing a filter expression against an array of objects.
package/dist/all/all.d.ts CHANGED
@@ -16,21 +16,5 @@ import * as OTE from '../ot-editutil/all';
16
16
  export { OTE };
17
17
  import { FilterExpr } from '../filterexpr/all';
18
18
  export { FilterExpr };
19
- import * as DB from '../dbabstract/all';
20
- export { DB };
21
- import * as Storage from '../storage/all';
22
- export { Storage };
23
- import * as JS from '../jsonstream/all';
24
- export { JS };
25
- import * as FsmFile from '../fsmfile/all';
26
- export { FsmFile };
27
- import * as LogServer from '../logserver/all';
28
- export { LogServer };
29
- import * as S3 from '../storages3/all';
30
- export { S3 };
31
- import * as DBDynamo from '../dbdynamo/all';
32
- export { DBDynamo };
33
- import * as Lambda from '../lambda/all';
34
- export { Lambda };
35
- import * as Memsqs from '../memsqs/all';
36
- export { Memsqs };
19
+ import * as G from '../geo/all';
20
+ export { G };