-
Under user_type, we need to create a new
acceptedOrganizations
connection. This will return all the orgs that the current user is accepted into (based on funnel_state). -
Under user_type, we need to create a new connection named
pendingAcceptedOrganizations
. This will return all the orgs that a user hasuos.pending_accepted
field set for. -
The client is responsible for merging the result of #1 and #2. (Client's responsibility)
-
For each item in the accepted organization listing, we rely on
amAccepted
field under organization_type. If it resolves totrue
, we showSet Going
button. If it'sfalse
, we don't show that button and instead, the mobile client checks foramPendingAccepted
field under organization_type. If that value is set, the mobile client shows "Pending Verification" badge. -
To upload the acceptance letter the mobile client needs to use FilePicker's client library to directly do the upload, and then it will supply the returned photo url to `UpdateUserOrganizationPendingA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --bare https://github.com/daqo/dotfiles.git $HOME/.cfg | |
function config { | |
git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ | |
} | |
mkdir -p .config-backup | |
config checkout --force | |
# if [ $? = 0 ]; then | |
# echo "Checked out config."; | |
# else | |
# echo "Backing up pre-existing dot files."; |
These are the notes that I have taken on “IBM blockchain Essentials for Developers” course on Coursera IBM Blockchain Foundation for Developers | Coursera.
Ledger: the system of record for a business
Transaction: an asset transfer onto or off the ledger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fragment Feed_item on Photo { | |
id | |
creator { | |
id | |
name | |
} | |
photoUrl | |
} | |
class Feed extends React.Component { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########## | |
# contents | |
########## | |
# contents | |
# notes | |
# script setup | |
# git config files |