aboutsummaryrefslogtreecommitdiff
path: root/front-end/src/store/index.ts
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-01-30 15:23:06 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2024-01-30 15:23:06 -0500
commit5abc489b9954111d66d1385aa62a3ea962fa0a55 (patch)
treeb1715e5c5e6316f33e3e33fb55397d93200ab518 /front-end/src/store/index.ts
parente4dc63ded324c6e9678603296953bb1f7dea7569 (diff)
merge upstream. Add dynamic client-side support for optional oauth2 and social login methods
Diffstat (limited to 'front-end/src/store/index.ts')
-rw-r--r--front-end/src/store/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/front-end/src/store/index.ts b/front-end/src/store/index.ts
index 1b2d7ee..936dddf 100644
--- a/front-end/src/store/index.ts
+++ b/front-end/src/store/index.ts
@@ -16,10 +16,12 @@
import { useSession } from "@vnuge/vnlib.browser";
import { set } from "@vueuse/core";
import { defineStore } from "pinia";
-import { computed, shallowRef } from "vue";
+import { computed, shallowRef, type UnwrapNestedRefs } from "vue";
export { SortType, QueryType } from './sharedTypes'
+export const storeExport = <T>(val: T): UnwrapNestedRefs<T> => val as UnwrapNestedRefs<T>;
+
/**
* Loads the main store for the application
*/