mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
invites: import/export
This commit is contained in:
parent
4f0e599cb1
commit
398fb5de50
@ -102,9 +102,16 @@
|
||||
=^ cards state
|
||||
?+ mark (on-poke:def mark vase)
|
||||
%invite-action (poke-invite-action !<(action:store vase))
|
||||
%import (poke-import q.vase)
|
||||
==
|
||||
[cards this]
|
||||
::
|
||||
++ poke-import
|
||||
|= arc=*
|
||||
^- (quip card _state)
|
||||
=/ sty=state-1 ;;(state-1 arc)
|
||||
[~ sty]
|
||||
::
|
||||
++ poke-invite-action
|
||||
|= =action:store
|
||||
^- (quip card _state)
|
||||
@ -205,5 +212,7 @@
|
||||
:^ ~ ~ %noun
|
||||
!> ^- (unit invite:store)
|
||||
(~(get by invitatory) serial)
|
||||
::
|
||||
[%x %export ~] ``noun+!>(state)
|
||||
==
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user