Skip to content

Commit 13ee4a1

Browse files
committed
ref: rename sqlReport to sofReport in the custom-packages example
1 parent eee6da8 commit 13ee4a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎examples/typescript-custom-packages/generate.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ console.log(prettyReport(localReport));
3737
if (!localReport.success) process.exit(1);
3838

3939
// 2. Remote .tgz package by URL (.fromPackageRef) — SQL-on-FHIR → ./sql-on-fhir-types
40-
const sqlReport = await new APIBuilder({
40+
const sofReport = await new APIBuilder({
4141
// Instead of the shipped builtin patches, declare the known-broken R5 canonicals by hand —
4242
// this demonstrates (and continuously exercises) the fully manual loader configuration.
4343
// Index patches apply at scan time, so a cached closure needs a cache drop to pick them up.
@@ -77,7 +77,7 @@ const sqlReport = await new APIBuilder({
7777
.cleanOutput(true)
7878
.generate();
7979

80-
console.log(prettyReport(sqlReport));
81-
if (!sqlReport.success) process.exit(1);
80+
console.log(prettyReport(sofReport));
81+
if (!sofReport.success) process.exit(1);
8282

8383
console.log("✅ FHIR types generated successfully!");

0 commit comments

Comments
 (0)