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 { | |
chakra, | |
forwardRef, | |
SystemStyleObject, | |
useStyles, | |
useTheme, | |
HTMLChakraProps, | |
} from '@chakra-ui/system'; | |
import { Slide, SlideOptions } from '@chakra-ui/transition'; | |
import { cx, __DEV__ } from '@chakra-ui/utils'; |
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 { render, fireEvent, waitFor } from 'test-utils'; | |
import { MockedProvider } from '@apollo/client/testing'; | |
import ChatInput, { ADD_MESSAGE } from './ChatInput'; | |
let resultCalled = false; | |
const addMessage = { | |
date_created: new Date(), | |
user: 'testUser', | |
message: 'chat input test message', | |
index: 0, |
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
/** | |
* Can override any general styles set for jam content" | |
* in the `styled(Box)` --> | |
* */ | |
const Content = chakra('div', { | |
baseStyle: { | |
width: ['90%', null, null, '75%'], | |
'h1, h2': { | |
margin: '0px auto 20px', |
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 { RequestOptions, RESTDataSource } from 'apollo-datasource-rest'; | |
import { ApolloError, AuthenticationError } from 'apollo-server'; | |
import axios from 'axios'; | |
import util from 'util'; | |
import { Event, Speaker } from '../generated/graphql'; | |
import { | |
KlikAttendee, | |
KlikCalendar, | |
KlikCalendarDefinition, | |
KlikCarousel, |
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
input AttendeesFilter { | |
email: EmailAddress | |
firstName: String | |
lastName: String | |
} | |
input Pagination { | |
cursor: String | |
perPage: Int | |
} |
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 Head from 'next/head'; | |
import 'styles/globals.css'; | |
import { Nav, RouteGuard } from 'components'; | |
export default App; | |
function App({ Component, pageProps }) { | |
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
<body> | |
<center class="wrapper" data-link-color="#1188E6" data-body-style="font-size:14px; font-family:arial,helvetica,sans-serif; color:#000000; background-color:#FFFFFF;"> | |
<div class="webkit"> | |
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="wrapper" bgcolor="#FFFFFF"> | |
<tbody><tr> | |
<td valign="top" bgcolor="#FFFFFF" width="100%"> | |
<table width="100%" role="content-container" class="outer" align="center" cellpadding="0" cellspacing="0" border="0"> | |
<tbody><tr> | |
<td width="100%"> | |
<table width="100%" cellpadding="0" cellspacing="0" border="0"> |
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
"use strict"; | |
const querystring = require("querystring"); | |
const axios = require("axios"); | |
let jsonData = require("./strapiOutput.json"); | |
async function upload() { | |
const articles = jsonData.map((category) => { | |
category.articles.map((article) => { | |
console.log(article.title); | |
axios.post( |
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
Export.tsx:109 Refused to connect to 'https://files.stripe.com/v1/files/file_1KgXNaAg7It2SgG9tWcgcCu9/contents' because it violates the following Content Security Policy directive: "connect-src http://localhost:* localhost:* https://accounts.google.com/o/oauth2/auth". | |
(anonymous) @ Export.tsx:109 | |
(anonymous) @ ext.js:85 | |
__async @ ext.js:69 | |
retrieveFile @ Export.tsx:106 | |
onAction @ Export.tsx:163 | |
wrappedFunction @ dashboard.vendors~extension_runtime.b263e1c3980c4ae0db6d.min.js:1 | |
call @ dashboard.vendors~extension_runtime~tailor.94fa392045531ad8ea6f.min.js:1 | |
listener @ dashboard.vendors~extension_runtime~tailor.94fa392045531ad8ea6f.min.js:1 |
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
export const useEnvelopeDetailsQuery = (query?: QueryParams) => { | |
const fetchEnvelopeWithCredentials = | |
useFetchWithCredentials<EnvelopeResponse>(); | |
const { queryString } = serializeQueryParams(query); | |
const { data: envelopeResponse, isLoading } = useQuery< | |
EnvelopeResponse, | |
ErrorDetails | |
>( | |
['envelopeDetails', queryString], | |
() => |