Variable adminServiceConst
adminService: {
id: "admin";
mount: {
kind: "route";
path: "/api/admin";
symbol: "adminRoutes";
from: "./routes/admin";
};
contract: { symbol: "adminOps"; from: "./contract/admin" };
deps: ["@suluk/credits"];
env: [
{
name: "SUPERADMIN_EMAILS";
secret: true;
hint: "comma/space-separated admin emails → the admin scope (secret-surfaced so they stay out of git plaintext)";
},
];
} = ...
Type Declaration
Readonlyid: "admin"
Readonlymount: {
kind: "route";
path: "/api/admin";
symbol: "adminRoutes";
from: "./routes/admin";
}
Readonlycontract: { symbol: "adminOps"; from: "./contract/admin" }
Readonlydeps: ["@suluk/credits"]
Readonlyenv: [
{
name: "SUPERADMIN_EMAILS";
secret: true;
hint: "comma/space-separated admin emails → the admin scope (secret-surfaced so they stay out of git plaintext)";
},
]