@siteping/cli 0.4.3 → 0.4.4

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,8 @@ 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" },
18482
18484
  viewport: { type: "String" },
18483
18485
  userAgent: { type: "String" },
18484
18486
  authorName: { type: "String" },
@@ -18492,7 +18494,11 @@ var _SITEPING_MODELS = {
18492
18494
  relation: { kind: "1-to-many", model: "SitepingAnnotation" }
18493
18495
  }
18494
18496
  },
18495
- indexes: [{ fields: ["projectName"] }, { fields: ["projectName", "status", "createdAt"] }]
18497
+ indexes: [
18498
+ { fields: ["projectName"] },
18499
+ { fields: ["projectName", "status", "createdAt"] },
18500
+ { fields: ["projectName", "url"] }
18501
+ ]
18496
18502
  },
18497
18503
  SitepingAnnotation: {
18498
18504
  fields: {
@@ -18517,6 +18523,7 @@ var _SITEPING_MODELS = {
18517
18523
  textSuffix: { type: "String", nativeType: "Text" },
18518
18524
  fingerprint: { type: "String" },
18519
18525
  neighborText: { type: "String", nativeType: "Text" },
18526
+ anchorKey: { type: "String", optional: true },
18520
18527
  xPct: { type: "Float" },
18521
18528
  yPct: { type: "Float" },
18522
18529
  wPct: { type: "Float" },
@@ -19099,7 +19106,7 @@ function syncCommand(options) {
19099
19106
  }
19100
19107
 
19101
19108
  // src/index.ts
19102
- var program2 = new Command().name("siteping").description("CLI to configure @siteping/* in your project").version("0.4.3");
19109
+ var program2 = new Command().name("siteping").description("CLI to configure @siteping/* in your project").version("0.4.4");
19103
19110
  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
19111
  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
19112
  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");