@katlux/providers 0.1.0-beta.63 → 0.1.0-beta.64

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.
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ function getNuxtApp() {
4
+ return null;
5
+ }
6
+ function getNuxtData(_key, _nuxtApp) {
7
+ return { data: { value: null } };
8
+ }
9
+ async function getAsyncData(_key, _fetcher, _nuxtApp) {
10
+ return { data: { value: null } };
11
+ }
12
+ function clearNuxtDataKey(_key, _nuxtApp) {
13
+ }
14
+ function onNuxtReadyCallback(_cb) {
15
+ }
16
+ function getRoute() {
17
+ return null;
18
+ }
19
+ function getRouter() {
20
+ return null;
21
+ }
22
+
23
+ exports.clearNuxtDataKey = clearNuxtDataKey;
24
+ exports.getAsyncData = getAsyncData;
25
+ exports.getNuxtApp = getNuxtApp;
26
+ exports.getNuxtData = getNuxtData;
27
+ exports.getRoute = getRoute;
28
+ exports.getRouter = getRouter;
29
+ exports.onNuxtReadyCallback = onNuxtReadyCallback;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * nuxtAppCompat.server.ts — Server-side no-op stubs.
3
+ * Signatures must match nuxtAppCompat.ts exactly.
4
+ */
5
+ declare function getNuxtApp(): any;
6
+ declare function getNuxtData(_key: string, _nuxtApp?: any): {
7
+ data: {
8
+ value: any;
9
+ };
10
+ };
11
+ declare function getAsyncData<T>(_key: string, _fetcher: () => Promise<T>, _nuxtApp?: any): Promise<{
12
+ data: {
13
+ value: T | null;
14
+ };
15
+ }>;
16
+ declare function clearNuxtDataKey(_key: string, _nuxtApp?: any): void;
17
+ declare function onNuxtReadyCallback(_cb: () => void): void;
18
+ declare function getRoute(): any;
19
+ declare function getRouter(): any;
20
+
21
+ export { clearNuxtDataKey, getAsyncData, getNuxtApp, getNuxtData, getRoute, getRouter, onNuxtReadyCallback };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * nuxtAppCompat.server.ts — Server-side no-op stubs.
3
+ * Signatures must match nuxtAppCompat.ts exactly.
4
+ */
5
+ declare function getNuxtApp(): any;
6
+ declare function getNuxtData(_key: string, _nuxtApp?: any): {
7
+ data: {
8
+ value: any;
9
+ };
10
+ };
11
+ declare function getAsyncData<T>(_key: string, _fetcher: () => Promise<T>, _nuxtApp?: any): Promise<{
12
+ data: {
13
+ value: T | null;
14
+ };
15
+ }>;
16
+ declare function clearNuxtDataKey(_key: string, _nuxtApp?: any): void;
17
+ declare function onNuxtReadyCallback(_cb: () => void): void;
18
+ declare function getRoute(): any;
19
+ declare function getRouter(): any;
20
+
21
+ export { clearNuxtDataKey, getAsyncData, getNuxtApp, getNuxtData, getRoute, getRouter, onNuxtReadyCallback };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * nuxtAppCompat.server.ts — Server-side no-op stubs.
3
+ * Signatures must match nuxtAppCompat.ts exactly.
4
+ */
5
+ declare function getNuxtApp(): any;
6
+ declare function getNuxtData(_key: string, _nuxtApp?: any): {
7
+ data: {
8
+ value: any;
9
+ };
10
+ };
11
+ declare function getAsyncData<T>(_key: string, _fetcher: () => Promise<T>, _nuxtApp?: any): Promise<{
12
+ data: {
13
+ value: T | null;
14
+ };
15
+ }>;
16
+ declare function clearNuxtDataKey(_key: string, _nuxtApp?: any): void;
17
+ declare function onNuxtReadyCallback(_cb: () => void): void;
18
+ declare function getRoute(): any;
19
+ declare function getRouter(): any;
20
+
21
+ export { clearNuxtDataKey, getAsyncData, getNuxtApp, getNuxtData, getRoute, getRouter, onNuxtReadyCallback };
@@ -0,0 +1,21 @@
1
+ function getNuxtApp() {
2
+ return null;
3
+ }
4
+ function getNuxtData(_key, _nuxtApp) {
5
+ return { data: { value: null } };
6
+ }
7
+ async function getAsyncData(_key, _fetcher, _nuxtApp) {
8
+ return { data: { value: null } };
9
+ }
10
+ function clearNuxtDataKey(_key, _nuxtApp) {
11
+ }
12
+ function onNuxtReadyCallback(_cb) {
13
+ }
14
+ function getRoute() {
15
+ return null;
16
+ }
17
+ function getRouter() {
18
+ return null;
19
+ }
20
+
21
+ export { clearNuxtDataKey, getAsyncData, getNuxtApp, getNuxtData, getRoute, getRouter, onNuxtReadyCallback };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/providers",
3
- "version": "0.1.0-beta.63",
3
+ "version": "0.1.0-beta.64",
4
4
  "description": "Core data calculation and caching providers for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "MIT",