Mercurial > code > home > repos > light9
annotate web/lib/avro-js.d.ts @ 2427:cc69faa87c27
tear up and rewrite ascoltami to emit player state into the graph. web ui works but displays nothing but songs
author | drewp@bigasterisk.com |
---|---|
date | Sat, 25 May 2024 15:44:11 -0700 |
parents | ef3cde3e81e8 |
children |
rev | line source |
---|---|
2395
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
1 declare module "avro-js" { |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
2 export namespace types { |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
3 interface Type { |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
4 fromBuffer(buffer: Buffer): Record; |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
5 } |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
6 type Record = any; |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
7 } |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
8 |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
9 export function parse(schema: any): types.Type; |
ef3cde3e81e8
switch collector output from json to avro (still over WS)
drewp@bigasterisk.com
parents:
diff
changeset
|
10 } |