omg this is working
This commit is contained in:
13
src/global.ts
Normal file
13
src/global.ts
Normal 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
|
||||
Reference in New Issue
Block a user