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
| /** | |
| * A single flow, always initiated from the `Account` entity. | |
| */ | |
| async function syncTeamSupportInfo (accountId: string) { | |
| // Get the account | |
| const account = await getAccount(accountId) | |
| // Return early if it doesn't contain an Enterprise team | |
| if (!account?.planHighest === 'Enterprise') return |
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
| /** @type {import("eslint").Linter.Config} */ | |
| module.exports = { | |
| root: true, | |
| extends: ["@repo/eslint-config/base.js"], | |
| parser: "@typescript-eslint/parser", | |
| parserOptions: { | |
| project: "./tsconfig.json", | |
| }, | |
| }; |
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
| ⚠️ Account Zooplus PT [0011t00000ElO2XAAV] does not exist in the sandbox | |
| ⚠️ Account Zooplus [DE] [0011t00000IlUHFAA3] does not exist in the sandbox | |
| ⚠️ Account zooplus HU [0011t00000ElNreAAF] does not exist in the sandbox | |
| ⚠️ Account zooplus SK [0011t00000ElNrYAAV] does not exist in the sandbox | |
| ⚠️ Account zooplus CZ [0011t00000ElNrTAAV] does not exist in the sandbox | |
| ⚠️ Account Zooplus BE [0011t00000IlUUaAAN] does not exist in the sandbox | |
| ⚠️ Account zooplus ES [0011t00000ElNuzAAF] does not exist in the sandbox | |
| ⚠️ Account Zooplus SE [0011t00000IlUN9AAN] does not exist in the sandbox | |
| ⚠️ Account Zooplus FR [0011t00000ElOyFAAV] does not exist in the sandbox | |
| ⚠️ Account Zooplus [0011t00000IlUFFAA3] does not exist in the sandbox |
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
| { | |
| "data": { | |
| "total": { | |
| "delivered": 400, | |
| "bounce": 31, | |
| "open": 255, | |
| "click": 85, | |
| "_computed_": { | |
| "openRate": 63.74999999999999, | |
| "conversionRate": 21.25 |
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
| // Colors without a hex aren't yet used | |
| function getColors () { | |
| const colors = { | |
| transparent: 'transparent', | |
| 'primary-shade': '#003087', // brand-dark | |
| primary: '#005EB8', // brand | |
| 'primary-tint': '#0072CE', // brand-light | |
| 'secondary-shade': '#', | |
| secondary: '#', |
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
| { | |
| "data": [{ | |
| "type": "properties", | |
| "id": "1", | |
| "attributes": { | |
| "geolocation": "xx,xx", | |
| "propertyInfos": [{ | |
| "id": "123", | |
| "value": "Shitface bastards", | |
| "locale": "en-gb", |
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
| import inView from 'in-view' | |
| class InViewAdController { | |
| /** | |
| * @func didLoadDOMContent | |
| * @desc Hook for firing after we're sure DOM content is loaded | |
| */ | |
| constructor () { | |
| this.setGlobals() |
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
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
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
| // app/models/image.js | |
| import { Model } from 'lux-framework'; | |
| class Image extends Model { | |
| static hasMany = { | |
| avatars: { | |
| model: 'image', | |
| inverse: 'avatar' // also attempted setting `foreignKey: 'avatar_id` |
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
| <?php | |
| class acf_field_font_awesome extends acf_field { | |
| /* | |
| * __construct | |
| * | |
| * This function will setup the field type data | |
| * |
NewerOlder