yes i will trick the pds by saying that this blob is of octet-stream instead of text/plain just so the xrpc handler doesn't throw bc express' body-parser converted the content to a string instead of buffer
need to figure out a nice api for dealing with PLC operations, maybe i should just list them out so i can think proper:
fn that validates the audit log, returns the canonical history and the nullified ops, + enriched with who signed it...
fn that checks to see if a key can nullify a certain op...
seems like the best approach for libraries trying to export schema validators is to not have the types inferred from zod but rather have zod infer from an interface
it's double the work but the resulting type declarations in the build output seems a lot nicer
youtube supports resuming playback from where you left off:
- video links will have a ?t= parameter indicating where you left off
- if it's not present when loading the video, youtube will look up the playback position separately