omg this is working

This commit is contained in:
Ben Miller
2024-11-13 23:43:32 -07:00
parent fb86c9c96d
commit a5c0a1176d
22 changed files with 2152 additions and 53 deletions

13
src/global.ts Normal file
View File

@ -0,0 +1,13 @@
/// <reference types="@types/google-apps-script" />
import { onOpen } from "./onOpen"
import { onEdit } from "./onEdit"
import { getShopifyProducts } from "./shopifyApi"
import { runShopifyOrders } from "./shopifyApi"
import { matchProductToShopifyHandler } from "./initMenu"
;(global as any).onOpen = () => onOpen()
;(global as any).onEdit = (e: GoogleAppsScript.Events.SheetsOnEdit) => onEdit(e)
;(global as any).getShopifyProducts = getShopifyProducts
;(global as any).runShopifyOrders = runShopifyOrders
;(global as any).matchProductToShopifyHandler = matchProductToShopifyHandler