fix missing global function
This commit is contained in:
@ -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()
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user