@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/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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/impl/couch/courseDB.ts +11 -2
package/dist/index.mjs
CHANGED
|
@@ -6128,9 +6128,10 @@ ${above.rows.map((r) => ` ${r.id}-${r.key}
|
|
|
6128
6128
|
return tagsByCard;
|
|
6129
6129
|
}
|
|
6130
6130
|
async getAllCardIds() {
|
|
6131
|
+
const prefix = `${DocTypePrefixes["CARD" /* CARD */]}-`;
|
|
6131
6132
|
const result = await this.db.allDocs({
|
|
6132
|
-
startkey:
|
|
6133
|
-
endkey:
|
|
6133
|
+
startkey: prefix,
|
|
6134
|
+
endkey: `${prefix}\uFFF0`,
|
|
6134
6135
|
include_docs: false
|
|
6135
6136
|
});
|
|
6136
6137
|
return result.rows.map((row) => row.id);
|