PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
Constants.hpp
1/*
2PrivMX Endpoint.
3Copyright © 2024 Simplito sp. z o.o.
4
5This file is part of the PrivMX Platform (https://privmx.dev).
6This software is Licensed under the PrivMX Free License.
7
8See the License for the specific language governing permissions and
9limitations under the License.
10*/
11
12#ifndef _PRIVMXLIB_ENDPOINT_INBOX_CONSTANTS_HPP_
13#define _PRIVMXLIB_ENDPOINT_INBOX_CONSTANTS_HPP_
14
15#include <cstdint>
16
17namespace privmx {
18namespace endpoint {
19namespace inbox {
20
21namespace InboxDataSchema {
22 enum Version : int64_t {
23 UNKNOWN = 0,
24 VERSION_4 = 4,
25 VERSION_5 = 5
26 };
27}
28constexpr static InboxDataSchema::Version CURRENT_INBOX_DATA_SCHEMA_VERSION = InboxDataSchema::Version::VERSION_5;
29
30namespace EntryDataSchema {
31 enum Version : int64_t {
32 UNKNOWN = 0,
33 VERSION_1 = 1
34 };
35}
36constexpr static EntryDataSchema::Version CURRENT_ENTRY_DATA_SCHEMA_VERSION = EntryDataSchema::Version::VERSION_1;
37
38} // namespace inbox
39} // namespace endpoint
40} // namespace privmx
41
42
43
44#endif // #define _PRIVMXLIB_ENDPOINT_INBOX_CONSTANTS_HPP_
45