@vue-skuilder/db 0.2.9 → 0.2.11

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.
@@ -5696,9 +5696,10 @@ ${above.rows.map((r) => ` ${r.id}-${r.key}
5696
5696
  return tagsByCard;
5697
5697
  }
5698
5698
  async getAllCardIds() {
5699
+ const prefix = `${DocTypePrefixes["CARD" /* CARD */]}-`;
5699
5700
  const result = await this.db.allDocs({
5700
- startkey: "CARD-",
5701
- endkey: "CARD-\uFFF0",
5701
+ startkey: prefix,
5702
+ endkey: `${prefix}\uFFF0`,
5702
5703
  include_docs: false
5703
5704
  });
5704
5705
  return result.rows.map((row) => row.id);