Skip to content

Instantly share code, notes, and snippets.

View larrycustodio's full-sized avatar
👨‍💻

Larry Custodio larrycustodio

👨‍💻
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Add title to display title in some client browser tabs -->
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Add title to display title in some client browser tabs -->
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;0,800;1,200&display=swap" rel="stylesheet">
async updateFromStore(
// FIXME temporarily allow buttons configuration until migration is run
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration },
): Promise<StoreConfiguration> {
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store
if (!offerConfig) {
throw new Error('offerConfig from Store is missing')
}
return this.add(store.id, {
accountId: store.accountId,
async updateFromStore(
// FIXME temporarily allow buttons configuration until migration is run
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration },
): Promise<StoreConfiguration> {
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store
if (!offerConfig) {
throw new Error('offerConfig from Store is missing')
}
return this.add(store.id, {
accountId: store.accountId,
async updateFromStore(
// FIXME temporarily allow buttons configuration until migration is run
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration },
): Promise<StoreConfiguration> {
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store
if (!offerConfig) {
throw new Error('offerConfig from Store is missing')
}
return this.add(store.id, {
accountId: store.accountId,
{
"info": {
"_postman_id": "57df8b22-65a2-4790-a6a3-17d8f833d864",
"name": "User Authentication",
"description": "Describes how to authorize with the application",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "User Login",