bookish-press 0.5.21 → 0.5.23
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.
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
<script>import { onMount } from 'svelte';
|
|
2
|
+
import { building } from '$app/environment';
|
|
2
3
|
import Loading from './Loading.svelte';
|
|
3
4
|
export let title;
|
|
4
5
|
export let afterLoaded = undefined;
|
|
5
|
-
|
|
6
|
+
// If we're building, we're loaded. This ensures that prerendering doesn't get blocked.
|
|
7
|
+
// See: https://kit.svelte.dev/docs/modules
|
|
8
|
+
let loaded = building;
|
|
6
9
|
let lastHeight = 0;
|
|
7
10
|
let intervalID = null;
|
|
8
11
|
let mountTime = Date.now();
|
package/dist/models/CRUD.d.ts
CHANGED
package/dist/models/CRUD.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { db, functions } from './Firebase';
|
|
2
|
-
import { collection, getDocs, getDoc, setDoc, doc, addDoc, query, where, deleteDoc,
|
|
2
|
+
import { collection, getDocs, getDoc, setDoc, doc, addDoc, query, where, deleteDoc, onSnapshot, } from 'firebase/firestore';
|
|
3
3
|
import { httpsCallable } from 'firebase/functions';
|
|
4
4
|
import Edition from './book/Edition';
|
|
5
5
|
import Book, {} from './book/Book';
|