1.1.7 • Published 7 days ago

@txstate-mws/fastify-shared v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
7 days ago

fastify-txstate-shared

Types and any other code shared by both fastify APIs and the UIs they communicate with.

InteractionEvent

A fastify-txstate API that opts into analytics will have a POST '/analytics' route where the body accepts an InteractionEvent, appends more information to it, and sends it along to the analytics database. This library provides both a json-schema and a typescript type defining this event.

Pay close attention to the comments on each property, so you'll know how to fill it in. If we all share an understanding of what the analytics data means, it will be cleaner when we go to run our reports.

Building this library

npm run build takes care of everything.

If you add a new json-schema that needs typescript types automatically generated, you need to add a line to the main() function in src/build.ts executing convert on your schema and giving its type a name.

1.1.7

7 days ago

1.1.6

13 days ago

1.1.5

13 days ago

1.1.4

14 days ago

1.1.3

2 months ago

1.1.2

2 months ago

1.1.1

2 months ago

1.1.0

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago