@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.
package/dist/index.js CHANGED
@@ -6146,9 +6146,10 @@ ${above.rows.map((r) => ` ${r.id}-${r.key}
6146
6146
  return tagsByCard;
6147
6147
  }
6148
6148
  async getAllCardIds() {
6149
+ const prefix = `${DocTypePrefixes["CARD" /* CARD */]}-`;
6149
6150
  const result = await this.db.allDocs({
6150
- startkey: "CARD-",
6151
- endkey: "CARD-\uFFF0",
6151
+ startkey: prefix,
6152
+ endkey: `${prefix}\uFFF0`,
6152
6153
  include_docs: false
6153
6154
  });
6154
6155
  return result.rows.map((row) => row.id);