This file contains hidden or 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
| /** | |
| * Converts Stripe amounts like 25000 to the currency amount like "250.00" in string format. | |
| * @param amount - A stripe whole number amount. | |
| * @return string | |
| */ | |
| export const toFloatString = (amount) => { | |
| const total = (amount / 100) | |
| .toLocaleString('en-US', { style: 'currency', currency: 'usd' }) | |
| .replace('$', ''); |
This file contains hidden or 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
| { | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AS": "American Samoa", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", | |
| "DE": "Delaware", |
This file contains hidden or 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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "es5", | |
| "lib": [ | |
| "dom", | |
| "dom.iterable", | |
| "esnext" | |
| ], | |
| "allowJs": true, | |
| "skipLibCheck": true, |
This file contains hidden or 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
| <script type="text/javascript"> | |
| window.$widget = window.$widget || {}; | |
| window.WIDGET_SITE_ID = 'xxx-xxx-xxx-xxx'; | |
| (function(w, d) { | |
| var s = d.createElement('script'); | |
| s.defer = true; | |
| s.src = '//www.widgetscripts.com/embed.js'; | |
| d.getElementsByTagName('head')[0].appendChild(s); | |
| })(window, document); | |
| </script> |
This file contains hidden or 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
| { | |
| "$ref": "#/definitions/FileResponse", | |
| "$schema": "http://json-schema.org/draft-06/schema#", | |
| "definitions": { | |
| "BlendMode": { | |
| "enum": [ | |
| "COLOR", | |
| "COLOR_BURN", | |
| "COLOR_DODGE", | |
| "DARKEN", |
OlderNewer