feat(web): Registration key linked to account status

This commit is contained in:
Zack Spear
2024-05-02 16:38:13 -07:00
committed by Zack Spear
parent 37b717b142
commit f28b7510fa
8 changed files with 189 additions and 11 deletions
+4 -4
View File
@@ -46,10 +46,10 @@ import type {
// '1111-1111-5GDB-123412341234' Starter.key = TkJCrVyXMLWWGKZF6TCEvf0C86UYI9KfUDSOm7JoFP19tOMTMgLKcJ6QIOt9_9Psg_t0yF-ANmzSgZzCo94ljXoPm4BESFByR0K7nyY9KVvU8szLEUcBUT3xC2adxLrAXFNxiPeK-mZqt34n16uETKYvLKL_Sr5_JziG5L5lJFBqYZCPmfLMiguFo1vp0xL8pnBH7q8bYoBnePrAcAVb9mAGxFVPEInSPkMBfC67JLHz7XY1Y_K5bYIq3go9XPtLltJ53_U4BQiMHooXUBJCKXodpqoGxq0eV0IhNEYdauAhnTsG90qmGZig0hZalQ0soouc4JZEMiYEcZbn9mBxPg
const state: ServerState = 'TRIAL';
const currentFlashGuid = '1111-1111-NUIK-TEST1234ZACK'; // this is the flash drive that's been booted from
const regGuid = '1111-1111-NUIK-TEST1234ZACK'; // this guid is registered in key server
const keyfileBase64 = ''; // @todo raycast download key to base64
const state: ServerState = 'BASIC';
const currentFlashGuid = '1111-1111-CFXF-TEST1234ZACK'; // this is the flash drive that's been booted from
const regGuid = '1111-1111-CFXF-TEST1234ZACK'; // this guid is registered in key server
const keyfileBase64 = 'asdf'; // @todo raycast download key to base64
// const randomGuid = `1111-1111-${makeid(4)}-123412341234`; // this guid is registered in key server
// const newGuid = `1234-1234-${makeid(4)}-123412341234`; // this is a new USB, not registered