style: format notebook contracts

This commit is contained in:
Evandro Fonseca Junior committed 2026-08-30 23:42:26 -03:00
1 parent 8b858528f8
commit c66ff7fde6
3 files changed
+79 -23

No files matched your search

+7 -2
View File
@@ -16,14 +16,19 @@ const NOTEBOOK_ORDER = [
"as-servicos",
] as const;
const SCREENSHOT_BY_PROJECT_ID: Record<(typeof NOTEBOOK_ORDER)[number], string> = {
const SCREENSHOT_BY_PROJECT_ID: Record<
(typeof NOTEBOOK_ORDER)[number],
string
> = {
nutriscan: "/assets/prints/print-nutriscan.png",
"sc-plus": "/assets/prints/print-scplus.png",
"sev-modaintima": "/assets/prints/print-sev.png",
"as-servicos": "/assets/prints/print-asservicos.png",
};
function isApprovedDemoUrl(value: PortfolioProject["demoUrl"]): value is string {
function isApprovedDemoUrl(
value: PortfolioProject["demoUrl"],
): value is string {
return typeof value === "string" && /^https?:\/\//.test(value);
}