PromucFlow_constructor/app/client/src/workers/Evaluation/fns
Anand Srinivasan 93f0a6bff0
chore: add cloud hosting variable global scope (#20743)
## Description
Passed in `cloudHosting` env variable to worker for certain actions.
This will be used to filter `PlatformFunctions` and
`ActionTriggerFunctionNames` in EE.
So we can have EE exclusive platform functions and the necessary linting
for those.

eval worker actions:
- SETUP (uses and assigns variable to global worker scope)
- evalTree, evalTrigger uses the variable from global scope

lint worker action(s):
- LINT_TREE (uses variable directly)

Fixes https://github.com/appsmithorg/appsmith-ee/issues/1024


## Type of change
- Chore (housekeeping or task changes that don't impact user perception)


## How Has This Been Tested?
- Jest
- Cypress


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag
2023-02-20 17:26:40 +05:30
..
__tests__ chore: add cloud hosting variable global scope (#20743) 2023-02-20 17:26:40 +05:30
overrides chore: type check callback functions in setInterval and setTimeout before invoking. (#20592) 2023-02-16 16:45:01 +05:30
utils chore: export batching method for ee PR (#20631) 2023-02-15 21:57:27 +05:30
actionFns.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
copyToClipboard.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
download.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
geolocationFns.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
index.ts chore: add cloud hosting variable global scope (#20743) 2023-02-20 17:26:40 +05:30
mock.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
modalFns.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
navigateTo.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
postWindowMessage.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
resetWidget.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
showAlert.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30
storeFns.ts fix: access outer scope variables inside callbacks (#20168) 2023-02-12 00:03:20 +05:30