style: format notebook contracts
This commit is contained in:
1 parent
8b858528f8
commit
c66ff7fde6
3 files changed
+79
-23
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user