├── .env ├── .eslintrc.cjs ├── .github └── workflows │ └── release.yml ├── .gitignore ├── .vscode ├── extensions.json ├── foam.json ├── settings.json └── svelte.code-snippets ├── LICENSE ├── README.md ├── kitbook.config.ts ├── package.json ├── pnpm-lock.yaml ├── src ├── app.d.ts ├── app.html ├── docs │ ├── 0-firestore │ │ ├── 0-CRUD.add.composition │ │ ├── 0-CRUD.md │ │ ├── 0-CRUD.read.composition │ │ ├── 1-load-data-in-load-function.composition │ │ ├── 1-load-data-in-load-function.md │ │ ├── 2-firestore-lite.addOnline.composition │ │ ├── 2-firestore-lite.deleteDocumentOnline.composition │ │ ├── 2-firestore-lite.md │ │ ├── 2-firestore-lite.setOnline.composition │ │ ├── 2-firestore-lite.updateOnline.composition │ │ ├── 3-config.composition │ │ ├── 3-config.md │ │ ├── 4-geopoint.composition │ │ ├── 4-geopoint.md │ │ └── 9-further-docs.md │ ├── 0-getting-started.md │ └── 1-auth │ │ ├── 0-FirebaseUI-for-web.arabic.composition │ │ ├── 0-FirebaseUI-for-web.composition │ │ ├── 0-FirebaseUI-for-web.md │ │ ├── 1-user-store.md │ │ └── recipes │ │ ├── 0-lazy-loaded-auth-modal.md │ │ ├── 1-passwordless-email-sign-in.md │ │ ├── 2-update-login.md │ │ ├── 3-delete-user.md │ │ └── 4-verify-email.md ├── lib │ ├── auth │ │ ├── FirebaseUiAuth.svelte │ │ ├── languageCodes.ts │ │ ├── uid.ts │ │ ├── updateUserData.ts │ │ └── user.ts │ ├── config.ts │ ├── firestore │ │ ├── Collection.svelte │ │ ├── Doc.svelte │ │ ├── firestore-lite.ts │ │ ├── firestore.ts │ │ ├── graveyard │ │ │ ├── REST.ts │ │ │ ├── RESTParser.test.ts.bak │ │ │ └── RESTParser.ts │ │ ├── perf.ts │ │ ├── stores.ts │ │ └── stores │ │ │ ├── awaitable-doc-store.composition │ │ │ ├── awaitable-doc-store.ts │ │ │ ├── collection-store.ts │ │ │ ├── doc-store.ts │ │ │ └── incremental-collection-store.ts │ ├── helpers │ │ ├── cookies.ts │ │ └── loader.ts │ ├── index.ts │ ├── init.ts │ ├── interfaces │ │ ├── auth-result.interface.ts │ │ ├── firebaseui.d.ts │ │ ├── firestore-metadata.interface.ts │ │ ├── index.ts │ │ └── user.interface.ts │ └── message.interface.ts └── routes │ ├── +layout.js │ ├── [...file] │ ├── +page.js │ └── +page.svelte │ ├── demo │ ├── Message.svelte │ ├── account │ │ └── +page.svelte │ ├── api │ │ ├── [messageId] │ │ │ └── +server.ts │ │ └── messages │ │ │ └── +server.ts │ ├── message.interface.ts │ ├── message │ │ └── [messageId] │ │ │ ├── +page.svelte │ │ │ └── +page.ts │ ├── messages │ │ ├── +page.svelte │ │ └── +page.ts │ └── user.ts │ └── sandbox │ └── [...file] │ ├── +page.js │ └── +page.svelte ├── static ├── favicon.svg └── tw-reset.css ├── svelte.config.js ├── tsconfig.json └── vite.config.js /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /build 4 | /.svelte-kit 5 | /dist 6 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/foam.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.vscode/foam.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/svelte.code-snippets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/.vscode/svelte.code-snippets -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/README.md -------------------------------------------------------------------------------- /kitbook.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/kitbook.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/app.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/app.d.ts -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/app.html -------------------------------------------------------------------------------- /src/docs/0-firestore/0-CRUD.add.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/0-CRUD.add.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/0-CRUD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/0-CRUD.md -------------------------------------------------------------------------------- /src/docs/0-firestore/0-CRUD.read.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/0-CRUD.read.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/1-load-data-in-load-function.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/1-load-data-in-load-function.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/1-load-data-in-load-function.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/1-load-data-in-load-function.md -------------------------------------------------------------------------------- /src/docs/0-firestore/2-firestore-lite.addOnline.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/2-firestore-lite.addOnline.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/2-firestore-lite.deleteDocumentOnline.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/2-firestore-lite.deleteDocumentOnline.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/2-firestore-lite.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/2-firestore-lite.md -------------------------------------------------------------------------------- /src/docs/0-firestore/2-firestore-lite.setOnline.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/2-firestore-lite.setOnline.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/2-firestore-lite.updateOnline.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/2-firestore-lite.updateOnline.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/3-config.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/3-config.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/3-config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/3-config.md -------------------------------------------------------------------------------- /src/docs/0-firestore/4-geopoint.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/4-geopoint.composition -------------------------------------------------------------------------------- /src/docs/0-firestore/4-geopoint.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/4-geopoint.md -------------------------------------------------------------------------------- /src/docs/0-firestore/9-further-docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-firestore/9-further-docs.md -------------------------------------------------------------------------------- /src/docs/0-getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/0-getting-started.md -------------------------------------------------------------------------------- /src/docs/1-auth/0-FirebaseUI-for-web.arabic.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/0-FirebaseUI-for-web.arabic.composition -------------------------------------------------------------------------------- /src/docs/1-auth/0-FirebaseUI-for-web.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/0-FirebaseUI-for-web.composition -------------------------------------------------------------------------------- /src/docs/1-auth/0-FirebaseUI-for-web.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/0-FirebaseUI-for-web.md -------------------------------------------------------------------------------- /src/docs/1-auth/1-user-store.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/1-user-store.md -------------------------------------------------------------------------------- /src/docs/1-auth/recipes/0-lazy-loaded-auth-modal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/recipes/0-lazy-loaded-auth-modal.md -------------------------------------------------------------------------------- /src/docs/1-auth/recipes/1-passwordless-email-sign-in.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/recipes/1-passwordless-email-sign-in.md -------------------------------------------------------------------------------- /src/docs/1-auth/recipes/2-update-login.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/recipes/2-update-login.md -------------------------------------------------------------------------------- /src/docs/1-auth/recipes/3-delete-user.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/recipes/3-delete-user.md -------------------------------------------------------------------------------- /src/docs/1-auth/recipes/4-verify-email.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/docs/1-auth/recipes/4-verify-email.md -------------------------------------------------------------------------------- /src/lib/auth/FirebaseUiAuth.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/auth/FirebaseUiAuth.svelte -------------------------------------------------------------------------------- /src/lib/auth/languageCodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/auth/languageCodes.ts -------------------------------------------------------------------------------- /src/lib/auth/uid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/auth/uid.ts -------------------------------------------------------------------------------- /src/lib/auth/updateUserData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/auth/updateUserData.ts -------------------------------------------------------------------------------- /src/lib/auth/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/auth/user.ts -------------------------------------------------------------------------------- /src/lib/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/config.ts -------------------------------------------------------------------------------- /src/lib/firestore/Collection.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/Collection.svelte -------------------------------------------------------------------------------- /src/lib/firestore/Doc.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/Doc.svelte -------------------------------------------------------------------------------- /src/lib/firestore/firestore-lite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/firestore-lite.ts -------------------------------------------------------------------------------- /src/lib/firestore/firestore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/firestore.ts -------------------------------------------------------------------------------- /src/lib/firestore/graveyard/REST.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/graveyard/REST.ts -------------------------------------------------------------------------------- /src/lib/firestore/graveyard/RESTParser.test.ts.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/graveyard/RESTParser.test.ts.bak -------------------------------------------------------------------------------- /src/lib/firestore/graveyard/RESTParser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/graveyard/RESTParser.ts -------------------------------------------------------------------------------- /src/lib/firestore/perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/perf.ts -------------------------------------------------------------------------------- /src/lib/firestore/stores.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores.ts -------------------------------------------------------------------------------- /src/lib/firestore/stores/awaitable-doc-store.composition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores/awaitable-doc-store.composition -------------------------------------------------------------------------------- /src/lib/firestore/stores/awaitable-doc-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores/awaitable-doc-store.ts -------------------------------------------------------------------------------- /src/lib/firestore/stores/collection-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores/collection-store.ts -------------------------------------------------------------------------------- /src/lib/firestore/stores/doc-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores/doc-store.ts -------------------------------------------------------------------------------- /src/lib/firestore/stores/incremental-collection-store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/firestore/stores/incremental-collection-store.ts -------------------------------------------------------------------------------- /src/lib/helpers/cookies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/helpers/cookies.ts -------------------------------------------------------------------------------- /src/lib/helpers/loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/helpers/loader.ts -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/index.ts -------------------------------------------------------------------------------- /src/lib/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/init.ts -------------------------------------------------------------------------------- /src/lib/interfaces/auth-result.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/interfaces/auth-result.interface.ts -------------------------------------------------------------------------------- /src/lib/interfaces/firebaseui.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/interfaces/firebaseui.d.ts -------------------------------------------------------------------------------- /src/lib/interfaces/firestore-metadata.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/interfaces/firestore-metadata.interface.ts -------------------------------------------------------------------------------- /src/lib/interfaces/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/interfaces/index.ts -------------------------------------------------------------------------------- /src/lib/interfaces/user.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/interfaces/user.interface.ts -------------------------------------------------------------------------------- /src/lib/message.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/lib/message.interface.ts -------------------------------------------------------------------------------- /src/routes/+layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/+layout.js -------------------------------------------------------------------------------- /src/routes/[...file]/+page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/[...file]/+page.js -------------------------------------------------------------------------------- /src/routes/[...file]/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/[...file]/+page.svelte -------------------------------------------------------------------------------- /src/routes/demo/Message.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/Message.svelte -------------------------------------------------------------------------------- /src/routes/demo/account/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/account/+page.svelte -------------------------------------------------------------------------------- /src/routes/demo/api/[messageId]/+server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/api/[messageId]/+server.ts -------------------------------------------------------------------------------- /src/routes/demo/api/messages/+server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/api/messages/+server.ts -------------------------------------------------------------------------------- /src/routes/demo/message.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/message.interface.ts -------------------------------------------------------------------------------- /src/routes/demo/message/[messageId]/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/message/[messageId]/+page.svelte -------------------------------------------------------------------------------- /src/routes/demo/message/[messageId]/+page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/message/[messageId]/+page.ts -------------------------------------------------------------------------------- /src/routes/demo/messages/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/messages/+page.svelte -------------------------------------------------------------------------------- /src/routes/demo/messages/+page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/messages/+page.ts -------------------------------------------------------------------------------- /src/routes/demo/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/demo/user.ts -------------------------------------------------------------------------------- /src/routes/sandbox/[...file]/+page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/sandbox/[...file]/+page.js -------------------------------------------------------------------------------- /src/routes/sandbox/[...file]/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/src/routes/sandbox/[...file]/+page.svelte -------------------------------------------------------------------------------- /static/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/static/favicon.svg -------------------------------------------------------------------------------- /static/tw-reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/static/tw-reset.css -------------------------------------------------------------------------------- /svelte.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/svelte.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacob-8/sveltefirets/HEAD/vite.config.js --------------------------------------------------------------------------------