Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for explanation about the origin of some elements #396

Open
raphael10-collab opened this issue Oct 21, 2020 · 0 comments
Open

Request for explanation about the origin of some elements #396

raphael10-collab opened this issue Oct 21, 2020 · 0 comments

Comments

@raphael10-collab
Copy link

raphael10-collab commented Oct 21, 2020

I do not understand where some elements come from:

Where do Transform and TransformCallback come from? https://github.com/automerge/pushpin/blob/master/src/apps/clipper-host/NativeMessaging.ts

I didn't find them in https://developer.mozilla.org/en-US/docs/Web/API/TransformStream.
I found TransformerTransformCallback in the Streams Specs: https://streams.spec.whatwg.org/#callbackdef-transformertransformcallback but no references in Mozilla Docs.

Are Stream node's stream?
In https://github.com/automerge/pushpin/blob/master/src/renderer/hyperfile.ts#L2 for example we find "Readable" from 'stream'
but I do not fine Stream in node's API:
https://nodejs.org/api/stream.html#stream_class_stream_readable

Can you please help me to clarify?

Where the type BeforeUnloadEvent come from? https://github.com/automerge/pushpin/blob/master/src/freeze-dry-preload/index.ts#L37

Where DetailedHTMLProps come from? https://github.com/automerge/pushpin/blob/master/src/background/components/Card.tsx#L3

background/components/List.tsx:type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, 
HTMLDivElement>
background/components/Card.tsx:type Props = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, 
HTMLDivElement>

I found this: https://github.com/automerge/pushpin/blob/master/src/background/components/Expandable.tsx#L11 but maybe it's a different thing

renderItems : https://github.com/automerge/pushpin/blob/master/src/background/components/LimitedList.tsx#L16

  1. https://github.com/automerge/pushpin/blob/master/src/renderer/components/content-types/workspace/Authors.tsx#L34
    What are id, i and a ?
@raphael10-collab raphael10-collab changed the title Where do Transform and TransformCallback come from? Request for explanation about the origin of some elements Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant