rrweb-io / rrweb

record and replay the web

Home Page:https://www.rrweb.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

publish well-formulated and concise types

tmc opened this issue · comments

Preflight Checklist

  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

What package is this feature request for?

rrweb

Problem Description

Today the types that define the payloads the rrweb ecosystem operates over are a bit spread out which makes them not super accessible to other language environments.

Proposed Solution

Tidy up and publish a small set of straightforward types.

Alternatives Considered

Not doing so.

Additional Information

No response

types that are used in both packages/rrweb and packages/rrweb-snapshot end up in packages/types/src/index.ts

the recording payload types should mostly be in packages/rrweb/src/types.ts
looks like the recording types are now mostly in packages/types/src/index.ts also for importing to packages/rrdom or rrvideo

can you elaborate on which ones you are looking for and where you expected them to be?