Plugin : User list

Author:Rex.Rainbow

Download

Properties

Domain

  • The root location of the Firebase data.

Actions

Owner

Action:Set owner

  • Set user ID of owner.
    • User ID ( string ) : User ID from authentication.

User list

Action:Add user

  • Add user into owner's list.
    • User ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.

Action:Remove user

  • Remove user from owner's list.
    • User ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.

User list - Request

Action:Request lists

  • Request all lists of owner.

User list - bi-direction

Action:Add user in both sides

  • Add user in both sides.
    • Target user ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.
    • Target user list ( string ) : List's name of target user.

Action:Remove user in both sides

  • Remove user from both sides.
    • Target user ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.
    • Target user list ( string ) : List's name of target user.

User list - invitation

Action:Invite user

  • Invite user.
    • Target user ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.
    • Target user list ( string ) : List's name of target user.
    • Message ( string ) : Message of invitation.

Action:Response invitation

  • Response invitation.
    • Inviter user ID ( string ) : User ID of inviter user.
    • Response ( Combo ) : Result of response
      • Options : ["Reject","Accept"]

Action:Cancel invitation

  • Cancel invitation.
    • Target user ID ( string ) : User ID of target user.

Action:Remove membership

  • Remove membership.
    • Target user ID ( string ) : User ID of target user.
    • Owner list ( string ) : List's name of owner.
    • Target user list ( string ) : List's name of target user.

Expressions

Owner

Expression:OwnerUserID

  • Get user ID of owner.

User list - For each

Expression:CurUserID

  • Get the current user ID in a For Each loop.

Conditions

User list

Condition:On receiving all

  • Triggered when received all owner's lists.

Condition:User ID in list

  • Return true if User ID in list.
    • UserID ( string ) : UserID from authentication.
    • List ( string ) : List name.

User list - For each

Condition:For each User ID

  • Repeat the event for each user ID in list.
    • List ( string ) : List name.