truecourse 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.mjs +6 -6
- package/db/migrations/0001_abnormal_random.sql +13 -0
- package/db/migrations/0002_slippery_fallen_one.sql +2 -0
- package/db/migrations/0003_yielding_mad_thinker.sql +2 -0
- package/db/migrations/meta/0001_snapshot.json +1583 -0
- package/db/migrations/meta/0002_snapshot.json +1583 -0
- package/db/migrations/meta/0003_snapshot.json +1602 -0
- package/db/migrations/meta/_journal.json +21 -0
- package/package.json +1 -1
- package/public/assets/index-B_clh7JM.css +1 -0
- package/public/assets/index-BcQKBiyG.js +386 -0
- package/public/index.html +2 -2
- package/server.mjs +84167 -11356
- package/public/assets/index-2JAhA9Km.js +0 -386
- package/public/assets/index-vuAqJRVb.css +0 -1
package/cli.mjs
CHANGED
|
@@ -12296,10 +12296,10 @@ function renderDiffResults(result) {
|
|
|
12296
12296
|
console.log(` \x1B[33m\u26A0 Results may be stale \u2014 baseline analysis has changed.\x1B[0m`);
|
|
12297
12297
|
console.log("");
|
|
12298
12298
|
}
|
|
12299
|
-
if (result.
|
|
12300
|
-
console.log(` NEW ISSUES (${result.
|
|
12299
|
+
if (result.newViolations.length > 0) {
|
|
12300
|
+
console.log(` NEW ISSUES (${result.newViolations.length})`);
|
|
12301
12301
|
console.log(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500");
|
|
12302
|
-
for (const v3 of result.
|
|
12302
|
+
for (const v3 of result.newViolations) {
|
|
12303
12303
|
const icon = severityIcon(v3.severity);
|
|
12304
12304
|
const color = severityColor(v3.severity);
|
|
12305
12305
|
const label = v3.severity.toUpperCase();
|
|
@@ -12321,10 +12321,10 @@ function renderDiffResults(result) {
|
|
|
12321
12321
|
console.log(" None");
|
|
12322
12322
|
console.log("");
|
|
12323
12323
|
}
|
|
12324
|
-
if (result.
|
|
12325
|
-
console.log(` RESOLVED (${result.
|
|
12324
|
+
if (result.resolvedViolations.length > 0) {
|
|
12325
|
+
console.log(` RESOLVED (${result.resolvedViolations.length})`);
|
|
12326
12326
|
console.log(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500");
|
|
12327
|
-
for (const v3 of result.
|
|
12327
|
+
for (const v3 of result.resolvedViolations) {
|
|
12328
12328
|
const target = buildTargetPath(v3);
|
|
12329
12329
|
const color = severityColor(v3.severity);
|
|
12330
12330
|
const label = v3.severity.toUpperCase();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
ALTER TABLE "analyses" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "conversations" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
3
|
+
ALTER TABLE "conversations" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
4
|
+
ALTER TABLE "databases" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
5
|
+
ALTER TABLE "diff_checks" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
6
|
+
ALTER TABLE "messages" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
7
|
+
ALTER TABLE "repos" ALTER COLUMN "last_analyzed_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
8
|
+
ALTER TABLE "repos" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
9
|
+
ALTER TABLE "repos" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
10
|
+
ALTER TABLE "rules" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
11
|
+
ALTER TABLE "rules" ALTER COLUMN "updated_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
12
|
+
ALTER TABLE "services" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;--> statement-breakpoint
|
|
13
|
+
ALTER TABLE "violations" ALTER COLUMN "created_at" SET DATA TYPE timestamp with time zone;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
ALTER TABLE "diff_checks" ADD COLUMN "diff_analysis_id" uuid;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "diff_checks" ADD CONSTRAINT "diff_checks_diff_analysis_id_analyses_id_fk" FOREIGN KEY ("diff_analysis_id") REFERENCES "public"."analyses"("id") ON DELETE set null ON UPDATE no action;
|