@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.
- package/dist/core/index.js +3 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +3 -2
- package/dist/core/index.mjs.map +1 -1
- package/dist/impl/couch/index.js +3 -2
- package/dist/impl/couch/index.js.map +1 -1
- package/dist/impl/couch/index.mjs +3 -2
- package/dist/impl/couch/index.mjs.map +1 -1
- package/dist/impl/static/index.js.map +1 -1
- package/dist/impl/static/index.mjs.map +1 -1
- package/dist/index.js +37 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/impl/couch/courseDB.ts +11 -2
- package/src/study/services/ResponseProcessor.ts +56 -22
|
@@ -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:
|
|
5701
|
-
endkey:
|
|
5701
|
+
startkey: prefix,
|
|
5702
|
+
endkey: `${prefix}\uFFF0`,
|
|
5702
5703
|
include_docs: false
|
|
5703
5704
|
});
|
|
5704
5705
|
return result.rows.map((row) => row.id);
|