fix missing global function

This commit is contained in:
Ben Miller
2024-11-29 17:22:29 -07:00
parent 5adc6a5cf4
commit 5707fa59b8
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export function onEditHandler(e: GoogleAppsScript.Events.SheetsOnEdit) {
matchProductToShopifyOnEditHandler(e) matchProductToShopifyOnEditHandler(e)
} }
function matchProductToShopifyOnEditHandler( export function matchProductToShopifyOnEditHandler(
e: GoogleAppsScript.Events.SheetsOnEdit e: GoogleAppsScript.Events.SheetsOnEdit
) { ) {
var sheet = SpreadsheetApp.getActive().getActiveSheet() var sheet = SpreadsheetApp.getActive().getActiveSheet()

View File

@ -14,11 +14,14 @@ import { reinstallTriggers } from "./triggers"
import { newSkuHandler } from "./newSku" import { newSkuHandler } from "./newSku"
import { columnOnEditHandler } from "./OnEditHandler" import { columnOnEditHandler } from "./OnEditHandler"
import { fillProductFromTemplate } from "./fillProductFromTemplate" import { fillProductFromTemplate } from "./fillProductFromTemplate"
// prettier-ignore
;(global as any).onOpen = onOpen ;(global as any).onOpen = onOpen
;(global as any).initMenu = initMenu ;(global as any).initMenu = initMenu
;(global as any).getShopifyProducts = getShopifyProducts ;(global as any).getShopifyProducts = getShopifyProducts
;(global as any).runShopifyOrders = runShopifyOrders ;(global as any).runShopifyOrders = runShopifyOrders
;(global as any).matchProductToShopifyHandler = matchProductToShopifyHandler ;(global as any).matchProductToShopifyHandler = matchProductToShopifyHandler
;(global as any).matchProductToShopifyOnEditHandler = matchProductToShopifyOnEditHandler
;(global as any).updateShopifyProductHandler = updateShopifyProductHandler ;(global as any).updateShopifyProductHandler = updateShopifyProductHandler
;(global as any).columnOnEditHandler = columnOnEditHandler ;(global as any).columnOnEditHandler = columnOnEditHandler
;(global as any).reauthorizeScript = reauthorizeScript ;(global as any).reauthorizeScript = reauthorizeScript