summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/serverless/stores/serverless_details_store.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/serverless/stores/serverless_details_store.js')
-rw-r--r--app/assets/javascripts/serverless/stores/serverless_details_store.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/serverless/stores/serverless_details_store.js b/app/assets/javascripts/serverless/stores/serverless_details_store.js
new file mode 100644
index 00000000000..5394d2cded1
--- /dev/null
+++ b/app/assets/javascripts/serverless/stores/serverless_details_store.js
@@ -0,0 +1,11 @@
+export default class ServerlessDetailsStore {
+ constructor() {
+ this.state = {
+ functionDetail: {},
+ };
+ }
+
+ updateDetailedFunction(func) {
+ this.state.functionDetail = func;
+ }
+}