dalten-collective / aviary

a buncha birds
3 stars 1 forks source link

parrot: implement json spec #6

Open rabsef-bicrym opened 1 year ago

rabsef-bicrym commented 1 year ago

Parrot

Parrot is like orca, but different.

+on-watch:

watch on /web-ui to get your facts. you'll get an initial load of facts that mirror those you find in +on-peek.

+on-peek:

+on-poke

you can perform the following actions:

form

join

note: that joins can be sent as a poke to your own ship, or a fact to let everyone (the host, the team) know note: sending a null "join" declines the invite

  • poke:
    
    {
    "join": {
    "host": "~nus/gamer-dudes",
    "join": null || "~rabsef-bicrym/my-game-chat"
    }

}

* response on decline:
  -  poker
    ```json
    {
      "type": "FACT",
      "face": "INVITE-REPLIED-BIRD",
      "fact": {
        "area": "video-games",
        "act": "DECLINED",
        "host": "~nus/gamer-dudes",
        "chat": null
      }
    }

drop

send

sends are invitations sent by the host to some recipient. only the recipient and the host are made aware of them. if the recipient joins, everyone will be notified w/ a join; if the recipient declines, only the host and the recipient know. a send can be un-sent, see below:

blok

blocks some flag from being used as a host in an invitation this is primarily a precaution and does not need to be implemented.

free

frees some flag that was previously bloked - they can invite you again.

rabsef-bicrym commented 1 year ago

@vcavallo ready for you.

vcavallo commented 1 year ago

Closed by https://github.com/dalten-collective/aviary/pull/13 @rabsef-bicrym