SEV-17: Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
.DS_Store
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# SwitchEV — Shared
|
||||||
|
|
||||||
|
## Jira Workflow
|
||||||
|
All work in this repo should reference the relevant Jira ticket (project: `SEV`). Mention the ticket key in commit messages and PR titles (e.g. `SEV-23: Build shared validation schemas`). Quick fixes with no ticket are fine — just proceed directly.
|
||||||
|
|
||||||
|
**Relevant Epics (use as parent when creating new tickets):**
|
||||||
|
- **SEV-7** — Backend API & Database *(primary — shared Go packages, validation, types)*
|
||||||
|
- **SEV-6** — Authentication & User Management *(shared auth constants, role definitions)*
|
||||||
|
|
||||||
|
**JQL shortcut:** `project = SEV AND parent in (SEV-7, SEV-6) ORDER BY status`
|
||||||
|
|
||||||
|
Full TODO-to-Jira mapping: `/Users/bastian/src/switchev/TODO.md`
|
||||||
|
|
||||||
|
## Project
|
||||||
|
SwitchEV is an EV conversion marketplace. This repo contains shared constants, validation schemas, and type definitions used across the api/ and frontend sites.
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
- Shared constants (roles, statuses, tiers, specialties)
|
||||||
|
- Validation schemas (reusable between frontend and API)
|
||||||
|
- Type definitions
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
Keep this package minimal. Only add code here if it is genuinely shared between multiple repos.
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "switchev-shared",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"description": "Shared constants, validation schemas, and type definitions for SwitchEV",
|
||||||
|
"type": "module",
|
||||||
|
"main": "index.js"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user