@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/next/index.d.ts
CHANGED
|
@@ -635,6 +635,8 @@ interface PWAOptions {
|
|
|
635
635
|
enabled?: boolean;
|
|
636
636
|
/** Enable PWA in development (default: false) */
|
|
637
637
|
devEnabled?: boolean;
|
|
638
|
+
/** Service worker registration: 'autoUpdate' = update in background, 'prompt' = ask user (default: 'prompt') */
|
|
639
|
+
registerType?: 'autoUpdate' | 'prompt';
|
|
638
640
|
/** Debug logging (default: false) */
|
|
639
641
|
debug?: boolean;
|
|
640
642
|
/** Override manifest values (auto-discovered from app.ts by default) */
|
|
@@ -659,11 +661,11 @@ interface PWAOptions {
|
|
|
659
661
|
runtimeCaching?: Array<{
|
|
660
662
|
urlPattern: RegExp | ((options: { request: Request }) => boolean);
|
|
661
663
|
handler:
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
664
|
+
| 'CacheFirst'
|
|
665
|
+
| 'NetworkFirst'
|
|
666
|
+
| 'StaleWhileRevalidate'
|
|
667
|
+
| 'NetworkOnly'
|
|
668
|
+
| 'CacheOnly';
|
|
667
669
|
options?: Record<string, any>;
|
|
668
670
|
}>;
|
|
669
671
|
/** Navigation fallback URL (default: '/') */
|
|
@@ -679,15 +681,15 @@ interface PWAOptions {
|
|
|
679
681
|
>;
|
|
680
682
|
/** Background sync configuration for offline actions */
|
|
681
683
|
backgroundSync?:
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
684
|
+
| {
|
|
685
|
+
/** Queue name for background sync (default: 'background-sync-queue') */
|
|
686
|
+
queueName?: string;
|
|
687
|
+
/** Maximum retention time in minutes (default: 24 * 60) */
|
|
688
|
+
maxRetentionTime?: number;
|
|
689
|
+
/** URL pattern for background sync routes (default: matches /api/ routes) */
|
|
690
|
+
urlPattern?: RegExp | ((options: { request: Request }) => boolean);
|
|
691
|
+
}
|
|
692
|
+
| false;
|
|
691
693
|
[key: string]: any; // Allow other workbox options
|
|
692
694
|
};
|
|
693
695
|
}
|