generated from slack-samples/deno-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: move gif list out of json and into a ts file (#46)
- Loading branch information
Showing
4 changed files
with
48 additions
and
38 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,89 @@ | ||
[{ | ||
interface GIF { | ||
URL: string; | ||
alt_text?: string; | ||
tags: string[]; | ||
} | ||
|
||
const gifList: GIF[] = [{ | ||
"URL": "https://media2.giphy.com/media/3oEjHWXddcCOGZNmFO/giphy.gif", | ||
"alt_text": "A person wearing a banana hat says thanks a bunch", | ||
"tags": ["thankful"] | ||
"tags": ["thankful"], | ||
}, { | ||
"URL": "https://media2.giphy.com/media/ZfK4cXKJTTay1Ava29/giphy.gif", | ||
"alt_text": "Dwight from The Office says thank you", | ||
"tags": ["thankful", "appreciation"] | ||
"tags": ["thankful", "appreciation"], | ||
}, { | ||
"URL": "https://media3.giphy.com/media/DhstvI3zZ598Nb1rFf/giphy-downsized.gif", | ||
"URL": | ||
"https://media3.giphy.com/media/DhstvI3zZ598Nb1rFf/giphy-downsized.gif", | ||
"alt_text": "Dancing at a disco party in The Office", | ||
"tags": ["celebration"] | ||
"tags": ["celebration"], | ||
}, { | ||
"URL": "https://media.giphy.com/media/3o6Zt2jsgmiAUl2ydi/giphy.gif", | ||
"alt_text": "An impressed sponge-like creature expresses amazement", | ||
"tags": ["amazed"] | ||
"tags": ["amazed"], | ||
}, { | ||
"URL": "https://media.giphy.com/media/WKdPOVCG5LPaM/giphy.gif", | ||
"alt_text": "A cheerful high-five from the newsroom", | ||
"tags": ["celebration", "excited"] | ||
"tags": ["celebration", "excited"], | ||
}, { | ||
"URL": "https://media1.giphy.com/media/Lcn0yF1RcLANG/giphy-downsized.gif", | ||
"alt_text": "Wow! A feeling of wild disbelief overwhelms the senses", | ||
"tags": ["amazed"] | ||
"tags": ["amazed"], | ||
}, { | ||
"URL": "https://media0.giphy.com/media/rgIdiNjWC933y/giphy.gif", | ||
"alt_text": "A kingly racoon nodding over many subjects", | ||
"tags": ["excited", "amazed"] | ||
"tags": ["excited", "amazed"], | ||
}, { | ||
"URL": "https://media0.giphy.com/media/kyLYXonQYYfwYDIeZl/giphy.gif", | ||
"alt_text": "Elmo dances in celebration", | ||
"tags": ["celebration"] | ||
"tags": ["celebration"], | ||
}, { | ||
"URL": "https://media2.giphy.com/media/3ohs7NuHL3gjbe2uGI/giphy-downsized.gif", | ||
"URL": | ||
"https://media2.giphy.com/media/3ohs7NuHL3gjbe2uGI/giphy-downsized.gif", | ||
"alt_text": "You're noticed and appreciated <3", | ||
"tags": ["appreciation"] | ||
"tags": ["appreciation"], | ||
}, { | ||
"URL": "https://media2.giphy.com/media/o75ajIFH0QnQC3nCeD/giphy.gif", | ||
"alt_text": "Pam from The Office cheers", | ||
"tags": ["celebration", "excited"] | ||
"tags": ["celebration", "excited"], | ||
}, { | ||
"URL": "https://media3.giphy.com/media/xTiN0CNHgoRf1Ha7CM/giphy-downsized.gif", | ||
"URL": | ||
"https://media3.giphy.com/media/xTiN0CNHgoRf1Ha7CM/giphy-downsized.gif", | ||
"alt_text": "Cotton candy kid having a sugar rush", | ||
"tags": ["celebration", "excited"] | ||
"tags": ["celebration", "excited"], | ||
}, { | ||
"URL": "https://media1.giphy.com/media/NEvPzZ8bd1V4Y/giphy-downsized.gif", | ||
"alt_text": "A profound nod of approval", | ||
"tags": ["appreciation", "thankful"] | ||
"tags": ["appreciation", "thankful"], | ||
}, { | ||
"URL": "https://media3.giphy.com/media/WFyvwq3xoTTMs/giphy.gif", | ||
"alt_text": "Ready to witness wonderfulness", | ||
"tags": ["amazed"] | ||
"tags": ["amazed"], | ||
}, { | ||
"URL": "https://media3.giphy.com/media/jz2VNqCrlFsPe/giphy.gif", | ||
"alt_text": "A gaping dog caught in perpetual amazement", | ||
"tags": ["amazed"] | ||
"tags": ["amazed"], | ||
}, { | ||
"URL": "https://media.giphy.com/media/l3JDHv2xpLbQ7Tjdm/giphy.gif", | ||
"alt_text": "Pleaceful plants perched by a window", | ||
"tags": ["plants"] | ||
"tags": ["plants"], | ||
}, { | ||
"URL": "https://media3.giphy.com/media/IbsQ8L4PTQ53SH7FnL/giphy.gif", | ||
"alt_text": "A potted plant receives much needed affection", | ||
"tags": ["plants"] | ||
"tags": ["plants"], | ||
}, { | ||
"URL": "https://media1.giphy.com/media/xUA7aOIFDR4ZgqLy8w/giphy.gif", | ||
"alt_text": "Fern having a messy hair day", | ||
"tags": ["plants"] | ||
"tags": ["plants"], | ||
}, { | ||
"URL": "https://media1.giphy.com/media/MbAlP79yMRysHKUyHV/giphy-downsized.gif", | ||
"URL": | ||
"https://media1.giphy.com/media/MbAlP79yMRysHKUyHV/giphy-downsized.gif", | ||
"alt_text": "Sleepy otter rubs checks and yawns", | ||
"tags": ["otter"] | ||
"tags": ["otter"], | ||
}, { | ||
"URL": "https://media0.giphy.com/media/tQAApm4PMOpiM/giphy.gif", | ||
"alt_text": "Floating otters holding hands. Aww", | ||
"tags": ["otter"] | ||
}] | ||
"tags": ["otter"], | ||
}]; | ||
|
||
export default gifList; |