@vue-skuilder/db 0.2.9 → 0.2.10

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.
@@ -5713,9 +5713,10 @@ ${above.rows.map((r) => ` ${r.id}-${r.key}
5713
5713
  return tagsByCard;
5714
5714
  }
5715
5715
  async getAllCardIds() {
5716
+ const prefix = `${DocTypePrefixes["CARD" /* CARD */]}-`;
5716
5717
  const result = await this.db.allDocs({
5717
- startkey: "CARD-",
5718
- endkey: "CARD-\uFFF0",
5718
+ startkey: prefix,
5719
+ endkey: `${prefix}\uFFF0`,
5719
5720
  include_docs: false
5720
5721
  });
5721
5722
  return result.rows.map((row) => row.id);