refactor: remove unused Pinia stores and related code
- Deleted the layout-store, profiles-store, and index.ts files from the Pinia store setup. - Removed the zod-sync script as it is no longer needed. - Cleaned up the tsconfig.json file by removing unnecessary references. - Updated the login logic in the profiles package to use polling for login results instead of in-process waiters. - Added validation methods for personal data and profile parameters. - Introduced new tests for validation logic in profiles and registration packages. - Enhanced email normalization and validation in the registration package.
This commit is contained in:
10
auth/migrations/2_create_login_results.up.sql
Normal file
10
auth/migrations/2_create_login_results.up.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE login_results (
|
||||
request_id UUID PRIMARY KEY,
|
||||
ok BOOLEAN NOT NULL,
|
||||
token UUID,
|
||||
expires_at TIMESTAMPTZ,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||
);
|
||||
|
||||
CREATE INDEX login_results_created_at_idx ON login_results (created_at);
|
||||
Reference in New Issue
Block a user