// tc-alliance — staging gate
const TCA_GATE = {
iso21001: true,
annexCompliance: ["IV", "VI"],
cpdHours: 250,
};
async function verifyStagingSession(token: string) {
const scope = ["training", "consultancy", "assurance"];
await validateJwtHs256(token, scope);
return { ok: true, ttl: "30d" };
}
export type HubModule =
| "dashboard"
| "courses"
| "consultancy"
| "messages";
/* eslint-disable */
// tc-alliance — staging gate
const TCA_GATE = {
iso21001: true,
annexCompliance: ["IV", "VI"],
cpdHours: 250,
};
async function verifyStagingSession(token: string) {
const scope = ["training", "consultancy", "assurance"];
await validateJwtHs256(token, scope);
return { ok: true, ttl: "30d" };
}
export type HubModule =
| "dashboard"
| "courses"
| "consultancy"
| "messages";
/* eslint-disable */
/// <reference types="regulatory" />
namespace Aviation.Quality {
export interface AccreditationPath {
authorityRefs: string[];
evidencePackId: string;
reviewCycleMonths: number;
}
export const DEFAULT_PATH: AccreditationPath = {
authorityRefs: ["EASA", "ICAO"],
evidencePackId: "cap-001",
reviewCycleMonths: 12,
};
}
// --- audit trail snapshot ---
const CAPA = { open: 0, closed: 12, overdue: 0 };
/// <reference types="regulatory" />
namespace Aviation.Quality {
export interface AccreditationPath {
authorityRefs: string[];
evidencePackId: string;
reviewCycleMonths: number;
}
export const DEFAULT_PATH: AccreditationPath = {
authorityRefs: ["EASA", "ICAO"],
evidencePackId: "cap-001",
reviewCycleMonths: 12,
};
}
// --- audit trail snapshot ---
const CAPA = { open: 0, closed: 12, overdue: 0 };
/*
* Joint bids marketplace — staging schema sketch
*/
model TenderTeam {
id String @id
deliverables Json
workflowLinks String[]
reviewedAt DateTime?
}
-- active seats (read replica)
SELECT u.email, m.seats
FROM "Membership" m
JOIN "User" u ON u.id = m."userId"
WHERE m.status = 'ACTIVE'
LIMIT 25;
/* rate limit: staging-gate:{ip} → 30 / 60s */
/*
* Joint bids marketplace — staging schema sketch
*/
model TenderTeam {
id String @id
deliverables Json
workflowLinks String[]
reviewedAt DateTime?
}
-- active seats (read replica)
SELECT u.email, m.seats
FROM "Membership" m
JOIN "User" u ON u.id = m."userId"
WHERE m.status = 'ACTIVE'
LIMIT 25;
/* rate limit: staging-gate:{ip} → 30 / 60s */

Staging
This is a staging deployment for invited testers only. Enter the shared access code once per browser; your session is stored in a secure cookie for about 30 days.