@siteping/cli 0.4.3 → 0.4.5

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/dist/index.js CHANGED
@@ -18479,6 +18479,9 @@ var _SITEPING_MODELS = {
18479
18479
  message: { type: "String", nativeType: "Text" },
18480
18480
  status: { type: "String", default: '"open"' },
18481
18481
  url: { type: "String" },
18482
+ urlPattern: { type: "String", optional: true },
18483
+ screenshotUrl: { type: "String", optional: true, nativeType: "Text" },
18484
+ diagnostics: { type: "Json", optional: true },
18482
18485
  viewport: { type: "String" },
18483
18486
  userAgent: { type: "String" },
18484
18487
  authorName: { type: "String" },
@@ -18492,7 +18495,11 @@ var _SITEPING_MODELS = {
18492
18495
  relation: { kind: "1-to-many", model: "SitepingAnnotation" }
18493
18496
  }
18494
18497
  },
18495
- indexes: [{ fields: ["projectName"] }, { fields: ["projectName", "status", "createdAt"] }]
18498
+ indexes: [
18499
+ { fields: ["projectName"] },
18500
+ { fields: ["projectName", "status", "createdAt"] },
18501
+ { fields: ["projectName", "url"] }
18502
+ ]
18496
18503
  },
18497
18504
  SitepingAnnotation: {
18498
18505
  fields: {
@@ -18517,6 +18524,7 @@ var _SITEPING_MODELS = {
18517
18524
  textSuffix: { type: "String", nativeType: "Text" },
18518
18525
  fingerprint: { type: "String" },
18519
18526
  neighborText: { type: "String", nativeType: "Text" },
18527
+ anchorKey: { type: "String", optional: true },
18520
18528
  xPct: { type: "Float" },
18521
18529
  yPct: { type: "Float" },
18522
18530
  wPct: { type: "Float" },
@@ -19099,7 +19107,7 @@ function syncCommand(options) {
19099
19107
  }
19100
19108
 
19101
19109
  // src/index.ts
19102
- var program2 = new Command().name("siteping").description("CLI to configure @siteping/* in your project").version("0.4.3");
19110
+ var program2 = new Command().name("siteping").description("CLI to configure @siteping/* in your project").version("0.4.5");
19103
19111
  program2.command("init").description("Set up the Prisma schema and API route in your project").action(initCommand).addHelpText("after", "\n Examples:\n $ siteping init");
19104
19112
  program2.command("sync").description("Sync the Prisma schema (non-interactive, CI-friendly)").option("--schema <path>", "Path to the schema.prisma file").action(syncCommand).addHelpText("after", "\n Examples:\n $ siteping sync\n $ siteping sync --schema prisma/schema.prisma");
19105
19113
  program2.command("status").description("Full diagnostic of the Siteping integration").option("--schema <path>", "Path to the schema.prisma file").action(statusCommand).addHelpText("after", "\n Examples:\n $ siteping status\n $ siteping status --schema prisma/schema.prisma");