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
import { Client, getLagoError } from "lago-javascript-client"; | |
import "dotenv/config"; | |
const isInvoiceInvalid = (invoice) => { | |
let invalidInvoice = false; | |
invoice.metadata.forEach((meta) => { | |
if (meta.key === "invalidInvoice") { | |
invalidInvoice = true; | |
} | |
}); |
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
retryPayment |
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
name: Veent Server Production | |
run-name: ${{ github.actor }} is building Veent Server Production 🚀 | |
on: | |
push: | |
paths: | |
- 'apps/api/**' | |
jobs: | |
Build-Production-Server: | |
runs-on: ubuntu-latest | |
defaults: |
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
name: KaHero GraphQL Server Production | |
run-name: ${{ github.actor }} is building KaHero GraphQL Server Production 🚀 | |
on: | |
release: | |
types: [published] | |
jobs: | |
Build-Production-GraphQL-Server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 |
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
name: KaHero GraphQL Server Staging | |
run-name: ${{ github.actor }} is building KaHero GraphQL Server Staging 🚀 | |
on: | |
push: | |
branches: | |
- 'release/**' | |
- 'hotfix/**' | |
jobs: | |
Build-Staging-GraphQL-Server: | |
runs-on: ubuntu-latest |
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
/* eslint-disable no-var */ | |
import type { Processor } from 'bullmq'; | |
import { QueueEvents, Queue, Worker } from 'bullmq'; | |
import { redis } from './db'; | |
type AugmentedQueue<T> = Queue<T> & { | |
events: QueueEvents; | |
}; | |
interface RegisteredQueue { |
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
name: KaHero GraphQL Server Production | |
run-name: ${{ github.actor }} is building KaHero GraphQL Server Production 🚀 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Build-Production-GraphQL-Server: | |
runs-on: ubuntu-latest | |
steps: |
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
name: KaHero GraphQL Server Production | |
run-name: ${{ github.actor }} is building KaHero GraphQL Server Production 🚀 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Build-Production-GraphQL-Server: | |
runs-on: ubuntu-latest | |
steps: |
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
from sendgrid import SendGridAPIClient | |
sg = SendGridAPIClient('SG.xxxxxxFLuoyyyyyMEboqvXI') | |
response = sg.client.contactdb.lists.get() | |
print(response.status_code) | |
print(response.body) | |
print(response.headers) |
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
import Head from 'next/head'; | |
import { ThemeProvider } from 'styled-components'; | |
import { theme } from 'common/theme/appclassic'; | |
import { ResetCSS } from 'common/assets/css/style'; | |
import Sticky from 'react-stickynode'; | |
import Navbar from 'containers/AppClassic/Navbar'; | |
import Banner from 'containers/AppClassic/Banner'; | |
import KeyFeatures from 'containers/AppClassic/KeyFeatures'; | |
import AppSlider from 'containers/AppClassic/AppSlider'; | |
import AppSlider2 from 'containers/AppClassic/AppSlider2'; |
NewerOlder