@donotdev/core 0.0.22 → 0.0.24
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/functions/index.d.ts +76 -12
- package/functions/index.js +81 -8
- package/i18n/locales/eager/dndev_da.json +379 -0
- package/i18n/locales/eager/dndev_nl.json +382 -0
- package/i18n/locales/lazy/auth_da.json +145 -0
- package/i18n/locales/lazy/auth_nl.json +145 -0
- package/i18n/locales/lazy/billing_da.json +82 -0
- package/i18n/locales/lazy/billing_nl.json +82 -0
- package/i18n/locales/lazy/blog_ar.json +9 -0
- package/i18n/locales/lazy/blog_da.json +9 -0
- package/i18n/locales/lazy/blog_de.json +9 -0
- package/i18n/locales/lazy/blog_en.json +9 -0
- package/i18n/locales/lazy/blog_es.json +9 -0
- package/i18n/locales/lazy/blog_fr.json +9 -0
- package/i18n/locales/lazy/blog_it.json +9 -0
- package/i18n/locales/lazy/blog_ja.json +9 -0
- package/i18n/locales/lazy/blog_ko.json +9 -0
- package/i18n/locales/lazy/blog_nl.json +9 -0
- package/i18n/locales/lazy/cookies_da.json +32 -0
- package/i18n/locales/lazy/cookies_nl.json +32 -0
- package/i18n/locales/lazy/crud_ar.json +12 -1
- package/i18n/locales/lazy/crud_da.json +522 -0
- package/i18n/locales/lazy/crud_de.json +13 -2
- package/i18n/locales/lazy/crud_en.json +12 -1
- package/i18n/locales/lazy/crud_es.json +12 -1
- package/i18n/locales/lazy/crud_fr.json +14 -3
- package/i18n/locales/lazy/crud_it.json +14 -3
- package/i18n/locales/lazy/crud_ja.json +12 -1
- package/i18n/locales/lazy/crud_ko.json +12 -1
- package/i18n/locales/lazy/crud_nl.json +522 -0
- package/i18n/locales/lazy/entityFormTemplate_da.json +85 -0
- package/i18n/locales/lazy/entityFormTemplate_nl.json +85 -0
- package/i18n/locales/lazy/homeTemplate_da.json +52 -0
- package/i18n/locales/lazy/homeTemplate_nl.json +52 -0
- package/i18n/locales/lazy/loginTemplate_da.json +21 -0
- package/i18n/locales/lazy/loginTemplate_nl.json +21 -0
- package/i18n/locales/lazy/oauth_da.json +9 -0
- package/i18n/locales/lazy/oauth_nl.json +9 -0
- package/i18n/locales/lazy/privacy_da.json +178 -0
- package/i18n/locales/lazy/privacy_nl.json +178 -0
- package/i18n/locales/lazy/profileDBTemplate_da.json +73 -0
- package/i18n/locales/lazy/profileDBTemplate_nl.json +73 -0
- package/i18n/locales/lazy/profileTemplate_da.json +85 -0
- package/i18n/locales/lazy/profileTemplate_nl.json +85 -0
- package/i18n/locales/lazy/terms_da.json +200 -0
- package/i18n/locales/lazy/terms_nl.json +200 -0
- package/index.d.ts +1536 -361
- package/index.js +39 -39
- package/next/index.d.ts +16 -14
- package/next/index.js +44 -24
- package/package.json +9 -9
- package/server.d.ts +8643 -7494
- package/server.js +1 -1
- package/vite/index.d.ts +18 -16
- package/vite/index.js +60 -37
package/vite/index.d.ts
CHANGED
|
@@ -586,8 +586,8 @@ interface BuildConfig {
|
|
|
586
586
|
*/
|
|
587
587
|
interface ResolveOptions {
|
|
588
588
|
alias?:
|
|
589
|
-
|
|
590
|
-
|
|
589
|
+
| Record<string, string>
|
|
590
|
+
| Array<{ find: string | RegExp; replacement: string }>;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
/**
|
|
@@ -749,6 +749,8 @@ interface PWAOptions {
|
|
|
749
749
|
enabled?: boolean;
|
|
750
750
|
/** Enable PWA in development (default: false) */
|
|
751
751
|
devEnabled?: boolean;
|
|
752
|
+
/** Service worker registration: 'autoUpdate' = update in background, 'prompt' = ask user (default: 'prompt') */
|
|
753
|
+
registerType?: 'autoUpdate' | 'prompt';
|
|
752
754
|
/** Debug logging (default: false) */
|
|
753
755
|
debug?: boolean;
|
|
754
756
|
/** Override manifest values (auto-discovered from app.ts by default) */
|
|
@@ -773,11 +775,11 @@ interface PWAOptions {
|
|
|
773
775
|
runtimeCaching?: Array<{
|
|
774
776
|
urlPattern: RegExp | ((options: { request: Request }) => boolean);
|
|
775
777
|
handler:
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
778
|
+
| 'CacheFirst'
|
|
779
|
+
| 'NetworkFirst'
|
|
780
|
+
| 'StaleWhileRevalidate'
|
|
781
|
+
| 'NetworkOnly'
|
|
782
|
+
| 'CacheOnly';
|
|
781
783
|
options?: Record<string, any>;
|
|
782
784
|
}>;
|
|
783
785
|
/** Navigation fallback URL (default: '/') */
|
|
@@ -793,15 +795,15 @@ interface PWAOptions {
|
|
|
793
795
|
>;
|
|
794
796
|
/** Background sync configuration for offline actions */
|
|
795
797
|
backgroundSync?:
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
798
|
+
| {
|
|
799
|
+
/** Queue name for background sync (default: 'background-sync-queue') */
|
|
800
|
+
queueName?: string;
|
|
801
|
+
/** Maximum retention time in minutes (default: 24 * 60) */
|
|
802
|
+
maxRetentionTime?: number;
|
|
803
|
+
/** URL pattern for background sync routes (default: matches /api/ routes) */
|
|
804
|
+
urlPattern?: RegExp | ((options: { request: Request }) => boolean);
|
|
805
|
+
}
|
|
806
|
+
| false;
|
|
805
807
|
[key: string]: any; // Allow other workbox options
|
|
806
808
|
};
|
|
807
809
|
}
|