Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/releases/stores/modules/detail/state.js')
-rw-r--r--app/assets/javascripts/releases/stores/modules/detail/state.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/javascripts/releases/stores/modules/detail/state.js b/app/assets/javascripts/releases/stores/modules/detail/state.js
new file mode 100644
index 00000000000..7e3d975f1ae
--- /dev/null
+++ b/app/assets/javascripts/releases/stores/modules/detail/state.js
@@ -0,0 +1,16 @@
+export default () => ({
+ projectId: null,
+ tagName: null,
+ releasesPagePath: null,
+ markdownDocsPath: null,
+ markdownPreviewPath: null,
+ updateReleaseApiDocsPath: null,
+
+ release: null,
+
+ isFetchingRelease: false,
+ fetchError: null,
+
+ isUpdatingRelease: false,
+ updateError: null,
+});