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: Main | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write |
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 socket | |
import datetime | |
from zeroconf import ServiceInfo, Zeroconf | |
HOST = '' # Open server up on local network | |
PORT = 1024 # Port to listen on (non-privileged ports are > 1023) | |
address = "" | |
print("#############################") |
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
export const searchToStorefront = (item) => { | |
let formattedItem = { | |
node: { | |
variants: { | |
edges: [ | |
{node: { | |
id: btoa(`gid://shopify/ProductVariant/${item.id}`), | |
sku: item.mpn, | |
compareAtPriceV2: { | |
amount: item.price |