[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: Setup types and constants for frontend
From: |
gnunet |
Subject: |
[libeufin] branch master updated: Setup types and constants for frontend |
Date: |
Sun, 31 May 2020 10:23:05 +0200 |
This is an automated email from the git hooks/post-receive script.
heng-yeow pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 51c83a2 Setup types and constants for frontend
51c83a2 is described below
commit 51c83a249ae92cb8cb53af224b56005d60d5e56c
Author: tanhengyeow <E0032242@u.nus.edu>
AuthorDate: Sun May 31 16:22:49 2020 +0800
Setup types and constants for frontend
---
frontend/src/constants.tsx | 4 ++++
frontend/src/types.tsx | 3 +++
2 files changed, 7 insertions(+)
diff --git a/frontend/src/constants.tsx b/frontend/src/constants.tsx
new file mode 100644
index 0000000..4b41ab0
--- /dev/null
+++ b/frontend/src/constants.tsx
@@ -0,0 +1,4 @@
+export const AUTHENTICATE = 'AUTHENTICATE';
+export type AUTHENTICATE = typeof AUTHENTICATE;
+export const UNAUTHENTICATE = 'UNAUTHENTICATE';
+export type UNAUTHENTICATE = typeof UNAUTHENTICATE;
diff --git a/frontend/src/types.tsx b/frontend/src/types.tsx
new file mode 100644
index 0000000..33e6ff2
--- /dev/null
+++ b/frontend/src/types.tsx
@@ -0,0 +1,3 @@
+export interface Auth {
+ isAuthenticated: boolean | null;
+}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: Setup types and constants for frontend,
gnunet <=