# Globals

The globals variables are an organized bunch of variables that represent "hard coded" data or configurations.

Mostly this file knows all the product and sku ids for direct reference in code. Normally, this would be a bad practice, but in the case of Snowstorm, products/skus never get deleted. If it ever happens, we will adjust our list.

To access the globals, you need to load the Globals object from the globals.ts file. It's separated between the two associations.

For example, if you want to reference the "Ski passe-partout" sku, you can type:

let sku_spp = Globals.assq.skus.skipp;

You can always add more things if you feel this the place for it.

Last Updated: 7/15/2022, 3:12:37 PM