@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.
@@ -5948,9 +5948,10 @@ ${above.rows.map((r) => ` ${r.id}-${r.key}
5948
5948
  return tagsByCard;
5949
5949
  }
5950
5950
  async getAllCardIds() {
5951
+ const prefix = `${DocTypePrefixes["CARD" /* CARD */]}-`;
5951
5952
  const result = await this.db.allDocs({
5952
- startkey: "CARD-",
5953
- endkey: "CARD-\uFFF0",
5953
+ startkey: prefix,
5954
+ endkey: `${prefix}\uFFF0`,
5954
5955
  include_docs: false
5955
5956
  });
5956
5957
  return result.rows.map((row) => row.id);